Repository navigation
Handoff Check 0.10.0
Handoff Check 0.10.0 adds explicit local source change checks.
source-record --bindings <plan>captures deliberately mapped local files for selected active rules, including global rules. Separate versioned records bind rule ID/revision/canonical hash to relative paths and raw whole-file SHA-256.source-check --sources <registry>reports unchanged or changed bytes, missing/stale bindings and per-file availability/safety/size findings. It returns 0 unchanged, 1 attention (including zero active rules), or 2 invalid metadata/invocation.- Missing, stale, inactive and orphan references never infer source read targets. Files resolve below the selected config-directory root; profile selection remains explicit.
- Existing manifest/handoff/review formats, canonical hashes, verify/run/doctor and advisory lifecycle policies remain unchanged. No source registry is loaded implicitly.
Files are limited to 10 MiB inclusive, metadata to 256 entries, with portable relative-path validation, descendant symlink rejection, containment and regular-file identity checks. Identical declared paths share one observation per invocation. Hashes cover raw bytes, including binary, line endings and BOM. Reports retain hashes and paths, never source contents.
Capture requires complete active bindings and succeeds only when every selected file is readable within the limits. It writes stdout JSON or an exclusively created new file; no automatic merge, adoption, overwrite or baseline refresh occurs. Capture is a selected-scope subset; preserve other scopes deliberately when adopting records. An output I/O failure may leave a partial new file.
Changed bytes are a reason to review, not proof of semantic policy change, authenticated review, permission or compliance. Reads are not atomic or a race-free sandbox; concurrent writes, hard links and OS filesystem semantics remain limitations. There is no guaranteed timeout for stuck OS I/O. Fixed evaluation time selects rule applicability; bytes are read now. No URL fetching, directory scanning, source-reference inference, model calls or Git subprocesses occur. See local source guidance.
Validation: frozen install, lint, typecheck, build and 153 tests with 1127 assertions passed locally. Exact-head PR, merged-main and release checks passed Ubuntu, Windows and macOS with packed consumers. Independent canonical npm QA passed fresh no-Bun capture/check, raw binary hashes, changed/missing/stale-without-I/O results, unsafe/limit cases, config roots/profiles, exclusive output preservation and old verify/run independence. Independent integrity review matched the complete tarball and all 70 payloads and inspected provenance contents; no independent cryptographic provenance verification is claimed.
Source: 7b4811cd75cae99682706e58bab8a3a401d5fc48 (PR #13).
Attached handoff-check-0.10.0.tgz is the actual artifact from guarded publish run 45954313216, matching the reviewed candidate byte-for-byte.
SHA-256: 77883eefbcb6619f1eaebfeb3432a39c09ccda1c04afb560bd1c710e3aa40ea5.
Install with Node.js 22+: npx handoff-check@0.10.0 --help.