8000 Add RHO: the rho template and Evolver, with a LIBERO example by iamziyuzhao · Pull Request #135 · Infini-AI-Lab/hermit · GitHub
[go: up one dir, main page]

Skip to content

Add RHO: the rho template and Evolver, with a LIBERO example - #135

Draft
iamziyuzhao wants to merge 4 commits into
mainfrom
ziyu/rho
Draft

iamziyuzhao wants to merge 4 commits into
mainfrom
ziyu/rho

Conversation

@iamziyuzhao
@iamziyuzhao iamziyuzhao commented Nov 29, 2026 •
Copy link
Copy Markdown
Collaborator

Change

RHO (RHO: Your Coding Agent is Secretly a Roboticist, arXiv:2606.16458;
project; code: HELIX) learns a robot policy as a
multi-file Python repository. In training, a coding-agent mutator reads a parent repository's per-instance
diagnostics, runs programs in the robot environment and edits the repository; HELIX, RHO's optimizer, keeps a child
that beats its parent on the paired training minibatch and on a staged validation, on an instance-level Pareto
frontier. At deployment the frozen repository runs once per episode with no model in the loop (the paper's S4
surface).

This PR adds RHO as a method. The rho Evolver runs HELIX's own code (helix-evo 0.4.0, pinned to
417ef2e in a new rho dependency
group) at its seams, through Hermit's existing interfaces (AgentEvolver, chooses_tasks and next_tasks,
run_agent, check_spec, Training State). A LIBERO example gives the training, validation and test configs, with the
splits kept apart by seed. The method page is docs/methods/rho.md, and the example's
README gives the splits and commands.

What it adds

Part Files What it is
Evolver rho evolver.py, evolver.yaml, prompts/workspace.md An AgentEvolver, one HELIX generation per training step. It calls HELIX's ParetoFrontier, select_candidate, StratifiedBatchSampler (or EpochShuffledBatchSampler), the acceptance criteria with judge_acceptance, and build_mutation_prompt, all on one random.Random(rng_seed) kept in Training State (state/rho.json) between steps. It declares chooses_tasks: each step's two instances are HELIX's minibatch.
Template rho hermit/adapter/templates/rho/ solver/, the policy repository (main.py with run(task), its modules and notes); the fixed contract README.md, exports.yaml, and .hermit/ with bundle.py (the repository as one ASPIRE program, standard library only) and check.py.
Acting function policy.py hermit.agent.evolver.methods.rho.policy:run bundles the adapter with the template's own bundler (never the adapter's copy) and hands the program to the cap-harness judge as fix_code. It uses no model (supports = ()).
Rows and splits rows.py, tasks.sh Instance rows <suite>-t<task>__s<seed> (HELIX's <task_family>__<trial_id>), the test rows, and the REaaS rows. It refuses seed sets that meet.
LIBERO example examples/libero/rho/ run.yaml (lane 1), run_warm.yaml (lane 2), run_luna.yaml, smoke.yaml, objective.md, background.md, RHO's own task-info/, launch.sh, and a README with the splits.
Judge diagnostics judge.py For a row with diagnostics: true (RHO's training rows), the cap-harness judge returns side_info: the feedback, whether the task was completed, and each seed's outcome and per-primitive trace (sim.digest). The score is unchanged.
Tests tests/methods/rho/ 32 tests (Validation).

Core changes. None to framework behaviour, and none to the agent layers, the Trainer, the sandbox or the
environments. The shared files change by registration lines only:

  • pyproject.toml: the rho group, included in all;
  • hermit/agent/evolver/dependencies.py: the group's install hint;
  • .github/workflows/tests.yml: --group rho;
  • tests/selection.py: the rho group's paths;
  • tests/core/test_selection.py: LIBERO's and the engine's shared files now also select rho, as they select aspire.

The template

The template is new: no existing one fits. prompt-only is one instruction file; aspire is a skill library an actor
model reads while it writes programs; continual-harness and meta-harness-adapter are read by a model in the loop.
RHO's deployed policy has no model: the repository is the program.

  • What the learner may change: solver/** only. solver/main.py holds run(task), the entry point, called once
    per episode with get_task_context(). The other *.py files are modules, bundled before main.py into one
    namespace. *.md files are notes, kept and never run.
  • What is fixed: README.md (the contract the mutator reads), exports.yaml (nothing is exported) and
    .hermit/. check_spec refuses a change to them, and more than 64 files or a file over 200,000 bytes under
    solver/ (adapter.yaml). Through .hermit/check.py it
    also refuses what bundle.py's problems refuses:
    • anything the harness would refuse: an import other than math, a class, with, global, nonlocal, del,
      async, a from import, or a name or attribute that starts with _;
    • a top-level name defined in two modules (a function, an import, or a name bound with =, := or a match
      pattern; setting an item of a shared object, or a +=, defines nothing), a top-level loop's variable or
      except ... as name that reuses another module's name, or a run that cannot take the task context alone;
    • a link, a data file, or a module or note that is not UTF-8;
    • a bundle over 1,000,000 bytes.
  • What reaches the acting agent: the bundled program alone (fix_code), which the engine's judge runs on the
    row's seeds.
  • The seed (the template's solver/) follows the paper's Skeleton seed (A.1.5): a keyword router on the
    instruction, stub routines for articulated objects, switches and pick-and-place, and shared helpers. It moves
    nothing, so it scores 0.

One step

flowchart TD
    B[bootstrap: the seed g0-s0 on the whole validation split, the first candidate of the frontier] --> N
    B -->|a run failed| E[the bootstrap fails: the first step stops the run]
    N[plan a generation: HELIX's select_candidate on the frontier, its stratified sampler, one rng, the candidate id, and the parent written into the adapter] -->|StepResult.next_tasks| R[the Trainer runs the parent on the minibatch: each instance's score and side_info]
    R --> K{a run of the parent's failed, or the parent at 1.0 on every instance?}
    K -->|yes: skipped| N
    K -->|no| M[mutator: one Codex session on the parent's repository, HELIX's mutation prompt, a simulator workspace per training task]
    M --> C{the program changed and the repository passes the template's check?}
    C -->|no| X[rejected unscored]
    C -->|yes| G[run_agent: the child on the same minibatch, then judge_acceptance against the parent]
    G -->|fails, or a run failed| X
    G -->|passes| S[run_agent: the child on the first val_stage_size validation ids, against the parent's scores there]
    S -->|fails, or a run failed| X
    S -->|passes| V[run_agent: the rest of the validation split]
    V -->|a run failed| X
    V --> F[the child joins the instance-level Pareto frontier]
    F --> N
    X --> N
    N -->|after max_generations, or a validation mean at stop_at_score| D[stop, then finalize: the frontier's best mean validation score in the adapter]
Loading
  • What it reads: the step's rollout r 8000 ecords (the parent on the minibatch: each instance's score and
    side_info), Training State, the objective and background files, and the validation ids (access/validation)
    to pass to run_agent.
  • What it calls:
    • the mutator: the Base Agent's CLI session through AgentEvolver.step, in the evolver sandbox;
    • check_spec on the child;
    • run_agent: the seed on the validation split (bootstrap), then the child on the minibatch, the validation stage
      and the rest of the validation split;
    • the engine's prepare, for the REaaS workspaces.
  • What it writes: the next parent into the adapter (the step's commit), state/rho.json (after a session, the
    state directory holds it alone), output/mutation_prompt.md, output/child/ and output/report.md.
  • The final adapter: finalize writes ParetoFrontier.best(), the highest mean validation score, a tie going
    to the candidate admitted first (the paper breaks ties by validation coverage: a row in the table).

The authors' implementation against this one

Dimension RHO (HELIX 0.4.0, the paper) This port Why
The loop helix/evolution.py: per generation, select a parent, draw a minibatch, mutate, gate, validate, add to the frontier the same calls at HELIX's seams, one generation per Trainer step; HELIX's frontier, sampler, selector, acceptance and prompt are its own code the Trainer's step; HELIX's code where it is a function
The seed repository generation 0 is a coding-agent-authored Skeleton seed (A.1.5): a prompt-keyword router, per-task solver stubs and shared helpers, the benchmark's entry point exposed the template's solver/: a keyword router on the instruction (articulated, switch, pick and place) to stub routines, and shared helpers; it moves nothing, so it scores 0 the paper's LIBERO seed is not in HELIX's repository: the Skeleton design for LIBERO's kinds of task
The policy program a multi-file Python package (main.py, common.py, robotics.py, tasks/) that imports the standard library and numpy and has _-named helpers (the deployed artifact, A.1) the same layout, bundled into the one program the harness runs, under ASPIRE's program rules: only import math; no class, with, global, nonlocal, del, async or from import; no name or attribute starting with _; the modules share one namespace the engine runs a candidate as one ASPIRE program under its validator, as it runs every method's: no numpy (geometry with math) and no classes or private helpers, which the template's README tells the mutator
Randomness one random.Random(rng_seed) for the frontier, the selection and the sampler the same, its state and the sampler's kept in Training State between steps Training State between calls
The parent's minibatch scores a fresh evaluation of the parent every generation the step's rollouts: the parent run on the minibatch by the Trainer the same evaluation, run by the Trainer
Minibatches across an epoch the sampler's epoch; with tasks not a multiple of the tasks per minibatch, its stratified epoch drops a task's slot each round and reshuffles early the sampler's draw, but an instance the Trainer's epoch already ran is replaced by a remaining one of its task (the plan records sampled and adjusted); on LIBERO's 30 tasks with two per minibatch the two epochs are the same the Trainer runs each training task once per epoch
Final selection the highest mean validation score on the terminal frontier, "with ties broken by validation coverage" (§3) HELIX's ParetoFrontier.best(): the highest mean over every candidate admitted (its storage is append-only), a tie going to the one admitted first HELIX's code; with success scores (0 or 1 on each of 210 instances) a tie is plausible, and the earlier candidate is chosen
Staged validation the first val_stage_size validation ids in the dataset's own order (a JSONL file's lines, or a folder's file names sorted: HELIX's robotics example names them <task>__<trial>, so task by task), against the parent's frontier result the same, in data.val's order, which rows.py lists seed by seed so that the first 45 cover all 30 tasks the paper takes "the first 45 deterministic validation IDs" but does not give its LIBERO ids; task by task, the first 45 would be the trials of the first seven of the 30 tasks: a decision
Mutation prompt and launch build_mutation_prompt; the backend launched with one line naming the prompt file the same function and line; the background is the run's, then a page of this workspace and its simulator —
Objective and background the run's objective, verbatim in A.1.4: "Maximize the environment-provided shaped reward for simulated Franka manipulation tasks. ..." (no benchmark named: the paper does not tell the agent which benchmark it is solving), and a background of the API pointer, the runtime primitives, a closed-loop preference, integrity rules and observable verification gates objective.md is the paper's objective, with task success for the shaped reward and solver/main.py run(task) for solver.main.run(ctx); background.md has those parts for this harness (its API reference and the benchmark's page in the simulator workspaces) the score is success; the template's entry point
The benchmark's name not told to the agent (A.1.5) not in the objective, the background or RHO's task info; but the rows carry the engine's benchmark key (libero-pro, its name for LIBERO and LIBERO-Pro) and LIBERO's suite names, and each simulator workspace's benchmark page (ASPIRE's docs/libero-pro.md, cut by the engine before its worked solutions) is titled LIBERO-Pro; its recorded-run example and the run-artifact page's command examples name perturbed suites, test tasks among them (libero_object_swap task 0 on seed 1, a test seed, in the saved-state mode rather than the test's seeded scenes; libero_goal_swap task 0), with no instruction or result the engine runs a row by its benchmark (its profile, its page, the judge's simulator), and the page documents the scene, the robot and the frames. The mutator can tell the benchmark and that perturbed suites exist, not what the test's perturbations are, and it cannot run one (the service refuses every row but its workspace's training task)
Diagnostics each minibatch instance's side information (A.1.2, A.1.4): a gpt-5.1 judge's five capability scores with their evidence, its failure hypotheses, next experiments, behaviour to preserve, API-misuse notes and an integrity warning (its hard-coding flag caps the scores), with task_completed, a diagnostic_focus, the top-K accepted ancestors' history and the visual-difference narration; the judge's channels never enter acceptance the engine judge's evidence: task_completed, the seed's outcome (success, whether the program ran, how the episode ended, its steps, its error), the trace of every primitive call, the program's result and stdout; no model reads the run, and no top-K history or visual-difference narration is built (the learning material holds every earlier step's records of its training instances: the Isolation row) the paper's evaluator and its judge prompt are not in HELIX's repository (the prompt is in the paper's supplementary artifact); the engine records the calls and keyframes. The mutator reads the raw evidence instead of a model's reading of it, and no integrity warning reaches it; acceptance and selection are as in the paper
The mutator HELIX's backend CLI in a fresh worktree, Codex on gpt-5.5 at xhigh, 150 turns the framework's Base Agent on the adapter in the evolver sandbox, a fresh home per mutation; the turn budget in the prompt, and a hard cap for Claude Code (--max-turns, its limit a partial success, as HELIX takes it) and for Hermes (its agent.max_turns: a session it cuts off fails and its edits are discarded, since Hermes's record does not tell its limit from a model that stopped answering) the three agent layers
The robot environment in training REaaS: reset, observe, call (one primitive), run (a candidate), vdm bin/sim in a workspace per training task: whole episodes of a program on that task's training seeds, with the trace and keyframes of each; a probe program (one call, printed) stands in for call and observe; no visual-difference module the engine's service runs programs, not a live scene
Isolation the evaluator, the REaaS and the mutator separated; the agent's sandbox omits the validation ids (omit_from_agent in HELIX's robotics example) the judge on the host; the simulator service outside the evolver sandbox, on the training seeds; the learning material shown to the mutator (/w/material: every step's records of its two training instances, the program that ran included, and each step's minibatch mean); the validation rows (ids, tasks, seeds: there are no labels) shown to the mutator, their scores not: out of the session's view and out of the commit messages, whose generation outcomes name the gate that rejected a child, never a score; the test split never given to the Evolver. A warm restart's starting adapter (lane 2's: lane 1's checkout) carries lane 1's card, which names lane 1's best and seed validation means, and its test mean once lane 1 is evaluated: the README evaluates lane 1 only after lane 2 has finished the framework's sandboxes; the evolver sandbox shows every learner the learning material and the validation rows; a start_from adapter is taken whole, its card included. The mutator can read every earlier generation's parent on its minibatch, which HELIX's mutator never gets, all of it on training instances
Tamper and validity the worktree's diff; changes to protected files fail the mutation; a child that changed nothing is scored like any other (its snapshot is the parent's commit) the template's check: only solver/ changes, under the harness's program rules; a child that changed nothing, or only its notes (the same bundled program), is rejected unscored the template's fixed paths; an unchanged child is its parent (the same program on the same seeds): with ties admitted it would join the frontier a second time and spend the validation split on a known program. A child with only new notes is that program too: with strict improvement (lane 1) HELIX would reject it at the minibatch gate (the same program, the same scores); with ties admitted (lane 2) it would admit it after its minibatch and the 210 validation episodes (45 staged, then the other 165) and carry its notes forward, which the port does not
A run that failed an evaluator call that raises: the seed's ends the run; a parent's skips the proposal (MutationFailedProposal); a child's minibatch evaluation rejects the child (ChildEvalFailedProposal); a child's validation is not caught, and the run ends a run of the Trainer's that failed (its status error or judge_error, scored 0.0), or a run_agent call that raised: the seed's fails the bootstrap and the first step stops the run; a parent's skips the proposal; a child's, on its minibatch or its validation, rejects the child the Trainer records a failed run as a 0.0 with its status instead of raising; that 0.0 is no score of the program, and in the frontier it would rank the candidate below what it is. A failed validation rejects the child instead of ending the run
A call the Trainer stops none: HELIX has no clock on a generation (a backend that times out is a failed mutation, and the generation is spent) the step fails, with the session's usage and Training State as at its start; the next step runs the generation again (its parent, its candidate id, a new session) on the two instances the Trainer takes next from its shuffled order the Trainer commits nothing of a failed step and takes none of its next tasks, so the next step's parent is the one committed and its minibatch the Trainer's; trainer.call_timeout_min must hold a session and the child's validation
Score the environment's shaped reward in [0, 1] success, 1.0 or 0.0 per instance the engine scores the task's own success check
LIBERO's instances 30 tasks × 50 initial states: 1,290 training, 210 validation; LIBERO-PRO's 6 cells × 500 trials 30 tasks × seeded scenes: seeds 51-93 for training (1,290), 94-100 for validation (210); LIBERO-Pro's 60 tasks × the benchmark's held-out seeds 1-50 (3,000 episodes) the engine runs seeded scenes; LIBERO's fixed states fail at the pinned harness (the benchmark's README)
The reported run lane 1: strict improvement, no staged validation, 31 generations through g31-s31; lane 2 re-seeded from g31-s31: ties admitted, staged validation on 45, two tasks of one instance, 32 generations; selected g32-s32 run.yaml, then run_warm.yaml from lane 1's final adapter, which is lane 1's best validation candidate (the paper's lane 2 started from g31-s31, which it does not say was the best) the paper's settings (A.2.7)
Models Codex, gpt-5.5, xhigh Codex on GLM 5.3 Flash at medium (run.yaml), or on GPT-5.6-Luna at medium (run_luna.yaml) the framework's first-evaluation row
Not ported — merge (off in the paper's run), the sibling history (off by default), a seedless start, Robosuite and the O3DE benchmark scope

The protocol

Train, validation and test, with the final adapter evaluated frozen on the test split, as in the paper (§4, A.2.7).
Every instance is one task on one seed, a scene of its own (--init-mode seeded). tasks.sh writes the splits and
records them in splits/rho.json. rows.py refuses seed sets that
meet.

Split File Instances Seeds Who runs it What the learner sees of it
train splits/train.txt 30 tasks (libero_object, libero_goal, libero_spatial) × 43 = 1,290 51-93 the Trainer, two per step (HELIX's minibatch) the parent's scores and the judge's diagnostics on the step's two instances, and every earlier step's records in the learning material
val splits/val.txt the same 30 tasks × 7 = 210, listed seed by seed (the first 45 cover all 30 tasks) 94-100 the Evolver only, through run_agent the rows (ids, tasks, seeds), which the evolver sandbox shows every learner; never a score. The simulator refuses their seeds.
test splits/test.txt LIBERO-Pro's 60 tasks (libero_{object,goal,spatial}_{swap,task}) × 50 = 3,000 episodes 1-50 launch.sh eval --adapter final, the adapter frozen: eval/final/ and the card no row or instruction; the staged pages in the simulator workspaces are titled LIBERO-Pro and run libero_object_swap task 0 on seed 1 (a test task on a test seed, in the saved-state mode), and the run-artifact page names libero_goal_swap task 0 too (see the learning-boundary item)
test_base splits/test_base.txt the 30 training tasks × 50 = 1,500 1-50 launch.sh eval data.test=splits/test_base.txt --adapter rho-libero-warm/final, the same adapter by its tag: eval/rho-libero-warm_final/, never the card nothing
reaas splits/reaas.jsonl one row per training task 51-93 the simulator service, for the mutator's workspaces its own runs, on the training seeds only

The splits are disjoint by seed, not by scene. As the benchmark's README notes, a seeded scene is not guaranteed
distinct: where a task's placement leaves little room, two seeds can give the same layout. The test split's tasks are
not training tasks; test_base's are.

The first evaluation's settings

Not run yet. This PR stays a draft until the first evaluation's row is here (the guide's rule). The planned row:

Setting Value
Acting none: the repository itself (S4), bundled by the template's bundler
Learning model GLM 5.3 Flash (fireworks/accounts/fireworks/models/glm-5p3-flash) at effort medium, through Codex (run.yaml, run_warm.yaml); or GPT-5.6-Luna at medium on the ChatGPT login (run_luna.yaml)
Harness the cap-harness engine on ASPIRE fa00f0e (.venv-libero), the simulator on the host with --init-mode seeded; the mutator's REaaS through the engine's simulator service
Starting adapter the template's seed repository
Data train 1,290 (seeds 51-93), val 210 (seeds 94-100)
Search Lane 1 (run.yaml): strict improvement, no staged validation, stratified sampling of 2 tasks × 1 instance, 31 generations. Lane 2 (run_warm.yaml): starts from lane 1's final adapter, improvement_or_equal, staged validation on 45, 2 groups × 1, 32 generations. Both: 150 turns, rng_seed 0.
Evaluation splits/test.txt: 3,000 episodes, one pass, success rate; test_base (1,500) in distribution, by the final adapter's tag so that its records and the card stay the test split's
Baselines on the row the seed repository on the same split (launch.sh eval --adapter root). ASPIRE's and prompt-only's run_pro.yaml score the same 60 tasks among their 80, on the same seeds with the same judge, but after training on those tasks themselves.
Budget trainer.budget: {usd: 1500, hours: 600} per lane, call_timeout_min: 720

How this differs from the paper's row:

  • seeded scenes instead of LIBERO's fixed states, which fail at the pinned harness
    (NVlabs/ASPIRE#31);
  • success instead of shaped reward;
  • no interactive REaaS or visual-difference module;
  • GLM 5.3 Flash or Luna instead of gpt-5.5 at xhigh.

The result will record the framework commit, the configs, the model ids and effort, the Codex version, the ASPIRE
commit, the concurrency, spending and time, and the uncertainty. At 3,000 episodes, a pass rate near 0.5 has a
standard error of 0.9 points, a 95% interval of about ±1.8 points, if episodes were independent, and wider once they
are clustered by task.

Application-side changes

  • The cap-harness judge's side_info for diagnostics: true rows, and the engine README's judge row.
  • examples/libero: the README's folder table and run line, .gitignore (rho/tasks/, rho/splits/), and the
    utils/launch.sh header.
  • CI and tests: --group rho, tests/selection.py, tests/README.md, and tests/claude_stand.py: the stand-in
    claude takes a run entry (a shell command its session runs from its working directory, its exit code and
    output recorded), for the sandboxed REaaS test.

What is left out

  • HELIX's merge (off in the paper's run), its sibling history (off by default) and its seedless start.
  • The interactive REaaS (reset, observe, a single primitive call), the visual-difference module, and shaped reward.
  • Robosuite, the O3DE benchmark, LIBERO's fixed initial states, and LIBERO-Long (the paper's LIBERO run uses Object,
    Goal and Spatial).
  • The paper's model (Codex on gpt-5.5 at xhigh): the configs use the framework's first-evaluation models.

Validation

Everything below ran on this machine (Linux, bubblewrap, Python 3.12), in a venv with the rho group (HELIX
417ef2e).

  • python -m pytest tests/methods/rho tests/core/test_selection.py --durations=4: 42 passed (the 32 RHO tests and
    the 10 of test_selection.py) in about 42 s on a loaded machine. The slowest are the two sandboxed stand-in runs
    (11.7 s and 6.5 s) and the Trainer run (4.9 s).

  • The whole suite at this head, in five groups side by side (below, the two method groups are one row): 1,845
    passed, 174 skipped, 8 failed.

    Group Passed Skipped Failed
    core 1,079 89 3
    robot (RHO, ASPIRE, the cap-harness engine, RoboDojo-Sim) 85 5 0
    methods 585 57 2
    examples 96 23 3

    Seven of the failures are the earlier rounds', test for test, and they fail the same way on main 899597b in this
    venv (run with hermit imported from a clean worktree), and main's CI passes them. They come from this venv:

    • test_harbor_environment.py::test_rrsi_sees_a_harbor_rollouts_failure_and_a_cli_model_is_refused_for_harbor and
      the two test_harness2_on_pi.py::test_what_a_pi_session_spent_is_kept_when_it_times_out_or_is_stopped cases:
      no rrsi or harness2 package here.
    • The three examples/clbench_database/utils/tests/test_parity_golden.py tests: no mwm package here.
    • test_sandbox.py::test_a_linked_venv_runs_by_its_own_name_with_its_own_packages: this venv's path contains
      .venv, which the test's "env" in a check matches.

    The eighth, test_harbor_environment.py::test_a_commands_process_group_is_killed_from_its_pid_file_and_checked_gone[bash],
    timed out: its script scans every /proc/*/stat (3,300 processes on this machine) and ran past its 30 s limit on
    the loaded machine. Run again alone it passed (both cases, in 32 s), and this PR does not touch Harbor.

  • CI on this head: passed. --changed selected every group (the workflow file changed): 2,031 passed, 132
    skipped, none failed, all 32 RHO tests among them, the bubblewrap ones included. On 4861c3b: the same counts; on
    6874f9a: 2,029 passed and 132 skipped; on the first head (e7dfde1): 2,023 passed and 132 skipped.

  • Mutation checks, in a worktree at this head with its own hermit (PYTHONPATH). Each guard was removed in
    turn and its test run. A guard counts as caught only when its test failed (not when pytest errored), and each test
    passed unmutated first. All 47 were caught:

    • round 3's fixes: a match case body is top-level code; := and a match pattern's captures define names; an
      except ... as name may not reuse another module's; a function's body is not module scope;
    • round 2's fixes: run.yaml's header evaluates test_base by the tag; the configs shuffle the Trainer's own
      order; a notes-only child is rejected unscored; setup needs ASPIRE_SIM_URL and asks the service's /health;
      workspaces not made fail the mutation; a subscript or attribute target, a += and a loop define nothing; a loop
      may not reuse another module's name; a loop's result is warned of;
    • round 1's fixes: a failed run is no score (in the child's evaluation and in the seed's validation); a parent's
      failed run skips the proposal; a child whose evaluation failed is rejected and the search goes on; a stopped call
      fails the step; a budget reached is out_of_budget; no state stops the run; nothing the session leaves in
      state/ is kept; a closed folder is opened before removal, and in the child before it is read; a failed restore
      fails the step; the simulator's URL in the sandboxed session, and bin/bundle naming the adapter as the sandbox
      shows it; the README's evaluations keep their own records;
    • the guards round 1 moved or reworded: the tamper undo, Training State out of the session's view, the
      perfect-parent skip, and the unchanged child rejected unscored;
    • the earlier ones, rerun there: within's own-task pass; the staged-validation gate, the minibatch gate and
      the child's template check; the fresh agent home, and Claude's turn limit as a partial success; no validation
      score in the summary, and the writable simulator workspaces; disjoint seed sets, and REaaS rows on the training
      seeds; UTF-8 notes, and the judge's per-seed evidence; each config's own task info, and learner-visible texts
      that name nothing of the test split.
  • hermit check --no-probe on smoke.yaml, run.yaml, run_warm.yaml and run_luna.yaml: all pass, with only the
    standard validation warning. ASPIRE_ROOT and ASPIRE_DOCS pointed nowhere, FIREWORKS_API_KEY=dummy, and
    run_warm.yaml's start_from was a copy of the template.

  • The acting function in the real task sandbox (agent_pipeline(confi 8000 g, "check") on smoke.yaml, the first
    training instance), at this head: it bundles the seed (7 modules, 3,496 bytes), and its launch record shows
    probe.passed: true and network: isolated.

  • ASPIRE's pages that the simulator workspaces stage and the docs describe (api-reference.md, run-artifacts.md,
    libero-pro.md) were compared byte for byte with a clone at fa00f0e: the same.

  • Docs: HERMIT_DOCS_INCLUDE_DRAFTS=0 python -m sphinx -b html -W --keep-going docs <out> passes.

  • pyflakes on the new code reports only the template's shared-namespace names (the bundle's one namespace,
    intended), the noqa'd availability import and the noqa'd stand fixture import.

Not verified here:

  • The lite smoke (the guide's step 3) and the first evaluation (step 4). This machine's only ASPIRE clone (fa00f0e)
    is not bootstrapped for LIBERO (no .venv-libero, .venv-graspnet or .libero), and its providers are not
    served. So no real episode, real mutator session or real simulator-service run was made.
    • The REaaS path ran against the engine's own fake service, in bubblewrap: from the Evolver directly, and from
      inside the Trainer's evolver sandbox through the stand-in claude's session.
    • The mutator ran against a scripted AgentEvolver.step and, in the evolver sandbox, against the stand-in
      claude, which replays recorded streams.
  • Codex as the mutator in a real session (the configs' backend), and macOS.

To reproduce the smoke:

  1. Set up ASPIRE at fa00f0e with scripts/bootstrap_libero.sh and scripts/bootstrap_graspnet.sh, and serve its
    providers (SAM3, Contact-GraspNet).
  2. Have a GPU (ASPIRE_SIM_GPU), bubblewrap, and FIREWORKS_API_KEY (or the ChatGPT login for run_luna.yaml).
  3. pip install -e . --group rho, then in examples/libero/rho: ASPIRE_SIM_GPU=0 ASPIRE_CONFIG=smoke.yaml ./launch.sh.

Review

  • Tests and documentation cover the affected behavior, where applicable. The tests are in Validation. The docs
    are docs/methods/rho.md, the example's README, the methods index, the engine README's judge row and the
    CHANGELOG.
  • Commands, defaults, and public interfaces are consistent: evolver.name: rho, template: rho, --group rho.
    The README's commands are launch.sh's, with overrides before --adapter. evolver.yaml takes RHO's reported
    settings where the paper gives them and HELIX's defaults elsewhere, each commented.
  • Agents follow the agent layers. The mutator is the Base Agent's CLI
    session (Layer 2) run by AgentEvolver.step (Layer 3), its model from evolver.model (Layer 1). No model is
    called elsewhere, and no agent class is added. The acting function uses no model.
  • Shared logs and examples contain no credentials or private data. The configs read FIREWORKS_API_KEY from
    the environment, and no run records are committed.
  • Documentation-only: not applicable (this PR changes code).

General checklist

  • Core changes. See "Core changes" under Change: registration lines only.

  • Agent layers. As above. The Evolver declares needs: [validation_data], and the acting function declares
    run.supports = ().

  • Implementation correctness and failures. Traced:

    • A session that failed is HELIX's failed mutation: nothing is scored and the generation is spent. Claude's
      error_max_turns is a partial success, as HELIX takes it; a Hermes session its agent.max_turns cuts off fails
      (Hermes's record does not tell its limit from a model that stopped answering).
    • A child that fails the template's check is rejected unscored, and so is one that changed nothing or only its
      notes, whose program is its parent's (HELIX would score it: a difference, in the table).
    • A run that failed (the Trainer's status error or judge_error, scored 0.0) is no score of the program:
      • in the seed's validation it fails the bootstrap, and the first step, finding no frontier, stops the run;
      • in the parent's minibatch it skips the proposal (HELIX's parent evaluation that raised);
      • in the child's minibatch or validation it rejects the child, as HELIX rejects a child whose evaluation raised,
        and so does a run_agent call that raised (a missing result). The generation is spent and the search goes on
        from HELIX's next draw.
    • A step the Trainer stops (its tools refuse) returns failed, and one whose child's evaluation reaches the run's
      budget returns out_of_budget. Either way it has the session's usage, and Training State stays at the step's
      start. A cancel between stages returns failed with the usage too. After a failed step the Trainer takes none of
      its next tasks, so the next step runs the generation again (its parent and candidate id, a new session) on the
      two instances the Trainer takes next from its own order, which the configs shuffle (data.shuffle: true).
    • A run with reaas does not start without the simulator service: setup checks ASPIRE_SIM_URL and the
      service's /health before the bootstrap's validation. Workspaces the service cannot make in a later step, or in
      a resumed run (setup runs only at a run's start), fail that mutation, HELIX's failed mutation; a service lost
      for good fails every later one, and the search ends at max_generations with what it had found.
    • Whatever ends the generation, the parent is put back in the adapter from its in-memory snapshot, and the state
      directory is emptied of what the session left there (notes, folders, a folder it closed) and holds Training State
      alone. When the adapter cannot be restored, the step fails with the session's usage, and the Trainer commits
      nothing of it.
    • The bootstrap refuses an empty or overlapping validation and training set.
    • The parent is matched to the committed adapter.
    • max_generations and stop_at_score end the search with stop, which needs trainer.allow_early_stop.
  • Real execution paths and tests. Covered:

    • the Trainer's train() with a scripted mutator, and with a judge that fails the seed's validation;
    • the Trainer, the evolver sandbox and the Base Agent's Claude Code path, with the stand-in CLI;
    • the REaaS through the engine's prepare and its fake service, and from inside the evolver sandbox: the stand-in
      session bundles the repository with bin/bundle, runs the training seeds through bin/sim (the service's URL
      kept, its port forwarded) and is refused seed 1;
    • the acting function in the real task sandbox;
    • hermit check on the configs.

    The simulator and a real model are not exercised (Validation).

  • Documentation. New: docs/methods/rho.md, examples/libero/rho/README.md,
    examples/libero/rho/task-info/README.md. Changed:
    docs/methods/index.md (two rows), docs/index.md (toctree), examples/libero/README.md,
    examples/cap_harness/README.md (judge row), tests/README.md, CHANGELOG.md.

  • This description. Read end to end against the code at 1190d05.

  • Independent review (post-PR audit). One audit per update, by an independent agent (Opus 5.5 at max effort)
    against the general, method-reproduction, test and sandbox checklists.

    • Round 1, on e7dfde1: no P1, 5 P2 and 7 P3, all fixed in 6874f9a:
      • P2: a run that failed (status error or judge_error, scored 0.0) fed the gates and the frontier as a
        score. Now it is no score of the program (the table's "A run that failed" row).
      • P2: the table left out two differences. The paper's diagnostics come from a gpt-5.1 judge (capability scores,
        an integrity warning, the top-K history), and the paper's program imports numpy and has _-named helpers. Now
        the Diagnostics row says so, and a new "The policy program" row.
      • P2: the README's second evaluation (test_base with --adapter final) replaced the test split's records in
        eval/final/ and its row on the card. Now it goes by the final adapter's tag, and the config test holds that
        each evaluation keeps its own folder.
      • P2: only state/rho.json was kept from the session. A note the session left in state/ reached every later
        generation's session, and a folder at rho.json.tmp stopped every later step. Now the state directory is
        emptied after the session, and Training State written back alone.
      • P2: the REaaS path inside the evolver sandbox had no test. Now the sandboxed REaaS test covers it.
      • P3: four differences were missing or misstated, and each is now a row or a note in the table and the docs:
        • the unchanged child's rejection was credited to HELIX, which scores it;
        • the staged validation's order is a decision (HELIX's robotics example lists its ids task by task);
        • the mutator can tell it is on LIBERO-Pro;
        • lane 2's mutator can read lane 1's card, so the README evaluates lane 1 only after lane 2 has started.
      • P3: a child whose evaluation failed was retried on an unstratified minibatch, with a second session. Now the
        child is rejected and the search goes on, as in HELIX.
      • P3: a folder the session closed (mode 000) made the restore raise, and the session's usage was lost. Now closed
        folders are opened before removal, and a restore that fails fails the step with the usage.
      • P3 (a question): Hermes's turn cap discards a cut-off session's edits, unlike Claude's. Answer: Hermes's record
        does not tell its limit from a model that stopped answering. This is in the table and evolver.yaml now.
      • main's own, not changed here: the engine's sim.py records a seed with no result as task_success: False
        with status ok, so a simulator crash there reads as a failed episode rather than a failed run.
    • Round 2, on 6874f9a: no P1, 1 P2 and 7 P3, all fixed in 4861c3b. Of round 1's ten fixes, eight held and two
      were incomplete (the first two below).
      • P2: run.yaml's header still gave the test_base evaluation as --adapter final (the README's was fixed).
        Now it goes by the final adapter's tag, and the config test reads every config's header as well as the
        README's commands.
      • P3: a step that failed (a timeout, a cancel, a restore that failed) ran its generation again on the Trainer's
        next two instances in train.txt's order, two seeds of one task, with a second session. Now the configs
        shuffle that order (data.shuffle: true), so the rerun takes two instances at random, and the method page
        says how the generation runs again.
      • P3: a child that changed only notes has its parent's program, and with ties admitted it was scored and could
        join the frontier. Now it is rejected unscored, as an unchanged child is. The table gives the effect on each
        lane.
      • P3: with reaas and no simulator service, the bootstrap ran its 210 validation episodes, and then every step
        raised while the run went on. Now setup checks the service first, and workspaces the service cannot make
        later fail that mutation.
      • P3: the bundler refused REGISTRY[key] = fn, COUNT += 1 and a loop variable two modules share, none of
        which defines a name. Now they pass. A loop variable that reuses another module's name is still refused.
      • P3 (a question): "evaluate lane 1 after lane 2 has started" invited a second launch while lane 2 runs, which
        rewrites tasks/ and splits/ under it. Now the README and run.yaml's header say after lane 2 has
        finished.
      • P3: two rows in the table. The run-artifact page's examples name perturbed suites, a test task among them.
        HELIX's best() breaks a tie by the candidate admitted first, where the paper says validation coverage.
      • P3: this description said "five groups" over a four-row table, gave one standard error (±0.9) as the
        uncertainty, and recorded CI on the first head only. All three are corrected.
    • Round 3, on 4861c3b: no P1, 1 P2 and 4 P3, all fixed in 1190d05, and one question answered. All of round 2's
      fixes held, one incomplete (the second below).
      • P2: the evolver sandbox shows the mutator the learning material (/w/material): every step's records of its
        two training instances, the earlier steps' included, with the program that ran and index.jsonl's per-step
        means. The docs listed only the current minibatch's diagnostics and said there was no history, and RHO's task
        info gave the records' path as the host has it. Now the Isolation and Diagnostics rows and "What the learner
        sees" say what the mutator can read and how that differs from HELIX's (all of it training data), and the task
        info names /w/material.
      • P3: two places still said lane 1 is evaluated after lane 2 "has started", and the flowchart's check did not
        show the notes-only rejection. Both are fixed.
      • P3: this description's "What it adds" table still said 30 tests (32 now).
      • P3: "none gives a test seed" was wrong: both staged pages run libero_object_swap task 0 on seed 1, a test
        task on a test seed (in the saved-state mode, not the test's seeded scenes). The docs and the table say so now.
      • P3: the bundler did not see a name bound by a top-level match (in a case body or as a capture), by :=, or
        by except ... as (which also deletes it), so each could replace another module's function unrefused. Now
        the first two count as definitions, and an except ... as name is refused, as a loop variable is, when it
        reuses another module's name. The auditor's four cases are refused, and its three allowed ones still run.
        The walk over a module's scope is a loop, as ast.walk is, so a deep expression (a 3,000-term sum, which the
        harness compiles) does not stop it.
      • Question: a simulator service lost mid-run (or a resumed run without it) fails every later mutation, and the
        run spends its remaining generations. Answer: kept, as HELIX's failed mutation. The Trainer ends a run
        unfinished only on a failed sign-in, and a stop finalizes it (a finished run cannot be resumed) with the
        same best candidate; a stop on one /health that timed out would end the whole run. The method page now
        says what a lost service costs.
    • Round 4, on this head: no P1 or P2, so the loop ends here. All of round 3's fixes held but one cell of this
      description (its protocol table's test row), now fixed with the train row's. Left open, all P3, none triggered by
      a shipped config:
      • the template's bundler does not see := in a parameter or return annotation, a type statement (Python
        3.12), or math = ... in one module beside another's import math: each passes the check and fails at run
        time, on the training runs;
      • a committed adapter that matches no candidate (one the commit-time key redaction rewrote, or a checkout edited
        by hand before a resume) fails every later step, after its two rollouts, until the epoch ends; returning
        stop there would end the run instead;
      • evolver.params accepts settings HELIX's config refuses (num_sampled_groups without
        num_examples_per_group, either of them with epoch_shuffled, candidate_selection_epsilon outside [0, 1]),
        and does not check the sampler's minibatch against data.step_size;
      • wording: the method page says call_timeout_min is 720 in the configs (smoke.yaml has 240), and "What the
        learner sees" leaves out /w/method and /w/root, which hold nothing sensitive.
      • Question: the paper's Fig. 6 gate adds "every task non-regressed" to the sum, where Eq. 1 and HELIX's
        StrictImprovementAcceptance compare sums only, as the port does. With two 0/1 instances, strict improvement
        already rules out a regression; with ties admitted (lane 2), a swap from [1, 0] to [0, 1] passes.

Method reproduction checklist

  • Adapter template. The new rho template: see "The template".

  • Evolver. The new rho Evolver: see the chart, and what it reads, calls and writes.

  • Upstream fidelity and adaptations. See the table: each difference with its reason and its effect.

  • Learning information and evaluation boundaries.

    • Texts. objective.md is the paper's objective, verbatim from A.1.4, with task success for its shaped reward
      and the template's entry point; like the paper's, it names no benchmark. background.md has the parts the paper
      lists for its background: the API pointer, the primitives, a closed-loop preference, integrity rules and
      observable verification gates. prompts/workspace.md says where the repository is and lists the simulator
      workspaces. The task info is RHO's own (examples/libero/rho/task-info: what an instance is and what its record
      holds), not the benchmark's shared one, which describes LIBERO-Pro's perturbations, the test split here. None of
      these texts names a test task, a test seed, an answer or a solution, and the seed is the Skeleton (stubs).
    • Evidence. The mutator's diagnostics are the judge's, on the step's two training instances. The learning
      material in its sandbox (/w/material) holds every step's records of its two training instances, the earlier
      steps' included: more history than HELIX's mutator has, all of it training data (the table's Isolation row).
      Validation reaches the Evolver's gates through run_agent, never the session as a score. The test split is not
      given to the Evolver.
    • Boundary. The scored program is the template's bundle of solver/ (never the adapter's bundler). The
      engine's judge runs it on the host, inside the engine's own bubblewrap sandbox.
    • Disclosed in the docs:
      • the mutator can read the validation rows (the evolver sandbox's layout);
      • a generation's outcome names the gate that rejected its child;
      • a warm start's adapter carries lane 1's card, which names lane 1's best and seed validation means, and its
        test mean once lane 1 is evaluated: the README and run.yaml's header evaluate lane 1 only after lane 2 has
        finished (one launch at a time per checkout);
      • a program can read its own seed;
      • the engine's benchmark key (libero-pro) is in the rows, and the engine's own pages in the simulator
        workspaces (docs/, as every method on the engine has them) include the benchmark's page, cut before its
        worked solutions, which is titled LIBERO-Pro, and the run-artifact page; their command examples name
        perturbed suites, test tasks among them: both run libero_object_swap task 0 on seed 1, a test task on a
        test seed, though in the saved-state mode (the test's scenes are seeded), and the run-artifact page names
        libero_goal_swap task 0 too; neither shows an instruction or a result (the table's "The benchmark's name"
        row);
      • the learning material (/w/material) shows the mutator every step's records of its training instances, the
        earlier steps' included (the table's Isolation row).
    • Training State. The state directory is the session's to write, but nothing it leaves there is kept: no note
      passes from one generation's session to another's but through the repository.
  • Sandbox control. No reported run yet.

    • The configs: sandbox: {enabled: true, enforce: required}, and evolver.codex.web_search: false.
    • In the stand-in run, the evolver sandbox's launch record shows probe.passed: true, network: isolated and
      allow: [api.anthropic.com], the model's host only.
    • The simulator service is reached through one forwarded loopback port.
    • Of the held-out splits, only the validation rows are in the evolver sandbox (above).
  • Experiments. Not run: see "The first evaluation's settings".

  • Agent three-layer abstraction. For the mutator:

    • Layer 1 is evolver.model (Fireworks, or the login).
    • Layer 2 is the Base Agent of evolver.base: codex, or claude, pi, opencode, dsh, hermes.
    • Layer 3 is RHOEvolver, through AgentEvolver.step and make(backend, settings).run(...). The session,
      configuration, login plan, timeout, cancellation and usage are the Base Agent's. RHO sets the session's prompt
      (HELIX's launch line, in a file), adds home, writable and env through settings(), and adds Claude's
      --max-turns through args.

    The acting side has no model, and the judge is the engine's. No method-specific code calls a model.

Test checklist

  • Group and selection. tests/methods/rho/ is the rho group (tests/selection.py), and pytest --changed
    runs it for the method's, the template's and examples/*/rho/ paths. tests/README.md lists the group.
  • Names. Each test name is a sentence stating the behaviour it holds, e.g.
    test_what_the_session_writes_beside_the_repository_is_undone.
  • Docstrings. Both files open with a docstring naming the code under test, the stand-ins and what they cover.
  • What it asserts. The mutation checks above show each guard's test failing without it. The assertions are on
    statuses, records, files and the prompt. An error's text is matched only where it is the contract.
  • Real entry points and stand-ins. HELIX is the real package, and the Trainer is the real entry point. The
    stand-in claude replays streams the real CLI printed (tests/claude_stand.py). The engine's fake service is its
    own (examples/cap_harness/utils/tests/cap_fakes.py).
  • Isolation. The tests write to tmp_path; the bubblewrap tests use cap_fakes' tmp_path under
    ~/.cache/hermit-tests, removed after. They use no network, login or installed CLI, and they skip without
    bubblewrap or without HELIX.
  • Time and order. No timestamps, no shared state, no sleeps.
  • Cost. 32 tests in under a minute on a loaded machine (durations above), with no check repeated from another
    test.
  • Hygiene. No unused imports. The one # noqa: F401 is the stand fixture, with its reason. The processes
    and files a test starts are gone when it ends.

Sandbox checklist

  • Reuse the framework's sandbox.
    • The mutator runs in the evolver sandbox (bubblewrap); see the launch record above.
    • The acting function runs in the task sandbox: its launch record from the check above shows probe.passed: true
      and network: isolated; the stand-in run's rollout-*.json records passed their probes too.
    • The judge runs on the host as the engine's trusted judge, and the program it runs is confined by the engine's
      own sandbox (sim.py, confine).
    • The simulator service is the engine's host service, the trusted side of the seed rules.
    • bin/bundle and bin/sim run inside the evolver sandbox (the sandboxed REaaS test).
    • No real-simulator run exists yet, so there is no confine record from this PR.
  • Sandbox changes are core changes. No sandbox change.

RHO (arXiv:2606.16458) evolves a robot policy as a multi-file repository
with HELIX's reflective evolution. The rho Evolver runs HELIX's own code
(helix-evo 0.4.0, pinned in the rho dependency group) at its seams, one
generation per training step: the instance-level Pareto frontier, parent
selection, the stratified minibatch sampler, the acceptance criteria and
the mutation prompt, on one shared random state. The mutator is a Codex
or Claude Code session through the Base Agent in the evolver sandbox,
launched as HELIX launches it, in a fresh agent home, with a simulator
workspace per training task on its training seeds only (REaaS, through
the cap-harness engine's service). A child is gated on the parent's
minibatch, then on the staged validation, then scored on the rest of the
validation split; finalize takes the frontier's best mean validation
score.

- template rho: solver/ (the policy repository, bundled by
  .hermit/bundle.py into the one program the harness runs) and its check
- acting function rho.policy:run: the deployed policy (S4), no model
- examples/libero/rho: the paper's two lanes (run.yaml, run_warm.yaml),
  a Luna variant and a smoke; tasks.sh writes the splits by seed: train
  51-93 (1,290 instances), val 94-100 (210), test LIBERO-Pro 60 tasks x
  seeds 1-50 (3,000), test_base 30 tasks x 1-50 (1,500), REaaS rows on
  51-93; its own task info, since the benchmark's describes LIBERO-Pro's
  perturbations, the test here; the paper's objective (A.1.4)
- cap-harness judge: each seed's outcome and call trace as side_info for
  a row with diagnostics: true (RHO's training rows)
- docs/methods/rho.md, the methods index, the CHANGELOG, the CI group

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
iamziyuzhao and others added 3 commits November 29, 2026 02:00
A run that failed (the Trainer's status error or judge_error, scored 0.0) is
no score of the program any more. In the seed's validation it fails the
bootstrap, and the first step stops the run; in the parent's minibatch it
skips the proposal; in the child's minibatch or validation it rejects the
child, as HELIX rejects a child whose evaluation raised. A run_agent call that
raised rejects the child too, and the search goes on from HELIX's next draw
instead of trying the generation again on an unstratified minibatch. A step
the Trainer stops, or whose child's evaluation reaches the run's budget, keeps
the session's usage and Training State as it was at the step's start.

The state directory is emptied after each session and Training State written
back alone, so no note passes between generations' sessions and no leftover
stops a later step. A folder a session closed is opened before removal, and a
restore that fails fails the step with the session's usage.

The README's in-distribution evaluation goes by the final adapter's tag, so it
no longer replaces the test split's records and its row on the card, and lane
1 is evaluated only after lane 2 has started (lane 2's mutator can read lane
1's card). The method page's fidelity table adds the paper's diagnostics
judge, the policy program's language, the unchanged child, the staged
validation's order, the benchmark's name, failed runs, Hermes's turn cap and
lane 2's card.

Tests: the failure paths, the state directory, a failed restore, a failed
bootstrap on the Trainer, the README's evaluation folders, and the REaaS from
inside the evolver sandbox (the stand-in claude takes a `run` entry for it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
run.yaml's header gave the in-distribution evaluation as `--adapter final`,
which replaces the test split's records in eval/final/ and its row on the
card; it goes by the final adapter's tag now, as the README's does, and the
config test reads every config's header as well as the README.

A child that changed only notes has its parent's program: with ties
admitted it would join the frontier as a second copy of its parent, so it is
rejected unscored, as an unchanged child is.

setup refuses to start without the simulator service (ASPIRE_SIM_URL and its
/health) before the bootstrap's validation runs, and workspaces the service
cannot make in a later step fail that mutation (HELIX's failed mutation)
instead of raising out of every step.

The template's bundler counts as a definition only a function, an import or
a name assigned with `=`: changing a shared object (`REGISTRY[key] = ...`), a
`+=`, or a loop variable two modules share is no longer refused; a loop
variable that reuses a name another module defines still is.

The configs shuffle the Trainer's own order, which it takes only after a
failed step, so a generation run again takes two instances at random rather
than two seeds of one task; the method page says how a stopped step is run
again. The README and run.yaml's header evaluate lane 1 only after lane 2
has finished (one launch at a time per checkout). The fidelity table adds
the final selection's tie-break (HELIX's first-added, the paper's coverage)
and the run-artifact page's examples, which name a test task.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The evolver sandbox shows the mutator the learning material, every step's
records of its two training instances, which HELIX's mutator never gets:
the method page and the fidelity table say so now, and RHO's task info
names the records where the sandbox shows them (/w/material).

The template's bundler also counts a name bound by `:=` or by a `match`
pattern as a top-level definition, and a `match` case body as top-level
code; an `except ... as` name, bound and then deleted, is refused as a
loop variable is when it reuses another module's name. Its walk over a
module's scope is a loop, as ast.walk is, so that a deep expression the
harness compiles does not stop it.

The docs now say everywhere that lane 1 is evaluated after lane 2 has
finished; the flowchart's check names the notes-only rejection; the
staged pages' examples are described as they are (`libero_object_swap`
task 0 on seed 1, in the saved-state mode); and the method page says what
a simulator service lost for good costs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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

0