Skip to content

diffpact v0.4.2

Choose a tag to compare

@arto-a arto-a released this 30 Nov 16:06
· 4 commits to main since this release

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 doctor

Highlights

  • Stateless Git Task Contracts (init, verify, status, amend, delegate): Deterministic boundary enforcement (.git deny > 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-sha cryptographic diff binding, and optional DIFFPACT_REVIEWER_SECRET HMAC 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-integration glue 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, report in Markdown/JSON/SARIF 2.1.0).

Built by InterfaceDelta · npm package · CHANGELOG.md