Remove the App-only switch from the code — the design retired it (DDR 0282) #1910
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
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#1910
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?
Why
DDR 0282 (2026-09-27, Ben: "Remove the app only toggle") retires the App-only
switch from the design. The code still has it, so the repo currently disagrees
with itself:
ws-d1-app-only.htmlis deleted,WS-D1/WS-D2are gone from theflows, and CONTEXT.md marks the term removed — but the switch is still live in Go
and the dashboard.
The switch was DDR 0246 decision 10: one operator toggle that retired the browser
era together (the twelve-words link on WS-S1, the browser join fallback, and the
dashboard's signing unlock). Two rulings emptied it out — ADR 0283 gave the
steward seat its own unlock at panel sign-in and kept the twelve words as its
fallback always, so the switch could no longer close the dashboard unlock; Ben
then ruled it out entirely rather than narrow it.
Scope
Remove the switch, its setting, its API and its tests.
Go
internal/controlapi/idip_app_only.go+idip_app_only_test.gointernal/idp/apponly.go-side:apponlyclient.go,apponlyclient_test.go,apponly_seam_test.gointernal/member/apponly.gointernal/idp/signin.go,internal/idp/provider.go,internal/idp/config.go,internal/idp/appdoorpage.go(+appdoorpage_seam_test.go),internal/idp/communityappclient.gointernal/controlapi/member_join_idip.go(+member_join_idip_integration_test.go),internal/controlapi/config_repo_resting_test.gocontrol-plane/cmd/control-plane/main.goDashboard
src/components/members/SigninSettings.vue(the App-only row),StewardHandoff.vue(the WS-D2 hand-off screen)MembersSurface.vue,IdipRosterPanel.vue,CredentialsSurface.vuesrc/lib/appOnly.ts,src/lib/api/appOnlyClient.ts, the registration insrc/lib/mountRegistry.tstests/unit/appOnlySettings.test.ts,tests/unit/membersAppOnly.test.ts, the App-only blocks intests/unit/credentialsSurface.test.tsandtests/unit/idipRosterPanel.test.ts,tests/fakes/appOnly.ts,tests/e2e/preview-harness/idipFakes.ts(the?appOnly=1scenario)app/tests/e2e/fixtures/idip.test.ts,app/tests/e2e/journey.idip.spec.tsTwo constraints that are easy to get wrong
and the browser join stay open unconditionally. The wireframe contract changed
with it:
data-field="words-door-link"no longer carriesdata-visible-when="app-only=off"(seews-s1-sign-in-app-door.html). Deletingthe
app-only=offbranch along with the link it guarded is the exact failurethis ruling exists to prevent — a community with no words door is how a flat
phone locks a steward out.
dashboard/src/lib/api/generated.tsis GENERATED. Regenerate it from theOpenAPI spec; do not hand-edit. #1794 turned main red for exactly that.
Acceptance
app-only/appOnly/app_onlyidentifier remains in Go, the dashboardor the tests (STATUS.md's historical log entries stay as they are — they are a
dated record, not live state).
test pins it.
vue-tsc+ unit suite green.Sequencing
Do this before the #1886 ledger/unlock build. Both touch
IdipRosterPanel,MembersSurfaceandCredentialsSurface, and the ledger work replacesIdipRosterPanel's data source wholesale — there is no point carrying deadApp-only branches into that rewrite and re-resolving them in conflicts.
References
DDR 0282 (the removal), ADR 0283 (the seat, and why the fallback is permanent),
DDR 0246 decision 10 (what is being retired), DDR 0230 (the browser join),
#1886 (the design set that surfaced it).
🤖 Generated with Claude Code
https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY
Triage →
needs-designCategory
enhancement; category and scope of the removal are right. But the issue's design premise — that the tier already retired App-only — does not hold in the repo yet, so the code-removal has no design contract to build against. Verified onmain(clean tree):docs/adr/tops out at0281-…. No commit records the removal ruling. The body citesDDR 0282 (2026-09-27, Ben: "Remove the app only toggle")andADR 0283as the authority, but neither is written.docs/ux/wireframes/wallet-signin/ws-d1-app-only.htmlstill exists — the body says it "is deleted".docs/ux/flows/wallet-signin.mermaid(nodes D1/D2, and the S1→WORDS edge still reads "shown only while the app-only switch is off") andcommunity-app-journey.mermaid(WD1/WD2).ws-s1-sign-in-app-door.htmlstill carriesdata-visible-when="app-only=off"ondata-field="words-door-link"(two occurrences) — this is the exact contract Constraint 1 says "changed with it". It hasn't.The code still has the switch (confirmed:
internal/controlapi/idip_app_only.go,internal/idp/apponly*.go,internal/member/apponly.go,dashboard/src/lib/appOnly.ts, ~400app-only/appOnly/app_onlyidentifier hits), so the removal is real work — but the repo does not "disagree with itself" the way the body claims. Right now design and code agree that App-only is live.Why
needs-design, notready-for-agentThe missing-design gate: the referenced design artifacts (DDR 0282, ADR 0283, the retired
ws-d1-app-only.html, the changedws-s1contract, the flow/CONTEXT edits) don't exist yet. A swarm worker sent at this now would have to either author the DDR and mutate the wireframe/flow contract itself — design-tier work aready-for-agentworker must not own — or build the code removal against a design that still says App-only is live and still guards the twelve-words link withapp-only=off, tripping Constraint 1 (the door-reclosing failure this ruling exists to prevent).What has to land first (design tier, then re-triage)
docs/adr/.ws-d1-app-only.html; drop WS-D1/WS-D2 fromwallet-signin.mermaidandcommunity-app-journey.mermaid; drop the "app-only switch off" condition from the S1→WORDS edge.ws-s1-sign-in-app-door.html, dropdata-visible-when="app-only=off"from bothwords-door-linkdivs so the twelve-words link is unconditional (Constraint 1).Once that design contract is confirmed, this reverts cleanly to
ready-for-agent— the Go/dashboard scope and acceptance criteria here are already well-drawn (and the #1886 sequencing note holds). Two-way door: re-label anytime the design tier catches up. Not routed to a human because nothing here needs Ben's hands/eyes or a one-way-door ruling — Ben has already made the call; it just hasn't been recorded in the design tier.Design-unblocked:
needs-design→ready-for-agent.This ticket has carried
needs-designsince before the design landed. It is no longer blocked: DDR 0284 (docs/adr/0284-design-the-app-only-switch-is-removed-both-doors-stay-open.md, on main) is the design — its decision 1 removes the switch outright, decision 2 states which doors must stay open, and decision 4 enumerates the code sites this ticket removes and names #1910 as the ticket that owes the removal.ws-d1-app-only.htmlis already deleted, WS-D1/WS-D2 are out of thewallet-signinflow, and CONTEXT.md marks the term removed. There is no missing flow or wireframe, so the missing-design gate does not apply.One correction to the body above: it cites "ADR 0283" for the steward seat and "DDR 0282" for the switch removal. Those numbers collided and were reassigned — the steward seat is ADR 0282, the switch removal is DDR 0284. The substance is unchanged.
What is waiting on this. Spec #1929 (
/to-specon #1886) ticketed today; this ticket gates two of its tickets because they rewrite the same code:internal/idpread sites — a conflict-avoidance edge, confirmed with Ben at ticketing).The one rule to keep while removing it (DDR 0284 d.4): removing the switch must not re-close any door. The twelve-words link on WS-S1 becomes unconditional, the browser join fallback stays open, and the control panel's typed unlock stays as the steward's permanent fallback (ADR 0282 d.5).
Ruled by agent under ADR 0174 — veto anytime. Ruling:
needs-design→ready-for-agent. Why a two-way door: a label flip with no code or state effect, reversible by re-addingneeds-designin one edit. What proves it:git show origin/main:docs/adr/0284-design-the-app-only-switch-is-removed-both-doors-stay-open.mdreturns the accepted DDR whose decision 4 lists this ticket's scope by name.🤖 Generated with Claude Code
https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY
swarm-claim host=bens-mac-04 run=34349
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1910 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope