Repository navigation
feat(dev): war-room eval task, a reference for the hardest builds - #1220
Merged
Merged
Conversation
allisonmahmood
force-pushed
the
feat/eval-war-room-task
branch
from
November 4, 2026 00:42
1bd338e to
e6329da
Compare
The suite's tasks were each small. war-room asks for a live incident room
on brightline: a shared timeline, commander-or-admin resolution, a guest from
Cedar Works who can do everything but resolve, and agent tools that never
resolve a SEV1. Its checks try each rule against the server or through
Patchy MCP.
What the grader needed for it:
- Task words can name a run's person's address ({email:taylor}), since a
builder can't find someone at another company; checks can open the
run's guests (ctx.people lists them last).
- decide() learns Resolve, waits for what a click opens, fills a form
before judging its button, and answers a confirmation brought up in place.
- chooseField skips search boxes; formAround takes the send names a form
goes by; fillRest writes a sentence long enough for a root cause;
resolved is a view status.
- A deliberate step waits only for its writes, and says which it was still
waiting on when it gives up.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
fillRest typed into a form's "Find commander" search, which cleared the commander the check had just chosen and left Declare disabled. It now skips search boxes and filters, as chooseField already did, and war-room reports a Declare still disabled once the form is filled instead of timing out on it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A build kept Resolve inside a closed <details> whose summary read "Resolve incident", so the commander found no way to resolve. decide now opens the request's closed disclosure named for the decision, as a person would, before looking for its button. Co-Authored-By: Claude Opus 5.5 <[email protected]>
allisonmahmood
force-pushed
the
feat/eval-war-room-task
branch
from
November 4, 2026 00:56
e6329da to
71cd4a2
Compare
1 of 2 tasks
allisonmahmood
added a commit
that referenced
this pull request
Nov 4, 2026
…ges publish (#1241) ## What changed This adds release 36's What's new entry, written from `1acc968`. It covers everything merged since release 35's `through` (`dd0e2ec`), and sets the `patchy` release to `0.36.0` in `packages/patchy/package.json` and `CURRENT_RELEASE`. | Change | PRs | | --- | --- | | Improved: shortcuts work where you use them (keys for one part of a patch, the closest wins, text boxes keep their typing keys) | #1231 | | Improved: the shortcuts sheet shows what works where you are (Ctrl+/ and ⌘/ open it, its commands run, it opens from a patch's menu and in view on a narrow screen, keeps the look, spells keys out away from a Mac) | #1231, #1181, #1178, #1180, #1177 | | Fixed: keys pressed while a patch opens reach it | #1183 | | Fixed: pages styled with Tailwind 4 publish, and a look with the same rule saves | #1191 | | Fixed: an old copy of a patch no longer replaces newer work (**Breaking** for such a copy: it needs `patchy pull` or one `--allow-behind` publish) | #1179 | | Improved: your agent can check a publish before sending it | #1188 | | Improved: your agent hears what changed when it updates a patch | #1186, #1185 | | Fixed: your agent stops chasing false alarms (`pnpm install` exit codes, `manifest.json` bytes, the description notice, a copied dev record) | #1176, #1174, #1175 | | Behind the scenes: fuller hotkeys instructions for agents; fewer redraw costs for patches with many shortcuts | #1182, #1187 | `patchChanges` has three sentences for the agent refreshing a patch across this release: - #1231's, from its PR: text fields keep their keys, `preventDefault()`, and the sheet's Mod+/ and `.hotkey-row` buttons. - The sheet's dialog renders in `document.body`, and element-only page rules don't reach it (#1178, #1180). Its own row lists last (#1181). The hotkey label helpers take only valid literals (#1177). - Publish's `unknown_base_version` (#1179). It also rewords release 33's "Press ? to see every shortcut a patch has". That was true only for a patch that mounts the shortcuts sheet, so it now says a patch *can* list its shortcuts. The rest get no line: - #1206, #1207, #1209 and #1220 are `pnpm dev eval` tooling. - #1222 is release 35's own entry. ## Look at - **The entry**, at the top of `releases` in `packages/core/src/whatsNew.ts`, and release 33's reworded line. - **Rollback safety, from the live commit `d28fdd0` (release 35) to `1acc968`:** - #1191 is labelled `one-way`. Its Release impact: a company look published after this release with a nested `@supports` condition stays stored after a revert. Release 35 refuses any bundle carrying it, so repo publishes in that company would fail until an admin runs `patchy look restore` to an earlier revision. Pages and Tailwind 4 repos already published stay published. - #1183 is the only change to what the server serves browsers: the shell's script, under a digest-named URL. Its revert leaves nothing behind. - The hotkeys PRs change `patchy/hotkeys`, which patches bundle when they are built. Published patches keep their copy. - The CLI PRs change what a CLI writes and refuses. Release 35 reads everything they leave behind: #1176's `allowBuilds` entry, #1174's indented `manifest.json`, and the `version` recorded by an `--allow-behind` publish. **Rollback line:** If this release misbehaves, roll back to `d28fdd0` (release 35). First check that no company's look has a nested `@supports` condition, and `patchy look restore` an earlier revision where one does (#1191). ## How it was verified - **Tests.** `whatsNew.test.ts`, `WhatsNewPages.test.ts` and `schemas.test.ts` pass (22 tests), and `bun fmt` passes on the changed files. - **Facts.** The sheet's new `document.body` home and its element-rule reset were checked against `hotkeys.ts` and `hotkeySheet.ts` on main. - **Deploy state.** I pinned the live commit from `/healthz/deep`: `d28fdd0` (release 35). 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.36.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]>
1 of 2 tasks
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.
What changed
The suite's tasks are each small: a counter, an approval flow, a bug fix and a few agent tools. Nothing in it asks a builder for a whole tool that uses most of Patchy at once, the way Allison's YC demo did. That demo was War Room, a live incident room built from one open-ended prompt.
war-roomis that reference task. Onbrightline, a person asks for a war room: incidents with a severity and a commander, one timeline everyone sees update live, resolution only by the commander or an admin with a root cause, a postmortem download and evidence screenshots. Taylor at Cedar Works can use it as a guest, except for resolving. People's agents can declare and update incidents through Patchy, but never resolve a SEV1.Part of #1144
Look at
The four checks each try a rule where it's kept, rather than reading the page's labels:
decide.Guests in task words. A builder can't look up someone at another company, and a run's addresses are its own, so the words write
{email:taylor}.wordsForfills in the run's address for the builder and says "taylor's email" for the blind judges. Checks can now open the run's guests:ctx.peoplelists them last.Grader changes found by running the task against real builds:
decidelearns Resolve and waits for what a click opens. It opens a closed disclosure named for the decision (a<details>whose summary reads "Resolve incident"). It fills a form before judging its button, since a root cause can be what enables it. It answers a confirmation brought up in place ("Yes, resolve"), not only in a dialog. And when a probe throws, it aborts the call it was holding instead of leaving the step waiting on it.chooseFieldandfillRestskip search boxes and filters, however their label reads. "Search title, impact or commander" took the title before, andfillResttyping into a form's "Find commander" cleared the commander it had chosen.formAroundtakes the send names a form goes by.fillRestwrites a sentence long enough for a root cause. "resolved" is a view status, sorevealfinds a Resolved tab.requestWrites), not for reads and subscriptions. When it gives up, it names the calls it was still waiting on.Not covered: PostHog. War Room charted production signals from the company's PostHog, but an eval run's company has no connections (
stage.ts: "an eval can't make a scenario's connections yet"), so the words leave it out. Evidence uploads, the postmortem and the clock are left to the judges' rubric.heldOut: false, so default suites include it. Builds took 3–13 minutes against the 60-minute limit.How it was verified
Ten suites on Ubuntu 26.04 (
--only-head --tasks war-room --builders sonnet,terra --repeats 1), together with #1206, #1207 and #1209, fixing a failure in the checks each time until the remaining failures were the builds'. Along the way:pnpm dev up brightlineenvironment and driven by hand, the browser logs Blocked form submission … the form's frame is sandboxed and the 'allow-forms' permission is not set: those builds used<form onSubmit>, whichpatchy-loopalready warns against. The judges scored those builds low too.20261103T191044): Sonnet's two builds passed every check, and Opus scored one 4 on every dimension (the judges' mean for Sonnet was 4.0). Terra's build was judged 2.8; two of its three failed checks were the grader's (a SEV2 match that pressed an incident card named "SEV2 …"), fixed since.--builders sonnet,terra --repeats 1 --no-judge), sincedecide,fillRestand the barrier are shared. Cheers, broken-handler and kudos-agents passed every check on both builds. Two more of the grader's failures turned up on Terra's war rooms (the "Find commander" search and the Resolve disclosure above), fixed since. On the final code (suite20261103T225112, war-room and spend-approvals), every spend-approvals check passed on all three builds, and Sonnet's war room passed every check for the third run in a row. Terra's war room sent its declaration with a native<form onSubmit>, which the frame's sandbox blocks: that one is the build's.pnpm typecheckpasses 24/24 tasks; oxlint is clean; unit tests coverwordsFor, how a card's status is read (a working status beats a Resolved tab, and badge text that runs into its neighbour) and how a tool's answer names its incident.Release impact
Breaking — requires action from anyone already running this
Not breaking — no action required: an eval task and its grader under
scripts/dev; nothing ships.What does a revert leave behind? Nothing.
Does the release before it still work with that? Yes.
Made by Claude Opus 5.5 in Claude Code (via T3 Code), working on Allison's Ubuntu home server.
🤖 Generated with Claude Code