test(04-01): RED — search workspace scaffold + normalizer vector suite (T1-T9)

- add the search/ npm workspace (root workspaces + search:test/search:typecheck delegates)
- zero-dependency runner/harness copied from the bot/test precedent
- 9 named normalizer laws: rule vectors, symmetry, whole-token-only,
  slash preservation, glued split, vowel-drop, idempotence, folding,
  table-is-data (>= 47 rows, one generic builder)

All 9 cases fail while src/normalize.ts is absent — the RED gate.
This commit is contained in:
araharah-executor
2026-10-24 00:21:59 +08:00
parent c9458add47
commit ebcd542643
7 changed files with 255 additions and 2 deletions
+12 -1
View File
@@ -8,7 +8,8 @@
"workspaces": [
"theme",
"bot",
"web"
"web",
"search"
]
},
"bot": {
@@ -27,6 +28,10 @@
"resolved": "bot",
"link": true
},
"node_modules/@araharah/search": {
"resolved": "search",
"link": true
},
"node_modules/@araharah/theme": {
"resolved": "theme",
"link": true
@@ -3944,6 +3949,12 @@
"error-stack-parser-es": "^1.0.5"
}
},
"search": {
"name": "@araharah/search",
"devDependencies": {
"typescript": "^5.9.3"
}
},
"theme": {
"name": "@araharah/theme",
"dependencies": {