Repository navigation
Description
DiffCI tells coding agents which tests and checks their change affects, so they verify before pushing. Since CLI 0.3.44, diffci init sets up GitHub Copilot: the diffci-verify skill (Copilot reads .claude/skills), the MCP server in the root .mcp.json for VS Code, and an agentStop hook in .github/hooks/diffci.json that sends the agent back when its change breaks tests. Setup: docs/agent-installation.md#github-copilot. None of this has been tried in a real Copilot session yet, and this area is open for contributors.
Steps (each is one PR or one report; take any):
- Copilot CLI: confirm the agentStop hook sends the agent back on a broken test #135 Copilot CLI: run
diffci init, break a test, and confirm theagentStophook blocks with the failure as the next prompt. Post the stdin payload you saw. - Copilot cloud agent: add the MCP JSON from the docs in repository settings and confirm the agent calls
diffci_run_affected_testsbefore opening a PR. - VS Code agent mode: find out whether VS Code runs
.github/hooks/*.json(GitHub's docs don't say), and whether the root.mcp.jsonloads without the experimental setting. -
copilot-setup-steps.ymlexamples for common stacks (Node, Python, Go) so DiffCI can run the repository's tests in the cloud agent. - Use
stop_hook_activefrom Copilot's payload alongside DiffCI's own attempt limit, if it helps.
Ground rules
- When DiffCI cannot verify, the agent is told so and is never held: a failed setup must not look like a pass, and a pass must not be invented.
- Verified behaviour only: link the vendor doc or show the payload you observed. If a vendor documents nothing, say so here rather than guessing.
- Code lives in
packages/diffci-cli/src/client/agent-setup.ts(whatdiffci initwrites) andagent-stop.ts(the stop hook). Discuss design questions here, so every step stays consistent.
Area maintainer. Sustained work on this integration is how the Area maintainer tier is offered: named in the README and the docs, asked to review PRs that touch it, and co-author of the write-up when it ships.
Use Copilot and want to help, or have a repository we could test against? Say so below.
Activity