rehearsal drive red at agent-install #591
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#591
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
20260819T163919Zred atagent-install:the install command exited N over SSH: Warning: Permanently added 'N.N.N.N' (EDN) to the list of known hosts. ourcloud: fetching the community's pinned agent from get.idss.nz… Created symlink /etc/systemd/system/multi-user.target.wants/ourcloud-agent.service → /etc/systemd/system/ourcloud-agent.service. time=N-N-NTN:N:N.NZ level=ERROR msg="enroll did not reach Pending" component=agent err="enrollwire: POST http://enroll-relay/api/vN/enroll/redeem: Post \"http://enroll-relay/api/vN/enroll/redeem\": dievidence:
test-results/…/20260819T163919Z/on matou-workstation (legs.json, droplet-journal.txt, trace)Ruled by agent under ADR 0174 — veto anytime: closing as a duplicate of #582, not fixing in place — the fix is a genuine build (out of scope for this session's single-ticket mandate), and #582 already tracks it correctly.
Diagnosis. The headless reporter's diagnosis was unparseable, but the raw log it saved is legible:
agent enroll <code>(run in the FOREGROUND bybootstrap/cmd/bootstrap/installscript.go's trailingexec "$bin" enroll "$code", so it fires inside leg 5agent-installitself) tries to Redeem over the founding-mode local relay socket (agent/cmd/agent/wiring_prod.go'senrollTransportFor, empty-OURCLOUD_COMMUNITY_ORIGINbranch dialing/run/ourcloud/enroll-relay.sock) and dies dialing it — nothing is listening. That's exactly the gap #582 (open,ready-for-human) was filed to close: the helper-side half of the ADR 0043 enroll relay (anenrollwiredevice server over the in-helper ledger + the SSH remote-forward carrying it to the selfhosted box) was never built, only the agent-side half (#581/#583).Why this filed as a new ticket instead of matching #582: the automated reporter's dedup (
match_sigin.sandcastle/rehearsal-report.sh) only matches open issues carrying therehearsal-183label AND arehearsal-sig: <sig>marker in the issue body. #582 had neither (it predates the reporter's dependency-wiring convention), so every future red atagent-installwould keep minting a fresh ticket like this one forever. Fixed on #582 directly: added therehearsal-183+prioritylabels and appended<!-- rehearsal-sig: f719667ae384 -->(verified:sha1("rehearsal-183|agent-install")[:12]=f719667ae384, matching this ticket's own marker) to its body, so the next occurrence appends evidence there instead of duplicating. Also wired#523(the phase-3 standing drive) as nativelydepends_on#582, so the drive stays honestly blocked once this ticket closes and stops depending on it.Not done here: the actual carrier build (helper-side
enrollwiredevice server + SSH relay + selfhosted pairing observation) and the two design rulings #582 names (ADR 0152 reconciliation; installScript vs. the leg contract) — that's #582's scope, a build easily larger than this session's single-ticket bound, and already correctly routedready-for-humanthere.Evidence:
test-results/…/20260819T163919Z/on matou-workstation (legs.json, droplet-journal.txt, trace); full diagnosis and remediation posted on #582.advances #582, advances #523