Payload/scripts/kaden/harness/fixtures/copilot-hook-coverage-envelopes.json
|
{ "schema": "harness.copilot-hook-coverage-envelopes/v1", "supported": [ { "id": "copilot-cli-create-review-loop", "toolFamilyClaim": "edit", "expectsPreToolUse": true, "envelope": { "toolName": "create_file", "toolArgs": { "path": "docs/harness/features/demo/.review-loop.json" } } }, { "id": "copilot-cli-replace-journal", "toolFamilyClaim": "edit", "expectsPreToolUse": true, "envelope": { "toolName": "replace_string_in_file", "toolArgs": { "path": "docs/harness/features/demo/journal/events.jsonl" } } }, { "id": "copilot-vscode-write-review-loop", "toolFamilyClaim": "edit", "expectsPreToolUse": true, "envelope": { "hook_event_name": "preToolUse", "tool_name": "create_file", "tool_input": { "path": "docs/harness/features/demo/.review-loop.json" } } } ], "unsupported": [ { "id": "no-pretooluse-dark-edit", "toolFamilyClaim": "other", "expectsPreToolUse": false, "rationale": "Tool families that never emit a preToolUse edit envelope cannot be denied by the hook; direct gate-file mutation fallback validation is required.", "envelope": { "toolName": "run_in_terminal_without_path", "toolArgs": { "note": "synthetic envelope with no path and no shell command" } } } ] } |