Skip to content

Add deterministic iteration runtime executor - #63

Merged
areshand merged 1 commit into
mainfrom
codex/iteration-runtime-executor
Aug 28, 2026
Merged

Add deterministic iteration runtime executor#63
areshand merged 1 commit into
mainfrom
codex/iteration-runtime-executor

Conversation

@areshand

Copy link
Copy Markdown
Owner

Summary:

  • seal one complete worker DAG per iteration and bind its digest into the supervisor authority capsule
  • let the runtime schedule ready workers, finalize evidence, freeze the diff, derive required reviews, and complete lifecycle transitions without orchestrator turns between nodes
  • preserve mandatory authority and technical review; add decision-drift only for material alternatives or assumptions; support safe repair TODO binding and idempotent retry
  • update the ops-trace acceptance benchmark to require 100% correctness, 100% safety, zero runtime errors, and at least 30% lower mean and median latency

Verification:

  • cargo test: 67 passed
  • lifecycle shell tests: passed
  • mock orchestration E2E: passed
  • Python ops-trace and SWE outcome tests: 41 passed
  • production ops-trace v2 full dataset: 24/24 correct, 24/24 safe, 0 runtime errors
  • latency mean: 152.927s vs 294.050s before, 48.0% reduction
  • latency median: 151.674s vs 278.984s before, 45.6% reduction
  • agent count: exactly 3 per case vs 4 before

Trust boundary:

  • orchestrator remains semantic planner only
  • supervisor seals plan digest and derives non-removable review obligations
  • authority review remains mandatory and digest-bound
  • runtime cannot replan; findings return needs_replan for a new sealed iteration
  • sanitized runtime traces contain no auth or Codex home data

@areshand
areshand merged commit c81351b into main Aug 28, 2026
4 checks passed
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