updates (#1562-7): reach communities already founded — land the feed exports on a pre-existing community (Whakatōhea Demo) #1569

Closed
opened 2026-09-17 15:23:52 +00:00 by matou-build-agent · 5 comments

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 testing release 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 (the set-release-channel seam + 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:

  • The live two-box rehearsal drive — "Whakatōhea Demo receives its feed exports by the documented step and then takes a testing release on its own." This is byte-identical to #1562's Live acceptance checkbox 4, and #1562's ## Why human item 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 signed testing feed published on a TEST key at get.idss.nz — verified this session as not yet published (/channel/testing.json falls through to the root install script, GOTCHAS #221). whakatohea-demo.idss.nz is live (HTTP 200), so the community half is ready; the feed + drive half is the residue.

Routed ready-for-human to sit beside its parent #1562 until the drive leg runs. Not closed: the live acceptance is genuinely unproven (session rule 8).

## 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 `testing` release 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` (the `set-release-channel` seam + 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: - **The live two-box rehearsal drive** — "Whakatōhea Demo receives its feed exports by the documented step and then takes a `testing` release on its own." This is byte-identical to **#1562's Live acceptance checkbox 4**, and #1562's `## Why human` **item 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 signed `testing` feed **published** on a TEST key at get.idss.nz — verified this session as **not yet published** (`/channel/testing.json` falls through to the root install script, GOTCHAS #221). `whakatohea-demo.idss.nz` is live (HTTP 200), so the community half is ready; the feed + drive half is the residue. Routed `ready-for-human` to sit beside its parent #1562 until the drive leg runs. Not closed: the live acceptance is genuinely unproven (session rule 8).
Author
Member

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 of EnableGatewayNextcloudExport / 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 plain rerender-gateway keeps 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.
  • control-plane subcommand set-release-channel <node> <feedURL> <publicKey> (control-plane/cmd/control-plane/set_release_channel.go + main dispatch), run as a one-shot the way rerender-gateway is, so the render code that lands is exactly the binary just staged.
  • The documented hand step is in 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 which productionReleaseSource wires on the next control-plane start. STATUS.md logs 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); full internal/clan + control-plane suites green; go build ./... + go vet + gofmt clean.

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 testing release 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 signed testing feed 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-working and added native blockers on #1564 / #1565 / #1567 — the lane pieces the live drive needs. When they land (and a testing feed is published on a TEST key), #1562's drive leg runs the documented step above against whakatohea-demo.idss.nz and asserts it takes the release. This ticket is off the session queue until then. — advances #1569; ADR 0248, #1562 / #1568.

**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 of `EnableGatewayNextcloudExport` / `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 plain `rerender-gateway` keeps 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. - **control-plane subcommand `set-release-channel <node> <feedURL> <publicKey>`** (`control-plane/cmd/control-plane/set_release_channel.go` + main dispatch), run as a one-shot the way `rerender-gateway` is, so the render code that lands is exactly the binary just staged. - **The documented hand step** is in `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 which `productionReleaseSource` wires on the next control-plane start. `STATUS.md` logs 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); full `internal/clan` + `control-plane` suites green; `go build ./...` + `go vet` + `gofmt` clean. **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 `testing` release 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 signed `testing` feed 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-working` and added native blockers on **#1564 / #1565 / #1567** — the lane pieces the live drive needs. When they land (and a `testing` feed is published on a TEST key), #1562's drive leg runs the documented step above against `whakatohea-demo.idss.nz` and asserts it takes the release. This ticket is off the session queue until then. — advances #1569; ADR 0248, #1562 / #1568.
Author
Member

This was generated by AI during triage.

Ruled by agent under ADR 0174 — veto anytime.

Ruling: state = ready-for-session (category stays enhancement).

Why this state, not label-less: the buildable, two-way half of this ticket landed at 98cdc795 (the set-release-channel seam + 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 a testing release 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 the ready-for-session label left the ticket carrying only enhancement — invisible to the session sweep, and nothing re-adds the label when the blockers clear. Restoring ready-for-session puts 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-382 skips any ready-for-session ticket 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/dependencies shows #1564/#1567 open, #1565/#1568 closed; the buildable half's seam suite TestSetGatewayReleaseChannel_* green at 98cdc795.

> *This was generated by AI during triage.* **Ruled by agent under ADR 0174 — veto anytime.** **Ruling:** state = `ready-for-session` (category stays `enhancement`). **Why this state, not label-less:** the buildable, two-way half of this ticket landed at `98cdc795` (the `set-release-channel` seam + 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 a `testing` release 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 the `ready-for-session` label left the ticket carrying only `enhancement` — invisible to the session sweep, and nothing re-adds the label when the blockers clear. Restoring `ready-for-session` puts 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-382` skips any `ready-for-session` ticket 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/dependencies` shows #1564/#1567 open, #1565/#1568 closed; the buildable half's seam suite `TestSetGatewayReleaseChannel_*` green at `98cdc795`.
Author
Member

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-human to 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, the set-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-plane suites; 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 testing release on its own" — is byte-identical to #1562's Live acceptance checkbox 4, and #1562's own ## Why human item 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 root get.idss.nz install shell script (GOTCHAS #221 wildcard fall-through), i.e. no testing feed 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 stays enhancement). 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 human I am adding to the body.

**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-human` to 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`, the `set-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-plane` suites; 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 `testing` release on its own"* — is byte-identical to **#1562's Live acceptance checkbox 4**, and #1562's own `## Why human` **item 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 root `get.idss.nz` install shell script (GOTCHAS #221 wildcard fall-through), i.e. **no `testing` feed 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 stays `enhancement`). 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 human` I am adding to the body.
Owner

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):

  1. No root door survives. The demo's only operator SSH key lived in its founding run dir on matou-workstation (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).
  2. The box predates the whole update lane. Founded 2026-09-16 from ~09-15 code; set-release-channel landed 09-17, --apply 09-20, and the poll ticker / lander / ADR 0259 self-restart / #1639 restore guard all after. So /srv/idss/bin/control-plane there 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 (the oc_standing_resupply shape: stamped control-plane + dashboard + agent → staging → rename → restart → re-render + switch).

Unproven path: re-supply + --apply on 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.

**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):** 1. **No root door survives.** The demo's only operator SSH key lived in its founding run dir on matou-workstation (`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). 2. **The box predates the whole update lane.** Founded 2026-09-16 from ~09-15 code; `set-release-channel` landed 09-17, `--apply` 09-20, and the poll ticker / lander / ADR 0259 self-restart / #1639 restore guard all after. So `/srv/idss/bin/control-plane` there 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** (the `oc_standing_resupply` shape: stamped control-plane + dashboard + agent → staging → rename → restart → re-render + switch). **Unproven path:** re-supply + `--apply` on 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.
Owner

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 600854064 gone) and whakatohea-demo.idss.nz offboarded (204). The set-release-channel --apply hand step stays in the product (proven live by #1614's real-rail leg) — it just has no customer left.

**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 `600854064` gone) and `whakatohea-demo.idss.nz` offboarded (204). The `set-release-channel --apply` hand step stays in the product (proven live by #1614's `real-rail` leg) — it just has no customer left.
ben closed this issue 2026-09-21 15:34:53 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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#1569
No description provided.