From ec599ef5a7423148971126e2e32e18533ae2fd06 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 16 May 2026 12:57:23 +0100 Subject: [PATCH] Add a Codex hook to emit a stop trigger we can spy on --- .codex/config.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.codex/config.toml b/.codex/config.toml index 52b92e442..6f1f894af 100644 --- a/.codex/config.toml +++ b/.codex/config.toml @@ -1,3 +1,9 @@ # Project-local Codex configuration. # # Command safety policy lives in .codex/rules/git-state.rules. + +[[hooks.Stop]] +[[hooks.Stop.hooks]] +type = "command" +command = "cat >> .codex/stop-trigger" +timeout = 1