reporter: widen the pre-legs synthesis pattern to catch an SSH auth refusal (Permission denied) — a Matou/dev-factory re-vendor (#1422 follow-up) #1426
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#1426
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?
Follow-up from #1422 (defect 2 — agent-actionable but a vendored file).
What
The rehearsal reporter's pre-legs synthesis greps the harvested log tail for
Error|error|FAIL|timed outto key apre-legsred on its cause. An SSH auth refusal (Permission denied (publickey)) carries NONE of those words, so drive20260912T053407Z(#1422) got the uselessred before legs.json was writtenmarker while the real cause sat verbatim in all fivedroplet-*.txtfiles.Widen the pattern to catch the auth refusal:
(case-insensitive folds
error/Failed/FAILEDin too.) There are two identical synthesis sites inrehearsal-report.sh— the pre-legs one (:550) and the sibling wizard-stage one (:586); widen both for consistency. Add a reporter-test case (a pre-legs run whose only log content is aPermission denied (publickey)line must synthesize that cause, never the fallback marker).Why this is a follow-up, not landed in #1422
.sandcastle/rehearsal-report.shand.sandcastle/tests/rehearsal-report-test.shareMatou/dev-factory-vendored files (FACTORY_MANIFEST). A direct edit here is refused by the pre-push drift gate — the fix must land upstream inMatou/dev-factory, thenFACTORY_REFbumped + re-vendored (the #1411/#1394 pattern). The factory has drifted several unrelated commits ahead of the current pin (26f142c), so the re-vendor is a deliberate sync and was kept out of #1422's product-owned banner-wait commit.Done when
Matou/dev-factory:rehearsal-report.share widened + a reporter-test case added, offline-test-green there.FACTORY_REFbumped here and the manifest re-vendored;bash .sandcastle/check-harness-drift.shgreen;bash .sandcastle/tests/rehearsal-report-test.shgreen.Ref: GOTCHAS #228 (the hazard + the product-side banner-wait fix that landed in #1422).
Close-report — landed & proven (ADR 0174, two-way door).
Both synthesis patterns in the rehearsal reporter now catch an SSH auth refusal. Widened
grep -m1 -E 'Error|error|FAIL|timed out'→grep -m1 -iE 'Error|FAIL|timed out|Permission denied'at BOTH sites (the pre-legs~:550and the sibling wizard-stage~:586); the-ialso foldserror/Failed/FAILED. APermission denied (publickey)tail — which carries none of the old words — now keys the red on its real cause instead of thered before legs.json was writtenmarker.Vendored-path route (the #1411/#1394 pattern):
.sandcastle/rehearsal-report.sh+tests/rehearsal-report-test.shareMatou/dev-factory-vendored (drift-gated), so the fix landed upstream first.Matou/dev-factory@292f95e— both greps widened + reporter-test case 41 added (a pre-legs run whose only log content is aPermission denied (publickey)line must synthesize that cause, never the fallback marker). Offline-test-green there.FACTORY_REF 26f96ce → 292f95e(commit8cf9a402). The bump also carries dev-factory #142'slist-ready-tasks.sh/schedule-lib.shverdict-wording — the deliberate drift sync this ticket + #1422 anticipated (the factory was one commit ahead of the pin).Proof:
bash .sandcastle/check-harness-drift.sh→ OK (every vendored file matches@292f95e).bash .sandcastle/tests/rehearsal-report-test.sh→PASS (50 cases)(was 49).red at pre-legs: red before legs.json was written), passes with the widened grep.# Source:line is the clean anonymous URL;git grep <token> -- .sandcastle/empty.STATUS.md milestone log updated in the same commit. GOTCHAS #228.
Ruled by agent under ADR 0174 — veto anytime. Two-way door: a revertible vendored-grep widening, no security-posture or credential change, proven red-before-green offline both upstream and post-vendor.