@diffci.com/diffci 0.3.10 → 0.3.11

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.
Files changed (50) hide show
  1. package/LICENSE +7 -5
  2. package/README.md +18 -422
  3. package/dist-client/src/client/workflow-guard.js +1 -1
  4. package/node_modules/@diffci.com/core/README.md +33 -0
  5. package/package.json +17 -131
  6. package/.agents/plugins/marketplace.json +0 -12
  7. package/.claude-plugin/marketplace.json +0 -17
  8. package/COMMERCIAL.md +0 -35
  9. package/SECURITY.md +0 -61
  10. package/SUPPORT.md +0 -47
  11. package/action.yml +0 -155
  12. package/docs/adoption-metrics.md +0 -161
  13. package/docs/adoption-outreach.md +0 -156
  14. package/docs/agent-adoption-kit.md +0 -97
  15. package/docs/agent-adoption-targets.md +0 -62
  16. package/docs/agent-plugin.md +0 -145
  17. package/docs/ai-agents.md +0 -123
  18. package/docs/claude-code.md +0 -18
  19. package/docs/codex.md +0 -18
  20. package/docs/copilot.md +0 -18
  21. package/docs/cursor.md +0 -19
  22. package/docs/distribution.md +0 -153
  23. package/docs/grok.md +0 -18
  24. package/docs/language-support.md +0 -118
  25. package/docs/mcp.md +0 -116
  26. package/docs/npm-adoption.md +0 -165
  27. package/glama.json +0 -12
  28. package/llms.txt +0 -41
  29. package/packaging/agent-plugin/.claude-plugin/plugin.json +0 -26
  30. package/packaging/agent-plugin/.codex-plugin/plugin.json +0 -47
  31. package/packaging/agent-plugin/.mcp.json +0 -13
  32. package/packaging/agent-plugin/README.md +0 -36
  33. package/packaging/agent-plugin/assets/diffci-mark.svg +0 -14
  34. package/packaging/agent-plugin/mcp.json +0 -15
  35. package/packaging/agent-plugin/plugin.json +0 -51
  36. package/packaging/agent-plugin/skills/diffci-verify/SKILL.md +0 -35
  37. package/packaging/public-plugin/README.md +0 -12
  38. package/packaging/public-plugin/SUBMISSION.md +0 -21
  39. package/packaging/public-plugin/assets/icon-dark.png +0 -0
  40. package/packaging/public-plugin/assets/icon.png +0 -0
  41. package/packaging/public-plugin/assets/logo-dark.png +0 -0
  42. package/packaging/public-plugin/assets/logo.png +0 -0
  43. package/packaging/public-plugin/mcp.json +0 -16
  44. package/packaging/public-plugin/plugin.json +0 -114
  45. package/packaging/public-plugin/review/refusal-observation.json +0 -41
  46. package/packaging/public-plugin/skills/diffci-remote/SKILL.md +0 -19
  47. package/packaging/public-plugin/skills/get-started/SKILL.md +0 -26
  48. package/server.json +0 -43
  49. package/site/assets/calcom-runtime-evidence.svg +0 -11
  50. package/site/llms.txt +0 -44
@@ -1,41 +0,0 @@
1
- {
2
- "schema": "diffci.observation.v1",
3
- "producedAt": "2026-09-19T14:49:59.610Z",
4
- "observer": {
5
- "version": "0.1.3",
6
- "node": "v24.16.0",
7
- "platform": "win32"
8
- },
9
- "repository": {
10
- "provider": "unknown"
11
- },
12
- "ci": {
13
- "provider": "local"
14
- },
15
- "commitRange": {
16
- "baseSha": "8041d7d183e41cdc06273dee8105ece52175a959",
17
- "headSha": "57009b5eb8d757ae39bf5f4361dd30c9f23391b7",
18
- "source": "explicit-flags"
19
- },
20
- "status": "REFUSED",
21
- "stage": "eligibility",
22
- "reason": "DiffCI supports TypeScript/JavaScript projects, Vue components, and root Go modules: No TypeScript project, Vue components, or root Go module found",
23
- "payload": {
24
- "includesFilePaths": true,
25
- "includesFileContents": false,
26
- "includesEnvironment": false,
27
- "includesCredentials": false
28
- },
29
- "nonInterference": {
30
- "headShaBefore": "57009b5eb8d757ae39bf5f4361dd30c9f23391b7",
31
- "headShaAfter": "57009b5eb8d757ae39bf5f4361dd30c9f23391b7",
32
- "worktreeDigestBefore": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
33
- "worktreeDigestAfter": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
34
- "worktreeUnchanged": true,
35
- "reportWrittenOutsideRepository": true,
36
- "workflowFindings": []
37
- },
38
- "timings": {
39
- "totalMs": 482
40
- }
41
- }
@@ -1,19 +0,0 @@
1
- ---
2
- name: diffci-remote
3
- description: Use DiffCI's hosted MCP tools for conservative CI planning, report interpretation, and workflow isolation guidance.
4
- ---
5
-
6
- Use this skill when the user supplies a DiffCI observation report, a GitHub
7
- Actions workflow document, or asks for a safe local DiffCI command plan.
8
-
9
- - Call `diffci_validation_plan` to create a command. It does not access a
10
- repository or execute the command it returns.
11
- - Call `diffci_interpret_report` only with a supplied
12
- `diffci.observation.v1` report. Report the status, selection or full fallback,
13
- fallback reasons, and the conservative next action.
14
- - Call `diffci_verify_workflow_text` with one workflow YAML document. Treat its
15
- result as an advisory; it cannot see other files or workflows in the repo.
16
-
17
- Never claim that this hosted service inspected a local checkout, executed
18
- tests, produced a verified receipt, or made required CI optional. For those
19
- tasks, use the local DiffCI CLI or local stdio MCP server.
@@ -1,26 +0,0 @@
1
- ---
2
- name: get-started
3
- description: Explain how to use DiffCI's hosted guidance tools and when a local DiffCI integration is required.
4
- ---
5
-
6
- Start by explaining the boundary: this public plugin can plan a local command,
7
- interpret a supplied DiffCI observation report, and inspect one submitted
8
- workflow document. It cannot see the user's repository, run tests, or change
9
- GitHub Actions.
10
-
11
- For a command plan, call `diffci_validation_plan`. Use `observe` when the user
12
- wants analysis without running tests and `check` when they explicitly want a
13
- paired full-versus-selected measurement. State that a returned command is only
14
- a plan until the user runs it locally.
15
-
16
- For a DiffCI report, call `diffci_interpret_report`. Preserve `REFUSED`,
17
- `ERROR`, fallback reasons, and the report's non-interference evidence. Do not
18
- turn a selection count into a claim that tests passed or that time was saved.
19
-
20
- For a GitHub Actions YAML document, call `diffci_verify_workflow_text`. It is
21
- a stateless advisory; direct users to `diffci verify-workflow` locally for
22
- repository-aware verification.
23
-
24
- When the user needs the actual checkout inspected or tests run, direct them to
25
- the local CLI or stdio MCP server documented at
26
- https://diffci.com/mcp-server. Required project CI remains authoritative.
package/server.json DELETED
@@ -1,43 +0,0 @@
1
- {
2
- "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
- "name": "io.github.DiffCI/diffci",
4
- "title": "DiffCI",
5
- "description": "Fail-closed, change-aware verification for AI coding agents with affected-test guidance.",
6
- "version": "0.3.10",
7
- "websiteUrl": "https://diffci.com/mcp-server",
8
- "repository": {
9
- "url": "https://github.com/DiffCI/DiffCI.com",
10
- "source": "github"
11
- },
12
- "icons": [
13
- {
14
- "src": "https://diffci.com/assets/diffci-mark.svg",
15
- "mimeType": "image/svg+xml",
16
- "sizes": [
17
- "any"
18
- ]
19
- }
20
- ],
21
- "packages": [
22
- {
23
- "registryType": "npm",
24
- "identifier": "@diffci.com/diffci",
25
- "version": "0.3.10",
26
- "transport": {
27
- "type": "stdio"
28
- },
29
- "packageArguments": [
30
- {
31
- "type": "positional",
32
- "value": "mcp"
33
- }
34
- ]
35
- }
36
- ],
37
- "remotes": [
38
- {
39
- "type": "streamable-http",
40
- "url": "https://diffci.com/mcp/v1"
41
- }
42
- ]
43
- }
@@ -1,11 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="780" height="240" viewBox="0 0 780 240" role="img" aria-labelledby="title desc">
2
- <title id="title">Recorded Cal.com sandbox comparison: 44.2% net reduction</title>
3
- <desc id="desc">Full install, pretest and test runtime was 657.7 seconds. Selected runtime was 356.9 seconds plus about 10.1 seconds of analysis. One controlled sandbox comparison, not production savings.</desc>
4
- <rect width="780" height="240" rx="12" fill="#0c0e11"/>
5
- <g fill="#e5e7eb" font-family="monospace" font-size="18">
6
- <text x="26" y="40">Cal.com · recorded sandbox evidence</text>
7
- <text x="26" y="82">Full workload 657.7s</text>
8
- <text x="26" y="118">Selected workload 356.9s + ~10.1s analysis</text>
9
- <text x="26" y="158" fill="#5eead4">Net job-equivalent runtime reduction: 44.2%</text>
10
- <text x="26" y="202" font-size="14">One comparison · install + pretest + test · not production savings</text>
11
- </g></svg>
package/site/llms.txt DELETED
@@ -1,44 +0,0 @@
1
- # DiffCI
2
-
3
- DiffCI is a change-aware verification layer and conservative test-selection tool 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` binds selected or conservative full-fallback testing to the current staged, unstaged, and untracked snapshot.
20
- - `diffci verify --json` verifies a clean commit range and binds the receipt to checked-out HEAD.
21
- - `diffci init --verification-workflow` creates a blocking GitHub verification check.
22
- - Continue only when `safe_to_continue` is true. If tests change generated files, review them and rerun for the new snapshot.
23
- - Use `diffci check` for paired runtime measurement and `diffci observe --no-send` for analysis without test execution.
24
- - DiffCI never skips, cancels, reorders, or changes required CI jobs.
25
- - It sends no report unless `DIFFCI_API_URL` and `DIFFCI_TOKEN` are explicitly configured.
26
- - Required project CI remains authoritative. If DiffCI is blocked, fall back to the repository's normal validation commands.
27
- - Remote MCP tools are available at https://diffci.com/mcp; they provide stateless validation planning, report interpretation, and workflow-text checks without executing commands.
28
-
29
- Useful docs:
30
-
31
- - [AI agents](https://diffci.com/docs/ai-agents)
32
- - [Codex](https://diffci.com/docs/codex)
33
- - [Claude Code](https://diffci.com/docs/claude-code)
34
- - [Cursor](https://diffci.com/docs/cursor)
35
- - [GitHub Copilot](https://diffci.com/docs/copilot)
36
- - [Grok](https://diffci.com/docs/grok)
37
- - [Test impact analysis for GitHub Actions](https://diffci.com/test-impact-analysis/github-actions)
38
- - [Running affected tests safely](https://diffci.com/guides/affected-tests)
39
- - [Open evidence study](https://diffci.com/research/diffci-open-evidence-2026)
40
- - [Adoption kit](https://github.com/DiffCI/DiffCI.com/blob/main/docs/agent-adoption-kit.md)
41
- - [MCP server](https://github.com/DiffCI/DiffCI.com/blob/main/docs/mcp.md)
42
- - [MCP server setup](https://diffci.com/mcp-server)
43
- - [MCP Server Card](https://diffci.com/mcp/server-card)
44
- - [Language support](https://github.com/DiffCI/DiffCI.com/blob/main/docs/language-support.md)