reporter: the diagnosis-fallback files ready-for-session, not ready-for-human (ADR 0174) #531
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#531
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?
Why
ADR 0174 (
b183490) narrowsready-for-humanto Ben's hands/eyes/one-way-door rulings. The rehearsal reporter's diagnosis-fallback path (.sandcastle/rehearsal-report.sh) still files its unparseable-diagnosis tickets asready-for-human(#530 was filed that way minutes after the ADR landed), so every headless red re-parks the queue on Ben.What to change
ready-for-session(+priority+rehearsal-183, unchanged) — a session diagnoses from the workstation evidence bundle and escalates toready-for-humanonly on a one-way door.ready-for-humandefaults in.sandcastle/and reroute the ones that are session-work by the ADR 0174 bar (leave genuinely-human ones).Why human
Nothing — filed
ready-for-sessionbecause.sandcastle/is a protected path (#445): an interactive session lands it.Triage: added the missing category label; state (
ready-for-session, already reasoned in this thread) left as-is.Ruled by agent under ADR 0174 — veto anytime.
Ruling: the reporter's diagnosis-fallback (
rehearsal-report.shline~399, the else-branch when
confidentis false or the diagnosis isunparseable) now labels its rehearsal-183 filing
ready-for-sessioninstead of
ready-for-human, exactly as this ticket asked. This is atwo-way door: revertible with a one-line label-name change, provable by the
offline test suite.
Scope ruling on the grep-and-reroute ask: grepped
.sandcastle/forevery other
ready-for-humandefault and applied the ADR 0174 rule 5 bar(session-standing work: host creds, protected paths, live doors,
design-tier runs) to each:
ready-for-session(all describe the same protected-pathescape hatch, ADR 0174 rule 5's own named example —
protected .sandcastle/ paths per #445):protected-paths-lib.sh'sPP_ESCAPE_PATH+ failure banner,run-swarm.sh's matchingcomment/Mattermost text, and
.sandcastle/prompt.mdrule 9 (ahand-duplicated third copy of the same worker-facing text).
ready-for-human, confirmed correct, not stale:flip_drive_to_human's blocked-invariant flip (cases 6/8 inrehearsal-report-test.sh). Proof:session-runner.sh's queue queryexplicitly excludes the standing drive issue
(
select(.number != $drive)), soready-for-humanis the only waya broken blocked-invariant ever reaches anyone — by design, Ben's digest.
Relabelling it
ready-for-sessionwould have silently orphaned it.ask-human.sh's timeout fallback andrun-triage.sh's headless/triageprompt both still default any judgement call straight toready-for-human, which is a different (broader, pre-ADR-0174)over-defaulting problem than "needs session standing" — worth its own
scoped fix rather than widening this ticket's diff.
Proof:
c98124b6a57b29338177430bf201952fc58404aeonorigin/mainbash .sandcastle/tests/rehearsal-report-test.sh→ PASS (25 cases,including two new/updated cases pinning the unparseable AND explicit
"confident":falsepaths fileready-for-session)bash .sandcastle/tests/protected-paths-lib-test.sh→ 27 checks passed(banner assertion updated to
ready-for-session).sandcastle/tests/*.shsweep run; the 4 failures present(
heal-test,list-ready-tasks-test,preflight-swarm-test,rehearsal-healer-test) reproduce identically on a cleangit stashof
main— pre-existing, unrelated to this changedefaults)
No one-way door hit — nothing here touches personal credentials,
security-posture, member-facing trust surfaces, data, or spend.