@diffci.com/diffci 0.3.7 → 0.3.9
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 +3 -3
- package/dist-client/src/client/verify-savings.js +2 -2
- package/docs/adoption-metrics.md +1 -1
- package/docs/agent-adoption-kit.md +1 -1
- package/docs/distribution.md +2 -2
- package/docs/npm-adoption.md +1 -1
- package/package.json +1 -1
- package/packaging/agent-plugin/.mcp.json +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -198,13 +198,13 @@ jobs:
|
|
|
198
198
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # immutable checkout pin
|
|
199
199
|
with:
|
|
200
200
|
fetch-depth: 0
|
|
201
|
-
- uses: DiffCI/DiffCI.com@
|
|
201
|
+
- uses: DiffCI/DiffCI.com@b35f55c1b6ba9c092f3ad623efd8baa0422c450a
|
|
202
202
|
```
|
|
203
203
|
|
|
204
204
|
Then check the workflow locally with `npx "@diffci.com/diffci@latest" verify-workflow`. Keep the observer
|
|
205
205
|
out of required checks and other jobs' `needs` lists. The Action adds a job summary and a
|
|
206
206
|
`diffci-observation` artifact to the run; it does not alter which tests your other jobs execute.
|
|
207
|
-
The example pins release `v0.3.
|
|
207
|
+
The example pins release `v0.3.9` to its qualified feature commit SHA for reproducibility.
|
|
208
208
|
|
|
209
209
|
The CLI sends no report with `--no-send`. The Action uploads a GitHub artifact by default; sending to
|
|
210
210
|
DiffCI's hosted service requires an explicitly configured endpoint and token.
|
|
@@ -407,7 +407,7 @@ npm run research:sandbox:deploy
|
|
|
407
407
|
DiffCI is intended to be installable as infrastructure, not only as a hosted shadow experiment:
|
|
408
408
|
|
|
409
409
|
```yaml
|
|
410
|
-
- uses: DiffCI/DiffCI.com@
|
|
410
|
+
- uses: DiffCI/DiffCI.com@b35f55c1b6ba9c092f3ad623efd8baa0422c450a
|
|
411
411
|
```
|
|
412
412
|
|
|
413
413
|
```bash
|
|
@@ -16,7 +16,7 @@ function readSelectionFromObservation(path, override) {
|
|
|
16
16
|
if (parsed.status !== "OBSERVED")
|
|
17
17
|
throw new Error(`--selected-from-report requires an OBSERVED report; got ${String(parsed.status)}`);
|
|
18
18
|
const commands = parsed.result?.proposedCommands;
|
|
19
|
-
if (!Array.isArray(commands) ||
|
|
19
|
+
if (!Array.isArray(commands) || commands.some(command => typeof command !== "string" || !command.trim()) || (commands.length !== 1 && !override)) {
|
|
20
20
|
throw new Error("--selected-from-report requires exactly one non-empty proposed command; use --selected with an explicit command covering the complete selection for multi-command plans");
|
|
21
21
|
}
|
|
22
22
|
const command = override ?? commands[0];
|
|
@@ -498,7 +498,7 @@ export function runVerifySavings(options) {
|
|
|
498
498
|
const repetitions = options.repetitions ?? 1;
|
|
499
499
|
if (!Number.isInteger(repetitions) || repetitions < 1 || repetitions > 20)
|
|
500
500
|
throw new Error("--repetitions must be an integer from 1 to 20");
|
|
501
|
-
const declaredCacheState = options.cacheState ?? "unknown";
|
|
501
|
+
const declaredCacheState = options.cacheState ?? (options.cachePreparationCommand ? "warm" : "unknown");
|
|
502
502
|
if (!["cold", "warm", "unknown"].includes(declaredCacheState))
|
|
503
503
|
throw new Error("--cache-state must be cold, warm, or unknown");
|
|
504
504
|
const alternatingOrder = options.alternateOrder ?? repetitions > 1;
|
package/docs/adoption-metrics.md
CHANGED
|
@@ -122,7 +122,7 @@ They are supporting signals only.
|
|
|
122
122
|
|
|
123
123
|
| Signal | Value | Interpretation |
|
|
124
124
|
| --- | ---: | --- |
|
|
125
|
-
| npm latest version | `0.3.
|
|
125
|
+
| npm latest version | `0.3.9` | Current CLI and MCP binaries are publicly available. |
|
|
126
126
|
| npm downloads, last complete registry week (`2026-09-15`–`2026-09-21`) | 1,929 | Distribution activity; not unique users or repositories. |
|
|
127
127
|
| GitHub stars / forks / watchers | 0 / 0 / 0 | No repository-level community conversion yet. |
|
|
128
128
|
| GitHub views, available 14-day window | 18 views / 4 unique visitors | Early discovery signal. |
|
|
@@ -44,7 +44,7 @@ jobs:
|
|
|
44
44
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # immutable checkout pin
|
|
45
45
|
with:
|
|
46
46
|
fetch-depth: 0
|
|
47
|
-
- uses: DiffCI/DiffCI.com@
|
|
47
|
+
- uses: DiffCI/DiffCI.com@b35f55c1b6ba9c092f3ad623efd8baa0422c450a # v0.3.9
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
Run `npx "@diffci.com/diffci@latest" verify-workflow` before starting a pilot. The Action uploads a
|
package/docs/distribution.md
CHANGED
|
@@ -71,10 +71,10 @@ jobs:
|
|
|
71
71
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # immutable checkout pin
|
|
72
72
|
with:
|
|
73
73
|
fetch-depth: 0
|
|
74
|
-
- uses: DiffCI/DiffCI.com@
|
|
74
|
+
- uses: DiffCI/DiffCI.com@b35f55c1b6ba9c092f3ad623efd8baa0422c450a
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
-
The example pins release `v0.3.
|
|
77
|
+
The example pins release `v0.3.9` to its qualified feature commit SHA. `npx "@diffci.com/diffci@latest" verify-workflow`
|
|
78
78
|
checks that the job is dedicated, read-only, not required by other jobs, and unable to alter the rest
|
|
79
79
|
of CI.
|
|
80
80
|
|
package/docs/npm-adoption.md
CHANGED
|
@@ -38,7 +38,7 @@ jobs:
|
|
|
38
38
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # immutable checkout pin
|
|
39
39
|
with:
|
|
40
40
|
fetch-depth: 0
|
|
41
|
-
- uses: DiffCI/DiffCI.com@
|
|
41
|
+
- uses: DiffCI/DiffCI.com@b35f55c1b6ba9c092f3ad623efd8baa0422c450a
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
## Outreach Copy
|
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.DiffCI/diffci",
|
|
4
4
|
"title": "DiffCI",
|
|
5
5
|
"description": "Fail-closed, change-aware verification for AI coding agents with affected-test guidance.",
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.9",
|
|
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.3.
|
|
25
|
+
"version": "0.3.9",
|
|
26
26
|
"transport": {
|
|
27
27
|
"type": "stdio"
|
|
28
28
|
},
|