rehearsal drive red at agent-install #591

Closed
opened 2026-08-19 16:41:26 +00:00 by ben · 1 comment
Owner

(headless diagnosis unparseable — raw stdout saved to logs/reporter-claude.out)

drive 20260819T163919Z red at agent-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\": di
evidence: test-results/…/20260819T163919Z/ on matou-workstation (legs.json, droplet-journal.txt, trace)

(headless diagnosis unparseable — raw stdout saved to logs/reporter-claude.out) drive `20260819T163919Z` red at `agent-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\": di` evidence: `test-results/…/20260819T163919Z/` on matou-workstation (legs.json, droplet-journal.txt, trace) <!-- rehearsal-sig: f719667ae384 -->
Author
Owner

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 by bootstrap/cmd/bootstrap/installscript.go's trailing exec "$bin" enroll "$code", so it fires inside leg 5 agent-install itself) tries to Redeem over the founding-mode local relay socket (agent/cmd/agent/wiring_prod.go's enrollTransportFor, empty-OURCLOUD_COMMUNITY_ORIGIN branch 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 (an enrollwire device 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_sig in .sandcastle/rehearsal-report.sh) only matches open issues carrying the rehearsal-183 label AND a rehearsal-sig: <sig> marker in the issue body. #582 had neither (it predates the reporter's dependency-wiring convention), so every future red at agent-install would keep minting a fresh ticket like this one forever. Fixed on #582 directly: added the rehearsal-183 + priority labels 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 natively depends_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 enrollwire device 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 routed ready-for-human there.

Evidence: test-results/…/20260819T163919Z/ on matou-workstation (legs.json, droplet-journal.txt, trace); full diagnosis and remediation posted on #582.

advances #582, advances #523

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 by `bootstrap/cmd/bootstrap/installscript.go`'s trailing `exec "$bin" enroll "$code"`, so it fires inside leg 5 `agent-install` itself) tries to Redeem over the founding-mode local relay socket (`agent/cmd/agent/wiring_prod.go`'s `enrollTransportFor`, empty-`OURCLOUD_COMMUNITY_ORIGIN` branch 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 (an `enrollwire` device 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_sig` in `.sandcastle/rehearsal-report.sh`) only matches open issues carrying the `rehearsal-183` label AND a `rehearsal-sig: <sig>` marker in the *issue body*. #582 had neither (it predates the reporter's dependency-wiring convention), so every future red at `agent-install` would keep minting a fresh ticket like this one forever. Fixed on #582 directly: added the `rehearsal-183` + `priority` labels 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 natively `depends_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 `enrollwire` device 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 routed `ready-for-human` there. Evidence: `test-results/…/20260819T163919Z/` on matou-workstation (legs.json, droplet-journal.txt, trace); full diagnosis and remediation posted on #582. advances #582, advances #523
ben closed this issue 2026-08-19 16:57:29 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#591
No description provided.