Port ARC-AGI-3 harness runtime seam to Codex (Codex CLI, AGENTS.md, token accounting) - #3
Closed
dastin359 wants to merge 9 commits into
Closed
Conversation
added 8 commits
August 12, 2026 10:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
codex execwhile preserving ledger-first scoring and clean-rollout policy.grids.py,ledger.py,rules.py,scoring.py,client.py) unchanged so audited scoring and ledger invariants remain authoritative.Description
src/athanor/ccarc3/session.pyto: pin a Codex model (DEFAULT_MODEL = "gpt-5.3-codex"), build non-interactive invocations viacodex exec --json, emit a sandbox and amodel_reasoning_effortsetting, and capture/resume the authoritative Codex thread id fromthread.startedevents instead of assigning a session id pre-launch.CLAUDE.mdtoAGENTS.mdand updated the workspace generation template and ablation tooling to redact baselines from the newAGENTS.mdwhile preserving fenced code blocks.run_costnow readsturn.completed/usagecounters and recordsinput_tokens,cached_input_tokens, andoutput_tokensinstead of fabricating Claude-onlytotal_cost_usd/duration_ms. The nudge/resume flow now usescodex exec resumewith the captured thread id when possible.tools/proofread_trace.py(item-oriented parsing),tools/clean_rollouts.py, supervisor/heartbeat scripts,tools/*scratch defaults, and tests that reference the runtime seam or evidence filenames.Testing
pyteston the focused ccarc3-related tests produced a green result for the exercised suite (final observed run:486 passed, 5 skipped).pytest tests/test_ccarc3_session.pyand related CCARC3 unit tests ran and were updated to reflect Codex CLI andAGENTS.mdchanges (these tests passed in the runs performed).grids,rulesandledgermutants and observed the expected catches (no unexpected survivors reported for the audited mutants before the run was interrupted for time budget reasons).python -m compilealland multiplepytestbatches; the modified ccarc3 surface and proofreader were verified to parse Codex JSONL events and to preserve the ledger/scoring invariants during the automated checks.Codex Task