Repository navigation
Releases
Releases · interface-delta/diffpact
diffpact v0.4.3
Security & Safety Fixes
- Fail-Closed CLI Flag Validation: Unknown CLI flags (e.g.
--decision request-changes) and missing option values now immediately fail closed with exit code2(INCOMPLETE) across every subcommand. - Required
--verdict <approve|reject>ondiffpact review: Removed the implicitapprovedefault on CLIdiffpact review. Missing or invalid verdicts fail closed with exit2without writing a review attestation.
Added
- Global
--cwd <dir>(-C <dir>): Supported across all subcommands so orchestrators can verify/review worktrees cleanly from any working directory. - Short-SHA & Ref Resolution:
diffpact init --starting-shaanddiffpact amend --update-starting-shanow resolve 7-char short SHAs and Git refs viagit rev-parse --verifywhile storing canonical 40-character SHA-1s. - Clean
EPIPEExit: Piping CLI output (e.g.diffpact doctor | head) exits0cleanly.
Install / Upgrade
npm install -g diffpact@0.4.3
npx diffpact doctordiffpact v0.4.2
Initial public open-source release of diffpact (MIT, zero runtime dependencies, Node >= 22.6).
Install From npm
npm install -g diffpact
# or run directly:
npx diffpact doctorHighlights
- Stateless Git Task Contracts (
init,verify,status,amend,delegate): Deterministic boundary enforcement (.gitdeny >forbidden_paths>read_only_paths>allowed_paths), symlink/submodule blocking, version/lockfile pins, and No Silent Zero skipped-test detection. - Non-Self-Certified, Diff-SHA + HMAC Review (
diff,review): Enforces distinct implementer/reviewer identities,--diff-shacryptographic diff binding, and optionalDIFFPACT_REVIEWER_SECRETHMAC signing (automatically stripped from worker subprocesses). - Worktree Lifecycle & Durable Evidence Archiving (
worktree create/remove): Monorepo workspace & subdir-aware--share-node-modules, auto-archiving.diffpact/evidence + Markdown/JSON reports to<main>/.diffpact/archive/. - Post-Merge Multi-Contract Gate (
merge-verify): Verifies joined parallel branches across 2+ contracts/archives with--allow-integrationglue scope and--allow-untracked(--committed-only) mode. - Cross-Harness Support: Ready out of the box for Claude Code, OpenAI Codex CLI, Crush, Google Gemini CLI / Antigravity, and
@vercel/board(run --harness,install-hooks,doctor,reportin Markdown/JSON/SARIF 2.1.0).
Built by InterfaceDelta · npm package · CHANGELOG.md