DiffCI
Change-aware CI validation and affected-test guidance for coding agents.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"diffci": {
"command": "npx",
"args": [
"@diffci.com/diffci"
]
}
}
}可執行的套件
0.2.9stdio遠端端點
https://diffci.com/mcpstreamable-http它能做什麼
工具清單
工具(3)
🟢diffci_validation_plan(action, repo, platform)
Plan change-aware CI validation, affected-test selection, test impact analysis, or GitHub Actions workflow checks. Returns a safe local DiffCI command without accessing the checkout or executing it.
輸入結構描述
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"check",
"observe",
"init",
"verify-workflow"
],
"description": "Validation action. Defaults to check."
},
"repo": {
"type": "string",
"description": "Optional local repository path to pass as a single --repo argument."
},
"platform": {
"type": "string",
"enum": [
"posix",
"powershell"
],
"description": "Shell used only to render the display command. Defaults to posix."
}
},
"additionalProperties": false
}🟢diffci_interpret_report(report)
Validate and summarize a DiffCI observation report, including selective or full mode, affected-test counts, fallbacks, non-interference evidence, and the conservative next action.
輸入結構描述
{
"type": "object",
"properties": {
"report": {
"type": "object",
"description": "A diffci.observation.v1 JSON report."
}
},
"required": [
"report"
],
"additionalProperties": false
}🟢diffci_verify_workflow_text(workflow)
Perform a stateless preliminary safety check of GitHub Actions YAML: dedicated observer job, continue-on-error, dependency isolation, read-only permissions, and immutable DiffCI references.
輸入結構描述
{
"type": "object",
"properties": {
"workflow": {
"type": "string",
"maxLength": 262144,
"description": "One GitHub Actions workflow YAML document."
}
},
"required": [
"workflow"
],
"additionalProperties": false
}社群
證據