docs: verify Grok Build hook contract

This commit is contained in:
ZacharyZhang-NY committed 2026-07-19 07:12:31 -04:00
1 parent 90505ca66e
commit 70d8d6e2c4
4 files changed
+17

No files matched your search

+2
View File
@@ -4,6 +4,8 @@
The provider-level contract represents the default stable runtime. `contract_variants` records opt-in or transitional runtimes with their activation command and release channel. Kiro CLI uses this field for its v2 embedded hooks and v3 standalone hooks.
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.
`delivery_state` is computed from the `node`, `python`, and `go` adapter flags:
| State | Meaning |
+1
View File
@@ -240,6 +240,7 @@
"integration_mode": "command_hooks",
"config_format": "json",
"config_paths": [
"$GROK_HOME/hooks/*.json",
"~/.grok/hooks/*.json",
".grok/hooks/*.json"
],