Skip to content

Needs audit: Codex parent wait discipline (registry rule) - #4450

Merged
Trecek merged 2 commits into
developfrom
impl-codex_cook_parent_delegation_hotfix_plan_2026-07-31_092058-20260731-101714
Aug 1, 2026
Merged

Needs audit: Codex parent wait discipline (registry rule)#4450
Trecek merged 2 commits into
developfrom
impl-codex_cook_parent_delegation_hotfix_plan_2026-07-31_092058-20260731-101714

Conversation

@Trecek

@Trecek Trecek commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

Deliver a concise, evidence-bound Codex parent-coordination rule through CODEX_INTAKE_RULES. The existing Codex intake digest carries it to interactive, headless, resume, orchestrator, and generated sub-agent instruction paths; Claude Code does not receive the Codex intake digest.

The injected rule is:

After delegating, wait for every active sub-agent; do not duplicate their work. While they run, only do work the user explicitly requests.

This replaces the initial cook-only backend capability and removes the associated command-test churn.

Verification

  • task test-check — 11,439 passed, 138 skipped, 12 xfailed
  • pre-commit run --all-files — all hooks passed
  • Codex intake digest: 1,044 → 1,185 bytes (1,200-byte budget)
  • Complete Codex discipline suffix: 2,996 → 3,137 bytes; declared ceiling raised deliberately from 3,000 to 3,150 bytes

Related issue

Closes #4447

@Trecek

Trecek commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator Author

Corrected the implementation in 6406760d49f88ce5b99bef72ac737dc33479b78c after reviewing the scope against #4447:

  • Replaced the fresh-cook-only backend capability with an evidence-bound CODEX_INTAKE_RULES entry, so the instruction follows all existing Codex delivery paths and remains absent from Claude Code.
  • Reduced the instruction to one 138-byte rule with the explicit user-request exception.
  • Removed the backend/cook-specific test churn and retained focused registry coverage.
  • Validation: task test-check passed 11,439 tests; pre-commit run --all-files passed all hooks.

@Trecek Trecek changed the title Needs audit: Codex cook parent delegation hotfix Needs audit: Codex parent wait discipline (registry rule) Jul 31, 2026
@Trecek
Trecek added this pull request to the merge queue Aug 1, 2026
Merged via the queue into develop with commit 5a82129 Aug 1, 2026
3 checks passed
@Trecek
Trecek deleted the impl-codex_cook_parent_delegation_hotfix_plan_2026-07-31_092058-20260731-101714 branch August 1, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant