broker + Go: the gateway offer carries its SIZES and their PRICES, and the rent honours the operator's pick — founding's new pricing has no live half #1393
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.
Reference
Matou/idss#1393
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?
Ben ruled the rental's pricing on 2026-09-11: "i want to update the pricing comms
and rental process for VPS devices … i want the gateway preset to be a selection
between the 4GB -$30 and 8GB - $60". ADR 0189 amended (free-while-alpha ends,
a rental carries a size and a price) and DDR 0190 amended (S4a's read-only
preset becomes a choice) in the same commit as the renderer work.
The renderer half is built. The Go and broker halves do not exist — exactly
the shape #1375 had for the region picker, and the same fix applies: the offer
must carry the sizes, and the rent must honour the operator's pick.
What exists today (renderer only)
app/src/lib/founding.tsGatewayPreset{slug,label,specs,memMb,price}GatewayOffer.presets?: GatewayPreset[]RentRequest.preset?: stringAccessChoice.gatewayPreset?+.gatewayMemMb?— what was bought, asagainst the offer's what-is-on-sale
s-2vcpu-4gb/ "4 GB" /$30/monthands-4vcpu-8gb/"8 GB" /
$60/monthapp/src/components/founding/FoundingAccess.vue— S4a'sGateway presetlineis a stack of option boxes (
data-field="gateway-presets",data-action="preset:<slug>"); an offer carrying nopresetskeeps the oldread-only
data-field="gateway-preset"line unchanged.FoundingServiceCatalogue.vue/FoundingDevicePlacement.vuemeasure thecommunity's stack against
AccessChoice.gatewayMemMbwhen present.internal/founding/access.go— the S4 option copy is already updated("A rented server (VPS)", "for a monthly fee"); that is the only Go change
landed.
What does not exist
internal/founding.GatewayOfferhas noPresets;RentRequesthas noPreset. The broker returns no size list and no price.internal/founding.AccessChoicehas noGatewayPreset/GatewayMemMB, sothe pick is not persisted and both later screens fall back to the offer's
default on every real walk.
RentServer's summary still reads… · free while alpha · <ip>(
internal/founding/access.go), which now contradicts the screens one stepearlier.
(
broker/cmd/broker/main.go: "free while alpha and there is no price stringanywhere";
broker/internal/broker/{http,broker,rentals}.go;internal/founding/testing/fakes.go).What this builds
/v1/gateways/offerreturns the sizes it sells,each with the provider's own slug, a human label, the spec line, its memory,
and its price — broker data, never a constant in the app (ADR 0189 ruling 6,
unchanged by the amendment).
RentRequest.Presetrides throughinternal/founding→ the broker → the provider's create. An absent presetleaves the broker on its own default, exactly as an absent region does
(#1375). A preset the broker does not sell is refused with a named reason —
never silently downgraded to the default.
AccessChoicegainsGatewayPreset+GatewayMemMB, persisted with the draft and resumed, so the Services measureand the Infrastructure bench size the stack against what was bought.
RentServer's summary states thesize and its price when the offer carried one, and says nothing about price
when it did not. Same for the broker's rental note.
internal/founding/testing/fakes.go, or made conditional on the offercarrying no price. A price string in one half of the product and "there is no
price string anywhere" in the other is the drift this bullet exists to stop.
Acceptance
provisions the larger droplet, and the resumed draft still says 8 GB.
against the bridge, not the fake.
and nothing is provisioned.
presetsrenders S4a's old read-only preset line — proven bya test, so the fallback cannot rot.
grep -ri "free while alpha"overbroker/andinternal/returns onlydeliberate historical references (ADR text), not live product prose.
Open questions this ticket does NOT answer (ADR 0189's amendment records them)
charges nothing. Do not invent one here.
any rental exists. Resizing a running machine is a broker op nobody has specced.
swarm-claim host=matou-dev-server-01 run=21978
(automated multi-host claim — lowest live claim id works this ticket)
GET /enroll/places,GET /enroll/server-offer,POST /enroll/rent(the broker rents, the box enrols itself with a code minted for it) #1397GET /enroll/places,GET /enroll/server-offer,POST /enroll/rent(the broker rents, the box enrols itself with a code minted for it)close-report for #1393 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
close-report for #1393 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope