DiffCI CLI
@diffci.com/diffci is verification for AI coding agents. It analyzes a local
Git checkout, runs the tests and checks a change affects when evidence is
complete, falls back to a full run when it is not, and leaves a receipt.
npx --yes @diffci.com/diffci@latest observe --no-send
The command writes reports locally and sends nothing unless an explicit destination is configured. Keep required project CI authoritative.
MCP for coding agents
The diffci-mcp binary exposes the same local analysis through MCP. Install
the public Codex, Claude Code, Cursor, Grok, or Meta Muse Code integration from
the cross-agent installation guide.
Compare a selection with full-suite results
diffci plan --base "$BASE" --head "$HEAD" > plan.json
# run the full suite with a JUnit reporter
diffci check-plan --plan plan.json --results junit.xml
diffci plan saves Core's advisory plan for a clean checkout at --head.
check-plan compares a saved Core execution plan with a full-suite JUnit
report from the same revision. Without --base-results base.xml, skipped failures
are possibleMisses. With a base report, unique matching failures are
preExisting; a skipped failure is missed only if its matching base testcase
passed. Absent, skipped or ambiguous base identities remain possibleMisses. Selected and unattributed failures are also reported. Missed, possible
misses or unattributed failures exit 1; invalid inputs exit 2. Use --root packages/web
for a nested reporter root and --repo /checkout for absolute paths. Use
--base-repo /base/checkout if the base report came from another checkout. Exit 0
describes the comparison, not whether the full suite passed. The command
runs no tests, writes no files and sends nothing.
See the reporter configuration and scheduled-job example for Vitest and Jest. Use a CLI build containing this command.
Source and license
This package is MIT-licensed. Its current source lives in
DiffCI/core.
The corresponding source for the previously published 0.3.10 package is
preserved at tagged Core commit 4c76be14
(cli-v0.3.10-source).