2026-07-22 20:55:25 +00:00
|
|
|
|
# FLEET.md — the roster, and how it actually runs
|
|
|
|
|
|
|
|
|
|
|
|
> **Status:** descriptive snapshot, not doctrine. This file records how the
|
|
|
|
|
|
> agent fleet that builds this repo is wired *today*, so the setup can later be
|
|
|
|
|
|
> solidified into a replicable fleet-management solution. It is **not** part of
|
|
|
|
|
|
> the vendored doctrine set (`.ceremony/`) and is never mirrored to consumer
|
|
|
|
|
|
> repos. The doctrine files (AGENTS.md, TRIAGE.md, BUILDER.md, REVIEWER.md,
|
|
|
|
|
|
> LABELS.md, CONTRIBUTING.md) say what roles *must* do; this file says how the
|
2026-07-27 18:16:17 +00:00
|
|
|
|
> current bench *physically* does it — and since the duty engine converged
|
|
|
|
|
|
> into [heavy-duty/crew](https://github.com/heavy-duty/crew) (private to the
|
|
|
|
|
|
> org; the fleet can read it), the *mechanism* lives there and this file only
|
|
|
|
|
|
> points at it. Last reconciled against the merged engine at
|
docs(fleet): ci-red is deployed engine — advance the stamp to crew@4da17c4
Refs #189 — the post-merge, triage-owned task, now reachable: heavy-duty/crew#64
merged at 4da17c49594c2d86bd3793fa3567846cbca38e90.
#190 wrote the ci-red wake into FLEET.md deliberately marked on paper, per this
file's convention for a spec that is not yet running, and left the reconciliation
stamp at crew@01fb49c because advancing it to a SHA that did not carry the wake
would be the drift #187 exists to remove. crew#64 has merged, so both halves flip:
- The stamp advances to crew@4da17c4, and every crew permalink in the file with
it. A stamp and its evidence links naming different trees is worse than no
stamp: the reader diffs the wrong engine and finds no drift because the tree
they were pointed at is the one the prose was written against.
- The four on-paper markers go: the duty-order caveat, the ci-red bullet's
parenthetical, the Build bullet's "once ci-red deploys", and the closing
paper inventory — which now names one remaining paper wake, the notifier's
needs-ruling queue, not two.
The Build bullet is not a pure marker removal. crew#64's last review round
changed what it has to say: the operator ruled the round gate a whitelist, so
the wake admits a green head OR one with no checks configured, and holds a red
head AND one whose check has not finished. Copying the old "never a round at a
red head" through the flip would have shipped a fresh inaccuracy on the same
commit that claims the file is reconciled. The ci-red bullet gains the matching
sentence from the other side: an unfinished check is not a red head and wakes
nothing, because nothing has failed yet.
Verified at the stamped SHA rather than assumed: duty.sh's header carries
attention → … → resume → ci-red → build (and says it is what this file is
reconciled against), shared/README.md's duty order matches, and notify.sh's
only label filter is still state:needs-human — which is what keeps the
remaining paper claim true.
18/18 test files pass; changelog_fragment_problem OK (it caught a 387-char
entry against the 300 bound, now split); shellcheck, actionlint self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:22:07 +00:00
|
|
|
|
> [`heavy-duty/crew@4da17c4`](https://github.com/heavy-duty/crew/tree/4da17c49594c2d86bd3793fa3567846cbca38e90),
|
2026-07-27 18:16:17 +00:00
|
|
|
|
> 2026-07-27 — a descriptive file with no reconciliation stamp gives the next
|
|
|
|
|
|
> reader nothing to diff, which is exactly how the #149 drift went unnoticed.
|
2026-07-22 20:55:25 +00:00
|
|
|
|
|
|
|
|
|
|
## The roster
|
|
|
|
|
|
|
|
|
|
|
|
One box (an isolated, disposable VM) per GitHub identity. Boxes are credential
|
|
|
|
|
|
boundaries; sessions inside a box are role boundaries. No box has an inbound
|
|
|
|
|
|
network path — GitHub is the only queue.
|
|
|
|
|
|
|
|
|
|
|
|
| Identity | Box | CLI | Roles |
|
|
|
|
|
|
|---|---|---|---|
|
|
|
|
|
|
| `dan-claude-bot` | triage-box | Claude Code | **triage** — the only issue-minter |
|
|
|
|
|
|
| `claude-bot-andresmgsl` | claude-box | Claude Code | builder (hard machinery) + reviewer |
|
|
|
|
|
|
| `codex-bot-andresmgsl` | codex-box | Codex CLI | builder (mechanical) + reviewer |
|
|
|
|
|
|
| `grok-bot-andresmgsl` | grok-box | Grok CLI | reviewer |
|
|
|
|
|
|
| `kimi-bot-andresmgsl` | kimi-box | Kimi CLI | reviewer |
|
|
|
|
|
|
|
2026-07-27 18:16:17 +00:00
|
|
|
|
This table is the **as-built** bench — five boxes, two of them dual-role. It
|
|
|
|
|
|
is not the same thing as crew's
|
docs(fleet): ci-red is deployed engine — advance the stamp to crew@4da17c4
Refs #189 — the post-merge, triage-owned task, now reachable: heavy-duty/crew#64
merged at 4da17c49594c2d86bd3793fa3567846cbca38e90.
#190 wrote the ci-red wake into FLEET.md deliberately marked on paper, per this
file's convention for a spec that is not yet running, and left the reconciliation
stamp at crew@01fb49c because advancing it to a SHA that did not carry the wake
would be the drift #187 exists to remove. crew#64 has merged, so both halves flip:
- The stamp advances to crew@4da17c4, and every crew permalink in the file with
it. A stamp and its evidence links naming different trees is worse than no
stamp: the reader diffs the wrong engine and finds no drift because the tree
they were pointed at is the one the prose was written against.
- The four on-paper markers go: the duty-order caveat, the ci-red bullet's
parenthetical, the Build bullet's "once ci-red deploys", and the closing
paper inventory — which now names one remaining paper wake, the notifier's
needs-ruling queue, not two.
The Build bullet is not a pure marker removal. crew#64's last review round
changed what it has to say: the operator ruled the round gate a whitelist, so
the wake admits a green head OR one with no checks configured, and holds a red
head AND one whose check has not finished. Copying the old "never a round at a
red head" through the flip would have shipped a fresh inaccuracy on the same
commit that claims the file is reconciled. The ci-red bullet gains the matching
sentence from the other side: an unfinished check is not a red head and wakes
nothing, because nothing has failed yet.
Verified at the stamped SHA rather than assumed: duty.sh's header carries
attention → … → resume → ci-red → build (and says it is what this file is
reconciled against), shared/README.md's duty order matches, and notify.sh's
only label filter is still state:needs-human — which is what keeps the
remaining paper claim true.
18/18 test files pass; changelog_fragment_problem OK (it caught a 387-char
entry against the 300 bound, now split); shellcheck, actionlint self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:22:07 +00:00
|
|
|
|
[`fleet.roster`](https://github.com/heavy-duty/crew/blob/4da17c49594c2d86bd3793fa3567846cbca38e90/fleet.roster),
|
2026-07-27 18:16:17 +00:00
|
|
|
|
whose own header declares it the **target** environment: seven single-role
|
|
|
|
|
|
boxes, the dual-role claude and codex boxes each split into a builder and a
|
|
|
|
|
|
reviewer member. The delta is exactly that split (plus each new box needing
|
|
|
|
|
|
its own identity at login); until it is deployed, this table is the record of
|
|
|
|
|
|
what actually runs, and `fleet.roster` is where it is going.
|
|
|
|
|
|
|
2026-07-22 20:55:25 +00:00
|
|
|
|
Review panel per PR = the reviewer bench minus the PR's author (recusal by
|
|
|
|
|
|
construction). Only humans merge — enforced as permissions (the agents team
|
|
|
|
|
|
holds the triage role, not write), not as convention.
|
|
|
|
|
|
|
|
|
|
|
|
## Anatomy of a duty loop
|
|
|
|
|
|
|
2026-07-27 18:16:17 +00:00
|
|
|
|
The mechanism is no longer described here. The five hand-rolled duty scripts
|
|
|
|
|
|
converged into crew's shared engine, and a prose mirror of running code in a
|
|
|
|
|
|
second repo is a second thing to keep true — this one drifted (it said cron
|
|
|
|
|
|
ran `duty.sh` directly and gave the hygiene sweep its own cron line; crew's
|
|
|
|
|
|
`duty.sh` records that separate line as the bug it fixed, sharing
|
|
|
|
|
|
`~/duty/work` unlocked). How a tick actually works — cron fires
|
docs(fleet): ci-red is deployed engine — advance the stamp to crew@4da17c4
Refs #189 — the post-merge, triage-owned task, now reachable: heavy-duty/crew#64
merged at 4da17c49594c2d86bd3793fa3567846cbca38e90.
#190 wrote the ci-red wake into FLEET.md deliberately marked on paper, per this
file's convention for a spec that is not yet running, and left the reconciliation
stamp at crew@01fb49c because advancing it to a SHA that did not carry the wake
would be the drift #187 exists to remove. crew#64 has merged, so both halves flip:
- The stamp advances to crew@4da17c4, and every crew permalink in the file with
it. A stamp and its evidence links naming different trees is worse than no
stamp: the reader diffs the wrong engine and finds no drift because the tree
they were pointed at is the one the prose was written against.
- The four on-paper markers go: the duty-order caveat, the ci-red bullet's
parenthetical, the Build bullet's "once ci-red deploys", and the closing
paper inventory — which now names one remaining paper wake, the notifier's
needs-ruling queue, not two.
The Build bullet is not a pure marker removal. crew#64's last review round
changed what it has to say: the operator ruled the round gate a whitelist, so
the wake admits a green head OR one with no checks configured, and holds a red
head AND one whose check has not finished. Copying the old "never a round at a
red head" through the flip would have shipped a fresh inaccuracy on the same
commit that claims the file is reconciled. The ci-red bullet gains the matching
sentence from the other side: an unfinished check is not a red head and wakes
nothing, because nothing has failed yet.
Verified at the stamped SHA rather than assumed: duty.sh's header carries
attention → … → resume → ci-red → build (and says it is what this file is
reconciled against), shared/README.md's duty order matches, and notify.sh's
only label filter is still state:needs-human — which is what keeps the
remaining paper claim true.
18/18 test files pass; changelog_fragment_problem OK (it caught a 387-char
entry against the 300 bound, now split); shellcheck, actionlint self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:22:07 +00:00
|
|
|
|
[`bin/tick.sh`](https://github.com/heavy-duty/crew/blob/4da17c49594c2d86bd3793fa3567846cbca38e90/shared/bin/tick.sh),
|
2026-07-27 18:16:17 +00:00
|
|
|
|
the only cron target, which wraps
|
docs(fleet): ci-red is deployed engine — advance the stamp to crew@4da17c4
Refs #189 — the post-merge, triage-owned task, now reachable: heavy-duty/crew#64
merged at 4da17c49594c2d86bd3793fa3567846cbca38e90.
#190 wrote the ci-red wake into FLEET.md deliberately marked on paper, per this
file's convention for a spec that is not yet running, and left the reconciliation
stamp at crew@01fb49c because advancing it to a SHA that did not carry the wake
would be the drift #187 exists to remove. crew#64 has merged, so both halves flip:
- The stamp advances to crew@4da17c4, and every crew permalink in the file with
it. A stamp and its evidence links naming different trees is worse than no
stamp: the reader diffs the wrong engine and finds no drift because the tree
they were pointed at is the one the prose was written against.
- The four on-paper markers go: the duty-order caveat, the ci-red bullet's
parenthetical, the Build bullet's "once ci-red deploys", and the closing
paper inventory — which now names one remaining paper wake, the notifier's
needs-ruling queue, not two.
The Build bullet is not a pure marker removal. crew#64's last review round
changed what it has to say: the operator ruled the round gate a whitelist, so
the wake admits a green head OR one with no checks configured, and holds a red
head AND one whose check has not finished. Copying the old "never a round at a
red head" through the flip would have shipped a fresh inaccuracy on the same
commit that claims the file is reconciled. The ci-red bullet gains the matching
sentence from the other side: an unfinished check is not a red head and wakes
nothing, because nothing has failed yet.
Verified at the stamped SHA rather than assumed: duty.sh's header carries
attention → … → resume → ci-red → build (and says it is what this file is
reconciled against), shared/README.md's duty order matches, and notify.sh's
only label filter is still state:needs-human — which is what keeps the
remaining paper claim true.
18/18 test files pass; changelog_fragment_problem OK (it caught a 387-char
entry against the 300 bound, now split); shellcheck, actionlint self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:22:07 +00:00
|
|
|
|
[`bin/duty.sh`](https://github.com/heavy-duty/crew/blob/4da17c49594c2d86bd3793fa3567846cbca38e90/shared/bin/duty.sh)
|
2026-07-27 18:16:17 +00:00
|
|
|
|
in a non-blocking `flock` with one evidence line per boundary; the boot gate
|
|
|
|
|
|
and crash recovery; the session runner; backlog hygiene self-scheduling
|
|
|
|
|
|
inside the duty tick under the same lock — lives with the code:
|
docs(fleet): ci-red is deployed engine — advance the stamp to crew@4da17c4
Refs #189 — the post-merge, triage-owned task, now reachable: heavy-duty/crew#64
merged at 4da17c49594c2d86bd3793fa3567846cbca38e90.
#190 wrote the ci-red wake into FLEET.md deliberately marked on paper, per this
file's convention for a spec that is not yet running, and left the reconciliation
stamp at crew@01fb49c because advancing it to a SHA that did not carry the wake
would be the drift #187 exists to remove. crew#64 has merged, so both halves flip:
- The stamp advances to crew@4da17c4, and every crew permalink in the file with
it. A stamp and its evidence links naming different trees is worse than no
stamp: the reader diffs the wrong engine and finds no drift because the tree
they were pointed at is the one the prose was written against.
- The four on-paper markers go: the duty-order caveat, the ci-red bullet's
parenthetical, the Build bullet's "once ci-red deploys", and the closing
paper inventory — which now names one remaining paper wake, the notifier's
needs-ruling queue, not two.
The Build bullet is not a pure marker removal. crew#64's last review round
changed what it has to say: the operator ruled the round gate a whitelist, so
the wake admits a green head OR one with no checks configured, and holds a red
head AND one whose check has not finished. Copying the old "never a round at a
red head" through the flip would have shipped a fresh inaccuracy on the same
commit that claims the file is reconciled. The ci-red bullet gains the matching
sentence from the other side: an unfinished check is not a red head and wakes
nothing, because nothing has failed yet.
Verified at the stamped SHA rather than assumed: duty.sh's header carries
attention → … → resume → ci-red → build (and says it is what this file is
reconciled against), shared/README.md's duty order matches, and notify.sh's
only label filter is still state:needs-human — which is what keeps the
remaining paper claim true.
18/18 test files pass; changelog_fragment_problem OK (it caught a 387-char
entry against the 300 bound, now split); shellcheck, actionlint self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:22:07 +00:00
|
|
|
|
[`shared/README.md`](https://github.com/heavy-duty/crew/blob/4da17c49594c2d86bd3793fa3567846cbca38e90/shared/README.md)
|
2026-07-27 18:16:17 +00:00
|
|
|
|
is the map, provenance table included. Sessions stay stateless and
|
|
|
|
|
|
disposable — all state lives on the board (issues, PRs, labels) and in git
|
|
|
|
|
|
branches; detection is the engine's, judgment is the session's.
|
|
|
|
|
|
|
|
|
|
|
|
What belongs here is what a wake *means*:
|
|
|
|
|
|
|
|
|
|
|
|
- **The registry is the scope.** Every duty *queue* works the repos named in
|
|
|
|
|
|
the box's `~/duty/repos.txt` and only those: the boards triage sweeps, the
|
|
|
|
|
|
bound on a builder's author-side duties, the reviewer's queue. **A review
|
|
|
|
|
|
request outside the registry is not authorization to review** — it is
|
|
|
|
|
|
logged, a WARN naming the request, and never acted on; the repair is the
|
|
|
|
|
|
operator adding the repo to the list. The rule changed on 2026-07-25
|
|
|
|
|
|
(operator ruling, crew#16): the old doctrine — a reviewer's registry is
|
|
|
|
|
|
the org itself and no repo filter may gate a request — made every box's
|
|
|
|
|
|
write surface the whole org, which no registry could bound: the drill's
|
|
|
|
|
|
containment interlock narrowed `repos.txt` and so confined triage and
|
|
|
|
|
|
hygiene, but not review, the one module that submits verdicts.
|
docs(fleet): ci-red is deployed engine — advance the stamp to crew@4da17c4
Refs #189 — the post-merge, triage-owned task, now reachable: heavy-duty/crew#64
merged at 4da17c49594c2d86bd3793fa3567846cbca38e90.
#190 wrote the ci-red wake into FLEET.md deliberately marked on paper, per this
file's convention for a spec that is not yet running, and left the reconciliation
stamp at crew@01fb49c because advancing it to a SHA that did not carry the wake
would be the drift #187 exists to remove. crew#64 has merged, so both halves flip:
- The stamp advances to crew@4da17c4, and every crew permalink in the file with
it. A stamp and its evidence links naming different trees is worse than no
stamp: the reader diffs the wrong engine and finds no drift because the tree
they were pointed at is the one the prose was written against.
- The four on-paper markers go: the duty-order caveat, the ci-red bullet's
parenthetical, the Build bullet's "once ci-red deploys", and the closing
paper inventory — which now names one remaining paper wake, the notifier's
needs-ruling queue, not two.
The Build bullet is not a pure marker removal. crew#64's last review round
changed what it has to say: the operator ruled the round gate a whitelist, so
the wake admits a green head OR one with no checks configured, and holds a red
head AND one whose check has not finished. Copying the old "never a round at a
red head" through the flip would have shipped a fresh inaccuracy on the same
commit that claims the file is reconciled. The ci-red bullet gains the matching
sentence from the other side: an unfinished check is not a red head and wakes
nothing, because nothing has failed yet.
Verified at the stamped SHA rather than assumed: duty.sh's header carries
attention → … → resume → ci-red → build (and says it is what this file is
reconciled against), shared/README.md's duty order matches, and notify.sh's
only label filter is still state:needs-human — which is what keeps the
remaining paper claim true.
18/18 test files pass; changelog_fragment_problem OK (it caught a 387-char
entry against the 300 bound, now split); shellcheck, actionlint self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:22:07 +00:00
|
|
|
|
[`lib/duty-review.sh`](https://github.com/heavy-duty/crew/blob/4da17c49594c2d86bd3793fa3567846cbca38e90/shared/lib/duty-review.sh)
|
2026-07-27 18:16:17 +00:00
|
|
|
|
states the rule and implements the WARN.
|
docs(fleet): reconcile the attention wake too — the stamp covers the whole file
Refs #189. Round 1 on #191 (codex blocking, kimi nit).
codex caught that advancing the stamp to crew@4da17c4 made the attention
section false. It did, and the error is mine in kind, not only in detail: a
reconciliation stamp is a claim about the WHOLE file against that tree, and I
audited only the ci-red surface across a 17-commit advance. That is the #187
failure mode, on the PR that closes #189.
What was false at the pinned SHA, all from the crew#66 ruling (danmt,
2026-07-27) landing in d578150e:
- "One wake is registry-independent, by design: attention" — no wake is
exempt now. _attention_partition splits rows against the registry; OUT rows
are reported and never acted on.
- "the assignment is what carries the authorization — there is nothing here
for a repo list to scope" — this is the position the ruling REJECTED. The
cost was argued first: a cross-repo handoff now waits on an operator adding
the repo, which is why an out-of-scope demand also pings the operator over
the boot-gate channel rather than only reaching duty.log.
- "a fix that bounds this wake to the registry would re-create the #16
incident" — that fix landed, with the ping as its mitigation.
- The parenthetical calling crew's repos-default.txt header a contradiction
"raised there as a discussion" — the discussion is crew#66, it was ruled,
and crew's header now names the attention wake explicitly. This file was
preserving the losing side of a settled question.
Also in range and owned by this section: d849f166 ledgered the wake, so
"a session that dies before acking is relaunched; that is the whole
crash-recovery story" no longer is. Dying relaunches; COMPLETING without
acking is a decline, and the ledger stops it re-firing until the issue
moves. Meaning, not mechanism, so it belongs here.
Re-audited the rest of the advance rather than spot-fixing: fleet.roster
still declares itself the TARGET environment (the roster paragraph holds),
and the roster/install commits touch role resolution inside crew, which this
file does not describe.
kimi's nit, which the earlier rewrite made mine: the paper inventory counted
one row while the triage-signals bullet marks a second. Both are needs-ruling
rows and both are now named — a number that has to be recounted every time a
wake lands is the thing that went wrong.
18/18 test files; changelog_fragment_problem OK; shellcheck, self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:36:10 +00:00
|
|
|
|
- **No wake is exempt, including attention** (next section). The attention
|
|
|
|
|
|
*query* is cross-repo by construction — it is one call to the
|
|
|
|
|
|
authenticated-user endpoint, which has no repo filter — but the *action*
|
|
|
|
|
|
it authorizes is bounded like every other. A demand parked on this box in
|
|
|
|
|
|
a repo nobody listed is reported, never worked.
|
2026-07-22 20:55:25 +00:00
|
|
|
|
|
|
|
|
|
|
### Wake conditions
|
|
|
|
|
|
|
2026-07-23 18:18:00 +00:00
|
|
|
|
One wake is shared by all three roles, so it is stated once instead of pasted
|
|
|
|
|
|
into each list: **an open issue assigned to me carrying `attention`.** Anyone
|
|
|
|
|
|
can be an assignee, which is why the trigger is role-independent — triage,
|
|
|
|
|
|
builders and reviewers all carry it, and the pickup session is the same shape
|
|
|
|
|
|
in each. It runs **first, ahead of everything in the per-role lists below** —
|
|
|
|
|
|
for builders, ahead of resume: a demand parked by triage, the operator or a
|
|
|
|
|
|
sibling agent outranks self-directed continuation, and it is frequently the
|
|
|
|
|
|
very thing that unparks the work resume would otherwise pick up. The query is
|
|
|
|
|
|
the authenticated-user endpoint —
|
|
|
|
|
|
`gh api "/issues?filter=assigned&state=open&labels=attention"` — one call, no
|
2026-07-27 18:16:17 +00:00
|
|
|
|
search index (the review queue below already records that the index lags) —
|
docs(fleet): reconcile the attention wake too — the stamp covers the whole file
Refs #189. Round 1 on #191 (codex blocking, kimi nit).
codex caught that advancing the stamp to crew@4da17c4 made the attention
section false. It did, and the error is mine in kind, not only in detail: a
reconciliation stamp is a claim about the WHOLE file against that tree, and I
audited only the ci-red surface across a 17-commit advance. That is the #187
failure mode, on the PR that closes #189.
What was false at the pinned SHA, all from the crew#66 ruling (danmt,
2026-07-27) landing in d578150e:
- "One wake is registry-independent, by design: attention" — no wake is
exempt now. _attention_partition splits rows against the registry; OUT rows
are reported and never acted on.
- "the assignment is what carries the authorization — there is nothing here
for a repo list to scope" — this is the position the ruling REJECTED. The
cost was argued first: a cross-repo handoff now waits on an operator adding
the repo, which is why an out-of-scope demand also pings the operator over
the boot-gate channel rather than only reaching duty.log.
- "a fix that bounds this wake to the registry would re-create the #16
incident" — that fix landed, with the ping as its mitigation.
- The parenthetical calling crew's repos-default.txt header a contradiction
"raised there as a discussion" — the discussion is crew#66, it was ruled,
and crew's header now names the attention wake explicitly. This file was
preserving the losing side of a settled question.
Also in range and owned by this section: d849f166 ledgered the wake, so
"a session that dies before acking is relaunched; that is the whole
crash-recovery story" no longer is. Dying relaunches; COMPLETING without
acking is a decline, and the ledger stops it re-firing until the issue
moves. Meaning, not mechanism, so it belongs here.
Re-audited the rest of the advance rather than spot-fixing: fleet.roster
still declares itself the TARGET environment (the roster paragraph holds),
and the roster/install commits touch role resolution inside crew, which this
file does not describe.
kimi's nit, which the earlier rewrite made mine: the paper inventory counted
one row while the triage-signals bullet marks a second. Both are needs-ruling
rows and both are now named — a number that has to be recounted every time a
wake lands is the thing that went wrong.
18/18 test files; changelog_fragment_problem OK; shellcheck, self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:36:10 +00:00
|
|
|
|
and it **sees** repos `~/duty/repos.txt` does not name, because that endpoint
|
|
|
|
|
|
takes no repo filter.
|
2026-07-27 18:16:17 +00:00
|
|
|
|
|
docs(fleet): reconcile the attention wake too — the stamp covers the whole file
Refs #189. Round 1 on #191 (codex blocking, kimi nit).
codex caught that advancing the stamp to crew@4da17c4 made the attention
section false. It did, and the error is mine in kind, not only in detail: a
reconciliation stamp is a claim about the WHOLE file against that tree, and I
audited only the ci-red surface across a 17-commit advance. That is the #187
failure mode, on the PR that closes #189.
What was false at the pinned SHA, all from the crew#66 ruling (danmt,
2026-07-27) landing in d578150e:
- "One wake is registry-independent, by design: attention" — no wake is
exempt now. _attention_partition splits rows against the registry; OUT rows
are reported and never acted on.
- "the assignment is what carries the authorization — there is nothing here
for a repo list to scope" — this is the position the ruling REJECTED. The
cost was argued first: a cross-repo handoff now waits on an operator adding
the repo, which is why an out-of-scope demand also pings the operator over
the boot-gate channel rather than only reaching duty.log.
- "a fix that bounds this wake to the registry would re-create the #16
incident" — that fix landed, with the ping as its mitigation.
- The parenthetical calling crew's repos-default.txt header a contradiction
"raised there as a discussion" — the discussion is crew#66, it was ruled,
and crew's header now names the attention wake explicitly. This file was
preserving the losing side of a settled question.
Also in range and owned by this section: d849f166 ledgered the wake, so
"a session that dies before acking is relaunched; that is the whole
crash-recovery story" no longer is. Dying relaunches; COMPLETING without
acking is a decline, and the ledger stops it re-firing until the issue
moves. Meaning, not mechanism, so it belongs here.
Re-audited the rest of the advance rather than spot-fixing: fleet.roster
still declares itself the TARGET environment (the roster paragraph holds),
and the roster/install commits touch role resolution inside crew, which this
file does not describe.
kimi's nit, which the earlier rewrite made mine: the paper inventory counted
one row while the triage-signals bullet marks a second. Both are needs-ruling
rows and both are now named — a number that has to be recounted every time a
wake lands is the thing that went wrong.
18/18 test files; changelog_fragment_problem OK; shellcheck, self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:36:10 +00:00
|
|
|
|
**Seeing is not acting, and that is a ruling** (crew#66, danmt, 2026-07-27).
|
|
|
|
|
|
The wake used to work every row it saw, which for a builder meant a clone and
|
|
|
|
|
|
the full worktree and round rule set against a repo no operator had listed —
|
|
|
|
|
|
write authority outside the registry, and the one hole left in the
|
|
|
|
|
|
containment story. Rows are now partitioned against the registry: inside it,
|
|
|
|
|
|
a session as before; outside it, reported and never acted on, exactly like an
|
|
|
|
|
|
out-of-scope review request or authored PR.
|
docs(fleet): ci-red is deployed engine — advance the stamp to crew@4da17c4
Refs #189 — the post-merge, triage-owned task, now reachable: heavy-duty/crew#64
merged at 4da17c49594c2d86bd3793fa3567846cbca38e90.
#190 wrote the ci-red wake into FLEET.md deliberately marked on paper, per this
file's convention for a spec that is not yet running, and left the reconciliation
stamp at crew@01fb49c because advancing it to a SHA that did not carry the wake
would be the drift #187 exists to remove. crew#64 has merged, so both halves flip:
- The stamp advances to crew@4da17c4, and every crew permalink in the file with
it. A stamp and its evidence links naming different trees is worse than no
stamp: the reader diffs the wrong engine and finds no drift because the tree
they were pointed at is the one the prose was written against.
- The four on-paper markers go: the duty-order caveat, the ci-red bullet's
parenthetical, the Build bullet's "once ci-red deploys", and the closing
paper inventory — which now names one remaining paper wake, the notifier's
needs-ruling queue, not two.
The Build bullet is not a pure marker removal. crew#64's last review round
changed what it has to say: the operator ruled the round gate a whitelist, so
the wake admits a green head OR one with no checks configured, and holds a red
head AND one whose check has not finished. Copying the old "never a round at a
red head" through the flip would have shipped a fresh inaccuracy on the same
commit that claims the file is reconciled. The ci-red bullet gains the matching
sentence from the other side: an unfinished check is not a red head and wakes
nothing, because nothing has failed yet.
Verified at the stamped SHA rather than assumed: duty.sh's header carries
attention → … → resume → ci-red → build (and says it is what this file is
reconciled against), shared/README.md's duty order matches, and notify.sh's
only label filter is still state:needs-human — which is what keeps the
remaining paper claim true.
18/18 test files pass; changelog_fragment_problem OK (it caught a 387-char
entry against the 300 bound, now split); shellcheck, actionlint self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:22:07 +00:00
|
|
|
|
[`lib/duty-attention.sh`](https://github.com/heavy-duty/crew/blob/4da17c49594c2d86bd3793fa3567846cbca38e90/shared/lib/duty-attention.sh)
|
docs(fleet): reconcile the attention wake too — the stamp covers the whole file
Refs #189. Round 1 on #191 (codex blocking, kimi nit).
codex caught that advancing the stamp to crew@4da17c4 made the attention
section false. It did, and the error is mine in kind, not only in detail: a
reconciliation stamp is a claim about the WHOLE file against that tree, and I
audited only the ci-red surface across a 17-commit advance. That is the #187
failure mode, on the PR that closes #189.
What was false at the pinned SHA, all from the crew#66 ruling (danmt,
2026-07-27) landing in d578150e:
- "One wake is registry-independent, by design: attention" — no wake is
exempt now. _attention_partition splits rows against the registry; OUT rows
are reported and never acted on.
- "the assignment is what carries the authorization — there is nothing here
for a repo list to scope" — this is the position the ruling REJECTED. The
cost was argued first: a cross-repo handoff now waits on an operator adding
the repo, which is why an out-of-scope demand also pings the operator over
the boot-gate channel rather than only reaching duty.log.
- "a fix that bounds this wake to the registry would re-create the #16
incident" — that fix landed, with the ping as its mitigation.
- The parenthetical calling crew's repos-default.txt header a contradiction
"raised there as a discussion" — the discussion is crew#66, it was ruled,
and crew's header now names the attention wake explicitly. This file was
preserving the losing side of a settled question.
Also in range and owned by this section: d849f166 ledgered the wake, so
"a session that dies before acking is relaunched; that is the whole
crash-recovery story" no longer is. Dying relaunches; COMPLETING without
acking is a decline, and the ledger stops it re-firing until the issue
moves. Meaning, not mechanism, so it belongs here.
Re-audited the rest of the advance rather than spot-fixing: fleet.roster
still declares itself the TARGET environment (the roster paragraph holds),
and the roster/install commits touch role resolution inside crew, which this
file does not describe.
kimi's nit, which the earlier rewrite made mine: the paper inventory counted
one row while the triage-signals bullet marks a second. Both are needs-ruling
rows and both are now named — a number that has to be recounted every time a
wake lands is the thing that went wrong.
18/18 test files; changelog_fragment_problem OK; shellcheck, self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:36:10 +00:00
|
|
|
|
implements the partition and states the ruling in its header.
|
|
|
|
|
|
|
|
|
|
|
|
The cost was argued before the ruling rather than discovered after it: an
|
|
|
|
|
|
assignment plus a label **is** a targeted authorization, so a cross-repo
|
|
|
|
|
|
handoff now waits on an operator adding the repo, and the box most likely to
|
|
|
|
|
|
be handed work outside its beat is the one that goes quiet. That is why an
|
|
|
|
|
|
out-of-scope demand does not only reach `duty.log` — it pings the operator
|
|
|
|
|
|
over the same channel the boot gate uses. A bounded wake that failed silently
|
|
|
|
|
|
would trade an unbounded write surface for a broken channel to the human.
|
2026-07-23 18:18:00 +00:00
|
|
|
|
|
|
|
|
|
|
Each demand gets **exactly one session, and the ack bounds it**: the
|
|
|
|
|
|
session's first act, before any of the demanded work, is the pickup comment
|
|
|
|
|
|
plus removing the label — [the `attention`
|
|
|
|
|
|
contract's](https://github.com/heavy-duty/ceremony/blob/bce09aa7648dbd74b8e91b1d4fbc2fa8d145f705/LABELS.md#L143-L149)
|
2026-07-23 18:18:46 +00:00
|
|
|
|
ack (#85), which here becomes the session's ack-then-act ordering.
|
2026-07-23 18:18:00 +00:00
|
|
|
|
Then it acts on the thread and exits — short by construction. Until the label
|
docs(fleet): reconcile the attention wake too — the stamp covers the whole file
Refs #189. Round 1 on #191 (codex blocking, kimi nit).
codex caught that advancing the stamp to crew@4da17c4 made the attention
section false. It did, and the error is mine in kind, not only in detail: a
reconciliation stamp is a claim about the WHOLE file against that tree, and I
audited only the ci-red surface across a 17-commit advance. That is the #187
failure mode, on the PR that closes #189.
What was false at the pinned SHA, all from the crew#66 ruling (danmt,
2026-07-27) landing in d578150e:
- "One wake is registry-independent, by design: attention" — no wake is
exempt now. _attention_partition splits rows against the registry; OUT rows
are reported and never acted on.
- "the assignment is what carries the authorization — there is nothing here
for a repo list to scope" — this is the position the ruling REJECTED. The
cost was argued first: a cross-repo handoff now waits on an operator adding
the repo, which is why an out-of-scope demand also pings the operator over
the boot-gate channel rather than only reaching duty.log.
- "a fix that bounds this wake to the registry would re-create the #16
incident" — that fix landed, with the ping as its mitigation.
- The parenthetical calling crew's repos-default.txt header a contradiction
"raised there as a discussion" — the discussion is crew#66, it was ruled,
and crew's header now names the attention wake explicitly. This file was
preserving the losing side of a settled question.
Also in range and owned by this section: d849f166 ledgered the wake, so
"a session that dies before acking is relaunched; that is the whole
crash-recovery story" no longer is. Dying relaunches; COMPLETING without
acking is a decline, and the ledger stops it re-firing until the issue
moves. Meaning, not mechanism, so it belongs here.
Re-audited the rest of the advance rather than spot-fixing: fleet.roster
still declares itself the TARGET environment (the roster paragraph holds),
and the roster/install commits touch role resolution inside crew, which this
file does not describe.
kimi's nit, which the earlier rewrite made mine: the paper inventory counted
one row while the triage-signals bullet marks a second. Both are needs-ruling
rows and both are now named — a number that has to be recounted every time a
wake lands is the thing that went wrong.
18/18 test files; changelog_fragment_problem OK; shellcheck, self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:36:10 +00:00
|
|
|
|
is removed the flag is still up, so a session that **dies** before acking is
|
|
|
|
|
|
simply relaunched at the next tick — the same crash-only shape as resume
|
|
|
|
|
|
below. A session that **completes** without acking is a different fact: that
|
|
|
|
|
|
is a decline, and a seen-ledger stops it re-firing until the issue moves.
|
|
|
|
|
|
Dying and declining used to look identical to the engine, which meant a
|
|
|
|
|
|
demand a session had considered and correctly left alone woke a new one every
|
|
|
|
|
|
tick forever.
|
2026-07-23 18:18:00 +00:00
|
|
|
|
|
|
|
|
|
|
The design this replaces was built and rejected: polling notifications for
|
|
|
|
|
|
`reason: mention` re-arms a thread on every comment, so ordinary round
|
|
|
|
|
|
traffic — verdicts naming the builder, the builder's own replies echoing back
|
|
|
|
|
|
— burns a full agent session per tick on nothing actionable; a mention
|
|
|
|
|
|
answers *"was I named?"*, not *"am I needed?"*. The incident that bought the
|
|
|
|
|
|
wake: [#16's 16:49Z
|
|
|
|
|
|
ruling](https://github.com/heavy-duty/ceremony/issues/16#issuecomment-5061051198)
|
|
|
|
|
|
authorized the last open acceptance criterion on a `claimed` issue and sat
|
|
|
|
|
|
unowned for over an hour — the box answered every state signal that day and
|
2026-07-27 18:16:17 +00:00
|
|
|
|
never saw the comment, and the eventual pickup ran on a manual bridge. The
|
|
|
|
|
|
wake is no longer on paper: `duty-attention.sh` is deployed engine, and
|
|
|
|
|
|
`duty.sh` runs it first on every box, whatever its roles.
|
|
|
|
|
|
|
|
|
|
|
|
The engine's duty order is fleet-standard
|
docs(fleet): ci-red is deployed engine — advance the stamp to crew@4da17c4
Refs #189 — the post-merge, triage-owned task, now reachable: heavy-duty/crew#64
merged at 4da17c49594c2d86bd3793fa3567846cbca38e90.
#190 wrote the ci-red wake into FLEET.md deliberately marked on paper, per this
file's convention for a spec that is not yet running, and left the reconciliation
stamp at crew@01fb49c because advancing it to a SHA that did not carry the wake
would be the drift #187 exists to remove. crew#64 has merged, so both halves flip:
- The stamp advances to crew@4da17c4, and every crew permalink in the file with
it. A stamp and its evidence links naming different trees is worse than no
stamp: the reader diffs the wrong engine and finds no drift because the tree
they were pointed at is the one the prose was written against.
- The four on-paper markers go: the duty-order caveat, the ci-red bullet's
parenthetical, the Build bullet's "once ci-red deploys", and the closing
paper inventory — which now names one remaining paper wake, the notifier's
needs-ruling queue, not two.
The Build bullet is not a pure marker removal. crew#64's last review round
changed what it has to say: the operator ruled the round gate a whitelist, so
the wake admits a green head OR one with no checks configured, and holds a red
head AND one whose check has not finished. Copying the old "never a round at a
red head" through the flip would have shipped a fresh inaccuracy on the same
commit that claims the file is reconciled. The ci-red bullet gains the matching
sentence from the other side: an unfinished check is not a red head and wakes
nothing, because nothing has failed yet.
Verified at the stamped SHA rather than assumed: duty.sh's header carries
attention → … → resume → ci-red → build (and says it is what this file is
reconciled against), shared/README.md's duty order matches, and notify.sh's
only label filter is still state:needs-human — which is what keeps the
remaining paper claim true.
18/18 test files pass; changelog_fragment_problem OK (it caught a 387-char
entry against the 300 bound, now split); shellcheck, actionlint self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:22:07 +00:00
|
|
|
|
([`bin/duty.sh`](https://github.com/heavy-duty/crew/blob/4da17c49594c2d86bd3793fa3567846cbca38e90/shared/bin/duty.sh)):
|
2026-07-27 18:46:10 +00:00
|
|
|
|
**attention → triage signals → review queue → resume → ci-red → build →
|
|
|
|
|
|
handoff → rebase → worktree hygiene → backlog hygiene (hourly)** — attention
|
2026-07-27 18:16:17 +00:00
|
|
|
|
role-independent and first, then each duty family the box's roles enable.
|
docs(fleet): ci-red is deployed engine — advance the stamp to crew@4da17c4
Refs #189 — the post-merge, triage-owned task, now reachable: heavy-duty/crew#64
merged at 4da17c49594c2d86bd3793fa3567846cbca38e90.
#190 wrote the ci-red wake into FLEET.md deliberately marked on paper, per this
file's convention for a spec that is not yet running, and left the reconciliation
stamp at crew@01fb49c because advancing it to a SHA that did not carry the wake
would be the drift #187 exists to remove. crew#64 has merged, so both halves flip:
- The stamp advances to crew@4da17c4, and every crew permalink in the file with
it. A stamp and its evidence links naming different trees is worse than no
stamp: the reader diffs the wrong engine and finds no drift because the tree
they were pointed at is the one the prose was written against.
- The four on-paper markers go: the duty-order caveat, the ci-red bullet's
parenthetical, the Build bullet's "once ci-red deploys", and the closing
paper inventory — which now names one remaining paper wake, the notifier's
needs-ruling queue, not two.
The Build bullet is not a pure marker removal. crew#64's last review round
changed what it has to say: the operator ruled the round gate a whitelist, so
the wake admits a green head OR one with no checks configured, and holds a red
head AND one whose check has not finished. Copying the old "never a round at a
red head" through the flip would have shipped a fresh inaccuracy on the same
commit that claims the file is reconciled. The ci-red bullet gains the matching
sentence from the other side: an unfinished check is not a red head and wakes
nothing, because nothing has failed yet.
Verified at the stamped SHA rather than assumed: duty.sh's header carries
attention → … → resume → ci-red → build (and says it is what this file is
reconciled against), shared/README.md's duty order matches, and notify.sh's
only label filter is still state:needs-human — which is what keeps the
remaining paper claim true.
18/18 test files pass; changelog_fragment_problem OK (it caught a 387-char
entry against the 300 bound, now split); shellcheck, actionlint self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:22:07 +00:00
|
|
|
|
Every position in that order is deployed engine at the stamped SHA:
|
|
|
|
|
|
[crew#64](https://github.com/heavy-duty/crew/pull/64) merged ci-red between
|
|
|
|
|
|
resume and build, and `duty.sh`'s own header carries the same order.
|
2026-07-27 18:16:17 +00:00
|
|
|
|
The earlier form of this file folded handoff and rebase into the other
|
|
|
|
|
|
builder wakes; they are duties of their own.
|
|
|
|
|
|
|
|
|
|
|
|
- **Triage signals**, per registry repo: `needs-triage` issues,
|
|
|
|
|
|
queue-unlabeled strays, discussions without triage's voice, unread
|
|
|
|
|
|
`@`-mentions (their own session), and `blocked` issues whose named blockers
|
|
|
|
|
|
have all landed — a lead the session verifies, never a label the engine
|
|
|
|
|
|
flips. Backlog hygiene (stale claims, label invariants) runs hourly,
|
|
|
|
|
|
self-scheduled inside the duty tick. A `needs-ruling` standing **past
|
|
|
|
|
|
24h** is still triage's to pick up — the ladder's last rung makes the
|
|
|
|
|
|
option triage's to choose — but, like the notifier queue below, that
|
|
|
|
|
|
detection row is on paper only today.
|
|
|
|
|
|
- **Review queue**: one candidate set, enumerated from the pulls pages of
|
|
|
|
|
|
every registry repo — object endpoints, never the search index for the
|
|
|
|
|
|
queue itself, whose lag left cast#143, incubator#25 and box#164 sitting
|
|
|
|
|
|
unreviewed — filtered to PRs listing me in `requested_reviewers`, deduped
|
|
|
|
|
|
by (repo, PR) before acting (the sequential shape double-announced on
|
|
|
|
|
|
ceremony#32), and worked oldest-first. One search-backed **awareness pass**
|
|
|
|
|
|
per tick reports requests outside the registry and never acts on them —
|
|
|
|
|
|
the scope rule above. One verdict per head, deduplicated against my own
|
|
|
|
|
|
latest review's SHA; a re-request at an unchanged head is answered with an
|
|
|
|
|
|
auto-approve through the verdict gate rather than left as a stale blocker
|
|
|
|
|
|
(operator ruling 2026-07-23, ceremony#94).
|
|
|
|
|
|
- **Resume** (builders, checked before build): an open draft PR of mine, or
|
|
|
|
|
|
a `claimed` issue whose `build/*` branch exists on my fork with no open PR
|
|
|
|
|
|
— a session died between first push and PR creation. A branch whose PR
|
|
|
|
|
|
already **merged** is a post-merge wait, never resumed (#172,
|
|
|
|
|
|
incubator#55/#64).
|
docs(fleet): ci-red is deployed engine — advance the stamp to crew@4da17c4
Refs #189 — the post-merge, triage-owned task, now reachable: heavy-duty/crew#64
merged at 4da17c49594c2d86bd3793fa3567846cbca38e90.
#190 wrote the ci-red wake into FLEET.md deliberately marked on paper, per this
file's convention for a spec that is not yet running, and left the reconciliation
stamp at crew@01fb49c because advancing it to a SHA that did not carry the wake
would be the drift #187 exists to remove. crew#64 has merged, so both halves flip:
- The stamp advances to crew@4da17c4, and every crew permalink in the file with
it. A stamp and its evidence links naming different trees is worse than no
stamp: the reader diffs the wrong engine and finds no drift because the tree
they were pointed at is the one the prose was written against.
- The four on-paper markers go: the duty-order caveat, the ci-red bullet's
parenthetical, the Build bullet's "once ci-red deploys", and the closing
paper inventory — which now names one remaining paper wake, the notifier's
needs-ruling queue, not two.
The Build bullet is not a pure marker removal. crew#64's last review round
changed what it has to say: the operator ruled the round gate a whitelist, so
the wake admits a green head OR one with no checks configured, and holds a red
head AND one whose check has not finished. Copying the old "never a round at a
red head" through the flip would have shipped a fresh inaccuracy on the same
commit that claims the file is reconciled. The ci-red bullet gains the matching
sentence from the other side: an unfinished check is not a red head and wakes
nothing, because nothing has failed yet.
Verified at the stamped SHA rather than assumed: duty.sh's header carries
attention → … → resume → ci-red → build (and says it is what this file is
reconciled against), shared/README.md's duty order matches, and notify.sh's
only label filter is still state:needs-human — which is what keeps the
remaining paper claim true.
18/18 test files pass; changelog_fragment_problem OK (it caught a 387-char
entry against the 300 bound, now split); shellcheck, actionlint self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:22:07 +00:00
|
|
|
|
- **ci-red** (builders): a non-draft PR of mine whose check at the current
|
|
|
|
|
|
head is failing. Evaluated before the build wake, so a red PR of mine
|
|
|
|
|
|
outranks a new claim — repairing my own red head comes ahead of new work
|
2026-07-27 18:46:10 +00:00
|
|
|
|
(ceremony#163: full-panel approvals at the head, mergeable, stranded on
|
|
|
|
|
|
a transient failure no wake covered). A round owed at a red head is
|
|
|
|
|
|
excluded from the build wake below but reported rather than silent, and
|
|
|
|
|
|
an unchanged red head goes quiet after one attempt, through the
|
docs(fleet): ci-red is deployed engine — advance the stamp to crew@4da17c4
Refs #189 — the post-merge, triage-owned task, now reachable: heavy-duty/crew#64
merged at 4da17c49594c2d86bd3793fa3567846cbca38e90.
#190 wrote the ci-red wake into FLEET.md deliberately marked on paper, per this
file's convention for a spec that is not yet running, and left the reconciliation
stamp at crew@01fb49c because advancing it to a SHA that did not carry the wake
would be the drift #187 exists to remove. crew#64 has merged, so both halves flip:
- The stamp advances to crew@4da17c4, and every crew permalink in the file with
it. A stamp and its evidence links naming different trees is worse than no
stamp: the reader diffs the wrong engine and finds no drift because the tree
they were pointed at is the one the prose was written against.
- The four on-paper markers go: the duty-order caveat, the ci-red bullet's
parenthetical, the Build bullet's "once ci-red deploys", and the closing
paper inventory — which now names one remaining paper wake, the notifier's
needs-ruling queue, not two.
The Build bullet is not a pure marker removal. crew#64's last review round
changed what it has to say: the operator ruled the round gate a whitelist, so
the wake admits a green head OR one with no checks configured, and holds a red
head AND one whose check has not finished. Copying the old "never a round at a
red head" through the flip would have shipped a fresh inaccuracy on the same
commit that claims the file is reconciled. The ci-red bullet gains the matching
sentence from the other side: an unfinished check is not a red head and wakes
nothing, because nothing has failed yet.
Verified at the stamped SHA rather than assumed: duty.sh's header carries
attention → … → resume → ci-red → build (and says it is what this file is
reconciled against), shared/README.md's duty order matches, and notify.sh's
only label filter is still state:needs-human — which is what keeps the
remaining paper claim true.
18/18 test files pass; changelog_fragment_problem OK (it caught a 387-char
entry against the 300 bound, now split); shellcheck, actionlint self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:22:07 +00:00
|
|
|
|
`report_suppressed` path — suppressed, still said. A check that has not
|
|
|
|
|
|
finished is **not** a red head and wakes nothing here: nothing has failed
|
|
|
|
|
|
yet, so there is no investigation to launch. How a red head is detected
|
|
|
|
|
|
and kept quiet is the engine's mechanism, described in crew's
|
2026-07-27 18:46:10 +00:00
|
|
|
|
`shared/README.md`, not here.
|
2026-07-27 18:16:17 +00:00
|
|
|
|
- **Build**: a `ready` **unclaimed** issue (an assignee means mid-claim, not
|
|
|
|
|
|
pickable), or a completed review round on my PR — a changes-request with
|
|
|
|
|
|
no panel review request still outstanding; whole rounds, never single
|
docs(fleet): ci-red is deployed engine — advance the stamp to crew@4da17c4
Refs #189 — the post-merge, triage-owned task, now reachable: heavy-duty/crew#64
merged at 4da17c49594c2d86bd3793fa3567846cbca38e90.
#190 wrote the ci-red wake into FLEET.md deliberately marked on paper, per this
file's convention for a spec that is not yet running, and left the reconciliation
stamp at crew@01fb49c because advancing it to a SHA that did not carry the wake
would be the drift #187 exists to remove. crew#64 has merged, so both halves flip:
- The stamp advances to crew@4da17c4, and every crew permalink in the file with
it. A stamp and its evidence links naming different trees is worse than no
stamp: the reader diffs the wrong engine and finds no drift because the tree
they were pointed at is the one the prose was written against.
- The four on-paper markers go: the duty-order caveat, the ci-red bullet's
parenthetical, the Build bullet's "once ci-red deploys", and the closing
paper inventory — which now names one remaining paper wake, the notifier's
needs-ruling queue, not two.
The Build bullet is not a pure marker removal. crew#64's last review round
changed what it has to say: the operator ruled the round gate a whitelist, so
the wake admits a green head OR one with no checks configured, and holds a red
head AND one whose check has not finished. Copying the old "never a round at a
red head" through the flip would have shipped a fresh inaccuracy on the same
commit that claims the file is reconciled. The ci-red bullet gains the matching
sentence from the other side: an unfinished check is not a red head and wakes
nothing, because nothing has failed yet.
Verified at the stamped SHA rather than assumed: duty.sh's header carries
attention → … → resume → ci-red → build (and says it is what this file is
reconciled against), shared/README.md's duty order matches, and notify.sh's
only label filter is still state:needs-human — which is what keeps the
remaining paper claim true.
18/18 test files pass; changelog_fragment_problem OK (it caught a 387-char
entry against the 300 bound, now split); shellcheck, actionlint self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:22:07 +00:00
|
|
|
|
verdicts, and never a round the check at its head does not support. The
|
|
|
|
|
|
wake admits a **green** head, and a head with **no checks configured** —
|
|
|
|
|
|
terminal, not transient, so holding there would retire the round rather
|
|
|
|
|
|
than delay it. It holds a **red** head (already woken ci-red above) and a
|
|
|
|
|
|
head whose check has **not finished** (opening the round there spends the
|
|
|
|
|
|
panel on a head that may go red — crew#45's measured cost — and it admits
|
|
|
|
|
|
itself a tick later once the check settles). Both holds are reported, not
|
|
|
|
|
|
swallowed, and they are reported *differently*: only one of them is the
|
|
|
|
|
|
author's own work to do.
|
2026-07-27 18:16:17 +00:00
|
|
|
|
- **Handoff**: a round of mine that converged — every panelist's latest
|
|
|
|
|
|
opinionated review approves the current head, no panel request
|
|
|
|
|
|
outstanding, mergeable right now, `state:needs-human` not already set.
|
|
|
|
|
|
Convergence is computed from `latestOpinionatedReviews`, never
|
|
|
|
|
|
`reviewDecision`, which stays empty without branch protection and silently
|
|
|
|
|
|
stalled rounds for a day (ceremony#26, #39).
|
|
|
|
|
|
- **Rebase**: my PR `CONFLICTING` — and only `CONFLICTING`; `UNKNOWN` is
|
|
|
|
|
|
GitHub's post-merge recompute flap and waits. A conflicting draft belongs
|
|
|
|
|
|
to resume.
|
|
|
|
|
|
- **Worktree hygiene**: a `build/*` worktree is removed only when its branch
|
|
|
|
|
|
has PR history and no PR on it remains open; a branch with no PR at all is
|
|
|
|
|
|
an in-flight claim and stays.
|
2026-07-23 11:21:52 +00:00
|
|
|
|
|
2026-07-23 16:16:16 +00:00
|
|
|
|
#### The operator notifier — the `needs-ruling` queue
|
|
|
|
|
|
|
2026-07-27 18:16:17 +00:00
|
|
|
|
The operator notifier (`notify.sh`, a fleet singleton on the triage box; its
|
|
|
|
|
|
mechanism is crew's too) watches open PRs carrying `state:needs-human`. That
|
|
|
|
|
|
poll never reads `needs-ruling`, which lives mostly on *issues* — so an
|
|
|
|
|
|
escalation waits invisibly on the very human it names. Not hypothetical: on
|
|
|
|
|
|
2026-07-23 alone, three escalations spent their whole lives outside the
|
|
|
|
|
|
operator's view — [#16's fork-PR-workflows
|
2026-07-23 16:16:16 +00:00
|
|
|
|
question](https://github.com/heavy-duty/ceremony/issues/16#issuecomment-5053302689)
|
|
|
|
|
|
(raised 01:23Z, [ruled 09:24Z](https://github.com/heavy-duty/ceremony/issues/16#issuecomment-5056705884)
|
|
|
|
|
|
— eight hours in which the board showed a `claimed` issue indistinguishable
|
|
|
|
|
|
from a builder mid-build), [#56's R1–R3
|
|
|
|
|
|
escalation](https://github.com/heavy-duty/ceremony/issues/56#issuecomment-5057506832),
|
|
|
|
|
|
and [epic #50's own 13:04Z
|
|
|
|
|
|
flag](https://github.com/heavy-duty/ceremony/issues/50#issuecomment-5058713181),
|
|
|
|
|
|
which surfaced only because a human happened to look. This file records how
|
|
|
|
|
|
the fleet actually runs; that is why this wiring changed (#50 D16). The spec
|
2026-07-27 18:16:17 +00:00
|
|
|
|
for the engine-side update:
|
2026-07-23 16:16:16 +00:00
|
|
|
|
|
|
|
|
|
|
- **The second query.** Alongside the `state:needs-human` PR poll, `notify.sh`
|
|
|
|
|
|
polls **open issues and PRs labelled `needs-ruling`** across every repo in
|
|
|
|
|
|
`~/duty/repos.txt`.
|
|
|
|
|
|
- **One tracked message per item, edited in place** — the same
|
|
|
|
|
|
one-message-per-item discipline the PR poll already uses, so an aging
|
|
|
|
|
|
ruling reads as a **live queue**, not a feed. The message is removed when
|
|
|
|
|
|
the flag comes off. Never one notification per rung: a rung crossing
|
|
|
|
|
|
changes the text of the existing message and does not page again.
|
|
|
|
|
|
- **The message carries what makes the ruling decidable at a glance:** the
|
|
|
|
|
|
item, the decision line (the escalation comment's first line), the flag's
|
|
|
|
|
|
age, and the current rung.
|
|
|
|
|
|
- **Rungs are the message's content, never its trigger.** The four rungs are
|
|
|
|
|
|
[the ladder's](https://github.com/heavy-duty/ceremony/blob/cb3d482b8be5c6563374a8c52159287fad43644d/LABELS.md#L94-L112)
|
|
|
|
|
|
— **0–12h**, **at 12h**, **at 24h**, **past 24h** — with the age measured
|
|
|
|
|
|
from the current episode's `needs-ruling` `labeled` event, the same anchor
|
|
|
|
|
|
the board-side sweep reads. Division of labor: #73's sweep comments put the
|
|
|
|
|
|
rungs on the board for the fleet; the notifier puts them in the operator's
|
|
|
|
|
|
queue. Neither decides.
|
|
|
|
|
|
- **What is worth alerting on:** a `needs-ruling` past its stated `Default:`
|
|
|
|
|
|
deadline, or standing past 24h, is the fleet-health signal — not the
|
|
|
|
|
|
flag's existence. An escalation resolved inside its window is working as
|
|
|
|
|
|
designed and deserves a quiet queue entry, not an alarm.
|
|
|
|
|
|
|
|
|
|
|
|
Nothing box-side ever sets, clears, or decides `needs-ruling` (#50 D9, D15):
|
|
|
|
|
|
the notifier and triage's past-24h wake above *report and pick up* what the
|
|
|
|
|
|
board already shows; the label itself moves only by the doctrine's hands.
|
|
|
|
|
|
|
2026-07-27 18:16:17 +00:00
|
|
|
|
The duty engine is crew's shared tree, one source deployed to every box;
|
|
|
|
|
|
`~/duty/repos.txt` stays per-box, the operator's to edit — which is what
|
|
|
|
|
|
makes the registry rule an operator decision rather than a sweep's. Specs
|
|
|
|
|
|
written in this file have a record of becoming engine: the attention wake
|
|
|
|
|
|
and the reviewers' request sweep both started here as paper (the sweep's
|
docs(fleet): ci-red is deployed engine — advance the stamp to crew@4da17c4
Refs #189 — the post-merge, triage-owned task, now reachable: heavy-duty/crew#64
merged at 4da17c49594c2d86bd3793fa3567846cbca38e90.
#190 wrote the ci-red wake into FLEET.md deliberately marked on paper, per this
file's convention for a spec that is not yet running, and left the reconciliation
stamp at crew@01fb49c because advancing it to a SHA that did not carry the wake
would be the drift #187 exists to remove. crew#64 has merged, so both halves flip:
- The stamp advances to crew@4da17c4, and every crew permalink in the file with
it. A stamp and its evidence links naming different trees is worse than no
stamp: the reader diffs the wrong engine and finds no drift because the tree
they were pointed at is the one the prose was written against.
- The four on-paper markers go: the duty-order caveat, the ci-red bullet's
parenthetical, the Build bullet's "once ci-red deploys", and the closing
paper inventory — which now names one remaining paper wake, the notifier's
needs-ruling queue, not two.
The Build bullet is not a pure marker removal. crew#64's last review round
changed what it has to say: the operator ruled the round gate a whitelist, so
the wake admits a green head OR one with no checks configured, and holds a red
head AND one whose check has not finished. Copying the old "never a round at a
red head" through the flip would have shipped a fresh inaccuracy on the same
commit that claims the file is reconciled. The ci-red bullet gains the matching
sentence from the other side: an unfinished check is not a red head and wakes
nothing, because nothing has failed yet.
Verified at the stamped SHA rather than assumed: duty.sh's header carries
attention → … → resume → ci-red → build (and says it is what this file is
reconciled against), shared/README.md's duty order matches, and notify.sh's
only label filter is still state:needs-human — which is what keeps the
remaining paper claim true.
18/18 test files pass; changelog_fragment_problem OK (it caught a 387-char
entry against the 300 bound, now split); shellcheck, actionlint self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:22:07 +00:00
|
|
|
|
org-wide form was then retired by the 2026-07-25 scope ruling), and the
|
|
|
|
|
|
builders' ci-red wake above is the latest: written here as paper while
|
docs(fleet): reconcile the attention wake too — the stamp covers the whole file
Refs #189. Round 1 on #191 (codex blocking, kimi nit).
codex caught that advancing the stamp to crew@4da17c4 made the attention
section false. It did, and the error is mine in kind, not only in detail: a
reconciliation stamp is a claim about the WHOLE file against that tree, and I
audited only the ci-red surface across a 17-commit advance. That is the #187
failure mode, on the PR that closes #189.
What was false at the pinned SHA, all from the crew#66 ruling (danmt,
2026-07-27) landing in d578150e:
- "One wake is registry-independent, by design: attention" — no wake is
exempt now. _attention_partition splits rows against the registry; OUT rows
are reported and never acted on.
- "the assignment is what carries the authorization — there is nothing here
for a repo list to scope" — this is the position the ruling REJECTED. The
cost was argued first: a cross-repo handoff now waits on an operator adding
the repo, which is why an out-of-scope demand also pings the operator over
the boot-gate channel rather than only reaching duty.log.
- "a fix that bounds this wake to the registry would re-create the #16
incident" — that fix landed, with the ping as its mitigation.
- The parenthetical calling crew's repos-default.txt header a contradiction
"raised there as a discussion" — the discussion is crew#66, it was ruled,
and crew's header now names the attention wake explicitly. This file was
preserving the losing side of a settled question.
Also in range and owned by this section: d849f166 ledgered the wake, so
"a session that dies before acking is relaunched; that is the whole
crash-recovery story" no longer is. Dying relaunches; COMPLETING without
acking is a decline, and the ledger stops it re-firing until the issue
moves. Meaning, not mechanism, so it belongs here.
Re-audited the rest of the advance rather than spot-fixing: fleet.roster
still declares itself the TARGET environment (the roster paragraph holds),
and the roster/install commits touch role resolution inside crew, which this
file does not describe.
kimi's nit, which the earlier rewrite made mine: the paper inventory counted
one row while the triage-signals bullet marks a second. Both are needs-ruling
rows and both are now named — a number that has to be recounted every time a
wake lands is the thing that went wrong.
18/18 test files; changelog_fragment_problem OK; shellcheck, self-ref and
git diff --check clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 21:36:10 +00:00
|
|
|
|
crew#64 was open, engine at the stamped SHA. Two rows are still on paper, and
|
|
|
|
|
|
both are `needs-ruling`: the notifier's queue — at that SHA, `notify.sh`'s
|
|
|
|
|
|
only label filter is `state:needs-human` — and triage's **past 24h**
|
|
|
|
|
|
detection row above, which the triage-signals bullet already marks. Earlier
|
|
|
|
|
|
counts here said "two" while silently excluding the second; naming them is
|
|
|
|
|
|
cheaper than a number that has to be recounted every time a wake lands.
|
2026-07-22 20:55:25 +00:00
|
|
|
|
|
|
|
|
|
|
### Conventions on the board
|
|
|
|
|
|
|
|
|
|
|
|
- `🔎 reviewing head <sha>` — a reviewer announces work before starting, so
|
|
|
|
|
|
liveness is visible instead of hoped for.
|
2026-07-27 18:16:17 +00:00
|
|
|
|
- `⟲ resuming from <sha>` — a builder announces recovery after interruption;
|
|
|
|
|
|
there is no session state to restore, so the recovery path *is* the normal
|
|
|
|
|
|
path: read the board, continue from the worklog. Rebooting a box never
|
|
|
|
|
|
loses work that was pushed.
|
|
|
|
|
|
- Checkpoint discipline (builders): open the PR as draft at the first commit
|
|
|
|
|
|
with a `## Worklog` checkbox list; check off and push after every step.
|
|
|
|
|
|
The board and the branch are the only memory.
|
2026-07-22 20:55:25 +00:00
|
|
|
|
- Claim ritual: comment on the issue + self-assign + label flip, before any
|
|
|
|
|
|
branch exists.
|
|
|
|
|
|
- Handoff: the author closes an approved PR's round with a summary comment,
|
|
|
|
|
|
flips `state:needs-human`, and requests the human — merging is never the
|
|
|
|
|
|
fleet's job.
|
2026-07-27 18:16:17 +00:00
|
|
|
|
- Worktree isolation: builders build each PR in its own `git worktree`;
|
|
|
|
|
|
reviewers check out PR heads in throwaway detached worktrees and remove
|
|
|
|
|
|
them after the verdict. Main clones stay parked on the default branch,
|
|
|
|
|
|
always clean.
|
2026-07-22 20:55:25 +00:00
|
|
|
|
|
|
|
|
|
|
## Where this is going
|
|
|
|
|
|
|
|
|
|
|
|
This wiring proved itself on day one (seven merged PRs, unanimous three-model
|
2026-07-27 18:16:17 +00:00
|
|
|
|
review convergence on #39, and a full-fleet crash recovery), and the plan it
|
|
|
|
|
|
carried has since half-happened: the five per-box duty scripts converged into
|
|
|
|
|
|
**heavy-duty/crew** — the shared engine, the `crew` CLI, and the fixture
|
|
|
|
|
|
tests — so standing up a box is a bootstrap, not an archaeology dig. What
|
|
|
|
|
|
remains is the roster: `fleet.roster` names the seven-box single-role target,
|
|
|
|
|
|
and the bench above is still the five-box as-built. Until the split lands,
|
|
|
|
|
|
this file is the map of what runs — and crew is the map of how.
|