Repository navigation
Publish the office-hours rewrite eval's results: it stopped incomplete during authoring, so the content change gets no verdict - #368
Merged
Conversation
…n edited unit is caught Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…reading it as complete Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…checklist before any paid call Pre-run change 1: the current arm's pin and file hashes, the current skill's inventory confirmed at that pin, a bound on simulator redraws, each arm's first message and the closing message byte for byte, and an authoring pilot that can resolve its yield line. Adds the new lane's shared types and frozen values, with a test that checks each frozen string against the posts. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…els fails the gold re-check Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…content change's head Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ewcombe interval Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…all readings Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…a provider failure that retries Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…e an audit under other rules Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…a transcript, instead of failing Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ver lost Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…r a judge with no stock rows Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…so the auditor and scorer see the same message Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… map both to it for the pregate Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…r rule Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Count only founder replies the adviser received toward the right call, give builder briefs a simulator not told it runs a startup, freeze both rules files, share one three-call budget across simulator checks, stop authoring when the cap is used up before any twin, and correct the inventory's counts and traction notes. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…t the judge Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…s' into ohr-build-score
…ow, gate and admission condition Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…t the provider checks fail first both ways (pre-run change 5) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…very replay's provider, and accept only Particle for particle-1 (pre-run change 5) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…e-1's provider names from recorded replies (pre-run change 5) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… before the authoring cap, so the content change gets no verdict Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
A ledger refusal, a closed lease, a model drift or the empty-reply bound thrown by a label call used to reject the whole authoring run, so ohr author never wrote or sealed the briefs already placed. The run now waits for the batch's drafts to settle, ends like a cap stop and carries the stop as its halt, so the placed briefs are sealed and the command exits 2 with the stop's code. Any other error still rejects the run. Review-Finding: p1/red-team#1 reader=red-team Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…oring placed The meter and the wire throw E_PV_PROVIDER_DRIFT when a reply comes from another provider than its pin. Authoring now ends on it the same way as on the other stops, so the briefs placed before it are written and sealed. A new test throws it from a draft call and checks the halt and the sealed brief count. Review-Finding: 01M7QT7KQAMRR9K422A5PR2WCV reader=capy-review Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… briefs Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…nt fixing the deferred harness findings in the rerun sizings Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
E_OHR_JUDGE_CHECK_FAIL and E_OHR_JUDGE_CHECK_NO_READ are registered with exit 3, but the command returned 2, the input-error exit, so a caller could not tell a failed instrument check from bad input. A new test runs the check over labels in hand and asserts 0 on a pass and 3 on a FAIL or a NO READ. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
A launch that failed before the agent wrote its log, such as one that never bound a proxy slot, still put the log's path in its session row. ohr score sessions then read that path and stopped on ENOENT instead of scoring the session as missing. The row now names the log only when it exists. A new test runs a launch whose two attempts fail upstream, scores its rows, and checks that a row naming a lost log still throws. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
When a launch died after an attempt had spent but before its row was written, the resumed launch reconciled that attempt at zero dollars, so the session row and the stage spend that admission projects from were understated. Reconciliation now reads the attempt's meter on the arm item's lease, as the founder lane does, and counts its settled and unknown charges. The run command passes its ledger path through. A new check seeds a crashed attempt with $2.50 settled and $1 unknown and confirms the row, the attempt and reconcile.json all carry $3.50. The simulator's share of that attempt stays on the simulator item's lease and is not read back into the row. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
ohr score sessions scored only the sessions that had a row. A session the launch's frozen manifest scheduled but never ran, because a stop ended the launch or the process died, dropped out of the scored output, so the missing limits left it out of their counts and a partial launch could pass them. The command now scores every scheduled session in manifest order, scores one with no row as missing under the new code E_OHR_UNRUN, and refuses a row the manifest does not schedule. A new test cap-stops a stage 2 launch before any session runs and checks that all 282 scheduled sessions score missing and break the missing limits. Reading a cap stop still needs --cap-stop, as the lane README warns. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
The results post's $40 line item now says four of the five harness bugs were fixed in this pull request, so in a rerun it pays to re-verify them, and only the cap-stop flag is deferred. The crashed-attempt fix covers the arm's spend; the simulator's share stays on its own lease. The figures, resize.py and resize.txt are unchanged. The lane README's cap-stop warning drops its clause about the missing-data limits, which now count unrun sessions, and names the cap-stop flag as the one finding still deferred. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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.
Adds the results of the office-hours rewrite eval. Authoring stopped at its cap with 19 of 110 sealed briefs placed, so no session ran and gstack's office-hours content change (garrytan/gstack#4468, head 4afa7f2b) gets no verdict from this eval.
It also lands the eval's harness and the five dated plan changes the paid run used, and it prices two possible reruns for whoever decides on one.
Please merge with a merge commit, not a squash: the paid run checked out c008b08 on this branch, so that commit has to stay on main.
What changed
The eval asked whether gstack's office-hours rewrite helps the founders and builders who use it. It could not answer, because authoring ran out of money before any session ran. This PR publishes that incomplete run and says plainly why, what it cost and what a rerun would need.
The post is wiki/board/2026-11-18-geva-553-office-hours-rewrite-results/README.md. Its resize.py reruns every sizing with no key.
The PR also carries the code and plans the run used:
Review before merge added one fix. When authoring stops on a thrown error it treats as a stop (a cap, a closed lease, a model or provider drift, or too many empty replies), it now still writes and seals the briefs it already placed, where before the run rejected and those paid briefs were lost. The authoring README says so, and docs/all-results.md now lists this run. The office-hours rewrite README now warns that a stage that hit its cap must not be read without
--cap-stop, and every rerun sizing in the post counts $40 of agent use for the five harness findings the automatic review raised. Four of them are fixed in this PR, so in a rerun that line item pays to re-verify them, and the cap-stop flag is the one still deferred (see Open notes).Why
The repository's own rule is that it "reports losses plainly". A run that stopped without a verdict is still a result. It shows where authoring spent its money and what a rerun would need, so the next decision on the rewrite can rest on measured yields instead of guesses.
Blast radius
Outside the new office-hours folders, the shared pieces are lanes/product-value/meter.ts, which many paid evals meter through (ask-replay, day-one, eng-build and eng-review among them), one new row in src/cli.ts's command table, new reason codes in src/errors/codes.ts with none renamed or removed, one price row, and small edits to the Claude Code driver and the persona simulator. The meter's changes are pinned by tests/ohr/meter-drift.test.ts, and every other eval's own tests ran green in CI's bun test at this head (script ran).
Test Coverage
The coverage audit ran audit-only: it wrote and changed no tests, and it read the diff to map each changed path to the tests that guard it.
Tests: unchanged by the audit, which was audit-only (+0 new from it). The fix round extended tests/ohr/author/run.test.ts.
Coverage: 89% value-weighted (93% including 1 weakly covered path)
Test value: 0 tests written, 0 rejected by the authoring gate, 0 existing tests extended, 1 path weakly covered (weak = ★, gate-failing or unrated).
Gaps left open, as proposed tests:
Tests ran: test 583
Tests ran: typecheck 1
Tests ran: errors 1
Tests ran: wiki 1
Pre-Landing Review
Review used both of the rounds this PR may have. Round one read the whole diff at full depth, because the diff touches money and merge-check code: the coverage audit above, a batched specialist reader (testing, security, state machines) and a red-team reader. Round two read only the fix range. After it, an adversarial reader, a second-model review on GPT-6.1 Sol and a targeted reader for money, gate and auth code read the fix head.
Round one raised six security findings, details recorded privately. One of them was a real blocker and is fixed in this PR. The other five were informational, below the bar this PR uses (a finding blocks only if it would fail a test, break production, or lose data or secrets), and were skipped. Quality score: 9.0.
Round two raised two notes and no blockers; they are listed under Review notes. Quality score: 9.5.
The adversarial reader raised five notes, none blocking, and all ship open:
The second-model review on GPT-6.1 Sol returned CLEAN.
The targeted reader raised one informational note, the uncounted ledger refusals listed under Open notes.
A last targeted reader read the docs commits on top of that head. It raised one critical finding.
ohr read decisionlearns of a cap stop only from its--cap-stopflag, so a stage that hit its cap, read without the flag, could print a MERGE-type verdict instead of INCOMPLETE. It does not touch this PR's numbers, because no session ran and the verdict comes from the authoring cap stop. The owner deferred it to the rerun's build, and the README now warns about it. It also repeated the reconcile note listed under Open notes.The owner then granted one scoped check of the last commit (the README warning and the $40 line item in the post's sizings). Its reader found nothing wrong. resize.py still prints exactly resize.txt, every all-in figure rose by exactly $40, and no MDD or share moved. The second-model review of that commit returned CLEAN, and the targeted reader repeated the cap-stop note.
Deferred findings
lanes/office-hours-rewrite/cli.ts:302ohr read decisionlearns of a cap stop only from its--cap-stopflag and never reads the launch's stops.json, and the missing-session limits count only rows that exist. A stage 2 launch that hit its cap, read without the flag, could print a row 2 to 6 verdict such as MERGE instead of row 1 INCOMPLETE. The owner deferred it to the rerun's build (see Open notes).Review notes
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
INFORMATIONAL
lanes/office-hours-rewrite/author/run.ts:197summaryOf does not carry the halt code, so the sealed authoring/summary.json reads a thrown stop as an ordinary cap stop; the code reaches only stderrINFORMATIONAL
sf-177e9aef0127security finding, details recorded privatelyINFORMATIONAL
lanes/office-hours-rewrite/run/run.ts:235reconcile records a crashed attempt's arm and simulator spend as 0 instead of reading the ledger meter, so a crash-reconciled attempt biases admission A6's stage 2 cost projection low. Actual spend stays capped by the ledger item. The same point as Capy's review finding below (see Open notes).INFORMATIONAL
lanes/office-hours-rewrite/cli.ts:302the granted check's targeted reader repeated the cap-stop point and reads it as latent now that the README warns about it.Read-only final review of 2c41150 (one gate-class reader on Claude Opus 5.5). None of these blocks under the merge rule; they ship as named notes.
INFORMATIONAL
lanes/office-hours-rewrite/wire.ts:108authoring's draft, validator, audit and probe calls go through wire.call, which never maps a ledger refusal (402 CAP_STOP, E_LEASE_CLOSED or E_ALLOWANCE) to a stop. A refusal reads as a quality drop, so the loop can churn dropped outcomes up to MAX_DRAFTS. Spend stays capped by the lease, and the reader found it did not fire in the published run. Fix it before a rerun on this build.INFORMATIONAL
lanes/office-hours-rewrite/cli.ts:302ohr read decision still learns of a cap stop only from --cap-stop: the deferred point above, repeated.INFORMATIONAL
lanes/office-hours-rewrite/sim/founder.ts:42pinnedCall catches E_PV_EMPTY_REPLIES after the call has settled, so that call's spend is missing from the recorded simulator spend, one call per stop. The ledger still bounds real spend, and the simulator spent nothing in this run.INFORMATIONAL
lanes/office-hours-rewrite/wire.ts:101wire.spent() adds prior spend from run.json, which only close() writes, so a resumed author run double-counts or under-counts its own spend in room() and in the pilot's per-draw cost. The lease keeps it fail-closed. The post's spend figures come from the ledger, and it states the hand reset of run spend.Open notes
This one ships open. The owner deferred it to the rerun's build, which needs a dated plan change, a new build commit with green CI and its own review.
ohr read decisionlearns of a cap stop only from--cap-stop(lanes/office-hours-rewrite/cli.ts:299-302, read/decision.ts:72-77). The owner accepted it with these words: "Deferred to the rerun's build. No paid stage runsohr read decisionbefore a rerun, and a rerun needs a dated plan change, a new build commit with green CI and its own review. Until then the lane README warns that a capped stage must not be read without --cap-stop."Fixed in this PR at the owner's merge gate, one commit each, each with a test that failed before its fix:
ohr score sessionsnow scores every session the launch's frozen manifest schedules. A session with no row scores missing under the new code E_OHR_UNRUN, so the missing limits count it, and a row the manifest does not schedule is refused (93af13e).A session row names its transcript only when the file exists, so scoring a session that failed before writing one scores it missing instead of stopping on ENOENT (4286e15).
Reconciliation reads a crashed attempt's meter on the arm item's lease and counts its settled and unknown charges in the row and the launch's spend, as the founder lane does (7b50e58). The simulator's share of that attempt stays on the simulator item's lease and is not read back into the row.
judge-check exits 3 on a FAIL or NO READ, the exit its codes are registered with (5106375).
A separate open note for a rerun's build: authoring's draft calls go through the wire without the wrapper that counts ledger refusals (lanes/office-hours-rewrite/cli.ts:124 and wire.ts:108), so a refusal there reads as an empty reply. A count in the sealed store found that none of the run's 292 drops names a cap stop, a closed lease, an allowance refusal, a 402 or a missing reply, so no published number moves.
Exploratory QA
Exploratory QA ran keyless checks at the round-one head and found no product bug:
ohr authorrefused a work directory outside /dev/shm before any paid call, with nothing written.uv runcommand.After the fix round, a revalidation rerun of the authoring run tests passed. No paid command, Docker end to end or ledger lease ran.
Review bot comments
Capy's automatic review (capy-ai[bot]):
ohr score sessionsignores unrun manifest rows) [FIXED in 93af13e; reading a cap stop still needs--cap-stop, see Open notes]Plan Completion
Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches). Fix: add "Plan: " to the PR body, or run /autoplan.
TODOS
No TODO items completed in this PR.
Documentation
Status: updated. One factual line was added and no blockers were found.
Scope: the committed diff from 6191ded to 6f17684 on office-hours-rewrite-eval-results (151 files: the new office-hours rewrite lane, its tests, wiki posts for pre-run changes 1 to 5 and the results post, and edits to docs/all-results.md, docs/skill-eval.md, docs/errors.md and src/README.md). The candidate had no staged, unstaged or untracked files.
Documentation health
Coverage debt: the
gstack-evals ohrcommands have reference docs in the lane READMEs and no how-to or tutorial. The author folder documents its stop behaviour only as a build-time choice. No architecture diagrams were affected.Edits after the audit. The audit did not re-read the last commit's edits (the README's cap-stop warning and the post's $40 line item). The owner accepted that, and the granted check read them.
Documentation exception: accepted by GEVA-2 2026-11-18 via parent message relaying the Captain's ruling A on the docs risk at 04aa47d: Accepted: the docs audit did not re-read the 04aa47d edits (the lane README's --cap-stop warning and the results post's $40 line item in resize.py and resize.txt). They are my own conditions, and the granted check, the second-model review and the targeted reader read them and found them accurate.
Tests
Agent notes
STOP: documentation inputs changed since the accepted audit: use stage 3 recovery (the remaining re-audit, a fix the audit's result asked for via --docs-requested <path> --docs-result <audit-id>-result.json, or a named risk); never refresh hashes. No docs re-audit ran, because no paid call beyond the one reader was allowed.Approvals
Approved: yes (record r-b3aab7258bb6). The full approval record stays private.
Plan: exempt: crew:R40-post
Plan check: exempt crew:r40-post
REVIEW_LOOP: passes=3 blocking_found=2 deferred=1 noted=14 fixed=1 scope=frozen unbound=1 ledgers_read=8 fix_checks=1 dispatches=9
Review-loop exception: accepted by GEVA-2 2026-11-18 via parent message relaying the Captain's ruling A on targeted#1: Deferred to the rerun's build. No paid stage runs
ohr read decisionbefore a rerun, and a rerun needs a dated plan change, a new build commit with green CI and its own review. Until then the lane README warns that a capped stage must not be read without --cap-stop. (second full pass at e3ad7c3, deferred pt/targeted#1)Gate edits: 54 listed, 8 read, 0 findings