Repository navigation
Handoff Check 0.12.0
Handoff Check 0.12.0 adds explicitly selected maintenance gates before a command.
Use handoff-check run --profile production --registry rules.review.json --sources sources.json -- node scripts/preflight.js with deliberately selected records. Review or source attention blocks launch with exit 1; any selected invalid input takes precedence with exit 2. Neither outcome starts a child.
- With no registry/source options, run retains its existing verification-only path and diagnostics.
- Shared preparation caches and parses metadata once and observes eligible source paths once using existing bounds and safeguards.
- Maintained run reevaluates all selected engines synchronously at a fresh current clock after source I/O, immediately before spawn. Expiry, nonempty policy and review deadlines are checked at that final time.
- A clock rollback or new eligibility requiring an uncaptured source observation fails closed as invalid, without another read or an assumed pass.
- Bounded section states and finding codes/IDs use stderr; stdout remains for the supplied child. Wrapper time/format/output/policy overrides are rejected before the separator; child arguments after it remain literal.
- The existing five-second preflight watchdog, cancellation, inherited cwd/environment/streams, child exit propagation and direct-child signal behavior remain. A successful long-running child has no wrapper command timeout.
- Standalone check retains its original selection-clock semantics. Existing input contracts, hashes and default policies remain unchanged.
This is a non-atomic local preflight, not authentication, authorization or a sandbox. Final evaluation does not reread or lock files; metadata and source bytes can change afterward. It does not supervise descendants or guarantee termination of unresponsive OS I/O. Explicit review/source selection never records, adopts or refreshes a baseline. See verified commands and ADR 0012.
Validation: the editor's full frozen-install/lint/typecheck/build run passed 171 tests with 1288 assertions; skill and whitespace validation passed. Independent source review and functional/packed QA approved. Historical local validation caveat: independent full QA observed 170 passes and one legacy watchdog timeout amid large reported clock/suspension discontinuities; isolated legacy rerun passed 13 tests/117 assertions and all 11 maintained tests passed. This is not a claim that that independent full run was clean. Subsequent exact-head PR, merged-main, artifact and publish CI passed all three platforms, including full watchdog/long-child coverage and packed acceptance.
Independent fresh canonical npm/no-Bun consumer QA passed maintained launch/block, invalid precedence, no-child guarantees, default compatibility, literal argv, child results and input preservation. A read-only technical pilot passed five scenarios with application hashes and Git state preserved; no human usability or time-savings claim is made. Public integrity review matched all 76 payloads and inspected provenance contents/digest linkage; cryptographic signatures, certificates and transparency were not verified.
Source: 7a3818880b77a0a75b5a1a3994d1a50b77a9a8dc (PR #15).
Attached handoff-check-0.12.0.tgz is the actual artifact from guarded publish run 46166586908, matching the approved candidate byte-for-byte.
SHA-256: 6c05a4bf0334a563e1f7586e634235e185966141963de750d735bf8b21841b69.
Install with Node.js 22+: npx handoff-check@0.12.0 --help.