Skip to content

feat(dev): war-room eval task, a reference for the hardest builds - #1220

Merged
allisonmahmood merged 3 commits into
mainfrom
feat/eval-war-room-task
Nov 4, 2026
Merged

allisonmahmood merged 3 commits into
mainfrom
feat/eval-war-room-task

Conversation

@allisonmahmood

@allisonmahmood allisonmahmood commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

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-room is that reference task. On brightline, 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:

  • Live: Marcus has the board open before Jordan declares an incident. The incident, and then Jordan's update, must reach that open page without a reload.
  • Who resolves: Jordan, its commander, resolves. Each call the press sends is held while Sofia, a member who isn't the commander, sends it as her own first, and Marcus must see no change. This is spend-approvals' decide.
  • Guest: Taylor must be able to open the patch and post an update Marcus sees, and Taylor's replayed resolve must change nothing.
  • Agents: through Patchy MCP, Jordan's agent finds tools to declare and post, declares a SEV1 and posts an update Marcus sees. Then it tries every way it has to close the incident (a resolve tool, or a status tool offering resolved), and each must be refused.

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}. wordsFor fills 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.people lists them last.

Grader changes found by running the task against real builds:

  • decide learns 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.
  • chooseField and fillRest skip search boxes and filters, however their label reads. "Search title, impact or commander" took the title before, and fillRest typing into a form's "Find commander" cleared the commander it had chosen. formAround takes the send names a form goes by. fillRest writes a sentence long enough for a root cause. "resolved" is a view status, so reveal finds a Resolved tab.
  • A deliberate step waits only for its writes (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:

  • Every check has passed on a real build: live delivery and commander-only resolve on both Sonnet and Terra builds, the guest check once builds could share with Taylor, and the agent check broadly.
  • A failure that looked like the grader's was a real one. Terra builds kept failing at "pressed Declare incident, but the page sent Patchy nothing". Published into a pnpm dev up brightline environment 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>, which patchy-loop already warns against. The judges scored those builds low too.
  • With judges (suite 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.
  • Then the whole suite, with fix(dev): pnpm dev eval runs on Ubuntu #1206, feat(dev): pnpm dev eval reaches Claude through your model provider, as it does Codex #1207 and fix(dev): eval cheers check can pass again #1209 merged in (--builders sonnet,terra --repeats 1 --no-judge), since decide, fillRest and 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 (suite 20261103T225112, 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 typecheck passes 24/24 tasks; oxlint is clean; unit tests cover wordsFor, 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

@github-actions github-actions Bot added area:ci CI, shared testing infrastructure, development scripts and tooling area:docs Touches the docs area size:l 501-1,000 changed lines labels Nov 3, 2026
@allisonmahmood
allisonmahmood force-pushed the feat/eval-war-room-task branch from 1bd338e to e6329da Compare November 4, 2026 00:42
allisonmahmood and others added 3 commits November 4, 2026 00:56
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
allisonmahmood force-pushed the feat/eval-war-room-task branch from e6329da to 71cd4a2 Compare November 4, 2026 00:56
@allisonmahmood
allisonmahmood merged commit f2929e1 into main Nov 4, 2026
24 checks passed
@allisonmahmood
allisonmahmood deleted the feat/eval-war-room-task branch November 4, 2026 01:16
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI, shared testing infrastructure, development scripts and tooling area:docs Touches the docs area size:l 501-1,000 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant