diff options
| author | Ada Sen <ada@sen.dev> | 2026-06-23 22:57:31 +0000 |
|---|---|---|
| committer | Drew Ritter <drew@ritter.dev> | 2026-06-30 11:29:15 -0700 |
| commit | 879ae59c33a430c7e7726adb0e9f1b4366a2ef5f (patch) | |
| tree | ef353b88a2e2a13448872897179023fd9372eaf5 | |
| parent | d3760570298cadccbb82f4540d1064f7914204ca (diff) | |
fix(codex): stop bootstrap re-firing on resume (match Claude startup|clear|compact)
Bug: the SessionStart hook matcher in hooks-codex.json included "resume",
causing the superpowers bootstrap to re-fire on every Codex session resume.
Fix: align with Claude's hooks/hooks.json matcher "startup|clear|compact":
- drop "resume" (the bug: resume should not trigger re-bootstrap)
- add "compact" (so bootstrap re-injects after context compaction, like Claude)
Before: "matcher": "startup|resume|clear"
After: "matcher": "startup|clear|compact"
| -rw-r--r-- | hooks/hooks-codex.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/hooks-codex.json b/hooks/hooks-codex.json index 5c357fc..0719e53 100644 --- a/hooks/hooks-codex.json +++ b/hooks/hooks-codex.json @@ -2,7 +2,7 @@ "hooks": { "SessionStart": [ { - "matcher": "startup|resume|clear", + "matcher": "startup|clear|compact", "hooks": [ { "type": "command", |
