codex/budget accounting - #200
Merged
Merged
Conversation
merlerm
marked this pull request as ready for review
September 8, 2026 13:54
merlerm
force-pushed
the
codex/budget-accounting
branch
from
September 9, 2026 13:32
c162a3f to
dfd124b
Compare
Jaraxxus-Me
pushed a commit
that referenced
this pull request
Sep 12, 2026
…#216) Moves the pin from 7e4d422 (v0.2.4-8) to upstream main at 5b2dbac, which carries the dynamic3D fixes merged since 2026-09-05: - Dynamo3D: task-owned room so the goal stays reachable with the background on (#202), stable chair spawns with real footprints and a 1.5x layout (#199), task cameras framing the full layout (#184). - Tossing3D: colliding room walls and an anchored barrier (#198), receivers farther from the barrier (#191), bin-relative goals for the two-cube task (#187), the 18-dimensional action space with arm velocity targets declared (#200). - ScoopPour3D: transfer scored into the target bin (#186), 20/30/40/50-cube variants (#194). - BalanceBeam3D balance measured against world horizontal (#189), Rearrange3D goal heights (#188), sorting bin goals attached to receptacles (#185), Shelf3D goals and intermediate counts (#180, #181), ConstrainedCupboard3D one-rod goal (#183), drawer positions restored in state (#190), faster shared MuJoCo stepping (#193), limb range-of-motion model (#175, #176, #177), DynPushT2D goal poses kept out of walls (#178). Eval seeds for every dynamic3D family change with this pin; Dynamo3D and Tossing3D results recorded before it are not comparable to new runs.
tomsilver
approved these changes
Sep 18, 2026
merlerm
force-pushed
the
codex/budget-accounting
branch
from
September 19, 2026 10:40
dfd124b to
f6560bb
Compare
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.
Summary
Meter Codex from native per-response token_usage_record usage, deduplicated per
experiment across root/subagent sessions and continuations. Resettable UI totals
and turn-scoped stdout usage are not authoritative for a finite budget.
unexpected models, status-write failures, or no timely initial usage.
without signaling parallel experiment siblings. Evaluate the last saved policy.
Warnings prioritize targeted finishing work, not immediate final answers.
unchanged-file heuristic or artificial low-confidence retry cap.
Validation
cutoff and real process-tree/parallel isolation. No paid calls in CI tests.
continuations, stopped with $0.477704 left, complete 100-episode evaluation.
spent $4.7431024 with two productive continuations rather than empty restarts.
rejected by the installed Pylint; focused code lint passed with only those
configuration diagnostics disabled. GitHub CI remains the authoritative check.
Limits / follow-up
Costs are configured API-equivalent estimates including caching, not subscription
billing. In-flight usage can overshoot before the next completed response record.
The paid validation runs exercised remainder stopping, not the live hard-kill path;
that path has deterministic native-record/container coverage.
Status-file warnings are advisory, not guaranteed live steering. App Server steering
is deferred. Session/status files are not a security boundary against a deliberately
malicious agent. Existing retry telemetry retains some final-attempt fields and
separate prior-attempt totals; use native logs for full-run timing/token analysis.
The next stacked PR adds end-to-end fake-CLI coverage and an opt-in standalone
integration_tests/check_codex_budget.py live diagnostic. No environment changes,
model/pricing changes, credentials, private seeds, or experiment artifacts included.