Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
3d7effe
test(FIX-2087): the closure's goal and the task-surface sweep in CI
claude Oct 23, 2026
63da04f
test(FIX-2087): the closure's first verdicts
claude Oct 23, 2026
f6d06f1
test(FIX-2087): the sweep reads tools and endings by symbol; controls…
claude Oct 23, 2026
b6f75bf
test(FIX-2087): a forwarder exempts only its forwarding; every block …
claude Oct 23, 2026
fdb18c5
Merge remote-tracking branch 'origin/main' into fix/FIX-2087
claude Oct 23, 2026
b76f76b
test(FIX-2087): j1 counts only notice requests that ran a turn; j1:he…
claude Oct 23, 2026
e7c24c7
Merge remote-tracking branch 'origin/main' into fix/FIX-2087
claude Oct 23, 2026
7e07954
Merge remote-tracking branch 'origin/main' into fix/FIX-2087
claude Oct 23, 2026
deaccbd
test(FIX-2087): row 3 grades the closure's own findings
claude Oct 23, 2026
1ba899d
test(FIX-2087): classify the closure goal in FIX-1792's census
claude Oct 23, 2026
89217e4
test(FIX-2087): the closure's verdict on main with every closure fix …
claude Oct 23, 2026
024a259
Merge remote-tracking branch 'origin/main' into fix/FIX-2087
claude Oct 23, 2026
5e5ee0e
test(FIX-2087): row 3 grades FIX-2123, FIX-2135 and FIX-2136
claude Oct 23, 2026
455b3fb
test(FIX-2087): a hearing is a notice admitted, not a request started
claude Oct 23, 2026
1defdcc
Merge remote-tracking branch 'origin/main' into fix/FIX-2087
claude Oct 23, 2026
e51ac8b
test(FIX-2087): row 3 runs FIX-2138's regression test
claude Oct 23, 2026
cde0a95
test(FIX-2087): round 3's verdicts
claude Oct 23, 2026
46a6629
Merge origin/main into fix/FIX-2087
claude Oct 23, 2026
4ec08e6
test(goals): grade FIX-2147, FIX-2149 and FIX-2150 in the closure's r…
claude Oct 23, 2026
8a5ed55
refactor(goals): fold the shorter one-task notes from #3790 (083cef8a…
claude Oct 23, 2026
77dd49e
fix(goals): the closure fails closed, and grades a word-for-word foll…
claude Oct 23, 2026
683c151
fix(goals): every control's tags must go red, and the door rule reads…
claude Oct 23, 2026
9a35628
fix(goals): read a control's red from its tagged failures, and bring …
claude Oct 24, 2026
b6516a8
docs(goals): the closure's goal states how a control is read and what…
claude Oct 24, 2026
eb33735
docs(goals): round 4's verdicts in the closure's log (FIX-2087)
claude Oct 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs(goals): the closure's goal states how a control is read and what…
… j1:tools reads (FIX-2087)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VaN4uTiYqiabCbsFLWM52A
  • Loading branch information
claude committed Oct 24, 2026
commit b6516a8a9ac903e19a2cb505e4e81cb24180584f
6 changes: 3 additions & 3 deletions goals/workforce-coordination/runs-on-one-task/goal.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
**Signal:** each failure is tagged `<leg>:<assertion>`, and each assertion is **structural** or **judgment** (`TAGS` in `run.mts`, printed with every failure; D1).

- **a**, the concept's walk less the call and the Inbox: `a:routed-listed` launch's routed task for writer is in Alice's list; `a:files-research` writer files researcher's task; `a:ends-running` writer's task stays running past its first request and its research; `a:one-settled` one `onTaskSettled` per research ending starts writer again; `a:step-dispatched` writer files its fact-check as a step in a session of its own; `a:drain-waits` the task ends after that step; `a:answers-after-steps` writer gets a turn after the step ends; `a:lands-once` the draft lands once, under writer's name; `a:draft-content` with the held-out word and researcher's fact; `a:follow-up` Alice's follow-up from the finished task runs in its session and is answered by a turn of writer's after it was filed; `a:follow-up-differs` (judgment) that turn writes a new version, not the original word for word (when it does, the two lines read alike and are told apart by when each landed); `a:original-unchanged` the original reads byte-identical; `a:once` every ending reaches its filer once.
- **j1** (a team that hands out work): `j1:routed` (structural) launch routed Alice's message to editor, `j1:files` (judgment) editor filed for researcher, `j1:waits-in-request` editor reads the research's ending with `getTask` in the same request, `j1:read-once` and so no notice turn runs for it (an `onTaskSettled` request that finds the notice no longer owed, output `{ owed: false }`, runs no turn and isn't counted), `j1:heard-once` the ending is heard exactly once, by that read, `j1:answer`, `j1:tools` no task turn is offered a task tool beyond the allow list, `j1:once`.
- **j1** (a team that hands out work): `j1:routed` (structural) launch routed Alice's message to editor, `j1:files` (judgment) editor filed for researcher, `j1:waits-in-request` editor reads the research's ending with `getTask` in the same request, `j1:read-once` and so no notice turn runs for it (an `onTaskSettled` request that finds the notice no longer owed, output `{ owed: false }`, runs no turn and isn't counted), `j1:heard-once` the ending is heard exactly once, by that read, `j1:answer`, `j1:tools` no task turn is offered a tool beyond the allow list and the roster's own two (`listDelegates`, `messageWorker`), whatever it is called, `j1:once`.
- **j2** (a team that runs a coordinator): `j2:steered` Alice's steer of an open routed task is taken, `j2:steer-shows` the draft carries the steer word, `j2:cancelled` her cancel of another ends it, `j2:cancel-heard-once` launch's session hears it once and no line lands.
- **b**: `b:routed` (structural), `b:files-research` (judgment) writer filed research before the kill; `b:killed` the server dies after researcher's ending is written and before it is sent (FIX-2078's kill point, reused); `b:hears-in-due-time` after a restart with no touch, writer hears it within the due time plus 2 s; `b:once`.
- **c**: researcher's model refuses every call. `c:routed` (structural), `c:files-dependent` (judgment), `c:fails-out`, `c:dependent-cancelled`, `c:one-failure-notice` writer hears one failure notice naming the dependent it cancelled, and none for the dependent; `c:writer-ends` (structural) writer's task ends, not left open; `c:once` its one line lands.
- **sweep** (`sweep.mjs`, the engine CI runs): 0 live lines and no CAN'T TELL (every allowed tool read, every recorder key naming one function), and `--control` reports exactly its plants.
- **children** (`children.mts`): every child's goal or check with its controls, the set read from Linear (when it can't be read, row 3 runs the set here and fails); plus the coordinators, hand-offs and FIX-2005 privacy goals, and the goal-seek loop. The closure's own findings are children too once filed: each runs its regression tests and names, in `by`, the run here that grades it end to end (a goal another entry runs, a row-1 assertion, or the sweep). A `by` that names no such run fails. A child with an entry here that Linear doesn't list as blocking runs too, and is printed as such.
- **children** (`children.mts`): every child's goal or check with its controls, the set read from Linear (when it can't be read, row 3 runs the set here and fails); plus the coordinators, hand-offs and FIX-2005 privacy goals, and the goal-seek loop. A control passes only when its goal exits 1, every tag its goal.md says it must fail has a `FAIL` bullet of its own, and the goal prints no diagnostic that a control of its own stayed green. The closure's own findings are children too once filed: each runs its regression tests and names, in `by`, the run here that grades it end to end (a goal another entry runs, a row-1 assertion, or the sweep). A `by` that names no such run fails. A child with an entry here that Linear doesn't list as blocking runs too, and is printed as such.
- **gaps** (`gaps.mts`): the 31 in-scope gaps rows, each mapped to the checks that read it. A row passes only when every check it names ran in the same closure run and passed: a goal or regression test row 3 ran, each control it names red as documented, a row-1 assertion whose leg passed, or the sweep. A label naming no such run, or one not run here, fails. It grades that each row's checks ran green, not that they reach every side of the row; the row's own wording is the claim they're read against.

**Anti-game:** Alice's conversation and rows are read through `listTasks_tasks` and `getTask_tasks` as Alice; every other grade reads the store file, read-only; endings are counted from the filer's notices and requests. No fixture writes a row, a session or a notice. The kill is a real process exit at the delivery's send, and the restarted server gets no action. A structural FAIL on any attempt is a finding, never retried past (D1).
Expand All @@ -31,7 +31,7 @@
- `GOAL_CONTROL=no-sweeper-payment` (FIX-2078's, imported from its goal's `controls.mts`) must FAIL **`b:hears-in-due-time`**.
- `GOAL_CONTROL=no-cascade` (FIX-2080's, imported from its goal's `controls.mts`) must FAIL **`c:dependent-cancelled`**.
- Either control leaving its tag green fails the run as `control:broken`, so a broken control can't read as a pass.
- `node sweep.mjs --control` plants tools built through a renamed local alias, a template name, a sequencer and a generator under renamed imports, and a renamed `handler` import and a namespace import in sibling files; a removed name; a removed door brought back in the agent's worker flow and, under a computed key, the coordinator's (a worker flow is a core `defineFlow` declaring `respond` or with a `configSchema` typed by the worker contract, and both built-in flows must be read, or it can't tell); endings through a renamed variable, a claim-passing cancel (called, through `.call`, `.apply` and element access, destructured, and handed on by `.bind`; the same shapes without a claim must not be reported), a renamed, a namespace, a destructured and a passed-on pass-through, destructuring, element access and `.call`, and a direct write inside a collection wrapper; and a second function named like a recorder. It must report exactly those, and say it can't tell when the real capability's `createTask` isn't built with `handler`. `node sweep.mjs --at <commit>` sweeps another commit's tree: today's `main` before the epic must FAIL.
- `node sweep.mjs --control` plants tools built through a renamed local alias, a template name, a sequencer and a generator under renamed imports, and a renamed `handler` import and a namespace import in sibling files; a removed name; a removed door brought back in the agent's worker flow and, under a computed key, the coordinator's (a worker flow is a core `defineFlow` declaring `respond` or with a `configSchema` typed by the worker contract, and both built-in flows must be read, or it can't tell); endings through a renamed variable, a claim-passing cancel (called, through `.call`, `.apply` and element access, destructured, and handed on by `.bind`; the same shapes without a claim must not be reported), a renamed, a namespace, a destructured and a passed-on pass-through, destructuring, element access and `.call`, and a direct write, and writes through `.call` and `.apply`, inside a collection wrapper; and a second function named like a recorder. It must report exactly those, and say it can't tell when the real capability's `createTask` isn't built with `handler`. `node sweep.mjs --at <commit>` sweeps another commit's tree: today's `main` before the epic must FAIL.

## Verdict log
| Date | Commit | Model | Verdict | Notes |
Expand Down