refactor(doto): orchestrate benchmark runs with Codex Skills - #20
Open
gaoxiaobei wants to merge 16 commits into
Open
refactor(doto): orchestrate benchmark runs with Codex Skills#20gaoxiaobei wants to merge 16 commits into
gaoxiaobei wants to merge 16 commits into
Conversation
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
Reworks the 23rd DOTO integration from a framework-owned LLM harness loop into a Codex-orchestrated benchmark built from versioned Skills and deterministic atomic tools.
Codex now decides which public-training evidence to inspect, what complete
playerAI.cppchild to create, whether another iteration is justified, and which complete training version to select. AgentBenchFramework no longer owns an API client or automatic LLM iteration loop.What changed
Harness → four Codex Skills
doto-benchmark-run: authoritative Run lifecycle, training selection, one-shot finalization, validation, and exportdoto-game-rules: official mechanics, observations, legal macro-actions, action mask, terminal states, and strict KL supportdoto-agent-authoring: fixed native SDK contract and safe completeplayerAI.cppauthoringdoto-replay-reader: replay/trace schemas, events, evidence joins, and diagnosisThe old
llm_client.py,loop.py,loop_config.py,doto loopcommand, loop example, and loop tests are removed. Build, match, replay, evaluation, IG, and lifecycle interfaces remain available for Codex to call.Human population and evaluation
doto-human-43-v1Atomic authoritative lifecycle
The
runanditerationcommands provide explicit state transitions:Completed cells are immutable. Build failures, timeouts, crashes, protocol errors, corrupt evidence, missing cells, and incomplete matrices remain explicit rather than being converted into ordinary losses or valid scores.
Metrics and Results
DOTO's continuous joint action space keeps strict deterministic KL semantics:
0;infinite, stored with numericvalue: nulland a reason;missingwith an exact reason.No score gain, coordinate distance, or action-change rate is relabeled as IG.
The complete authority is written to the independent
DotoResultsrepository. The unchangedAgentBenchResultsformat receives exactly five derived files:run.tomlsummary.jsonscore_curve.jsonig_curve.jsondoto_results_ref.jsonRecommended Codex prompt
docs/doto-harness.mdnow documents the zero-touch entry point: open the sharedAgentBenchmarkdirectory in Codex and send one copy-ready task. Codex locates the PR worktree or merged Framework checkout, reads all four Skills, prepares both pools, initializes the Run, iterates on public evidence, fixes the candidate before one sealed test, validates DotoResults, and exports the AgentBenchResults projection without manual commands.Verification
quick_validate.pyDocumentation
docs/doto-harness.mddocs/doto-official-acceptance.mdskills/doto-benchmark-run/SKILL.mdskills/doto-game-rules/SKILL.mdskills/doto-agent-authoring/SKILL.mdskills/doto-replay-reader/SKILL.md