diff --git a/.chock/bin/_chock_runtime.py b/.chock/bin/_chock_runtime.py
index 36926292..233ffb4c 100644
--- a/.chock/bin/_chock_runtime.py
+++ b/.chock/bin/_chock_runtime.py
@@ -32,6 +32,8 @@
BYTECODE_OFF = {'PYTHONDONTWRITEBYTECODE': '1'}
+ISOLATED_START = "import os, runpy, sys\nsys.argv = sys.argv[1:]\nsys.path.insert(0, os.path.dirname(os.path.abspath(sys.argv[0])))\nrunpy.run_path(sys.argv[0], run_name='__main__')\n"
+
PATTERN_SECONDS = 10
PATTERN_START_SECONDS = 10
@@ -111,6 +113,17 @@ def run_tree(argv, *, timeout=None, **options):
untrack_tree(proc)
return _chock_subprocess.CompletedProcess(argv, proc.returncode, out, err)
+def python_free_env(env=None):
+ """`env` (this process's by default) without any `PYTHON*` variable, plus bytecode off for grandchildren."""
+ base = _chock_os.environ if env is None else env
+ return {**{k: v for k, v in base.items() if not k.upper().startswith('PYTHON')}, **BYTECODE_OFF}
+
+def isolated_child(argv, env=None):
+ """(argv, env) that run the Python child `[interpreter, script, *args]` isolated: no PYTHON* variable,
+ user site or current folder can change what it imports; its own folder is put on sys.path explicitly."""
+ interpreter, script, *args = argv
+ return ([interpreter, '-I', '-B', '-X', 'utf8', '-c', ISOLATED_START, str(script), *args], python_free_env(env))
+
def engine_remaining(deadline):
"""Seconds left before `deadline`, never negative."""
return max(deadline - _chock_time.monotonic(), 0.0)
@@ -803,7 +816,7 @@ def bash_candidates() -> list[str]:
def interpreter_env(interpreter: str) -> dict[str, str]:
"""The environment a guard runs in: on Windows, Git's usr/bin ahead on PATH for sed and grep."""
- env = {**_chock_os.environ, **BYTECODE_OFF}
+ env = python_free_env()
env.pop(CAN_ASK_ENV, None)
if _chock_os.name != _WINDOWS:
return env
@@ -861,6 +874,11 @@ def split_command(command: str) -> tuple[list[str], bool]:
except ValueError:
return (command.split(), True)
+def _guard_start(interpreter: str, guard: _chock_Path, args: list[str], env: dict[str, str]):
+ """(argv, env) for the guard: a Python guard starts isolated, a shell guard as given."""
+ argv = [interpreter, str(guard), *args]
+ return isolated_child(argv, env) if guard.suffix == PYTHON_SUFFIX else (argv, env)
+
def run_guard(guard: _chock_Path, command: str, tool: str='') -> str:
"""`GUARD_BLOCKED` / `GUARD_ASKED` / `GUARD_CLEAN` when the guard ran, otherwise why it did not."""
return run_guard_detailed(guard, command, tool)[0]
@@ -888,7 +906,8 @@ def run_guard_detailed(guard: _chock_Path, command: str, tool: str='', *, can_as
if fallback:
env[ARGV_FALLBACK_ENV] = '1'
env.update({} if can_ask is None else {CAN_ASK_ENV: '1' if can_ask else '0'})
- proc = run_tree([interpreter, str(guard), *args], capture_output=True, text=True, encoding='utf-8', errors='replace', env=env, timeout=time_left(deadline, [interpreter, str(guard)]), check=False)
+ argv, env = _guard_start(interpreter, guard, args, env)
+ proc = run_tree(argv, capture_output=True, text=True, encoding='utf-8', errors='replace', env=env, timeout=time_left(deadline, [interpreter, str(guard)]), check=False)
except _chock_subprocess.TimeoutExpired:
print(f'chock: guard timed out after {ENGINE_BUDGET_SECONDS}s, not checked', file=sys.stderr)
return (GUARD_ERRORED, '')
@@ -2624,9 +2643,9 @@ def run_gate(gate, writes, event, run_in, deadline):
runner = runner_for(gate)
if runner is None:
return (GATE_ERRORED, 'the vendored gate runner is not installed beside this gate')
- argv = [sys.executable, str(runner), 'run', '--gate', str(gate), '--event', event]
+ argv, env = isolated_child([sys.executable, str(runner), 'run', '--gate', str(gate), '--event', event])
try:
- proc = run_tree(argv, input=json.dumps({'writes': writes, **(extra or {})}), capture_output=True, text=True, encoding=_UTF8, errors='replace', timeout=time_left(deadline, argv), check=False, cwd=str(root) if root is not None else None)
+ proc = run_tree(argv, env=env, input=json.dumps({'writes': writes, **(extra or {})}), capture_output=True, text=True, encoding=_UTF8, errors='replace', timeout=time_left(deadline, argv), check=False, cwd=str(root) if root is not None else None)
except _chock_subprocess.TimeoutExpired as exc:
return (GATE_ERRORED, f'the gate runner gave no verdict within {allowed_seconds(exc)}')
except (OSError, _chock_subprocess.SubprocessError) as exc:
@@ -2767,9 +2786,9 @@ def _tool_call_script(spec, root, payload, deadline=None):
if not script.is_file():
return ('deny', f'script gate: {named!r} is not installed{_TOOL_CALL_UNDECIDED}')
deadline = engine_deadline() if deadline is None else deadline
- argv = [sys.executable, str(script)]
+ argv, env = isolated_child([sys.executable, str(script)])
try:
- proc = run_tree(argv, input=json.dumps(payload), capture_output=True, text=True, encoding='utf-8', errors='replace', cwd=str(root), env={**_chock_os.environ, **BYTECODE_OFF}, timeout=time_left(deadline, argv), check=False)
+ proc = run_tree(argv, input=json.dumps(payload), capture_output=True, text=True, encoding='utf-8', errors='replace', cwd=str(root), env=env, timeout=time_left(deadline, argv), check=False)
except _chock_subprocess.TimeoutExpired as exc:
budget = f'gave no verdict within {allowed_seconds(exc)}'
return ('deny', f'script gate: {script.name} {budget}{_TOOL_CALL_UNDECIDED}')
diff --git a/.chock/bin/claude_code.py b/.chock/bin/claude_code.py
index 558e7fbc..86885f6d 100755
--- a/.chock/bin/claude_code.py
+++ b/.chock/bin/claude_code.py
@@ -855,7 +855,7 @@ def degrade(decision, event):
# Not self-contained: chock's guard logic lives in the sibling _chock_runtime.py, loaded from this
# file's own folder and pinned to the sha256 of that file's bytes (CRLF read as LF), hashed before they are executed.
# Missing, unreadable, another version, or failing to import: every call refuses (_CHOCK_RUNTIME_FAULT), never allows.
-_CHOCK_RUNTIME_PIN = '8e3b4b73f866de5887946c8afe0dee895548a5d67146470d63350fa84b08b5f2'
+_CHOCK_RUNTIME_PIN = '791b92ce3802e2b71819589bced3f7c5fd079bf535cf469a785480a3a31c91f7'
def _chock_load_runtime():
diff --git a/.chock/bin/codex_cli.py b/.chock/bin/codex_cli.py
index 3cbb9f52..0a9db955 100755
--- a/.chock/bin/codex_cli.py
+++ b/.chock/bin/codex_cli.py
@@ -823,7 +823,7 @@ def degrade(decision, event):
# Not self-contained: chock's guard logic lives in the sibling _chock_runtime.py, loaded from this
# file's own folder and pinned to the sha256 of that file's bytes (CRLF read as LF), hashed before they are executed.
# Missing, unreadable, another version, or failing to import: every call refuses (_CHOCK_RUNTIME_FAULT), never allows.
-_CHOCK_RUNTIME_PIN = '8e3b4b73f866de5887946c8afe0dee895548a5d67146470d63350fa84b08b5f2'
+_CHOCK_RUNTIME_PIN = '791b92ce3802e2b71819589bced3f7c5fd079bf535cf469a785480a3a31c91f7'
def _chock_load_runtime():
diff --git a/.chock/bin/cursor.py b/.chock/bin/cursor.py
index 6db1a9cd..42fab5ed 100755
--- a/.chock/bin/cursor.py
+++ b/.chock/bin/cursor.py
@@ -721,7 +721,7 @@ def degrade(decision, event):
# Not self-contained: chock's guard logic lives in the sibling _chock_runtime.py, loaded from this
# file's own folder and pinned to the sha256 of that file's bytes (CRLF read as LF), hashed before they are executed.
# Missing, unreadable, another version, or failing to import: every call refuses (_CHOCK_RUNTIME_FAULT), never allows.
-_CHOCK_RUNTIME_PIN = '8e3b4b73f866de5887946c8afe0dee895548a5d67146470d63350fa84b08b5f2'
+_CHOCK_RUNTIME_PIN = '791b92ce3802e2b71819589bced3f7c5fd079bf535cf469a785480a3a31c91f7'
def _chock_load_runtime():
diff --git a/.chock/bin/devin.py b/.chock/bin/devin.py
index cccf63ea..19b17565 100755
--- a/.chock/bin/devin.py
+++ b/.chock/bin/devin.py
@@ -826,7 +826,7 @@ def degrade(decision, event):
# Not self-contained: chock's guard logic lives in the sibling _chock_runtime.py, loaded from this
# file's own folder and pinned to the sha256 of that file's bytes (CRLF read as LF), hashed before they are executed.
# Missing, unreadable, another version, or failing to import: every call refuses (_CHOCK_RUNTIME_FAULT), never allows.
-_CHOCK_RUNTIME_PIN = '8e3b4b73f866de5887946c8afe0dee895548a5d67146470d63350fa84b08b5f2'
+_CHOCK_RUNTIME_PIN = '791b92ce3802e2b71819589bced3f7c5fd079bf535cf469a785480a3a31c91f7'
def _chock_load_runtime():
diff --git a/.chock/bin/gate.py b/.chock/bin/gate.py
index 41abf266..a76d19f8 100755
--- a/.chock/bin/gate.py
+++ b/.chock/bin/gate.py
@@ -34,6 +34,14 @@
BYTECODE_OFF = {"PYTHONDONTWRITEBYTECODE": "1"}
+ISOLATED_START = (
+ "import os, runpy, sys\n"
+ "sys.argv = sys.argv[1:]\n"
+ "sys.path.insert(0, os.path.dirname(os.path.abspath(sys.argv[0])))\n"
+ "runpy.run_path(sys.argv[0], run_name='__main__')\n"
+)
+
+
PATTERN_SECONDS = 10
@@ -137,6 +145,19 @@ def run_tree(argv, *, timeout=None, **options):
return subprocess.CompletedProcess(argv, proc.returncode, out, err)
+def python_free_env(env=None):
+ """`env` (this process's by default) without any `PYTHON*` variable, plus bytecode off for grandchildren."""
+ base = os.environ if env is None else env
+ return {**{k: v for k, v in base.items() if not k.upper().startswith("PYTHON")}, **BYTECODE_OFF}
+
+
+def isolated_child(argv, env=None):
+ """(argv, env) that run the Python child `[interpreter, script, *args]` isolated: no PYTHON* variable,
+ user site or current folder can change what it imports; its own folder is put on sys.path explicitly."""
+ interpreter, script, *args = argv
+ return [interpreter, "-I", "-B", "-X", "utf8", "-c", ISOLATED_START, str(script), *args], python_free_env(env)
+
+
def engine_remaining(deadline):
"""Seconds left before `deadline`, never negative."""
return max(deadline - time.monotonic(), 0.0)
@@ -298,6 +319,7 @@ def __init__(
self.scope = tuple(scope or ())
#: Path prefixes this gate never judges: its own policy's source and compiled folders.
self.own = tuple(own)
+ self._rename_map: dict[str, str] | None = None
def is_own(self, path: str) -> bool:
"""Whether `path` is in this policy's own source or compiled folder."""
@@ -364,9 +386,28 @@ def staged_paths(self, diff_filter: str = "ACMRT", *, judge_own: bool = False) -
paths = self._listing("diff", *self._range(), "--name-only", f"--diff-filter={diff_filter}")
return [path for path in paths if self.in_scope(path, judge_own=judge_own)]
+ def _rename_range(self) -> list[str] | None:
+ """The git-diff scope whose renames the baseline follows; None when this context has none."""
+ return self._range()
+
+ def _renames(self) -> dict[str, str]:
+ """{new path: old path} for what git itself reports as renamed (`-M`, default similarity); never a guess.
+
+ A listing that fails or does not parse says no rename, which leaves the baseline at the path (stricter).
+ """
+ if self._rename_map is None:
+ scope, tokens = self._rename_range(), []
+ if scope is not None:
+ with contextlib.suppress(ListingError):
+ tokens = self._listing("diff", *scope, "-M", "--relative", "--name-status", "--diff-filter=R")
+ self._rename_map = {tokens[i + 2]: tokens[i + 1] for i in range(0, len(tokens) - 2, 3)}
+ return self._rename_map
+
def _diff_text(self, path: str) -> str:
"""`path`'s `-U0` diff as git writes it, unconverted; raises DiffError when git fails."""
- args = ("diff", *self._range(), "-U0", "--no-color", "--no-ext-diff", "--no-textconv", "--", path)
+ old = self._renames().get(path)
+ paths = (path, old) if old else (path,)
+ args = ("diff", *self._range(), "-M", "-U0", "--no-color", "--no-ext-diff", "--no-textconv", "--", *paths)
try:
proc = subprocess.run( # noqa: S603 -- reading repo facts via git is this class's whole job
[_GIT, "--literal-pathspecs", *args],
@@ -395,8 +436,8 @@ def staged_blob(self, path: str) -> str:
return self._git("show", f"HEAD:{path}" if self.base else f":{path}")
def head_blob(self, path: str) -> str:
- """Content before the change, or "" when the path is new in it."""
- return self._git("show", f"{self.base or 'HEAD'}:{path}")
+ """Content before the change, or "" when the path is new in it; a renamed path reads its old path."""
+ return self._git("show", f"{self.base or 'HEAD'}:{self._renames().get(path, path)}")
def committed_blob(self, path: str) -> str:
"""The file as HEAD has it, or "" when HEAD does not."""
@@ -465,6 +506,10 @@ def __init__(
self._added = dict(added or {})
self._stop = stop
+ def _rename_range(self) -> list[str] | None:
+ """At the turn's end, HEAD against the index and tree; a write before the tool runs has no rename."""
+ return ["HEAD"] if self._stop else None
+
def staged_paths(self, diff_filter: str = "ACMRT", *, judge_own: bool = False) -> list[str]:
"""Every write is a present file, so a filter asking only for deletions finds none."""
if not set(diff_filter) & set("ACMRT"):
@@ -496,7 +541,7 @@ def committed_blob(self, path: str) -> str:
def head_blob(self, path: str) -> str:
"""The baseline: HEAD at the turn's end, else what is on disk now, which this write would replace."""
if self._stop:
- return self.committed_blob(path)
+ return self.committed_blob(self._renames().get(path, path))
try:
return (self.repo_root / path).read_text(encoding="utf-8")
except (OSError, UnicodeDecodeError):
@@ -550,8 +595,12 @@ def head_blob(self, path: str) -> str:
#: adds is not honoured. Coverage (`on: [commit]`) is still decided by the name `commit`.
AGENT_COMMIT_EVENT = "agent-commit"
+#: The event `chock check --floor` judges at: the change under judgement may be the refused party's, so a
+#: waiver counts only when the base already has that line (the floor's `committed_blob` reads the base).
+FLOOR_EVENT = "ci-floor"
+
#: Events where the actor may be the refused agent: a waiver counts only when HEAD already has that line.
-HEAD_WAIVER_EVENTS = frozenset({AGENT_COMMIT_EVENT, TOOL_USE_EVENT})
+HEAD_WAIVER_EVENTS = frozenset({AGENT_COMMIT_EVENT, TOOL_USE_EVENT, FLOOR_EVENT})
_HUMAN_ENV = frozenset({"0", "false", "no", "off"})
@@ -959,6 +1008,15 @@ def _kind_test_integrity(ctx: GateContext, params: dict, event: str) -> GateResu
_FINDINGS_KEY = "findings"
+#: All a script gate's environment holds at the floor: no token, secret or runner variable reaches it.
+_FLOOR_ENV_KEYS = ("PATH", "HOME", "SYSTEMROOT")
+
+
+def _env(event: object) -> dict[str, str]:
+ if event == FLOOR_EVENT:
+ return {key: os.environ[key] for key in _FLOOR_ENV_KEYS if key in os.environ} | _BYTECODE_OFF
+ return {**os.environ, **_BYTECODE_OFF}
+
def _spawn(script: Path, ctx: GateContext, payload: dict, timeout: float) -> subprocess.CompletedProcess[str]:
return run_tree(
@@ -969,7 +1027,7 @@ def _spawn(script: Path, ctx: GateContext, payload: dict, timeout: float) -> sub
encoding="utf-8",
errors="replace",
cwd=ctx.repo_root,
- env={**os.environ, **_BYTECODE_OFF},
+ env=_env(payload.get("event")),
timeout=timeout,
check=False,
)
@@ -1024,6 +1082,19 @@ def _new_findings(found: list[dict], baseline: list[dict]) -> list[dict]:
return fresh
+#: A finding's optional `tier`, ranked; a verdict is the highest among the findings the change adds.
+_TIER_RANK = {"warn": 1, "ask": 2, "block": 3}
+
+
+def _tier_verdict(fresh: list[dict]) -> str | None:
+ """The verdict word ("" blocks) when every kept finding carries a known tier, else None: the exit code decides."""
+ tiers = [item.get("tier") for item in fresh]
+ if not all(isinstance(tier, str) and tier in _TIER_RANK for tier in tiers):
+ return None
+ top = max(tiers, key=_TIER_RANK.__getitem__)
+ return "" if top == "block" else top
+
+
def _baseline_findings(ctx: GateContext, script: Path, material: dict, started: float) -> list[dict]:
"""What the script finds in the baseline text of the change's files; empty when it cannot say.
@@ -1062,7 +1133,7 @@ def _exit_verdict(script: Path, proc: subprocess.CompletedProcess[str]) -> GateR
def _judge_findings(
ctx: GateContext, script: Path, material: dict, proc: subprocess.CompletedProcess[str], started: float
) -> GateResult:
- """Judge only the findings the change introduces; the change-run's exit code is the verdict for them."""
+ """Judge only the findings the change introduces: the highest tier among them, else the change-run's exit code."""
if proc.returncode not in (_SCRIPT_ALLOW, _SCRIPT_BLOCK, _SCRIPT_ASK, _SCRIPT_WARN):
# A document followed by a crash or an unknown exit is undecided, never a clean pass.
return _exit_verdict(script, proc)
@@ -1075,7 +1146,9 @@ def _judge_findings(
if not fresh or proc.returncode == _SCRIPT_ALLOW:
return GateResult(allowed=True, detail=counts)
lines = [f"{item['path']}:{item['line']}: {item['message']}" for item in fresh]
- verdict = {_SCRIPT_ASK: "ask", _SCRIPT_WARN: "warn"}.get(proc.returncode, "")
+ verdict = _tier_verdict(fresh)
+ if verdict is None:
+ verdict = {_SCRIPT_ASK: "ask", _SCRIPT_WARN: "warn"}.get(proc.returncode, "")
return GateResult(
allowed=False, matches=lines, verdict=verdict, detail=counts, rules=_rule_ids(fresh), findings=fresh
)
@@ -1084,7 +1157,7 @@ def _judge_findings(
def _kind_script(ctx: GateContext, params: dict, event: str) -> GateResult:
"""Hand the material to the policy's own script and carry back its verdict.
- The script reads `{"event", "repo_root", "writes": {path: text}}` on stdin -- the staged
+ The script reads `{"event", "repo_root", "writes": {path: text}}` on stdin (plus `deleted` at the floor) -- the staged
blobs at commit and push, the write itself at tool use and at the turn's end -- so one
script serves every surface the declarative kinds do, and reads them the same way. It
answers with an exit code: 0 allows; 1 refuses, 3 asks, 4 warns, with its own words on stderr.
@@ -1100,9 +1173,13 @@ def _kind_script(ctx: GateContext, params: dict, event: str) -> GateResult:
if not script.is_file():
return GateResult(allowed=False, message=f"script gate: {named!r} is not installed{_UNDECIDED}")
writes = {path: ctx.staged_blob(path) for path in ctx.staged_paths()}
- if not writes:
+ # Only the floor hands a script the deleted paths: the contract every other event has is unchanged.
+ deleted = sorted(ctx.staged_paths("D")) if event == FLOOR_EVENT else []
+ if not writes and not deleted:
return GateResult(allowed=True)
material = {"event": event, "repo_root": str(ctx.repo_root), "writes": writes}
+ if event == FLOOR_EVENT:
+ material["deleted"] = deleted
if ctx.session:
material["session"] = ctx.session
started = time.monotonic()
diff --git a/.chock/bin/gemini_cli.py b/.chock/bin/gemini_cli.py
index 964ae941..9a290d83 100755
--- a/.chock/bin/gemini_cli.py
+++ b/.chock/bin/gemini_cli.py
@@ -826,7 +826,7 @@ def degrade(decision, event):
# Not self-contained: chock's guard logic lives in the sibling _chock_runtime.py, loaded from this
# file's own folder and pinned to the sha256 of that file's bytes (CRLF read as LF), hashed before they are executed.
# Missing, unreadable, another version, or failing to import: every call refuses (_CHOCK_RUNTIME_FAULT), never allows.
-_CHOCK_RUNTIME_PIN = '8e3b4b73f866de5887946c8afe0dee895548a5d67146470d63350fa84b08b5f2'
+_CHOCK_RUNTIME_PIN = '791b92ce3802e2b71819589bced3f7c5fd079bf535cf469a785480a3a31c91f7'
def _chock_load_runtime():
diff --git a/.chock/bin/grok.py b/.chock/bin/grok.py
index f262f001..39616f2a 100755
--- a/.chock/bin/grok.py
+++ b/.chock/bin/grok.py
@@ -826,7 +826,7 @@ def degrade(decision, event):
# Not self-contained: chock's guard logic lives in the sibling _chock_runtime.py, loaded from this
# file's own folder and pinned to the sha256 of that file's bytes (CRLF read as LF), hashed before they are executed.
# Missing, unreadable, another version, or failing to import: every call refuses (_CHOCK_RUNTIME_FAULT), never allows.
-_CHOCK_RUNTIME_PIN = '8e3b4b73f866de5887946c8afe0dee895548a5d67146470d63350fa84b08b5f2'
+_CHOCK_RUNTIME_PIN = '791b92ce3802e2b71819589bced3f7c5fd079bf535cf469a785480a3a31c91f7'
def _chock_load_runtime():
diff --git a/.chock/bin/index/claude_code-PreToolUse-185f9750.json b/.chock/bin/index/claude_code-PreToolUse-185f9750.json
index a5aefb93..2f066730 100644
--- a/.chock/bin/index/claude_code-PreToolUse-185f9750.json
+++ b/.chock/bin/index/claude_code-PreToolUse-185f9750.json
@@ -14,7 +14,6 @@
".chock/compiled/token-efficiency/agent-hooks/tool-call-gate.json": "0689304b5bacd25e9a371674d0faa8f9b8d9d35132d2faf7917c2b165a1a93fa",
".chock/compiled/token-efficiency/agent-hooks/tool-call-hooks.json": "7300181bc92f845f81e316813adc9eb6cfd58d8a94525126455203df7fb08e6a",
".chock/compiled/token-efficiency/ambient-rule/ambient.md": "6d94b590c79d340fe25c48dc119b41ece181c5c605b4a38a853e54b54f4e9156",
- ".chock/compiled/token-efficiency/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/token-efficiency/pre-tool-use/codex_cli-tool-call-hooks.json": "a80d3ca758064cba6407f75213a659ec24321eddd85b2adc444cf9f367c5e741",
".chock/compiled/token-efficiency/pre-tool-use/cursor-post-hooks.json": "4348e99148692cafca9417a6dba71e01bda26a404733926415313428bb7f2d93",
".chock/compiled/token-efficiency/pre-tool-use/cursor-postfailure-hooks.json": "9c1e9f0f10255027115cfe5f74ac955be9f66f29973905f8eae319293285f2ab",
diff --git a/.chock/bin/index/claude_code-PreToolUse-3a2134a7.json b/.chock/bin/index/claude_code-PreToolUse-3a2134a7.json
index 6f3c0aa2..53fe6ac3 100644
--- a/.chock/bin/index/claude_code-PreToolUse-3a2134a7.json
+++ b/.chock/bin/index/claude_code-PreToolUse-3a2134a7.json
@@ -20,7 +20,6 @@
".chock/compiled/block-destructive-commands/agent-hooks/agent-hooks.json": "166952d2add28842185387ca8602d36f511968c7e666e04c87708dc9dfe3054e",
".chock/compiled/block-destructive-commands/ambient-rule/ambient.md": "67f05c884bf417822000ebac578a7090a3ead6e07f0dea03c46eaf695214f190",
".chock/compiled/block-destructive-commands/git-hook/git-pre-push.sh": "ecb69d79165216412f646fb2ef8d53646a4c6d39fde77bfcc987adff7c76149e",
- ".chock/compiled/block-destructive-commands/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-destructive-commands/pre-tool-use/antigravity-hooks.json": "9848d7c4f5be4c7ca30d401ceffe1ad4ec30775a0383552232aed9a91499b002",
".chock/compiled/block-destructive-commands/pre-tool-use/codex_cli-hooks.json": "02d8a824208df11dfd45e452e684e0779d8f164c4b6a8164bae9f9ca2cbf0865",
".chock/compiled/block-destructive-commands/pre-tool-use/cursor-hooks.json": "7091a6caea23d8794ef4e26af62e77d9f3a3bc3a38d8de9a941277e053ca1d97",
@@ -55,7 +54,6 @@
".agents/policies/block-no-verify/skills/block-no-verify/SKILL.md": "4e40b8cb58619728bdfc8dd4de2143c77bfa8c744f1f44d34904b88ae85ac023",
".chock/compiled/block-no-verify/agent-hooks/agent-hooks.json": "82b2e539bb812058a0c6cf3298ae9b72762eec28ede995ebe730b5d76f99c02b",
".chock/compiled/block-no-verify/ambient-rule/ambient.md": "371f90ab55eea13626e972c05883f2c1c427c9ca21a6d4aff23efa4513469431",
- ".chock/compiled/block-no-verify/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-no-verify/pre-tool-use/antigravity-hooks.json": "1d5445dda7ade581edf55dc5e2d9adfde0c2ec9efd9cede936b8b99fd1fb0a9b",
".chock/compiled/block-no-verify/pre-tool-use/codex_cli-hooks.json": "a9df710f0b597cf83be795e5f7e68e0b9a641199765f4c7870de0be60b9ce8f0",
".chock/compiled/block-no-verify/pre-tool-use/cursor-hooks.json": "b7d84e25198f56302446e5a3738bfc1328a1e144c69d4d5b8cacdc83b9c829fa",
@@ -92,7 +90,6 @@
".chock/compiled/protect-agent-config/agent-hooks/gate-hooks.json": "d7a2a9b67c712958415981eb0cb7b6dccff19f3162c079c5cfa445afe82e4f9a",
".chock/compiled/protect-agent-config/agent-hooks/gate.json": "15fef0cfe7fbbd34e8b8833fdf9b45f14630cc3b202ea29256a5dd8a3b3d8b33",
".chock/compiled/protect-agent-config/ambient-rule/ambient.md": "933e699a70fa72f4ea3eedc8e21078455785ede5a46c291ee57814b1d16d0cd0",
- ".chock/compiled/protect-agent-config/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-agent-config/mcp-gateway/gateway-gate.json": "81f440f9de61c0e15e73f0f35a319f224e773f1d8f6b92dfe95cc65562407ce5",
".chock/compiled/protect-agent-config/pre-tool-use/antigravity-hooks.json": "3fc5c848ba68835a54b756374c6abb73a285b6f0c9586911385e6a00f3ed79a3",
".chock/compiled/protect-agent-config/pre-tool-use/codex_cli-hooks.json": "ba95952f9d8b552175ea360f46c6a4d76670de1033eb7123f6e3513073913e16",
@@ -152,7 +149,6 @@
".chock/compiled/protect-commit-privacy/agent-hooks/agent-hooks.json": "c532957fe3efd114386ced897aec8fffdfc41e8f281a39efb4620f4e6a7d2747",
".chock/compiled/protect-commit-privacy/ambient-rule/ambient.md": "0d747282d92f843a14974765e038a69a41c93c70e1e6e8100a6546d5b48865c4",
".chock/compiled/protect-commit-privacy/git-hook/git-commit-msg.sh": "c4d9679ba23a73ab2fad594b5a3c088fd1a29d2b2444483da6d08023e0fef98a",
- ".chock/compiled/protect-commit-privacy/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-commit-privacy/pre-tool-use/antigravity-hooks.json": "762b527f13d0924e9fdd48b748d1027a1232a25225189e763cabcee208e9055d",
".chock/compiled/protect-commit-privacy/pre-tool-use/codex_cli-hooks.json": "85f228d8d50290015ef3204a73e9ddf3470929ed7fbb0f0ce8bd2d2eb8460f05",
".chock/compiled/protect-commit-privacy/pre-tool-use/cursor-hooks.json": "28d17b33eacbc0e331fc588ee9a129e66f9ad29414dad360066990d1c739e4db",
diff --git a/.chock/bin/index/claude_code-PreToolUse-4acdeb9e.json b/.chock/bin/index/claude_code-PreToolUse-4acdeb9e.json
index 2653147e..95ad602b 100644
--- a/.chock/bin/index/claude_code-PreToolUse-4acdeb9e.json
+++ b/.chock/bin/index/claude_code-PreToolUse-4acdeb9e.json
@@ -17,7 +17,6 @@
".chock/compiled/block-invisible-unicode/ci-gate/step.yaml": "84e201486169ad4c016579f744c77b88b3b722628c01018d6afa7239fc9bec63",
".chock/compiled/block-invisible-unicode/git-hook/gate.json": "351fb35fffc9aba4882fe53ebbd3713b69aca6b4eb75798538a327b1cb641e1e",
".chock/compiled/block-invisible-unicode/git-hook/git-pre-commit.sh": "454c869cf2aa5123164f732ab28ffb79cfbf57c4e4a2b73597ef592bf11e59c6",
- ".chock/compiled/block-invisible-unicode/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-invisible-unicode/mcp-gateway/gateway-gate.json": "83a400812189da3cb5ba7150d969698ab2400aa6c558348499f8745b5bf17ae0",
".chock/compiled/block-invisible-unicode/pre-tool-use/codex_cli-write-hooks.json": "fbad2af5a4a0e25f8a2704865641310f88042fe3c36ef3f5184b023d7b23af09",
".chock/compiled/block-invisible-unicode/pre-tool-use/cursor-write-hooks.json": "5a8a3215d75707c045b803c913edae75beaf9554cf4fa237d757ad773dfea2f4",
@@ -61,7 +60,6 @@
".chock/compiled/block-wildcard-agent-permissions/ci-gate/step.yaml": "f173704ceb69af71a971c081d7219f205fc176b5970dd4a32e429bbf4f6cd929",
".chock/compiled/block-wildcard-agent-permissions/git-hook/gate.json": "758636f7d17326652db0cac493c4fb59dcd7eaa922824a6e43bc49bfb616f762",
".chock/compiled/block-wildcard-agent-permissions/git-hook/git-pre-commit.sh": "8ad425c111c1dbf52a48ad2ba68b645d4d716befa8dfea575817ecea752421ea",
- ".chock/compiled/block-wildcard-agent-permissions/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-wildcard-agent-permissions/mcp-gateway/gateway-gate.json": "9bf2c6b2447a2227f303b44afd50771db2cfa3a3ee40edc1280ac43209060c55",
".chock/compiled/block-wildcard-agent-permissions/pre-tool-use/codex_cli-write-hooks.json": "8af817d29d040a474bbd5aa4c090c6084ab153f985882588e6b753ad6df1aad1",
".chock/compiled/block-wildcard-agent-permissions/pre-tool-use/cursor-write-hooks.json": "691bdbeb577970ffdbc416b828781b74c39bcc9abe6eeda09e0d0069d0a04578",
@@ -105,7 +103,6 @@
".chock/compiled/pin-github-actions/ci-gate/step.yaml": "91ed82dfc00043421971fc4f480e800682fe9f8b8c0e6aa2cfecbb1e8de8b01d",
".chock/compiled/pin-github-actions/git-hook/gate.json": "65b5bc9554fa8852cf94ceaaced461755d7694c8b87b37fe7a8434d8642c666b",
".chock/compiled/pin-github-actions/git-hook/git-pre-commit.sh": "e6e47fcbbce3525c47b7ea69deee273ce95442ef3dac7bcd43a897b553769bcd",
- ".chock/compiled/pin-github-actions/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/pin-github-actions/mcp-gateway/gateway-gate.json": "308905df356acf7194c529bf0a418fd219e083ebd8545ce1aabd45c2dfbc2650",
".chock/compiled/pin-github-actions/pre-tool-use/codex_cli-write-hooks.json": "14238725b34a2e01cda395bc90e6ac5c914b4450b3b33ab81934df6324c1210d",
".chock/compiled/pin-github-actions/pre-tool-use/cursor-write-hooks.json": "68283be362683ad10a6a4542ecc4d59cb52bfcfb02483587262b5c5e6997d6e1",
@@ -152,7 +149,6 @@
".chock/compiled/protect-agent-config/agent-hooks/gate-hooks.json": "d7a2a9b67c712958415981eb0cb7b6dccff19f3162c079c5cfa445afe82e4f9a",
".chock/compiled/protect-agent-config/agent-hooks/gate.json": "15fef0cfe7fbbd34e8b8833fdf9b45f14630cc3b202ea29256a5dd8a3b3d8b33",
".chock/compiled/protect-agent-config/ambient-rule/ambient.md": "933e699a70fa72f4ea3eedc8e21078455785ede5a46c291ee57814b1d16d0cd0",
- ".chock/compiled/protect-agent-config/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-agent-config/mcp-gateway/gateway-gate.json": "81f440f9de61c0e15e73f0f35a319f224e773f1d8f6b92dfe95cc65562407ce5",
".chock/compiled/protect-agent-config/pre-tool-use/antigravity-hooks.json": "3fc5c848ba68835a54b756374c6abb73a285b6f0c9586911385e6a00f3ed79a3",
".chock/compiled/protect-agent-config/pre-tool-use/codex_cli-hooks.json": "ba95952f9d8b552175ea360f46c6a4d76670de1033eb7123f6e3513073913e16",
@@ -209,7 +205,6 @@
".chock/compiled/scan-secrets/ci-gate/step.yaml": "e2392603980559fbc57a1be4e0243cfa3d620fddbc6c8be7b2114fd4bbad9e07",
".chock/compiled/scan-secrets/git-hook/gate.json": "04d7a7705ced24c5c341ab4dc9806c3f488e2b1ac7a6c0b995e45b2e810cfd1b",
".chock/compiled/scan-secrets/git-hook/git-pre-commit.sh": "65c9db2f5b615a079cf92b63d3c739bcd4427ed4db33811b13d8922c43bb2b50",
- ".chock/compiled/scan-secrets/managed-setting/managed-settings.json": "650436873f2a8da403515b6a205bf0006fbd2799dd8ff6c16a46b80847beafe5",
".chock/compiled/scan-secrets/mcp-gateway/gateway-gate.json": "520fd73b5d80023c68619e7ff56539c74ed0ef672ba8ce4686cf6f34972c7b25",
".chock/compiled/scan-secrets/pre-tool-use/codex_cli-write-hooks.json": "804cedc96a9809cb84f27e5d9f0da8989b32dc5173fdd37a35bfd204771a3edc",
".chock/compiled/scan-secrets/pre-tool-use/cursor-write-hooks.json": "a81dd0ba1d107bc551c51bbd7084a272c2a0b7bcc0e0b02411c36af15db60da8",
diff --git a/.chock/bin/index/codex_cli-PreToolUse-14533f34.json b/.chock/bin/index/codex_cli-PreToolUse-14533f34.json
index 6f3c0aa2..53fe6ac3 100644
--- a/.chock/bin/index/codex_cli-PreToolUse-14533f34.json
+++ b/.chock/bin/index/codex_cli-PreToolUse-14533f34.json
@@ -20,7 +20,6 @@
".chock/compiled/block-destructive-commands/agent-hooks/agent-hooks.json": "166952d2add28842185387ca8602d36f511968c7e666e04c87708dc9dfe3054e",
".chock/compiled/block-destructive-commands/ambient-rule/ambient.md": "67f05c884bf417822000ebac578a7090a3ead6e07f0dea03c46eaf695214f190",
".chock/compiled/block-destructive-commands/git-hook/git-pre-push.sh": "ecb69d79165216412f646fb2ef8d53646a4c6d39fde77bfcc987adff7c76149e",
- ".chock/compiled/block-destructive-commands/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-destructive-commands/pre-tool-use/antigravity-hooks.json": "9848d7c4f5be4c7ca30d401ceffe1ad4ec30775a0383552232aed9a91499b002",
".chock/compiled/block-destructive-commands/pre-tool-use/codex_cli-hooks.json": "02d8a824208df11dfd45e452e684e0779d8f164c4b6a8164bae9f9ca2cbf0865",
".chock/compiled/block-destructive-commands/pre-tool-use/cursor-hooks.json": "7091a6caea23d8794ef4e26af62e77d9f3a3bc3a38d8de9a941277e053ca1d97",
@@ -55,7 +54,6 @@
".agents/policies/block-no-verify/skills/block-no-verify/SKILL.md": "4e40b8cb58619728bdfc8dd4de2143c77bfa8c744f1f44d34904b88ae85ac023",
".chock/compiled/block-no-verify/agent-hooks/agent-hooks.json": "82b2e539bb812058a0c6cf3298ae9b72762eec28ede995ebe730b5d76f99c02b",
".chock/compiled/block-no-verify/ambient-rule/ambient.md": "371f90ab55eea13626e972c05883f2c1c427c9ca21a6d4aff23efa4513469431",
- ".chock/compiled/block-no-verify/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-no-verify/pre-tool-use/antigravity-hooks.json": "1d5445dda7ade581edf55dc5e2d9adfde0c2ec9efd9cede936b8b99fd1fb0a9b",
".chock/compiled/block-no-verify/pre-tool-use/codex_cli-hooks.json": "a9df710f0b597cf83be795e5f7e68e0b9a641199765f4c7870de0be60b9ce8f0",
".chock/compiled/block-no-verify/pre-tool-use/cursor-hooks.json": "b7d84e25198f56302446e5a3738bfc1328a1e144c69d4d5b8cacdc83b9c829fa",
@@ -92,7 +90,6 @@
".chock/compiled/protect-agent-config/agent-hooks/gate-hooks.json": "d7a2a9b67c712958415981eb0cb7b6dccff19f3162c079c5cfa445afe82e4f9a",
".chock/compiled/protect-agent-config/agent-hooks/gate.json": "15fef0cfe7fbbd34e8b8833fdf9b45f14630cc3b202ea29256a5dd8a3b3d8b33",
".chock/compiled/protect-agent-config/ambient-rule/ambient.md": "933e699a70fa72f4ea3eedc8e21078455785ede5a46c291ee57814b1d16d0cd0",
- ".chock/compiled/protect-agent-config/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-agent-config/mcp-gateway/gateway-gate.json": "81f440f9de61c0e15e73f0f35a319f224e773f1d8f6b92dfe95cc65562407ce5",
".chock/compiled/protect-agent-config/pre-tool-use/antigravity-hooks.json": "3fc5c848ba68835a54b756374c6abb73a285b6f0c9586911385e6a00f3ed79a3",
".chock/compiled/protect-agent-config/pre-tool-use/codex_cli-hooks.json": "ba95952f9d8b552175ea360f46c6a4d76670de1033eb7123f6e3513073913e16",
@@ -152,7 +149,6 @@
".chock/compiled/protect-commit-privacy/agent-hooks/agent-hooks.json": "c532957fe3efd114386ced897aec8fffdfc41e8f281a39efb4620f4e6a7d2747",
".chock/compiled/protect-commit-privacy/ambient-rule/ambient.md": "0d747282d92f843a14974765e038a69a41c93c70e1e6e8100a6546d5b48865c4",
".chock/compiled/protect-commit-privacy/git-hook/git-commit-msg.sh": "c4d9679ba23a73ab2fad594b5a3c088fd1a29d2b2444483da6d08023e0fef98a",
- ".chock/compiled/protect-commit-privacy/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-commit-privacy/pre-tool-use/antigravity-hooks.json": "762b527f13d0924e9fdd48b748d1027a1232a25225189e763cabcee208e9055d",
".chock/compiled/protect-commit-privacy/pre-tool-use/codex_cli-hooks.json": "85f228d8d50290015ef3204a73e9ddf3470929ed7fbb0f0ce8bd2d2eb8460f05",
".chock/compiled/protect-commit-privacy/pre-tool-use/cursor-hooks.json": "28d17b33eacbc0e331fc588ee9a129e66f9ad29414dad360066990d1c739e4db",
diff --git a/.chock/bin/index/codex_cli-PreToolUse-186bd88e.json b/.chock/bin/index/codex_cli-PreToolUse-186bd88e.json
index a5aefb93..2f066730 100644
--- a/.chock/bin/index/codex_cli-PreToolUse-186bd88e.json
+++ b/.chock/bin/index/codex_cli-PreToolUse-186bd88e.json
@@ -14,7 +14,6 @@
".chock/compiled/token-efficiency/agent-hooks/tool-call-gate.json": "0689304b5bacd25e9a371674d0faa8f9b8d9d35132d2faf7917c2b165a1a93fa",
".chock/compiled/token-efficiency/agent-hooks/tool-call-hooks.json": "7300181bc92f845f81e316813adc9eb6cfd58d8a94525126455203df7fb08e6a",
".chock/compiled/token-efficiency/ambient-rule/ambient.md": "6d94b590c79d340fe25c48dc119b41ece181c5c605b4a38a853e54b54f4e9156",
- ".chock/compiled/token-efficiency/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/token-efficiency/pre-tool-use/codex_cli-tool-call-hooks.json": "a80d3ca758064cba6407f75213a659ec24321eddd85b2adc444cf9f367c5e741",
".chock/compiled/token-efficiency/pre-tool-use/cursor-post-hooks.json": "4348e99148692cafca9417a6dba71e01bda26a404733926415313428bb7f2d93",
".chock/compiled/token-efficiency/pre-tool-use/cursor-postfailure-hooks.json": "9c1e9f0f10255027115cfe5f74ac955be9f66f29973905f8eae319293285f2ab",
diff --git a/.chock/bin/index/codex_cli-PreToolUse-d2160b00.json b/.chock/bin/index/codex_cli-PreToolUse-d2160b00.json
index 2653147e..95ad602b 100644
--- a/.chock/bin/index/codex_cli-PreToolUse-d2160b00.json
+++ b/.chock/bin/index/codex_cli-PreToolUse-d2160b00.json
@@ -17,7 +17,6 @@
".chock/compiled/block-invisible-unicode/ci-gate/step.yaml": "84e201486169ad4c016579f744c77b88b3b722628c01018d6afa7239fc9bec63",
".chock/compiled/block-invisible-unicode/git-hook/gate.json": "351fb35fffc9aba4882fe53ebbd3713b69aca6b4eb75798538a327b1cb641e1e",
".chock/compiled/block-invisible-unicode/git-hook/git-pre-commit.sh": "454c869cf2aa5123164f732ab28ffb79cfbf57c4e4a2b73597ef592bf11e59c6",
- ".chock/compiled/block-invisible-unicode/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-invisible-unicode/mcp-gateway/gateway-gate.json": "83a400812189da3cb5ba7150d969698ab2400aa6c558348499f8745b5bf17ae0",
".chock/compiled/block-invisible-unicode/pre-tool-use/codex_cli-write-hooks.json": "fbad2af5a4a0e25f8a2704865641310f88042fe3c36ef3f5184b023d7b23af09",
".chock/compiled/block-invisible-unicode/pre-tool-use/cursor-write-hooks.json": "5a8a3215d75707c045b803c913edae75beaf9554cf4fa237d757ad773dfea2f4",
@@ -61,7 +60,6 @@
".chock/compiled/block-wildcard-agent-permissions/ci-gate/step.yaml": "f173704ceb69af71a971c081d7219f205fc176b5970dd4a32e429bbf4f6cd929",
".chock/compiled/block-wildcard-agent-permissions/git-hook/gate.json": "758636f7d17326652db0cac493c4fb59dcd7eaa922824a6e43bc49bfb616f762",
".chock/compiled/block-wildcard-agent-permissions/git-hook/git-pre-commit.sh": "8ad425c111c1dbf52a48ad2ba68b645d4d716befa8dfea575817ecea752421ea",
- ".chock/compiled/block-wildcard-agent-permissions/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-wildcard-agent-permissions/mcp-gateway/gateway-gate.json": "9bf2c6b2447a2227f303b44afd50771db2cfa3a3ee40edc1280ac43209060c55",
".chock/compiled/block-wildcard-agent-permissions/pre-tool-use/codex_cli-write-hooks.json": "8af817d29d040a474bbd5aa4c090c6084ab153f985882588e6b753ad6df1aad1",
".chock/compiled/block-wildcard-agent-permissions/pre-tool-use/cursor-write-hooks.json": "691bdbeb577970ffdbc416b828781b74c39bcc9abe6eeda09e0d0069d0a04578",
@@ -105,7 +103,6 @@
".chock/compiled/pin-github-actions/ci-gate/step.yaml": "91ed82dfc00043421971fc4f480e800682fe9f8b8c0e6aa2cfecbb1e8de8b01d",
".chock/compiled/pin-github-actions/git-hook/gate.json": "65b5bc9554fa8852cf94ceaaced461755d7694c8b87b37fe7a8434d8642c666b",
".chock/compiled/pin-github-actions/git-hook/git-pre-commit.sh": "e6e47fcbbce3525c47b7ea69deee273ce95442ef3dac7bcd43a897b553769bcd",
- ".chock/compiled/pin-github-actions/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/pin-github-actions/mcp-gateway/gateway-gate.json": "308905df356acf7194c529bf0a418fd219e083ebd8545ce1aabd45c2dfbc2650",
".chock/compiled/pin-github-actions/pre-tool-use/codex_cli-write-hooks.json": "14238725b34a2e01cda395bc90e6ac5c914b4450b3b33ab81934df6324c1210d",
".chock/compiled/pin-github-actions/pre-tool-use/cursor-write-hooks.json": "68283be362683ad10a6a4542ecc4d59cb52bfcfb02483587262b5c5e6997d6e1",
@@ -152,7 +149,6 @@
".chock/compiled/protect-agent-config/agent-hooks/gate-hooks.json": "d7a2a9b67c712958415981eb0cb7b6dccff19f3162c079c5cfa445afe82e4f9a",
".chock/compiled/protect-agent-config/agent-hooks/gate.json": "15fef0cfe7fbbd34e8b8833fdf9b45f14630cc3b202ea29256a5dd8a3b3d8b33",
".chock/compiled/protect-agent-config/ambient-rule/ambient.md": "933e699a70fa72f4ea3eedc8e21078455785ede5a46c291ee57814b1d16d0cd0",
- ".chock/compiled/protect-agent-config/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-agent-config/mcp-gateway/gateway-gate.json": "81f440f9de61c0e15e73f0f35a319f224e773f1d8f6b92dfe95cc65562407ce5",
".chock/compiled/protect-agent-config/pre-tool-use/antigravity-hooks.json": "3fc5c848ba68835a54b756374c6abb73a285b6f0c9586911385e6a00f3ed79a3",
".chock/compiled/protect-agent-config/pre-tool-use/codex_cli-hooks.json": "ba95952f9d8b552175ea360f46c6a4d76670de1033eb7123f6e3513073913e16",
@@ -209,7 +205,6 @@
".chock/compiled/scan-secrets/ci-gate/step.yaml": "e2392603980559fbc57a1be4e0243cfa3d620fddbc6c8be7b2114fd4bbad9e07",
".chock/compiled/scan-secrets/git-hook/gate.json": "04d7a7705ced24c5c341ab4dc9806c3f488e2b1ac7a6c0b995e45b2e810cfd1b",
".chock/compiled/scan-secrets/git-hook/git-pre-commit.sh": "65c9db2f5b615a079cf92b63d3c739bcd4427ed4db33811b13d8922c43bb2b50",
- ".chock/compiled/scan-secrets/managed-setting/managed-settings.json": "650436873f2a8da403515b6a205bf0006fbd2799dd8ff6c16a46b80847beafe5",
".chock/compiled/scan-secrets/mcp-gateway/gateway-gate.json": "520fd73b5d80023c68619e7ff56539c74ed0ef672ba8ce4686cf6f34972c7b25",
".chock/compiled/scan-secrets/pre-tool-use/codex_cli-write-hooks.json": "804cedc96a9809cb84f27e5d9f0da8989b32dc5173fdd37a35bfd204771a3edc",
".chock/compiled/scan-secrets/pre-tool-use/cursor-write-hooks.json": "a81dd0ba1d107bc551c51bbd7084a272c2a0b7bcc0e0b02411c36af15db60da8",
diff --git a/.chock/bin/index/cursor-beforeShellExecution-b6c825df.json b/.chock/bin/index/cursor-beforeShellExecution-b6c825df.json
index 6f3c0aa2..53fe6ac3 100644
--- a/.chock/bin/index/cursor-beforeShellExecution-b6c825df.json
+++ b/.chock/bin/index/cursor-beforeShellExecution-b6c825df.json
@@ -20,7 +20,6 @@
".chock/compiled/block-destructive-commands/agent-hooks/agent-hooks.json": "166952d2add28842185387ca8602d36f511968c7e666e04c87708dc9dfe3054e",
".chock/compiled/block-destructive-commands/ambient-rule/ambient.md": "67f05c884bf417822000ebac578a7090a3ead6e07f0dea03c46eaf695214f190",
".chock/compiled/block-destructive-commands/git-hook/git-pre-push.sh": "ecb69d79165216412f646fb2ef8d53646a4c6d39fde77bfcc987adff7c76149e",
- ".chock/compiled/block-destructive-commands/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-destructive-commands/pre-tool-use/antigravity-hooks.json": "9848d7c4f5be4c7ca30d401ceffe1ad4ec30775a0383552232aed9a91499b002",
".chock/compiled/block-destructive-commands/pre-tool-use/codex_cli-hooks.json": "02d8a824208df11dfd45e452e684e0779d8f164c4b6a8164bae9f9ca2cbf0865",
".chock/compiled/block-destructive-commands/pre-tool-use/cursor-hooks.json": "7091a6caea23d8794ef4e26af62e77d9f3a3bc3a38d8de9a941277e053ca1d97",
@@ -55,7 +54,6 @@
".agents/policies/block-no-verify/skills/block-no-verify/SKILL.md": "4e40b8cb58619728bdfc8dd4de2143c77bfa8c744f1f44d34904b88ae85ac023",
".chock/compiled/block-no-verify/agent-hooks/agent-hooks.json": "82b2e539bb812058a0c6cf3298ae9b72762eec28ede995ebe730b5d76f99c02b",
".chock/compiled/block-no-verify/ambient-rule/ambient.md": "371f90ab55eea13626e972c05883f2c1c427c9ca21a6d4aff23efa4513469431",
- ".chock/compiled/block-no-verify/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-no-verify/pre-tool-use/antigravity-hooks.json": "1d5445dda7ade581edf55dc5e2d9adfde0c2ec9efd9cede936b8b99fd1fb0a9b",
".chock/compiled/block-no-verify/pre-tool-use/codex_cli-hooks.json": "a9df710f0b597cf83be795e5f7e68e0b9a641199765f4c7870de0be60b9ce8f0",
".chock/compiled/block-no-verify/pre-tool-use/cursor-hooks.json": "b7d84e25198f56302446e5a3738bfc1328a1e144c69d4d5b8cacdc83b9c829fa",
@@ -92,7 +90,6 @@
".chock/compiled/protect-agent-config/agent-hooks/gate-hooks.json": "d7a2a9b67c712958415981eb0cb7b6dccff19f3162c079c5cfa445afe82e4f9a",
".chock/compiled/protect-agent-config/agent-hooks/gate.json": "15fef0cfe7fbbd34e8b8833fdf9b45f14630cc3b202ea29256a5dd8a3b3d8b33",
".chock/compiled/protect-agent-config/ambient-rule/ambient.md": "933e699a70fa72f4ea3eedc8e21078455785ede5a46c291ee57814b1d16d0cd0",
- ".chock/compiled/protect-agent-config/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-agent-config/mcp-gateway/gateway-gate.json": "81f440f9de61c0e15e73f0f35a319f224e773f1d8f6b92dfe95cc65562407ce5",
".chock/compiled/protect-agent-config/pre-tool-use/antigravity-hooks.json": "3fc5c848ba68835a54b756374c6abb73a285b6f0c9586911385e6a00f3ed79a3",
".chock/compiled/protect-agent-config/pre-tool-use/codex_cli-hooks.json": "ba95952f9d8b552175ea360f46c6a4d76670de1033eb7123f6e3513073913e16",
@@ -152,7 +149,6 @@
".chock/compiled/protect-commit-privacy/agent-hooks/agent-hooks.json": "c532957fe3efd114386ced897aec8fffdfc41e8f281a39efb4620f4e6a7d2747",
".chock/compiled/protect-commit-privacy/ambient-rule/ambient.md": "0d747282d92f843a14974765e038a69a41c93c70e1e6e8100a6546d5b48865c4",
".chock/compiled/protect-commit-privacy/git-hook/git-commit-msg.sh": "c4d9679ba23a73ab2fad594b5a3c088fd1a29d2b2444483da6d08023e0fef98a",
- ".chock/compiled/protect-commit-privacy/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-commit-privacy/pre-tool-use/antigravity-hooks.json": "762b527f13d0924e9fdd48b748d1027a1232a25225189e763cabcee208e9055d",
".chock/compiled/protect-commit-privacy/pre-tool-use/codex_cli-hooks.json": "85f228d8d50290015ef3204a73e9ddf3470929ed7fbb0f0ce8bd2d2eb8460f05",
".chock/compiled/protect-commit-privacy/pre-tool-use/cursor-hooks.json": "28d17b33eacbc0e331fc588ee9a129e66f9ad29414dad360066990d1c739e4db",
diff --git a/.chock/bin/index/cursor-preToolUse-b6c825df.json b/.chock/bin/index/cursor-preToolUse-b6c825df.json
index ee5b6120..e2017f6d 100644
--- a/.chock/bin/index/cursor-preToolUse-b6c825df.json
+++ b/.chock/bin/index/cursor-preToolUse-b6c825df.json
@@ -17,7 +17,6 @@
".chock/compiled/block-invisible-unicode/ci-gate/step.yaml": "84e201486169ad4c016579f744c77b88b3b722628c01018d6afa7239fc9bec63",
".chock/compiled/block-invisible-unicode/git-hook/gate.json": "351fb35fffc9aba4882fe53ebbd3713b69aca6b4eb75798538a327b1cb641e1e",
".chock/compiled/block-invisible-unicode/git-hook/git-pre-commit.sh": "454c869cf2aa5123164f732ab28ffb79cfbf57c4e4a2b73597ef592bf11e59c6",
- ".chock/compiled/block-invisible-unicode/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-invisible-unicode/mcp-gateway/gateway-gate.json": "83a400812189da3cb5ba7150d969698ab2400aa6c558348499f8745b5bf17ae0",
".chock/compiled/block-invisible-unicode/pre-tool-use/codex_cli-write-hooks.json": "fbad2af5a4a0e25f8a2704865641310f88042fe3c36ef3f5184b023d7b23af09",
".chock/compiled/block-invisible-unicode/pre-tool-use/cursor-write-hooks.json": "5a8a3215d75707c045b803c913edae75beaf9554cf4fa237d757ad773dfea2f4",
@@ -61,7 +60,6 @@
".chock/compiled/block-wildcard-agent-permissions/ci-gate/step.yaml": "f173704ceb69af71a971c081d7219f205fc176b5970dd4a32e429bbf4f6cd929",
".chock/compiled/block-wildcard-agent-permissions/git-hook/gate.json": "758636f7d17326652db0cac493c4fb59dcd7eaa922824a6e43bc49bfb616f762",
".chock/compiled/block-wildcard-agent-permissions/git-hook/git-pre-commit.sh": "8ad425c111c1dbf52a48ad2ba68b645d4d716befa8dfea575817ecea752421ea",
- ".chock/compiled/block-wildcard-agent-permissions/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-wildcard-agent-permissions/mcp-gateway/gateway-gate.json": "9bf2c6b2447a2227f303b44afd50771db2cfa3a3ee40edc1280ac43209060c55",
".chock/compiled/block-wildcard-agent-permissions/pre-tool-use/codex_cli-write-hooks.json": "8af817d29d040a474bbd5aa4c090c6084ab153f985882588e6b753ad6df1aad1",
".chock/compiled/block-wildcard-agent-permissions/pre-tool-use/cursor-write-hooks.json": "691bdbeb577970ffdbc416b828781b74c39bcc9abe6eeda09e0d0069d0a04578",
@@ -105,7 +103,6 @@
".chock/compiled/pin-github-actions/ci-gate/step.yaml": "91ed82dfc00043421971fc4f480e800682fe9f8b8c0e6aa2cfecbb1e8de8b01d",
".chock/compiled/pin-github-actions/git-hook/gate.json": "65b5bc9554fa8852cf94ceaaced461755d7694c8b87b37fe7a8434d8642c666b",
".chock/compiled/pin-github-actions/git-hook/git-pre-commit.sh": "e6e47fcbbce3525c47b7ea69deee273ce95442ef3dac7bcd43a897b553769bcd",
- ".chock/compiled/pin-github-actions/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/pin-github-actions/mcp-gateway/gateway-gate.json": "308905df356acf7194c529bf0a418fd219e083ebd8545ce1aabd45c2dfbc2650",
".chock/compiled/pin-github-actions/pre-tool-use/codex_cli-write-hooks.json": "14238725b34a2e01cda395bc90e6ac5c914b4450b3b33ab81934df6324c1210d",
".chock/compiled/pin-github-actions/pre-tool-use/cursor-write-hooks.json": "68283be362683ad10a6a4542ecc4d59cb52bfcfb02483587262b5c5e6997d6e1",
@@ -152,7 +149,6 @@
".chock/compiled/protect-agent-config/agent-hooks/gate-hooks.json": "d7a2a9b67c712958415981eb0cb7b6dccff19f3162c079c5cfa445afe82e4f9a",
".chock/compiled/protect-agent-config/agent-hooks/gate.json": "15fef0cfe7fbbd34e8b8833fdf9b45f14630cc3b202ea29256a5dd8a3b3d8b33",
".chock/compiled/protect-agent-config/ambient-rule/ambient.md": "933e699a70fa72f4ea3eedc8e21078455785ede5a46c291ee57814b1d16d0cd0",
- ".chock/compiled/protect-agent-config/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-agent-config/mcp-gateway/gateway-gate.json": "81f440f9de61c0e15e73f0f35a319f224e773f1d8f6b92dfe95cc65562407ce5",
".chock/compiled/protect-agent-config/pre-tool-use/antigravity-hooks.json": "3fc5c848ba68835a54b756374c6abb73a285b6f0c9586911385e6a00f3ed79a3",
".chock/compiled/protect-agent-config/pre-tool-use/codex_cli-hooks.json": "ba95952f9d8b552175ea360f46c6a4d76670de1033eb7123f6e3513073913e16",
@@ -209,7 +205,6 @@
".chock/compiled/scan-secrets/ci-gate/step.yaml": "e2392603980559fbc57a1be4e0243cfa3d620fddbc6c8be7b2114fd4bbad9e07",
".chock/compiled/scan-secrets/git-hook/gate.json": "04d7a7705ced24c5c341ab4dc9806c3f488e2b1ac7a6c0b995e45b2e810cfd1b",
".chock/compiled/scan-secrets/git-hook/git-pre-commit.sh": "65c9db2f5b615a079cf92b63d3c739bcd4427ed4db33811b13d8922c43bb2b50",
- ".chock/compiled/scan-secrets/managed-setting/managed-settings.json": "650436873f2a8da403515b6a205bf0006fbd2799dd8ff6c16a46b80847beafe5",
".chock/compiled/scan-secrets/mcp-gateway/gateway-gate.json": "520fd73b5d80023c68619e7ff56539c74ed0ef672ba8ce4686cf6f34972c7b25",
".chock/compiled/scan-secrets/pre-tool-use/codex_cli-write-hooks.json": "804cedc96a9809cb84f27e5d9f0da8989b32dc5173fdd37a35bfd204771a3edc",
".chock/compiled/scan-secrets/pre-tool-use/cursor-write-hooks.json": "a81dd0ba1d107bc551c51bbd7084a272c2a0b7bcc0e0b02411c36af15db60da8",
@@ -250,7 +245,6 @@
".chock/compiled/token-efficiency/agent-hooks/tool-call-gate.json": "0689304b5bacd25e9a371674d0faa8f9b8d9d35132d2faf7917c2b165a1a93fa",
".chock/compiled/token-efficiency/agent-hooks/tool-call-hooks.json": "7300181bc92f845f81e316813adc9eb6cfd58d8a94525126455203df7fb08e6a",
".chock/compiled/token-efficiency/ambient-rule/ambient.md": "6d94b590c79d340fe25c48dc119b41ece181c5c605b4a38a853e54b54f4e9156",
- ".chock/compiled/token-efficiency/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/token-efficiency/pre-tool-use/codex_cli-tool-call-hooks.json": "a80d3ca758064cba6407f75213a659ec24321eddd85b2adc444cf9f367c5e741",
".chock/compiled/token-efficiency/pre-tool-use/cursor-post-hooks.json": "4348e99148692cafca9417a6dba71e01bda26a404733926415313428bb7f2d93",
".chock/compiled/token-efficiency/pre-tool-use/cursor-postfailure-hooks.json": "9c1e9f0f10255027115cfe5f74ac955be9f66f29973905f8eae319293285f2ab",
diff --git a/.chock/bin/index/devin-PreToolUse-185f9750.json b/.chock/bin/index/devin-PreToolUse-185f9750.json
index 6f3c0aa2..53fe6ac3 100644
--- a/.chock/bin/index/devin-PreToolUse-185f9750.json
+++ b/.chock/bin/index/devin-PreToolUse-185f9750.json
@@ -20,7 +20,6 @@
".chock/compiled/block-destructive-commands/agent-hooks/agent-hooks.json": "166952d2add28842185387ca8602d36f511968c7e666e04c87708dc9dfe3054e",
".chock/compiled/block-destructive-commands/ambient-rule/ambient.md": "67f05c884bf417822000ebac578a7090a3ead6e07f0dea03c46eaf695214f190",
".chock/compiled/block-destructive-commands/git-hook/git-pre-push.sh": "ecb69d79165216412f646fb2ef8d53646a4c6d39fde77bfcc987adff7c76149e",
- ".chock/compiled/block-destructive-commands/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-destructive-commands/pre-tool-use/antigravity-hooks.json": "9848d7c4f5be4c7ca30d401ceffe1ad4ec30775a0383552232aed9a91499b002",
".chock/compiled/block-destructive-commands/pre-tool-use/codex_cli-hooks.json": "02d8a824208df11dfd45e452e684e0779d8f164c4b6a8164bae9f9ca2cbf0865",
".chock/compiled/block-destructive-commands/pre-tool-use/cursor-hooks.json": "7091a6caea23d8794ef4e26af62e77d9f3a3bc3a38d8de9a941277e053ca1d97",
@@ -55,7 +54,6 @@
".agents/policies/block-no-verify/skills/block-no-verify/SKILL.md": "4e40b8cb58619728bdfc8dd4de2143c77bfa8c744f1f44d34904b88ae85ac023",
".chock/compiled/block-no-verify/agent-hooks/agent-hooks.json": "82b2e539bb812058a0c6cf3298ae9b72762eec28ede995ebe730b5d76f99c02b",
".chock/compiled/block-no-verify/ambient-rule/ambient.md": "371f90ab55eea13626e972c05883f2c1c427c9ca21a6d4aff23efa4513469431",
- ".chock/compiled/block-no-verify/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-no-verify/pre-tool-use/antigravity-hooks.json": "1d5445dda7ade581edf55dc5e2d9adfde0c2ec9efd9cede936b8b99fd1fb0a9b",
".chock/compiled/block-no-verify/pre-tool-use/codex_cli-hooks.json": "a9df710f0b597cf83be795e5f7e68e0b9a641199765f4c7870de0be60b9ce8f0",
".chock/compiled/block-no-verify/pre-tool-use/cursor-hooks.json": "b7d84e25198f56302446e5a3738bfc1328a1e144c69d4d5b8cacdc83b9c829fa",
@@ -92,7 +90,6 @@
".chock/compiled/protect-agent-config/agent-hooks/gate-hooks.json": "d7a2a9b67c712958415981eb0cb7b6dccff19f3162c079c5cfa445afe82e4f9a",
".chock/compiled/protect-agent-config/agent-hooks/gate.json": "15fef0cfe7fbbd34e8b8833fdf9b45f14630cc3b202ea29256a5dd8a3b3d8b33",
".chock/compiled/protect-agent-config/ambient-rule/ambient.md": "933e699a70fa72f4ea3eedc8e21078455785ede5a46c291ee57814b1d16d0cd0",
- ".chock/compiled/protect-agent-config/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-agent-config/mcp-gateway/gateway-gate.json": "81f440f9de61c0e15e73f0f35a319f224e773f1d8f6b92dfe95cc65562407ce5",
".chock/compiled/protect-agent-config/pre-tool-use/antigravity-hooks.json": "3fc5c848ba68835a54b756374c6abb73a285b6f0c9586911385e6a00f3ed79a3",
".chock/compiled/protect-agent-config/pre-tool-use/codex_cli-hooks.json": "ba95952f9d8b552175ea360f46c6a4d76670de1033eb7123f6e3513073913e16",
@@ -152,7 +149,6 @@
".chock/compiled/protect-commit-privacy/agent-hooks/agent-hooks.json": "c532957fe3efd114386ced897aec8fffdfc41e8f281a39efb4620f4e6a7d2747",
".chock/compiled/protect-commit-privacy/ambient-rule/ambient.md": "0d747282d92f843a14974765e038a69a41c93c70e1e6e8100a6546d5b48865c4",
".chock/compiled/protect-commit-privacy/git-hook/git-commit-msg.sh": "c4d9679ba23a73ab2fad594b5a3c088fd1a29d2b2444483da6d08023e0fef98a",
- ".chock/compiled/protect-commit-privacy/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-commit-privacy/pre-tool-use/antigravity-hooks.json": "762b527f13d0924e9fdd48b748d1027a1232a25225189e763cabcee208e9055d",
".chock/compiled/protect-commit-privacy/pre-tool-use/codex_cli-hooks.json": "85f228d8d50290015ef3204a73e9ddf3470929ed7fbb0f0ce8bd2d2eb8460f05",
".chock/compiled/protect-commit-privacy/pre-tool-use/cursor-hooks.json": "28d17b33eacbc0e331fc588ee9a129e66f9ad29414dad360066990d1c739e4db",
diff --git a/.chock/bin/index/gemini_cli-BeforeTool-09cc5246.json b/.chock/bin/index/gemini_cli-BeforeTool-09cc5246.json
index 6f3c0aa2..53fe6ac3 100644
--- a/.chock/bin/index/gemini_cli-BeforeTool-09cc5246.json
+++ b/.chock/bin/index/gemini_cli-BeforeTool-09cc5246.json
@@ -20,7 +20,6 @@
".chock/compiled/block-destructive-commands/agent-hooks/agent-hooks.json": "166952d2add28842185387ca8602d36f511968c7e666e04c87708dc9dfe3054e",
".chock/compiled/block-destructive-commands/ambient-rule/ambient.md": "67f05c884bf417822000ebac578a7090a3ead6e07f0dea03c46eaf695214f190",
".chock/compiled/block-destructive-commands/git-hook/git-pre-push.sh": "ecb69d79165216412f646fb2ef8d53646a4c6d39fde77bfcc987adff7c76149e",
- ".chock/compiled/block-destructive-commands/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-destructive-commands/pre-tool-use/antigravity-hooks.json": "9848d7c4f5be4c7ca30d401ceffe1ad4ec30775a0383552232aed9a91499b002",
".chock/compiled/block-destructive-commands/pre-tool-use/codex_cli-hooks.json": "02d8a824208df11dfd45e452e684e0779d8f164c4b6a8164bae9f9ca2cbf0865",
".chock/compiled/block-destructive-commands/pre-tool-use/cursor-hooks.json": "7091a6caea23d8794ef4e26af62e77d9f3a3bc3a38d8de9a941277e053ca1d97",
@@ -55,7 +54,6 @@
".agents/policies/block-no-verify/skills/block-no-verify/SKILL.md": "4e40b8cb58619728bdfc8dd4de2143c77bfa8c744f1f44d34904b88ae85ac023",
".chock/compiled/block-no-verify/agent-hooks/agent-hooks.json": "82b2e539bb812058a0c6cf3298ae9b72762eec28ede995ebe730b5d76f99c02b",
".chock/compiled/block-no-verify/ambient-rule/ambient.md": "371f90ab55eea13626e972c05883f2c1c427c9ca21a6d4aff23efa4513469431",
- ".chock/compiled/block-no-verify/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-no-verify/pre-tool-use/antigravity-hooks.json": "1d5445dda7ade581edf55dc5e2d9adfde0c2ec9efd9cede936b8b99fd1fb0a9b",
".chock/compiled/block-no-verify/pre-tool-use/codex_cli-hooks.json": "a9df710f0b597cf83be795e5f7e68e0b9a641199765f4c7870de0be60b9ce8f0",
".chock/compiled/block-no-verify/pre-tool-use/cursor-hooks.json": "b7d84e25198f56302446e5a3738bfc1328a1e144c69d4d5b8cacdc83b9c829fa",
@@ -92,7 +90,6 @@
".chock/compiled/protect-agent-config/agent-hooks/gate-hooks.json": "d7a2a9b67c712958415981eb0cb7b6dccff19f3162c079c5cfa445afe82e4f9a",
".chock/compiled/protect-agent-config/agent-hooks/gate.json": "15fef0cfe7fbbd34e8b8833fdf9b45f14630cc3b202ea29256a5dd8a3b3d8b33",
".chock/compiled/protect-agent-config/ambient-rule/ambient.md": "933e699a70fa72f4ea3eedc8e21078455785ede5a46c291ee57814b1d16d0cd0",
- ".chock/compiled/protect-agent-config/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-agent-config/mcp-gateway/gateway-gate.json": "81f440f9de61c0e15e73f0f35a319f224e773f1d8f6b92dfe95cc65562407ce5",
".chock/compiled/protect-agent-config/pre-tool-use/antigravity-hooks.json": "3fc5c848ba68835a54b756374c6abb73a285b6f0c9586911385e6a00f3ed79a3",
".chock/compiled/protect-agent-config/pre-tool-use/codex_cli-hooks.json": "ba95952f9d8b552175ea360f46c6a4d76670de1033eb7123f6e3513073913e16",
@@ -152,7 +149,6 @@
".chock/compiled/protect-commit-privacy/agent-hooks/agent-hooks.json": "c532957fe3efd114386ced897aec8fffdfc41e8f281a39efb4620f4e6a7d2747",
".chock/compiled/protect-commit-privacy/ambient-rule/ambient.md": "0d747282d92f843a14974765e038a69a41c93c70e1e6e8100a6546d5b48865c4",
".chock/compiled/protect-commit-privacy/git-hook/git-commit-msg.sh": "c4d9679ba23a73ab2fad594b5a3c088fd1a29d2b2444483da6d08023e0fef98a",
- ".chock/compiled/protect-commit-privacy/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-commit-privacy/pre-tool-use/antigravity-hooks.json": "762b527f13d0924e9fdd48b748d1027a1232a25225189e763cabcee208e9055d",
".chock/compiled/protect-commit-privacy/pre-tool-use/codex_cli-hooks.json": "85f228d8d50290015ef3204a73e9ddf3470929ed7fbb0f0ce8bd2d2eb8460f05",
".chock/compiled/protect-commit-privacy/pre-tool-use/cursor-hooks.json": "28d17b33eacbc0e331fc588ee9a129e66f9ad29414dad360066990d1c739e4db",
diff --git a/.chock/bin/index/gemini_cli-BeforeTool-c8f6602b.json b/.chock/bin/index/gemini_cli-BeforeTool-c8f6602b.json
index a5aefb93..2f066730 100644
--- a/.chock/bin/index/gemini_cli-BeforeTool-c8f6602b.json
+++ b/.chock/bin/index/gemini_cli-BeforeTool-c8f6602b.json
@@ -14,7 +14,6 @@
".chock/compiled/token-efficiency/agent-hooks/tool-call-gate.json": "0689304b5bacd25e9a371674d0faa8f9b8d9d35132d2faf7917c2b165a1a93fa",
".chock/compiled/token-efficiency/agent-hooks/tool-call-hooks.json": "7300181bc92f845f81e316813adc9eb6cfd58d8a94525126455203df7fb08e6a",
".chock/compiled/token-efficiency/ambient-rule/ambient.md": "6d94b590c79d340fe25c48dc119b41ece181c5c605b4a38a853e54b54f4e9156",
- ".chock/compiled/token-efficiency/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/token-efficiency/pre-tool-use/codex_cli-tool-call-hooks.json": "a80d3ca758064cba6407f75213a659ec24321eddd85b2adc444cf9f367c5e741",
".chock/compiled/token-efficiency/pre-tool-use/cursor-post-hooks.json": "4348e99148692cafca9417a6dba71e01bda26a404733926415313428bb7f2d93",
".chock/compiled/token-efficiency/pre-tool-use/cursor-postfailure-hooks.json": "9c1e9f0f10255027115cfe5f74ac955be9f66f29973905f8eae319293285f2ab",
diff --git a/.chock/bin/index/gemini_cli-BeforeTool-e86eddda.json b/.chock/bin/index/gemini_cli-BeforeTool-e86eddda.json
index 2653147e..95ad602b 100644
--- a/.chock/bin/index/gemini_cli-BeforeTool-e86eddda.json
+++ b/.chock/bin/index/gemini_cli-BeforeTool-e86eddda.json
@@ -17,7 +17,6 @@
".chock/compiled/block-invisible-unicode/ci-gate/step.yaml": "84e201486169ad4c016579f744c77b88b3b722628c01018d6afa7239fc9bec63",
".chock/compiled/block-invisible-unicode/git-hook/gate.json": "351fb35fffc9aba4882fe53ebbd3713b69aca6b4eb75798538a327b1cb641e1e",
".chock/compiled/block-invisible-unicode/git-hook/git-pre-commit.sh": "454c869cf2aa5123164f732ab28ffb79cfbf57c4e4a2b73597ef592bf11e59c6",
- ".chock/compiled/block-invisible-unicode/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-invisible-unicode/mcp-gateway/gateway-gate.json": "83a400812189da3cb5ba7150d969698ab2400aa6c558348499f8745b5bf17ae0",
".chock/compiled/block-invisible-unicode/pre-tool-use/codex_cli-write-hooks.json": "fbad2af5a4a0e25f8a2704865641310f88042fe3c36ef3f5184b023d7b23af09",
".chock/compiled/block-invisible-unicode/pre-tool-use/cursor-write-hooks.json": "5a8a3215d75707c045b803c913edae75beaf9554cf4fa237d757ad773dfea2f4",
@@ -61,7 +60,6 @@
".chock/compiled/block-wildcard-agent-permissions/ci-gate/step.yaml": "f173704ceb69af71a971c081d7219f205fc176b5970dd4a32e429bbf4f6cd929",
".chock/compiled/block-wildcard-agent-permissions/git-hook/gate.json": "758636f7d17326652db0cac493c4fb59dcd7eaa922824a6e43bc49bfb616f762",
".chock/compiled/block-wildcard-agent-permissions/git-hook/git-pre-commit.sh": "8ad425c111c1dbf52a48ad2ba68b645d4d716befa8dfea575817ecea752421ea",
- ".chock/compiled/block-wildcard-agent-permissions/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-wildcard-agent-permissions/mcp-gateway/gateway-gate.json": "9bf2c6b2447a2227f303b44afd50771db2cfa3a3ee40edc1280ac43209060c55",
".chock/compiled/block-wildcard-agent-permissions/pre-tool-use/codex_cli-write-hooks.json": "8af817d29d040a474bbd5aa4c090c6084ab153f985882588e6b753ad6df1aad1",
".chock/compiled/block-wildcard-agent-permissions/pre-tool-use/cursor-write-hooks.json": "691bdbeb577970ffdbc416b828781b74c39bcc9abe6eeda09e0d0069d0a04578",
@@ -105,7 +103,6 @@
".chock/compiled/pin-github-actions/ci-gate/step.yaml": "91ed82dfc00043421971fc4f480e800682fe9f8b8c0e6aa2cfecbb1e8de8b01d",
".chock/compiled/pin-github-actions/git-hook/gate.json": "65b5bc9554fa8852cf94ceaaced461755d7694c8b87b37fe7a8434d8642c666b",
".chock/compiled/pin-github-actions/git-hook/git-pre-commit.sh": "e6e47fcbbce3525c47b7ea69deee273ce95442ef3dac7bcd43a897b553769bcd",
- ".chock/compiled/pin-github-actions/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/pin-github-actions/mcp-gateway/gateway-gate.json": "308905df356acf7194c529bf0a418fd219e083ebd8545ce1aabd45c2dfbc2650",
".chock/compiled/pin-github-actions/pre-tool-use/codex_cli-write-hooks.json": "14238725b34a2e01cda395bc90e6ac5c914b4450b3b33ab81934df6324c1210d",
".chock/compiled/pin-github-actions/pre-tool-use/cursor-write-hooks.json": "68283be362683ad10a6a4542ecc4d59cb52bfcfb02483587262b5c5e6997d6e1",
@@ -152,7 +149,6 @@
".chock/compiled/protect-agent-config/agent-hooks/gate-hooks.json": "d7a2a9b67c712958415981eb0cb7b6dccff19f3162c079c5cfa445afe82e4f9a",
".chock/compiled/protect-agent-config/agent-hooks/gate.json": "15fef0cfe7fbbd34e8b8833fdf9b45f14630cc3b202ea29256a5dd8a3b3d8b33",
".chock/compiled/protect-agent-config/ambient-rule/ambient.md": "933e699a70fa72f4ea3eedc8e21078455785ede5a46c291ee57814b1d16d0cd0",
- ".chock/compiled/protect-agent-config/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-agent-config/mcp-gateway/gateway-gate.json": "81f440f9de61c0e15e73f0f35a319f224e773f1d8f6b92dfe95cc65562407ce5",
".chock/compiled/protect-agent-config/pre-tool-use/antigravity-hooks.json": "3fc5c848ba68835a54b756374c6abb73a285b6f0c9586911385e6a00f3ed79a3",
".chock/compiled/protect-agent-config/pre-tool-use/codex_cli-hooks.json": "ba95952f9d8b552175ea360f46c6a4d76670de1033eb7123f6e3513073913e16",
@@ -209,7 +205,6 @@
".chock/compiled/scan-secrets/ci-gate/step.yaml": "e2392603980559fbc57a1be4e0243cfa3d620fddbc6c8be7b2114fd4bbad9e07",
".chock/compiled/scan-secrets/git-hook/gate.json": "04d7a7705ced24c5c341ab4dc9806c3f488e2b1ac7a6c0b995e45b2e810cfd1b",
".chock/compiled/scan-secrets/git-hook/git-pre-commit.sh": "65c9db2f5b615a079cf92b63d3c739bcd4427ed4db33811b13d8922c43bb2b50",
- ".chock/compiled/scan-secrets/managed-setting/managed-settings.json": "650436873f2a8da403515b6a205bf0006fbd2799dd8ff6c16a46b80847beafe5",
".chock/compiled/scan-secrets/mcp-gateway/gateway-gate.json": "520fd73b5d80023c68619e7ff56539c74ed0ef672ba8ce4686cf6f34972c7b25",
".chock/compiled/scan-secrets/pre-tool-use/codex_cli-write-hooks.json": "804cedc96a9809cb84f27e5d9f0da8989b32dc5173fdd37a35bfd204771a3edc",
".chock/compiled/scan-secrets/pre-tool-use/cursor-write-hooks.json": "a81dd0ba1d107bc551c51bbd7084a272c2a0b7bcc0e0b02411c36af15db60da8",
diff --git a/.chock/bin/index/grok-PreToolUse-185f9750.json b/.chock/bin/index/grok-PreToolUse-185f9750.json
index 6f3c0aa2..53fe6ac3 100644
--- a/.chock/bin/index/grok-PreToolUse-185f9750.json
+++ b/.chock/bin/index/grok-PreToolUse-185f9750.json
@@ -20,7 +20,6 @@
".chock/compiled/block-destructive-commands/agent-hooks/agent-hooks.json": "166952d2add28842185387ca8602d36f511968c7e666e04c87708dc9dfe3054e",
".chock/compiled/block-destructive-commands/ambient-rule/ambient.md": "67f05c884bf417822000ebac578a7090a3ead6e07f0dea03c46eaf695214f190",
".chock/compiled/block-destructive-commands/git-hook/git-pre-push.sh": "ecb69d79165216412f646fb2ef8d53646a4c6d39fde77bfcc987adff7c76149e",
- ".chock/compiled/block-destructive-commands/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-destructive-commands/pre-tool-use/antigravity-hooks.json": "9848d7c4f5be4c7ca30d401ceffe1ad4ec30775a0383552232aed9a91499b002",
".chock/compiled/block-destructive-commands/pre-tool-use/codex_cli-hooks.json": "02d8a824208df11dfd45e452e684e0779d8f164c4b6a8164bae9f9ca2cbf0865",
".chock/compiled/block-destructive-commands/pre-tool-use/cursor-hooks.json": "7091a6caea23d8794ef4e26af62e77d9f3a3bc3a38d8de9a941277e053ca1d97",
@@ -55,7 +54,6 @@
".agents/policies/block-no-verify/skills/block-no-verify/SKILL.md": "4e40b8cb58619728bdfc8dd4de2143c77bfa8c744f1f44d34904b88ae85ac023",
".chock/compiled/block-no-verify/agent-hooks/agent-hooks.json": "82b2e539bb812058a0c6cf3298ae9b72762eec28ede995ebe730b5d76f99c02b",
".chock/compiled/block-no-verify/ambient-rule/ambient.md": "371f90ab55eea13626e972c05883f2c1c427c9ca21a6d4aff23efa4513469431",
- ".chock/compiled/block-no-verify/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-no-verify/pre-tool-use/antigravity-hooks.json": "1d5445dda7ade581edf55dc5e2d9adfde0c2ec9efd9cede936b8b99fd1fb0a9b",
".chock/compiled/block-no-verify/pre-tool-use/codex_cli-hooks.json": "a9df710f0b597cf83be795e5f7e68e0b9a641199765f4c7870de0be60b9ce8f0",
".chock/compiled/block-no-verify/pre-tool-use/cursor-hooks.json": "b7d84e25198f56302446e5a3738bfc1328a1e144c69d4d5b8cacdc83b9c829fa",
@@ -92,7 +90,6 @@
".chock/compiled/protect-agent-config/agent-hooks/gate-hooks.json": "d7a2a9b67c712958415981eb0cb7b6dccff19f3162c079c5cfa445afe82e4f9a",
".chock/compiled/protect-agent-config/agent-hooks/gate.json": "15fef0cfe7fbbd34e8b8833fdf9b45f14630cc3b202ea29256a5dd8a3b3d8b33",
".chock/compiled/protect-agent-config/ambient-rule/ambient.md": "933e699a70fa72f4ea3eedc8e21078455785ede5a46c291ee57814b1d16d0cd0",
- ".chock/compiled/protect-agent-config/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-agent-config/mcp-gateway/gateway-gate.json": "81f440f9de61c0e15e73f0f35a319f224e773f1d8f6b92dfe95cc65562407ce5",
".chock/compiled/protect-agent-config/pre-tool-use/antigravity-hooks.json": "3fc5c848ba68835a54b756374c6abb73a285b6f0c9586911385e6a00f3ed79a3",
".chock/compiled/protect-agent-config/pre-tool-use/codex_cli-hooks.json": "ba95952f9d8b552175ea360f46c6a4d76670de1033eb7123f6e3513073913e16",
@@ -152,7 +149,6 @@
".chock/compiled/protect-commit-privacy/agent-hooks/agent-hooks.json": "c532957fe3efd114386ced897aec8fffdfc41e8f281a39efb4620f4e6a7d2747",
".chock/compiled/protect-commit-privacy/ambient-rule/ambient.md": "0d747282d92f843a14974765e038a69a41c93c70e1e6e8100a6546d5b48865c4",
".chock/compiled/protect-commit-privacy/git-hook/git-commit-msg.sh": "c4d9679ba23a73ab2fad594b5a3c088fd1a29d2b2444483da6d08023e0fef98a",
- ".chock/compiled/protect-commit-privacy/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-commit-privacy/pre-tool-use/antigravity-hooks.json": "762b527f13d0924e9fdd48b748d1027a1232a25225189e763cabcee208e9055d",
".chock/compiled/protect-commit-privacy/pre-tool-use/codex_cli-hooks.json": "85f228d8d50290015ef3204a73e9ddf3470929ed7fbb0f0ce8bd2d2eb8460f05",
".chock/compiled/protect-commit-privacy/pre-tool-use/cursor-hooks.json": "28d17b33eacbc0e331fc588ee9a129e66f9ad29414dad360066990d1c739e4db",
diff --git a/.chock/bin/index/tabnine-BeforeTool-c8f6602b.json b/.chock/bin/index/tabnine-BeforeTool-c8f6602b.json
index 6f3c0aa2..53fe6ac3 100644
--- a/.chock/bin/index/tabnine-BeforeTool-c8f6602b.json
+++ b/.chock/bin/index/tabnine-BeforeTool-c8f6602b.json
@@ -20,7 +20,6 @@
".chock/compiled/block-destructive-commands/agent-hooks/agent-hooks.json": "166952d2add28842185387ca8602d36f511968c7e666e04c87708dc9dfe3054e",
".chock/compiled/block-destructive-commands/ambient-rule/ambient.md": "67f05c884bf417822000ebac578a7090a3ead6e07f0dea03c46eaf695214f190",
".chock/compiled/block-destructive-commands/git-hook/git-pre-push.sh": "ecb69d79165216412f646fb2ef8d53646a4c6d39fde77bfcc987adff7c76149e",
- ".chock/compiled/block-destructive-commands/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-destructive-commands/pre-tool-use/antigravity-hooks.json": "9848d7c4f5be4c7ca30d401ceffe1ad4ec30775a0383552232aed9a91499b002",
".chock/compiled/block-destructive-commands/pre-tool-use/codex_cli-hooks.json": "02d8a824208df11dfd45e452e684e0779d8f164c4b6a8164bae9f9ca2cbf0865",
".chock/compiled/block-destructive-commands/pre-tool-use/cursor-hooks.json": "7091a6caea23d8794ef4e26af62e77d9f3a3bc3a38d8de9a941277e053ca1d97",
@@ -55,7 +54,6 @@
".agents/policies/block-no-verify/skills/block-no-verify/SKILL.md": "4e40b8cb58619728bdfc8dd4de2143c77bfa8c744f1f44d34904b88ae85ac023",
".chock/compiled/block-no-verify/agent-hooks/agent-hooks.json": "82b2e539bb812058a0c6cf3298ae9b72762eec28ede995ebe730b5d76f99c02b",
".chock/compiled/block-no-verify/ambient-rule/ambient.md": "371f90ab55eea13626e972c05883f2c1c427c9ca21a6d4aff23efa4513469431",
- ".chock/compiled/block-no-verify/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-no-verify/pre-tool-use/antigravity-hooks.json": "1d5445dda7ade581edf55dc5e2d9adfde0c2ec9efd9cede936b8b99fd1fb0a9b",
".chock/compiled/block-no-verify/pre-tool-use/codex_cli-hooks.json": "a9df710f0b597cf83be795e5f7e68e0b9a641199765f4c7870de0be60b9ce8f0",
".chock/compiled/block-no-verify/pre-tool-use/cursor-hooks.json": "b7d84e25198f56302446e5a3738bfc1328a1e144c69d4d5b8cacdc83b9c829fa",
@@ -92,7 +90,6 @@
".chock/compiled/protect-agent-config/agent-hooks/gate-hooks.json": "d7a2a9b67c712958415981eb0cb7b6dccff19f3162c079c5cfa445afe82e4f9a",
".chock/compiled/protect-agent-config/agent-hooks/gate.json": "15fef0cfe7fbbd34e8b8833fdf9b45f14630cc3b202ea29256a5dd8a3b3d8b33",
".chock/compiled/protect-agent-config/ambient-rule/ambient.md": "933e699a70fa72f4ea3eedc8e21078455785ede5a46c291ee57814b1d16d0cd0",
- ".chock/compiled/protect-agent-config/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-agent-config/mcp-gateway/gateway-gate.json": "81f440f9de61c0e15e73f0f35a319f224e773f1d8f6b92dfe95cc65562407ce5",
".chock/compiled/protect-agent-config/pre-tool-use/antigravity-hooks.json": "3fc5c848ba68835a54b756374c6abb73a285b6f0c9586911385e6a00f3ed79a3",
".chock/compiled/protect-agent-config/pre-tool-use/codex_cli-hooks.json": "ba95952f9d8b552175ea360f46c6a4d76670de1033eb7123f6e3513073913e16",
@@ -152,7 +149,6 @@
".chock/compiled/protect-commit-privacy/agent-hooks/agent-hooks.json": "c532957fe3efd114386ced897aec8fffdfc41e8f281a39efb4620f4e6a7d2747",
".chock/compiled/protect-commit-privacy/ambient-rule/ambient.md": "0d747282d92f843a14974765e038a69a41c93c70e1e6e8100a6546d5b48865c4",
".chock/compiled/protect-commit-privacy/git-hook/git-commit-msg.sh": "c4d9679ba23a73ab2fad594b5a3c088fd1a29d2b2444483da6d08023e0fef98a",
- ".chock/compiled/protect-commit-privacy/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-commit-privacy/pre-tool-use/antigravity-hooks.json": "762b527f13d0924e9fdd48b748d1027a1232a25225189e763cabcee208e9055d",
".chock/compiled/protect-commit-privacy/pre-tool-use/codex_cli-hooks.json": "85f228d8d50290015ef3204a73e9ddf3470929ed7fbb0f0ce8bd2d2eb8460f05",
".chock/compiled/protect-commit-privacy/pre-tool-use/cursor-hooks.json": "28d17b33eacbc0e331fc588ee9a129e66f9ad29414dad360066990d1c739e4db",
diff --git a/.chock/bin/index/vscode_copilot-PreToolUse-2b90d191.json b/.chock/bin/index/vscode_copilot-PreToolUse-2b90d191.json
index 9df57bb7..2c3be7d4 100644
--- a/.chock/bin/index/vscode_copilot-PreToolUse-2b90d191.json
+++ b/.chock/bin/index/vscode_copilot-PreToolUse-2b90d191.json
@@ -14,7 +14,6 @@
".chock/compiled/token-efficiency/agent-hooks/tool-call-gate.json": "0689304b5bacd25e9a371674d0faa8f9b8d9d35132d2faf7917c2b165a1a93fa",
".chock/compiled/token-efficiency/agent-hooks/tool-call-hooks.json": "7300181bc92f845f81e316813adc9eb6cfd58d8a94525126455203df7fb08e6a",
".chock/compiled/token-efficiency/ambient-rule/ambient.md": "6d94b590c79d340fe25c48dc119b41ece181c5c605b4a38a853e54b54f4e9156",
- ".chock/compiled/token-efficiency/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/token-efficiency/pre-tool-use/codex_cli-tool-call-hooks.json": "a80d3ca758064cba6407f75213a659ec24321eddd85b2adc444cf9f367c5e741",
".chock/compiled/token-efficiency/pre-tool-use/cursor-post-hooks.json": "4348e99148692cafca9417a6dba71e01bda26a404733926415313428bb7f2d93",
".chock/compiled/token-efficiency/pre-tool-use/cursor-postfailure-hooks.json": "9c1e9f0f10255027115cfe5f74ac955be9f66f29973905f8eae319293285f2ab",
diff --git a/.chock/bin/index/vscode_copilot-PreToolUse-38a36ef3.json b/.chock/bin/index/vscode_copilot-PreToolUse-38a36ef3.json
index 2ae882c8..79336a01 100644
--- a/.chock/bin/index/vscode_copilot-PreToolUse-38a36ef3.json
+++ b/.chock/bin/index/vscode_copilot-PreToolUse-38a36ef3.json
@@ -17,7 +17,6 @@
".chock/compiled/block-invisible-unicode/ci-gate/step.yaml": "84e201486169ad4c016579f744c77b88b3b722628c01018d6afa7239fc9bec63",
".chock/compiled/block-invisible-unicode/git-hook/gate.json": "351fb35fffc9aba4882fe53ebbd3713b69aca6b4eb75798538a327b1cb641e1e",
".chock/compiled/block-invisible-unicode/git-hook/git-pre-commit.sh": "454c869cf2aa5123164f732ab28ffb79cfbf57c4e4a2b73597ef592bf11e59c6",
- ".chock/compiled/block-invisible-unicode/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-invisible-unicode/mcp-gateway/gateway-gate.json": "83a400812189da3cb5ba7150d969698ab2400aa6c558348499f8745b5bf17ae0",
".chock/compiled/block-invisible-unicode/pre-tool-use/codex_cli-write-hooks.json": "fbad2af5a4a0e25f8a2704865641310f88042fe3c36ef3f5184b023d7b23af09",
".chock/compiled/block-invisible-unicode/pre-tool-use/cursor-write-hooks.json": "5a8a3215d75707c045b803c913edae75beaf9554cf4fa237d757ad773dfea2f4",
@@ -61,7 +60,6 @@
".chock/compiled/block-wildcard-agent-permissions/ci-gate/step.yaml": "f173704ceb69af71a971c081d7219f205fc176b5970dd4a32e429bbf4f6cd929",
".chock/compiled/block-wildcard-agent-permissions/git-hook/gate.json": "758636f7d17326652db0cac493c4fb59dcd7eaa922824a6e43bc49bfb616f762",
".chock/compiled/block-wildcard-agent-permissions/git-hook/git-pre-commit.sh": "8ad425c111c1dbf52a48ad2ba68b645d4d716befa8dfea575817ecea752421ea",
- ".chock/compiled/block-wildcard-agent-permissions/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-wildcard-agent-permissions/mcp-gateway/gateway-gate.json": "9bf2c6b2447a2227f303b44afd50771db2cfa3a3ee40edc1280ac43209060c55",
".chock/compiled/block-wildcard-agent-permissions/pre-tool-use/codex_cli-write-hooks.json": "8af817d29d040a474bbd5aa4c090c6084ab153f985882588e6b753ad6df1aad1",
".chock/compiled/block-wildcard-agent-permissions/pre-tool-use/cursor-write-hooks.json": "691bdbeb577970ffdbc416b828781b74c39bcc9abe6eeda09e0d0069d0a04578",
@@ -105,7 +103,6 @@
".chock/compiled/pin-github-actions/ci-gate/step.yaml": "91ed82dfc00043421971fc4f480e800682fe9f8b8c0e6aa2cfecbb1e8de8b01d",
".chock/compiled/pin-github-actions/git-hook/gate.json": "65b5bc9554fa8852cf94ceaaced461755d7694c8b87b37fe7a8434d8642c666b",
".chock/compiled/pin-github-actions/git-hook/git-pre-commit.sh": "e6e47fcbbce3525c47b7ea69deee273ce95442ef3dac7bcd43a897b553769bcd",
- ".chock/compiled/pin-github-actions/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/pin-github-actions/mcp-gateway/gateway-gate.json": "308905df356acf7194c529bf0a418fd219e083ebd8545ce1aabd45c2dfbc2650",
".chock/compiled/pin-github-actions/pre-tool-use/codex_cli-write-hooks.json": "14238725b34a2e01cda395bc90e6ac5c914b4450b3b33ab81934df6324c1210d",
".chock/compiled/pin-github-actions/pre-tool-use/cursor-write-hooks.json": "68283be362683ad10a6a4542ecc4d59cb52bfcfb02483587262b5c5e6997d6e1",
@@ -152,7 +149,6 @@
".chock/compiled/protect-agent-config/agent-hooks/gate-hooks.json": "d7a2a9b67c712958415981eb0cb7b6dccff19f3162c079c5cfa445afe82e4f9a",
".chock/compiled/protect-agent-config/agent-hooks/gate.json": "15fef0cfe7fbbd34e8b8833fdf9b45f14630cc3b202ea29256a5dd8a3b3d8b33",
".chock/compiled/protect-agent-config/ambient-rule/ambient.md": "933e699a70fa72f4ea3eedc8e21078455785ede5a46c291ee57814b1d16d0cd0",
- ".chock/compiled/protect-agent-config/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-agent-config/mcp-gateway/gateway-gate.json": "81f440f9de61c0e15e73f0f35a319f224e773f1d8f6b92dfe95cc65562407ce5",
".chock/compiled/protect-agent-config/pre-tool-use/antigravity-hooks.json": "3fc5c848ba68835a54b756374c6abb73a285b6f0c9586911385e6a00f3ed79a3",
".chock/compiled/protect-agent-config/pre-tool-use/codex_cli-hooks.json": "ba95952f9d8b552175ea360f46c6a4d76670de1033eb7123f6e3513073913e16",
@@ -209,7 +205,6 @@
".chock/compiled/scan-secrets/ci-gate/step.yaml": "e2392603980559fbc57a1be4e0243cfa3d620fddbc6c8be7b2114fd4bbad9e07",
".chock/compiled/scan-secrets/git-hook/gate.json": "04d7a7705ced24c5c341ab4dc9806c3f488e2b1ac7a6c0b995e45b2e810cfd1b",
".chock/compiled/scan-secrets/git-hook/git-pre-commit.sh": "65c9db2f5b615a079cf92b63d3c739bcd4427ed4db33811b13d8922c43bb2b50",
- ".chock/compiled/scan-secrets/managed-setting/managed-settings.json": "650436873f2a8da403515b6a205bf0006fbd2799dd8ff6c16a46b80847beafe5",
".chock/compiled/scan-secrets/mcp-gateway/gateway-gate.json": "520fd73b5d80023c68619e7ff56539c74ed0ef672ba8ce4686cf6f34972c7b25",
".chock/compiled/scan-secrets/pre-tool-use/codex_cli-write-hooks.json": "804cedc96a9809cb84f27e5d9f0da8989b32dc5173fdd37a35bfd204771a3edc",
".chock/compiled/scan-secrets/pre-tool-use/cursor-write-hooks.json": "a81dd0ba1d107bc551c51bbd7084a272c2a0b7bcc0e0b02411c36af15db60da8",
diff --git a/.chock/bin/index/vscode_copilot-preToolUse-3ed8896e.json b/.chock/bin/index/vscode_copilot-preToolUse-3ed8896e.json
index 6f3c0aa2..53fe6ac3 100644
--- a/.chock/bin/index/vscode_copilot-preToolUse-3ed8896e.json
+++ b/.chock/bin/index/vscode_copilot-preToolUse-3ed8896e.json
@@ -20,7 +20,6 @@
".chock/compiled/block-destructive-commands/agent-hooks/agent-hooks.json": "166952d2add28842185387ca8602d36f511968c7e666e04c87708dc9dfe3054e",
".chock/compiled/block-destructive-commands/ambient-rule/ambient.md": "67f05c884bf417822000ebac578a7090a3ead6e07f0dea03c46eaf695214f190",
".chock/compiled/block-destructive-commands/git-hook/git-pre-push.sh": "ecb69d79165216412f646fb2ef8d53646a4c6d39fde77bfcc987adff7c76149e",
- ".chock/compiled/block-destructive-commands/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-destructive-commands/pre-tool-use/antigravity-hooks.json": "9848d7c4f5be4c7ca30d401ceffe1ad4ec30775a0383552232aed9a91499b002",
".chock/compiled/block-destructive-commands/pre-tool-use/codex_cli-hooks.json": "02d8a824208df11dfd45e452e684e0779d8f164c4b6a8164bae9f9ca2cbf0865",
".chock/compiled/block-destructive-commands/pre-tool-use/cursor-hooks.json": "7091a6caea23d8794ef4e26af62e77d9f3a3bc3a38d8de9a941277e053ca1d97",
@@ -55,7 +54,6 @@
".agents/policies/block-no-verify/skills/block-no-verify/SKILL.md": "4e40b8cb58619728bdfc8dd4de2143c77bfa8c744f1f44d34904b88ae85ac023",
".chock/compiled/block-no-verify/agent-hooks/agent-hooks.json": "82b2e539bb812058a0c6cf3298ae9b72762eec28ede995ebe730b5d76f99c02b",
".chock/compiled/block-no-verify/ambient-rule/ambient.md": "371f90ab55eea13626e972c05883f2c1c427c9ca21a6d4aff23efa4513469431",
- ".chock/compiled/block-no-verify/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/block-no-verify/pre-tool-use/antigravity-hooks.json": "1d5445dda7ade581edf55dc5e2d9adfde0c2ec9efd9cede936b8b99fd1fb0a9b",
".chock/compiled/block-no-verify/pre-tool-use/codex_cli-hooks.json": "a9df710f0b597cf83be795e5f7e68e0b9a641199765f4c7870de0be60b9ce8f0",
".chock/compiled/block-no-verify/pre-tool-use/cursor-hooks.json": "b7d84e25198f56302446e5a3738bfc1328a1e144c69d4d5b8cacdc83b9c829fa",
@@ -92,7 +90,6 @@
".chock/compiled/protect-agent-config/agent-hooks/gate-hooks.json": "d7a2a9b67c712958415981eb0cb7b6dccff19f3162c079c5cfa445afe82e4f9a",
".chock/compiled/protect-agent-config/agent-hooks/gate.json": "15fef0cfe7fbbd34e8b8833fdf9b45f14630cc3b202ea29256a5dd8a3b3d8b33",
".chock/compiled/protect-agent-config/ambient-rule/ambient.md": "933e699a70fa72f4ea3eedc8e21078455785ede5a46c291ee57814b1d16d0cd0",
- ".chock/compiled/protect-agent-config/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-agent-config/mcp-gateway/gateway-gate.json": "81f440f9de61c0e15e73f0f35a319f224e773f1d8f6b92dfe95cc65562407ce5",
".chock/compiled/protect-agent-config/pre-tool-use/antigravity-hooks.json": "3fc5c848ba68835a54b756374c6abb73a285b6f0c9586911385e6a00f3ed79a3",
".chock/compiled/protect-agent-config/pre-tool-use/codex_cli-hooks.json": "ba95952f9d8b552175ea360f46c6a4d76670de1033eb7123f6e3513073913e16",
@@ -152,7 +149,6 @@
".chock/compiled/protect-commit-privacy/agent-hooks/agent-hooks.json": "c532957fe3efd114386ced897aec8fffdfc41e8f281a39efb4620f4e6a7d2747",
".chock/compiled/protect-commit-privacy/ambient-rule/ambient.md": "0d747282d92f843a14974765e038a69a41c93c70e1e6e8100a6546d5b48865c4",
".chock/compiled/protect-commit-privacy/git-hook/git-commit-msg.sh": "c4d9679ba23a73ab2fad594b5a3c088fd1a29d2b2444483da6d08023e0fef98a",
- ".chock/compiled/protect-commit-privacy/managed-setting/managed-settings.json": "859d05e0265611518ac5329c0a52141581f55956fd86e952206d6651820f018b",
".chock/compiled/protect-commit-privacy/pre-tool-use/antigravity-hooks.json": "762b527f13d0924e9fdd48b748d1027a1232a25225189e763cabcee208e9055d",
".chock/compiled/protect-commit-privacy/pre-tool-use/codex_cli-hooks.json": "85f228d8d50290015ef3204a73e9ddf3470929ed7fbb0f0ce8bd2d2eb8460f05",
".chock/compiled/protect-commit-privacy/pre-tool-use/cursor-hooks.json": "28d17b33eacbc0e331fc588ee9a129e66f9ad29414dad360066990d1c739e4db",
diff --git a/.chock/bin/launch.sh b/.chock/bin/launch.sh
index 0b9fb10e..22981835 100755
--- a/.chock/bin/launch.sh
+++ b/.chock/bin/launch.sh
@@ -21,17 +21,20 @@ configured="$(git config --get chock.python 2>/dev/null)"
legacy=
case "${OS:-}|${MSYSTEM:-}" in *Windows_NT*|*"|"?*) legacy=1 ;; esac
[ "$runtime" = "-m" ] && legacy=1
+# A script starts with -E -s (-I less -P): no PYTHON* variable or user site changes it; its own folder stays on the path.
+isolate=-Es
+[ "$runtime" = "-m" ] && isolate=
# Only the marker path sets it (to 9); everywhere else an inherited value is cleared, so it never names an fd.
[ -n "$legacy" ] && { CHOCK_START_FD=; export CHOCK_START_FD; }
for candidate in "$configured" python3 python py; do
[ -n "$candidate" ] || continue
if [ -n "$legacy" ]; then
- if probed="$("$candidate" -c 'import sys; print("chock-python"); sys.exit(sys.version_info < (3, 11,))' /dev/null)" && [ "$probed" = "chock-python" ]; then
- exec "$candidate" -X utf8 "$runtime" "$@"
+ if probed="$("$candidate" -I -c 'import sys; print("chock-python"); sys.exit(sys.version_info < (3, 11,))' /dev/null)" && [ "$probed" = "chock-python" ]; then
+ exec "$candidate" ${isolate:+"$isolate"} -X utf8 "$runtime" "$@"
fi
elif command -v "$candidate" >/dev/null 2>&1; then
exec 3>&1
- marker="$(CHOCK_START_FD=9 "$candidate" -X utf8 "$runtime" "$@" 9>&1 1>&3 3>&-)"
+ marker="$(CHOCK_START_FD=9 "$candidate" ${isolate:+"$isolate"} -X utf8 "$runtime" "$@" 9>&1 1>&3 3>&-)"
status=$?
exec 3>&-
[ "$marker" = "chock-python" ] && exit "$status"
diff --git a/.chock/bin/tabnine.py b/.chock/bin/tabnine.py
index 8fd2cb93..29141032 100755
--- a/.chock/bin/tabnine.py
+++ b/.chock/bin/tabnine.py
@@ -782,7 +782,7 @@ def degrade(decision, event):
# Not self-contained: chock's guard logic lives in the sibling _chock_runtime.py, loaded from this
# file's own folder and pinned to the sha256 of that file's bytes (CRLF read as LF), hashed before they are executed.
# Missing, unreadable, another version, or failing to import: every call refuses (_CHOCK_RUNTIME_FAULT), never allows.
-_CHOCK_RUNTIME_PIN = '8e3b4b73f866de5887946c8afe0dee895548a5d67146470d63350fa84b08b5f2'
+_CHOCK_RUNTIME_PIN = '791b92ce3802e2b71819589bced3f7c5fd079bf535cf469a785480a3a31c91f7'
def _chock_load_runtime():
diff --git a/.chock/bin/vscode_copilot.py b/.chock/bin/vscode_copilot.py
index d62f569f..bab53915 100755
--- a/.chock/bin/vscode_copilot.py
+++ b/.chock/bin/vscode_copilot.py
@@ -717,7 +717,7 @@ def degrade(decision, event):
# Not self-contained: chock's guard logic lives in the sibling _chock_runtime.py, loaded from this
# file's own folder and pinned to the sha256 of that file's bytes (CRLF read as LF), hashed before they are executed.
# Missing, unreadable, another version, or failing to import: every call refuses (_CHOCK_RUNTIME_FAULT), never allows.
-_CHOCK_RUNTIME_PIN = '8e3b4b73f866de5887946c8afe0dee895548a5d67146470d63350fa84b08b5f2'
+_CHOCK_RUNTIME_PIN = '791b92ce3802e2b71819589bced3f7c5fd079bf535cf469a785480a3a31c91f7'
def _chock_load_runtime():
diff --git a/.chock/bin/windsurf.py b/.chock/bin/windsurf.py
index a8672de9..74cee413 100755
--- a/.chock/bin/windsurf.py
+++ b/.chock/bin/windsurf.py
@@ -680,7 +680,7 @@ def degrade(decision, event):
# Not self-contained: chock's guard logic lives in the sibling _chock_runtime.py, loaded from this
# file's own folder and pinned to the sha256 of that file's bytes (CRLF read as LF), hashed before they are executed.
# Missing, unreadable, another version, or failing to import: every call refuses (_CHOCK_RUNTIME_FAULT), never allows.
-_CHOCK_RUNTIME_PIN = '8e3b4b73f866de5887946c8afe0dee895548a5d67146470d63350fa84b08b5f2'
+_CHOCK_RUNTIME_PIN = '791b92ce3802e2b71819589bced3f7c5fd079bf535cf469a785480a3a31c91f7'
def _chock_load_runtime():
diff --git a/.chock/compiled/agent-discipline/managed-setting/managed-settings.json b/.chock/compiled/agent-discipline/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/agent-discipline/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/block-destructive-commands/managed-setting/managed-settings.json b/.chock/compiled/block-destructive-commands/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/block-destructive-commands/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/block-invisible-unicode/managed-setting/managed-settings.json b/.chock/compiled/block-invisible-unicode/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/block-invisible-unicode/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/block-no-verify/managed-setting/managed-settings.json b/.chock/compiled/block-no-verify/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/block-no-verify/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/block-wildcard-agent-permissions/managed-setting/managed-settings.json b/.chock/compiled/block-wildcard-agent-permissions/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/block-wildcard-agent-permissions/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/code-safety/managed-setting/managed-settings.json b/.chock/compiled/code-safety/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/code-safety/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/context-hygiene/managed-setting/managed-settings.json b/.chock/compiled/context-hygiene/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/context-hygiene/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/git-safety/managed-setting/managed-settings.json b/.chock/compiled/git-safety/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/git-safety/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/injection-defense/managed-setting/managed-settings.json b/.chock/compiled/injection-defense/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/injection-defense/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/memory-discipline/managed-setting/managed-settings.json b/.chock/compiled/memory-discipline/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/memory-discipline/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/minimal-content/managed-setting/managed-settings.json b/.chock/compiled/minimal-content/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/minimal-content/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/pin-github-actions/managed-setting/managed-settings.json b/.chock/compiled/pin-github-actions/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/pin-github-actions/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/pre-generated-scripts/managed-setting/managed-settings.json b/.chock/compiled/pre-generated-scripts/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/pre-generated-scripts/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/protect-agent-config/managed-setting/managed-settings.json b/.chock/compiled/protect-agent-config/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/protect-agent-config/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/protect-commit-privacy/managed-setting/managed-settings.json b/.chock/compiled/protect-commit-privacy/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/protect-commit-privacy/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/protect-main-branch/managed-setting/managed-settings.json b/.chock/compiled/protect-main-branch/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/protect-main-branch/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/require-review-evidence/managed-setting/managed-settings.json b/.chock/compiled/require-review-evidence/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/require-review-evidence/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/scan-secrets/managed-setting/managed-settings.json b/.chock/compiled/scan-secrets/managed-setting/managed-settings.json
deleted file mode 100644
index 30afb96f..00000000
--- a/.chock/compiled/scan-secrets/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "deny": [
- {
- "type": "file",
- "pattern": "\\.(env|pem|key|p12|pfx|jks|keystore)$",
- "message": "Credential files are denied in the workspace."
- },
- {
- "type": "text",
- "pattern": "(?i)(AKIA[0-9A-Z]{16}|ghp_[a-zA-Z0-9]{36}|xox[bpas]-[0-9A-Za-z-]{10,}|(sk|rk)_live_[0-9A-Za-z]{16,}|sk-ant-[0-9A-Za-z_-]{20,}|AIza[0-9A-Za-z_-]{35}|npm_[0-9A-Za-z]{36}|eyJ[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*|-----BEGIN .* PRIVATE KEY-----)",
- "message": "Credential-like values are denied in generated or edited files."
- }
- ],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/test-integrity/managed-setting/managed-settings.json b/.chock/compiled/test-integrity/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/test-integrity/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/token-efficiency/managed-setting/managed-settings.json b/.chock/compiled/token-efficiency/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/token-efficiency/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/verify-framework-conformance/managed-setting/managed-settings.json b/.chock/compiled/verify-framework-conformance/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/verify-framework-conformance/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.chock/compiled/yagni/managed-setting/managed-settings.json b/.chock/compiled/yagni/managed-setting/managed-settings.json
deleted file mode 100644
index 8efb266a..00000000
--- a/.chock/compiled/yagni/managed-setting/managed-settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "deny": [],
- "ask": []
-}
\ No newline at end of file
diff --git a/.claude/settings.json b/.claude/settings.json
index 9017c332..66d547ee 100644
--- a/.claude/settings.json
+++ b/.claude/settings.json
@@ -6,7 +6,7 @@
"hooks": [
{
"type": "command",
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/claude_code.py --multi \".chock/bin/index/claude_code-PreToolUse-3a2134a7.json\" --index-sha256 ebfc8620b51af8d70e3d11b25aeab3c58c3f13fedc2dc2c8d07541f2e0bf911a",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/claude_code.py --multi \".chock/bin/index/claude_code-PreToolUse-3a2134a7.json\" --index-sha256 5b90d9a49d0efb9369d980cbfb916a6fae927a36c977ae02181a0460f409767c",
"timeout": 45
}
]
@@ -16,7 +16,7 @@
"hooks": [
{
"type": "command",
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/claude_code.py --multi \".chock/bin/index/claude_code-PreToolUse-4acdeb9e.json\" --index-sha256 2ff022397098e742808806927b5c3194e3f0aa0c162d50d22cd98eef4756f022",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/claude_code.py --multi \".chock/bin/index/claude_code-PreToolUse-4acdeb9e.json\" --index-sha256 8083526dfaf2ae5ef67edf44b86db346ca93eaa1808cc9e406c00571d9c97829",
"timeout": 45
}
]
@@ -25,7 +25,7 @@
"hooks": [
{
"type": "command",
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/claude_code.py --multi \".chock/bin/index/claude_code-PreToolUse-185f9750.json\" --index-sha256 8acaa1f45d082758ffa5270a722263da96ccfd24038713be8e13a11220bd4d2d --stop-check",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/claude_code.py --multi \".chock/bin/index/claude_code-PreToolUse-185f9750.json\" --index-sha256 c016a88140574f28f7b73f92fbff992d34969db9af603a7147673d4cceb9133c --stop-check",
"timeout": 45
}
]
diff --git a/.codex/hooks.json b/.codex/hooks.json
index 3b11e557..133886e5 100644
--- a/.codex/hooks.json
+++ b/.codex/hooks.json
@@ -5,8 +5,8 @@
"hooks": [
{
"type": "command",
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/codex_cli.py --multi \".chock/bin/index/codex_cli-PreToolUse-14533f34.json\" --index-sha256 ebfc8620b51af8d70e3d11b25aeab3c58c3f13fedc2dc2c8d07541f2e0bf911a",
- "commandWindows": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/codex_cli.py --multi \".chock/bin/index/codex_cli-PreToolUse-14533f34.json\" --index-sha256 ebfc8620b51af8d70e3d11b25aeab3c58c3f13fedc2dc2c8d07541f2e0bf911a; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/codex_cli.py --multi \".chock/bin/index/codex_cli-PreToolUse-14533f34.json\" --index-sha256 5b90d9a49d0efb9369d980cbfb916a6fae927a36c977ae02181a0460f409767c",
+ "commandWindows": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/codex_cli.py --multi \".chock/bin/index/codex_cli-PreToolUse-14533f34.json\" --index-sha256 5b90d9a49d0efb9369d980cbfb916a6fae927a36c977ae02181a0460f409767c; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE",
"timeout": 45
}
],
@@ -16,8 +16,8 @@
"hooks": [
{
"type": "command",
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/codex_cli.py --multi \".chock/bin/index/codex_cli-PreToolUse-d2160b00.json\" --index-sha256 2ff022397098e742808806927b5c3194e3f0aa0c162d50d22cd98eef4756f022",
- "commandWindows": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/codex_cli.py --multi \".chock/bin/index/codex_cli-PreToolUse-d2160b00.json\" --index-sha256 2ff022397098e742808806927b5c3194e3f0aa0c162d50d22cd98eef4756f022; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/codex_cli.py --multi \".chock/bin/index/codex_cli-PreToolUse-d2160b00.json\" --index-sha256 8083526dfaf2ae5ef67edf44b86db346ca93eaa1808cc9e406c00571d9c97829",
+ "commandWindows": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/codex_cli.py --multi \".chock/bin/index/codex_cli-PreToolUse-d2160b00.json\" --index-sha256 8083526dfaf2ae5ef67edf44b86db346ca93eaa1808cc9e406c00571d9c97829; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE",
"timeout": 45
}
],
@@ -27,8 +27,8 @@
"hooks": [
{
"type": "command",
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/codex_cli.py --multi \".chock/bin/index/codex_cli-PreToolUse-186bd88e.json\" --index-sha256 8acaa1f45d082758ffa5270a722263da96ccfd24038713be8e13a11220bd4d2d --stop-check",
- "commandWindows": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/codex_cli.py --multi \".chock/bin/index/codex_cli-PreToolUse-186bd88e.json\" --index-sha256 8acaa1f45d082758ffa5270a722263da96ccfd24038713be8e13a11220bd4d2d --stop-check; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/codex_cli.py --multi \".chock/bin/index/codex_cli-PreToolUse-186bd88e.json\" --index-sha256 c016a88140574f28f7b73f92fbff992d34969db9af603a7147673d4cceb9133c --stop-check",
+ "commandWindows": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/codex_cli.py --multi \".chock/bin/index/codex_cli-PreToolUse-186bd88e.json\" --index-sha256 c016a88140574f28f7b73f92fbff992d34969db9af603a7147673d4cceb9133c --stop-check; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE",
"timeout": 45
}
]
diff --git a/.cursor/hooks.json b/.cursor/hooks.json
index 225f9f54..21039954 100644
--- a/.cursor/hooks.json
+++ b/.cursor/hooks.json
@@ -2,14 +2,14 @@
"hooks": {
"beforeShellExecution": [
{
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/cursor.py --multi \".chock/bin/index/cursor-beforeShellExecution-b6c825df.json\" --index-sha256 ebfc8620b51af8d70e3d11b25aeab3c58c3f13fedc2dc2c8d07541f2e0bf911a",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/cursor.py --multi \".chock/bin/index/cursor-beforeShellExecution-b6c825df.json\" --index-sha256 5b90d9a49d0efb9369d980cbfb916a6fae927a36c977ae02181a0460f409767c",
"timeout": 45,
"failClosed": true
}
],
"preToolUse": [
{
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/cursor.py --multi \".chock/bin/index/cursor-preToolUse-b6c825df.json\" --index-sha256 5b6164207fceb0f8784ce211241353a3c843037e90d9c5720f4a6f94c721c196 --stop-check",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/cursor.py --multi \".chock/bin/index/cursor-preToolUse-b6c825df.json\" --index-sha256 44e2f370e3ea951657950c54134d86a43b002dfded0c6af5483cade09a21881c --stop-check",
"timeout": 45,
"failClosed": true
}
diff --git a/.devin/hooks.v1.json b/.devin/hooks.v1.json
index 68b3d5fe..10ef28ec 100644
--- a/.devin/hooks.v1.json
+++ b/.devin/hooks.v1.json
@@ -4,7 +4,7 @@
"hooks": [
{
"type": "command",
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/devin.py --multi \".chock/bin/index/devin-PreToolUse-185f9750.json\" --index-sha256 ebfc8620b51af8d70e3d11b25aeab3c58c3f13fedc2dc2c8d07541f2e0bf911a --stop-check",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/devin.py --multi \".chock/bin/index/devin-PreToolUse-185f9750.json\" --index-sha256 5b90d9a49d0efb9369d980cbfb916a6fae927a36c977ae02181a0460f409767c --stop-check",
"timeout": 45
}
]
diff --git a/.gemini/settings.json b/.gemini/settings.json
index d8e3887b..a4cee683 100644
--- a/.gemini/settings.json
+++ b/.gemini/settings.json
@@ -5,7 +5,7 @@
"hooks": [
{
"type": "command",
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/gemini_cli.py --multi \".chock/bin/index/gemini_cli-BeforeTool-09cc5246.json\" --index-sha256 ebfc8620b51af8d70e3d11b25aeab3c58c3f13fedc2dc2c8d07541f2e0bf911a",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/gemini_cli.py --multi \".chock/bin/index/gemini_cli-BeforeTool-09cc5246.json\" --index-sha256 5b90d9a49d0efb9369d980cbfb916a6fae927a36c977ae02181a0460f409767c",
"timeout": 45000
}
],
@@ -15,7 +15,7 @@
"hooks": [
{
"type": "command",
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/gemini_cli.py --multi \".chock/bin/index/gemini_cli-BeforeTool-e86eddda.json\" --index-sha256 2ff022397098e742808806927b5c3194e3f0aa0c162d50d22cd98eef4756f022",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/gemini_cli.py --multi \".chock/bin/index/gemini_cli-BeforeTool-e86eddda.json\" --index-sha256 8083526dfaf2ae5ef67edf44b86db346ca93eaa1808cc9e406c00571d9c97829",
"timeout": 45000
}
],
@@ -25,7 +25,7 @@
"hooks": [
{
"type": "command",
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/gemini_cli.py --multi \".chock/bin/index/gemini_cli-BeforeTool-c8f6602b.json\" --index-sha256 8acaa1f45d082758ffa5270a722263da96ccfd24038713be8e13a11220bd4d2d --stop-check",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/gemini_cli.py --multi \".chock/bin/index/gemini_cli-BeforeTool-c8f6602b.json\" --index-sha256 c016a88140574f28f7b73f92fbff992d34969db9af603a7147673d4cceb9133c --stop-check",
"timeout": 45000
}
]
diff --git a/.github/hooks/chock.json b/.github/hooks/chock.json
index d31e9828..6ded7e07 100644
--- a/.github/hooks/chock.json
+++ b/.github/hooks/chock.json
@@ -7,19 +7,19 @@
"matcher": "Edit|Write",
"timeout": 45,
"timeoutSec": 45,
- "bash": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-38a36ef3.json\" --index-sha256 1693abeab7a1aad4522981978246b0a8c72bc9a6dca83e067f145190d0cda85c",
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-38a36ef3.json\" --index-sha256 1693abeab7a1aad4522981978246b0a8c72bc9a6dca83e067f145190d0cda85c",
- "powershell": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-38a36ef3.json\" --index-sha256 1693abeab7a1aad4522981978246b0a8c72bc9a6dca83e067f145190d0cda85c; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE",
- "windows": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-38a36ef3.json\" --index-sha256 1693abeab7a1aad4522981978246b0a8c72bc9a6dca83e067f145190d0cda85c; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE"
+ "bash": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-38a36ef3.json\" --index-sha256 f18958baa97e9bb3f981bbad57d5475a0d341c6c767c8e25dcba5b0114be88f5",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-38a36ef3.json\" --index-sha256 f18958baa97e9bb3f981bbad57d5475a0d341c6c767c8e25dcba5b0114be88f5",
+ "powershell": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-38a36ef3.json\" --index-sha256 f18958baa97e9bb3f981bbad57d5475a0d341c6c767c8e25dcba5b0114be88f5; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE",
+ "windows": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-38a36ef3.json\" --index-sha256 f18958baa97e9bb3f981bbad57d5475a0d341c6c767c8e25dcba5b0114be88f5; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE"
},
{
"type": "command",
"timeout": 45,
"timeoutSec": 45,
- "bash": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-2b90d191.json\" --index-sha256 0d7dc4f8d23079d317442722244ae470a1494e9ea81a01267d57d18ac053fe38 --stop-check",
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-2b90d191.json\" --index-sha256 0d7dc4f8d23079d317442722244ae470a1494e9ea81a01267d57d18ac053fe38 --stop-check",
- "powershell": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-2b90d191.json\" --index-sha256 0d7dc4f8d23079d317442722244ae470a1494e9ea81a01267d57d18ac053fe38 --stop-check; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE",
- "windows": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-2b90d191.json\" --index-sha256 0d7dc4f8d23079d317442722244ae470a1494e9ea81a01267d57d18ac053fe38 --stop-check; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE"
+ "bash": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-2b90d191.json\" --index-sha256 8aee92efb0e0a8adba27114ac3a4be297bbce9df7111dac107bac79ad5b6ece4 --stop-check",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-2b90d191.json\" --index-sha256 8aee92efb0e0a8adba27114ac3a4be297bbce9df7111dac107bac79ad5b6ece4 --stop-check",
+ "powershell": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-2b90d191.json\" --index-sha256 8aee92efb0e0a8adba27114ac3a4be297bbce9df7111dac107bac79ad5b6ece4 --stop-check; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE",
+ "windows": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-PreToolUse-2b90d191.json\" --index-sha256 8aee92efb0e0a8adba27114ac3a4be297bbce9df7111dac107bac79ad5b6ece4 --stop-check; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE"
}
],
"SessionStart": [
@@ -86,10 +86,10 @@
"matcher": "bash|powershell|pwsh|sh|shell",
"timeout": 45,
"timeoutSec": 45,
- "bash": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-preToolUse-3ed8896e.json\" --index-sha256 ebfc8620b51af8d70e3d11b25aeab3c58c3f13fedc2dc2c8d07541f2e0bf911a",
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-preToolUse-3ed8896e.json\" --index-sha256 ebfc8620b51af8d70e3d11b25aeab3c58c3f13fedc2dc2c8d07541f2e0bf911a",
- "powershell": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-preToolUse-3ed8896e.json\" --index-sha256 ebfc8620b51af8d70e3d11b25aeab3c58c3f13fedc2dc2c8d07541f2e0bf911a; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE",
- "windows": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-preToolUse-3ed8896e.json\" --index-sha256 ebfc8620b51af8d70e3d11b25aeab3c58c3f13fedc2dc2c8d07541f2e0bf911a; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE"
+ "bash": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-preToolUse-3ed8896e.json\" --index-sha256 5b90d9a49d0efb9369d980cbfb916a6fae927a36c977ae02181a0460f409767c",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-preToolUse-3ed8896e.json\" --index-sha256 5b90d9a49d0efb9369d980cbfb916a6fae927a36c977ae02181a0460f409767c",
+ "powershell": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-preToolUse-3ed8896e.json\" --index-sha256 5b90d9a49d0efb9369d980cbfb916a6fae927a36c977ae02181a0460f409767c; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE",
+ "windows": "& git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/vscode_copilot.py --multi \".chock/bin/index/vscode_copilot-preToolUse-3ed8896e.json\" --index-sha256 5b90d9a49d0efb9369d980cbfb916a6fae927a36c977ae02181a0460f409767c; if ($null -eq $LASTEXITCODE) { exit 2 }; exit $LASTEXITCODE"
}
]
}
diff --git a/.github/workflows/windows-paths.yml b/.github/workflows/windows-paths.yml
index 04315d31..40c1e1b6 100644
--- a/.github/workflows/windows-paths.yml
+++ b/.github/workflows/windows-paths.yml
@@ -43,6 +43,7 @@ jobs:
run: >-
pytest -q
tests/test_cursor_windows_write_gate.py
+ tests/test_doctor_live.py
tests/test_repo_stop_gap1d.py
tests/test_pack_hash_platform.py
tests/test_install_command.py
diff --git a/.grok/hooks/agentseam.json b/.grok/hooks/agentseam.json
index ac168698..384b85c9 100644
--- a/.grok/hooks/agentseam.json
+++ b/.grok/hooks/agentseam.json
@@ -5,7 +5,7 @@
"hooks": [
{
"type": "command",
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/grok.py --multi \".chock/bin/index/grok-PreToolUse-185f9750.json\" --index-sha256 ebfc8620b51af8d70e3d11b25aeab3c58c3f13fedc2dc2c8d07541f2e0bf911a --stop-check",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/grok.py --multi \".chock/bin/index/grok-PreToolUse-185f9750.json\" --index-sha256 5b90d9a49d0efb9369d980cbfb916a6fae927a36c977ae02181a0460f409767c --stop-check",
"timeout": 45
}
]
diff --git a/.tabnine/agent/settings.json b/.tabnine/agent/settings.json
index a261cb93..93ae5116 100644
--- a/.tabnine/agent/settings.json
+++ b/.tabnine/agent/settings.json
@@ -5,7 +5,7 @@
"hooks": [
{
"type": "command",
- "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/tabnine.py --multi \".chock/bin/index/tabnine-BeforeTool-c8f6602b.json\" --index-sha256 ebfc8620b51af8d70e3d11b25aeab3c58c3f13fedc2dc2c8d07541f2e0bf911a --stop-check",
+ "command": "git -c \"alias.chock-hook=!test -f .chock/bin/launch.sh || { echo chock: no .chock/bin/launch.sh here, run chock sync --repo . >&2; exit 2; }; sh .chock/bin/launch.sh\" chock-hook .chock/bin/tabnine.py --multi \".chock/bin/index/tabnine-BeforeTool-c8f6602b.json\" --index-sha256 5b90d9a49d0efb9369d980cbfb916a6fae927a36c977ae02181a0460f409767c --stop-check",
"name": "agentseam",
"timeout": 45000
}
diff --git a/README.md b/README.md
index f99eca38..ebb59ba5 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@ pipx install chock==1.1.0
### Two ways to adopt it
-1. **In your repository, for teams.** Run `chock init .`, then `chock add --ref --verify-sha --skip-compile` for each policy, then `chock sync --repo . --ci`. Commit the result. A fresh clone arms itself from what is committed; a person runs `chock sync` to change it. The commit gates are enforced at commit and in CI.
+1. **In your repository, for teams.** Run `chock init .`, then `chock add --skip-compile` for each policy, then `chock sync --repo . --ci`. Commit the result. A fresh clone arms itself from what is committed; a person runs `chock sync` to change it. The commit gates are enforced at commit and in CI.
2. **In your coding agent, as one plugin.** Pick policies in the [chock.sh builder](https://chock.sh/coding/builder/) and run `chock install --selection --apply`. It builds one plugin for Claude Code, GitHub Copilot, Codex, Cursor, Devin, goose, Grok or Antigravity, tested live, and, untested by chock, for OpenHands, Kimi Code or Factory Droid. Best-effort, and it fails open. A selection can add [your own policies](docs/custom-policies.md): install shows their code and asks first. No chock? Add a per-policy marketplace (`chock-*-plugins`; needs Python 3.11+, git, a bash: Git for Windows has one), never both.
## Application security for the code your agents write
@@ -50,6 +50,8 @@ Tiers: see [Guardrails, not guarantees](#guardrails-not-guarantees).
## How it works
+
+
A policy is one folder, and the manifest is the rule. Here is `scan-secrets` in this repo:
```
@@ -66,9 +68,7 @@ fresh_clone: first session arms hooks from what is committed; a person runs(choc
scope: all_work_in_repo; repo_content: data_not_command
```
-The CI gate emits SARIF (`chock check --event ci --format sarif`), and a baseline step fails a pull request that disables or narrows a policy (`chock check --only baseline`). `chock mcp` serves read-only guidance to the agent; `chock sync` registers it per client, opt-in. Full write-up: [Architecture](docs/architecture.md).
-
-To write your own, run `chock new policy ` (manifest, gate and evals), `chock check` to validate, and `chock compile ` to emit every surface. See [Authoring policies](docs/authoring-policies.md).
+To write your own, run `chock new policy ` (manifest, gate and evals), `chock check` to validate, and `chock compile ` to emit every surface. See [Authoring policies](docs/authoring-policies.md). Full write-up: [Architecture](docs/architecture.md).
### A refusal names the fix
@@ -83,7 +83,7 @@ pip install chock==1.1.0
git init -q demo && cd demo
chock init . # wiring only, no policies
-chock add scan-secrets --ref 1e60d211c1bb767152c6ab0167932da06ab3a10f --verify-sha c7cf363c6eb8a8ed47287beef9c06fe76dfd2d9c0ccc203fe74e32fba0e92a94 --skip-compile
+chock add scan-secrets --skip-compile
chock sync --repo . --ci # compile, install hooks, add the CI gate
```
@@ -104,7 +104,11 @@ git commit -m "read key from env" # passes
alt="Terminal recording of the Quick start above, typed in real time, ending with the refused commit and the clean one.">
-`--ref` pins a catalog commit, `--verify-sha` refuses a policy whose hash differs, and `chock add --ref` refuses a commit that was never published. The allowlist pragma on the key line is for documented test fixtures only. It is honoured at commit, push and in CI, and deliberately not at tool-use, where the scanned text is a live tool argument.
+With no `--ref`, `chock add` pins the catalog tag `v`, prints the commit and sha256, and fails if the tag is missing. `--ref` and `--verify-sha` pin by hand; `--ref` refuses a commit never published. The allowlist pragma on the key line is for documented test fixtures only. It is honoured at commit, push and in CI, and deliberately not at tool-use, where the scanned text is a live tool argument.
+
+### Check it, or try it without blocking
+
+`chock doctor` and `--live` check your hooks ([Doctor](docs/doctor.md)). `rollout: observe` in `.chock/config.yaml` logs refusals instead of blocking; `chock stop` still holds.
### Shift left, with no model and no tokens
@@ -112,9 +116,7 @@ git commit -m "read key from env" # passes
- With Chock: the check runs as the agent writes, the refusal names the fix, and the agent corrects it in the same turn.
- A check costs no tokens. A passing check adds nothing to the agent's context; a refusal adds one short reason.
- Chock adds no new place your code goes: checks run where the agent writes, on the laptop, in the dev container or in the cloud agent's environment. The agent still sends context to its own model provider. Installing fetches policies once; enforcement makes no network calls.
-- Chock does not replace code review, your SAST suite or a penetration test. It refuses known classes while the agent writes, so they are fixed before review.
-
-To estimate what a late finding costs you, fill in your own numbers: findings per release x share Chock covers x minutes to triage and fix x hourly rate, plus the days a security loop adds.
+- Chock does not replace code review, your SAST suite or a penetration test.
| | Agent defaults | With Chock |
| :--- | :--- | :--- |
@@ -127,14 +129,12 @@ To estimate what a late finding costs you, fill in your own numbers: findings pe
### Supported agents
-Every agent in this table gets the same floor: a git hook, a CI gate and an ambient `AGENTS.md`
-rule, which is why those three columns aren't repeated below. What varies is whether the agent
-also exposes a native hook chock can wire directly into its own tool-call loop, and where the
+Every agent in this table gets the same floor: a git hook, a CI gate and an ambient `AGENTS.md` rule, which is why those three columns aren't repeated below. What varies is whether the agent also exposes a native hook chock can wire directly into its own tool-call loop, and where the
file that wiring lives. A row here is support, not installation — coverage is only credited on
-a given repo once `chock sync` has actually written the file, which is why the CLI's own
+a given repo once `chock sync` has written the file, which is why the CLI's own
`chock status` always beats this table for what's true *here*. Four of the nine surfaces are
absent from this page entirely because they credit no agent today — `managed-setting` is
-compiled but not installed, `gateway` is modelled but not yet emitted, `mcp-gateway` credits
+not installed by chock, `gateway` is modelled but not yet emitted, `mcp-gateway` credits
nothing until its per-client witness ships, and `stop` installs and refuses on eight vendors but is
a deliberate backstop for what a pre-tool hook cannot see, so it is worth no grade of its own.
Full nine-surface matrix and per-agent caveats:
@@ -163,7 +163,7 @@ Full nine-surface matrix and per-agent caveats:
| **Kimi Code** | git hook + CI gate only — home-anchored config, outside chock's repo-scoped install | `~/.kimi-code/config.toml` |
| **Replit** | git hook + CI gate only — no native hook API yet | — |
-Chock tested its repo hooks live in Copilot CLI and VS Code agent mode only; other native hooks follow agentseam's record, untested.
+Repo hooks refused commands live in Copilot CLI and VS Code agent mode and, on Windows, in Claude Code, Cursor and Codex CLI (Codex after the project's hooks were trusted); others follow agentseam's record, untested.
## What it stops
@@ -287,7 +287,7 @@ The 15 public repositories:
-A policy manifest for the guardrail your stack needs is the contribution we want most; send it to the [catalog](https://github.com/open-coder-ai/chock-catalog). An evidence report on what your agent does, or a `policy wanted` entry in the [threat ledger](https://github.com/open-coder-ai/chock-threat-intel/blob/main/reference/agentic-threat-ledger.md), also counts; see [docs/ecosystem.md](docs/ecosystem.md). Run `pytest -q && ruff check . && ruff format --check . && chock check` before a pull request; [`good first issue`](https://github.com/open-coder-ai/chock/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) is where to start. Questions: [Discussions](https://github.com/open-coder-ai/chock/discussions).
+A policy manifest for the guardrail your stack needs is the contribution we want most; send it to the [catalog](https://github.com/open-coder-ai/chock-catalog). An evidence report on what your agent does, or a `policy wanted` entry in the [threat ledger](https://github.com/open-coder-ai/chock-threat-intel/blob/main/reference/agentic-threat-ledger.md), counts; see [docs/ecosystem.md](docs/ecosystem.md). Run `pytest -q && ruff check . && ruff format --check . && chock check` before a pull request; [`good first issue`](https://github.com/open-coder-ai/chock/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) is where to start. Questions: [Discussions](https://github.com/open-coder-ai/chock/discussions).
Chock policies are committed content, so your rules travel with every clone and fork, and the CI gate (`chock sync --ci`) depends on nothing the contributor does. [The full case.](docs/why.md)
diff --git a/changelog.d/add-default-pin.md b/changelog.d/add-default-pin.md
new file mode 100644
index 00000000..764c56fe
--- /dev/null
+++ b/changelog.d/add-default-pin.md
@@ -0,0 +1,5 @@
+- `chock add ` with no `--ref` from the default catalog now fetches the catalog release tag
+ `v`, prints the tag and the commit it resolved to, and records both in
+ `chock.lock`. If that tag does not exist it fails and names `--ref <40-hex commit>` or
+ `--ref main`; it never falls back to the moving branch. `--ref`, and `--from` another catalog,
+ are unchanged.
diff --git a/changelog.d/e1-rename-baseline.md b/changelog.d/e1-rename-baseline.md
new file mode 100644
index 00000000..37a67bb0
--- /dev/null
+++ b/changelog.d/e1-rename-baseline.md
@@ -0,0 +1,4 @@
+- A gate judges a file that git reports as renamed (`-M`) against its old path's content, for a script gate and a
+ `content_regex` gate, at commit, at the turn's end and on the CI range. A pure `git mv` of a file holding an old
+ finding is no longer refused as new work; a new finding added in the move is, and a copy (old path kept) is judged
+ as new, as before.
diff --git a/changelog.d/e2-verdict-from-new.md b/changelog.d/e2-verdict-from-new.md
new file mode 100644
index 00000000..ec007197
--- /dev/null
+++ b/changelog.d/e2-verdict-from-new.md
@@ -0,0 +1,4 @@
+- A script gate's finding may carry a `tier` (`block`, `ask` or `warn`). When every finding the change adds carries
+ one, the verdict is the highest tier among them, so an old block-tier finding in a touched file no longer turns a
+ new ask-tier finding into a block. A script that reports no tier, or tiers only some findings, keeps its exit code
+ as the verdict, as before. See `spec/gate-dsl.md`.
diff --git a/changelog.d/ir-f71-lock-engine-constraint.md b/changelog.d/ir-f71-lock-engine-constraint.md
new file mode 100644
index 00000000..ca70d97d
--- /dev/null
+++ b/changelog.d/ir-f71-lock-engine-constraint.md
@@ -0,0 +1,5 @@
+- `chock.lock`'s `engine` field is now true and read (IR-F71): `sync` writes `>=.,<`
+ derived from the running engine (`>=1.1,<2` at 1.1.x, was the stale `>=0.1,<0.2`), and `chock check --only verify`
+ fails with one line naming the running engine, the lock's constraint and the fix (`pip install` a matching chock,
+ or `chock sync --repo .` with the newer engine) when the engine is outside it. A lock that still says `>=0.1,<0.2`
+ passes with a one-line note to run `chock sync`; a missing or unparseable constraint fails.
diff --git a/changelog.d/ir-f75-f76-quiet-legible-output.md b/changelog.d/ir-f75-f76-quiet-legible-output.md
new file mode 100644
index 00000000..479d6609
--- /dev/null
+++ b/changelog.d/ir-f75-f76-quiet-legible-output.md
@@ -0,0 +1,5 @@
+- Each defaulted manifest field is warned about once per command, always with the artifact's path:
+ `chock check` no longer repeats a skill's eleven `manifest_default` warnings, two copies of them with
+ no path (IR-F75). The registry scan's copy now goes to stderr with the others.
+- On a console stream that is not UTF (a Windows code page such as cp1252), chock prints ASCII for its
+ own symbols: the eval table's truncation reads `...`, not U+2026 shown as another letter (IR-F76).
diff --git a/changelog.d/rd7-readme-picture.md b/changelog.d/rd7-readme-picture.md
new file mode 100644
index 00000000..289da454
--- /dev/null
+++ b/changelog.d/rd7-readme-picture.md
@@ -0,0 +1,8 @@
+- README: "How it works" opens with a picture of a coding agent's harness: component cards in layers (input, core,
+ execution) with short arrows between neighbours, beside the repository and pipeline. The hooks of each component
+ are badges on its card: filled where Chock runs today, hollow where a policy of your own can run; the model has
+ none. No prose was added: the README stays at its budgets. The figure is `docs/assets/readme/v2/where-chock-sits.png`,
+ rendered by `render.mjs` and `where-chock-sits.mjs` from `where-chock-sits.json`. `docs/architecture.md` shows it,
+ lists every hook, and shows the same points in session order (`v2/session-path.png`). Tests assert the badges equal
+ agentseam's events plus the other points, the filled set equals what the engine handles, and that no two shapes of
+ either layout are too close.
diff --git a/changelog.d/rel-d1-docs-evidence.md b/changelog.d/rel-d1-docs-evidence.md
new file mode 100644
index 00000000..2c7ebd81
--- /dev/null
+++ b/changelog.d/rel-d1-docs-evidence.md
@@ -0,0 +1,19 @@
+- README: the quick start's `chock add` line no longer carries `--ref` and `--verify-sha`; the text under
+ it says what the command pins by default (the catalog tag `v`) and that `--ref` and
+ `--verify-sha` still pin by hand. `docs/quickstart.sh` and the panel sources in
+ `docs/assets/readme/render.mjs` follow.
+- README: a short section after the quick start names `chock doctor`, `chock doctor --live` and the
+ `rollout:` line in `.chock/config.yaml`.
+- Witness ledger: one row, Claude Code v2.1.317 on Windows, 2026-11-11: `PreToolUse` refused
+ `git commit --no-verify` on the PowerShell tool and no commit was made (chock `295b38c`). The README
+ sentence on where repo hooks were tested now names it.
+- Witness ledger: a second row, Cursor 3.30.14 on Windows, 2026-11-14: the repo's `beforeShellExecution` hook refused
+ `git commit --no-verify` and no commit was made (chock `cc127e4`). Surface `agent-hooks`, the name the ledger's
+ readers (`sync_notes`, `derive.py`) key on for repo hooks.
+- README: the new section is kept to a short paragraph; the FAQ keeps its six entries. The "estimate what a late
+ finding costs" paragraph and a sentence repeating the comparison link were removed to stay within the README
+ budgets (1,600 words, 300 lines).
+- Witness ledger: a third row, Codex CLI 0.169.0 on Windows, 2026-11-14: the repo's `PreToolUse` hook refused
+ `git commit --no-verify` and no commit was made, after the project's hooks were trusted (chock `cc127e4`).
+ `derive.py` now groups the ledger's clients by the platform each records, without versions, and carries the trust
+ condition.
diff --git a/changelog.d/w1d-doctor-live.md b/changelog.d/w1d-doctor-live.md
new file mode 100644
index 00000000..ffd38f62
--- /dev/null
+++ b/changelog.d/w1d-doctor-live.md
@@ -0,0 +1,13 @@
+- `chock doctor --live` (preview): for each sync-route target `doctor` lists, runs chock's own
+ pre-tool hook commands from the client's config file, as written and from the repo, in the
+ client's shell, on that client's own payload. Only an entry byte-equal to what this engine's
+ installer renders for that target is run, and only when the launcher and vendored runtime are
+ this engine's; any other hook command is counted in an INFO row and never run. The installed
+ policies' guard code runs, as it does in `chock check` evals. It sends the first refusing eval
+ case of the first policy the hook runs (it must be refused, by that policy) and
+ `echo chock-doctor-live` (it must be allowed): two rows, `live: refuses the canary` and
+ `live: allows a harmless command`, each with the fix doctor already prints. Plugin-route targets
+ are skipped. It runs no client, sends nothing anywhere, logs nothing (the probe runs at log level
+ off and in its own session, whose state file it removes), and does not prove the client calls
+ the hook: that is the heartbeat row. The per-vendor payloads and wire denies the tests used are
+ now package data (`chock.doctor.payloads`), one source for the engine and the tests.
diff --git a/changelog.d/w2a1-check-floor.md b/changelog.d/w2a1-check-floor.md
new file mode 100644
index 00000000..a047059d
--- /dev/null
+++ b/changelog.d/w2a1-check-floor.md
@@ -0,0 +1,47 @@
+- `chock check --floor --base [--head ] [--head-ref ] [--format sarif --output ]`
+ (preview): judges what a pull request will land. The base must be an ancestor of the head (pass GitHub's
+ `refs/pull//merge` or the merge queue's head; anything else is undecided). Everything comes from the tree
+ diff `base..head` (no renames, no external diff or textconv) and the commits in it; no merge-base is computed.
+ Exit 0 clean, 1 refused, 2 undecided.
+- Control plane: a change (add, edit, delete, mode) to any path in `src/chock/data/control_plane.json` is
+ reported as `floor/control-plane-changed` with every path, first. The list: `.chock/**`, `chock.lock`, the whole
+ folder of every agent chock or agentseam writes into (`.agents/**`, `.claude/**`, `.codex/**`, `.cursor/**`,
+ `.gemini/**`, `.windsurf/**`, `.github/hooks/**` and the rest, plugin folders such as `.claude-plugin/**`),
+ `.mcp.json`, `.vscode/settings.json`, `.vscode/mcp.json`, `.env` (at any depth), `.devcontainer/**`,
+ `.devcontainer.json`, `.github/workflows/**`, `.github/actions/**`, `CODEOWNERS`; agent folders match at any
+ depth (`**/.claude/**`); matched case-blind. A symlink or gitlink at a parent folder of a pattern
+ (`.gemini -> cfg`) matches. Every symlink at, inside or above the control plane must resolve, link by link
+ from the trees at base and head, to a control-plane path or to nothing; otherwise (and for a loop, an absolute
+ or out-of-repository target, or one through a submodule) the run is undecided (exit 2), naming the link and the
+ fix. A base whose `.chock` is a link or a submodule is undecided, never first adoption. A control-plane path a
+ commit in the range changed is named even when the tree diff leaves it as at the base. Every git call reads
+ attributes from the base (`GIT_ATTR_SOURCE`; git 2.42 or newer, else undecided), so `.gitattributes` is off
+ the list. Root instruction files (`AGENTS.md`, `CLAUDE.md`) are
+ not on it. These files define the guardrails; the floor does not judge whether a change to them is safe. A
+ person decides. The base's `.chock/config.yaml` sets `floor.control_plane`: `refuse` (default, exit 1: every
+ guardrail change, including a policy upgrade, a `chock sync` regeneration or a workflow edit, needs a
+ privileged merge) or `listed` (exit 0, paths still listed and in the SARIF; the adopter relies on code-owner
+ review, and content inside listed paths is not judged). `floor.control_plane_paths: {add, remove}` edits the
+ list; a `remove` entry that names no default pattern is undecided (exit 2); an `add` entry `name/` means
+ `name/**`, a bare folder name is undecided, and an entry matching nothing at base or head is marked so. Every run prints the mode, the
+ number of patterns and the base's additions and removals. The head's config is never read.
+- The list is what chock knows about, not a proof of completeness. If your workflow installs chock from a file in
+ the repository (`requirements*.txt`, `pyproject.toml`, a lockfile, a local action), add that file to the list.
+ Renaming or moving a test file reads as a deletion and is refused by test-integrity.
+- `--repo` may name a folder below the top level; every diff is computed from the top level. A file git cannot
+ read at base or head is undecided (exit 2), never handed to a gate as empty text.
+- Everything else is judged by the base's compiled ci gates and rollout, run by this engine; no head file executes.
+ `ask` refuses; a gate that crashes, times out or cannot be read is undecided whatever the rollout. A waiver counts
+ only on a line present and unchanged in both base and head. Script gates receive deleted paths under `deleted`
+ and an environment of `PATH`, `HOME` (and `SYSTEMROOT`) only (script payload contract version 2,
+ `spec/gate-dsl.md`).
+- A per-commit pass runs the base's content gates (both surfaces) over every blob a commit in `base..head` adds or
+ changes outside the control plane (renames read as a delete and an add), read as latin-1, as utf-8 when valid, and, for a blob with a NUL byte, as
+ utf-16 in both byte orders and alignments, lines split on `\n` only. A range past the commit limit or a blob over
+ 64 MiB is undecided, naming the commit and path. Not seen: other encodings, compressed or encoded content, commit
+ messages, file names.
+- `--sarif` writes a log on every run; an undecided run's says `executionSuccessful: false`. Not covered: a
+ Windows short name (`CLAUDE~1/`), `*.code-workspace`, submodule content (docs/floor.md).
+- It holds only as a required status check the pull request cannot redefine; that is the adopter's setting, which
+ chock does not verify. It judges committed content only.
+- `chock history`'s `load_rules` takes the compiled surfaces to read; its own defaults are unchanged.
diff --git a/changelog.d/w2a1-gate-patterns-exits.md b/changelog.d/w2a1-gate-patterns-exits.md
new file mode 100644
index 00000000..92409ffe
--- /dev/null
+++ b/changelog.d/w2a1-gate-patterns-exits.md
@@ -0,0 +1,8 @@
+- `chock check --floor`: a path listed only because an any-depth pattern matched it below the top level
+ (`node_modules/x/.claude/...`) is followed by the pattern that matched it (`matched **/.claude/**`). A base
+ `remove:` entry that is the old top-level form of a default (`.claude/**`) names the pattern to write
+ (`**/.claude/**`). A base `.chock/config.yaml` that is a folder, a symbolic link, a submodule or not UTF-8 is
+ undecided (exit 2). When base and head are the same commit the run says that nothing changed. The `--floor`
+ help says a link may also open nothing. Release gate G1 (GT-2): regression tests for patterns, config, SARIF,
+ abnormal paths and ordinary pull requests, and a map from every behaviour sentence in `docs/floor.md` and the
+ `--floor` help to the test that proves it.
diff --git a/changelog.d/w2b1-managed-emit-claude.md b/changelog.d/w2b1-managed-emit-claude.md
new file mode 100644
index 00000000..eb0aaca5
--- /dev/null
+++ b/changelog.d/w2b1-managed-emit-claude.md
@@ -0,0 +1,30 @@
+- `chock emit --managed claude_code --python --on-failure block|allow --out `
+ (preview) writes, under `/claude_code/` and nowhere else, a Claude Code managed-settings
+ drop-in (`managed-settings.d/50-chock.json`), the hook bundle it runs (`bundle//scripts/`:
+ runtime, guard or gate), `deploy.json` (where an admin places each part, what every machine needs,
+ what the `--on-failure` choice does, what it does not promise, the undo step) and `labels.json`.
+ Every hook is exec form: it starts the `--python` interpreter directly, so no shell, PATH lookup
+ or git config picks it. `--on-failure` has no default: `block` sets `onFailure: "block"` on the
+ `PreToolUse` hooks and refuses a matched call when the interpreter or a bundle file is missing;
+ `allow` sets neither and lets the call through with a note. The repository stop's every-tool
+ entry is not emitted. The command refuses an `--out` that is a filesystem root or resolves into
+ a system folder (any spelling, case-insensitive on macOS and Windows), names a file, or already
+ holds `claude_code/`; it elevates nothing and deploys nothing. `--lock` adds
+ `allowManagedHooksOnly` (off by default; `deploy.json` lists every effect the vendor documents);
+ `allowManagedPermissionRulesOnly` is never emitted. Every label is `best-effort (vendor-docs)`,
+ unwitnessed, until a `managed` witness row exists. A local administrator can still edit or remove
+ the file. Native `permissions.deny` rules are not emitted yet.
+- `chock compile` no longer writes `managed-setting/managed-settings.json`: that file used a shape
+ Claude Code does not read.
+- Every child interpreter a hook runtime starts (a Python guard, the gate runner, a script gate) now
+ runs isolated (`-I`), with its own folder put on the import path explicitly and every `PYTHON*`
+ variable removed from its environment, on every route. The hook launcher (`launch.sh`) starts a
+ runtime script with `-E -s`, so no `PYTHON*` variable or user site reaches the outer interpreter
+ either (its `-m chock` form keeps the environment: it needs the installed package). A hostile `PYTHONPATH`, `PYTHONHOME`,
+ `PYTHONPLATLIBDIR` or `PYTHONSAFEPATH` no longer lets a refused command through or turns a refusal
+ into a prompt.
+- `chock emit --managed claude_code`: the bootstrap now checks every bundled file, so a missing guard
+ or `chock_shellparse` follows `--on-failure` like any other missing file. `deploy.json` gains
+ `stop_files` (the repository's `.chock/stop.json` and the `~/.chock/stops/` files, each with its
+ effect), `client_versions` (2.1.295 for `onFailure`, 2.1.314 for Monitor commands, each quoted with
+ the date read) and `not_covered`.
diff --git a/chock.lock b/chock.lock
index 22c0800b..5bfb7bea 100644
--- a/chock.lock
+++ b/chock.lock
@@ -1,6 +1,6 @@
{
"lockfile_version": "2",
- "engine": ">=0.1,<0.2",
+ "engine": ">=1.1,<2",
"packs": [
{
"id": "agent-discipline",
@@ -8,7 +8,7 @@
"managed": false,
"sha256": "e41a849bc2b80f5c3c10fa4ea9883795a3e2ef9a626322c97ce7db41bab71bda",
"source": "local",
- "artifacts_sha256": "aa8906f9de0aa4a597077410094b8f3cb5cef5e0e50e438f45a1c689160cf3db"
+ "artifacts_sha256": "17ed5f45decf46868b440f82d698b0c11b8f3e8c8616d20ccb16907d3c692f8b"
},
{
"id": "block-destructive-commands",
@@ -16,7 +16,7 @@
"managed": false,
"sha256": "a5c10785be81bb4a391f4e629359454b2e6212772b8475a2ce2f08b03214bab6",
"source": "local",
- "artifacts_sha256": "606e3ef7e43d9050b317103ae0a0652e2b8548ee8fc2d18aa390539077f8210a"
+ "artifacts_sha256": "9b988a9717063a7ae7698f79d01fbb53b0177fddbcf7194e0db36d573860f1d4"
},
{
"id": "block-invisible-unicode",
@@ -24,7 +24,7 @@
"managed": false,
"sha256": "e34c93313ca3a6352c1d13715c60e8191ad6cdf04542d9f9d6a78cb210e34594",
"source": "local",
- "artifacts_sha256": "33845353b14a3413b48dce1deeabecc9451858702adc4c12f3ad68dfe560be46"
+ "artifacts_sha256": "0c8d0bb624227d674c309b342e8240b2b6be9cba4204d566cc2e8ed5291f3001"
},
{
"id": "block-no-verify",
@@ -32,7 +32,7 @@
"managed": false,
"sha256": "4e4fe3bd5a2b1947851bb390f56701c8129619b5a74a745806684f95d2e2105a",
"source": "local",
- "artifacts_sha256": "8d9fb089051fba248a366e851b77448117bdf54026fb3fdab1abe645bb479861"
+ "artifacts_sha256": "888852399360d4eab3fcc2191ca0406c8e94ff59f23dfa83adf3fc39bc4cb537"
},
{
"id": "block-wildcard-agent-permissions",
@@ -40,7 +40,7 @@
"managed": false,
"sha256": "5a6018554c19e90993f20e5d8a02fd1288c3ebb8431ddcee2967f009f6fab129",
"source": "local",
- "artifacts_sha256": "395d89ad34af4bdb0ed4f0e7a0dce55ebf8ee3d9eada8e90196ffcb190bf1767"
+ "artifacts_sha256": "1731c28f2dd34b569111e3ff0448c218803116ef895927542709fb297c7f4518"
},
{
"id": "code-safety",
@@ -48,7 +48,7 @@
"managed": false,
"sha256": "07a34b6e60452d78f8df0f853d17097e931f5e2e5e4b3fc492277bb99fd651f7",
"source": "local",
- "artifacts_sha256": "2a3465baf6bc0da2f3ae44e01cf1ddcdd400135438c14836368c6bdc7a29a405"
+ "artifacts_sha256": "c4028cdd8092fb374b8efe271b785d2228718264f4e04fc755e966af472248a6"
},
{
"id": "context-hygiene",
@@ -56,7 +56,7 @@
"managed": false,
"sha256": "7d77f634a5b13e199a4e6744d3fc2dadffce3891c7bc6a6a538639e37ae1505d",
"source": "local",
- "artifacts_sha256": "1cbaddfc2bd8e401ac218252c755d5ef9be607f0b88359f2af59c5323992b285"
+ "artifacts_sha256": "5f74ee647666735c5b32974c0d59ab485e2c47c570d3c98d1854d1e1dcb95e68"
},
{
"id": "git-safety",
@@ -64,7 +64,7 @@
"managed": false,
"sha256": "d57e89caab2d9c0608beb4c6acad049c1dc76150fa2caae17f43daa2d77264c4",
"source": "local",
- "artifacts_sha256": "b9db0e16e1009cb85d051c939ff47093497f8540d648adc33b90b6d1a39f08d8"
+ "artifacts_sha256": "c9f84f4d2faad9345307bcae87ef0ed6c2f15173367f1564da144a55a49a4be2"
},
{
"id": "injection-defense",
@@ -72,7 +72,7 @@
"managed": false,
"sha256": "722c6235b5366a0916625a2acb4f7383b07b04f2691a99b3d5cb8203d922fa45",
"source": "local",
- "artifacts_sha256": "a6f82e74b77c04a051dbc1058b1e1124eb8b78d12427af3b947b6d42686331be"
+ "artifacts_sha256": "e272fd293c18788f453b4cd4a6f774483b59b49b7a362a59b7b3d575d16bb881"
},
{
"id": "memory-discipline",
@@ -80,7 +80,7 @@
"managed": false,
"sha256": "e795ef722ee5eb0fdc9af872666d24b90a7a020dff50e56bd8f418a9a868a11a",
"source": "local",
- "artifacts_sha256": "906287d93337b6080f68621350512cbf8a73c381657c08faeeddab8a2ec45a6b"
+ "artifacts_sha256": "30ff9ba99409ecc720a8087341962b9c934070d56c21e34260af180c87643ae0"
},
{
"id": "minimal-content",
@@ -88,7 +88,7 @@
"managed": false,
"sha256": "00bb15c96c603ff92fdb7c7fd9fcc610c36f05fdcd5147763931acbd96818853",
"source": "local",
- "artifacts_sha256": "a6d131a5036887ab769dbdcbe01c761f5825b656a6cae30607f900639cb29ec7"
+ "artifacts_sha256": "bf5246fd47343838f0e6eac62a6a67928641e472b5a0689db101ddd4b1a14cb4"
},
{
"id": "pin-github-actions",
@@ -96,7 +96,7 @@
"managed": false,
"sha256": "a3afaef1791bf3b84cfd48b91c8dd5553a6a2fbd99d0e9df6423cb100a4e68d7",
"source": "local",
- "artifacts_sha256": "99d58c2e84918370cac3b75a6fa2cc8d530c63dfa8189c5a5e4835b06859dfdd"
+ "artifacts_sha256": "df233c2dbcbe2a93c2cdbbcc610c568b5b0c1d32f380b0f7d70d9f2200e19234"
},
{
"id": "pre-generated-scripts",
@@ -104,7 +104,7 @@
"managed": false,
"sha256": "17227f0f6e007ddd445f0ace6457b5d3ffc66ed23f2d52b75af9f9eb669191c5",
"source": "local",
- "artifacts_sha256": "ef6d558f78d7f86bc66b7c755b3eac5324a44db9e240ef29dc24a7d6e27f5380"
+ "artifacts_sha256": "f43a190e1338a7d0eeb219b9625e51f7292e1df84e81933751080901fb30756d"
},
{
"id": "protect-agent-config",
@@ -112,7 +112,7 @@
"managed": false,
"sha256": "dc20b58f82ae4c5c77759d32d15a51a431c76039c3cc34b1d4a892cb2f264aef",
"source": "local",
- "artifacts_sha256": "aa0f584a3da1309770c9fbda7d082970e7d279d298f06ca625520a80d85e278f"
+ "artifacts_sha256": "a7525f05e9b0f287a0eea727e3d2e041228832fdd242553c0df1a039164a7a9b"
},
{
"id": "protect-commit-privacy",
@@ -120,7 +120,7 @@
"managed": false,
"sha256": "07d12989cb3a4a20a2d48579f2b51c5c5d6e14e4367412250d2d3fe682759fdd",
"source": "local",
- "artifacts_sha256": "0aab76e19d6744ed014507bd15d6ed15e2db88d1777cd5bfe2295d557c7bf39b"
+ "artifacts_sha256": "8bf045a0a7d83fafc4f64576cab3aedc418b9dd0ebef196452db1836747846ac"
},
{
"id": "protect-main-branch",
@@ -128,7 +128,7 @@
"managed": false,
"sha256": "d1709293d7ee4ef502457e2e65eb65516daebd6ba5f7172db744bfdd8db63002",
"source": "local",
- "artifacts_sha256": "dd31407d52e400f6f74e515cdacb8b3e188b97133db255f88bf73791bbee2eb4"
+ "artifacts_sha256": "a7d7c8dc2439782632437eee5c407ec95fa5a8b5ac78385a699183d3510c58e2"
},
{
"id": "require-review-evidence",
@@ -136,7 +136,7 @@
"managed": false,
"sha256": "67b76ca30e7e9add2d284b62da210344a828e6de3d28e5f410ff81c5842beaa4",
"source": "local",
- "artifacts_sha256": "b16de533c1019379d5f5c7420bd0934f1430e6716f09faa8677763e20bab5a02"
+ "artifacts_sha256": "d75b06e96f0e001e72a565a1450527b72fb33ff00bbe520cc4244d8aa7d983d6"
},
{
"id": "scan-secrets",
@@ -144,7 +144,7 @@
"managed": false,
"sha256": "d04914f3b1ff3d4a2983ec8bc9fd3465556d5744ec41d03faca61ddd8c4917f0",
"source": "local",
- "artifacts_sha256": "5c9540a8b0ca8ca8bb88dde396adb71fe725eace2e932dc90c18d8c69d6b67f5"
+ "artifacts_sha256": "0c421836338483c280671ad720e58162e737f4ba822bc3c60f49c91ee6aa391a"
},
{
"id": "test-integrity",
@@ -152,7 +152,7 @@
"managed": false,
"sha256": "965b849688591738ddb1b6a7f5d20deaa0483e33c6daa117d37a592126512fca",
"source": "local",
- "artifacts_sha256": "b013983cfca823013ac954817d053c7ce8b7accdaa6b0484a2f7105a655550e8"
+ "artifacts_sha256": "f8516f28439131aa8b5c52c4c08b563425ac1a4336c8dacab17bf2ac8ba716d5"
},
{
"id": "token-efficiency",
@@ -160,7 +160,7 @@
"managed": false,
"sha256": "771cbb776e8b86602d330b878073046bd7becbc44827e47f745bb5970973ceb4",
"source": "local",
- "artifacts_sha256": "c14412edb8abd9e633198f2fc08bc09af74e682939e1a076da1fea32c3fab97a"
+ "artifacts_sha256": "01171e6cefe124c56339d1ec84788c4d82e1e4ef4049e2192ef978cda49fd7df"
},
{
"id": "verify-dependency-exists",
@@ -175,7 +175,7 @@
"managed": false,
"sha256": "8cf8ec272df2d224b264ca662e7ca6798130369a4d70a14d454566654ada9917",
"source": "local",
- "artifacts_sha256": "3c4f69d24ba8acbe41c9c7a1a334dc3fb9d722d39c85f601e6f214a92917210c"
+ "artifacts_sha256": "1c272c78ac73c7014a44eca6a2c5b5df8ef4a84f886d995c51d01c7d363dfe28"
},
{
"id": "yagni",
@@ -183,7 +183,7 @@
"managed": false,
"sha256": "58954cf1e9d3634f67b759d65fc16bb2f97782b1815a71ea558b4dfd47b66628",
"source": "local",
- "artifacts_sha256": "12038a1b15c829fc3326b2a9667e0ea7276278be51620a58b2efdb4b60a019b5"
+ "artifacts_sha256": "d911cbf1dd92b800b121719f306d2cf1964259f71bb35aa2e078e85b76def2a2"
}
]
}
diff --git a/docs/README.md b/docs/README.md
index 2e186dfc..00a100f6 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -24,6 +24,7 @@ Everything you need to understand, use, and extend Chock. New here? Start with
| [Agentic-Risk Coverage](agentic-risk-coverage.md) | Problem-first index: what Chock stops, at which honest tier — and what it doesn't |
| [Agent Plugins](agent-plugins.md) | Package policies for the open standard — and what that does not buy you |
| [Validation](validation.md) | Understand what `chock check` checks |
+| [CI Floor](floor.md) | What `chock check --floor` (preview) claims, the conditions it holds under, and what it does not cover |
| [Registry & Lockfile](registry-and-lockfile.md) | Reproducible, hash-pinned distribution |
| [Compatibility](compatibility.md) | What may change between versions, and what pinning guarantees |
| [Reviewer Evidence](reviewer-evidence.md) | Recording what a review rests on, so the next reader can re-derive it |
diff --git a/docs/architecture.md b/docs/architecture.md
index d477262f..febfe52c 100644
--- a/docs/architecture.md
+++ b/docs/architecture.md
@@ -4,6 +4,36 @@ Chock has one job: let you **author a governance policy once** and **enforce it
coding agent** that touches your repo — your team's or a contributor's — with proof of
exactly where each guarantee holds.
+
+
+
+
+Each card is a component of a coding agent's harness; the badges on a card are the hooks on that component. A filled badge is a point Chock runs at today; a hollow one is a hook a policy of your own can use. The model has none: Chock never touches it.
+
+- **Session start**: arms the hooks from what is committed. *Where the agent has hooks.*
+- **Session end** (not used): agentseam exposes this point; no shipped Chock code acts on it. *Where the agent has hooks.*
+- **Prompt submitted** (not used): agentseam exposes this point; no shipped Chock code acts on it. *Where the agent has hooks.*
+- **Instructions loaded** (not used): agentseam exposes this point; no shipped Chock code acts on it. *Where the agent has hooks.*
+- **Before context is compacted** (not used): agentseam exposes this point; no shipped Chock code acts on it. *Where the agent has hooks.*
+- **Before a tool runs**: Chock judges the call: allow, ask or block. A refusal goes back to the model with one line on what to do instead. *Where the agent has hooks.*
+- **After a tool runs**: records what ran, for checks that read the session. It never changes a verdict. *Where the agent has hooks.*
+- **After a tool fails**: records the failed call the same way. *Where the agent has hooks.*
+- **A file changes** (not used): agentseam exposes this point; no shipped Chock code acts on it. *Where the agent has hooks.*
+- **Subagent starts** (not used): agentseam exposes this point; no shipped Chock code acts on it. *Where the agent has hooks.*
+- **Subagent stops** (not used): agentseam exposes this point; no shipped Chock code acts on it. *Where the agent has hooks.*
+- **End of the turn**: reads what the turn left in the working tree and refuses to end the turn on a finding. A backstop. *Where the agent has hooks.*
+- **Rules in context**: a short rules block Chock writes into AGENTS.md. Advisory. *Every agent.*
+- **MCP gateway**: a proxy that judges calls to an MCP server. *Where a server is set up through it.*
+- **At git commit**: the git hook. *Every agent, and people.*
+- **At git push**: the pre-push hook. *Every agent, and people.*
+- **In CI**: the same gates on the pull request. *Every agent.*
+
+The same points in session order:
+
+
+
+
+
@@ -26,7 +56,7 @@ supports**, across up to nine [enforcement surfaces](enforcement-surfaces.md):
- `pre-tool-use` (nine agents, Claude Code and Cursor among them) and `agent-hooks`
(Copilot CLI, VS Code) — agent-native hard controls
- `stop` — the end-of-turn backstop that reads what the turn wrote (nine agent names)
-- `managed-setting` — compiled, not yet installed
+- `managed-setting` — not compiled; `chock emit --managed` writes it for an admin to deploy, and it credits nothing
- `gateway` — modeled for budgets/egress (future)
It also writes a **coverage report** (`.chock/coverage.json`) mapping every policy × agent onto
@@ -61,6 +91,8 @@ Actions workflow that invokes it; the coverage report only credits `ci-gate` tow
`enforced-at-commit` once that workflow is actually present, the same check `pre-tool-use` already
gets — a control nothing wires up enforces nothing.
+The CI gate emits SARIF (`chock check --event ci --format sarif`), and a baseline step fails a pull request that disables or narrows a policy (`chock check --only baseline`). `chock mcp` serves read-only guidance to the agent; `chock sync` registers it per client, opt-in.
+
## Why "author once" matters
The AI-agent ecosystem is fragmented: Claude reads `CLAUDE.md`, Cursor reads `.cursor/rules`,
diff --git a/docs/assets/readme/derive.py b/docs/assets/readme/derive.py
index 06010bf1..ff4414a6 100644
--- a/docs/assets/readme/derive.py
+++ b/docs/assets/readme/derive.py
@@ -28,6 +28,9 @@
BLOCK = re.compile(r"()(?P.*?)()", re.DOTALL)
UNTESTED_PREFIX = "Untested:"
DEPRECATED = "deprecated"
+TRUST_CONDITION = "after the project's hooks were trusted"
+CLIENT_VERSION = re.compile(r"\s+v?\d[\d.]*")
+CLIENT_PLATFORM = re.compile(r",\s*(?P[^,]+)$")
ASI = [f"ASI{n:02d}" for n in range(1, 11)]
INCIDENTS = [
("Log4Shell (CVE-2021-44228)", "java-security"),
@@ -128,6 +131,10 @@ def _either(names: list[str]) -> str:
return names[0] if len(names) == 1 else ", ".join(names[:-1]) + " or " + names[-1]
+def _either_and(names: list[str]) -> str:
+ return names[0] if len(names) == 1 else ", ".join(names[:-1]) + " and " + names[-1]
+
+
def _table(head: tuple[str, ...], align: tuple[str, ...], rows: list[tuple[object, ...]]) -> str:
lines = ["| " + " | ".join(head) + " |", "| " + " | ".join(align) + " |"]
lines += ["| " + " | ".join(str(c) for c in row) + " |" for row in rows]
@@ -148,14 +155,32 @@ def plugin_clients() -> tuple[list[str], list[str]]:
return [n for cid, n in names if cid not in untested], [n for cid, n in names if cid in untested]
-def repo_agents() -> tuple[int, int, list[str]]:
- """(agents chock sync wires, those with a native hook, clients its repo hooks were witnessed in)."""
+def witnessed_clients(rows: list) -> str:
+ """Client names from the ledger rows, grouped by the platform each records; versions stay in the ledger."""
+ groups: dict[str, list[str]] = {}
+ notes = []
+ for row in rows:
+ platform = CLIENT_PLATFORM.search(row.client)
+ name = CLIENT_VERSION.sub("", CLIENT_PLATFORM.sub("", row.client)).strip()
+ groups.setdefault(platform["platform"] if platform else "", []).append(name)
+ if TRUST_CONDITION in row.method:
+ notes.append(f"{name.split()[0]} {TRUST_CONDITION}")
+ parts = [
+ _either_and(names) if not platform else f"on {platform}, in {_either_and(names)}"
+ for platform, names in sorted(groups.items(), key=lambda g: g[0] != "")
+ ]
+ text = parts[0] if len(parts) == 1 else ", ".join(parts[:-1]) + " and, " + parts[-1]
+ return text + (f" ({'; '.join(notes)})" if notes else "")
+
+
+def repo_agents() -> tuple[int, int, list]:
+ """(agents chock sync wires, those with a native hook, ledger rows of its repo hooks witnessed live)."""
from chock import evidence # noqa: PLC0415
from chock.compile.surfaces import SURFACE_AGENTS, Surface # noqa: PLC0415
from chock.hooks import sync_notes # noqa: PLC0415
native = sum(1 for s in SURFACE_AGENTS.values() if {Surface.PRE_TOOL_USE, Surface.AGENT_HOOKS} & set(s))
- seen = [w.client for w in evidence.witnesses() if w.surface in sync_notes._HOOK_SURFACES]
+ seen = [w for w in evidence.witnesses() if w.surface in sync_notes._HOOK_SURFACES]
return len(SURFACE_AGENTS), native, seen
@@ -190,7 +215,7 @@ def readme_blocks(data: dict) -> dict[str, str]:
+ _table(("Class of flaw behind", "Policy", "Tier", "Eval cases"), (":---", ":---", ":---", "---:"), incidents)
+ "\n",
"plugins": _fill(t["plugins"], TESTED=_either(tested), UNTESTED=_either(untested)),
- "repo_agents": _fill(t["repo_agents"], WITNESSED="; ".join(seen)),
+ "repo_agents": _fill(t["repo_agents"], WITNESSED=witnessed_clients(seen)),
"faq_agents": _fill(t["faq_agents"], ALL=agents, NATIVE=native, TESTED_N=len(tested), UNTESTED_N=len(untested)),
"repos": f"\n{_fill(t['repos'], COUNT=len(repos))}\n\n"
+ _table(("Repository", "What it is"), (":---", ":---"), repos)
diff --git a/docs/assets/readme/readme-blocks.json b/docs/assets/readme/readme-blocks.json
index eeca89cd..3999142e 100644
--- a/docs/assets/readme/readme-blocks.json
+++ b/docs/assets/readme/readme-blocks.json
@@ -2,7 +2,7 @@
"_": "Templates for derive.py readme: README.md text between and is rewritten from data.json and chock's own data. __TOKEN__ placeholders only.",
"stamp": "From `registry.yaml` in [chock-catalog](https://github.com/open-coder-ai/chock-catalog) at `__SHA__`:",
"plugins": "It builds one plugin for __TESTED__, tested live, and, untested by chock, for __UNTESTED__.",
- "repo_agents": "Chock tested its repo hooks live in __WITNESSED__ only; other native hooks follow agentseam's record, untested.",
+ "repo_agents": "Repo hooks refused commands live in __WITNESSED__; others follow agentseam's record, untested.",
"faq_agents": "All __ALL__ above get a git hook, a CI gate and an `AGENTS.md` rule; __NATIVE__ also get a native hook. As one plugin: __TESTED_N__ tested, __UNTESTED_N__ untested.",
"repos": "The __COUNT__ public repositories:",
"numbers": [
diff --git a/docs/assets/readme/render.mjs b/docs/assets/readme/render.mjs
index 4a40a163..357be95b 100644
--- a/docs/assets/readme/render.mjs
+++ b/docs/assets/readme/render.mjs
@@ -4,6 +4,8 @@ import { chromium } from 'playwright';
import { mkdirSync, readFileSync } from 'node:fs';
import { fileURLToPath } from 'node:url';
import path from 'node:path';
+import { where } from './where-chock-sits.mjs';
+import { where as sessionPath } from './session-path.mjs';
const HERE = path.dirname(fileURLToPath(import.meta.url));
const OUT = process.env.OUT_DIR || HERE;
@@ -111,7 +113,7 @@ const ADOPT = page(`
${note('The refusal text is the gate message of scan-secrets in chock-catalog. The recording is in the text version.')}`);
@@ -215,9 +217,12 @@ const HONEST = SECTION('Guardrails, not guarantees', 'And we tell you `
${tag(t)}${p}
`))}
${grid(3, 16, [[A.grades.enforced, 'matrix cells graded “enforced”: no agent reaches it'], [`${D.asi.refused_at_commit.length} of ${D.asi.with_policy}`, 'OWASP Agentic risks with a slice refused at commit'], [D.asi.fully_covered, 'OWASP Agentic risks fully covered: every mapping is partial']].map(([n, l]) => stat(n, l)))}`);
+const FIGURE = JSON.parse(readFileSync(path.join(HERE, 'where-chock-sits.json'), 'utf8'));
+const WHERE = where(page, FIGURE), SESSION_PATH = sessionPath(page, FIGURE);
+
const ALL_NEW = { layers: LAYERS, quickstart: QUICKSTART, matrix: MATRIX, catalog: CATALOG, family: FAMILY, honest: HONEST };
// README v2 panels go under v2/; the titled refusal, roles and contribute PNGs at the old paths stay frozen until RW-7b.
-const V2 = { 'v2/refusal': REFUSAL, 'v2/roles': ROLES, 'v2/contribute': CONTRIBUTE };
+const V2 = { 'v2/refusal': REFUSAL, 'v2/roles': ROLES, 'v2/contribute': CONTRIBUTE, 'v2/where-chock-sits': WHERE, 'v2/session-path': SESSION_PATH };
// 1280x640 social preview banners: the same specs as the covers, laid out for the fixed canvas.
const social = ({ repo, title, sub, chips, right }) => `
diff --git a/docs/assets/readme/session-path.mjs b/docs/assets/readme/session-path.mjs
new file mode 100644
index 00000000..9379b26f
--- /dev/null
+++ b/docs/assets/readme/session-path.mjs
@@ -0,0 +1,118 @@
+// The README "How it works" figure: a session as an ordered path with checkpoints. Every word comes from where-chock-sits.json; positions are computed here by a flow layout, and `layout` also reports every shape so a test can check nothing overlaps.
+const R = 14, TEXT_W = 84, DIAMOND = 20, GAP = 12, T1 = 56, YA = 244, H1 = 414, T2 = T1 + H1 + 40, YR = T2 + 104, H2 = 210, TEXT_TOP = 52;
+const LINES = (text, perLine = 11) => Math.ceil(text.length / perLine);
+const nameW = (s) => Math.ceil(s.length * 6 + 4);
+
+export const layout = (W) => {
+ const shapes = [], arrows = [], diamonds = [];
+ const add = (id, x, y, w, h) => shapes.push({ id, x, y, w, h });
+ const rows = {};
+ const label = (p, x, y) => {
+ add(`${p.id}-diamond`, x - DIAMOND / 2, y - DIAMOND / 2, DIAMOND, DIAMOND);
+ add(`${p.id}-name`, x - nameW(p.label) / 2, y + 26, nameW(p.label), 14);
+ if (p.acts) add(`${p.id}-does`, x - (p.place.of > 1 ? 28 : 40), y - 30 - 32, p.place.of > 1 ? 56 : 80, 32);
+ };
+ const place = (key, x0, x1, y, T) => {
+ const steps = W.path.paths[key].steps;
+ const pts = W.points.filter((p) => p.place?.row === key);
+ const weight = steps.map((_, k) => Math.max(1, ...pts.filter((p) => p.place.into === k).map((p) => (p.place.of > 1 ? p.place.of + 1.5 : 1))));
+ const free = x1 - x0 - steps.length * 2 * R, unit = free / weight.reduce((a, b) => a + b, 0);
+ let cursor = x0;
+ const cx = steps.map((_, k) => { const start = cursor; cursor += weight[k] * unit + 2 * R; arrows.push({ key, k, x1: start, x2: start + weight[k] * unit + R, y }); return start + weight[k] * unit + R; });
+ steps.forEach((s, k) => {
+ s.h = (LINES(s.text) + (s.sub ? LINES(s.sub, 13) : 0)) * 16 + 6;
+ add(`${key}-circle-${k}`, cx[k] - R, y - R, 2 * R, 2 * R);
+ add(`${key}-text-${k}`, cx[k] - TEXT_W / 2, y + TEXT_TOP, TEXT_W, s.h);
+ });
+ pts.forEach((p) => {
+ const a = arrows.find((q) => q.key === key && q.k === p.place.into);
+ const x = a.x1 + ((a.x2 - R - a.x1) * (p.place.slot + 1)) / (p.place.of + 1);
+ diamonds.push({ id: p.id, x, y, acts: p.acts });
+ label(p, x, y);
+ });
+ rows[key] = { cx, y, T };
+ };
+ place('agent', 24, 782, YA, T1);
+ place('repo', 10, 782, YR, T2);
+ const A = rows.agent, tool = A.cx[4], mcp = W.points.find((p) => p.place?.tag), toolText = A.cx.length && W.path.paths.agent.steps[4].h;
+ const lineTop = YA + TEXT_TOP + toolText + 6, mid = lineTop + 28, tagTop = lineTop + 56;
+ add('tag', tool - 76, tagTop, 152, 24);
+ add(`${mcp.id}-diamond`, tool - DIAMOND / 2, mid - DIAMOND / 2, DIAMOND, DIAMOND);
+ add(`${mcp.id}-name`, tool - 22 - nameW(mcp.label) - 8, mid - 7, nameW(mcp.label) + 8, 14);
+ add(`${mcp.id}-does`, tool + 14, mid - 8, 90, 16);
+ diamonds.push({ id: mcp.id, x: tool, y: mid, acts: mcp.acts });
+ const loop = W.path.paths.agent.loop, post = diamonds.find((d) => d.id === loop.after), next = diamonds.find((d) => d.id === 'stop');
+ const xs = (post.x + next.x) / 2, xm = A.cx[loop.to], y0 = YA - R;
+ const yv = YA - 110, p1 = [xs, yv - 55], p2 = [xm - 40, y0 - 140], end = [xm, y0 - 2];
+ const bez = (t) => { const u = 1 - t; return [u ** 3 * xs + 3 * u * u * t * p1[0] + 3 * u * t * t * p2[0] + t ** 3 * end[0], u ** 3 * yv + 3 * u * u * t * p1[1] + 3 * u * t * t * p2[1] + t ** 3 * end[1]]; };
+ const curve = [...Array.from({ length: 20 }, (_, i) => [xs, YA - 4 - ((YA - 4 - yv) * i) / 19]), ...Array.from({ length: 51 }, (_, i) => bez(i / 50))];
+ const loopPath = `M${xs} ${YA - 4} V${yv} C${p1[0]} ${p1[1]} ${p2[0]} ${p2[1]} ${end[0]} ${end[1]}`;
+ add('loop-label', (xs + xm) / 2 - 60, YA - 172, 120, 16);
+ return { shapes, arrows, diamonds, rows, curve, loop: { xs, xm, y0 }, loopPath, mid, lineTop, tagTop };
+};
+
+// Pairs of shapes closer than GAP, the loop arrow passing a label, and arrows with a shaft under 40 px.
+export const crowded = (L) => {
+ const bad = [];
+ const near = (a, b) => a.x < b.x + b.w + GAP && b.x < a.x + a.w + GAP && a.y < b.y + b.h + GAP && b.y < a.y + a.h + GAP;
+ const base = (id) => id.replace(/-(diamond|does|name)$/, '');
+ const own = (a, b) => (base(a.id) === base(b.id) && a.id !== b.id && /-(diamond|does|name)$/.test(a.id) && /-(diamond|does|name)$/.test(b.id)) || (a.id.replace('-circle-', '-text-') === b.id && a.id.includes('-circle-'));
+ L.shapes.forEach((a, i) => L.shapes.slice(i + 1).forEach((b) => { if (!own(a, b) && near(a, b)) bad.push([a.id, b.id]); }));
+ L.shapes.filter((s) => /-(does|name)$/.test(s.id) || s.id === 'loop-label').forEach((s) => { if (L.curve.some(([x, y]) => x > s.x - 8 && x < s.x + s.w + 8 && y > s.y - 8 && y < s.y + s.h + 8)) bad.push([s.id, 'loop-arrow']); });
+ L.arrows.forEach((a) => { if (a.x2 - R - a.x1 - 8 < 40) bad.push([`${a.key}-arrow-${a.k}`, 'short']); });
+ return bad;
+};
+
+export const where = (page, W) => {
+ const L = layout(W), bad = crowded(L);
+ if (bad.length) throw new Error(`figure shapes too close: ${JSON.stringify(bad)}`);
+ const esc = (s) => s.replace(/&/g, '&').replace(/ `
${inner}
`;
+ const diamond = (x, y, acts, s = 14) => abs(x - s / 2, y - s / 2, s, s, `transform:rotate(45deg);box-sizing:border-box;border:2px solid ${acts ? ACCENT : GREY};background:${acts ? ACCENT : PAPER}`, '');
+ const text = (s, css, inner) => abs(s.x, s.y, s.w, s.h, `font-size:12.5px;line-height:1.25;font-weight:600;text-align:center;${css}`, esc(inner));
+ const frame = (y, h, name) => abs(0, y, 840, h, `border:2px dashed ${LINE};border-radius:18px;box-sizing:border-box`, `