Skip to content

feat(dev): held-out eval task, a daily standup where people own their entries - #1243

Open
allisonmahmood wants to merge 6 commits into
mainfrom
feat/eval-standup
Open

allisonmahmood wants to merge 6 commits into
mainfrom
feat/eval-standup

Conversation

@allisonmahmood

@allisonmahmood allisonmahmood commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

What changed

Held-out eval tasks confirm that a skill edit generalises, and are never used to choose one. This adds standup, a held-out task on team. A person asks, in their own words:

Can you set up a written standup for our team? Every morning each of us writes what we did yesterday, what we're doing today and anything that's blocking us, and everyone should see today's entries from the whole team. People can fix their own entry, but nobody can change someone else's. Publish it.

It's heldOut: true, so a default pnpm dev eval skips it and --tasks standup runs it. It creates a repo patch at tier: 2, because tier 1 has no per-row access (every viewer can write every row, per docs/product.md), so only handlers can keep each entry its author's.

Part of #1144

Look at

Ownership is tried at the server, not on the page. There are three checks, each with its own author. A grading's checks share one patch, and a build may keep one entry per person per day, so no author posts twice.

  1. Ada posts through the page, and Ben sees all three parts of it, named as hers alone. A list that shows only part of an entry is opened the way a teammate would open it, as below.
  2. Cleo fixes her own entry, and Ben then sees the fix and not her first words.
  3. Ben fixes his entry while every call his save sends is held. Ada, an admin, and Cleo each send that call from their own signed-in pages first, and Ben's entry must not change until his own call goes through. A refusal a try draws is declared, so it doesn't fail opens ready. Admins are tried on purpose: the request says nobody can change someone else's entry.

Holding needed holdWhile in page.ts: decide's holding loop, for a change that isn't an Approve, Reject or Resolve press. I left decide alone rather than change existing checks; sharing the loop is a follow-up.

The rubric states the behaviour, not one entry model. Today's entries are visible to the team, and each is its author's alone to change, admins included. Either model fits:

  • one entry per person per day, kept under concurrent saves (a unique index on author and day, say, or a serializable mutation that looks the entry up, then updates or inserts it), so posting again changes it;
  • several a day, each changed through its own edit.

The author comes from ctx.viewer, never an argument.

Nothing depends on the builder's names, and each step prefers a sure answer to a clever one:

  • Parts: each part of an entry is found by its field's label or placeholder, most specific first, so "What will you get done today?" is never taken for yesterday.
  • Opening an entry: one way, for reading the rest of an entry and for editing it: clicking the entry itself first, then the one Details, View or Open control inside the entry's own container, the smallest part holding its words and naming nobody else.
  • Editing: only a field already holding the entry's own words is ever edited, so opening the wrong entry can't edit it. Those words can show already, after the entry's own Edit, or after opening the entry. An Edit counts wherever it is; Update, Change or Fix count only away from fields to type in.
  • Posting again: when nothing edits the entry, the check posts it again from a fresh page, so whatever opening it left open, such as a dialog that ignores Escape, isn't in the way.
  • Saving: calls are counted from the first keystroke. After the press, or leaving the field when there's no button, the check waits up to 10 seconds for a change to go out (an operation that isn't a read, or a server call carrying a mutation key), so a page that reads first or saves a few seconds later isn't closed too soon. Sending anything still decides the verdict, as before: the wait only sets how long the check looks, so a page saving through an action just waits the full 10 seconds.
  • Own entry: a person finds their own entry on the page or in the field that edits it, on a fresh page, so unsaved words don't count.
  • Whose an entry is: the nearest part of the page naming anyone, by its text, aria-labelledby or aria-label, must name the author alone, by first name or email. In a table, the cell's headers count too: its headers, else the header cells across its rows and above it in its columns, with the table laid out as its rowspan and colspan place it. Headers and any name inside the cell must agree on one person; a contradiction or ambiguity means nobody's alone. So when a try saves Ben's words as the trier's own entry, that copy isn't counted as his.

No agent angle: builders shape agent tools their own way, and filling three free-text fields through their arguments would make that check flaky. kudos-agents and war-room cover agents.

How it was verified

Planted flaws and correct builds at this head. Each build is a passing real build changed on purpose, or written as a fixture. Each was published to a local team environment on a fresh patch and graded with the task's checks under Bun, as pnpm dev eval grades.

Build Posts, teammate sees it Fixes own entry Can't change someone else's
A passing real build, unchanged ✓ ✓ ✓
Edit by id that refuses anyone but the author with a declared error ✓ ✓ ✓ The patch's log holds exactly the two refusals the check declared, Ada's and Cleo's
Edit by id that lets the author or any admin change it ✓ ✓ ✗ Ada, an admin, sent Ben's fix (entries.save) as her own, and his entry showed the fix before his call went through
Server takes the author from the call's arguments ✓ ✓ ✗ the same
Edit by id with no owner check; only the page hides Edit on others' entries ✓ ✓ ✗ the same
Each person sees only their own entry ✗ Ben doesn't see Ada's entry ✗ ✗
Entries don't say whose they are ✗ nothing beside it says it's hers ✗ ✗
No way to edit: fixing can only post another entry ✓ ✗ Ben sees her first words and her fix as two entries ✗ his fix never took effect
A rowspan shifts Ada's words under Ben's column header ✗ beside Ben Ortiz, not as Ada's alone ✗ ✗
Each cell's author label names the next person, under the right header ✗ beside Ada Park and Ben Ortiz ✗ ✗

The reviews' cases. Each row is a review's case, graded with the checks before its fix and at this head. A ✓✓✓ on a flaw is a false pass; an ✗ on a correct build is a false failure.

Case Kind Before its fix At this head
Author or any admin may edit flaw ✓✓✓ at 12ebc16 ✗ ownership
Several entries a day; Edit only inside an entry's Details correct ✗ at 12ebc16: posted a second entry ✓✓✓, with Ada's and Cleo's tries refused as declared
Teammates as table columns correct ✗ at 12ebc16: beside all three names ✓✓✓
No button; saves the moment all three parts are written correct ✗ at 12ebc16: "leaving the field saved nothing" ✓✓✓
rowspan puts Ada's words under Ben's header flaw ✓✓✓ at 3aed861 ✗✗✗
An Ada column header over a label naming Ben flaw ✓✓✓ at 3aed861 ✗✗✗
A valid table with a colspan Team header and a rowspan corner correct ✗ at 3aed861: beside Ben Ortiz ✓✓✓
Cards open by clicking; only another card has a Details button correct ✗ at 3aed861: opened the other card, then posted a second entry ✓✓✓, with Ada's and Cleo's tries refused as declared
An entry's dialog ignores Escape and has only Close; fixing is posting again correct ✗ at 3aed861: the dialog covered the form's button (click timed out) ✓✓✓
Typing calls on every keystroke; saves 3.5 seconds after the last correct ✗ at 3aed861: the page was closed before it saved ✓✓✓
A card shows Today; its own Details shows Yesterday and Blockers correct ✗ at 3ca1dd5: Ben sees what Ada is doing today, but not what she did yesterday or what's blocking her ✓✓✓
Save reads the person's entry, then saves 3.5 seconds later correct ✗ at 3ca1dd5: the page was closed after the read, before the save ✓✓✓

Real builds. All 14 builds from the four suites below were regraded at this head, each on a fresh patch. 13 pass all three checks. The 14th, the first suite's Terra run 1, fails all three because its page sends entries with a native <form onSubmit>, which the patch frame's sandbox blocks: Chromium logs "Blocked form submission … the 'allow-forms' permission is not set", so nobody could post. That failure is the build's, not the grader's.

What could still be graded wrong. None of these can false-pass a build except the first, and none is likely from a real builder:

  • Could false-pass: a page whose CSS moves an entry under another person's name without changing the DOM (grid areas, order, absolute positioning). whose reads the DOM. It's very unlikely: every build here, and every layout the reviews tried, kept DOM and display together.
  • False failure only: a table built from ARIA roles (role="table", columnheader) rather than <table>. Header resolution only reads <table>, so a people-as-columns ARIA grid falls back to the ancestor rule and reads as everyone's. Unlikely in a Preact page.
  • False failure only: a page whose only way to open an entry is a shared control outside the entry, such as select-then-View. The check won't press it, so it posts again. Unlikely.
  • False failure only: a page that starts its save more than 10 seconds after the press or the last keystroke. Unlikely; the reviews' cases used 3.5 seconds.

Suites, all pnpm dev eval --only-head --tasks standup --concurrency 4. sonnet is Sonnet 5.5 high in Claude Code; terra is GPT-6.1 Terra high in Codex. These ran before the reviews' fixes, so their check results are for earlier checks; the regrade above is for this head's.

Suite Checks at Repeats Sonnet Terra Each failure, read against the build's published source
20261104T151303 first draft 2, no judges 2/2 1/2 Terra run 1, the build's: the native form above.
20261104T161512 first fixes 2, no judges 1/2 2/2 Sonnet run 1, the check's: the page shows your own entry only in your prefilled edit form, and the check looked only in the page's text. Fixed.
20261104T165111 12ebc16 2, no judges 2/2 2/2 –
20261104T170354 12ebc16 1, judged 1/1 1/1 –

A first attempt, before these, set up no builders: npm skipped Claude Code's optional linux-x64 package in the builder home. The next run was clean. All 14 builds chose one design: a mutation that saves the caller's own entry, with the author from ctx.viewer and a unique index on author and day.

Judges (20261104T170354, rubric before the reviews' changes): both gave verdicts on both runs, none 2 or more apart on a dimension.

Builder Verdicts Fit Platform Correctness UX Code
sonnet 2/2 4.0 4.0 3.5 3.0 4.0
terra 2/2 4.0 3.5 3.5 4.5 3.5

What the judges flagged follows the rubric. On both builds, "today" is decided by the browser and only loosely checked by the server. On Terra's, validation throws plain errors rather than declared ones, and blockers look like the other two answers. Both have smaller notes: nobody is shown as not having posted yet, and reads are unbounded or truncated.

Checks:

  • Three unit tests in checks.test.ts cover which label each part takes, a name versus a longer word or an email, and what counts as someone's entry. The eval tests pass (89).
  • env -u NODE_ENV pnpm check passes at this head: format, lint, typecheck, synth and all 2833 tests (this machine's shell sets NODE_ENV=production, which local execution refuses).
  • Local grading ran under Bun, as pnpm dev eval does. Under tsx, the named helpers inside whose's in-page code get wrapped in a __name helper the page doesn't define, so a grader run under tsx would throw there.

#1242, the other held-out task, edits the same sentence in docs/DEVELOPMENT.md and the same list in tasks/index.ts, so whichever lands second merges the two.

Release impact

Tick exactly one.

  • Breaking — requires action from anyone already running this
  • Not breaking — no action required

An eval task and its checks under scripts/dev, and a line of docs; nothing ships.

  • 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.

@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 4, 2026
allisonmahmood and others added 3 commits November 4, 2026 18:22
…'s Edit behind its view, read table headers and count autosaves

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s and labels to agree, open only an entry's own view, and post again from a fresh page

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t for the save a read comes before

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@allisonmahmood

Copy link
Copy Markdown
Owner Author

Acceptance: PASS

Checked 98b720805c1eb012a8fd74d0abe67254877d2325 (base 8a3b347d1f0215147e3c6156854226e884082087) on fresh, throwaway team instances, by gpt-6.1-sol in the Codex harness through T3 Code. I did not write this change. The PR body supplies the claims; there is no closing issue or Done means.

Done means

  • Held-out selection: passed. Inspected the CLI selector and executed the registered-task filtering. Defaults remain cheers, spend-approvals, broken-handler, kudos-agents, war-room; explicitly selecting standup selects exactly that held-out tier 2 task.
  • Checks accept correct builds and reject wrong ones: passed. Republished ten representative fixtures from the author's local validation, each as a fresh patch in my own instance, and ran the pinned head's checks under Bun, with the real write barrier and signed-in people. All ten outcome vectors matched expectations:
Fixture Post / team sees it Fix own Ownership
Correct: own-entry upsert pass pass pass
Correct: edit by ID, author check and declared refusal pass pass pass
Wrong: author or any admin may edit pass pass fail
Wrong: ownership enforced only in UI pass pass fail
Wrong: each person sees only their own entry fail fail fail
Wrong: fixing appends a second entry pass fail fail
Correct: multiple entries/day, Edit inside Details pass pass pass
Correct: teammates as table columns pass pass pass
Correct: summary card opens the remaining parts in Details pass pass pass
Correct: save reads first, then waits 3.5 seconds before mutation pass pass pass

In both the UI-only and admin-bypass builds, the ownership check reported: “Ada Park, an admin, sent Ben's fix (entries.save) as their own, and before Ben's own call went through, his entry showed with the fix.” The checked edit-by-ID build and Details-edit build each produced exactly two declared not_yours refusals, Ada's and Cleo's, with no unexpected failed calls. Every correct fixture had no browser errors.

  • Real builds: passed. Ran exactly one eval command, after / showed 72G available:
env -u NODE_ENV pnpm dev eval --only-head --tasks standup --repeats 1 --no-judge --concurrency 2
standup/sonnet/1: built, all 6 checks passed
standup/terra/1:  built, all 6 checks passed
  • Existing behavior: passed. Removing only the two additive helpers (chooseFieldHolding, holdWhile) reproduces base page.ts byte for byte, including decide. Removing the standup registration reproduces the old task list and order exactly. No other existing implementation changed. Local validation:
env -u NODE_ENV pnpm check
PASS format, lint, typecheck, synth, test
Test Files: 256 passed
Tests:      2833 passed

All reported CI checks at this head passed or were intentionally skipped; none failed or remained pending.

  • Documentation: passed. The new sentence matches explicit-only selection, tier 2 and the author-only rule, including admins in the task rubric and server probe. Surface sweep: dev-loop documentation applies and is updated; wire/CLI contracts, vocabulary, migrations, company resources, served pages, reverse states and repo layout do not change.

Golden journeys

None directly affected: the diff changes only eval tasks/helpers/tests and dev documentation. It does not change any product page, flow, CLI output, handler, authentication or data contract. The shared-grader risk to existing eval tasks is covered by the unchanged-code comparison and offline suite above.

Rollback answers: Match the diff. Reverting removes eval-only code and prose; no schema, persistent product data, external action or shipped contract remains. No one-way label is needed. CI's rollback rehearsal passed.

Not run

  • compare, film, trial: explicitly skipped as requested; no applicable product surface changed.
  • Judge scoring and additional eval suites: the instructed run used --no-judge and the one-eval limit.
  • The rest of the author's fixture/regrade corpus: selected ten representative fixtures to bound machine load; two new counted builds were checked instead of repeating all 14 historical builds.

The anticipated overlap with #1242 is a trivial registration/docs rebase, not a defect. No PR code, branch, body or labels were changed; production was not touched.

allisonmahmood added a commit that referenced this pull request Nov 12, 2026
… kept missing (#1249)

## What changed

Agents building on Patchy kept tripping over the same few platform
behaviours that nothing they read said plainly. The fixes are facts, one
or two sentences each, in the two places builders read: the `AGENTS.md`
that `patchy init` writes, and the project skills.

- **A page's form never submits.** Every page runs in a sandboxed frame
without `allow-forms`, so `<form onSubmit>` with a submit button sends
nothing. This caused 27 of the 53 failing runs on main (51%), nearly all
of them Terra's.
- **A plain `Error` doesn't reach the page.** Anything a handler throws
besides a declared `HandlerError`, or one of Patchy's own refusals,
arrives as `handler_failed`, with its message lost.
- **An agent knows a tool's arguments only from its description and
schema.** `t.enum` lists the accepted values in the schema; `t.text()`
names none.
- **The look can colour every `button`'s text, as the Patchy look
does.** A button restyled with a light background then keeps the look's
cream text and disappears.
- **What `ctx.viewer` is, and how a row id reaches
`ctx.tables.<t>.get`.** This was the most common reason builders left
the skills to read Patchy's type declarations.
- **`get` refuses an empty id.**

A last round of edits, written by Claude Fable 5.2 from the judges'
findings on this branch, is the last four commits, the last of them
fixing a review of the round:

- **List order and paging.** A list on a declared index comes back
ascending by the index's columns, so oldest first when `eq` fixes them
all, unless it passes `order: "desc"`; and rows past `limit` come only
through the cursor. The tables example passes both, and patchy-server
gains a paged handler example.
- **What a refusal looks like on the page.** A `HandlerError`'s
`message` is its code. The generated client exports `isHandlerError` and
`isPatchyError`, and patchy-preact shows a page telling them apart and
keeping `retry()` for a lost reply.
- **`useQuery` can't be skipped**, so a query that can't run yet belongs
in a component rendered once it can.
- **`useFileUrl` downloads the whole file as soon as it mounts**, and
each download counts against the viewer's 300 calls a minute.
- **An action's table writes commit one at a time**, and a write that
fails with `unknown_outcome` may have committed.
- **Every `server/` export is callable from the page.** `ctx.agent` is
null where no tool arrives, and a re-export can rename a tool with `as`.
- **The look's heading colour and paragraph width hold** the way its
button colour does.
- **The members skill exists only after `pnpm patchy add members`.**
- It also cuts paragraphs repeated word for word in another skill,
corrects the per-patch live-query re-run limit (2, not 1), and gives the
agent section's error sentence the same exception for Patchy's own
refusals.

Part of #1141. Supersedes #1244, whose change is the first commit here.

## Look at

![Judge scores, main vs this
branch](https://github.com/user-attachments/assets/b43a8987-8351-4374-9bfa-15f657d81af8)

| ×6, 120 verdicts a side | Fit | Platform | Correctness | UX | Code |
Mean | Checks pass |
| --- | --- | --- | --- | --- | --- | --- | --- |
| main (`8a3b347`) | 4.02 | 3.89 | 3.75 | 4.11 | 3.96 | 3.95 | 50/60
(83%) |
| this branch | **4.20** | **4.03** | 3.90 | **4.06** | 3.94 | **4.03**
| **54/60 (90%)** |

The goal was 4.0 or more on every judge dimension. Fit, platform and UX
meet it; **correctness (3.90) and code (3.94) don't yet**. UX and code
are level with main in this run, within noise, though round K moved
both. The rest of the correctness gap is design choices: paging, which
agent tools exist, copying a handler instead of re-exporting it, receipt
cleanup. Five rounds of facts didn't move those (see below).

- **Native-form pages** went from 4 to 0, and "the page sent Patchy
nothing" failures from 6 to 0.
- **Off-skill lookups** fell on the hard tasks: war-room/terra 4.0 →
0.3, spend-approvals/terra 3.7 → 0.0, spend-approvals/sonnet 5.7 → 2.8
per run.
- **Per task**, spend-approvals/terra went from 3/6 to 6/6. One drop:
spend-approvals/sonnet went 5/6 → 4/6. One head build subscribed every
viewer to an admin-only query, and logged `not_admin` refusals. In
another, Ben's request wasn't on Ada's starting view.

**Held-out tasks** (#1242 `recipe-book`, #1243 `standup`, ×3, never used
to choose a change): checks pass 9/12 → **12/12**; judges 3.68 →
**4.04**, correctness 3.04 → 3.75.

**On today's main, with the last round.** Measured after rebasing onto
`7f93b91`:

| ×3, 60 verdicts a side | Fit | Platform | Correctness | UX | Code |
Mean | Checks pass |
| --- | --- | --- | --- | --- | --- | --- | --- |
| main (`7f93b91`) | 3.85 | 3.88 | 3.65 | 4.08 | 3.97 | 3.89 | 17/30 |
| the first five commits (two suites, 120 verdicts) | **4.10** | 3.98 |
3.79 | **4.18** | 3.98 | **4.01** | 16/30, 18/30 |
| with the last round | **4.05** | **4.10** | 3.90 | **4.13** | **4.00**
| **4.04** | 18/30 |

- **The first five commits** still score higher than main on every
dimension.
- **The last round** against the first five is within ×3 noise on scores
(+0.06 mean), but what it aimed at moved. The judges' high and medium
findings about paging and truncation fell from 38 to 17, lists returning
the wrong end from 12 to 6, and retry handling from 18 to 12. All high
and medium findings fell from 170 to 154.
- **Pass rates are low on every side because the eval is broken on
main.** Since #1204, the `team` scenario's Cleo hasn't accepted the
terms, so when the grader opens a patch as her it gets the terms prompt
and the patch never loads. Every cheers and spend-approvals build fails
there. That hits both sides equally, so the comparison holds, but these
pass rates can't be compared with the ×6 above.

**Where the facts go matters more than what they say.** Terra (Codex)
loads `AGENTS.md` into its instructions and reads the skills as long
tool output. Each fact in this table was first tried in a skill alone,
and none changed what Terra built there. In `AGENTS.md`, each did:

| Fact | In the skill only | In `AGENTS.md` |
| --- | --- | --- |
| Forms never submit | native-form pages 1 → 4 of 12, dropped (H1) |
native-form pages 2 → 0; pass 77% → 93% (round A) |
| A plain `Error` is `handler_failed` | plain throws 2 → 1, judges flat,
dropped (G) | plain throws 1 → 0; pass 80% → 90% (H) |
| `t.enum` is in the tool's schema | judges 3.86 → 3.81, dropped (C) |
every dimension up, mean 3.91 → 4.01 (I) |
| A restyled button keeps the look's text colour | too rare in its suite
to read, dropped (F) | transparent-button rules 9 → 3 of 30; UX 3.92 →
4.15, code 3.85 → 3.98 (K) |

`AGENTS.md` is written once, at `patchy init`; `refresh` never touches
it. So each fact also goes into its skill, as it was measured there, so
builders in existing repos get it too. Those skill versions measured
neutral on their own, not harmful. After review, three sentences were
tightened without changing what they tell a builder. A business refusal
is a declared `HandlerError`, and Patchy's own refusals keep their
codes. A tool's description counts as well as its schema. The button
rule holds when the look sets a button text colour.

**War room, Terra, one build each side (round K):** before, the Resolved
and All filter tabs are cream text on cream and only Open shows; after,
all three read.

| Before | After |
| --- | --- |
|
![before](https://github.com/user-attachments/assets/810f0641-3dbf-4d96-ab8a-9d3ffa708a3b)
|
![after](https://github.com/user-attachments/assets/130c7d7c-ba0b-4917-ab6e-6891a4d00311)
|

<details><summary>Every round, kept and dropped</summary>

Each round is an A/B suite: base and head both build all five training
tasks ×3, both builders (Claude Code on Sonnet 5.5, Codex on Terra 6.1),
both judges (Opus 5.5, Sol 6.1): 30 runs and 60 verdicts a side (H2, run
twice: 60 and 120). Rounds after A are measured against #1244 + A.

| Round | Change, and where | Judges, mean | Pass | Target signal |
Result |
| --- | --- | --- | --- | --- | --- |
| H1 | Retitle patchy-loop's "Tier 1 constraints" to cover every page
(forms) | 3.93 → 3.80 | 80% → 77% | native-form pages 1 → 4 of 12 |
dropped |
| H2 | patchy-server: `ctx.viewer`'s shape; row ids reach tables as
`Id<"table">` (×6) | 3.85 → 3.83 | 83% → 78% | off-skill lookups on the
hard tasks 5.2 → 2.1 per run; held-out `standup` too | **kept** (was
#1244) |
| H3 | patchy-server: a `HandlerError`'s message is its code; the
`errors` list | 3.92 → 3.91 | 80% → 83% | bare-code findings 16 → 15 |
dropped |
| A | `AGENTS.md` and patchy-preact: forms never submit in the frame;
patchy-tables: `get` refuses an empty id | 3.82 → **4.03** | 77% →
**93%** | native-form pages 2 → 0; "sent nothing" 3 → 0 | **kept** |
| B | patchy-server: a `t.member()` column holds `user.id`, a copied
name goes stale; patchy-tables: filtering a fetched page misses later
pages | 3.86 → 3.80 | 83% → 73% | builds using a member column 5 → 5 of
12; truncation findings 65 → 67 | dropped |
| C | patchy-server: an action with no tool is closed to agents;
`t.enum` is in the tool's schema | 3.86 → 3.81 | 73% → 73% |
agent-coverage findings 17 → 18 | dropped |
| D | patchy-look: recipe classes need their CSS, the Patchy look's
example company is made up; files: `put` by a caller's name,
`useFileUrl` fetches on mount | 3.93 → 3.91 | 90% → 83% | look findings
13 → 10, files 22 → 15; dimensions flat | dropped |
| F | patchy-tables: a declared index lists ascending; patchy-look: a
restyled button keeps the look's text colour | 3.97 → 4.01 | 90% → 90% |
invisible-text findings 1 → 1, order findings 5 → 7 | dropped |
| G | patchy-server: a plain `Error` reaches the page as
`handler_failed` | 4.06 → 4.05 | 90% → 87% | plain throws 2 → 1 |
dropped (moved to H) |
| H | `AGENTS.md`: G's fact | 3.95 → 3.95 | 80% → **90%** | plain throws
1 → 0; `handler_failed` failures 1 → 0 | **kept** |
| I | `AGENTS.md`: C's `t.enum` fact | 3.91 → **4.01** | 83% → 80% |
every dimension up; agent-check failures 1 → 0 | **kept** (part of the
lift is likely noise: it spans tasks without agent tools) |
| J | `AGENTS.md`: a `list` returns one page and a cursor | 3.99 → 3.96
| 83% → 83% | truncation findings 17 → 19 | dropped |
| K | `AGENTS.md`: F's button fact | 3.92 → **4.03** | 90% → 77% |
transparent-button rules 9 → 3 of 30; UX 3.92 → 4.15 | **kept**, an
exception: its pass dip was 4 plain-`Error` refusals and 1 free-text
agent argument, H's and I's targets, which K's branch lacked |

Judges are the mean of the five dimensions over both judges; each round
is 30 runs and 60 verdicts a side (H2: 60 runs and 120 verdicts).

</details>

## What didn't work, and why

- **Restating a rule where Terra already reads it.** Terra `cat`s whole
skill files on both sides of every A/B, so a heading never gated whether
it saw the form rule (H1). It saw it, and wrote a native form about half
the time anyway. The same fact in `AGENTS.md` worked.
- **Facts about design choices.** Telling builders that a `t.member()`
column holds a stable id (B), that leaving out an agent tool closes it
to agents (C), that filtering a fetched page misses later pages (B, and
J in `AGENTS.md`), or that a declared index lists oldest first (F) left
the designs unchanged. Truncation findings stayed at 65 → 67 and 17 →
19. Only facts about behaviour the builder didn't know changed what it
built. The exception came in the last round: it restated paging as what
`list` does, with an example passing `order` and the cursor, and the
paging findings halved (38 → 17).
- **Saying what a refusal looks like on the page (H3).** True, and
builders still showed the bare code.
- **The look's example company.** I wrote that the Patchy look's example
markup names a made-up company, Acme Co, after judges flagged pages that
read "Acme Co". The `team` scenario's company *is* Acme Co, so those
pages were right and the judges wrong. Dropped (D). The last round says
only that the sample's names are placeholders and the company's name is
`company.name`.
- **Codex truncating long output.** Terra prints several skills in one
command, so I checked whether the form rule fell in an elided middle.
Runs where the rule landed in the visible head or tail used native forms
as often (3/5) as those where it was cut (21/49), so that isn't why.

## How it was verified

- **Final:** this branch's head against main (`8a3b347`), ×6 (two ×3
suites on the same commits), all five training tasks, both builders,
both judges.
- **Held-out:** both held-out tasks, #1242 `recipe-book` and #1243
`standup`, merged locally onto main, with this branch on top. They were
never used to choose a change. Result, ×3, 24 verdicts a side: pass 9/12
(75%) → **12/12 (100%)**; judges 3.68 → **4.04** (fit 3.79 → 4.17,
platform 3.96 → 4.25, correctness 3.04 → 3.75, UX 3.92 → 4.13, code 3.71
→ 3.88); native-form pages 3 → 0.
- **Facts checked against the code:**
- forms: `packages/serving/src/shell.ts`, the frame's
`sandbox="allow-scripts allow-modals"`
- refusals: `packages/runtime/src/Invocation.ts`, `HandlerFailed`'s
fixed message
  - enums in tool schemas: `packages/api/src/agentTools.ts`
- buttons: `packages/companies/looks/patchy/look.css`, the `button` rule
- empty ids: `packages/api/src/runtime.ts`, `tables.get` takes
`NonEmptyText`
- viewer shape: `ContextBase.viewer: Me` in
`packages/patchy/src/server.ts`
- **The last round:** its head (`c8af5ed`, before the last commit's two
wording fixes and a clean rebase) against the first five commits, ×3;
and the first five against main in a separate ×3 suite, both on
`7f93b91`. Each claim in it was checked against the code:
`TableOperations.ts` for list order, `handlerError.ts`,
`generateClient.ts` and `generateServer.ts` for refusals and imports,
`useQuery.ts`, the admission in `Runtime.ts` for file downloads,
`registry.ts` for limits, `handlerDescriptors.ts` for re-exports,
`Generation.ts` for the members skill, and `look.css`.
- **Review of the last round:** GPT-6.1 Sol at xhigh, in Codex. Its five
findings are fixed in the last commit: a declared index sorts by its
columns, not by age; the page's error example left the `missing` code to
show as text; only handler runs leave log entries; a call never sent
fails with `unknown_outcome` and no `retry()`; and patchy-server
repeated patchy-preact on `useQuery`.
- **Raw runs stay on the eval machine.**
- On this head, format, the SDK's skill tests (34, in `install`,
`FrontDoor` and `SdkApi`) and `initProject.test.ts` (15) pass. Before
the last round, `env -u NODE_ENV pnpm check`: format, lint, typecheck
and synth pass; 2,828 of 2,830 tests pass. The two that timed out at 30
s (`cliRepoPublish`, `devServerWatch`) did so while four eval suites
shared the machine; rerun alone with `initProject.test.ts`, all 38 pass.

**Noise, so the numbers read right.** The same main commit read between
3.89 and 3.99 mean across suites, and one run is 3.3 points of a ×3 pass
rate. Rounds were kept when their target moved and their pass rate held;
K is the stated exception. The headline numbers pool two ×3 suites run
on the same two commits.

**Found on the way, outside this PR:**
- **The eval since #1204.** The grader can't open a patch as the `team`
scenario's Cleo, who hasn't accepted the terms, so two of the five tasks
can't pass. A fix: the eval accepts the current terms for every person
it signs in as.
- **A live-query race.** A shell `replace` that arrives after a later
`subscribe` is refused with 409, and the grader fails any check whose
page logged an error. That can fail a correct build.
- **Eval disk use.** The harness keeps a ~2 GB builder home per run. A
trimmer on the eval machine covered it here.

## Release impact

- [ ] **Breaking** — requires action from anyone already running this
- [x] **Not breaking** — no action required: skill text, and the
`AGENTS.md` text new repos get.

- **What does a revert leave behind?** Repos initialised in between keep
the new `AGENTS.md` sentences, which stay true; skills regenerate from
the release.
- **Does the release before it still work with that?** Yes.

Claude Opus 5.5 in Claude Code, through T3 Code; the last round's skill
edits by Claude Fable 5.2.

---------

Co-authored-by: Allison Mahmood <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>

This branch has not been deployed

No deployments
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