@diffci.com/diffci 0.2.7 → 0.2.8
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 +1 -1
- package/README.md +322 -320
- package/action.yml +154 -154
- package/dist-client/src/client/cli.js +100 -97
- package/dist-client/src/client/verify-savings.js +17 -0
- package/docs/adoption-metrics.md +107 -34
- package/docs/adoption-outreach.md +99 -62
- package/docs/agent-adoption-kit.md +78 -67
- package/docs/agent-adoption-targets.md +62 -62
- package/docs/ai-agents.md +102 -102
- package/docs/claude-code.md +2 -2
- package/docs/codex.md +2 -2
- package/docs/copilot.md +2 -2
- package/docs/cursor.md +2 -2
- package/docs/distribution.md +131 -131
- package/docs/grok.md +2 -2
- package/docs/language-support.md +118 -118
- package/docs/mcp.md +70 -70
- package/docs/npm-adoption.md +147 -134
- package/llms.txt +39 -39
- package/node_modules/@babel/parser/bin/babel-parser.js +0 -0
- package/node_modules/nanoid/bin/nanoid.cjs +0 -0
- package/node_modules/typescript/bin/tsc +0 -0
- package/node_modules/typescript/bin/tsserver +0 -0
- package/node_modules/yaml/bin.mjs +0 -0
- package/package.json +157 -154
- package/server.json +28 -28
- package/node_modules/@babel/parser/CHANGELOG.md +0 -1073
- package/node_modules/estree-walker/CHANGELOG.md +0 -92
package/docs/adoption-metrics.md
CHANGED
|
@@ -2,53 +2,126 @@
|
|
|
2
2
|
|
|
3
3
|
Track adoption weekly after each outreach batch.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Conversion goal
|
|
6
|
+
|
|
7
|
+
Every discovery surface should move a maintainer toward one concrete action:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx "@diffci.com/diffci@latest" check
|
|
11
|
+
```
|
|
6
12
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
`https://app.diffci.com/v1/usage-events` with only the command (`check` or `observe`), analysis
|
|
10
|
-
outcome (`observed`, `refused`, or `error`), and package version. It sends no repository identity,
|
|
11
|
-
paths, commits, test names, report, token, or stable installation identifier. Delivery failure is
|
|
12
|
-
best effort and cannot fail validation. The product Worker records `cli_usage_opt_in` in PostHog
|
|
13
|
-
when its existing `POSTHOG_API_KEY` is configured.
|
|
13
|
+
The desired conversion is not a directory view. It is a first report that a maintainer can understand,
|
|
14
|
+
share, and use to decide whether a seven-day non-blocking observation pilot is worthwhile.
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
identifier, repeated runs by one user cannot be deduplicated. Network providers may still observe
|
|
18
|
-
connection metadata such as IP address.
|
|
16
|
+
Use the same call to action across npm, GitHub Marketplace, Context7, MCP directories, GitHub, and
|
|
17
|
+
community posts:
|
|
19
18
|
|
|
19
|
+
> Try DiffCI locally with `npx "@diffci.com/diffci@latest" check`. It analyzes the current change, runs
|
|
20
|
+
> inferred full and selected commands when safe, writes reports outside the checkout, and sends nothing
|
|
21
|
+
> by default. Existing CI remains authoritative.
|
|
22
|
+
|
|
23
|
+
Route maintainers who have already run it to the
|
|
24
|
+
[`Share a first DiffCI report`](../.github/ISSUE_TEMPLATE/first-diffci-report.yml) issue template.
|
|
25
|
+
|
|
26
|
+
## Opt-in CLI usage
|
|
27
|
+
|
|
28
|
+
Users can run `diffci check --share-usage` or set `DIFFCI_SHARE_USAGE=1` for `check` and
|
|
29
|
+
`observe`. `--no-send` overrides the opt-in. The CLI sends one HTTPS event after analysis to
|
|
30
|
+
`https://app.diffci.com/v1/usage-events` with only the command (`check` or `observe`), analysis
|
|
31
|
+
outcome (`observed`, `refused`, or `error`), and package version. It sends no repository identity,
|
|
32
|
+
paths, commits, test names, report, token, or stable installation identifier. Delivery failure is
|
|
33
|
+
best effort and cannot fail validation. The product Worker records `cli_usage_opt_in` in PostHog
|
|
34
|
+
when its existing `POSTHOG_API_KEY` is configured.
|
|
35
|
+
|
|
36
|
+
Count these events as **opted-in executions**, not unique users or repositories. Report the opt-in
|
|
37
|
+
count separately from npm downloads and external merged integrations. Because there is no stable
|
|
38
|
+
identifier, repeated runs by one user cannot be deduplicated. Network providers may still observe
|
|
39
|
+
connection metadata such as IP address.
|
|
40
|
+
|
|
20
41
|
## Package
|
|
21
42
|
|
|
22
43
|
- npm latest version: `npm view "@diffci.com/diffci" version`
|
|
23
|
-
- npm weekly downloads: `
|
|
44
|
+
- npm weekly downloads: `curl "https://api.npmjs.org/downloads/point/last-week/%40diffci.com%2Fdiffci"`
|
|
24
45
|
- MCP binary presence: `npm view "@diffci.com/diffci" bin --json`
|
|
46
|
+
|
|
47
|
+
## Repository
|
|
48
|
+
|
|
49
|
+
- GitHub stars, forks, watchers, and release views.
|
|
50
|
+
- Issues or PRs opened by users asking about `diffci check`, `diffci init`, or `diffci-mcp`.
|
|
51
|
+
- External PRs merged that mention DiffCI agent validation.
|
|
52
|
+
|
|
53
|
+
## Site
|
|
54
|
+
|
|
55
|
+
- Visits to `https://diffci.com/docs/ai-agents`.
|
|
56
|
+
- Visits to `https://diffci.com/llms.txt`.
|
|
57
|
+
- Clicks from the homepage agent and MCP links.
|
|
58
|
+
- Referrers from MCP directories, awesome lists, and agent-template repositories.
|
|
59
|
+
|
|
60
|
+
## Outreach
|
|
25
61
|
|
|
26
|
-
|
|
62
|
+
Record each submission in `docs/agent-adoption-targets.md` or a dated note. For directory listings,
|
|
63
|
+
track conversion signals, not only application status:
|
|
27
64
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
-
|
|
65
|
+
| Channel | Status | Primary CTA | Signal to watch | Next action |
|
|
66
|
+
| --- | --- | --- | --- | --- |
|
|
67
|
+
| npm | Live | `npx "@diffci.com/diffci@latest" check` | Weekly downloads, package-page visits, first-report issues | Keep README first-run copy current. |
|
|
68
|
+
| GitHub Marketplace | Live | Install non-blocking Action or run local check first | Action installs, workflow questions, first-report issues | Keep pinned SHA and Marketplace copy current. |
|
|
69
|
+
| GitHub repository | Live | Open a first-report issue | Stars, issues, forks, discussion quality | Reply quickly and convert strong reports into pilot packets. |
|
|
70
|
+
| Context7 | Live | Agent-safe `check` command | Agent docs referrals, copied snippets, MCP questions | Keep agent instructions concise and current. |
|
|
71
|
+
| Official MCP Registry | Published | `diffci-mcp` setup | MCP install questions, tool-call reports | Keep package metadata and MCP examples aligned. |
|
|
72
|
+
| Glama | Applied | MCP server install | Listing visits, MCP questions | Update copy with exact first-run command once accepted. |
|
|
73
|
+
| PulseMCP | Applied | MCP server install | Listing visits, MCP questions | Watch for accepted listing and questions. |
|
|
74
|
+
| Smithery | Applied | MCP server install | Listing visits, install attempts | Watch for accepted listing and questions. |
|
|
75
|
+
| Libraries.io | Applied | npm package page | Dependency watchers, source referrals | Keep package metadata clean. |
|
|
76
|
+
| AlternativeTo | Applied | Local `check` command | Referral visits, comparison comments | Emphasize observation-only CI. |
|
|
77
|
+
| StackShare | Applied | Local `check` command | Stack adds, referral visits | Emphasize developer workflow fit. |
|
|
78
|
+
| Open Hub | Applied | GitHub repo | Project watchers, referral visits | Keep project metadata accurate. |
|
|
79
|
+
| devtools/ | Applied | Local `check` command | Referral visits, first-run issues | Keep one-command CTA visible. |
|
|
31
80
|
|
|
32
|
-
|
|
81
|
+
Weekly loop:
|
|
33
82
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
83
|
+
1. Check npm version/downloads, GitHub traffic, Marketplace/listing signals, stars, issues, and opt-in
|
|
84
|
+
usage events.
|
|
85
|
+
2. Label first-run reports with `first-report` and record whether they are selective, full fallback,
|
|
86
|
+
refused, or errored.
|
|
87
|
+
3. Reply to every first-report issue with one next step: inspect fallback/refusal, repeat with controlled
|
|
88
|
+
cache state, open a non-blocking Action PR, or stop because the repo is unsupported.
|
|
89
|
+
4. Move strong candidates into a maintainer review packet and ask for a seven-day pilot.
|
|
90
|
+
5. Stop adding new directories unless an existing channel produces reports or maintainer conversations.
|
|
38
91
|
|
|
39
|
-
##
|
|
92
|
+
## Baseline snapshot — 2026-09-25
|
|
93
|
+
|
|
94
|
+
This snapshot separates distribution activity from verified adoption. npm and GitHub traffic counts
|
|
95
|
+
can include DiffCI's own CI, release automation, crawlers, and repeated activity by the same person.
|
|
96
|
+
They are supporting signals only.
|
|
97
|
+
|
|
98
|
+
| Signal | Value | Interpretation |
|
|
99
|
+
| --- | ---: | --- |
|
|
100
|
+
| npm latest version | `0.2.7` | Current CLI and MCP binaries are publicly available. |
|
|
101
|
+
| npm downloads, last complete registry week (`2026-09-15`–`2026-09-21`) | 1,929 | Distribution activity; not unique users or repositories. |
|
|
102
|
+
| GitHub stars / forks / watchers | 0 / 0 / 0 | No repository-level community conversion yet. |
|
|
103
|
+
| GitHub views, available 14-day window | 18 views / 4 unique visitors | Early discovery signal. |
|
|
104
|
+
| GitHub clones, available 14-day window | 1,088 clones / 226 unique cloners | Likely includes automation; not adoption proof. |
|
|
105
|
+
| External GitHub code references to the npm CLI, Action, or MCP binary | 0 found | No independently verifiable installation yet. |
|
|
106
|
+
| Outreach proposals | 4 open / 0 maintainer replies | Follow up once, then prioritize a maintainer who supplies a first report. |
|
|
107
|
+
| Opted-in `cli_usage_opt_in` executions | Not verified | Restore PostHog query access before the next weekly review. Count executions, not users. |
|
|
108
|
+
| Independently owned first reports or pilots | 0 verified | Primary conversion target. |
|
|
109
|
+
|
|
110
|
+
The next adoption milestone is one independently owned repository that shares a first report or
|
|
111
|
+
completes a non-blocking observation pilot. Do not claim user or repository counts from downloads,
|
|
112
|
+
clones, or opted-in executions.
|
|
40
113
|
|
|
41
|
-
|
|
114
|
+
Existing outreach log:
|
|
42
115
|
|
|
43
116
|
| Date | Target | Type | Link | Status | Follow-up |
|
|
44
117
|
| --- | --- | --- | --- | --- | --- |
|
|
45
|
-
| 2026-09-22 | agentsmd/agents.md | Issue | https://github.com/agentsmd/agents.md/issues/245 | Open |
|
|
46
|
-
| 2026-09-22 | FerroxLabs/agents-md | Issue | https://github.com/FerroxLabs/agents-md/issues/2 | Open |
|
|
47
|
-
| 2026-09-22 | ciembor/agent-rules-books | Issue | https://github.com/ciembor/agent-rules-books/issues/8 | Open |
|
|
48
|
-
| 2026-09-22 | jbarbier/CLAUDE.md | Issue | https://github.com/jbarbier/CLAUDE.md/issues/12 | Open |
|
|
49
|
-
| 2026-09-22 | Official MCP Registry | Directory | `io.github.adityankale190895/diffci` | Published | Consider moving to `io.github.DiffCI/diffci` after GitHub org namespace authorization is available. |
|
|
50
|
-
| 2026-09-22 | Glama | Directory | TBD | Planned | Submit repository URL. |
|
|
51
|
-
| 2026-09-22 | Smithery | Directory | TBD | Blocked | Needs Smithery account/API key. |
|
|
52
|
-
|
|
53
|
-
Use merged PRs and accepted directory listings as the primary adoption signal. Use stars, downloads,
|
|
54
|
-
and page views as supporting indicators, not proof that agents are actually using DiffCI.
|
|
118
|
+
| 2026-09-22 | agentsmd/agents.md | Issue | https://github.com/agentsmd/agents.md/issues/245 | Open; no reply as of 2026-09-25 | Follow up once on 2026-09-30; offer a PR only if invited. |
|
|
119
|
+
| 2026-09-22 | FerroxLabs/agents-md | Issue | https://github.com/FerroxLabs/agents-md/issues/2 | Open; no reply as of 2026-09-25 | Follow up once on 2026-09-30; offer a PR only if invited. |
|
|
120
|
+
| 2026-09-22 | ciembor/agent-rules-books | Issue | https://github.com/ciembor/agent-rules-books/issues/8 | Open; no reply as of 2026-09-25 | Follow up once on 2026-09-30; offer a PR only if invited. |
|
|
121
|
+
| 2026-09-22 | jbarbier/CLAUDE.md | Issue | https://github.com/jbarbier/CLAUDE.md/issues/12 | Open; no reply as of 2026-09-25 | Follow up once on 2026-09-30; offer a PR only if invited. |
|
|
122
|
+
| 2026-09-22 | Official MCP Registry | Directory | `io.github.adityankale190895/diffci` | Published | Consider moving to `io.github.DiffCI/diffci` after GitHub org namespace authorization is available. |
|
|
123
|
+
| 2026-09-22 | Glama | Directory | TBD | Planned | Submit repository URL. |
|
|
124
|
+
| 2026-09-22 | Smithery | Directory | TBD | Blocked | Needs Smithery account/API key. |
|
|
125
|
+
|
|
126
|
+
Use merged PRs and accepted directory listings as the primary adoption signal. Use stars, downloads,
|
|
127
|
+
and page views as supporting indicators, not proof that agents are actually using DiffCI.
|
|
@@ -1,84 +1,121 @@
|
|
|
1
|
-
# DiffCI Adoption Outreach
|
|
2
|
-
|
|
3
|
-
Use this page as the canonical copy source for directory submissions, issues, and pull requests.
|
|
4
|
-
|
|
5
|
-
## One-Line Description
|
|
6
|
-
|
|
7
|
-
DiffCI is an observation-only CI/CD validation tool and MCP server for AI coding agents.
|
|
8
|
-
|
|
9
|
-
## Short Description
|
|
10
|
-
|
|
11
|
-
DiffCI gives coding agents a safe validation lens before they call work PR-ready. It analyzes the
|
|
12
|
-
current checkout, explains affected tests, can run inferred local validation through `diffci check`,
|
|
13
|
-
and leaves required CI authoritative.
|
|
14
|
-
|
|
15
|
-
## Links
|
|
16
|
-
|
|
17
|
-
- Website: https://diffci.com/
|
|
18
|
-
- Agent docs: https://diffci.com/docs/ai-agents
|
|
19
|
-
- MCP docs: https://github.com/DiffCI/DiffCI.com/blob/main/docs/mcp.md
|
|
20
|
-
- LLM discovery: https://diffci.com/llms.txt
|
|
21
|
-
- npm: https://www.npmjs.com/package/@diffci.com/diffci
|
|
22
|
-
- GitHub: https://github.com/DiffCI/DiffCI.com
|
|
23
|
-
|
|
1
|
+
# DiffCI Adoption Outreach
|
|
2
|
+
|
|
3
|
+
Use this page as the canonical copy source for directory submissions, issues, and pull requests.
|
|
4
|
+
|
|
5
|
+
## One-Line Description
|
|
6
|
+
|
|
7
|
+
DiffCI is an observation-only CI/CD validation tool and MCP server for AI coding agents.
|
|
8
|
+
|
|
9
|
+
## Short Description
|
|
10
|
+
|
|
11
|
+
DiffCI gives coding agents a safe validation lens before they call work PR-ready. It analyzes the
|
|
12
|
+
current checkout, explains affected tests, can run inferred local validation through `diffci check`,
|
|
13
|
+
and leaves required CI authoritative.
|
|
14
|
+
|
|
15
|
+
## Links
|
|
16
|
+
|
|
17
|
+
- Website: https://diffci.com/
|
|
18
|
+
- Agent docs: https://diffci.com/docs/ai-agents
|
|
19
|
+
- MCP docs: https://github.com/DiffCI/DiffCI.com/blob/main/docs/mcp.md
|
|
20
|
+
- LLM discovery: https://diffci.com/llms.txt
|
|
21
|
+
- npm: https://www.npmjs.com/package/@diffci.com/diffci
|
|
22
|
+
- GitHub: https://github.com/DiffCI/DiffCI.com
|
|
23
|
+
|
|
24
24
|
## Commands
|
|
25
25
|
|
|
26
26
|
CLI:
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
npx @diffci.com/diffci@latest check
|
|
29
|
+
npx "@diffci.com/diffci@latest" check
|
|
30
30
|
```
|
|
31
|
-
|
|
32
|
-
MCP:
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
npx -p @diffci.com/diffci@latest diffci-mcp
|
|
31
|
+
|
|
32
|
+
MCP:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npx -p "@diffci.com/diffci@latest" diffci-mcp
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
##
|
|
39
|
-
|
|
40
|
-
Title:
|
|
38
|
+
## Discovery CTA
|
|
41
39
|
|
|
42
|
-
|
|
43
|
-
Add DiffCI as an optional AI-agent CI validation tool
|
|
44
|
-
```
|
|
40
|
+
Use this in directory descriptions, Marketplace copy, README snippets, and community replies:
|
|
45
41
|
|
|
46
|
-
|
|
42
|
+
~~~md
|
|
43
|
+
Try DiffCI locally:
|
|
47
44
|
|
|
48
|
-
```
|
|
49
|
-
|
|
45
|
+
```bash
|
|
46
|
+
npx "@diffci.com/diffci@latest" check
|
|
47
|
+
```
|
|
50
48
|
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
DiffCI analyzes the current change, runs inferred full and selected commands when safe, writes reports
|
|
50
|
+
outside the checkout, and sends nothing by default. Existing CI remains authoritative.
|
|
51
|
+
~~~
|
|
53
52
|
|
|
54
|
-
|
|
55
|
-
current checkout, explains affected tests, can run inferred local validation through `diffci check`,
|
|
56
|
-
and does not skip, cancel, reorder, or modify required CI.
|
|
53
|
+
If someone has already run DiffCI, ask them to open a first-report issue:
|
|
57
54
|
|
|
58
|
-
|
|
55
|
+
~~~md
|
|
56
|
+
If you get a useful or confusing result, share the summary here:
|
|
57
|
+
https://github.com/DiffCI/DiffCI.com/issues/new?template=first-diffci-report.yml
|
|
59
58
|
|
|
60
|
-
|
|
61
|
-
-
|
|
59
|
+
Please paste only the DiffCI summary or a sanitized report excerpt. Do not paste secrets, private
|
|
60
|
+
source, tokens, or credential-bearing CI logs.
|
|
61
|
+
~~~
|
|
62
62
|
|
|
63
|
+
## Issue Template
|
|
64
|
+
|
|
65
|
+
Title:
|
|
66
|
+
|
|
67
|
+
```text
|
|
68
|
+
Add DiffCI as an optional AI-agent CI validation tool
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Body:
|
|
72
|
+
|
|
73
|
+
```md
|
|
74
|
+
DiffCI now ships an npm CLI and stdio MCP server for AI coding agents:
|
|
75
|
+
|
|
76
|
+
- CLI: `npx "@diffci.com/diffci@latest" check`
|
|
77
|
+
- MCP: `npx -p "@diffci.com/diffci@latest" diffci-mcp`
|
|
78
|
+
|
|
79
|
+
It is intended as an optional validation lens before agents mark work PR-ready. DiffCI analyzes the
|
|
80
|
+
current checkout, explains affected tests, can run inferred local validation through `diffci check`,
|
|
81
|
+
and does not skip, cancel, reorder, or modify required CI.
|
|
82
|
+
|
|
83
|
+
Docs:
|
|
84
|
+
|
|
85
|
+
- https://diffci.com/docs/ai-agents
|
|
86
|
+
- https://github.com/DiffCI/DiffCI.com/blob/main/docs/mcp.md
|
|
87
|
+
|
|
63
88
|
Would you be open to adding DiffCI as an optional validation command/example for AI coding agents?
|
|
64
89
|
```
|
|
65
90
|
|
|
66
|
-
##
|
|
67
|
-
|
|
68
|
-
~~~md
|
|
69
|
-
### Optional AI-agent validation
|
|
70
|
-
|
|
71
|
-
Before marking changes PR-ready, agents can run:
|
|
72
|
-
|
|
73
|
-
```bash
|
|
74
|
-
npx @diffci.com/diffci@latest check
|
|
75
|
-
```
|
|
91
|
+
## First-Run Follow-Up
|
|
76
92
|
|
|
77
|
-
|
|
93
|
+
When someone shares a first report, reply with exactly one next step:
|
|
78
94
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
95
|
+
| Report result | Reply with |
|
|
96
|
+
| --- | --- |
|
|
97
|
+
| Selective with a runnable command | Ask whether they want a seven-day non-blocking Action pilot. |
|
|
98
|
+
| Full fallback | Explain the fallback reason and ask for a smaller source-changing revision if useful. |
|
|
99
|
+
| Refused | Treat it as unsupported or an install/setup issue; do not sell it as an opportunity. |
|
|
100
|
+
| Error | Ask for the sanitized error and open a bug if it is reproducible. |
|
|
101
|
+
| Paired runtime result | Check command coverage, cache state, exit codes, and checkout provenance before discussing savings. |
|
|
82
102
|
|
|
83
|
-
|
|
84
|
-
|
|
103
|
+
## PR Snippet
|
|
104
|
+
|
|
105
|
+
~~~md
|
|
106
|
+
### Optional AI-agent validation
|
|
107
|
+
|
|
108
|
+
Before marking changes PR-ready, agents can run:
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
npx "@diffci.com/diffci@latest" check
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Agents with MCP support can configure:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
npx -p "@diffci.com/diffci@latest" diffci-mcp
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
DiffCI is a validation lens: it explains affected tests and keeps required CI authoritative.
|
|
121
|
+
~~~
|
|
@@ -1,72 +1,83 @@
|
|
|
1
|
-
# DiffCI adoption kit
|
|
2
|
-
|
|
3
|
-
Copy only the integration your repository needs. DiffCI does not replace required CI.
|
|
4
|
-
|
|
5
|
-
## Agent instruction
|
|
6
|
-
|
|
7
|
-
Add this to `AGENTS.md` or the equivalent agent instruction file:
|
|
8
|
-
|
|
9
|
-
> Before calling a change PR-ready, run `npx @diffci.com/diffci@latest check` from the repository
|
|
10
|
-
> root. Use its output to understand affected tests and fallback reasons. Keep the repository's
|
|
11
|
-
> required CI authoritative. If DiffCI reports `REFUSED` or `ERROR`, run the normal tests.
|
|
12
|
-
|
|
13
|
-
`check` may execute the repository's full and selected test commands, which may write generated
|
|
14
|
-
files. For analysis without executing tests, run `npx @diffci.com/diffci@latest observe --no-send`.
|
|
15
|
-
|
|
16
|
-
## GitHub Action
|
|
17
|
-
|
|
18
|
-
Save this as `.github/workflows/diffci.yml` to observe changes in a separate, non-blocking job:
|
|
19
|
-
|
|
20
|
-
```yaml
|
|
21
|
-
name: DiffCI observation
|
|
22
|
-
on: [push, pull_request]
|
|
23
|
-
permissions:
|
|
24
|
-
contents: read
|
|
25
|
-
jobs:
|
|
26
|
-
diffci:
|
|
27
|
-
runs-on: ubuntu-latest
|
|
28
|
-
continue-on-error: true
|
|
29
|
-
steps:
|
|
30
|
-
- uses: actions/checkout@v4
|
|
31
|
-
with:
|
|
32
|
-
fetch-depth: 0
|
|
33
|
-
- uses: DiffCI/DiffCI.com@e852523fade14bf5e0457a6331e97c8a76eedc2b # v0.2.7
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
Run `npx @diffci.com/diffci@latest verify-workflow` before starting a pilot. The Action uploads a
|
|
37
|
-
GitHub artifact by default; it sends nothing to DiffCI Cloud without an explicit endpoint and token.
|
|
38
|
-
|
|
39
|
-
## MCP client
|
|
40
|
-
|
|
41
|
-
For a client that accepts stdio MCP JSON, set `cwd` to the repository checkout:
|
|
42
|
-
|
|
43
|
-
```json
|
|
44
|
-
{
|
|
45
|
-
"mcpServers": {
|
|
46
|
-
"diffci": {
|
|
47
|
-
"command": "npx",
|
|
48
|
-
"args": ["-p", "@diffci.com/diffci@latest", "diffci-mcp"],
|
|
49
|
-
"cwd": "/path/to/repository"
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
See [MCP setup](mcp.md) for Windows paths and the available tools.
|
|
56
|
-
|
|
57
|
-
## Small adoption PR
|
|
58
|
-
|
|
59
|
-
Suggested title: **Add optional DiffCI validation for coding agents**
|
|
60
|
-
|
|
61
|
-
Suggested description:
|
|
62
|
-
|
|
63
|
-
> This adds an optional DiffCI instruction or observation job. DiffCI analyzes the change and
|
|
64
|
-
> reports affected tests. Its `check` command compares full and selected test commands when it can
|
|
65
|
-
> infer them; the GitHub Action only observes. Required CI continues to run as before.
|
|
66
|
-
|
|
1
|
+
# DiffCI adoption kit
|
|
2
|
+
|
|
3
|
+
Copy only the integration your repository needs. DiffCI does not replace required CI.
|
|
4
|
+
|
|
5
|
+
## Agent instruction
|
|
6
|
+
|
|
7
|
+
Add this to `AGENTS.md` or the equivalent agent instruction file:
|
|
8
|
+
|
|
9
|
+
> Before calling a change PR-ready, run `npx "@diffci.com/diffci@latest" check` from the repository
|
|
10
|
+
> root. Use its output to understand affected tests and fallback reasons. Keep the repository's
|
|
11
|
+
> required CI authoritative. If DiffCI reports `REFUSED` or `ERROR`, run the normal tests.
|
|
12
|
+
|
|
13
|
+
`check` may execute the repository's full and selected test commands, which may write generated
|
|
14
|
+
files. For analysis without executing tests, run `npx "@diffci.com/diffci@latest" observe --no-send`.
|
|
15
|
+
|
|
16
|
+
## GitHub Action
|
|
17
|
+
|
|
18
|
+
Save this as `.github/workflows/diffci.yml` to observe changes in a separate, non-blocking job:
|
|
19
|
+
|
|
20
|
+
```yaml
|
|
21
|
+
name: DiffCI observation
|
|
22
|
+
on: [push, pull_request]
|
|
23
|
+
permissions:
|
|
24
|
+
contents: read
|
|
25
|
+
jobs:
|
|
26
|
+
diffci:
|
|
27
|
+
runs-on: ubuntu-latest
|
|
28
|
+
continue-on-error: true
|
|
29
|
+
steps:
|
|
30
|
+
- uses: actions/checkout@v4
|
|
31
|
+
with:
|
|
32
|
+
fetch-depth: 0
|
|
33
|
+
- uses: DiffCI/DiffCI.com@e852523fade14bf5e0457a6331e97c8a76eedc2b # v0.2.7
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Run `npx "@diffci.com/diffci@latest" verify-workflow` before starting a pilot. The Action uploads a
|
|
37
|
+
GitHub artifact by default; it sends nothing to DiffCI Cloud without an explicit endpoint and token.
|
|
38
|
+
|
|
39
|
+
## MCP client
|
|
40
|
+
|
|
41
|
+
For a client that accepts stdio MCP JSON, set `cwd` to the repository checkout:
|
|
42
|
+
|
|
43
|
+
```json
|
|
44
|
+
{
|
|
45
|
+
"mcpServers": {
|
|
46
|
+
"diffci": {
|
|
47
|
+
"command": "npx",
|
|
48
|
+
"args": ["-p", "@diffci.com/diffci@latest", "diffci-mcp"],
|
|
49
|
+
"cwd": "/path/to/repository"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
See [MCP setup](mcp.md) for Windows paths and the available tools.
|
|
56
|
+
|
|
57
|
+
## Small adoption PR
|
|
58
|
+
|
|
59
|
+
Suggested title: **Add optional DiffCI validation for coding agents**
|
|
60
|
+
|
|
61
|
+
Suggested description:
|
|
62
|
+
|
|
63
|
+
> This adds an optional DiffCI instruction or observation job. DiffCI analyzes the change and
|
|
64
|
+
> reports affected tests. Its `check` command compares full and selected test commands when it can
|
|
65
|
+
> infer them; the GitHub Action only observes. Required CI continues to run as before.
|
|
66
|
+
|
|
67
67
|
## Where to point maintainers
|
|
68
68
|
|
|
69
69
|
- [npm package](https://www.npmjs.com/package/@diffci.com/diffci)
|
|
70
70
|
- [GitHub Marketplace Action](https://github.com/marketplace/actions/diffci-observer)
|
|
71
|
-
- [Agent guide](https://diffci.com/docs/ai-agents
|
|
71
|
+
- [Agent guide](https://diffci.com/docs/ai-agents)
|
|
72
72
|
- [Context7 CLI documentation](https://context7.com/diffci/diffci.com)
|
|
73
|
+
- [Share a first DiffCI report](https://github.com/DiffCI/DiffCI.com/issues/new?template=first-diffci-report.yml)
|
|
74
|
+
|
|
75
|
+
If a maintainer is evaluating DiffCI for the first time, ask for one local run before proposing a
|
|
76
|
+
workflow change:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
npx "@diffci.com/diffci@latest" check
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Then use the first-report issue template to capture the result, fallback/refusal reasons, CI shape,
|
|
83
|
+
and whether a seven-day non-blocking observation pilot would be useful.
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
# Agent Adoption Targets
|
|
2
|
-
|
|
3
|
-
Generated 2026-09-21 from GitHub search for repositories already centered on `AGENTS.md`,
|
|
4
|
-
`CLAUDE.md`, Cursor/Codex/Claude Code workflows, or agent instruction templates.
|
|
5
|
-
|
|
6
|
-
Do not open drive-by PRs blindly. Review each repository's contribution policy first and use the
|
|
7
|
-
small optional-instruction PR from [`agent-adoption-kit.md`](agent-adoption-kit.md).
|
|
8
|
-
|
|
9
|
-
## Best First Targets
|
|
10
|
-
|
|
11
|
-
| Repository | Why it fits |
|
|
12
|
-
| --- | --- |
|
|
13
|
-
| [`agentsmd/agents.md`](https://github.com/agentsmd/agents.md) | Defines the `AGENTS.md` convention. Proposal opened: [#245](https://github.com/agentsmd/agents.md/issues/245). |
|
|
14
|
-
| [`FerroxLabs/agents-md`](https://github.com/FerroxLabs/agents-md) | Explicitly targets Claude Code, Codex, Gemini, Cursor, and verification loops. Proposal opened: [#2](https://github.com/FerroxLabs/agents-md/issues/2). |
|
|
15
|
-
| [`ciembor/agent-rules-books`](https://github.com/ciembor/agent-rules-books) | Curated rules for AI coding agents; proposal opened: [#8](https://github.com/ciembor/agent-rules-books/issues/8). |
|
|
16
|
-
| [`jbarbier/CLAUDE.md`](https://github.com/jbarbier/CLAUDE.md) | Drop-in Claude/Codex/Cursor instruction file; proposal opened: [#12](https://github.com/jbarbier/CLAUDE.md/issues/12). |
|
|
17
|
-
| [`agent-sh/agnix`](https://github.com/agent-sh/agnix) | Linter/LSP for agent instruction files; possible future integration target. |
|
|
18
|
-
| [`jsynowiec/node-typescript-boilerplate`](https://github.com/jsynowiec/node-typescript-boilerplate) | Real Node/TypeScript boilerplate with GitHub Actions and `AGENTS.md`, useful as a practical adoption example. |
|
|
19
|
-
|
|
20
|
-
## Secondary Targets
|
|
21
|
-
|
|
22
|
-
| Repository | Why it fits |
|
|
23
|
-
| --- | --- |
|
|
24
|
-
| [`BayramAnnakov/claude-reflect`](https://github.com/BayramAnnakov/claude-reflect) | Syncs learning into `CLAUDE.md` and `AGENTS.md`; validation-command guidance may fit. |
|
|
25
|
-
| [`josix/awesome-claude-md`](https://github.com/josix/awesome-claude-md) | Curated collection; submit DiffCI as a validation-pattern example. |
|
|
26
|
-
| [`TheDecipherist/claude-code-mastery`](https://github.com/TheDecipherist/claude-code-mastery) | Guide-style repo; useful place for the agent-safe validation command. |
|
|
27
|
-
| [`microsoft/skills`](https://github.com/microsoft/skills) | Agent skills and MCP ecosystem. Higher bar; review contribution rules before proposing. |
|
|
28
|
-
| [`mxyhi/ok-skills`](https://github.com/mxyhi/ok-skills) | Curated skills/playbooks for Codex, Claude Code, Cursor, and other tools. |
|
|
29
|
-
|
|
30
|
-
## MCP Directory Targets
|
|
31
|
-
|
|
32
|
-
| Directory | Submission path | Status |
|
|
33
|
-
| --- | --- | --- |
|
|
34
|
-
| [Official MCP Registry](https://github.com/modelcontextprotocol/registry) | Published with `mcp-publisher` as `io.github.adityankale190895/diffci`. | Published. |
|
|
35
|
-
| [Glama](https://glama.ai/) | Submit the GitHub repository URL and short description; optional `glama.json` metadata can improve indexing. | Ready to submit. |
|
|
36
|
-
| [Smithery](https://smithery.ai/) | Publish through Smithery's server release flow/API. | Needs Smithery account/API key. |
|
|
37
|
-
| [PulseMCP](https://www.pulsemcp.com/) | Submit/list the MCP server if their current listing flow accepts third-party servers. | Review current submission rules first. |
|
|
38
|
-
| [MCP Central](https://mcpcentral.io/) | Follow the interactive server submission flow. | Ready to submit. |
|
|
39
|
-
|
|
40
|
-
## PR Order
|
|
41
|
-
|
|
42
|
-
1. Start with documentation/example repos, not large application repos.
|
|
43
|
-
2. Add only an optional validation instruction, never a required check.
|
|
44
|
-
3. Link to `https://diffci.com/docs/ai-agents
|
|
45
|
-
4. State that DiffCI sends nothing by default and changes no CI behavior.
|
|
46
|
-
5. If maintainers ask for a workflow, suggest `npx @diffci.com/diffci@latest init --workflow`.
|
|
47
|
-
|
|
48
|
-
## Minimal Patch Shape
|
|
49
|
-
|
|
50
|
-
Add this to the repository's agent instruction file:
|
|
51
|
-
|
|
52
|
-
```md
|
|
53
|
-
Before marking changes PR-ready, run:
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
npx @diffci.com/diffci@latest check
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
DiffCI check analyzes the change and runs inferred full and selected test commands to measure time.
|
|
60
|
-
It writes reports outside the checkout and sends nothing. Test commands may write generated files.
|
|
61
|
-
Existing required CI remains authoritative; use `observe --no-send` for analysis only.
|
|
62
|
-
```
|
|
1
|
+
# Agent Adoption Targets
|
|
2
|
+
|
|
3
|
+
Generated 2026-09-21 from GitHub search for repositories already centered on `AGENTS.md`,
|
|
4
|
+
`CLAUDE.md`, Cursor/Codex/Claude Code workflows, or agent instruction templates.
|
|
5
|
+
|
|
6
|
+
Do not open drive-by PRs blindly. Review each repository's contribution policy first and use the
|
|
7
|
+
small optional-instruction PR from [`agent-adoption-kit.md`](agent-adoption-kit.md).
|
|
8
|
+
|
|
9
|
+
## Best First Targets
|
|
10
|
+
|
|
11
|
+
| Repository | Why it fits |
|
|
12
|
+
| --- | --- |
|
|
13
|
+
| [`agentsmd/agents.md`](https://github.com/agentsmd/agents.md) | Defines the `AGENTS.md` convention. Proposal opened: [#245](https://github.com/agentsmd/agents.md/issues/245). |
|
|
14
|
+
| [`FerroxLabs/agents-md`](https://github.com/FerroxLabs/agents-md) | Explicitly targets Claude Code, Codex, Gemini, Cursor, and verification loops. Proposal opened: [#2](https://github.com/FerroxLabs/agents-md/issues/2). |
|
|
15
|
+
| [`ciembor/agent-rules-books`](https://github.com/ciembor/agent-rules-books) | Curated rules for AI coding agents; proposal opened: [#8](https://github.com/ciembor/agent-rules-books/issues/8). |
|
|
16
|
+
| [`jbarbier/CLAUDE.md`](https://github.com/jbarbier/CLAUDE.md) | Drop-in Claude/Codex/Cursor instruction file; proposal opened: [#12](https://github.com/jbarbier/CLAUDE.md/issues/12). |
|
|
17
|
+
| [`agent-sh/agnix`](https://github.com/agent-sh/agnix) | Linter/LSP for agent instruction files; possible future integration target. |
|
|
18
|
+
| [`jsynowiec/node-typescript-boilerplate`](https://github.com/jsynowiec/node-typescript-boilerplate) | Real Node/TypeScript boilerplate with GitHub Actions and `AGENTS.md`, useful as a practical adoption example. |
|
|
19
|
+
|
|
20
|
+
## Secondary Targets
|
|
21
|
+
|
|
22
|
+
| Repository | Why it fits |
|
|
23
|
+
| --- | --- |
|
|
24
|
+
| [`BayramAnnakov/claude-reflect`](https://github.com/BayramAnnakov/claude-reflect) | Syncs learning into `CLAUDE.md` and `AGENTS.md`; validation-command guidance may fit. |
|
|
25
|
+
| [`josix/awesome-claude-md`](https://github.com/josix/awesome-claude-md) | Curated collection; submit DiffCI as a validation-pattern example. |
|
|
26
|
+
| [`TheDecipherist/claude-code-mastery`](https://github.com/TheDecipherist/claude-code-mastery) | Guide-style repo; useful place for the agent-safe validation command. |
|
|
27
|
+
| [`microsoft/skills`](https://github.com/microsoft/skills) | Agent skills and MCP ecosystem. Higher bar; review contribution rules before proposing. |
|
|
28
|
+
| [`mxyhi/ok-skills`](https://github.com/mxyhi/ok-skills) | Curated skills/playbooks for Codex, Claude Code, Cursor, and other tools. |
|
|
29
|
+
|
|
30
|
+
## MCP Directory Targets
|
|
31
|
+
|
|
32
|
+
| Directory | Submission path | Status |
|
|
33
|
+
| --- | --- | --- |
|
|
34
|
+
| [Official MCP Registry](https://github.com/modelcontextprotocol/registry) | Published with `mcp-publisher` as `io.github.adityankale190895/diffci`. | Published. |
|
|
35
|
+
| [Glama](https://glama.ai/) | Submit the GitHub repository URL and short description; optional `glama.json` metadata can improve indexing. | Ready to submit. |
|
|
36
|
+
| [Smithery](https://smithery.ai/) | Publish through Smithery's server release flow/API. | Needs Smithery account/API key. |
|
|
37
|
+
| [PulseMCP](https://www.pulsemcp.com/) | Submit/list the MCP server if their current listing flow accepts third-party servers. | Review current submission rules first. |
|
|
38
|
+
| [MCP Central](https://mcpcentral.io/) | Follow the interactive server submission flow. | Ready to submit. |
|
|
39
|
+
|
|
40
|
+
## PR Order
|
|
41
|
+
|
|
42
|
+
1. Start with documentation/example repos, not large application repos.
|
|
43
|
+
2. Add only an optional validation instruction, never a required check.
|
|
44
|
+
3. Link to `https://diffci.com/docs/ai-agents` and `https://diffci.com/llms.txt`.
|
|
45
|
+
4. State that DiffCI sends nothing by default and changes no CI behavior.
|
|
46
|
+
5. If maintainers ask for a workflow, suggest `npx "@diffci.com/diffci@latest" init --workflow`.
|
|
47
|
+
|
|
48
|
+
## Minimal Patch Shape
|
|
49
|
+
|
|
50
|
+
Add this to the repository's agent instruction file:
|
|
51
|
+
|
|
52
|
+
```md
|
|
53
|
+
Before marking changes PR-ready, run:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
npx "@diffci.com/diffci@latest" check
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
DiffCI check analyzes the change and runs inferred full and selected test commands to measure time.
|
|
60
|
+
It writes reports outside the checkout and sends nothing. Test commands may write generated files.
|
|
61
|
+
Existing required CI remains authoritative; use `observe --no-send` for analysis only.
|
|
62
|
+
```
|