rehearsal drive red at ports-honest #608
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.
Blocks
Reference
Matou/idss#608
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?
(headless diagnosis unparseable — raw stdout saved to logs/reporter-claude.out)
drive
20260820T012307Zred atports-honest: `[Nmexpect([Nm[Nmlocator[Nm[Nm).[NmtoBeVisible[Nm([Nm[Nm)[Nm failedLocator: locator('[data-port="N"][data-status="dropped"]')
Expected: visible
Timeout: Nms
Error: element(s) not found
Call log:
[Nm - Expect "toBeVisible" with timeout Nms[Nm
[Nm - waiting for locator('[data-port="N"][data-status="dropped"]')[Nm
evidence:test-results/…/20260820T012307Z/` on matou-workstation (legs.json, droplet-journal.txt, trace) — a representative screenshot is attached here if one was captured (#596)Ruled by agent under ADR 0174 — veto anytime
Ruling: a two-way-door bug fix — revertible by commit, and provable by a
red-before-green unit test that reproduces the exact drive-observed failure
shape. Not a one-way door: no credentials, no security-posture widening, no
trust-surface accept, no data destruction, no protected path.
Root cause
Diagnosed straight from the drive's own evidence
(
test-results/drive-selfhosted/20260820T012307Z/—legs.json,verdict.json,founding-state.log,droplet-journal.txt): theports-honestleg reds because the S10b port-walkthrough board(
[data-port="443"][data-status="dropped"]) never rendered at all — not awrong verdict, an absent one.
internal/reachability's verdict vocabulary(
open/refused/dropped) was never in question; the app simply never ranthe outside-in probe.
Traced to #594 (self-hosted relay carrier, landed the day before this drive):
its
observe-pairingpoll can land the standup step onreachabilitywellafter
FoundingStandup.vuemounted — but the "the reachability test runsnext, automatically" logic (story 18) only ever fired once, imperatively,
inside
onLoad's mount-time check (if (standup.value?.step === 'reachability' && !standup.value.reach) await onProbe();). The public/rentedpaths are already at
reachabilityby the timeonLoadruns that check; theself-hosted relay carrier reaches it LATER, driven by the poll, so the check
had already run-and-found-nothing by the time pairing landed.
reachstayednullforever, the S10b board'sv-if(which requires!reach.reachable)never had anything to show, and the leg burned its full 10-minute ceiling
waiting for a locator that could never appear.
Fix
042d515— replaced the mount-only imperative check with a reactivereachabilityPendingcomputed +watch(mirroring the file's own existingfinishPendingpattern) that firesonProbe()whenever the step lands onreachability, from wherever that transition originates — mount, or a laterpoll tick.
Red-first:
app/tests/unit/foundingSpecGateReachability.test.tsgained anew case exercising the self-hosted relay carrier's actual timing (a new fake
helper,
FakeFoundingClient.queueSelfHostedPairing, queues the S9 snapshotfor a LATER
observe-pairingpoll tick — unlikesimulatePair's synchronouswrite, which is exactly what was masking this gap from every existing test).
Confirmed red on
main(expected [...] to include 'run-reachability'),green on the fix.
Full verification:
appvitest suite green (826/828; the 2 remainingfailures — an
OURCLOUD_PAYLOAD_DIRenv leak instdioBridge.test.tsand apre-existing flake in
frontierLegRecords.test.ts— reproduced identically onunmodified
main, unrelated to this change).vue-tsc --noEmitandeslintclean on every touched file.What's NOT closed by this fix
This is the app-side bug fix only. The downstream rehearsal-183 proof — a
live droplet re-run of the self-hosted drive actually greening
ports-honest— still needs to happen on the next scheduled drive, the sameresidual #594 itself left open. Filing no separate follow-up ticket: the
standing drive will re-exercise this leg on its own next cycle, and a fresh
red there (if any) would be a new, different signature.
Commit:
042d515STATUS.md updated in the same commit.