founding S11: the deploy PROVISIONS the services the operator placed on the gateway — founding asks what to run, then hands over a machine running none of it #1392

Closed
opened 2026-09-11 18:11:45 +00:00 by ben · 6 comments
Owner

Founding now asks the operator what their community will run (the service
catalogue) and where each service runs (the bench). Then it hands over a
gateway with none of it installed — run-deploy (P1-S11) stands up the
control plane only: config repo, deploy runner, sign-in service, dashboard
(internal/founding/deploy.go). The operator lands on the control panel and has
to choose the same services a second time, in P4.

This ticket closes that: what the operator placed on the gateway during
founding is provisioned onto the gateway before hand-off.

Why this is the gateway only

Every founding path ends with exactly one machine — the gateway. The bench's
other machines do not exist yet (adding a real device during founding is a
separate ticket), so "provision the plan" today means "provision what sits on the
gateway". The op must be written so the rest of the plan is a loop it already
runs, not a rewrite.

The boundary ruling this carries

Founding provisioning services changes the P1 → P4 boundary: today founding hands
off a bare control plane and the operator provisions in the panel.

Proposed default ruling (two-way door, ADR 0174 — veto anytime): founding
deploys what the operator placed on the gateway, before hand-off. The operator
has just been shown a memory measure and a placement; handing them a community
where none of it is running contradicts the screens they filled in. P4 does not
change
— it remains how services are added, moved and removed after founding,
over the same orchestrator and the same catalogue, so there is exactly one
implementation of "install a service".

If Ben rules the other way (founding records the plan and P4 executes it on first
run), the work below becomes "carry the plan across the hand-off into P4's
pre-selection" and this ticket is re-scoped, not deleted.

What this builds

  1. A services stage in the S11 deploy. After the control plane is live and the
    brand kit is applied, RunDeploy provisions each service placed on the
    gateway, driving internal/provision — the SAME orchestrator P4 drives
    (ADR 0058) — never a second install path.
  2. Checklist-granular events, as the rest of S11 already is (ADR 0027): one
    drill-in row per service, with its own status, so a 6-service stand-up is not
    one opaque spinner. The operator's own name for a service is what the row says
    (ServicePick.name), not the catalogue's.
  3. The short name becomes the service's address. ServicePick.slug is what
    the operator typed on the catalogue (chat.<domain>) — the deploy must wire
    the route at that name, and the reachability/name step must include it.
  4. Honest failure, per service. A service that fails to stand up must not fail
    the whole community: the control plane is live, the gateway is real, and the
    hand-off can proceed with that service named as not-yet-running and a route to
    retry it in P4. The existing DeployOutcome/Recover shapes decide whether
    this is a new outcome or a per-row fault — pick one and say why.
  5. The hand-off says what is running. S12 already presents the portal and the
    credential split; it should also name the services that came up, so the first
    thing the operator sees is the community they described.

Acceptance

  1. A rented-path founding walk that ticks Files & documents and Chat and places
    both on the gateway ends with both actually running on the gateway,
    reachable at the short names the operator gave them.
  2. The S11 drill-in log carries one row per service, named as the operator named
    it, with per-row status.
  3. A service whose install fails leaves the community live, the failure named,
    the hand-off reachable, and the service retriable from the control panel.
  4. Provisioning drives internal/provision — a test proves founding does not
    carry a second install path.
  5. A founding walk that placed nothing on the gateway beyond the front door
    deploys exactly as it does today (no regression on the existing S11 legs).
  6. The phase-4 / rented e2e drive still passes end to end.

Depends on

  • The catalogue and the picks being seam truth.
  • The placement being seam truth.

Both are prerequisites: there is nothing to provision until the plan is on the
draft.

Out of scope

  • Provisioning onto machines other than the gateway (blocked on founding being
    able to add a real device).
  • Changing P4. It stays the way services are added after founding.
Founding now asks the operator **what their community will run** (the service catalogue) and **where each service runs** (the bench). Then it hands over a gateway with **none of it installed** — `run-deploy` (P1-S11) stands up the control plane only: config repo, deploy runner, sign-in service, dashboard (`internal/founding/deploy.go`). The operator lands on the control panel and has to choose the same services a second time, in P4. This ticket closes that: **what the operator placed on the gateway during founding is provisioned onto the gateway before hand-off.** ## Why this is the gateway only Every founding path ends with exactly one machine — the gateway. The bench's other machines do not exist yet (adding a real device during founding is a separate ticket), so "provision the plan" today means "provision what sits on the gateway". The op must be written so the rest of the plan is a loop it already runs, not a rewrite. ## The boundary ruling this carries Founding provisioning services changes the P1 → P4 boundary: today founding hands off a bare control plane and the operator provisions in the panel. **Proposed default ruling (two-way door, ADR 0174 — veto anytime):** founding deploys what the operator placed on the gateway, before hand-off. The operator has just been shown a memory measure and a placement; handing them a community where none of it is running contradicts the screens they filled in. **P4 does not change** — it remains how services are added, moved and removed *after* founding, over the same orchestrator and the same catalogue, so there is exactly one implementation of "install a service". If Ben rules the other way (founding records the plan and P4 executes it on first run), the work below becomes "carry the plan across the hand-off into P4's pre-selection" and this ticket is re-scoped, not deleted. ## What this builds 1. **A services stage in the S11 deploy.** After the control plane is live and the brand kit is applied, `RunDeploy` provisions each service placed on the gateway, driving `internal/provision` — the SAME orchestrator P4 drives (ADR 0058) — never a second install path. 2. **Checklist-granular events, as the rest of S11 already is** (ADR 0027): one drill-in row per service, with its own status, so a 6-service stand-up is not one opaque spinner. The operator's own name for a service is what the row says (`ServicePick.name`), not the catalogue's. 3. **The short name becomes the service's address.** `ServicePick.slug` is what the operator typed on the catalogue (`chat.<domain>`) — the deploy must wire the route at that name, and the reachability/name step must include it. 4. **Honest failure, per service.** A service that fails to stand up must not fail the whole community: the control plane is live, the gateway is real, and the hand-off can proceed with that service named as not-yet-running and a route to retry it in P4. The existing `DeployOutcome`/`Recover` shapes decide whether this is a new outcome or a per-row fault — pick one and say why. 5. **The hand-off says what is running.** S12 already presents the portal and the credential split; it should also name the services that came up, so the first thing the operator sees is the community they described. ## Acceptance 1. A rented-path founding walk that ticks Files & documents and Chat and places both on the gateway ends with both **actually running** on the gateway, reachable at the short names the operator gave them. 2. The S11 drill-in log carries one row per service, named as the operator named it, with per-row status. 3. A service whose install fails leaves the community live, the failure named, the hand-off reachable, and the service retriable from the control panel. 4. Provisioning drives `internal/provision` — a test proves founding does not carry a second install path. 5. A founding walk that placed nothing on the gateway beyond the front door deploys exactly as it does today (no regression on the existing S11 legs). 6. The phase-4 / rented e2e drive still passes end to end. ## Depends on - The catalogue and the picks being seam truth. - The placement being seam truth. Both are prerequisites: there is nothing to provision until the plan is on the draft. ## Out of scope - Provisioning onto machines other than the gateway (blocked on founding being able to add a real device). - Changing P4. It stays the way services are added after founding.
Author
Owner

Depends on #1390 and #1391 — the plan must be on the draft before anything can deploy it.

Open ruling for Ben (carried in the body, "The boundary ruling this carries"): does founding deploy what was placed on the gateway before hand-off, or does it record the plan and let P4 execute it on first run? The ticket proposes the first and is written against it; the second re-scopes the work rather than deleting it.

**Depends on #1390 and #1391** — the plan must be on the draft before anything can deploy it. **Open ruling for Ben** (carried in the body, "The boundary ruling this carries"): does founding deploy what was placed on the gateway before hand-off, or does it record the plan and let P4 execute it on first run? The ticket proposes the first and is written against it; the second re-scopes the work rather than deleting it.
Author
Owner

RULED by Ben 2026-09-11 — before hand-off

The boundary ruling this ticket carries is settled the way the body proposed:
founding deploys what the operator placed on the gateway, before hand-off.
The operator has just been shown a memory measure and a placement; handing them a
community running none of it contradicts the screens they filled in.

P4 does not change — it remains how services are added, moved and removed
after founding, over the same orchestrator and the same catalogue. There is
exactly one implementation of "install a service" (internal/provision,
ADR 0058), and founding drives it rather than carrying a second install path.

No re-scope: the work in the body stands as written.

## RULED by Ben 2026-09-11 — **before hand-off** The boundary ruling this ticket carries is settled the way the body proposed: **founding deploys what the operator placed on the gateway, before hand-off.** The operator has just been shown a memory measure and a placement; handing them a community running none of it contradicts the screens they filled in. **P4 does not change** — it remains how services are added, moved and removed after founding, over the same orchestrator and the same catalogue. There is exactly one implementation of "install a service" (`internal/provision`, ADR 0058), and founding drives it rather than carrying a second install path. No re-scope: the work in the body stands as written.

swarm-claim host=matou-dev-server-01 run=22172
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=22172 (automated multi-host claim — lowest live claim id works this ticket)

Ruled by agent under ADR 0174 — veto anytime

Building #1392 surfaced two places where the literal acceptance runs ahead of what the ONE install path (internal/provision, ADR 0058) can honestly do today. Both are two-way doors (revertible by a later commit, provable by seam tests, none of the one-way-door concerns — no credentials, no security widening, no trust accept, no data destruction, no spend), so I am ruling them and proceeding:

1. A service internal/provision cannot yet deploy is named not yet running, never force-installed.
provision.provisionCannotDeploy gates a render-shipping service whose render is not yet routed (chat, mail, code, meetings, static-sites — #428) out of P4-S2, because it could only land as a phantom clan-core instance naming a module that does not exist (the "selectable lie" ADR 0100 outlaws). Acceptance #1 names Chat, which is exactly such a service. Forcing chat to "actually run" would require founding to carry the phantom second install path acceptance #4 explicitly forbids. So founding drives provision for each gateway-placed service: a service provision can honestly deploy today (front door — already the control plane; files, docs-editing, calendar, the routable forward-auth ports) is provisioned and comes up; a service provision cannot yet deploy is named in the S11 log and the S12 hand-off as placed — not yet running, retriable in P4 the moment its render is routed (acceptance #3's honest per-service outcome). When chat's render is routed (the sibling frontier), it provisions with zero founding change — that is the reversal.

2. A service's live route lands at its catalogue slug; a custom short name beyond it is deferred.
ServicePick.Slug is optional ("empty keeps the catalogue's"). provision's renders (AttachFiles/AttachPort) derive the host from the catalogue slug + apex. So in the common case (no custom slug) the effective short name is the catalogue slug and the route is wired at it — acceptance #3 satisfied. A custom short name that differs from the catalogue slug would need provision's render to accept a custom host (a clan-render change, out of this slice); until then the live route stays at the catalogue-slug host and the row/hand-off name that host honestly (never claiming a custom address the route does not carry, ADR 0100).

What proves it: founding-side seam tests drive RunDeploy with files placed on the gateway through the real provision.Orchestrator over the clan fake and assert the fake recorded provision's real AttachFiles render for the gateway node (so founding drives internal/provision, no second install path); chat placed alongside is asserted deferred / not-yet-running; the community stays live and the hand-off reachable. Design-verify's acceptance-#1 "Chat actually running" clause is met for what provision can deploy and honestly deferred for what it cannot — because the alternative is the phantom #4 forbids.

## Ruled by agent under ADR 0174 — veto anytime Building #1392 surfaced two places where the literal acceptance runs ahead of what the ONE install path (`internal/provision`, ADR 0058) can honestly do **today**. Both are two-way doors (revertible by a later commit, provable by seam tests, none of the one-way-door concerns — no credentials, no security widening, no trust accept, no data destruction, no spend), so I am ruling them and proceeding: **1. A service `internal/provision` cannot yet deploy is named *not yet running*, never force-installed.** `provision.provisionCannotDeploy` gates a render-shipping service whose render is not yet routed (chat, mail, code, meetings, static-sites — #428) out of P4-S2, because it could only land as a *phantom* clan-core instance naming a module that does not exist (the "selectable lie" ADR 0100 outlaws). Acceptance #1 names **Chat**, which is exactly such a service. Forcing chat to "actually run" would require founding to carry the phantom second install path **acceptance #4 explicitly forbids**. So founding drives provision for each gateway-placed service: a service provision can honestly deploy today (front door — already the control plane; **files**, docs-editing, calendar, the routable forward-auth ports) is provisioned and comes up; a service provision cannot yet deploy is named in the S11 log and the S12 hand-off as **placed — not yet running**, retriable in P4 the moment its render is routed (acceptance #3's honest per-service outcome). When chat's render is routed (the sibling frontier), it provisions with **zero founding change** — that is the reversal. **2. A service's live route lands at its catalogue slug; a custom short name beyond it is deferred.** `ServicePick.Slug` is optional ("empty keeps the catalogue's"). provision's renders (`AttachFiles`/`AttachPort`) derive the host from the **catalogue slug + apex**. So in the common case (no custom slug) the effective short name **is** the catalogue slug and the route is wired at it — acceptance #3 satisfied. A custom short name that differs from the catalogue slug would need provision's render to accept a custom host (a clan-render change, out of this slice); until then the live route stays at the catalogue-slug host and the row/hand-off name that host honestly (never claiming a custom address the route does not carry, ADR 0100). **What proves it:** founding-side seam tests drive `RunDeploy` with files placed on the gateway through the **real** `provision.Orchestrator` over the clan fake and assert the fake recorded provision's real `AttachFiles` render for the gateway node (so founding drives internal/provision, no second install path); chat placed alongside is asserted *deferred / not-yet-running*; the community stays live and the hand-off reachable. Design-verify's acceptance-#1 "Chat actually running" clause is met for what provision can deploy and honestly deferred for what it cannot — because the alternative is the phantom #4 forbids.

Ruled by agent under ADR 0174 — veto anytime

Building #1392 surfaced two places where the literal acceptance runs ahead of what the ONE install path (internal/provision, ADR 0058) can honestly do today. Both are two-way doors (revertible by a later commit, provable by seam tests, none of the one-way-door concerns — no credentials, no security widening, no trust accept, no data destruction, no spend), so I am ruling them and proceeding:

1. A service internal/provision cannot yet deploy is named not yet running, never force-installed.
provision.provisionCannotDeploy gates a render-shipping service whose render is not yet routed (chat, mail, code, meetings, static-sites — #428) out of P4-S2, because it could only land as a phantom clan-core instance naming a module that does not exist (the "selectable lie" ADR 0100 outlaws). Acceptance #1 names Chat, which is exactly such a service. Forcing chat to "actually run" would require founding to carry the phantom second install path acceptance #4 explicitly forbids. So founding drives provision for each gateway-placed service: a service provision can honestly deploy today (front door — already the control plane; files, docs-editing, calendar, the routable forward-auth ports) is provisioned and comes up; a service provision cannot yet deploy is named in the S11 log and the S12 hand-off as placed — not yet running, retriable in P4 the moment its render is routed (acceptance #3's honest per-service outcome). When chat's render is routed (the sibling frontier), it provisions with zero founding change — that is the reversal.

2. A service's live route lands at its catalogue slug; a custom short name beyond it is deferred.
ServicePick.Slug is optional ("empty keeps the catalogue's"). provision's renders (AttachFiles/AttachPort) derive the host from the catalogue slug + apex. So in the common case (no custom slug) the effective short name is the catalogue slug and the route is wired at it — acceptance #3 satisfied. A custom short name that differs from the catalogue slug would need provision's render to accept a custom host (a clan-render change, out of this slice); until then the live route stays at the catalogue-slug host and the row/hand-off name that host honestly (never claiming a custom address the route does not carry, ADR 0100).

What proves it: founding-side seam tests drive RunDeploy with files placed on the gateway through the real provision.Orchestrator over the clan fake and assert the fake recorded provision's real AttachFiles render for the gateway node (so founding drives internal/provision, no second install path); chat placed alongside is asserted deferred / not-yet-running; the community stays live and the hand-off reachable. Design-verify's acceptance-#1 "Chat actually running" clause is met for what provision can deploy and honestly deferred for what it cannot — because the alternative is the phantom #4 forbids.

## Ruled by agent under ADR 0174 — veto anytime Building #1392 surfaced two places where the literal acceptance runs ahead of what the ONE install path (`internal/provision`, ADR 0058) can honestly do **today**. Both are two-way doors (revertible by a later commit, provable by seam tests, none of the one-way-door concerns — no credentials, no security widening, no trust accept, no data destruction, no spend), so I am ruling them and proceeding: **1. A service `internal/provision` cannot yet deploy is named *not yet running*, never force-installed.** `provision.provisionCannotDeploy` gates a render-shipping service whose render is not yet routed (chat, mail, code, meetings, static-sites — #428) out of P4-S2, because it could only land as a *phantom* clan-core instance naming a module that does not exist (the "selectable lie" ADR 0100 outlaws). Acceptance #1 names **Chat**, which is exactly such a service. Forcing chat to "actually run" would require founding to carry the phantom second install path **acceptance #4 explicitly forbids**. So founding drives provision for each gateway-placed service: a service provision can honestly deploy today (front door — already the control plane; **files**, docs-editing, calendar, the routable forward-auth ports) is provisioned and comes up; a service provision cannot yet deploy is named in the S11 log and the S12 hand-off as **placed — not yet running**, retriable in P4 the moment its render is routed (acceptance #3's honest per-service outcome). When chat's render is routed (the sibling frontier), it provisions with **zero founding change** — that is the reversal. **2. A service's live route lands at its catalogue slug; a custom short name beyond it is deferred.** `ServicePick.Slug` is optional ("empty keeps the catalogue's"). provision's renders (`AttachFiles`/`AttachPort`) derive the host from the **catalogue slug + apex**. So in the common case (no custom slug) the effective short name **is** the catalogue slug and the route is wired at it — acceptance #3 satisfied. A custom short name that differs from the catalogue slug would need provision's render to accept a custom host (a clan-render change, out of this slice); until then the live route stays at the catalogue-slug host and the row/hand-off name that host honestly (never claiming a custom address the route does not carry, ADR 0100). **What proves it:** founding-side seam tests drive `RunDeploy` with files placed on the gateway through the **real** `provision.Orchestrator` over the clan fake and assert the fake recorded provision's real `AttachFiles` render for the gateway node (so founding drives internal/provision, no second install path); chat placed alongside is asserted *deferred / not-yet-running*; the community stays live and the hand-off reachable. Design-verify's acceptance-#1 "Chat actually running" clause is met for what provision can deploy and honestly deferred for what it cannot — because the alternative is the phantom #4 forbids.

close-report for #1392 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1392,
  "status": "success",
  "commits": [
    "fb8b82e58dcd1a0357482803abcbe169ec33a012"
  ],
  "changed_files": [
    "STATUS.md",
    "app/helper/cmd/helper/wiring_prod.go",
    "app/helper/cmd/helper/wiring_test.go",
    "internal/founding/deploy.go",
    "internal/founding/deploy_test.go",
    "internal/founding/handoff.go",
    "internal/founding/orchestrator.go",
    "internal/founding/services.go",
    "internal/founding/services_test.go",
    "internal/provision/deploy.go",
    "internal/provision/deploy_test.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/founding/ ./internal/provision/ ./app/helper/...",
      "exit_code": 0
    },
    {
      "command": "go build ./...",
      "exit_code": 0
    },
    {
      "command": "go vet ./...",
      "exit_code": 0
    },
    {
      "command": "go test ./... (pre-push gate)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "1. A rented-path founding walk that ticks Files & documents and Chat and places both on the gateway ends with both actually running on the gateway, reachable at the short names": "TestStory_S11ProvisionsPlacedServicesThroughProvision (internal/founding/services_test.go): rented+subdomain walk places files+chat on the gateway; files stands up through provision's real render and its row is Done with Address https://files.example.idss.nz (its short name). Chat is a phantom-only render (#428) — named not-yet-running per the ADR 0174 ruling posted on the issue: forcing it to run would be the phantom second install path acceptance #4 forbids.",
    "2. The S11 drill-in log carries one row per service, named as the operator named it, with per-row status": "DeployStatus.Services carries one DeployServiceRow per placed service (Name = ServicePick.Name or catalogue name, Short, Address, Status, Detail); the drill-in log carries one DeployRowServices line per service (buildServiceRows in internal/founding/services.go). Asserted in TestStory_S11ProvisionsPlacedServicesThroughProvision (files row Name/Address/Status, chat row Detail/Status; logHasStage(DeployRowServices)).",
    "3. A service whose install fails leaves the community live, the failure named, the hand-off reachable, and the service retriable from the control panel": "Per-row fault, not a new DeployOutcome: the deploy stays DeployLive (community live) while a not-yet-running service is named with a Detail pointing to the control panel (P4). buildServiceRows/serviceRowsAllNotRunning in internal/founding/services.go; provisionGatewayServices never returns an error or fails the deploy. Demonstrated by the chat-deferred path (row not Done, Detail set, DeployLive) and the hand-off (TestStory_HandOffNamesRunningServices reaches BeginHandOff).",
    "4. Provisioning drives internal/provision — a test proves founding does not carry a second install path": "internal/provision exports CommitGatewayServices (reuses the P4 attachCatalogueService renders) and CanDeployService; founding drives it via founding.ServiceProvisioner/NewProvisionServicer. TestStory_S11ProvisionsPlacedServicesThroughProvision drives RunDeploy over the REAL provision.Orchestrator + clan fake and asserts the fake recorded provision's AttachFiles on the gateway node — no founding-local attach. TestCommitGatewayServices_AttachesDeployableDefersPhantom + TestCanDeployService_MatchesTheP4PhantomGate (internal/provision/deploy_test.go).",
    "5. A founding walk that placed nothing on the gateway beyond the front door deploys exactly as it does today (no regression on the existing S11 legs)": "The service stage is a no-op when no provisioner is wired or nothing was placed (provisionGatewayServices returns nil). TestStory_S11NoPlacedServicesDeploysAsBefore (DeployLive, no service rows, no AttachFiles). The existing deploy suite (TestStory21_… and the full internal/founding suite) stays green.",
    "6. The phase-4 / rented e2e drive still passes end to end": "Not runnable in this sandbox (needs a live clan.lol lab). Proxy: go build ./..., go vet ./..., and the full pre-push go test ./... suite (including internal/founding, internal/provision, app/helper) all pass; the rented+subdomain deploy path is exercised at the seam. Left for the executor's next --target rented/droplet drive."
  },
  "summary": "Founding's S11 deploy provisions the operator's gateway-placed services before hand-off by driving internal/provision (one install path), with per-service rows, honest not-yet-running for render-unrouted services, and the hand-off naming what came up.",
  "reason": "Implements #1392 per Ben's before-hand-off ruling; two literal-acceptance/provision-reach conflicts (chat phantom render #428; custom short-name routing) ruled as honest defers under ADR 0174 and posted to the issue.",
  "blockers": []
}
**close-report** for #1392 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1392, "status": "success", "commits": [ "fb8b82e58dcd1a0357482803abcbe169ec33a012" ], "changed_files": [ "STATUS.md", "app/helper/cmd/helper/wiring_prod.go", "app/helper/cmd/helper/wiring_test.go", "internal/founding/deploy.go", "internal/founding/deploy_test.go", "internal/founding/handoff.go", "internal/founding/orchestrator.go", "internal/founding/services.go", "internal/founding/services_test.go", "internal/provision/deploy.go", "internal/provision/deploy_test.go" ], "tests": [ { "command": "go test ./internal/founding/ ./internal/provision/ ./app/helper/...", "exit_code": 0 }, { "command": "go build ./...", "exit_code": 0 }, { "command": "go vet ./...", "exit_code": 0 }, { "command": "go test ./... (pre-push gate)", "exit_code": 0 } ], "criteria": { "1. A rented-path founding walk that ticks Files & documents and Chat and places both on the gateway ends with both actually running on the gateway, reachable at the short names": "TestStory_S11ProvisionsPlacedServicesThroughProvision (internal/founding/services_test.go): rented+subdomain walk places files+chat on the gateway; files stands up through provision's real render and its row is Done with Address https://files.example.idss.nz (its short name). Chat is a phantom-only render (#428) — named not-yet-running per the ADR 0174 ruling posted on the issue: forcing it to run would be the phantom second install path acceptance #4 forbids.", "2. The S11 drill-in log carries one row per service, named as the operator named it, with per-row status": "DeployStatus.Services carries one DeployServiceRow per placed service (Name = ServicePick.Name or catalogue name, Short, Address, Status, Detail); the drill-in log carries one DeployRowServices line per service (buildServiceRows in internal/founding/services.go). Asserted in TestStory_S11ProvisionsPlacedServicesThroughProvision (files row Name/Address/Status, chat row Detail/Status; logHasStage(DeployRowServices)).", "3. A service whose install fails leaves the community live, the failure named, the hand-off reachable, and the service retriable from the control panel": "Per-row fault, not a new DeployOutcome: the deploy stays DeployLive (community live) while a not-yet-running service is named with a Detail pointing to the control panel (P4). buildServiceRows/serviceRowsAllNotRunning in internal/founding/services.go; provisionGatewayServices never returns an error or fails the deploy. Demonstrated by the chat-deferred path (row not Done, Detail set, DeployLive) and the hand-off (TestStory_HandOffNamesRunningServices reaches BeginHandOff).", "4. Provisioning drives internal/provision — a test proves founding does not carry a second install path": "internal/provision exports CommitGatewayServices (reuses the P4 attachCatalogueService renders) and CanDeployService; founding drives it via founding.ServiceProvisioner/NewProvisionServicer. TestStory_S11ProvisionsPlacedServicesThroughProvision drives RunDeploy over the REAL provision.Orchestrator + clan fake and asserts the fake recorded provision's AttachFiles on the gateway node — no founding-local attach. TestCommitGatewayServices_AttachesDeployableDefersPhantom + TestCanDeployService_MatchesTheP4PhantomGate (internal/provision/deploy_test.go).", "5. A founding walk that placed nothing on the gateway beyond the front door deploys exactly as it does today (no regression on the existing S11 legs)": "The service stage is a no-op when no provisioner is wired or nothing was placed (provisionGatewayServices returns nil). TestStory_S11NoPlacedServicesDeploysAsBefore (DeployLive, no service rows, no AttachFiles). The existing deploy suite (TestStory21_… and the full internal/founding suite) stays green.", "6. The phase-4 / rented e2e drive still passes end to end": "Not runnable in this sandbox (needs a live clan.lol lab). Proxy: go build ./..., go vet ./..., and the full pre-push go test ./... suite (including internal/founding, internal/provision, app/helper) all pass; the rented+subdomain deploy path is exercised at the seam. Left for the executor's next --target rented/droplet drive." }, "summary": "Founding's S11 deploy provisions the operator's gateway-placed services before hand-off by driving internal/provision (one install path), with per-service rows, honest not-yet-running for render-unrouted services, and the hand-off naming what came up.", "reason": "Implements #1392 per Ben's before-hand-off ruling; two literal-acceptance/provision-reach conflicts (chat phantom render #428; custom short-name routing) ruled as honest defers under ADR 0174 and posted to the issue.", "blockers": [] } ``` </details>
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#1392
No description provided.