site: Backend step with live validation, Review, submit and Done page (plan Task 13) #17
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#17
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-27-coa-phase-0-1.mdTask 13.Deliverable
site/src/form/steps/BackendStep.tsx,form/Review.tsx(toSubmission,stepForPath),pages/Done.tsx, route/done; wizard placeholders replaced; testsBackendStep.test.tsx,Review.test.tsx.Acceptance
aria-labelpass/fail, "All checks passed" or "N of M checks failed")./done?slug=…; 400 showspath: messagelines and jumps to the failing step; 422 stores the report and jumps to backend.apifor tests (defaultapifromclient.ts).pnpm --filter @coa/site buildgreen;pnpm -r typecheck && pnpm -r testexit 0.depends_on
depends_on (issue refs)
Ruled by agent under ADR 0174 — veto anytime.
Ruling:
enhancement+ready-for-agent(wasneeds-triage).packages//server//site//tools//e2e/in the tree yet (#7 is the first code ticket); no matching.out-of-scope/rejection. Redundancy and prior-rejection checks both clear.ready-for-agentnow cannot let a worker start out of order.Why a two-way door. The outcome is a label, reverted by a later label change, and every acceptance criterion is provable by the plan's own tests (
pnpm -r typecheck && pnpm -r test). It touches no credential, emails no community contact, dispatches no build or release, provisions no shared-infra tenant, writes no realcommunities/data, widens no security posture, and changes no form contract the spec does not already state — none of this repo's one-way doors.Blocked — CI runner wedged, PR cannot land
The code for Task 13 is complete and verified locally, but it cannot land because the shared CI runner is wedged, so
ci.yml's seam never runs andMERGE_AUTHORITY=agent-after-greennever gets its green gate.What is done (PR #51, branch
sandcastle/worker/20260829-072150-d137ee, left open so it can merge once CI recovers):site/src/form/steps/BackendStep.tsx— shared (default, fee checkbox) vs self-hosted (config URL + "Test my backend" → per-probe ✅/❌ list witharia-labelpass/fail, "All checks passed" / "N of M checks failed").site/src/form/Review.tsx—toSubmission(SubmissionSchema.parse),stepForPath; submit → 200/done?slug=…, 400path: messagelines + jump to failing step, 422 store report + jump to backend.site/src/pages/Done.tsx+/doneroute;Wizard.tsxplaceholders replaced withBackendStep/Review.BackendStep.test.tsx,Review.test.tsx.Local verification (all exit 0):
pnpm -r typecheck;pnpm -r test(schema 36, server 13, site 15 pass);pnpm --filter @coa/site buildgreen.The blocker (GOTCHAS 10 — backlog ruled out, runner is wedged):
pull_request) has beenstatus: waitingfor ~90 min.status: runningsince 07:21Z (~86 min) with zero completions in that window.waitingqueue is growing, not draining (30 → 38 over the observation window), and 13 runs sit ahead of mine.This is past GOTCHAS 10's "just wait, the queue drains in 10–30 min" case: the single shared runner has made no forward progress and needs an operator restart. Re-registering triggers does not apply (my head has a live
waitingrun, and.forgejo/workflows/ci.ymlis a protected path I must not edit).To re-arm: restart / unwedge the shared Actions runner so the seam queue drains, confirm PR #51's
ci / seam (pull_request)goes green (the harness then auto-merges), then re-addready-for-agent. No code change is needed — the branch is already green locally.Ruled by agent under the two-way-door doctrine — veto anytime. The runner queue has drained (0 waiting / 0 running at 14:09Z). PR #52 (
agent/issue-17,closes #17, same head3b5ab43as #51) has gone unmergeable only becausemainmoved; the interactive session is rebasing it, re-running the seam and merging underagent-after-green; PR #51 will be closed as the duplicate. No code change. Removingagent-blocked.