Repository navigation
Add the AHE-Beta Adapter: harness evolution from simulated users, confined to a Codex adapter - #118
Conversation
Add an example-local Codex conversation bridge with mailbox hooks for insertion, follow-up, interruption, adapter Stop hooks, and explicit process shutdown. Connect AHE native direct and simulated sessions to Harbor task rewards while retaining complete session artifacts and separate Actor and user usage. Reuse completed rollouts and bind tested adapter content to delivery commits. Add a constrained Codex adapter template and an Evolver that delegates each whole-cohort feedback round to AHE's native demand and OpenAgents delivery flow. Prepare frozen training configurations with a separate final user-only round. Propagate RunUnavailable through rollouts and training so missing prerequisites leave the step unfinished rather than becoming zero-valued training examples. Include scripted control checks, real-model smoke entry points, regression tests, package data, test-group registration, and source-checkout setup documentation.
Route simulated-user control messages through a root-owned bridge instead of a writable Actor mailbox. Keep final reward and evidence host-owned, prevent Actor-created symlinks from redirecting host writes, and clean task processes from trusted service registrations and ancestry rather than declared ports. Add bridge regression coverage and document the isolation boundary.
Replace nested quote expressions in the Codex web-search settings with explicit values so the Hermit CLI module can be imported and its tests can run. This restores the existing behavior for live and disabled search modes without changing the configuration contract.
Rename the AHE-Beta template guide from STRUCTURE.md to EVOLVER.md so the template follows Hermit’s adapter contract and the existing learner entry points. Keep the guide contents and runtime behavior unchanged.
Identify the AHE-Beta Codex adapter as the implementation surface described by Agentic Harness Engineering Beta: Requirement-Centered Evolution of Agent Harnesses and link the arXiv paper. Clarify the adapter boundary and its fixed runtime inputs in the template README.
Keep the Hermit adapter contract separate from OpenAgents development metadata when importing a delivered commit. Filter copied files by the adapter manifest and calculate bindings over the same contract-managed paths so delivery metadata does not invalidate the runtime adapter. Initialize the first rollout binding after the Trainer has exported its workspace, preserve delivery and run identifiers in rollout configuration, and keep minimal binding fixtures compatible with adapters without a manifest.
Resolve the OpenAgents source from AHE's compatibility pins and verify the exact checkout before training. Add a Hermit-side bootstrap that creates or reuses a private Gitea Harness repository, seeds it from the adapter template, creates independent delivery and OpenAgents worker clones, and writes token-free worker configuration. Provide a pinned OpenAgents launcher, protected environment template, and documentation for local or self-hosted Gitea setup.
Provide an executable Harbor fixture, explicit Codex model settings, disabled web search, and a test API key for adapter runner tests introduced by the upstream Harbor validation contract.
Move the Hermit manifest and EVOLVER parsing from demand into the integration layer. Add a generic ArtifactHandoff boundary so demand roles remain independent of Hermit file names and semantics. Preserve guidance injection, proposal annotations, tested commit binding, fixed learnable paths, and recovery behavior. Move the contract tests alongside the Hermit integration.
main moved hermit/task.py into the hermit/task package and replaced the Harbor runner (agent.name: harbor, hermit/harbor/runner.py, harborside) with Hermit's own agents in each task's HarborEnvironment (Infini-AI-Lab#112-Infini-AI-Lab#126). Conflicts in hermit/task, the rollout, the Trainer and tests/selection.py are resolved to main's side: they were the RunUnavailable plumbing, which the next commits drop in favour of main's infra handling. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- RunUnavailable (and its Trainer and rollout plumbing, with its test) is dropped: a rollout that is not the agent's result already has main's path (the agent's `extra.infra`: run again in a fresh environment, then an unscored record), and a failed Evolver step is recorded as failed. A new exception that ends a whole run is a core change for the core team, not part of a method. - The web_search lines in hermit/agent/base/cli.py are valid Python 3.12 (PEP 701 f-strings), the version Hermit requires: unchanged. - pyproject.toml keeps agent/base/hermes_plugin/plugin.yaml in the package data, which the PR's line had dropped; the AHE-Beta template moves to the example (next commits), so no packaging line is needed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The template moves from hermit/adapter/templates/ahe_beta to examples/ahe_beta/template (a config names it by path), and the demand/delivery Evolver from hermit/agent/evolver/methods/ahe_beta to examples/ahe_beta/delivery (evolver.name names it by path). The Evolver imported the example's helpers by putting examples/ on sys.path from inside the hermit package, which breaks an installed Hermit and runs the layering backwards; it needs an AHE-Beta checkout, Gitea and an OpenAgents worker, and has run only with scripted models. In the example it imports its siblings directly, its failures are a local exception (the Trainer records the step failed, the adapter stays), a round's rows come from the cohort's assignments.json, and a session's native records from the private folder the acting agent kept (next commit). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…arbor environment
main removed the Harbor runner this PR's acting side was built on
(agent.name: harbor, hermit/harbor/runner.py, harborside's HermitCodex):
every agent is now Hermit's, working in the task's HarborEnvironment
through exec, upload and download. The session with a user is rebuilt
on that, its contract unchanged:
simulate(task, agent, workspace, params) -> dict
- utils/user.py: UserCodexAgent subclasses Hermit's CliAgent, so the
adapter's deployment, the sign-in, the stream, the usage and the infra
classification are the framework's. The first message starts one
codex exec for the whole conversation; the PR's hooks and root-owned
bridge are installed as root before it, and the adapter's .codex/ is
merged with them as the deployment uploads it (its Stop hooks run
first, inside the user's). This machine reaches the bridge with one
command at a time (a read waits there up to 5 s), so auto_mounting and
the host-mounted event mirror are gone.
- What a learner reads is the visible verdict (score, rating, outcome,
reason, issues) and the transcript; the simulator's own records stay
in a private folder outside the log. A failed user is extra.infra
(user_failed: run again, then unscored), not RunUnavailable.
- utils/judge.py: `user` scores the verdict this machine kept (never a
file in the environment); `verified` scores the task's own verifier
(pass@1) with the user's rating beside it.
- utils/ahe_user.py: AHE-Beta's simulator, its model a Hermit model: a
<backend>/<model> reference, or a chat endpoint over Codex on a login,
each request in a sandbox of its own (hermit.isolate.cli_sandbox).
- prepare.py: the rows a learner reads hold no persona (each row's
assignment goes to assignments.json, read by the acting agent only);
run.yaml learns with Hermit's Codex Evolver, run-delivery.yaml with
AHE-Beta's own.
- smoke/: one task through hermit eval with a scripted user on a real
model: insertion, follow-up, interruption and a final review.
- Codex in a task's container is this machine's static release mounted
read-only (agent.codex.bin), since Hermit asks only its built-in
agents what to install there.
- test_channel_server's bridge test no longer depends on the
interpreter's path containing "codex".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RunOutput.extra["user"] reaches the learning material (the record's pipeline_extra), so it now holds the visible verdict, the user's usage and the counts, never the simulator's other keys; and an environment that cannot run the channel (no python3) is final infra, which no run again would change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- AHE-Beta's verdict reaches the learner only through ahe_user.visible: in a session without interaction its user_outcome holds the review's call traces, whose system prompt is the persona; the full outcome now stays private (files/outcome.json). - The bridge and the hooks run on python3 3.8 or later (a hook's annotations were evaluated at import; the bridge's accept timeout was not caught before 3.10), which the channel now checks; one broken hook connection no longer ends the bridge. - Codex's clock ends user.review_s (600 s) before the task's budget, so the user's last turn and review fit in it; a session that runs out of its time before the user's verdict (Codex's clock, or Harbor's end of the phase) is the agent's result, scored 0, not infra run again. - A task that needs a companion container fails for good (infra final), as does an image whose python3 cannot run the channel. - The Codex thread runs in the run's context (the adapter's confinement is a ContextVar); the channel's commands failing while the deployment uploads .codex/ are the environment's failure, not the adapter's. - The user model's sessions on a login count as their rollout's on the plan (no slot of their own: no wait for a slot only a finished rollout frees); a <backend>/<model> user model goes through Hermit's relay. - The simulator's files go to files/ in its private folder; prepare.py on a prepared cohort writes only the delivery files (bootstrap.py). - The README no longer calls the channel a boundary (any command the agent runs is under Codex and may run the hook), says the verifier's verdict is recorded with each rollout (train only on the exported tasks), how quiescing differs from Harbor's grading, and which tasks need a companion container. - Tests through UserCodexAgent.run with stand-ins at the edges (the thread, the user's end, a user that raises, the phase's end, Codex's timeout, a companion service), AHE-Beta's direct-mode verdict, and the bridge and hook on Python 3.8 (skipped without one); each failed on the previous code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
I pushed patches on top of this branch so it fits current What changed and why
V 8000 alidation (Codex instead of the PR's acting agent and Evolver)
Benchmark (from the paper)
On the simulated user
(For other readers: the simulated user stays in Left for the authors
|
…un's sandbox
The example moves to examples/ahe_beta_adapter ("AHE-Beta Adapter", as the
AHE Adapter): AHE-Beta evolves a whole NexAU harness; here its loop is
confined to a Codex adapter. A method page, rows in the methods index and
the examples index, and a changelog entry are added.
Fixes from ten rounds of independent review (Codex gpt-6.2-astra, high),
each with a test that fails on the code before it:
- the user channel: replies, interrupts and the user's end in order (a
stale stop reply never answers a later message, an acknowledgement
matched to its interrupt, nothing handed over while an interrupt or the
end waits, a tool call denied while the channel cannot be read, long
replies cut, U+2028 kept inside its JSON line);
- the workspace: what the run places is kept aside and put back before
the user's review and the task's capture (links, folders, bytecode, the
exclude lines, a task's own .codex owner and mode), never through a link;
- accounting: the user model's spend is the rollout's (priced parts kept,
unknown parts flagged, failed sessions and Codex failures included); a
lost user-model sign-in ends the run instead of buying more sessions;
- prepare.py: companion-container sessions left out, Harbor's delivery
margin and the review time checked, JSON lines read and written safely,
a machine whose Git ignores a template file refused;
- the template: check.py applies Hermit's hook shape; the learner's
protocol is in .hermit/EVOLVER.md.
AHE-Beta's own delivery Evolver (the maintainer's decision: its team is
the paper's learner): its controller and the OpenAgents worker each run in
a view of the run's sandbox, shown only their own folders and variables,
never the cohort's personas; the Evolver runs nothing the team can write,
takes the delivered adapter from Gitea itself and writes the binding last;
the worker is configured and run as AHE-Beta runs its own; setup refuses
what no step can mend. Not validated end to end.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Update: renamed, dual-reviewed, AHE-Beta's team confinedPushed 47b8768 on top of 068549f (fast-forward, no force-push). Three changes the maintainer asked for, and the review that followed:
ReviewTwo independent reviewers ran ten rounds: this session, and Codex
Open for the maintainer
Recorded, not fixed
Validation on the pushed tree: |
AHE-Beta's own delivery route (run-delivery.yaml) was run end to end once on the paper's models: GLM-5.3 on Fireworks for Triage, the Architect and the PM, and Claude Code 2.1.332 calling GLM-5.3 for one developer. Four U4 seeds over two rounds: bootstrap (with a retry), round 1's sessions, three Triage issues merged into an RFC, three PM requirements, admission, four pull requests reviewed and merged, the sealed receipt imported as delivered, round 2 bound and evaluated on it. About $9.2 for the team, 1 h 53 min for the training step. The README, the method page and the methods index report it. Fixes from rounds 11-30 of independent review (Codex gpt-6.2-astra, high, and this session), each with a test that fails on the code before it: - delivery setup: exactly one Claude credential handed to the developers, a subscription token only for Anthropic's API over https; the demand roles' model set and handed to the controller; every model host and the Gitea's checked against the run's allowed hosts as its proxy matches them, and no loopback name among them; plain http refused off this machine, and a local endpoint only under the names whose port the sandbox forwards; the run's claim keeps the configuration's digest; the prepared clones must still exist; - delivery steps: a session whose adapter failed before Codex ran is left out of the evidence as one rated out of time, not taken for a lost record; the OpenAgents environment must still be the checkout's own; the developers' light calls on the session's model unless one is set, as AHE-Beta sets both; - bootstrap: the repository known by a random marker of the cohort's own, clones made in a folder of their own and renamed whole, the worker's home claimed and made like the clones, the developers' roster from the cohort, the OpenAgents environment only inside its checkout; - prepare.py: AHE-Beta's snapshot keeps its compatibility pins, the controller is handed the demand roles' variables only, and a worker needs an OpenAgents pin; - Git for the Gitea: the token for its origin whatever user Git's own configuration names, nothing for another origin; clones keep the commit's bytes (core.autocrlf off); - the user model: AHE-Beta's own variables only with their own key, this machine's addresses in NO_PROXY and no_proxy alike, the key checked without following a redirect, a failed session's spend kept with unknown parts flagged; - the channel: a hook past its timeout ends every process it started (its group and any process carrying its run's mark), a message still being written is not read, the Stop hook reads interrupts and the user's end again after the adapter's own Stop hooks; a Codex that could not start is not waited for, and a shorter configured deadline is kept; - the template's check.py: hook timeouts in whole seconds within [1, 3600]; role names as Codex takes them, each reported on its own file, and a role Hermit's loader refuses left to Hermit's deploy check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Update: AHE-Beta's delivery route run end to end, review rounds 11–30Pushed 11e2cdb on top of 47b8768 (fast-forward, no force-push). AHE-Beta's own delivery route ran end to end once, on the paper's models for its team. GLM-5.3 on Fireworks served Triage, the Architect and the PM through its OpenAI-compatible API. Claude Code 2.1.332 served one developer, calling GLM-5.3 through Fireworks' Anthropic-compatible endpoint. The actor and the user ran on a ChatGPT login. The run used four U4 seeds (
Ratings were 4, 1, 2, 1 in round 1 and 1, 2, 1, 2 in round 2. Four sessions cannot show an effect. The team used about $9.2 of GLM-5.3, and the training step took 1 h 53 min. The run used the tree as of the sixteenth review round. The later rounds tightened setup and the channel; the tests and the smoke cover those changes. Core: #129. Two fixes these runs needed in
Maintainer's decisions since the last update:
ReviewThe two reviewers ran rounds 11 to 30: this session, and Codex
"Own" counts P2 findings from this session's own review that Codex did not report. Recorded, not fixed (P3; the README lists the operator-facing ones):
Open in core (not this PR's code):
Validation on the pushed tree:
|
main added examples/officeqa_harbor/ (Infini-AI-Lab#128). CHANGELOG.md's Added list keeps both new entries, this example's first; docs/index.md and examples/README.md merged on their own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
test_root_bridge_delivers_to_hook_without_a_shared_mailbox bound the channel's socket at an absolute path under pytest's tmp_path, which passes AF_UNIX's 107 bytes under a long TMPDIR (115 here: the server exited with "AF_UNIX path too long", and the test said only that it did not start). The server and the hook now run in tmp_path and name it channel/channel.sock, as the Python 3.8 bridge test does; a server that exits ends the wait, and the failure shows its error. The environment's socket, /run/ahe-user-channel/channel.sock, is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two runs of AHE-Beta's schedule on OfficeQA's 50 training questions, each tested once on the 172 test questions without a user: - examples/officeqa (exact match): starting adapter 0.366, final 0.471 (+10.5 points, SE 3.4). The gain is the answer's form; the users' ratings did not move, because AHE-Beta's terminal review at 43b165f reads an 80-character preview of each reply. - examples/officeqa_harbor (the OfficeQA paper's scorer): no adapter 0.576, starting 0.622, final 0.605 (-1.7 points, SE 3.0), with that review and a CRLF comparison fixed in a local copy of AHE-Beta. The rating then follows a correct answer and does not rise with training. The record is in the example's README; the method page's Result section summarizes it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FcJCJYLx9BP8KVwANowQ2g
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FcJCJYLx9BP8KVwANowQ2g
Rewritten by the maintainers on top of the author's commits (no force-push): the integration now fits
mainafter #112–#126, sits entirely inexamples/ahe_beta_adapter/and its docs, and changes nothing inhermit/. The history of how it got here is in the comments below.Change
The AHE-Beta Adapter: AHE-Beta (arXiv:2611.24924, code at
43b165f) evolves a coding agent's harness from what simulated users ask for while they work with it. AHE-Beta edits its whole NexAU seed harness; here its loop is confined to an adapter, as the AHE Adapter does for AHE: Codex, its loop and its tools are fixed, and only the adapter changes (Codex's project instructions, command hooks, scripts, skills, roles). AHE-Beta's own Hermit integration makes the same choice. Method page · exampleutils/user.py):UserCodexAgentsubclasses Hermit'sCliAgent. Onecodex execruns in each task's own Harbor environment while a simulated user talks to it through three Codex hooks and a root-owned bridge: a message inserted after a tool call, tool calls denied after an interrupt or the user's end, a Stop that hands the reply to the user and continues with the next message. The adapter's.codex/is merged with the user's hooks as the deployment uploads it; what the run places in the workspace is kept aside first and put back before the user reviews the agent's work, so the review and the task's capture see only the agent's change.simulate(task, agent, workspace, params) -> dict.utils/ahe_user.pyputs AHE-Beta's own simulator behind it, its model reached through Hermit (a reference via the relay, or a chat endpoint over Codex on a login, each request in its own bubblewrap sandbox);utils/scripted_user.pyis the smoke's.id,harbor_task,instruction; each session's persona, scenario and round are inassignments.json, read only by the acting agent. The learner reads the visible verdict (rating, outcome, reason, issues, feedback) and the user transcript; the simulator's own records stay in a private folder outside every log.utils/judge.pyuserscores the verdict the host kept ((rating − 1) / 3), never a file in the container;verifiedis the task's verifier with the user's rating beside it. A failed user isextra.infra = user_failed(run again, then a failed run, not the agent's 0); a session out of time before the verdict is the agent's 0, as AHE-Beta rates it.extra.actor), so it counts against the run's budget with the rollouts, not the learner's.prepare.py): an AHE-Beta cohort (its exporter's Harbor task directories) becomes a run: Codex acting with AHE-Beta's user, Hermit's Codex Evolver learning from the users' verdicts, one step per round, AHE-Beta's requirement-centred protocol in the template's learner guide (.hermit/EVOLVER.md). Sessions whose task needs a companion container are left out (a Hermit environment does not reach one yet).delivery/, moved out of core): Triage, PM, Architect and the OpenAgents developers on a Gitea repository, as an Evolver. They are the paper's learner, so they run where a learner runs: AHE-Beta's controller and the OpenAgents worker each in a view of the run's sandbox, shown only their own folders and variables, never the cohort'sassignments.json(the personas) or the run's layout; the worker configured and run as AHE-Beta runs its own. The Evolver itself runs nothing the team can write: it takes the delivered adapter from Gitea into a mirror of its own, refuses what the template or Hermit's tree would not keep, and moves the binding last. Setup refuses what no step can mend before a round of sessions is paid for (credentials, the hosts the run's proxy lets through, the folders each process is shown). Run end to end once on the paper's models (Validation below).Application-side changes: none in
hermit/. Added:examples/ahe_beta_adapter/,docs/methods/ahe_beta_adapter.md, rows indocs/methods/index.mdanddocs/index.md, aCHANGELOG.mdentry. The original PR's core changes (RunUnavailableinhermit/task.pywith Trainer/rollout plumbing, thecli.pyf-string edit, thepyproject.tomlpackage-data line, the template and Evolver inside the package) are dropped.The authors' implementation against this one
.hermit/EVOLVER.md),check_spec; every step kept. AHE-Beta's own pipeline:run-delivery.yaml, run end to end onceharbor-index@35f01ec, release 1.4), its evaluation persona, the human A/B studyProtocol: AHE-Beta's own: train/test by rounds on one cohort (rounds 1–5 train, round 6 observes the final adapter on the same seeds); the paper's held-out evaluation (38 Harbor-index tasks, pass@1 by their verifiers,
utils/judge.py:verified) is not packaged.First evaluation
OfficeQA with GPT-5.6-Luna on a ChatGPT login in every role (actor and Codex Evolver at medium effort, the user at low), AHE-Beta's schedule on the 50 training questions (five rounds that learn, a sixth observed, the 15 personas of
u32-mixed-e2b.json, concurrency 8), then one pass over the 172 test questions without a user (standard error about 3.7 points). The training signal is the users' ratings alone. Deviation from the row: the starting adapter is this example's template (one line), not SkillOpt's initial skill, since another template's adapter does not carry the user channel. Full record.examples/officeqa, the GPT-5.6-Luna column's evaluation (exact match,officeqa-codex:0.164.0); branch at11e2cdb, AHE-Beta43b165f; 2026-11-27examples/officeqa_harbor(#128's agent and verifier, the OfficeQA paper's scorer at 0.0%, Codex 0.164.0);mainat899597bwith this branch merged; AHE-Beta43b165fwith two local fixes; 2026-11-2843b165freads an 80-character preview of each reply, so an accepted complete answer is rated "not delivered". One question with CRLF failed in every round. Training 2 h 34 min, 127.4 M rollout and 4.4 M learner tokens.43b165f, which this PR pins). The rating then follows the answer (68% of sessions rated 4 are right at the scorer's 1% threshold, 26% of those rated 2) but does not rise with training (3.50 in round 1, 3.46 in round 6), and the test score is within one pass's noise of the starting adapter's. All 300 sessions rated, no test question errored. Training 2 h 17 min, 194.6 M rollout and 3.3 M learner tokens.Validation
Run with Harbor 0.25.0 (local Docker), Codex 0.170.0 (mounted static release), AHE-Beta
43b165f, GPT-5.6-Luna on a ChatGPT login (records in the README):hermit eval --config examples/ahe_beta_adapter/smoke/run.yaml --adapter ../template, scripted user, the template deployed): 8 of 8 channel checks (a message delivered after a tool call, a follow-up delivered at Stop, the interrupt denying the next call, the user's final question against the file), no errors: 76 s on 11e2cdb, 84 s on fa7e1c6 (mainmerged in).run-delivery.yamlfrombootstrap.py, a Gitea 1.22.6 on this machine), on the paper's models for the team on Fireworks: GLM-5.3 for Triage, the Architect and the PM (its OpenAI-compatible API), Claude Code 2.1.332 calling GLM-5.3 for one developer (its Anthropic-compatible endpoint); the actor and the user on a ChatGPT login. Four U4 seeds (o14,m03,o01,m01), two rounds:hermit train, thenhermit eval --adapter final. Bootstrap's retry took the repository again by its marker and the clones by its record; round 1's sessions ran with AHE-Beta's users and their native records; the controller published their reports; Triage opened 3 issues, merged into the Architect's RFC; the divergent PM wrote 3 requirements; admission passed them; the OpenAgents developer opened 4 pull requests, reviewed and merged; the sealed receipt (tested 15671a9, delivered ac61ffa) was imported as delivered and bound; round 2's sessions ran on it, each native record naming it, no errors. Ratings: round 1: 4, 1, 2, 1; round 2: 1, 2, 1, 2 (four sessions cannot show an effect). About $9.2 of GLM-5.3 for the team, 1 h 53 min for the training step. It ran on the tree as of the sixteenth review round. A second run on 11e2cdb's code (the reviewed tree) passed bootstrap (the worker's home claimed), the setup checks against the real configuration, round 1 (one session's simulated user rejected its own evaluation, and the session ran again, as a failed user's does), Triage, the RFC and the PM's three requirements, and three of four pull requests merged through the Gitea. Its spend guard stopped it at about $20 before the fourth pull request, the receipt and round 2: its developers ran about 50 Claude Code sessions of their own, reproducing a session's complaint (the agent verifying the wrong workspace) to test their fix.hermit train, one Codex Evolver step,hermit eval --adapter final): ratings 4, 3, 3, 3 then 2, 3, 3, 4; four sessions a round cannot show an effect. The learner read no persona (checked in the material) and its change named no task.mainat 899597b (with OfficeQA through Harbor in the OfficeQA paper's evaluation #128) merged in at b5d73aa;CHANGELOG.md's Added list keeps both new entries.python -m pytest --changed --base origin/mainon the merged tree (thecoregroup, which holds every example's own tests, this one's among them; no method's group is touched): 1413 passed, 121 skipped, 658 deselected, 2 failures. One is this machine's setup (test_rrsi_sees_a_harbor_rollouts_failure_and_a_cli_model_is_refused_for_harbor:No module named 'rrsi'). The other was this example's bridge test, whose socket under pytest'stmp_pathpassed AF_UNIX's 107 bytes with a longTMPDIR; fa7e1c6 names it relative to the test's folder (the environment's socket,/run/ahe-user-channel/channel.sock, is unchanged), and the example's suite then passed: 198 passed, 1 skipped (a bridge marker check that needs root). The PR's CI run (Tests) passed on fa7e1c6: 1440 passed, 92 skipped.bash docs/build-pages.sh(Sphinx-W) andpython docs/check-pages.pypassed (71 pages on the merged tree, and again on 1731144).Review
git diff main -- hermit/is empty.UserCodexAgentis aCliAgentsubclass in the example, run in the call's environment (a task's Harbor environment,isolation: remote); the user's model is Layer 1 (a reference through the relay, or a CLI chat endpoint in its own sandbox); prompts and models are configuration. The delivery Evolver declaresneeds: [send_material_out].hermit eval/hermit trainwith real models.mainand the bridge test's fix; 1731144 adds the first evaluation's record.--agent-seconds) and no network (public, as AHE-Beta's E2B sandboxes); one smoke and one train/eval run above.examples/ahe_beta_adapter/utils/tests, selected bypytest --changed; each regression test fails on the code before its fix; no network, sign-in or CLI.enforce: required); the judge only reads the host's verdict. AHE-Beta's own delivery route starts its controller and OpenAgents worker each in a view of the run's sandbox (refused without one), networksandbox.evolver.allowed_hosts.gpt-6.2-astraat high effort, read-only); every finding verified against the code before acting on it, graded by this session; each fix has a regression test that fails on the code before it; the loop ran until a round left nothing graded P1 or P2, and what was left is recorded with its reason in the comments below