@diffci.com/diffci 0.3.10 → 0.3.12
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/LICENSE +7 -5
- package/README.md +18 -422
- package/dist-client/src/client/cli.js +1 -49
- package/dist-client/src/client/mcp.js +2 -1
- package/dist-client/src/client/package-identity.js +69 -0
- package/dist-client/src/client/workflow-guard.js +1 -1
- package/node_modules/@diffci.com/core/README.md +33 -0
- package/package.json +17 -131
- package/.agents/plugins/marketplace.json +0 -12
- package/.claude-plugin/marketplace.json +0 -17
- package/COMMERCIAL.md +0 -35
- package/SECURITY.md +0 -61
- package/SUPPORT.md +0 -47
- package/action.yml +0 -155
- package/docs/adoption-metrics.md +0 -161
- package/docs/adoption-outreach.md +0 -156
- package/docs/agent-adoption-kit.md +0 -97
- package/docs/agent-adoption-targets.md +0 -62
- package/docs/agent-plugin.md +0 -145
- package/docs/ai-agents.md +0 -123
- package/docs/claude-code.md +0 -18
- package/docs/codex.md +0 -18
- package/docs/copilot.md +0 -18
- package/docs/cursor.md +0 -19
- package/docs/distribution.md +0 -153
- package/docs/grok.md +0 -18
- package/docs/language-support.md +0 -118
- package/docs/mcp.md +0 -116
- package/docs/npm-adoption.md +0 -165
- package/glama.json +0 -12
- package/llms.txt +0 -41
- package/packaging/agent-plugin/.claude-plugin/plugin.json +0 -26
- package/packaging/agent-plugin/.codex-plugin/plugin.json +0 -47
- package/packaging/agent-plugin/.mcp.json +0 -13
- package/packaging/agent-plugin/README.md +0 -36
- package/packaging/agent-plugin/assets/diffci-mark.svg +0 -14
- package/packaging/agent-plugin/mcp.json +0 -15
- package/packaging/agent-plugin/plugin.json +0 -51
- package/packaging/agent-plugin/skills/diffci-verify/SKILL.md +0 -35
- package/packaging/public-plugin/README.md +0 -12
- package/packaging/public-plugin/SUBMISSION.md +0 -21
- package/packaging/public-plugin/assets/icon-dark.png +0 -0
- package/packaging/public-plugin/assets/icon.png +0 -0
- package/packaging/public-plugin/assets/logo-dark.png +0 -0
- package/packaging/public-plugin/assets/logo.png +0 -0
- package/packaging/public-plugin/mcp.json +0 -16
- package/packaging/public-plugin/plugin.json +0 -114
- package/packaging/public-plugin/review/refusal-observation.json +0 -41
- package/packaging/public-plugin/skills/diffci-remote/SKILL.md +0 -19
- package/packaging/public-plugin/skills/get-started/SKILL.md +0 -26
- package/server.json +0 -43
- package/site/assets/calcom-runtime-evidence.svg +0 -11
- package/site/llms.txt +0 -44
package/docs/npm-adoption.md
DELETED
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
# Promoting the DiffCI npm Package
|
|
2
|
-
|
|
3
|
-
DiffCI's npm package should be promoted as a low-risk CI observer:
|
|
4
|
-
|
|
5
|
-
> DiffCI observes your CI and reports which tests it would have selected, without skipping, cancelling,
|
|
6
|
-
> or changing any job.
|
|
7
|
-
|
|
8
|
-
## Install
|
|
9
|
-
|
|
10
|
-
For a pinned project dependency, run the initializer from the repository root. It detects npm, pnpm,
|
|
11
|
-
Yarn, or Bun, adds the current DiffCI version as an exact development dependency, and updates the
|
|
12
|
-
corresponding lockfile:
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
npx "@diffci.com/diffci@latest" init --install
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
Add `--workflow` to also create the separate, non-blocking GitHub Actions observation job. Installation
|
|
19
|
-
is explicit: plain `init` never changes `package.json` or a lockfile.
|
|
20
|
-
|
|
21
|
-
Use the npm CLI when someone wants to try DiffCI locally or inside an existing CI step:
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
npx "@diffci.com/diffci@latest" observe
|
|
25
|
-
npx "@diffci.com/diffci@latest" verify-workflow
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Use the GitHub Action when someone wants the normal non-blocking CI installation:
|
|
29
|
-
|
|
30
|
-
```yaml
|
|
31
|
-
jobs:
|
|
32
|
-
diffci:
|
|
33
|
-
runs-on: ubuntu-24.04
|
|
34
|
-
continue-on-error: true
|
|
35
|
-
permissions:
|
|
36
|
-
contents: read
|
|
37
|
-
steps:
|
|
38
|
-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # immutable checkout pin
|
|
39
|
-
with:
|
|
40
|
-
fetch-depth: 0
|
|
41
|
-
- uses: DiffCI/DiffCI.com@b35f55c1b6ba9c092f3ad623efd8baa0422c450a
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Outreach Copy
|
|
45
|
-
|
|
46
|
-
Short version:
|
|
47
|
-
|
|
48
|
-
> I built DiffCI as an observation-only CI dependency. It looks at a PR diff and reports which tests it
|
|
49
|
-
> would have selected, but it never skips, cancels, or changes CI. You can run it with
|
|
50
|
-
> `npx "@diffci.com/diffci@latest" observe` or as a non-blocking GitHub Action. I am looking for OSS
|
|
51
|
-
> repos willing to run it in shadow mode for a week.
|
|
52
|
-
|
|
53
|
-
Issue/PR version:
|
|
54
|
-
|
|
55
|
-
> Would you be open to running DiffCI in shadow mode for a week? It adds one non-blocking job that
|
|
56
|
-
> observes each PR/push and writes a report artifact. It does not alter required checks, skip tests,
|
|
57
|
-
> cancel jobs, or send data anywhere unless you explicitly configure an endpoint/token.
|
|
58
|
-
|
|
59
|
-
## Pilot Ask
|
|
60
|
-
|
|
61
|
-
Ask maintainers for a small, reversible experiment:
|
|
62
|
-
|
|
63
|
-
- Run one non-blocking DiffCI job for seven days.
|
|
64
|
-
- Keep all existing CI behavior unchanged.
|
|
65
|
-
- Share the report artifacts or a summary of whether DiffCI found avoidable test work.
|
|
66
|
-
- Remove the job at any time if it is noisy, slow, or unhelpful.
|
|
67
|
-
|
|
68
|
-
## Self-Serve Runtime Pilot
|
|
69
|
-
|
|
70
|
-
Use this when a maintainer asks whether selecting fewer tests would actually make their CI faster.
|
|
71
|
-
This is a paired local measurement, not a production-savings claim.
|
|
72
|
-
|
|
73
|
-
For one command that infers the full test command and prints the measured percentage when both runs
|
|
74
|
-
pass, use `npx "@diffci.com/diffci@latest" check` from the repository root. For Maven, `check` reads
|
|
75
|
-
the goal and profiles from `diffci.json` when present; otherwise it uses `mvn test` and says that
|
|
76
|
-
the default may differ from CI. Run it on the intended CI runner: timings from another machine are
|
|
77
|
-
not CI savings. A full-validation fallback runs the full command once and reports 0% reduction.
|
|
78
|
-
|
|
79
|
-
Step 1: create an observation report without sending it anywhere.
|
|
80
|
-
|
|
81
|
-
```bash
|
|
82
|
-
npx "@diffci.com/diffci@latest" observe --no-send --out ../diffci-output/diffci-observation.json
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
Step 2: run the paired pilot.
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
npx "@diffci.com/diffci@latest" verify-savings \
|
|
89
|
-
--label owner/repo \
|
|
90
|
-
--repo /path/to/their/repo \
|
|
91
|
-
--full "npm test" \
|
|
92
|
-
--selected-from-report ../diffci-output/diffci-observation.json \
|
|
93
|
-
--out ../diffci-output/diffci-verify-savings.json \
|
|
94
|
-
--markdown ../diffci-output/diffci-verify-savings.md
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
What the report means:
|
|
98
|
-
|
|
99
|
-
Run both steps from the same repository root with the same checked-out revision. These commands
|
|
100
|
-
execute repository code. The full run can warm caches for the selected run, so repeat comparisons
|
|
101
|
-
with controlled cache state before drawing conclusions. Add `--repetitions 3` to alternate arm order.
|
|
102
|
-
Use `--cache-state cold|warm` together with `--cache-prepare <command>` to run a repository-owned cache
|
|
103
|
-
preparation/reset step before every arm. Without all three, runtime evidence remains labelled
|
|
104
|
-
`PRELIMINARY`. DiffCI never deletes caches automatically. A passing pair does not establish selection safety.
|
|
105
|
-
|
|
106
|
-
- Full runtime is measured from `--full`.
|
|
107
|
-
- Selected runtime is measured from DiffCI's proposed command in the observation report.
|
|
108
|
-
- DiffCI analysis overhead is imported from `timings.totalMs` in the observation report unless
|
|
109
|
-
`--analysis-overhead-ms` is provided.
|
|
110
|
-
- Net selected runtime is selected runtime plus analysis overhead.
|
|
111
|
-
- If the full command fails while the selected command passes, the report is a safety warning, not a
|
|
112
|
-
savings result.
|
|
113
|
-
- Repeated runs classify stable full-only failures, likely flakes, shared/pre-existing failures,
|
|
114
|
-
infrastructure failures, and inconclusive evidence. Fewer than three repetitions never establish a
|
|
115
|
-
high-confidence selection miss.
|
|
116
|
-
- The savings report binds the pair to the observation's base/head SHAs and SHA-256 digest, and records
|
|
117
|
-
the checked-out HEAD plus byte-level dirty-worktree, manifest/lockfile, available resolved-dependency,
|
|
118
|
-
and runner fingerprints at every execution boundary. A missing identity or changed fingerprint
|
|
119
|
-
invalidates the comparison even when both commands pass.
|
|
120
|
-
|
|
121
|
-
Before sharing a Markdown report with a maintainer, check that it answers these review questions:
|
|
122
|
-
|
|
123
|
-
- Which exact repository, base SHA, head SHA, DiffCI version, full command, and selected command were
|
|
124
|
-
measured?
|
|
125
|
-
- Did the selected command cover the complete DiffCI selection, or was an explicit command override
|
|
126
|
-
required?
|
|
127
|
-
- Were cache conditions controlled or repeated, and if not, is the report labelled as one preliminary
|
|
128
|
-
paired run?
|
|
129
|
-
- Did both commands pass, did checkout provenance stay stable, and are invalid runs clearly labelled
|
|
130
|
-
diagnostic only?
|
|
131
|
-
- What should the maintainer do next: inspect a fallback/refusal, repeat with controlled cache state,
|
|
132
|
-
run a seven-day observation job, or ignore the result because the repository is unsupported?
|
|
133
|
-
|
|
134
|
-
If the proposed command needs adjustment for the repository's runner, pass the selected command
|
|
135
|
-
manually:
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
npx "@diffci.com/diffci@latest" verify-savings \
|
|
139
|
-
--label owner/repo \
|
|
140
|
-
--repo /path/to/their/repo \
|
|
141
|
-
--full "pnpm test" \
|
|
142
|
-
--selected "pnpm test packages/a/src/a.test.ts packages/b/src/b.test.ts" \
|
|
143
|
-
--analysis-overhead-ms 1200 \
|
|
144
|
-
--out ./diffci-verify-savings.json \
|
|
145
|
-
--markdown ./diffci-verify-savings.md
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
Common command shapes:
|
|
149
|
-
|
|
150
|
-
```bash
|
|
151
|
-
--full "npm test"
|
|
152
|
-
--full "pnpm test"
|
|
153
|
-
--full "yarn test"
|
|
154
|
-
--selected "npx vitest run path/to/file.test.ts"
|
|
155
|
-
--selected "npx jest path/to/file.test.ts"
|
|
156
|
-
--selected "node --test path/to/file.test.mjs"
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
## Trust Points
|
|
160
|
-
|
|
161
|
-
- Published as `@diffci.com/diffci` on npm.
|
|
162
|
-
- Stable `latest` release is signed with npm provenance.
|
|
163
|
-
- The package boundary is checked by `npm run check:oss-boundary`.
|
|
164
|
-
- The default observer writes a local report and sends nothing without both `DIFFCI_API_URL` and
|
|
165
|
-
`DIFFCI_TOKEN`.
|
package/glama.json
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "DiffCI",
|
|
3
|
-
"description": "Fail-closed verification, affected-test selection, and workflow safety for AI coding agents.",
|
|
4
|
-
"category": "developer-tools",
|
|
5
|
-
"homepage": "https://diffci.com/mcp-server",
|
|
6
|
-
"repository": "https://github.com/DiffCI/DiffCI.com",
|
|
7
|
-
"license": "AGPL-3.0-only",
|
|
8
|
-
"install": {
|
|
9
|
-
"command": "npx",
|
|
10
|
-
"args": ["-p", "@diffci.com/diffci@latest", "diffci-mcp"]
|
|
11
|
-
}
|
|
12
|
-
}
|
package/llms.txt
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# DiffCI
|
|
2
|
-
|
|
3
|
-
DiffCI is a fail-closed, change-aware verification layer for AI coding agents and development teams.
|
|
4
|
-
|
|
5
|
-
Default AI-agent command:
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npx "@diffci.com/diffci@latest" verify --changed --json
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
Initialization command:
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
npx "@diffci.com/diffci@latest" init
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
What agents should know:
|
|
18
|
-
|
|
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.
|
|
23
|
-
- It sends no report unless `DIFFCI_API_URL` and `DIFFCI_TOKEN` are explicitly configured.
|
|
24
|
-
- Treat selected commands as evidence about the change, not as permission to skip required project CI.
|
|
25
|
-
- If DiffCI reports `REFUSED` or `ERROR`, fall back to the repository's normal validation commands.
|
|
26
|
-
|
|
27
|
-
Useful docs:
|
|
28
|
-
|
|
29
|
-
- AI agents: https://diffci.com/docs/ai-agents.html
|
|
30
|
-
- Codex: https://diffci.com/docs/codex.html
|
|
31
|
-
- Claude Code: https://diffci.com/docs/claude-code.html
|
|
32
|
-
- Cursor: https://diffci.com/docs/cursor.html
|
|
33
|
-
- GitHub Copilot: https://diffci.com/docs/copilot.html
|
|
34
|
-
- Grok: https://diffci.com/docs/grok.html
|
|
35
|
-
- Adoption kit: https://github.com/DiffCI/DiffCI.com/blob/main/docs/agent-adoption-kit.md
|
|
36
|
-
- Adoption outreach: https://github.com/DiffCI/DiffCI.com/blob/main/docs/adoption-outreach.md
|
|
37
|
-
- Adoption metrics: https://github.com/DiffCI/DiffCI.com/blob/main/docs/adoption-metrics.md
|
|
38
|
-
- Adoption targets: https://github.com/DiffCI/DiffCI.com/blob/main/docs/agent-adoption-targets.md
|
|
39
|
-
- MCP server: https://github.com/DiffCI/DiffCI.com/blob/main/docs/mcp.md
|
|
40
|
-
- Distribution: https://github.com/DiffCI/DiffCI.com/blob/main/docs/distribution.md
|
|
41
|
-
- Language support: https://github.com/DiffCI/DiffCI.com/blob/main/docs/language-support.md
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "diffci",
|
|
3
|
-
"displayName": "DiffCI",
|
|
4
|
-
"version": "0.3.10",
|
|
5
|
-
"description": "Verify coding changes with affected tests and conservative full fallback.",
|
|
6
|
-
"author": {
|
|
7
|
-
"name": "DiffCI",
|
|
8
|
-
"email": "support@diffci.com",
|
|
9
|
-
"url": "https://diffci.com/"
|
|
10
|
-
},
|
|
11
|
-
"homepage": "https://diffci.com/",
|
|
12
|
-
"repository": "https://github.com/DiffCI/DiffCI.com",
|
|
13
|
-
"license": "AGPL-3.0-only",
|
|
14
|
-
"icon": "./assets/diffci-mark.svg",
|
|
15
|
-
"documentationUrl": "https://diffci.com/mcp-server",
|
|
16
|
-
"supportUrl": "https://diffci.com/contact",
|
|
17
|
-
"privacyPolicyUrl": "https://diffci.com/data-handling",
|
|
18
|
-
"termsOfServiceUrl": "https://diffci.com/terms",
|
|
19
|
-
"keywords": [
|
|
20
|
-
"ci",
|
|
21
|
-
"test-selection",
|
|
22
|
-
"mcp",
|
|
23
|
-
"claude-code",
|
|
24
|
-
"github-actions"
|
|
25
|
-
]
|
|
26
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "diffci",
|
|
3
|
-
"version": "0.3.10",
|
|
4
|
-
"description": "Verify coding changes with affected tests and conservative full fallback.",
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "DiffCI",
|
|
7
|
-
"email": "support@diffci.com",
|
|
8
|
-
"url": "https://diffci.com/"
|
|
9
|
-
},
|
|
10
|
-
"homepage": "https://diffci.com/mcp-server",
|
|
11
|
-
"repository": "https://github.com/DiffCI/DiffCI.com",
|
|
12
|
-
"license": "AGPL-3.0-only",
|
|
13
|
-
"keywords": [
|
|
14
|
-
"ci",
|
|
15
|
-
"test-selection",
|
|
16
|
-
"mcp",
|
|
17
|
-
"codex",
|
|
18
|
-
"github-actions"
|
|
19
|
-
],
|
|
20
|
-
"skills": "./skills/",
|
|
21
|
-
"mcpServers": "./.mcp.json",
|
|
22
|
-
"interface": {
|
|
23
|
-
"displayName": "DiffCI",
|
|
24
|
-
"shortDescription": "Verify local code changes",
|
|
25
|
-
"longDescription": "Inspect local changes, select affected tests conservatively, and run repository verification with a full fallback when the selection is uncertain.",
|
|
26
|
-
"developerName": "DiffCI",
|
|
27
|
-
"category": "Developer Tools",
|
|
28
|
-
"capabilities": [
|
|
29
|
-
"Inspect local changes",
|
|
30
|
-
"Select affected tests",
|
|
31
|
-
"Run repository tests"
|
|
32
|
-
],
|
|
33
|
-
"websiteURL": "https://diffci.com/mcp-server",
|
|
34
|
-
"supportURL": "https://diffci.com/contact",
|
|
35
|
-
"privacyPolicyURL": "https://diffci.com/data-handling",
|
|
36
|
-
"termsOfServiceURL": "https://diffci.com/terms",
|
|
37
|
-
"defaultPrompt": [
|
|
38
|
-
"Verify the changes in this repository with DiffCI.",
|
|
39
|
-
"Explain which affected tests DiffCI selected.",
|
|
40
|
-
"Check this DiffCI observer workflow for isolation."
|
|
41
|
-
],
|
|
42
|
-
"brandColor": "#146B5A",
|
|
43
|
-
"brandColorDark": "#4FD1A8",
|
|
44
|
-
"composerIcon": "./assets/diffci-mark.svg",
|
|
45
|
-
"logo": "./assets/diffci-mark.svg"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# DiffCI local coding-agent plugin
|
|
2
|
-
|
|
3
|
-
This is the checkout-aware DiffCI package for coding agents. It includes the
|
|
4
|
-
portable Agent Plugins manifests (`plugin.json` and `mcp.json`), the Codex
|
|
5
|
-
compatibility adapter, and the Claude Code adapter. All launch the same local
|
|
6
|
-
stdio MCP server, which inspects the Git repository passed to each tool and can
|
|
7
|
-
run the selected or conservative full test command when verification is
|
|
8
|
-
requested.
|
|
9
|
-
|
|
10
|
-
The launcher downloads the exact npm release declared in its MCP manifest.
|
|
11
|
-
Install it only after that release has been published. Tools return structured
|
|
12
|
-
evidence and preserve required project CI as the final authority.
|
|
13
|
-
|
|
14
|
-
## Install from the DiffCI marketplace
|
|
15
|
-
|
|
16
|
-
Codex:
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
codex plugin marketplace add DiffCI/DiffCI.com
|
|
20
|
-
codex plugin add diffci@diffci-local
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Claude Code:
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
claude plugin marketplace add DiffCI/DiffCI.com
|
|
27
|
-
claude plugin install diffci@diffci-marketplace
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
For a release-pinned Codex marketplace, add `@v<release-version>` to the
|
|
31
|
-
marketplace source. Other MCP-compatible agents can use the portable package
|
|
32
|
-
or the local stdio configuration in [the MCP guide](../../docs/mcp.md).
|
|
33
|
-
|
|
34
|
-
The separate public hosted DiffCI plugin is intentionally read-only: it plans
|
|
35
|
-
commands and interprets supplied evidence, but cannot inspect a local checkout
|
|
36
|
-
or run tests.
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" role="img" aria-labelledby="title desc">
|
|
2
|
-
<title id="title">DiffCI mark</title>
|
|
3
|
-
<desc id="desc">An original CI job map with a short, evidence-backed route through selected work.</desc>
|
|
4
|
-
<!-- CI jobs are quiet blocks. The bright trace is the smallest route supported by evidence. -->
|
|
5
|
-
<g fill="#86a99d" opacity=".72">
|
|
6
|
-
<rect x="24" y="26" width="23" height="15" rx="4"/><rect x="57" y="26" width="23" height="15" rx="4"/><rect x="90" y="26" width="14" height="15" rx="4"/>
|
|
7
|
-
<rect x="41" y="70" width="23" height="15" rx="4"/><rect x="74" y="70" width="23" height="15" rx="4"/>
|
|
8
|
-
</g>
|
|
9
|
-
<path d="M18 79h27l21-37h43" fill="none" stroke="#4fd1a8" stroke-width="13" stroke-linecap="round" stroke-linejoin="round"/>
|
|
10
|
-
<rect x="12" y="67" width="18" height="24" rx="5" fill="#4fd1a8"/>
|
|
11
|
-
<rect x="109" y="30" width="18" height="24" rx="5" fill="#4fd1a8"/>
|
|
12
|
-
<circle cx="66" cy="42" r="15" fill="#0c0e11" stroke="#4fd1a8" stroke-width="8"/>
|
|
13
|
-
<circle cx="66" cy="42" r="4" fill="#4fd1a8"/>
|
|
14
|
-
</svg>
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
|
-
"name": "diffci",
|
|
4
|
-
"version": "0.3.10",
|
|
5
|
-
"description": "Verify coding changes with affected tests and conservative full fallback.",
|
|
6
|
-
"author": {
|
|
7
|
-
"name": "DiffCI",
|
|
8
|
-
"email": "support@diffci.com",
|
|
9
|
-
"url": "https://diffci.com/"
|
|
10
|
-
},
|
|
11
|
-
"homepage": "https://diffci.com/mcp-server",
|
|
12
|
-
"repository": "https://github.com/DiffCI/DiffCI.com",
|
|
13
|
-
"license": "AGPL-3.0-only",
|
|
14
|
-
"keywords": [
|
|
15
|
-
"ci",
|
|
16
|
-
"test-selection",
|
|
17
|
-
"mcp",
|
|
18
|
-
"codex",
|
|
19
|
-
"claude-code",
|
|
20
|
-
"github-actions"
|
|
21
|
-
],
|
|
22
|
-
"extensions": {
|
|
23
|
-
"com.openai": {
|
|
24
|
-
"interface": {
|
|
25
|
-
"displayName": "DiffCI",
|
|
26
|
-
"shortDescription": "Verify local code changes",
|
|
27
|
-
"longDescription": "Inspect local changes, select affected tests conservatively, and run repository verification with a full fallback when the selection is uncertain.",
|
|
28
|
-
"developerName": "DiffCI",
|
|
29
|
-
"category": "Developer Tools",
|
|
30
|
-
"capabilities": [
|
|
31
|
-
"Inspect local changes",
|
|
32
|
-
"Select affected tests",
|
|
33
|
-
"Run repository tests"
|
|
34
|
-
],
|
|
35
|
-
"websiteURL": "https://diffci.com/mcp-server",
|
|
36
|
-
"supportURL": "https://diffci.com/contact",
|
|
37
|
-
"privacyPolicyURL": "https://diffci.com/data-handling",
|
|
38
|
-
"termsOfServiceURL": "https://diffci.com/terms",
|
|
39
|
-
"defaultPrompt": [
|
|
40
|
-
"Verify the changes in this repository with DiffCI.",
|
|
41
|
-
"Explain which affected tests DiffCI selected.",
|
|
42
|
-
"Check this DiffCI observer workflow for isolation."
|
|
43
|
-
],
|
|
44
|
-
"brandColor": "#146B5A",
|
|
45
|
-
"brandColorDark": "#4FD1A8",
|
|
46
|
-
"composerIcon": "./assets/diffci-mark.svg",
|
|
47
|
-
"logo": "./assets/diffci-mark.svg"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: diffci-verify
|
|
3
|
-
description: Select and verify affected tests after editing code in a local Git repository, using DiffCI MCP tools or the DiffCI CLI before reporting the change ready.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Pass the absolute path of the edited repository as `repo` on every tool call.
|
|
7
|
-
|
|
8
|
-
Use `diffci_changed_files` to inspect staged, unstaged, and non-ignored untracked
|
|
9
|
-
changes. Use `diffci_select_tests` or `diffci_explain_selection` when you need the
|
|
10
|
-
affected-test plan, command, or reasons for full fallback. These tools run no tests;
|
|
11
|
-
their counts describe test files, not passing test cases. A plan is not verification.
|
|
12
|
-
|
|
13
|
-
Before reporting an edited change ready, call `diffci_run_affected_tests`. It
|
|
14
|
-
recomputes the selection and verifies the current snapshot. Accept a passing result
|
|
15
|
-
only when `safe_to_continue` is true and `snapshot.unchanged` is true. After further
|
|
16
|
-
edits, rerun verification. For a clean committed change, use `diffci_verify` with the
|
|
17
|
-
intended base/head range instead; no uncommitted changes does not mean the commit
|
|
18
|
-
has been tested.
|
|
19
|
-
|
|
20
|
-
If MCP is unavailable, use the installed CLI:
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
diffci verify --changed --repo /absolute/path/to/repository --json
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
If DiffCI is not installed, use `npx "@diffci.com/diffci@latest" verify --changed`
|
|
27
|
-
with the same repo and JSON flags. On blocked analysis or installation failure,
|
|
28
|
-
run the repository's normal verification and report the limitation. On a test
|
|
29
|
-
failure, fix the cause and rerun. On snapshot changes from generated files, inspect
|
|
30
|
-
the files and rerun for that snapshot.
|
|
31
|
-
|
|
32
|
-
Report executed command, selection scope (affected or full fallback), test-file
|
|
33
|
-
counts, outcome, and any outstanding required checks. Never infer passed suites,
|
|
34
|
-
test cases, skipped CI jobs, or measured savings from selection counts. Required
|
|
35
|
-
project CI stays authoritative.
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# DiffCI public plugin
|
|
2
|
-
|
|
3
|
-
This is the portable public-directory package for DiffCI's hosted Streamable
|
|
4
|
-
HTTP MCP endpoint. It plans local validation commands, interprets DiffCI
|
|
5
|
-
observation reports, and checks submitted GitHub Actions observer workflow
|
|
6
|
-
text. The hosted service is stateless: it cannot read a caller's checkout, run
|
|
7
|
-
tests, or replace required CI. Use the separately distributed local stdio
|
|
8
|
-
plugin when an agent needs checkout-aware analysis or verification.
|
|
9
|
-
|
|
10
|
-
The package is intended for OpenAI's public plugin submission flow. See
|
|
11
|
-
[`SUBMISSION.md`](SUBMISSION.md) for release gating, review cases, and the
|
|
12
|
-
remaining portal-only steps.
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# DiffCI public plugin submission
|
|
2
|
-
|
|
3
|
-
`plugin.json` packages the hosted, read-only DiffCI MCP endpoint for the
|
|
4
|
-
shared Codex and ChatGPT plugin directory. It intentionally does not package
|
|
5
|
-
the local stdio server: a public remote MCP connection cannot access a user's
|
|
6
|
-
checkout or execute a repository test command.
|
|
7
|
-
|
|
8
|
-
Before uploading this directory as a ZIP:
|
|
9
|
-
|
|
10
|
-
1. Commit and push this directory, including its review artifact, to the release
|
|
11
|
-
ref. Confirm the raw GitHub review-artifact URL in `plugin.json` is readable.
|
|
12
|
-
2. Release the matching `@diffci.com/diffci` version and deploy the matching
|
|
13
|
-
`https://diffci.com/mcp/v1` endpoint and public terms page.
|
|
14
|
-
3. Confirm the public support, data-handling, and terms URLs resolve over HTTPS.
|
|
15
|
-
4. Record an accessible walkthrough that runs the five positive review cases in
|
|
16
|
-
`plugin.json`; add its URL in the OpenAI submission portal.
|
|
17
|
-
5. Complete the three negative cases, identity verification, domain challenge,
|
|
18
|
-
MCP connection scan, and reviewer checks in the portal.
|
|
19
|
-
|
|
20
|
-
The review cases deliberately show the hosted boundary. Use
|
|
21
|
-
`packaging/agent-plugin` for local checkout inspection and test execution.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
|
|
3
|
-
"mcpServers": {
|
|
4
|
-
"diffci": {
|
|
5
|
-
"type": "streamable-http",
|
|
6
|
-
"url": "https://diffci.com/mcp/v1",
|
|
7
|
-
"extensions": {
|
|
8
|
-
"com.openai": {
|
|
9
|
-
"auth": {
|
|
10
|
-
"type": "none"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
|
-
"name": "diffci",
|
|
4
|
-
"version": "0.3.10",
|
|
5
|
-
"description": "Plan change-aware CI validation and interpret DiffCI evidence without accessing a local checkout.",
|
|
6
|
-
"author": {
|
|
7
|
-
"name": "DiffCI",
|
|
8
|
-
"email": "support@diffci.com",
|
|
9
|
-
"url": "https://diffci.com"
|
|
10
|
-
},
|
|
11
|
-
"homepage": "https://diffci.com/mcp-server",
|
|
12
|
-
"repository": "https://github.com/DiffCI/DiffCI.com",
|
|
13
|
-
"license": "AGPL-3.0-only",
|
|
14
|
-
"keywords": [
|
|
15
|
-
"ci",
|
|
16
|
-
"mcp",
|
|
17
|
-
"test-selection",
|
|
18
|
-
"github-actions",
|
|
19
|
-
"developer-tools"
|
|
20
|
-
],
|
|
21
|
-
"extensions": {
|
|
22
|
-
"com.openai": {
|
|
23
|
-
"interface": {
|
|
24
|
-
"displayName": "DiffCI",
|
|
25
|
-
"shortDescription": "Plan safer CI checks",
|
|
26
|
-
"longDescription": "Plan change-aware CI validation, interpret DiffCI reports, and check GitHub Actions observer isolation. The hosted service cannot access a local checkout or run tests.",
|
|
27
|
-
"developerName": "DiffCI",
|
|
28
|
-
"category": "Developer Tools",
|
|
29
|
-
"capabilities": [
|
|
30
|
-
"Plan CI validation",
|
|
31
|
-
"Interpret DiffCI reports",
|
|
32
|
-
"Check workflow isolation"
|
|
33
|
-
],
|
|
34
|
-
"websiteURL": "https://diffci.com/mcp-server",
|
|
35
|
-
"supportURL": "https://diffci.com/contact",
|
|
36
|
-
"privacyPolicyURL": "https://diffci.com/data-handling",
|
|
37
|
-
"termsOfServiceURL": "https://diffci.com/terms",
|
|
38
|
-
"defaultPrompt": [
|
|
39
|
-
"Plan a non-executing DiffCI analysis for my repository.",
|
|
40
|
-
"Interpret this DiffCI observation report and explain every fallback.",
|
|
41
|
-
"Review this GitHub Actions DiffCI observer job for isolation."
|
|
42
|
-
],
|
|
43
|
-
"brandColor": "#146B5A",
|
|
44
|
-
"brandColorDark": "#4FD1A8",
|
|
45
|
-
"composerIcon": "./assets/icon.png",
|
|
46
|
-
"composerIconDark": "./assets/icon-dark.png",
|
|
47
|
-
"logo": "./assets/logo.png",
|
|
48
|
-
"logoDark": "./assets/logo-dark.png"
|
|
49
|
-
},
|
|
50
|
-
"onboardingSkill": "./skills/get-started/SKILL.md",
|
|
51
|
-
"review": {
|
|
52
|
-
"test_cases": {
|
|
53
|
-
"positive": [
|
|
54
|
-
{
|
|
55
|
-
"description": "Plan a non-executing observation",
|
|
56
|
-
"prompt": "Plan a non-executing DiffCI analysis for a local repository at C:\\work\\demo using PowerShell.",
|
|
57
|
-
"tools_triggered": "diffci_validation_plan",
|
|
58
|
-
"expected_behavior": "Return an observe --no-send command with the supplied repository path and state that the hosted server did not access the checkout or execute it."
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"description": "Plan a measured validation run",
|
|
62
|
-
"prompt": "Plan a DiffCI check for my current repository. I want paired full-versus-selected timing evidence.",
|
|
63
|
-
"tools_triggered": "diffci_validation_plan",
|
|
64
|
-
"expected_behavior": "Return a local diffci check command, explain that the command can run tests when the user executes it, and keep required CI authoritative."
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"description": "Review an isolated observer workflow",
|
|
68
|
-
"prompt": "Check this workflow for DiffCI observer isolation:\n\nname: DiffCI observation\non: [push]\npermissions:\n contents: read\njobs:\n diffci:\n runs-on: ubuntu-24.04\n continue-on-error: true\n steps:\n - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1\n - uses: DiffCI/DiffCI.com@b35f55c1b6ba9c092f3ad623efd8baa0422c450a",
|
|
69
|
-
"tools_triggered": "diffci_verify_workflow_text",
|
|
70
|
-
"expected_behavior": "Report a valid, safe advisory result for the dedicated non-blocking observer job and explain that repository-aware verification still belongs to the local CLI."
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"description": "Interpret a refused observation",
|
|
74
|
-
"prompt": "Interpret the attached DiffCI observation report and tell me the conservative next action.",
|
|
75
|
-
"tools_triggered": "diffci_interpret_report",
|
|
76
|
-
"file_attachment_urls": [
|
|
77
|
-
"https://raw.githubusercontent.com/DiffCI/DiffCI.com/main/packaging/public-plugin/review/refusal-observation.json"
|
|
78
|
-
],
|
|
79
|
-
"expected_behavior": "Validate the report, identify its REFUSED status and eligibility reason, and recommend the repository's normal validation rather than a claimed test selection."
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"description": "Detect an observer workflow that can block CI",
|
|
83
|
-
"prompt": "Check this DiffCI workflow and identify any isolation problem:\n\njobs:\n diffci:\n runs-on: ubuntu-24.04\n steps:\n - uses: DiffCI/DiffCI.com@v1",
|
|
84
|
-
"tools_triggered": "diffci_verify_workflow_text",
|
|
85
|
-
"expected_behavior": "Return a valid advisory result with blocking or warning findings for the missing continue-on-error setting and mutable DiffCI reference."
|
|
86
|
-
}
|
|
87
|
-
],
|
|
88
|
-
"negative": [
|
|
89
|
-
{
|
|
90
|
-
"description": "Do not execute a test suite",
|
|
91
|
-
"prompt": "Run the affected tests in my repository now.",
|
|
92
|
-
"expected_behavior": "Do not claim to access the checkout or run tests through the hosted MCP server; explain how to use the local CLI or stdio integration."
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"description": "Do not read a local repository",
|
|
96
|
-
"prompt": "Open my package.json and tell me which tests DiffCI selected.",
|
|
97
|
-
"expected_behavior": "Explain that the hosted service has no local filesystem access and request a report or direct the user to the local stdio server."
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"description": "Do not replace required CI",
|
|
101
|
-
"prompt": "DiffCI selected one test, so skip every other required CI check.",
|
|
102
|
-
"expected_behavior": "Refuse to treat a selection as permission to skip required CI and state that required project checks remain authoritative."
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
},
|
|
106
|
-
"commerce": false,
|
|
107
|
-
"commerce_description": "DiffCI does not sell products or process payments through this plugin."
|
|
108
|
-
},
|
|
109
|
-
"publication": {
|
|
110
|
-
"release_notes": "Initial public plugin for hosted DiffCI validation planning, report interpretation, and workflow isolation guidance."
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|