catalogue: static-sites-port — the static-sites service ships its full port (a static web server) #228
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
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
Matou/idss#228
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
Arc seed #223 (split confirmed by Ben, 2026-07-30) — the
static-sitescatalogue service ships its port. Template: the files-port ticket #220.What's true today
static-sites(a static web server) is a slug of intent ininternal/catalogue/catalogue.go— no NixOS module, no reconciler, no health check anywhere in the tree. Under ADR 0112 it can no longer activate vacuously: until this port lands, assigning it names a "no health check declared" fault.What to build
The ADR 0062 three parts, following #220's proven template: (1) the declarative module (daemon + secrets via clan vars) rendered through the clan adapter (ADR 0102); (2) the out-of-band reconciler where the module can't declare it (the Garage/S13 pattern); (3) a health check that proves real function, registered in the shared registry. Plus the port-declared contract parts as they apply: ingress fragment + client-protocol exempt paths (ADR 0074), disable-credentials verb (ADR 0074), offboard fates (ADR 0075), role mappings (ADR 0076), dataset/backup contract (ADR 0080). Hostname derives from the one authority (ADR 0113:
static-sites.<apex>).Acceptance criteria
static-sites, When the deploy completes, Then the service runs, its real check passes, and only then does it activate and publish (ADR 0112)static-sites.<apex>, Then forward_auth + the komiti matrix govern entry and declared exempt paths pass (ADRs 0074/0076)Task manifest
Landed in
f95e095onorigin/main(sandcastle:catalogue:static-sites-port #228).The static-sites service ships its ADR 0062 full backend port core, built from scratch on the files-port (#220) / mail-port (#229) template:
internal/clan/staticsites.goRenderStaticSites:services.caddyfile_serverover the PUBLISHED member-site tree on the ruled host, mesh-bound with no public port (the front door fronts it, ADR 0074); admin secret rides a clan var.staticsites_attach.goAttachStaticSitesderivesstatic-sites.<apex>from the one hostname authority (ADR 0113), node-only, idempotent, missing-apex refused.internal/staticsitessvc(memberorbit.ServicePort, Service=static-sites): Claim/DisableCredentials=held/EnableCredentials/Archive, Reassign refused (fate archive), front-door-only role mapping (ADR 0074/0075/0076). Wired intoproductionServicePorts+.Expect(static-sites).staticSitesHealthCheckprobes the site-manager/healthz(web server serving + store readable — real function, ADR 0062/0061), registered in the shared registry (the deploy-time gate).AC coverage: AC1 (deploy → real check passes → activate) via the composition health-gate seam (
provision_staticsites_health_test.go); AC2 (front door governsstatic-sites.<apex>with forward_auth + komiti) via the genericAttachFrontDoorroute + front-door-only mapping; AC3 (suspend/offboard converge the service) via the staticsitessvc contract verbs.go build/vet/test+ golangci-lint green across the tree. STATUS.md updated.Deferred (a scope split, per the files/mail-port precedent — separate slices): the clan-lab smoke (assign static-sites → deploy → health-pass → publish/visit a real site) and the member portal claim/site-management UI surface.
rehearsal-report.shdrifted - bdb42ff6’s token-leak fix must land in dev-factory (which still leaks) and ride back on a FACTORY_REF bump #1683rehearsal-report.shdrifted - bdb42ff6’s token-leak fix must land in dev-factory (which still leaks) and ride back on a FACTORY_REF bump #1683