REGRESSION (a887852b/#1497): the carried IdentityFile query rides onto the re-captured loopback deploy target — every control-panel apply on a community founded since 2026-09-15 17:20Z fails "root@127.0.0.1: Permission denied" (Whakatōhea Demo brand… #1504
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.
Dependencies
No dependencies set.
Reference
Matou/idss#1504
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?
Symptom
On the Whakatōhea Demo (founded 2026-09-16 00:12Z by the phase-9 journey, kept), applying the brand kit from the control panel fails:
Every control-panel apply on this community — brand kit, add a service (P4), anything that rides
clan machines updatefrom the gateway's own control plane — fails identically. It is not demo-specific.Cause — a regression from
a887852b(#1497, the healer's fast-lane landing 2026-09-15 17:20Z)The box's config repo,
inventory.json(/srv/idss/config):That is the laptop's rent-operator key path (the founding app's #558 identity), glued onto the loopback target the hand-off re-captures for the control plane's self-deploy (
idss: deploy target for gateway re-captured as root@127.0.0.1:22,internal/clan/config.goSetDeployTarget, 00:11:53Z). On the gateway that file does not exist, andIdentitiesOnly=yesforbids ssh from offering root's own/root/.ssh/id_ed25519(theidss-self-deploykey that IS in/root/.ssh/authorized_keys), so the self-deploy is refused at the first hop (the sops upload).Before
a887852bSetDeployTargetwrote the bareroot@127.0.0.1:22, ssh used root's default key, and self-deploys worked (every droplet/member drive's P4 leg).a887852bmade every non-enrollment inventory write carry the file's existing?IdentityFile=…query so the S11 founding apply keeps the laptop's key (correct there: same host, same laptop) — but it carries it across a target change too.SetDeployTargetnames a NEW user@host (the box itself) for a NEW principal (the control plane on the box), and the laptop's identity is meaningless there.Fix (two-way door)
internal/clan/render.go: carry the identity query only when the write leaves the bare target (user@host:port) unchanged; a write that CHANGES the bare target (SetDeployTarget) renders it bare (or with the identity the caller supplies viadeployIdentity). Seam test besideTestRender_WriteWithoutIdentityKeepsTheClanFileIdentityQuery: a re-capture fromroot@<public-ip>toroot@127.0.0.1:22drops the laptop query. GOTCHAS #235 gains the counter-case.Then the phase-9 journey needs a tooth for this: it founds and proves the gateway's own services but never asks the panel for an apply afterwards, so
rented-serviceswent 28/28 on a community whose every later apply was broken. Add a post-hand-off leg (a brand-kit apply from the panel, or the cheapest P4 apply) so the drive reds on a broken self-deploy — the healer's fast lane landeda887852bwith only a seam test, exactly the case ADR 0174's veto exists for.Live repair of the demo box
The Whakatōhea Demo is Ben's standing demo (KEPT, do not release). Its inventory is being hand-repaired to the bare loopback target so the brand kit can apply; the product fix is still needed for every community founded from now on.
Evidence
Demo box
/srv/idss/config/inventory.json+git log -- inventory.json(commitee3c036re-capture, then fiveset var specwrites carrying the query);/root/.ssh/authorized_keysline 2idss-self-deploy; the panel's error text above (Ben, 2026-09-16). Filed from Ben's phase-9 demo session.theming:config background backgroundColor, so NC32 stays in image mode and the kit colour + logo never show (Whakatōhea Demo) #1505swarm-claim host=matou-dev-server-01 run=24903
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1504 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope