C:\Users\enes> type handoff-check.md
Independent · Open source
Checking declared constraints before an agent resumes
A local, deterministic CLI for comparing a coding-agent handoff with reviewed rules.
Project developer
Problem
A handoff can omit a required rule, retain an expired one, or carry a rule into the wrong environment.
A prose summary alone does not provide a reproducible comparison against reviewed declarations.
My role
Built Handoff-Check as a deterministic TypeScript CLI with coding-agent skill integrations.
Solution
Compare a saved handoff with a versioned manifest for explicit scope and time.
Report missing, expired, superseded, out-of-scope, unknown, and changed declarations with machine-readable output and meaningful exit codes.
Run locally without a model call; provide reusable skills for Claude Code and Codex.
Validation
The public repository provides a reproducible stale-handoff example and a corrected counterpart.
Its documented contract states that fixed inputs, scope, and time produce the same result. The repository also supplies schemas and tests for inspection.
Outcome
Released an inspectable tool for checking declared handoff constraints before work resumes.
A passing check establishes agreement with the manifest, not semantic obedience, source authenticity, or permission to act.
See the verifier in action
The saved handoff carries an expired freeze and misses a migration-review rule. Compare it with a reviewed handoff that declares the active rule.
$ npx handoff-check@0.6.0 verify --constraints constraints.json --handoff handoff.json --scope staging --as-of 2026-11-21T12:00:00Z
EXPIRED C-02 Remove expired constraint: Staging freeze ended Friday at 18:00 UTC
MISSING C-07 Include active constraint: Require review before applying migrations
FAIL 1 active constraints checked | 2 findings | scope staging | as of 2026-11-21T12:00:00.000Z | IDs only; content changes not checked
$ echo $?
1Recorded from the published CLI with synthetic inputs and a fixed evaluation time. This ID-only example checks declarations, not whether an agent obeys their meaning. No command runs in your browser.
Download the inputs and reproduce this run
Save all three files in one folder, open a terminal there, and run the command above with Node.js 22 or later.