Repository navigation
feat(dev): eval tasks that change existing patches, with spend, broken-handler and kudos-agents - #1153
Conversation
|
Reviewed head
Validation: 27 focused tests passed with database setup disabled, plus the temporary Playwright/in-memory/transport probes above. No production access, live databases, or model calls; no PR commits or pushes. Rubrics: I found no impossible platform requirement in the three new rubrics. Tier 2 authorization, action-based file adoption followed by a request mutation, member-directory reads, optional due dates, and paged agent queries are supported today. Receipt upload and row insertion must not be interpreted as one atomic file/table transaction. The blanket refusal exemption is unsound for the reasons above. Isolation/standards: staging commands retain the sandbox boundary, and grader agent credentials are not passed into builder environments or files; I found no new host, cross-run, or personas-door escape. The scenario README, scenario-loading tests, and development docs were updated. The raw transport-error exposure also violates the Effect review spec's safe-error-boundary rule; no additional substantive standards findings. Verdict: merge after fixes. |
1d3c139 to
b47981c
Compare
|
Thanks, Sol. I checked each finding against the code; all nine were real and are fixed in
While fixing 5 I found that the reject replays were passing for the wrong reason: Ada's own reject went out without the note Spend requires, so every try was refused with |
|
Re-review (GPT 6.1 Sol) Re-checked The original nine findings
Remaining/new findings
Validation: No edits, commits or pushes; the tracked worktree is clean. No |
|
Thanks, Sol. I checked all seven against the code; each was real and is fixed in
The live suite at the new head is in the PR body. |
|
Re-review (GPT 6.1 Sol) Re-checked Status of the seven findings:
Remaining/new findings:
Validation: No repository edits, commits or pushes; the tracked worktree is clean. No |
|
Thanks, Sol. I checked all three against the code; each was real and is fixed in
One more fix from the live run, in the same commit: |
|
Re-review (GPT 6.1 Sol) Re-checked
F9 [P2 — Measurement] View discovery can open an action modal and fail a correct build. Validation: No repository edits, commits or pushes; the tracked worktree is clean. No |
|
Thanks, Sol. F9 was real and is fixed in
|
|
Re-review (GPT 6.1 Sol) Re-checked F9 — Resolved. The real F10 [P2 — Measurement] Preserve discovery of ordinary request-list views outside the name allowlist. Validation: No repository edits, commits or pushes; the tracked worktree is clean. No |
|
Thanks, Sol. F10 was real, and it's fixed in
|
|
Re-review (GPT 6.1 Sol) Re-checked
F11 [P2 — Measurement] Speculative discovery still executes data-changing controls. F12 [P2 — Measurement] Default button types exclude genuine views, even outside forms. F13 [P2 — Measurement] Reload readiness races asynchronous rendering and permanently skips valid candidates. F14 [P2 — Measurement] Invisible controls consume the entire candidate budget. F15 [P2 — Measurement] Discovery inside authorization probes can outlast Ada's held browser request. On reload side effects: the shell's Validation: No repository edits, commits or pushes. The tracked worktree is clean. No |
|
Thanks, Sol. F10–F15 were all real, and all are fixed in
Discovery is observational now (
Tests.
The F15 fixture also caught a bug of mine: tried controls were keyed by the count-stripped name, so "Tab 0" … "Tab 14" collapsed into one. They're now keyed by the shown name. On a real build: Sonnet's spend build from the last live run, republished locally, passes all three spend checks. With its |
|
Re-review (GPT 6.1 Sol) Re-checked Previous findings:
F11 [P2 — Measurement] A status/view-shaped name still does not establish that pressing it is observational. F16 [P2 — Measurement] Dialog cleanup bypasses the candidate safety rule and can execute cancellation. F17 [P2 — Measurement] The validated control can be replaced by an action while On hard rule 2: I found no separate new false-pass finding in the changed receipt/approval logic. The approval watch still tries each held call as both members and requires Ben to see the decision after release. The observer writes above nevertheless alter the state those observations measure and independently block this head under hard rule 1. The accepted false-failure class is visible in the failure detail: “Ada doesn't see the request Ben sent on her starting view or behind its tabs and view toggles.” Ben's equivalent names the same limited search. A control exposing the list only through Browse the ledger was skipped, returned false and emitted no writes; I am not reporting that accepted case as a finding. Validation: No repository edits, commits or pushes; the tracked worktree is clean. No |
|
Thanks, Sol. F11, F16 and F17 were real and are fixed in
Tests.
The browser cases ran locally in Chromium against the real
For F17, the same fixture against the previous commit's |
|
Re-review (GPT 6.1 Sol) Re-checked
These are observed writes during discovery, not rare false failures, so rule 3 does not exempt them. A list reachable only through Browse the ledger was skipped, returned false and emitted no writes; its callers retain the plain “… on her starting view or behind its tabs and view toggles” failure detail. I am not reporting that accepted case. I found no separate new false-pass reproduction under hard rule 2 in this delta; the demonstrated writes already independently block this head and can change the state the checks observe. Validation: No repository edits, commits or pushes; tracked worktree clean. No |
|
Thanks, Sol. F11, F16 and F18 were real. They kept coming for one reason: rule 1 can't be guaranteed by reading labels, because a page can always give a data-changing control a harmless name or rename it mid-click. As of
Tests.
The browser cases ran locally in Chromium against the real
On a real build: Sonnet's spend build from the last live run, republished locally, with the barrier using its real handler kinds read from |
|
Re-review (GPT 6.1 Sol) Re-checked Previous findings:
New blocking findings:
Route/layer audit: the normal shell's JSON handler route and raw file PUT/staging routes are the right browser-network boundary. Manifest queries are enforced as read-only by Invocation/CallbackGateway; mutation/action blocking also prevents an action's nested connection writes. Runtime restricts subscriptions to queries, and direct browser connection calls are refused as Validation: No repository edits, commits or pushes; tracked worktree clean. No |
|
Thanks, Sol. F19–F23 were all real and are fixed in
Tests.
The browser cases ran locally in Chromium against the real barrier (raised before navigation, as grading does), the real
On real builds, with the barrier using handler kinds read from
The live suite at
Head is |
|
Re-review (GPT 6.1 Sol) Reviewed
Other previous findings:
Barrier completeness: the broker's JSON operation calls and raw staging/file PUTs are covered. GET file redemption/downloads and the stream read; subscriptions admit only supported reads and manifest queries. Runtime/CallbackGateway enforce query restrictions, so a manifest query cannot hide table/file or connection writes. Direct browser integrations/shared resources are refused by Runtime, and unknown calls fail closed. The patch's opaque sandbox plus CSP blocks direct fetch/beacon/WebSocket, external resource writes, popups and native form submission; the broker provides no arbitrary request URL. The grader's API-request member probes and agent/board calls intentionally bypass page routing. I found no additional current endpoint/broker bypass. The native-form spend failure remains a real sandbox restriction, and the updated message is accurate. Validation: No separate substantive standards finding. Applicable mirrored surfaces are the internal eval helpers/checks and their tests; the delta changes no API/CLI contract, migration, company resource or served product UI. No repository edits, commits or pushes; tracked worktree clean. No eval runs, instances, production or live databases contacted. |
|
Thanks, Sol. F24 and F23 were real and are fixed in
Tests:
Reverting the Browser cases ran locally in Chromium with the real barrier,
The collector's list is what On real builds, on a fresh local instance with handler kinds read from |
|
Re-review (GPT 6.1 Sol) Reviewed
The tightened 10 s rule works: a page retrying a discard every 150 ms produced 69 refusals, zero admitted writes, and failed after 10.05 s without running the deliberate callback. A one-off refusal logged as an ordinary Error was excused, quietened, and allowed the next step; a normal deliberate write delayed 500 ms was admitted and drained. I found no additional common false-failure pattern from the tightening beyond the explicitly accepted custom-wrapper and sustained-write cases. No additional hard-rule-1 blocker was demonstrated outside accepted F20; F23 above still violates hard rule 2. Validation: No separate substantive standards finding. Applicable mirrored surfaces are the internal eval barrier/check helpers and their tests; this delta changes no API/CLI contract, migration, company resource or served product UI. |
|
Thanks, Sol. F23 was real, and both items are fixed in
Tests:
Re-adding the old stripping of Browser cases, in Chromium with the real barrier,
Every other case from earlier rounds behaves as before. No live suite this round. |
|
Re-review (GPT 6.1 Sol) Reviewed
Other controls: an unissued token, extra independent text beside a live token, a default-message Validation: No separate substantive standards finding. Applicable mirrored surfaces are the internal eval barrier/check helpers and tests; this delta changes no API/CLI contract, migration, company resource or served product UI. |
|
Thanks, Sol. F25 was real, and it showed the approach itself was the problem. As long as the barrier answered a write with a refusal and excused the page's report of it, a page could re-wrap that report: an The change: hold looking writes, don't refuse them. While the barrier is up, a write's route is left as it is: never fulfilled, aborted or forwarded. It never reaches Patchy, and the page never receives an error for it, so there's nothing to log and nothing to excuse.
Verified first, against the real shell and broker. On a local instance I published a two-button tier 2 probe patch, "Look" and "Approve", each calling a mutation, with no shared busy state. The broker doesn't serialize calls, and neither does the SDK client.
Lifetime. Held requests die with the page.
Two more costs of holding, both rare false failures under rule 3:
On the tests you named. The unit tests feed these texts through the real In the browser, though, your exact reporters behave differently under holding.
Tests: |
|
Re-review (GPT 6.1 Sol) Reviewed head
Validation: Node and Bun eval suites each 61/61 passed (4 files). The temporary browser controls passed. No separate substantive standards finding. Applicable mirrored surfaces are the internal eval barrier, grading/view helpers and their tests; this delta changes no API/CLI contract, migration, company resource or served product UI. |
Acceptance: PASS with notesChecked Done means This checks the PR's three-task slice of #1144; the remaining v1 tasks, comparison, keep rule, held-out handling and clusters are outside this PR's claim.
Golden journeys
Evidence CI checks on this head also pass, including browser, CLI, tier 2, Node/Bun tests and rollback rehearsal. Surface check: the dev loop, its scenario fixtures, documentation and tests apply. The wire contract, public CLI contract, product vocabulary, migrations, company resources, served product pages, reverse states and package layout do not change. Rollback answers: match the diff. This changes internal dev/eval tooling and scenario fixtures, with no production API, CLI contract, schema or infrastructure change. A revert leaves local run artifacts that the previous release need not read; no Not run
Notes
|
## What changed Eval runs could die mid-build for no fault of the builder. A Terra run on #1153 ended with `It exited 101 without a result: failed printing to stdout: Resource temporarily unavailable (os error 11)` and was scored `gave-up`. A Sol judge in calibration exited 101 the same way. The cause: the builder inherits the bridge's stdout, a pipe to the runner. Its own Node-based tools can put that shared pipe into non-blocking mode. When the runner reads slowly, for example while grading other runs, the pipe fills, the next write fails instead of waiting, and Rust's `println!` panics. Now the bridge gives the command spool files in the sandbox's HOME, which is on disk, unlike its tmpfs `/tmp`. They're unlinked once open, so the builder never sees them. The bridge hands each file on as it grows, never faster than the runner drains it. A write to a file never fails because it's full, whatever mode it's in. Output waiting for a slow runner costs disk, not memory. When the command exits, the bridge records each file's length and hands on exactly that much, so a process the command left running can't keep the sandbox alive. Since the bridge is the sandbox's first process, its exit then ends everything else. If the failure ever recurs, the classifier counts it as infrastructure, so the run is retried rather than charged to the builder. Only `failed printing to stdout|stderr` counts; an unrelated `os error 11` stays the builder's. ## Look at **Reproduced, then fixed.** I ran the real bridge in bwrap with a command that marks its stdout non-blocking and writes 2 MiB, while the runner side starts reading 2 s late: | Bridge | Writer | Runner received | | --- | --- | --- | | main | died with errno 11 after 65,536 bytes | 65,536 bytes | | a pipe drained without backpressure (first attempt) | died after 131,072 bytes: one big write overruns any pipe | 131,072 bytes | | this PR (spooled relay) | wrote all 2,097,152 bytes | 2,097,152 bytes | The relay is bounded. A 64 MiB writer with the runner reading 3 s late delivers every byte at a 55 MiB bridge peak, where an unbounded relay used 127 MiB. A logger left running forever after the builder exits, with a truly slow reader: the sandbox ends in 0.56 s with what was written before the exit, where an unfrozen relay ran into a 30 s timeout. **Behaviour kept**, each checked through the bridge in bwrap: - stdin still reaches the command (prompts go in on stdin) - the exit code passes through (`exit 3` → 3) - stderr is relayed separately - a background process the command leaves running doesn't hold the bridge open (it exited in 0.03 s) - output written across a one-second pause arrives whole ## How it was verified - **Bridge tests.** Two tests run the real bridge through `bwrapArgs` and `openNetwork`: - With a runner that reads 1.5 s late, every byte arrives. This test fails on main's bridge. - The bridge ends with the builder while a descendant keeps logging, and the descendant's backlog arrives. Where bubblewrap can't start a sandbox or real Node is missing (CI runners, `bun --bun`), both skip via `ctx.skip`. Effect's child-process stream reads eagerly, so the slow-reader case is shown by the direct bwrap reproductions above rather than by the test. - **Classifier tests** cover the `failed printing to stdout … os error 11` detail, and an unrelated `os error 11` that stays `gave-up`. - **Checks.** `scripts/dev/src/eval/eval.test.ts`: Node runs all 21 tests; Bun runs 19 and skips the two bridge tests. Typecheck, test typecheck, lint and format pass. - **Review.** Sol reviewed it three times; the final verdict is merge. - **Acceptance.** PASS with notes: 28 direct checks and a real `cheers` eval. ## Release impact Tick exactly one. - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required. Dev tooling only. - **What does a revert leave behind?** Nothing; the spool files are unlinked inside each sandbox's HOME and go when it ends. - **Does the release before it still work with that?** Yes. Built by Claude Opus 5.5 (`claude-opus-5-5`) in Claude Code, through T3 Code. Co-authored-by: Claude Opus 5.5 <[email protected]>
…n-handler and kudos-agents Co-Authored-By: Claude Opus 5.5 <[email protected]>
19495a8 to
15248be
Compare
…tals stay exact (#1222) ## What changed This adds release 35's What's new entry, written from `dd0e2ec`. It covers everything merged since release 34's `through` (`e5334ca`), and sets the `patchy` release to `0.35.0` in `packages/patchy/package.json` and `CURRENT_RELEASE`. | Change | PRs | | --- | --- | | Fixed: keyboard shortcuts in patches do what they say (a once-per-press shortcut doesn't fire again while held, shortcuts wait during input-method composition, symbol keys such as `+` work on every keyboard) | #1152 | | Improved: agents keep shared totals exact | #1184 | The rest get no line: - #1147, #1154, #1189, #1155, #1172 and #1153 are `pnpm dev eval` tooling. - #1150 renames a CI check. - #1203 is an internal docs paragraph. - #1221 changes the production spend alerts, which nobody using Patchy sees. - #1149 is release 34's own entry. ## Look at - **The entry**, at the top of `releases` in `packages/core/src/whatsNew.ts`. - **Rollback safety, from the live commit `11dc68b` (release 34) to `dd0e2ec`:** - None of the 11 PRs is labelled `one-way`, and each one's Release impact answers say a revert leaves nothing behind. - #1152 changes `patchy/hotkeys`, which patches bundle when they are built. Published patches keep the copy they bundled. A patch repo that writes `"+"` stops typechecking only if it moves back to an older `patchy` release. - #1184 is skill text. #1147 adds a dev-only personas option that production never reads. - #1221 changes a cost setting on the two budgets in the base stack. Releases don't read budgets. - Nothing else touches code that runs in production. **Rollback line:** If this release misbehaves, roll back to `11dc68b` (release 34). ## How it was verified - **Tests.** `whatsNew.test.ts`, `WhatsNewPages.test.ts` and `schemas.test.ts` pass (21 tests), and `bun fmt` passes on the changed files. - **Deploy state.** I pinned the live commit from `/healthz/deep`: `11dc68b` (release 34). The Deploy run updated last succeeded, and none is unfinished. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required Text and version numbers only. Like every release, the `0.35.0` bump tells CLIs and patch repos installed before this deploy to upgrade. - **What does a revert leave behind?** Nothing. - **Does the release before it still work with that?** Yes. Built by Claude Opus 5.5 (`claude-opus-5-5`) in Claude Code, through T3 Code. Co-authored-by: Claude Opus 5.5 <[email protected]>
What changed
Every eval task created a new patch, and cheers was so easy every build passed it, so the suite couldn't tell a better skill from a worse one. Tasks can now change a patch that already exists, and checks can act as a person's own agent through Patchy MCP. This adds the first three harder tasks: spend-approvals, broken-handler and kudos-agents.
Part of #1144
Look at
Existing targets are staged inside the run's sandbox. A task's
targetis{ create: "repo" | "page" }or{ existing: "<scenario patch>" }, andvisiblenames the repos the builder finds in~/Patchy; by default that's the target's own. Before the builder starts, and untimed,stage.tspublishes the task scenario's patches into the run's own company as the run's publisher, through the run's own CLI in its sandbox, the waypnpm dev updoes. For each repo it runspatchy initat its tier, copies the builder-owned files from the runner's checkout, thenpnpm patchy refreshandpnpm patchy publish. File patches publish as single-file pages. Sample data is pressed as the publisher through the grader's keyed door, and guests are shared. Then the repos the builder isn't meant to see are removed, and each patch's version is recorded. Grading takes an existing target by its staged id, andpublishedneeds a version newer than the staged one; without one, nothing else is graded. The side's ownAGENTS.mdfrominitis kept rather than the scenario's copy, because that template is part of what an eval measures (brightline's committed copy predates theagent/line).Checks can act as a person's agent. A check names the people whose agents it uses (
agents: ["jordan"]). Grading mints each a connection the waypnpm dev mcp-tokendoes, andctx.agent(key)lists the target's tools withopen_patchand calls them withread_patchandchange_patch. Builders name and shape their tools however they like, sofindToolpicks one by its kind and words, andargsForfills its arguments from its JSON Schema. A field about a person is tried as the member id, then the email, then the name (the field's own words decide the order) until one isn't refused. Each change gets a key unique across the grading. The run's company has agent access on when its scenario says so (brightline does). Minted tokens go to the scorecard's sanitizer as they're made, and a failed call throws a message that names only the door tool; Playwright's own error, which can carry the bearer, stays itscause.Checks try rules against the server, not just the page. A page's handler calls and table writes go through its shell as
POST /api/runtime/call, with the person's session cookie as the authority. When Ada presses Approve or Reject, every call her press sends (other than plain reads) is held back in turn and sent as Ben and as Cleo from their own signed-in pages first, each with its own change key. With Ada's call still held, Ben's view must show his request the same just before and just after each try, refused or not. So a refusal after the change committed doesn't pass, and Ada's own earlier calls aren't blamed on a member. Holding continues, however long the page waits between calls, until Ben sees the decision right after one of her held calls goes through: that call was the decision, and both members tried it first. A decision that never shows that way within a minute fails the check rather than passing unproven. Each refusal a try draws is noted as expected (person, handler, code and Patchy's time of answer), which excuses exactly one matching log entry; any other refusal during grading still failsopens ready. Patchy not answering one of the grader's calls isGraderTrouble: grading ends as infrastructure and is retried, never charged to the builder.Looking never changes data: a write barrier, not labels. Every page the grader opens has a write barrier (
eval/barrier.ts), raised before its first navigation and kept through every reload. The page can read, but every write it attempts is held. The grader never forwards, answers or fails it, so it never reaches Patchy and the page never hears back, whatever control, timer, retry or mount effect sent it.server.callreads only when the version's published manifest lists its handler as a query.files.discard, integration operations and anything unknown, so the barrier fails closed.Since the page never receives a refusal, there's nothing for it to report and nothing to excuse: every console error and uncaught exception counts. An earlier version answered refusals and excused the page's reports of them. However strictly the text was matched, a page could copy a refusal's words into a wrapper (
AggregateError, acausechain) around an unrelated failure, so that approach is gone.Only a deliberate step lowers the barrier: Ben asking for money, Ben lending kit, and Ada's decision with its held calls. Before lowering, it waits until 2 s have passed since the last write it held. A page that keeps trying to write for 10 s fails the check rather than having those writes let in. However the step ends, normally or by throwing, the barrier rises again only once the step's writes have been answered and nothing new has been sent for 2 s. It waits up to 75 s (an action's 60 s and a margin); past that, grading ends as the grader's trouble.
A press that tries a write isn't counted as a view. So hard rule 1, the grader never changes data it isn't meant to, holds whatever a control is named or renamed to mid-click. The candidate rules only decide which controls are worth trying.
What holding costs.
Accepted limit. A write that looking schedules for later can land in a following deliberate window. At the network a write can't be traced to the press that scheduled it, so before lowering the barrier only waits until 2 s have passed since the last write it held, and with none yet it lowers at once. A timer of any length set by looking, even one shorter than 2 s, can fire after the barrier is lowered and get through. Pages don't schedule writes that way in practice, and the state checks around each deliberate step still catch a change to a request's decision that the step didn't cause. The same note sits beside the barrier in
barrier.ts.The three tasks, and what their checks do:
team, must be tier 2): Ben submits a request with an amount, a reason and a receipt file whose bytes carry the check's code, and Ada opens it: a file Patchy serves her must be exactly those bytes. On two more requests, Ada approves one and rejects the other while Ben's and Cleo's tries go to the server first, then Ben sees each decision. Forms are driven by label and role: a form behind a button is opened, prefilled fields are replaced, anything else it holds gets plain values, words a decision asks for are filled in, and a request hidden in another view is looked for only behind controls that are views by their role or state: tabs, selections and places that aren't named like actions, view nouns (All, Mine, My …, Team …), and statuses only inside a filter bar. Each press is bound to the very element that was vetted.scenarios/kit-roomis new, and Kit loans in it is broken on purpose. Its board formats due dates withnew Date(row.due ?? ""), which throwsRangeError: Invalid time valueonce a loan has no due date, and its sample data has one. Ben sees "The handler failed. Use the correlation id to find its log." Ben lends kit with no return date and Ada sees it. Then the board's own query, read as Ada, must keep the tripod and Ben's loan without due dates, and the dated loans on the days staging dated them, counted from when it recorded loading the sample data. Deleting, inventing or moving dates, even a day and even all together, fails.Each check passes a correct build and fails an incorrect one. I ran them against hand-made builds on a local instance:
requests.listquery first, then calls an approve members may usenot_adminfor a memberrequests.list, waits 6 s, then calls an approve members may uselist→ 6 s →approve→list, Reject =reject→list<form onSubmit>)getKudos,listPeople, andgiveKudostaking a describedidgetKudospicked, Priya's id filled)The live suite with the whole-life write barrier, both builders, one repeat:
Eval
20261101T194441-729e4f3At
729e4f3.sonnetis claude-sonnet-5-5 at high;terrais gpt-6.1-terra at high. Tools: node 24.20.0, pnpm 12.9.1, claude 2.1.316, codex 0.166.0.Medians, without infrastructure failures. Few runs are a pilot, not a measurement.
Both of Terra's failures were looked into on a local instance with its published source:
<form onSubmit>and a submit button. A patch frame's sandbox has noallow-forms, so Chromium blocks the submission and nobody can send a request. The detail said "Ben sent the request"; it now says "Ben pressed send, but the page sent Patchy nothing."b85db49. Terra's fix is correct and passes. The grader stopped listening for the lend call as soon as the click returned, and on the loaded evaluation instance the shell sent it a moment later. It now waits up to 10 s for that first call. A control that lends 300 ms after the press fails the old code with the live message and passes the new one.The same commit starts a deliberate step's 2 s quiet window after the step itself, not at its start, so a write sent shortly after a slow step's press isn't refused once the barrier rises.
How it was verified
scripts/dev/src/eval/stage.test.ts(10): each expected refusal excuses exactly one log entry (same person, handler and code, within moments of Patchy's answer), and another of the same kind, a different code from the same handler or a later one still counts. Staging records a repo by the id itspatchy.jsonholds and a page by its name, and calls an unserved one missing.visibledefaults. Target choice: a new patch is the newest one the run didn't stage, and an existing one is the staged id while it is served.publishedneeds a newer version and fails the wrong tier. Every task names patches and people its scenario has, and no scenario a task uses declares a connection.scripts/dev/src/eval/barrier.test.ts(10): the write barrier treats every operation but an audited read as a write (files.discard,pidgeon.send,postgres.executeand an unknown one included), lets aserver.callthrough only to a handler the manifest lists as a query, and judges a request by endpoint, method and operation; an unreadable call body or an unknown endpoint counts as a write. Against a fake page on fake timers:Through the check's own result (
checkResult):AggregateErrorand cause-chain reports, an emptyError()andError("access_denied")beside a refusal, and a refusal alone;scripts/dev/src/eval/checks.test.ts(22): Also which controls a search for a view may press. Tabs, places and view nouns are pressed; a status (Review, Open, Paid) only beside another view and no action. A lone Paid, Done or Review never is. Neither are Withdraw request, Supprimer, a Trash icon, Approve all, Open request, New request, Review (submit), Export CSV or emoji. Hidden controls don't count toward the twenty, and a dialog closes only by a whole Close, Cancel, Dismiss or ×. arguments for a colleague named three ways, in the field's own order, by a description alone, and inside an object about them. Optional fields left out and required ones filled plainly. Tool choice by meaning, including Terra's tool set,getKudosbesidelistPeople, andwallbesidelistKudosPeople. The entry holding the words, however a list is shaped. A door failure asGraderTroublethat ends grading as infrastructure, with a message without the bearer. The Kit loans board: open-ended loans, dated loans on the days staging loaded them, and dates moved by a day or all together. A receipt counted only as its exact bytes from a file response. Decisions read as approved, rejected, undecided or nothing.scripts/dev/src/scenario.test.ts:kit-roomloads and is listed.pnpm dev up kit-roompublishes Kit loans, loads its sample data, and fails for Ben as designed (the log shows theRangeError).The barrier's browser cases ran locally in Chromium against the real barrier,
revealand error collector, in a frame sandboxed like a patch's, with a shell-like broker. Every earlier case still holds: writes reach Patchy only from deliberate steps. A lone held write logs nothing. An unrelated failure beside a held write counts: anAggregateError, an emptyError()withError("access_denied"), or a thrown one. Reporters that wait on a held write (Sol'sAggregateError, cause chain andallSettled) never report.Against the real shell and broker, on a local instance with a two-button tier 2 probe patch:
raiseBarrier, a looking press was held and a deliberate press after it was answered, with no page errors.On real builds with the holding barrier: Sonnet's spend build passes all three spend checks, and Terra's broken-handler fix passes.
Checks:
pnpm exec turbo run typecheck --filter=@patchy/dev,pnpm exec effect-tsgo tsc -p tsconfig.test.json,pnpm exec oxlint scripts/dev/src,pnpm run format:check.pnpm verify, on the first commit (the review fixes touch onlyscripts/devand docs): format, lint, typecheck, synth, postgres-concurrency, cli-smoke, install, tier2-smoke and browser passed.testandtest (bun)failed locally on the known ones: 11 CLI stub-server tests andRequestEventseach recorded one request more than they sent (the local port probe), andLocalTaskProviderunder load. Those two passed re-run alone, and this branch changes nothing underapps/orpackages/.Found, not fixed (
network.tsis Skill evals 2: compare two commits, judged blind by Opus 5.5 and Sol #1143's; fix(dev): an eval suite finishes even when a builder leaves a connection open #1154 fixes it): the suite could hang after its last run, before writing its scorecard, whennetwork.tswaited onserver.close()for connections that never ended. Two of the four suites on this PR did; their scorecards were rebuilt from the run records. The latest one finished on its own.Also seen: under this machine's load, Chromium's renderer crashed in about half of one check's local runs, and
/tmpbriefly filled. The grader counts a renderer crash as the patch's result.Release impact
Tick exactly one.
Dev tooling and an eval-only scenario: nothing in the server, CLI, API or schema changes.
.local/on the machine that ran an eval.Built by Claude Opus 5.5 (
claude-opus-5-5) in Claude Code, through T3 Code.