sign-in S7: App-only closes the three browser doors together — the words link, the browser join, and the steward's unlock #1529

Closed
opened 2026-09-16 03:15:25 +00:00 by ben · 2 comments
Owner

Parent

Spec #1492 (wallet sign-in — the app door by device, the approve card, sign-in sites, refusals, ledger-walked sessions, and the App-only switch). Program map #1293. Design contract: DDR 0246, flow docs/ux/flows/wallet-signin.mermaid, wireframes docs/ux/wireframes/wallet-signin/. Mechanics: ADR 0236 (the bridge verifies in Go), proven end to end by prototype #1301 (spikes/1301-wallet-signin/).

Story 31 of the spec. Wireframe: docs/ux/wireframes/wallet-signin/ws-d1-app-only.html (WS-D2, the
steward hand-off).

What to build

"App only" has to mean one thing. When the switch is on, the three places a community still typed twelve
words into a browser all close at once: the sign-in page's words link, the invite's continue in the
browser instead
, and the dashboard's signing unlock — and the steward's acts move to the app.

Acceptance criteria

  • With App-only on, the sign-in page's words link is absent (not hidden) and a post to the words
    verify route is refused server-side
  • With App-only on, an opened invite shows no continue in the browser instead and the browser join is
    refused server-side
  • With App-only on, the Members surface shows no twelve-words unlock field, and every steward act
    (approve, decline, approve-all, issue, revoke, rotation co-sign) is replaced by the hand-off ‹N›
    applications are waiting. Open your app to approve them.
    with Open my app
  • The roster projection and the counts keep rendering behind the hand-off
  • Switching it off returns all three doors, and nothing was revoked, deleted or ended in between
  • Proven at the bridge seam (words route refused, link absent) and in the dashboard unit suites (the
    hand-off replaces the unlock field)

Blocked by

Tracker: #1528, #1526

  • S6 (the setting), S4 (the page)

Task manifest

task: app-only-closures
implements_flow: wallet-signin
implements_edge: "WS-D1 → WS-D2"
wireframe: docs/ux/wireframes/wallet-signin/ws-d1-app-only.html
seam: the bridge's smoke tests + dashboard unit tests
depends_on: [wallet-signin:app-only-setting-and-row, wallet-signin:app-door-page]
out_of_scope: [changing the words page's own form, the app's steward surfaces (matou-app)]
needs_human_decision: []
## Parent Spec **#1492** (wallet sign-in — the app door by device, the approve card, sign-in sites, refusals, ledger-walked sessions, and the App-only switch). Program map **#1293**. Design contract: **DDR 0246**, flow `docs/ux/flows/wallet-signin.mermaid`, wireframes `docs/ux/wireframes/wallet-signin/`. Mechanics: **ADR 0236** (the bridge verifies in Go), proven end to end by prototype **#1301** (`spikes/1301-wallet-signin/`). Story 31 of the spec. Wireframe: `docs/ux/wireframes/wallet-signin/ws-d1-app-only.html` (WS-D2, the steward hand-off). ## What to build "App only" has to mean one thing. When the switch is on, the three places a community still typed twelve words into a browser all close at once: the sign-in page's words link, the invite's *continue in the browser instead*, and the dashboard's signing unlock — and the steward's acts move to the app. ## Acceptance criteria - [ ] With App-only on, the sign-in page's words link is **absent** (not hidden) and a post to the words verify route is refused server-side - [ ] With App-only on, an opened invite shows no *continue in the browser instead* and the browser join is refused server-side - [ ] With App-only on, the Members surface shows no twelve-words unlock field, and every steward act (approve, decline, approve-all, issue, revoke, rotation co-sign) is replaced by the hand-off *‹N› applications are waiting. Open your app to approve them.* with *Open my app* - [ ] The roster projection and the counts keep rendering behind the hand-off - [ ] Switching it off returns all three doors, and nothing was revoked, deleted or ended in between - [ ] Proven at the bridge seam (words route refused, link absent) and in the dashboard unit suites (the hand-off replaces the unlock field) ## Blocked by Tracker: #1528, #1526 - S6 (the setting), S4 (the page) ## Task manifest ```yaml task: app-only-closures implements_flow: wallet-signin implements_edge: "WS-D1 → WS-D2" wireframe: docs/ux/wireframes/wallet-signin/ws-d1-app-only.html seam: the bridge's smoke tests + dashboard unit tests depends_on: [wallet-signin:app-only-setting-and-row, wallet-signin:app-door-page] out_of_scope: [changing the words page's own form, the app's steward surfaces (matou-app)] needs_human_decision: [] ```

swarm-claim host=bens-mac-04 run=26687
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=bens-mac-04 run=26687 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1529 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1529,
  "status": "success",
  "commits": [
    "0425c095d5e9e8acb5c2933ab8a2018f9110ce51"
  ],
  "changed_files": [
    "STATUS.md",
    "control-plane/cmd/control-plane/main.go",
    "dashboard/src/components/members/CredentialsSurface.vue",
    "dashboard/src/components/members/IdipRosterPanel.vue",
    "dashboard/src/components/members/MembersSurface.vue",
    "dashboard/src/components/members/SigninSettings.vue",
    "dashboard/src/components/members/StewardHandoff.vue",
    "dashboard/tests/unit/credentialsSurface.test.ts",
    "dashboard/tests/unit/idipRosterPanel.test.ts",
    "dashboard/tests/unit/membersAppOnly.test.ts",
    "internal/controlapi/member_join_idip.go",
    "internal/controlapi/member_join_idip_integration_test.go",
    "internal/idp/appdoorpage.go",
    "internal/idp/apponly_seam_test.go",
    "internal/idp/apponlyclient.go",
    "internal/idp/config.go",
    "internal/idp/provider.go",
    "internal/idp/signin.go"
  ],
  "tests": [
    {
      "command": "nix develop .#go-ci --command go test ./internal/idp/ ./internal/controlapi/ ./internal/member/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command go build ./...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command go vet ./internal/idp/ ./internal/controlapi/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command golangci-lint run ./internal/idp/... ./internal/controlapi/...",
      "exit_code": 0
    },
    {
      "command": "cd dashboard && node_modules/.bin/vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "cd dashboard && node_modules/.bin/vitest run",
      "exit_code": 0
    }
  ],
  "criteria": {
    "With App-only on, the sign-in page's words link is absent (not hidden) and a post to the words verify route is refused server-side": "internal/idp/signin.go (handlePage serves the app door with appOnly=true; handleVerify returns 403 before keriVerify), internal/idp/appdoorpage.go (renderAppDoor omits the words-door-link entirely), proven by TestSeam_AppOnly_WordsLinkAbsentFromSignInPage / TestSeam_AppOnly_WordsPageNotServed / TestSeam_AppOnly_WordsVerifyRefusedServerSide in internal/idp/apponly_seam_test.go",
    "With App-only on, an opened invite shows no continue in the browser instead and the browser join is refused server-side": "internal/controlapi/member_join_idip.go (GET /idip/join/{token} serves renderAppOnly with no twelve-words form; POST .../submit refuses 403 browser_join_closed), proven by TestIdipJoin_AppOnly_ClosesTheBrowserJoin. The app-side W-S0 continue-in-the-browser link lives in matou-app (out of scope); the server refusal closes the door regardless",
    "With App-only on, the Members surface shows no twelve-words unlock field, and every steward act (approve, decline, approve-all, issue, revoke, rotation co-sign) is replaced by the hand-off with Open my app": "dashboard/src/components/members/StewardHandoff.vue (WS-D2 hand-off, data-action=open-app data-href=matou://inbox) rendered in IdipRosterPanel + CredentialsSurface behind the appOnly prop; idip-steward-phrase, signing-strip, idip-approve-sign, decline, approve-all, make/remove-steward, issue-to-member, revoke-holder all gated off. Proven by idipRosterPanel.test.ts / credentialsSurface.test.ts / membersAppOnly.test.ts app-only blocks",
    "The roster projection and the counts keep rendering behind the hand-off": "IdipRosterPanel keeps the MEMBERS rows (idip-roster) and the handoff-count (waitingCount); CredentialsSurface keeps credential-holders. Proven by 'keeps the roster projection and the counts rendering behind the hand-off' and the holder-projection assertion in credentialsSurface.test.ts",
    "Switching it off returns all three doors, and nothing was revoked, deleted or ended in between": "The flag is read-only per render (member.AppOnly moves one boolean, revokes/deletes/ends nothing); off restores every gated affordance. Proven by the OFF control tests (TestSeam_AppOnly_OffLeavesTheWordsDoorOpen, TestIdipJoin_AppOnlyOff_LeavesTheBrowserJoinOpen, the off cases in idipRosterPanel/credentialsSurface, and the toggle re-read test in membersAppOnly.test.ts)",
    "Proven at the bridge seam (words route refused, link absent) and in the dashboard unit suites (the hand-off replaces the unlock field)": "internal/idp/apponly_seam_test.go at the OIDC-over-HTTP bridge seam; dashboard idipRosterPanel.test.ts asserts the hand-off replaces idip-steward-phrase"
  },
  "summary": "App-only now closes the words door, the browser join and the dashboard signing unlock together, each enforced server-side, with the roster projection and counts kept behind the WS-D2 wallet hand-off.",
  "blockers": []
}
**close-report** for #1529 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1529, "status": "success", "commits": [ "0425c095d5e9e8acb5c2933ab8a2018f9110ce51" ], "changed_files": [ "STATUS.md", "control-plane/cmd/control-plane/main.go", "dashboard/src/components/members/CredentialsSurface.vue", "dashboard/src/components/members/IdipRosterPanel.vue", "dashboard/src/components/members/MembersSurface.vue", "dashboard/src/components/members/SigninSettings.vue", "dashboard/src/components/members/StewardHandoff.vue", "dashboard/tests/unit/credentialsSurface.test.ts", "dashboard/tests/unit/idipRosterPanel.test.ts", "dashboard/tests/unit/membersAppOnly.test.ts", "internal/controlapi/member_join_idip.go", "internal/controlapi/member_join_idip_integration_test.go", "internal/idp/appdoorpage.go", "internal/idp/apponly_seam_test.go", "internal/idp/apponlyclient.go", "internal/idp/config.go", "internal/idp/provider.go", "internal/idp/signin.go" ], "tests": [ { "command": "nix develop .#go-ci --command go test ./internal/idp/ ./internal/controlapi/ ./internal/member/", "exit_code": 0 }, { "command": "nix develop .#go-ci --command go build ./...", "exit_code": 0 }, { "command": "nix develop .#go-ci --command go vet ./internal/idp/ ./internal/controlapi/", "exit_code": 0 }, { "command": "nix develop .#go-ci --command golangci-lint run ./internal/idp/... ./internal/controlapi/...", "exit_code": 0 }, { "command": "cd dashboard && node_modules/.bin/vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "cd dashboard && node_modules/.bin/vitest run", "exit_code": 0 } ], "criteria": { "With App-only on, the sign-in page's words link is absent (not hidden) and a post to the words verify route is refused server-side": "internal/idp/signin.go (handlePage serves the app door with appOnly=true; handleVerify returns 403 before keriVerify), internal/idp/appdoorpage.go (renderAppDoor omits the words-door-link entirely), proven by TestSeam_AppOnly_WordsLinkAbsentFromSignInPage / TestSeam_AppOnly_WordsPageNotServed / TestSeam_AppOnly_WordsVerifyRefusedServerSide in internal/idp/apponly_seam_test.go", "With App-only on, an opened invite shows no continue in the browser instead and the browser join is refused server-side": "internal/controlapi/member_join_idip.go (GET /idip/join/{token} serves renderAppOnly with no twelve-words form; POST .../submit refuses 403 browser_join_closed), proven by TestIdipJoin_AppOnly_ClosesTheBrowserJoin. The app-side W-S0 continue-in-the-browser link lives in matou-app (out of scope); the server refusal closes the door regardless", "With App-only on, the Members surface shows no twelve-words unlock field, and every steward act (approve, decline, approve-all, issue, revoke, rotation co-sign) is replaced by the hand-off with Open my app": "dashboard/src/components/members/StewardHandoff.vue (WS-D2 hand-off, data-action=open-app data-href=matou://inbox) rendered in IdipRosterPanel + CredentialsSurface behind the appOnly prop; idip-steward-phrase, signing-strip, idip-approve-sign, decline, approve-all, make/remove-steward, issue-to-member, revoke-holder all gated off. Proven by idipRosterPanel.test.ts / credentialsSurface.test.ts / membersAppOnly.test.ts app-only blocks", "The roster projection and the counts keep rendering behind the hand-off": "IdipRosterPanel keeps the MEMBERS rows (idip-roster) and the handoff-count (waitingCount); CredentialsSurface keeps credential-holders. Proven by 'keeps the roster projection and the counts rendering behind the hand-off' and the holder-projection assertion in credentialsSurface.test.ts", "Switching it off returns all three doors, and nothing was revoked, deleted or ended in between": "The flag is read-only per render (member.AppOnly moves one boolean, revokes/deletes/ends nothing); off restores every gated affordance. Proven by the OFF control tests (TestSeam_AppOnly_OffLeavesTheWordsDoorOpen, TestIdipJoin_AppOnlyOff_LeavesTheBrowserJoinOpen, the off cases in idipRosterPanel/credentialsSurface, and the toggle re-read test in membersAppOnly.test.ts)", "Proven at the bridge seam (words route refused, link absent) and in the dashboard unit suites (the hand-off replaces the unlock field)": "internal/idp/apponly_seam_test.go at the OIDC-over-HTTP bridge seam; dashboard idipRosterPanel.test.ts asserts the hand-off replaces idip-steward-phrase" }, "summary": "App-only now closes the words door, the browser join and the dashboard signing unlock together, each enforced server-side, with the roster projection and counts kept behind the WS-D2 wallet hand-off.", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#1529
No description provided.