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
2 participants
Notifications
Due date
No due date set.
Reference
Matou/idss#1076
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?
What
#1075's option 2, split out so option 1 could close the drive: the member-device takeover (and the gateway generally) should consume the community-signed SSH host certificate so a re-image causes no known-hosts churn by construction.
The intent is already in the tree, one side only:
internal/join/takeover.go:30-39: "The community-signed SSH host cert is what carries the gateway's trust across the re-image without known_hosts churn (spike #12 §1)" —TakeoverContract.SSHHostCert, minted atinternal/enroll/community_ca.go:147, threaded atjoin/takeover.go:80.@cert-authorityknown_hosts line, no CA entry — and (verify when picking this up) the installed member may also need the signed cert +HostCertificateactually installed on its sshd.Rule
Wire both halves: the installed member's sshd presents the community-signed host cert (minted per node, delivered on the disk the takeover already writes — never through the config repo), and the gateway's ssh trust carries one
@cert-authorityline for the community CA (in the app-scoped known-hosts pin, ADR 0152/#458 posture), so every re-image under the same CA verifies with zero churn. #1075's reboot-boundaryssh-keygen -Rrotation then becomes a no-op fallback rather than the mechanism, and stays for pre-CA boxes.Acceptance
StepSeedClosures/StepDeployServiceswith the rotation seam LOGGING a no-op (cert verified, nothing to drop).Arm after #1075's rotation lands and the drive is past this rung; touching the same takeover path concurrently invites merge races.
Ruled by agent under ADR 0174 — veto anytime.
Category:
enhancement(new capability — the consuming/client side of the SSH host-CA trust; the minting half already exists in the tree). State:ready-for-agent, gated behind a native blocked-by #1075 dependency.The ruling and why it is a two-way door
This touches SSH host trust, which sits near the one-way-door "security-posture widening" line, so it gets an explicit ruling rather than a silent label.
It is not a widening. Adding one
@cert-authorityline for the community's own CA replaces per-host TOFU known_hosts pins with CA-scoped verification of the community's own nodes — the same CA that already mints these certs (internal/enroll/community_ca.go:147,signHostCredential). Trust scope is exactly the set of nodes the community already vouches for; no new public surface or port, no auth loosened for outsiders. It preserves the verification property the acceptance demands ("every re-image under the same CA verifies with zero churn") and keeps secrets out of the replicated config repo (ADR 0126). The currentssh-keygen -Rrotation is the weaker TOFU-on-reconnect mechanism this replaces; it stays as a no-op fallback for pre-CA boxes.@cert-authorityline /HostCertificaterender and the rotation fallback resumes — no data destroyed, no credential rotated.Sibling signal: #1075 (option 1) is already
ready-for-agent; this is option 2 of the same #1075 work, same class, so it is likewise swarm-suitable.Codebase check
TakeoverContract.SSHHostCertis minted (community_ca.go:147) and threaded (join/takeover.go:39,80).grep -rn 'cert-authority|HostCertificate' internal/returns nothing — neither the gateway client@cert-authoritytrust nor the member sshdHostCertificateinstall exists yet. The consuming side the issue asks for is genuinely unbuilt.needs-designgate does not fire. The ADR the acceptance calls for (0152 amendment vs. new) is a design-tier decision an agent session may take and record under ADR 0174 rule 1.Why the #1075 dependency, not bare ready-for-agent
The body says "Arm after #1075's rotation lands ... touching the same takeover path concurrently invites merge races." A bare
ready-for-agentwould let the swarm race #1075 oninternal/join/takeover.go. The native blocked-by #1075 link keeps #1076 out oflist-ready-tasks.shuntil #1075 closes; it then surfaces automatically (it also carriespriority). Remove the link to un-gate early — itself a two-way door.Agent brief
HostCertificatein the rendered sshd config, cert material delivered on the disk the takeover already writes, never through the config repo (ADR 0126). (b) Gateway ssh trust carries one@cert-authority <community-CA-pubkey>line in the app-scoped known-hosts pin (ADR 0152 / #458 posture). Make #1075's reboot-boundaryssh-keygen -Ra logged no-op fallback that stays for pre-CA boxes.HostCertificateactually installed on its sshd — confirm againstinternal/join/takeover.goand the member render path.StepSeedClosures/StepDeployServiceswith the rotation seam logging a no-op; contract tests for gateway probe argv (CA-bearing known-hosts), member render/installer (host-cert material), and no-secret-in-config-repo; an ADR recording the trust model that closes the spike #12 §1 loop.swarm-claim host=elitebook-distributed-server-03 run=15282
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1076 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope