Repository navigation
Hook runtime fixes: explicit PABCD triggers, worker gate, idle goals, per-turn Stop cap, PABCD switch, .codexclaw/.gitignore - #269
Conversation
…itch path, cap notice chain)
…e from a requested one (#250)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
리뷰 · 우선순위 36 / 80이 PR은 훅이 사람 말을 잘못 알아듣고 일을 이어 가던 문제 네 가지를 고친다. 끄는 스위치와, 한 턴의 멈춤 한도도 더한다. 베이스는 dev다. 보통 말은 이제 PABCD를 켜지 않는다. "interview", "keep going until", "끝까지 진행해", 따옴표나 코드 울타리 안의 예, "cxc-loop 돌리지 마" 같은 거절은 지시문을 넣지 않고 루프도 안 켠다. Codex 기본 네이티브 목표가 켜져 있어도, 연결된 goalplan이 없으면 IDLE에서 Stop이 턴을 끝낸다. 그때 카운터는 쓰지 않는다. Stop은 한 사용자 말마다 24번까지 이어 갈 수 있다. 25번째에는 알림 한 줄을 보여주고 놓는다. 같은 턴에서 또 오면 알림 없이 놓는다. 다음 사용자 말이 오면 24가 다시 시작된다. Stop이 혼자 이어 붙인 응답은 새 말로 치지 않는다.
메인테이너의 판단이 필요한 지점 너의 추천 이 댓글은 grok-bot이 작성했습니다 |
Fixes four confirmed hook-runtime defects and adds two small opt-in controls from the 2026-09-27 issue train. Triage for all 22 open issues and the diff-level plans are in
devlog/_plan/260927_issue_train/(000-016).Fixed
cxc-pabcdorcxc-loop. Explicitorchestratecommand parsing is unchanged.workeroutside an active B/C cycle. Registeredexecutorstays gated while PABCD policy is on..codexclaw, it also writes.codexclaw/.gitignore(runtime state ignored,rules/*.mdre-included) using non-recursivemkdirSyncso existing folders, including symlinks, are never touched. SessionStart still creates session state; lazy creation is deferred (it interacts with the executor evidence and goal-complete gates, see 001 and 002).Added / changed
CODEXCLAW_PABCD=off|onand projectcodexclaw.json{"pabcd":{"enabled":false}}switch PABCD hook policy. Worktree, memory-write, automation-ownership and apply_patch lint guards, the memory-request marker, and recall keep running. A recognized env value wins over the project file both ways.codex-rs/core/src/hook_runtime.rs:682-707), so the cap still bounds an unattended loop.Verification
npm test3650 tests, 3645 pass, 0 fail, 5 skipped (receipt at 4ee1112),npm run gateOK,inventory.mjs --check --tests 3650OK, platform smoke OK on darwin.Residual risk
.codexclawand writing.gitignoreleaves an empty folder without it; an ancestor ignore rule that hides.codexclaw/also hidesrules/.