updates (#1562-7): reach communities already founded — land the feed exports on a pre-existing community (Whakatōhea Demo) #1569
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.
Blocks
Depends on
Reference
Matou/idss#1569
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?
Parent: #1562 — carrying contract: ADR 0248
A community founded before the gateway render (#1562-6) lands carries no feed exports and can never hear about the release that would add them. Give it one documented hand step (or an operator-app re-deploy) that lands the exports; Whakatōhea Demo (
whakatohea-demo.idss.nz) is the first customer.Acceptance (live, part of #1562's drive leg): Whakatōhea Demo receives its feed exports by the documented step and then takes a
testingrelease on its own.ready-for-session— needs a session's live standing (a real founded community; host doors). Blocked by #1562-6 (the render must exist first).Filed by agent under ADR 0174 (#1562 decomposition) — child of the fleet auto-update lane. Contract: ADR 0248. Veto anytime.
Why human (agent, ADR 0174, 2026-09-17)
The buildable, two-way deliverable landed + offline-proven at
98cdc795(theset-release-channelseam + control-plane subcommand + documented step in architecture 11). The only remaining acceptance is live-only and is one-way / operator-spend residue, not one-shot-session work:testingrelease on its own." This is byte-identical to #1562's Live acceptance checkbox 4, and #1562's## Why humanitem 3 already rules it as the rehearsal-executor's queue-armed job, authored + offline-green first, then routed here; never run from a one-shot session. It additionally needs a signedtestingfeed published on a TEST key at get.idss.nz — verified this session as not yet published (/channel/testing.jsonfalls through to the root install script, GOTCHAS #221).whakatohea-demo.idss.nzis live (HTTP 200), so the community half is ready; the feed + drive half is the residue.Routed
ready-for-humanto sit beside its parent #1562 until the drive leg runs. Not closed: the live acceptance is genuinely unproven (session rule 8).Session report (ADR 0174 standing session, matou-workstation) — the build deliverable landed; the live drive is blocked on the rest of the lane.
The buildable, two-way half of this ticket — "one documented hand step (or an operator-app re-deploy) that lands the exports" — is landed and offline-proven at
98cdc795:clan.Adapter.SetGatewayReleaseChannel(gateway, feedURL, publicKey)(internal/clan/gateway_attach.go) — the release-channel sibling ofEnableGatewayNextcloudExport/RerenderGatewaySurface(#790 / #1275). It reads the full founding facts back from the enrollment render-inputs sidecar, sets exactly the channel pair (a half-set refused loud — ADR 0248 decision 2 / ADR 0100), persists it into the sidecar so a later plainrerender-gatewaykeeps the pin, and re-renders whichever surface the gateway baked whole — never a partial rebuild that drops founding's SMTP/claim/OIDC exports (#790), both surfaces covered (control-plane.nix full-install / inline gateway-guest.nix VM — GOTCHAS #12), idempotent.set-release-channel <node> <feedURL> <publicKey>(control-plane/cmd/control-plane/set_release_channel.go+ main dispatch), run as a one-shot the wayrerender-gatewayis, so the render code that lands is exactly the binary just staged.docs/architecture/11-update-supply-chain.md(§"Landing the channel on a community founded before the release threaded it"):set-release-channel …→clan machines update …, after whichproductionReleaseSourcewires on the next control-plane start.STATUS.mdlogs the leg.Proof (offline): red→green seam suite
TestSetGatewayReleaseChannel_*(full-install exports + founding-exports-survive + sidecar-persist + plain-rerender-keeps-it + idempotent; VM dual-render + keys reproduced; half-set refused; missing-sidecar loud); fullinternal/clan+control-planesuites green;go build ./...+go vet+gofmtclean.Ruled by agent under ADR 0174 — veto anytime. The seam + subcommand + doc are revertible config/code and proven by the seam suite.
What did NOT happen, honestly (rule 8): the ticket's live acceptance — Whakatōhea Demo receives the exports by this step and then takes a
testingrelease on its own — could not run this session and is not proven. That proof is explicitly "part of #1562's drive leg" and needs the rest of the auto-update lane. The publisher (#1563) and poll ticker (#1566) landed while this session ran, but the lane still needs the land-the-fleet-software step (#1564), the release-pin commit (#1565) and self-update resume (#1567), plus a signedtestingfeed actually published at get.idss.nz — a release with no land step and no published feed would leave the demo pointing at a channel it cannot take. Pinning the live demo at a not-yet-published/keyed channel now would be a meaningless, revert-only switch with no proof value, so it was not done.Routing: removed
ready-for-session/agent-workingand added native blockers on #1564 / #1565 / #1567 — the lane pieces the live drive needs. When they land (and atestingfeed is published on a TEST key), #1562's drive leg runs the documented step above againstwhakatohea-demo.idss.nzand asserts it takes the release. This ticket is off the session queue until then. — advances #1569; ADR 0248, #1562 / #1568.Ruled by agent under ADR 0174 — veto anytime.
Ruling: state =
ready-for-session(category staysenhancement).Why this state, not label-less: the buildable, two-way half of this ticket landed at
98cdc795(theset-release-channelseam + control-plane subcommand + documented hand step, seam-proven offline). What remains is only the ticket's live acceptance — Whakatōhea Demo receives its feed exports by the documented step and then takes atestingrelease on its own. That is session work: it needs a real founded community and host doors, exactly as the original filing said (ready-for-session). The prior session correctly reported this half-done and correctly wired native blockers, but removing theready-for-sessionlabel left the ticket carrying onlyenhancement— invisible to the session sweep, and nothing re-adds the label when the blockers clear. Restoringready-for-sessionputs it back in its true pipeline state so it resurfaces automatically once the lane lands.Why it is a two-way door: a pure label change, fully revertible by removing the label; not on the one-way-door list (no personal credentials, no security-posture widening, no member-facing trust accept, no data destruction, no non-routine spend). The eventual live drive carries its own session standing when it runs (as part of #1562's drive leg); labelling the ticket is not that act.
Why it will not be picked up prematurely:
session-runner.sh:379-382skips anyready-for-sessionticket with open Forgejo dependencies. This ticket's native blockers are #1564 (open) and #1567 (open) — #1565 and #1568 have since closed — so the runner will not claim it until #1564/#1567 close, at which point it re-enters the sweep on its own.Proof:
session-runner.sh:379-382(open-deps skip);GET /issues/1569/dependenciesshows #1564/#1567 open, #1565/#1568 closed; the buildable half's seam suiteTestSetGatewayReleaseChannel_*green at98cdc795.Session report (ADR 0174 standing session, matou-workstation, 2026-09-17) — the deliverable is landed + proven; the only remaining acceptance is the live two-box drive, which is NOT one-shot-session work. Routing to
ready-for-humanto match the parent.All four blockers have since closed (#1564 / #1565 / #1567 / #1568), so the runner resurfaced this ticket. I re-checked the actual remaining work against
main@19309e64:Done + proven (two-way,
98cdc795): the ticket's buildable deliverable — "one documented hand step (or operator-app re-deploy) that lands the exports" — is complete:clan.Adapter.SetGatewayReleaseChannel, theset-release-channel <node> <feedURL> <publicKey>control-plane subcommand, and the documented step in architecture 11 §"Landing the channel on a community founded before the release threaded it". Offline-green:TestSetGatewayReleaseChannel_*red->green;internal/clan+control-planesuites; build/vet/gofmt clean.Remaining acceptance is live-only and is NOT session work. The one open acceptance line — "Whakatōhea Demo receives its feed exports by the documented step and then takes a
testingrelease on its own" — is byte-identical to #1562's Live acceptance checkbox 4, and #1562's own## Why humanitem 3 rules it: "The live two-box rehearsal drive (operator spend) — per the standing rule, the live green is the rehearsal-executor's queue-armed job, authored + offline-green first, then routed here; never run from a one-shot session." Session rule 7 (a headless one-shot dies with its final message — no waiting on a long drive) forbids me running it here regardless.Live facts gathered this session (read-only probes):
whakatohea-demo.idss.nz-> HTTP 200. A real founded community exists and is reachable.https://get.idss.nz/channel/testing.json-> falls through to the rootget.idss.nzinstall shell script (GOTCHAS #221 wildcard fall-through), i.e. notestingfeed is published yet. There is no signed testing release for the demo to take, so the live acceptance cannot be met until the drive leg publishes one on a TEST key. Landing the exports live now — pinning the demo at an unpublished channel — has no proof value (the prior session reasoned the same), so it was not done.Ruling (ADR 0174 — veto anytime): state
ready-for-session->ready-for-human(category staysenhancement). This ticket's distinct deliverable is landed + proven; its only open acceptance is the live two-box drive, which belongs to #1562's drive leg (the rehearsal-executor's queue-armed job, operator spend), not the session queue. I do not close it: the live acceptance is genuinely unproven (rule 8). The relabel itself is a two-way door — a pure label change, revertible, not on the one-way-door list. See the## Why humanI am adding to the body.removableon the catalogue read, and the live client's two verbs — the UI is on main and draws no button until this lands #1590set-release-channel --applyneeds eight env exports the operator must know by heart — it should build the gateway's clan environment itself (#1569's runbook step) #1665set-release-channel --applyneeds eight env exports the operator must know by heart — it should build the gateway's clan environment itself (#1569's runbook step)2026-09-21 — walked the hand step for Whakatōhea Demo; it is NOT a one-liner on this box. Two findings (read-only checks, nothing touched):
drive-rented-services/20260915T235523Z/state/rent-operator/); run-dir retention pruned it. No other copy on the workstation; the laptop holds only the panel password. The community itself is up (apex 200, 209.38.89.233). Regaining a door = the droplet console (Ben's hands).set-release-channellanded 09-17,--apply09-20, and the poll ticker / lander / ADR 0259 self-restart / #1639 restore guard all after. So/srv/idss/bin/control-planethere has no such subcommand, and a pin alone could not make the running process take a release. The documented command needs a re-supply first (theoc_standing_resupplyshape: stamped control-plane + dashboard + agent → staging → rename → restart → re-render + switch).Unproven path: re-supply +
--applyon a community founded from 09-15 code — every green #1614 run founded with current code. Recommended before touching the kept box: rehearse it on a throwaway founded from the old commit. Waiting on Ben for (a) the console key and (b) whether to file that rehearsal.Ruled out by Ben, 2026-09-21 — closing. Whakatōhea Demo was the only running community, its root key had been pruned with its founding run dir, and its binaries predated the whole update lane. Ben's ruling: discard the "already-running communities can be updated" proof; destroy the demo and re-found it by hand on current code, then prove that communities deployed FROM NOW ON update. Done: rental released through the broker (204, droplet
600854064gone) andwhakatohea-demo.idss.nzoffboarded (204). Theset-release-channel --applyhand step stays in the product (proven live by #1614'sreal-railleg) — it just has no customer left.