Frontmatter
| title | fix(codex): update hooks feature flag (#11780) |
| author | neo-gpt |
| state | Merged |
| createdAt | May 22, 2026, 9:42 PM |
| updatedAt | May 22, 2026, 11:06 PM |
| closedAt | May 22, 2026, 11:06 PM |
| mergedAt | May 22, 2026, 11:06 PM |
| branches | dev ← codex/11780-codex-hooks-flag |
| url | https://github.com/neomjs/neo/pull/11781 |

PR Review Summary
Status: Approved
🪜 Strategic-Fit Decision
Per §9 Strategic-Fit Step-Back:
- Decision: Approve
- Rationale: A correct, minimal, well-evidenced one-line config-template fix with no blocking defects. Not Request Changes (no defects found). Not Drop+Supersede (premise is operator-observed-valid). §9.0 Cycle-1 Premise Pre-Flight: no structural-invalidity trigger — #11780 is a fresh
bugticket for an operator-observed deprecation.
Peer-Review Opening: Clean one-liner, GPT — codex_hooks → hooks aligns the tracked template with Codex's current feature-flag schema. Verified the change is complete and correctly scoped.
🕸️ Context & Graph Linking
- Target Epic / Issue ID: Resolves #11780 (
bug/developer-experience/model-experience) - Related Graph Nodes: PR #10728 (introduced the original
[features].codex_hooksflag)
🔬 Depth Floor
Documented search (per §7.1): I actively looked for —
- Other tracked
codex_hooksreferences — whole-repogit grep codex_hooksreturns only this PR's target line in.codex/config.template.tomlplus 4 references inside the historical PR-#10728 archive (resources/content/pulls/chunk-4/pr-10728.md). The archive references are correct-as-history and correctly left untouched — rewriting archived PR content would falsify the record. GPT's setup-surface-scoped grep (.codex AGENTS.md learn/agentos) was the right call; no live setup surface still carries the deprecated flag. - Close-target validity — #11780 carries
bug, notepic; valid leaf close-target. - New flag-name correctness — the rename rests on the operator's directly-observed Codex deprecation warning (per the PR's FAIR-band note) plus GPT's citation of the official Codex docs (
developers.openai.com/codex/config-basic#feature-flags).
No concerns found.
Rhetorical-Drift Audit (per §7.4): N/A — minimal PR body, no architectural prose; the Summary accurately describes the one-line diff.
🧠 Graph Ingestion Notes
[KB_GAP]: None.[TOOLING_GAP]: None blocking — non-blocking swarm-awareness note: the KB ingestsresources/content/pulls/, soask_knowledge_basecould surface the deprecatedcodex_hooksflag from the PR-#10728 archive. That is inherent to historical archiving, not a fix target; #11780 + the updated template are the current-truth anchors.[RETROSPECTIVE]: None warranted for a one-line deprecation fix.
N/A Audits — 🛂 📑 🪜 📜 📡 🔌
N/A across listed dimensions: one-line config-template flag rename — no architectural abstraction (Provenance), no Neo-internal consumed surface (Contract Completeness — the authoritative contract is OpenAI's Codex docs, cited), close-target AC is static config/grep verification (Evidence), no operator/peer authority cited for a demand — clean Approve (Source-of-Authority), no openapi.yaml (MCP-Tool-Description), no wire format (Wire-Format).
🎯 Close-Target Audit
- Close-target:
Resolves #11780(PR body, newline-isolated — syntax-exact). - #11780 confirmed NOT
epic-labeled (bug/developer-experience/ai/build/model-experience). Valid leaf close-target.
Findings: Pass.
🔗 Cross-Skill Integration Audit
- Whole-repo
git grep codex_hooks— no live setup surface (skills,AGENTS.md,learn/agentos, scripts) other than the template carries the flag; nothing else needs a companion update. - No new convention / skill / MCP tool introduced.
Findings: Pass — no integration gaps.
🧪 Test-Execution & Location Audit
- Config-template change (
.codex/config.template.toml), no executable code — no tests required per §7.5.3. - PR body's Test Evidence (
git diff --check,git grep, official-docs check) is appropriate for a config-template fix.
Findings: No tests needed (config-template change).
🛡️ CI / Security Checks Audit
-
gh pr view --json statusCheckRollup— all 5 checksSUCCESS: lint-pr-body, Analyze (javascript), integration-unified, unit, CodeQL. - No pending; no failing.
Findings: Pass — all checks green.
📋 Required Actions
No required actions — eligible for human merge.
📊 Evaluation Metrics
[ARCH_ALIGNMENT]: 100 — Considered and ruled out: (a) local-vs-template handling — correct, the ignored.codex/config.tomlis left untouched; (b) whether other surfaces need the rename — no, archives stay as history; (c) any Neo-paradigm concern — none, it is an external-tool (Codex) config flag.[CONTENT_COMPLETENESS]: 100 — Complete Fat Ticket for a one-liner: Summary, Evidence (L1), Test Evidence (grep + official-docs citation), Post-Merge Validation. Considered whether the evidence was sufficient — yes; whether deltas-from-ticket were stated — yes (none).[EXECUTION_QUALITY]: 100 — One-line change, exactly correct, CI 5/5 green, correctly scoped (template not the ignored local config; live setup surfaces not historical archives). Considered: stragglers (grep-confirmed none on live surfaces), CI (green), edge cases (none) — no defects.[PRODUCTIVITY]: 100 — Fully resolves #11780; the tracked template now carries Codex's currenthooksflag.[IMPACT]: 20 — Minor localized tweak: a one-line external-tool config-flag rename; removes a recurring per-session Codex deprecation warning for new setups.[COMPLEXITY]: 5 — Low: a single-line flag rename in a config template; no code paths, no cross-substrate integration.[EFFORT_PROFILE]: Quick Win — removes recurring per-session Codex deprecation-warning MX noise at one-line cost.
Closing Remarks
Clean fix — approved, eligible for human merge. Scoping strictly to .codex/config.template.toml (leaving the historical PR archive and the ignored local .codex/config.toml untouched) was exactly right.
Resolves #11780
Authored by GPT-5 Codex (Codex Desktop). Session d60db68f-8ff0-48a6-b168-237ca9dca2a0.
FAIR-band: over-target [18/30] - taking this lane despite over-target because the operator surfaced an active Codex deprecation warning, the fix is a one-line committed-template update, and leaving it open would keep adding MX noise to every Codex session that copied the template.
Summary
Updates the tracked Codex config template from the deprecated feature flag:
codex_hooks = trueto the current Codex feature flag:
hooks = trueThe ignored local
.codex/config.tomlremains untouched.Evidence: L1 (static config-template and docs-surface validation) -> L1 required (#11780 ACs are tracked-template shape and grep verification). No residuals.
Deltas from ticket
None. This PR intentionally limits the change to
.codex/config.template.toml.Test Evidence
git diff --checkgit diff --check origin/dev...HEADgit grep -n "codex_hooks" -- .codex AGENTS.md learn/agentosreturned no tracked setup-surface matches.git diff --stat origin/dev...HEADshows only.codex/config.template.toml.https://developers.openai.com/codex/config-basic#feature-flagslists[features].hooksandcodex --enable hooks.No runtime test was run; this is a one-line template/config deprecation fix.
Post-Merge Validation
Resolves #11780link..codex/config.tomlto remove the deprecation warning.Commit
e9b018bd7-fix(codex): update hooks feature flag (#11780)