Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1152
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Machinery change needed (found working #1143)
#1143 asks the rehearsal reporter to add the
prioritylabel to filed blockers only when the failing leg isstanding— "a red at any other leg → unchanged labels". Implementing it is blocked for a sandcastle worker on two counts:1. The deliverable is a protected path
The reporter that files blockers and stamps their labels is
.sandcastle/rehearsal-report.sh(vendored from dev-factory). It is a fingerprinted protected path (#445) — a swarm worker cannot edit it; the change must be made upstream in dev-factory and re-vendored, or landed by an interactive session. There is no non-protected seam: the priority stamping happens at.sandcastle/rehearsal-report.sh:663-680.2. #1143 reverses Ben's 2026-08-20 ruling (#601), so it is not a two-way door
As shipped today,
priorityis stamped on every drive blocker, on all legs, in two places:.sandcastle/rehearsal-report.sh:663-680stamps everytouchedblocker unconditionally.scripts/rehearsal-executor.sh:106-126+scripts/lib/rehearsal-priority-lib.shre-stamp every open drive ticket every tick ("Ben's 2026-08-20 rule: all drive tickets carrypriority").So #1143's premise ("other legs → unchanged labels") is already false against the current tree, and a reporter-only change would be immediately undone by the executor sweep on the next tick. To make standing-only priority actually hold, a session must:
priorityfor standing-leg reds so the float means something again vs. the current "everything is priority"). This reverses a standing human ruling — a session call, escalating toready-for-humanif it turns out to be a one-way door.rehearsal-priority-lib.shso they agree on the standing-only rule (otherwise the sweep re-floods).forgejo_add_labels) — issue-PATCH silently ignores labels (GOTCHAS/tracker lesson) — which the reporter already does.Proposed fix
Gate the priority stamp on
leg == standing: in the reporter, only addpriorityto blockers filed for a red whose failing leg isstanding; and narrow the executor sweep /rehearsal_priority_missingto the same rule. Reconcile with #601 first.Filed while working #1143; that ticket is handed off
agent-blockedpending this.Ruled by agent under ADR 0174 — routing to
ready-for-human(veto anytime)I worked this ticket end to end (read
.sandcastle/rehearsal-report.sh,scripts/rehearsal-executor.sh,scripts/lib/rehearsal-priority-lib.sh, and the queue ordering in.sandcastle/list-ready-tasks.sh). The machinery half is a routine two-way door — but the ruling it is gated on (does #1143 supersede Ben's #601 all-blockers-priority rule?) is not one I may self-rule, so I am escalating that ruling and leaving the code unwritten. My reasoning, and a decision-ready default, below.Why this is not a two-way door for a session
ADR 0174 rule 1 lets a session rule a decision that is (a) revertible, (b) provable by an existing test/drive/probe, and (c) not on the one-way list. The code is revertible (a) and off the list (c) — but (b) fails: standing-only-vs-all is a scheduling-values judgment, not a testable fact. A test can prove the mechanism stamps
priorityiffleg == standing; it cannot prove that reserving the float to standing is the right call. And this specific call reverses Ben's deliberate #601 ruling (2026-08-20), which answered a real starvation incident — session-filed drive work (#600/#605/#606) sat at ordinary swarm depth while the drive starved. Overturning that on a probe I can't run is exactly the ratchet ADR 0174 rule 3 warns of. So: Ben's call.A finding that shrinks the conflict (please read before ruling)
The #1143 framing assumes
priorityis what floats drive blockers above ordinary work. It isn't — not on its own..sandcastle/list-ready-tasks.sh:265-268partitions the ready queue as:blocker AND priorityblocker AND NOT priorityNOT blocker AND priorityNOT blocker AND NOT priorityblocker= "is a native dependency of the standing drive issue", computed independently of theprioritylabel. So every wired drive blocker already outranks all ordinary work (partitions 1–2 before 3–4) whether or not it carriespriority. For wired blockers,priorityis purely an intra-band differentiator — which is exactly what #1143 wants it to be.Consequence: standing-only
prioritygives #1143 its differentiation (standing reds → partition 1, head of the blocker band) without re-sinking wired non-standing blockers below ordinary work (they stay in partition 2). For the wired-blocker case, #1143 and #601 do not actually conflict.The one residue that is a real reversal (the decision)
The executor sweep (
scripts/rehearsal-executor.sh:106-130+rehearsal-priority-lib.sh) stampspriorityon the drive's dependencies OR anything labelledrehearsal-183. So the class that genuinely loses under standing-only is:rehearsal-183-labelled tickets that are NOT wired as drive blockers — session-filed harness/meta work (this ticket, #1143 itself, the #600/#605/#606 class). Today they sit in partition 3 (above ordinary work); under standing-only, non-standing ones drop to partition 4. That drop is the reversal of #601's guarantee, and #1143 (written without knowledge of the sweep) never reconciled it.So the ruling reduces to one question:
Proposed default ruling (adopt in one line and I/next session lands it)
Standing-only for the FILED-BLOCKER float, keep #601's floor for unwired rehearsal work. Concretely:
rehearsal-report.sh:661-678): stamppriorityon a filed blocker only when its red'sleg == standing(per-leg gate; note the impl detail below).rehearsal-priority-lib.sh/rehearsal-executor.sh): narrow the dependency arm to standing-leg blockers, but keep stamping any openrehearsal-183ticket that is not a wired blocker — so session-filed harness work still floats over ordinary swarm work (#601 preserved) while the drive-blocker band gets its standing-first head (#1143 delivered).This is the synthesis the
blocker-partition finding makes possible: both rulings hold. If instead you want the literal #1143 (priority means only "standing red", full stop, and unwired rehearsal work returns to ordinary depth), say so and that's a one-line change to the same spots.Machinery plan, ready to execute on your word (all two-way, offline-proven)
touched[]array (rehearsal-report.sh:448) does not currently carry each blocker's leg; a standing-leg gate needs the leg threaded through (e.g. a paralleltouched_standing[]populated in the per-red loop wherelegis in scope,rehearsal-report.sh:451-452), since one drive can red at several legs at once.rehearsal-priority-lib.sh+ caller) is in-repo, not protected — the pure set-math change tests offline (the lib's existing discipline).forgejo_add_labels) — issue-PATCH silently ignores labels (confirmed; GOTCHAS/tracker lesson).No live urgency: the rehearsal loop is DISARMED on every host (STATUS.md), so nothing is being taxed while this waits.
Why human
A one-way-ruling call: reversing Ben's explicit #601 all-blockers-priority ruling. Not provable by a test/drive/probe (ADR 0174 rule 1b) — it's a scheduling-values judgment. The residue is exactly the one-line question above; a proposed default is offered so it can ride the next digest. #1143 stays
agent-blockedbehind this. Machinery is scoped and offline-provable the moment the ruling lands.Ruled by agent under ADR 0174 — veto anytime: reconciliation resolved in favour of #601, no machinery change.
#1143's premise was false (filed by the watching session without checking the tree — my error, owned on that ticket). #601's all-blockers-priority already delivers the retrospective finding's intent a fortiori. The differential ordering #1143 imagined is not worth a protected-path edit plus reversing a standing human ruling. Both tickets closed; #601 stands untouched. Re-open path documented on #1143.