caelum0x 83e5de1131 test(gate): run workspace package suites via root test:packages in test:all (recoder-a8v9)
47 workspace packages declared test scripts but no gate ever ran them. Added
root script test:packages (pnpm -r --filter './packages/*' minus the two
broken vendored forks, --if-present) and wired it into test:all alongside
test:core/test:platforms.

Fixed the 9 package suites the never-run gate had been hiding:
- runner mismatch: agent-policy (4 files) + agent-memory (1) were vitest-style
  files run under node --test — switched to vitest run + vitest ^2.1.9 devDep
  (lockfile synced with pnpm install --lockfile-only); stray vitest files in
  coordination, recodergit, and agent-mcp converted to node:test + node:assert
  (vitest silently skips node:test files, so mixed packages stay on node --test)
- conductor-ui: vitest run with zero test files exited 1 — now --passWithNoTests
- runtime: two pi fail-safe fixture tests used cwd=process.cwd() where the
  workspace installs a real node_modules/.bin/pi — now use os.tmpdir() as cwd

recoder-cli-router (~66 real assertion failures) and recoder-code (babel parse
death, 0 tests run) are genuinely broken vendored forks — excluded from the
gate with bd follow-ups recoder-860b and recoder-tyi3 filed instead of hiding
the failures.

Verification: per-package suites green under the new gate; follow-ups filed
for the two excluded forks.
2026-08-03 00:06:10 +03:00
..