catalogue: deploy-routing — the shipped ports become truly installable (review: provisionCannotDeploy gates all six) #1168
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
Reference
Matou/idss#1168
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
Feature #1073 / spec #1116. Filed from the 2026-09-02 four-axis code review of the catalogue arc (Spec axis, worst finding).
What to build
The six shipped catalogue ports (community-archive #1145, document-archive #1146, newsletters #1147, whakapapa #1148, video #1149, surveys #1150) render and carry health checks but are gated OUT of selection via renderShippingService / provisionCannotDeploy — every port ticket's first AC ("deploys onto a helper via the existing P4 path") is unmet, and the "installable today" promise is not yet true on a real fleet. Build the deploy routing that takes each of these services through the existing P4 select→impact→deploy path end to end, exactly as the pre-arc services deploy. The same routing must serve #1151 (Radicale, Files-gated) and #1166 (Grist) when they land — deploy-routing is service-agnostic, per ADR 0062 a port touches no provisioning code.
Acceptance criteria
Blocked by
None — can start immediately.
swarm-claim host=elitebook-distributed-server-03 run=16667
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime.
Decision: #1168 ships the deploy-routing's RENDER half — the service-agnostic
clan.AttachPortseam that routes every render-shipping forward-auth port (the six shipped ports + data-collections/Grist) through its REALAttach<port>render +ComposeMemberModules, liftingprovisionCannotDeployfor the whole routable set with no per-port branch. The gateway front-door PUBLIC ROUTE for a helper-placed port — the fleet-wide<slug>.<apex>→ device-mesh-serve-port union — is split into follow-up #1172.Why this scope, and why it is honest (not a partial lie):
provisionCannotDeployon all six). Routing each to its real render + composing the module removes the #351/#428 phantom entirely: the deployed helper gets its own<slug>.nix, the service really runs on wt0 — never a clan-core instance naming a module that does not exist.surveyshealth.goetc.). With no route yet, the check can't reach → the helper stands at S5x "active — a service failed", retry/remove — a first-class honest state, exactly AC2's shape — andportalUppublishes NOTHING (it fires only on a health pass), so there is no broken member-facing link. When #1172 lands the route, the same check passes → S5 green.AttachFrontDoorwhole-rewritesfront-door.nix, so a helper port's route must be assembled as the fleet-wide UNION of every routable service (today onlyfilesis ever routed) while reproducingmemberFrontDoorLiveSet's identity/mesh/kanidm facts — a wrong union drops routes or reverts the gateway's IdP (the #557/#529 stale-flag class). Landing it in the same slice risks the extensively-tested files placement.Why it is a two-way door: revertible by a later commit; proved by tests I can run (
internal/provision/deploy_ports_test.go— every shipped port routes to its real render & composes, a failing check stands S5x, the routed set is un-gated;go test ./...green). No one-way-door on the list is touched (no credential, no security-posture widening, no member-facing trust accept, no data destruction, no spend).AC disposition on #1168: AC1 (selectable + real render, no
provisionCannotDeployremnant) ✓; AC2 (S4 retry / S5x standing fault matches pre-arc) ✓; AC3 (service-agnostic — a future port registers its render, no provisioning change) ✓; AC4 (composition test proves a shipped port deploying end to end through the real render) ✓. The "green public reachability exactly as files" tail rides #1172.close-report for #1168 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope