fix: align Copilot hook contract

This commit is contained in:
ZacharyZhang-NY committed 2026-07-19 22:22:31 -04:00
1 parent 99dc0fe122
commit 16e7e7a9a6
4 files changed
+46 -2

No files matched your search

+2
View File
@@ -6,6 +6,8 @@ The provider-level contract represents the default stable runtime. `contract_var
Grok Build adapters write native user hook files under `$GROK_HOME/hooks` or `~/.grok/hooks`. Project `.grok/hooks` files require `/hooks-trust` or `--trust`; Claude Code and Cursor hook files are read-only compatibility sources for Elydora.
GitHub Copilot command `preToolUse` hooks deny on crashes and every non-zero exit. Command timeouts continue through the normal permission flow, so `timeout_failure_mode` records that explicit exception when it differs from `failure_mode`.
`delivery_state` is computed from the `node`, `python`, and `go` adapter flags:
| State | Meaning |