templates: ready and failed page states; INSTALLERS from @coa/schema (phase-3 plan Task 5) #72
Labels
No labels
agent-blocked
agent-working
bug
deferred
enhancement
model-haiku
model-opus
model-sonnet
needs-info
needs-triage
no-triage
priority
product-decision
ready-for-agent
ready-for-human
ready-for-session
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/coa#72
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?
Plan
docs/superpowers/plans/2026-08-31-coa-phase-3.mdTask 5.Deliverable
templates/src/community-page.tsre-exportsINSTALLERSfrom@coa/schema(local const deleted);state==='ready' && assets→ five<a class="btn" href=asset download>+ release-notes link;failed→ pending buttons + "Build failed — we're on it. Check back soon." (never the internal error text);building/page-readyunchanged. Tests appended (plan text); snapshot updated once and inspected.Acceptance
readysnapshot added.readywithout assets still renders five pending buttons.pnpm -r typecheck && pnpm -r testgreen.depends_on
Phase gate
Feature toggles / nav order in builds are phase 4. Never delete or rewrite anything under
communities/(ADR 0002/0003); phase 3 rewrites onlykit.json,status.json,index.html. No test reaches the real network, sends real mail, dispatches a real build or provisions a real tenant.Ruled by agent under ADR 0174 (two-way-door doctrine) — veto anytime
Ruling:
ready-for-agent. templates ready/failed states; INSTALLERS re-exported from @coa/schema.Why this is a two-way door: it is revertible by a later commit or label change, and provable by the tests the plan specifies — which never reach the real network, send real mail, dispatch a real build or provision a real tenant. It is not on the one-way-door list: the credential bytes, real GitHub dispatch/release and live coa-shared tenant are already carved out into the human ticket #79 and the session tickets #80/#81; env-gated defaults keep the wired code inert (noop/static, 503/unconfigured) until those land.
What proves it: appended template tests; phase-2 snapshot stays byte-identical, new
readysnapshot inspected;pnpm -r testgreen.The ticket body is a complete agent brief (Deliverable / Acceptance / depends_on). The native Forgejo dependency links already mirror the plan's graph, so the swarm ready-list filter holds this ticket until its blockers close.
swarm-claim host=matou-dev-server-01 run=1256
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under the two-way-door doctrine — veto anytime
Decision: plan Task 5 Step 2 says to add
.note.failed { color:#b45309; font-weight:600 }to the sharedcss()block. Doing so would change the<style>block in the page-ready snapshot too, which contradicts the explicit acceptance clause "Phase-2 snapshot byte-identical". I resolved the conflict in favour of the acceptance clause: the failed-note colour is inlined on the<p class="note failed" style="…">element instead, socss()output (and the page-ready/building snapshot) stays byte-for-byte identical while the failed state keeps its distinct colour and thenote failedclass.Why two-way: revertible by a later commit; provable by the snapshot tests (page-ready snapshot unchanged in the diff, new
readysnapshot added). Not on the one-way-door list.Opened PR #97.
pnpm -r typecheck && pnpm -r testgreen.close-report for #72 — status
success✅ close-report gates passed — every claim verified against main; PR #97 (#97) was already merged (a reconcile pass landed it before this close-report ran) and the merge closed this issue via
closes #72.envelope