Repository navigation
Handoff Check 0.8.0
Handoff Check 0.8.0 adds verification immediately before an explicitly supplied command.
Run handoff-check run --profile production -- node scripts/preflight.js with an existing reviewed configuration. The wrapper uses the same pure verifier and requires content-aware v2/v3/v4 inputs, at least one active constraint and the current clock. It offers no policy, force or historical-time override and never refreshes a baseline.
- Mismatches block launch with exit 1; invalid inputs or launch failures return 2.
- After successful preflight, literal executable arguments are spawned with
shell: false. The child inherits cwd, environment and streams; its exit code is preserved. - Phase diagnostics use stderr, leaving stdout available for the child.
- Run requires regular input files and bounds stalled asynchronous preflight with a five-second event-loop watchdog. Existing readers retain their prior defaults.
- Existing verify, init, snapshot, diff, setup, profiles and advisory lifecycle contracts remain compatible.
This is a non-atomic preflight, not authorization, a sandbox or proof that a program obeys rule meaning. Inputs may change or expire after checking. The supplied program retains ordinary access and may spawn other processes. Signal forwarding is best-effort to the direct child only; Windows semantics differ. There is no command timeout, forced termination or descendant cleanup. The watchdog cannot preempt synchronous JavaScript or unresponsive OS operations. See verified command guidance.
Validation: frozen install, lint, typecheck, build and 121 tests with 868 assertions passed locally. PR, merged-main and release checks passed on Ubuntu, Windows and macOS with packed consumers; POSIX signal/FIFO tests are skipped on Windows. A test-only correction resolves equivalent Windows short and long cwd paths before comparing them. Independent canonical npm checks passed fresh no-Bun run allow/block, no-spawn guarantees, literal arguments, streams, child results, current-clock evaluation, input preservation and prior-command compatibility. Independent review matched the complete tarball and all 53 payloads and inspected provenance contents; no independent cryptographic provenance verification is claimed.
Source: b3f20731a91442cb608c4aff2e0d2f2d21fe1aa7 (PR #11).
Attached handoff-check-0.8.0.tgz is the actual artifact from successful guarded publish run 45864906542, matching the reviewed candidate byte-for-byte.
SHA-256: c73a80541fe7c9ce350c50fd93e9ef0687b0b0f6bb5196d57e8750c5cc40325f.
Install with Node.js 22+: npx handoff-check@0.8.0 --help. For repeated critical workflows, use a reviewed installed or project-local version.