rehearsal-4: design tier — ADR 0189 rental terms while alpha + DDR 0190 S4a card without a payment edge #645
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#645
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?
Arc: #183 rehearsal phase 4 — rented gateway (S4a). Spec:
docs/superpowers/specs/2026-08-21-183-phase-4-rented-gateway-rehearsal-design.md. Plan:docs/superpowers/plans/2026-08-21-183-phase-4-rented-gateway-rehearsal.md(read its Global Constraints first — they apply to this task). This ticket's body is the plan's task verbatim. Phase-3 precedent: #515–#523.Task 1: Design tier — ADR 0189 (rental terms amendment) + DDR 0190 (S4a without payment)
Files:
docs/adr/0189-rented-gateways-free-while-alpha-ttl-reaped-pubkey-in-release-on-abandon.mddocs/adr/0190-design-s4a-rent-card-states-alpha-terms-no-payment-edge.mddocs/adr/0047-matou-rental-broker-for-rented-gateways.md(add "Amended by ADR 0189" line under the frontmatter)docs/adr/0142-design-wizard-reopens-for-access-and-address.md§4 (one sentence: abandonment now releases — ADR 0189)docs/ux/wireframes/p1-founding/p1-s4a-rent-a-server.html(drop thedata-field="payment"block; provider/region become read-only offer facts; button copyRent this server; add adata-field="terms"line; adddata-status="rent-error"retriable error block)docs/ux/wireframes/p1-founding/p1-s4-access-reopened-abandoned-rental.html(copy: "released — it no longer exists and nothing is owed" replaces "still exists and stays billed")docs/ux/flows/p1-founding.mermaidS4→S4a edge label →"picks a rented gateway — the Matou broker provisions it from the gateway image, free while alpha", plus a dated provenance commentdocs/architecture/01-system-context.md+02-containers.md(broker now "rents + releases gateways"; ADR 0042 same-commit rule)STATUS.mdInterfaces:
Produces: the wire vocabulary every later task uses —
GatewayOffer{Preset, Provider, Region, TTL, Terms}, routes/v1/gateways/{offer,rent,renew,release}, selectorsdata-action="option:rented",data-action="rent",data-field="terms",data-status="rent-error",data-status="address".Step 1: Write ADR 0189 — frontmatter
status: accepted # 2026-08-21 — ruled by Ben (phase-4 scoping, spec 2026-08-21-183-phase-4). Body sections: Decided (the five rulings 1/4/5/6 + TTL default 24h, renew by the gateway heartbeat's claim-secret bearer, reap by the broker); Rejected (Stripe test mode; rehearsal-only flag; broker-returned root key); Consequences (broker gains a Provider port + ledger; app pubkey inRentRequest;ReopenAccessreleases; GA pricing still deferred, eject route untouched — nothing in the free tier may make leaving harder).Step 2: Write DDR 0190 — frontmatter
status: accepted # 2026-08-21 — design ruling 8, Ben reviews. Decisions: (1) S4a shows preset · provider · region · terms as offer data (no payment field); (2) the single action isRent this server; (3) failure = in-place retriabledata-status="rent-error"with the broker's stage + message, draft untouched; (4) success auto-fills the IP and lands S5 (data-status="address"visible); (5) abandoned-rental copy says released.Step 3: Apply the wireframe, flow, ADR 0047/0142 and architecture edits listed in Files.
Step 4: Verify —
git diff --statshows every file above; open both wireframes in a browser (orpython3 -m http.server) and eyeball: no "Stripe", no "$12/mo";grep -n 'Stripe' docs/ux/wireframes/p1-founding/p1-s4a-rent-a-server.html→ no output.Step 5: Commit —
git commit -m "rehearsal-4: ADR 0189 rental terms while alpha + DDR 0190 S4a card without a payment edge (#645)"with the STATUS.md lead updated.Ruled by agent under ADR 0174 — veto anytime.
Ruling: this ticket's design-tier work (ADR 0189 + DDR 0190) is a two-way door — both artifacts are revertible by commit, and DDR 0190 is exactly the draft-then-review shape Ben's own ruling 8 in the phase-4 spec already named ("I draft the DDR + wireframe amendment, Ben reviews — needs-design + ready-for-session, auto-accept on his nod"). This extends the #514/#388 design-tier auto-accept precedent (ADR 0174 rule 1). Landed both as
status: acceptedper the plan's frontmatter instructions; Ben's nod closes the loop, a veto reverts commit42cfa0a9.What landed (commit
42cfa0a9, pushed toorigin/main):docs/adr/0189-rented-gateways-free-while-alpha-ttl-reaped-pubkey-in-release-on-abandon.md— rented gateways free while alpha, TTL-reaped (default 24h, renewed by the gateway heartbeat's claim-secret bearer, reaped by the broker); app pubkey rides the rent request, no key returned; abandonment releases. Rejects Stripe test mode, a rehearsal-only broker flag, and a broker-returned root key.docs/adr/0190-design-s4a-rent-card-states-alpha-terms-no-payment-edge.md— S4a renders offer data (preset/provider/region/terms), onerentaction, an in-place retriablerent-error, success auto-fills the address; abandoned-rental copy says released.docs/adr/0047-*.md— "Amended by ADR 0189" pointer under the frontmatter.docs/adr/0142-*.md§4 — one-sentence amendment: abandonment now releases.docs/ux/wireframes/p1-founding/p1-s4a-rent-a-server.html— payment field dropped; provider/region become read-only offer facts (DigitalOcean/Sydney, per ADR 0048 — replaces the stale "Hetzner" placeholder and resolves its open question);data-field="terms"added; button isdata-action="rent"("Rent this server");data-status="rent-error"retriable block added.docs/ux/wireframes/p1-founding/p1-s4-access-reopened-abandoned-rental.html— copy changed to "released — it no longer exists and nothing is owed".docs/ux/flows/p1-founding.mermaid— S4→S4a edge label drops "paid by Stripe" for the alpha-terms wording, dated provenance comment added.docs/architecture/01-system-context.md+02-containers.md— broker described as "rents + releases gateways", ADR 0189 cross-referenced (ADR 0042 same-commit rule).STATUS.md— header lead + milestone log entry.Proof:
git diff --stat(pre-commit) showed exactly the 8 files the ticket listed as Modified, plus the 2 new ADR/DDR files.grep -n 'Stripe' docs/ux/wireframes/p1-founding/p1-s4a-rent-a-server.html→ no output (verified before commit; the one rendered "Stripe" mention in an HTML comment was reworded to "payment provider" specifically to satisfy this literal check).git push origin mainsucceeded (7d16145b..42cfa0a9).This closes task 1 of 8 in
docs/superpowers/plans/2026-08-21-183-phase-4-rented-gateway-rehearsal.md. Tickets #646–#651 build against the wire vocabulary this lands (GatewayOffer{Preset, Provider, Region, TTL, Terms}, routes/v1/gateways/{offer,rent,renew,release}, the selector set named in the ticket's Interfaces block).