Test and Review Evidence
Planned tests:
test/harness-checkpoint-digest-vectors.test.mjs: regenerate every normative workspace/state/envelope vector from the literal domain inputs above and compare the published hex values.test/harness-checkpoint.test.mjs: exact shape, versioning, canonical golden vectors and artifact ordering, digest tamper, containment/symlink and Windows paths, fixed catalog records/torn tails/cursors/scan budgets, atomic envelope plus catalog publication, stale artifacts, privacy, and substrate isolation.test/harness-checkpoint-adapter.test.mjs: exact intake/media/contract mapping, full/compact findings dispatch, anchor derivation, absent/empty/ invalid learning ledgers, two-member topology target isolation, repo-root run for a member target, project-name independence, native owners, and one physical read per artifact.test/harness-checkpoint-cli.test.mjs: human/JSON actions, exit mapping, zero-side-effect help, OS/env state-home resolution, unchanged Git status, custom contained run, catalog cursor/scan flags, and file-mode validate.test/learning-capture-state.test.mjs: explicit success, option conflict, topology-root/target/digest/anchor/ledger failures, checkpoint platform plumbing, and literal.qoder/better-harnessno-option fallback.test/session-selection-plan.test.mjs: public I/O-free profile/snapshot/pair validators, existing reader delegation, frozen identity, and absence of live-drift/resume claims.test/harness-component-snapshot.test.mjs: unchanged digest/diff/resolve andmutationAuthorized: false.test/better-harness-cli.test.mjsandtest/scripts-refactor-contract.test.mjs: registry, audience, discovery, argv dispatch, help fixtures, and one-way import boundaries.
Planned commands:
text
node --test test/harness-checkpoint-digest-vectors.test.mjs test/harness-checkpoint.test.mjs test/harness-checkpoint-adapter.test.mjs test/harness-checkpoint-cli.test.mjs
node --test test/learning-capture-state.test.mjs test/session-selection-plan.test.mjs
node --test test/harness-component-snapshot.test.mjs test/better-harness-cli.test.mjs
node --test test/doc-link-graph.test.mjs
node scripts/doc-link-graph/cli.mjs skills/better-harness
npm test
npm run pack:verify
git diff --checkThe routing-graph command is expected to leave the skill-seeded graph unchanged because this spec is not routed from skills/better-harness; implementation must verify that expectation. Before acceptance, the independent spec review on complexity, convenience, and evolution must have no P1/P2 findings. This Draft does not authorize implementation.