@diffci.com/diffci 0.2.13 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -18
- package/dist-client/src/client/cli.js +215 -33
- package/dist-client/src/client/install.js +1 -0
- package/dist-client/src/client/mcp.js +66 -0
- package/dist-client/src/client/verify.js +265 -0
- package/dist-client/src/client/workflow-guard.js +11 -2
- package/dist-client/src/client/working-tree.js +65 -0
- package/docs/adoption-metrics.md +8 -1
- package/docs/agent-adoption-kit.md +24 -10
- package/docs/ai-agents.md +25 -10
- package/docs/distribution.md +13 -6
- package/docs/mcp.md +13 -5
- package/docs/npm-adoption.md +1 -1
- package/glama.json +1 -1
- package/llms.txt +6 -4
- package/package.json +3 -2
- package/server.json +3 -3
package/llms.txt
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# DiffCI
|
|
2
2
|
|
|
3
|
-
DiffCI is
|
|
3
|
+
DiffCI is a fail-closed, change-aware verification layer for AI coding agents and development teams.
|
|
4
4
|
|
|
5
5
|
Default AI-agent command:
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx "@diffci.com/diffci@latest"
|
|
8
|
+
npx "@diffci.com/diffci@latest" verify --changed --json
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
Initialization command:
|
|
@@ -16,8 +16,10 @@ npx "@diffci.com/diffci@latest" init
|
|
|
16
16
|
|
|
17
17
|
What agents should know:
|
|
18
18
|
|
|
19
|
-
- `diffci
|
|
20
|
-
- It runs
|
|
19
|
+
- `diffci verify --changed --json` verifies staged, unstaged, and non-ignored untracked changes.
|
|
20
|
+
- It runs the selected test command or conservatively falls back to the full inferred command.
|
|
21
|
+
- Continue only when the `diffci.verification.v1` receipt says `safe_to_continue: true`.
|
|
22
|
+
- `diffci check` remains the paired full-versus-selected measurement command.
|
|
21
23
|
- It sends no report unless `DIFFCI_API_URL` and `DIFFCI_TOKEN` are explicitly configured.
|
|
22
24
|
- Treat selected commands as evidence about the change, not as permission to skip required project CI.
|
|
23
25
|
- If DiffCI reports `REFUSED` or `ERROR`, fall back to the repository's normal validation commands.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diffci.com/diffci",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"description": "Fail-closed, change-aware verification for AI coding agents with conservative affected-test selection",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ci",
|
|
7
7
|
"cicd",
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
"prepack": "npm run build:client",
|
|
77
77
|
"package:smoke": "node scripts/package-smoke.mjs",
|
|
78
78
|
"diffci": "tsx scripts/diffci.ts",
|
|
79
|
+
"diffci:verify": "tsx src/client/cli.ts verify --changed --json",
|
|
79
80
|
"impact": "tsx scripts/diffci.ts impact",
|
|
80
81
|
"observe": "tsx src/client/cli.ts observe",
|
|
81
82
|
"verify-workflow": "tsx src/client/cli.ts verify-workflow",
|
package/server.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
3
|
"name": "io.github.DiffCI/diffci",
|
|
4
4
|
"title": "DiffCI",
|
|
5
|
-
"description": "
|
|
6
|
-
"version": "0.
|
|
5
|
+
"description": "Fail-closed, change-aware verification for AI coding agents with affected-test guidance.",
|
|
6
|
+
"version": "0.3.1",
|
|
7
7
|
"websiteUrl": "https://diffci.com/mcp-server",
|
|
8
8
|
"repository": {
|
|
9
9
|
"url": "https://github.com/DiffCI/DiffCI.com",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
{
|
|
23
23
|
"registryType": "npm",
|
|
24
24
|
"identifier": "@diffci.com/diffci",
|
|
25
|
-
"version": "0.
|
|
25
|
+
"version": "0.3.1",
|
|
26
26
|
"transport": {
|
|
27
27
|
"type": "stdio"
|
|
28
28
|
},
|