provisioning P4-S2: For this device lists only what a non-gateway device can take — the front door and the Gateway role never offered on a second device (DDR 0293) #2022
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.
Dependencies
No dependencies set.
Reference
Matou/idss#2022
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?
What
Build DDR 0293 (
docs/adr/0293-design-for-this-device-lists-only-what-this-device-can-take.md, Ben's ruling 2026-09-30). Contract: wireframedocs/ux/wireframes/p4-provisioning/p4-s2-select-role-and-services.htmlframe 1 as amended in the same commit.On P4-S2 For this device for a device that is not the community's gateway:
ForRolegates today by device fit (deviceReason), by role (!runsAs), as withheld (s.Withheld), or as not yet deployable (provisionCannotDeploy). Keep only the dependency-gated rows (depReason, #413/#1173); ticking the dependency on the same screen clears them. Recommended is unchanged.front-door, the gateway role's service) as a card or a recommendation, and never offer the Gateway role.Assessreturns Helper only for a non-gateway device, and the selector renders one role as a fixed line (the gateway node's screen already does this).data-field="nothing-else-fits"), with the Browse catalogue tab link. P4-S1x (nothing at all) is unchanged.data-field="browse-pointer", linkdata-action="tab-browse-catalogue").front-door, or rolegateway, for a device whose fleet role is not gateway, and refuse any serviceForRolewould not list. The refusal is typed and happens before any config commit; #2018 showed that a bad attach breaks the whole community's eval.Unchanged: the gateway node's own P4-S2 (DDR 0146 headroom rows) and Browse catalogue (P4-S2b), which keeps every service with its reason.
Where
internal/provision/assess.go:Assess(roles),ForRolenon-gateway branch (drop un-takeable rows; rewrite the "never vetoes" doc comment to point at Browse catalogue), and the deploy/selection guard.dashboard/src/components/provisioning/SelectRoleServicesScreen.vue: fixed role line when one role, empty-state line, pointer line.internal/provision/assess_test.go(a helper device's Available holds no gated-by-fit/role/withheld/undeployable row and neverfront-door; roles = Helper only; dependency-gated row still listed; the gateway branch unchanged), the route refusal, and the dashboard unit test for the three copy states. Move any existing assertion of a grey reason row on a helper's For this device tab to Browse catalogue.Why
Ben set up his laptop's VM guest (Helper, 1 core / ~950 MB / 10 GB) on Whakatōhea Demo. Nearly the whole catalogue came up grey, the Public gateway card included, and the role selector offered Gateway.
Related
#2018 (member-device deploy), #2017, #2005.
swarm-claim host=bens-mac-04 run=36341
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #2022 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope