test(05-01): scaffold routing workspace with failing contract suite

- fifth npm workspace @araharah/routing (buildless TS, search/ precedent)
- root delegates routing:test / routing:typecheck / routing:corpus
- C1-C6 RED: contract gates fail while src/types.ts + seed are absent
This commit is contained in:
araharah-executor
2026-10-24 04:59:17 +08:00
parent e5b6c06b12
commit 69b6a20350
7 changed files with 267 additions and 2 deletions
+10
View File
@@ -0,0 +1,10 @@
/*
* harness.mjs — zero-dependency test registry.
* Same hand-rolled shape as bot/test/harness.mjs (the Phase 2 precedent):
* suites import { test } and register async cases; runner.mjs drains the registry.
*/
const tests = [];
export function test(name, fn) {
tests.push({ name, fn });
}
export const registry = tests;