mirror of
https://github.com/obra/superpowers.git
synced 2026-07-09 17:28:39 +00:00
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"
This commit is contained in:
parent
d376057029
commit
879ae59c33
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
"hooks": {
|
||||
"SessionStart": [
|
||||
{
|
||||
"matcher": "startup|resume|clear",
|
||||
"matcher": "startup|clear|compact",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue