sign-in S8: the community's app card is what opens the app door and un-greys the App-only row #1530

Closed
opened 2026-09-16 03:15:31 +00:00 by ben · 4 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/).

The first clause of stories 1 and 30 — the wiring that retires the configuration flag.

What to build

Until now the app door has been enabled by hand and the App-only row greyed with honest copy. Both now
follow the community's app card: when the card reads downloads available, the door shows the app and the
row becomes switchable. Nothing else changes.

Acceptance criteria

  • With the app card at ready, the sign-in page shows the app door
  • With the card at pending, failed, none, or on a community with no card at all, the sign-in page is
    the twelve-words page exactly as today, with no app door
  • With the card at ready, the App-only row is switchable; otherwise it stays greyed with its copy
  • The configuration flag that stood in for the card is removed, not left as a second source of truth
  • Proven at the bridge seam against both card states

Blocked by

Tracker: #1526, #1528, #1517

  • S4 (the page), S6 (the row), pairing T8 (the card's ready state)

Task manifest

task: ready-gate-wiring
implements_flow: community-app-journey
implements_edge: "app card ready → app door + App-only available"
depends_on: [wallet-signin:app-door-page, wallet-signin:app-only-setting-and-row, pairing:app-status-poll-and-ready]
out_of_scope: [the card itself, the poll]
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/`). The first clause of stories 1 and 30 — the wiring that retires the configuration flag. ## What to build Until now the app door has been enabled by hand and the App-only row greyed with honest copy. Both now follow the community's app card: when the card reads downloads available, the door shows the app and the row becomes switchable. Nothing else changes. ## Acceptance criteria - [ ] With the app card at ready, the sign-in page shows the app door - [ ] With the card at pending, failed, none, or on a community with no card at all, the sign-in page is the twelve-words page exactly as today, with no app door - [ ] With the card at ready, the App-only row is switchable; otherwise it stays greyed with its copy - [ ] The configuration flag that stood in for the card is removed, not left as a second source of truth - [ ] Proven at the bridge seam against both card states ## Blocked by Tracker: #1526, #1528, #1517 - S4 (the page), S6 (the row), pairing T8 (the card's ready state) ## Task manifest ```yaml task: ready-gate-wiring implements_flow: community-app-journey implements_edge: "app card ready → app door + App-only available" depends_on: [wallet-signin:app-door-page, wallet-signin:app-only-setting-and-row, pairing:app-status-poll-and-ready] out_of_scope: [the card itself, the poll] needs_human_decision: [] ```

Blocked — all three depends_on slices are still open and unmerged, so the substrate this ticket wires together does not exist yet:

  • #1526 (S4) — the sign-in page becoming the app door (WS-S1). Not merged: internal/idp/signin.go still renders only the twelve-words page (login.handlePage → writePage); there is no app door.
  • #1528 (S6) — the App-only setting and its one row on the Members surface. Not merged: no App-only setting or row exists anywhere in internal/idp or dashboard/src.
  • #1517 (T8) — the gateway following Coa's status document to downloads available. Not merged: no app-card ready-state is readable at the bridge seam.

This slice is only the wiring — "the wiring that retires the configuration flag." But there is no app-door page to show, no App-only row to un-grey, and no configuration flag standing in for the card to remove (that flag would have been introduced by S4/S6). Gating against the app-card ready state requires T8's ready-state at the bridge seam, which also does not exist.

Building any of the page, the row, the flag, or the card ready-state is out of this ticket's scope (out_of_scope: [the card itself, the poll], and rule 3 forbids reimplementing other slices).

Re-arm: merge #1526, #1528, and #1517 (which introduce the app-door page, the App-only row + its stand-in configuration flag, and the app-card ready state at the bridge seam), then re-add ready-for-agent.

Blocked — all three `depends_on` slices are still open and unmerged, so the substrate this ticket wires together does not exist yet: - **#1526 (S4)** — the sign-in page becoming the app door (WS-S1). Not merged: `internal/idp/signin.go` still renders only the twelve-words page (`login.handlePage` → `writePage`); there is no app door. - **#1528 (S6)** — the App-only setting and its one row on the Members surface. Not merged: no App-only setting or row exists anywhere in `internal/idp` or `dashboard/src`. - **#1517 (T8)** — the gateway following Coa's status document to `downloads available`. Not merged: no app-card ready-state is readable at the bridge seam. This slice is *only* the wiring — "the wiring that retires the configuration flag." But there is no app-door page to show, no App-only row to un-grey, and **no configuration flag standing in for the card** to remove (that flag would have been introduced by S4/S6). Gating against the app-card ready state requires T8's ready-state at the bridge seam, which also does not exist. Building any of the page, the row, the flag, or the card ready-state is out of this ticket's scope (`out_of_scope: [the card itself, the poll]`, and rule 3 forbids reimplementing other slices). **Re-arm:** merge #1526, #1528, and #1517 (which introduce the app-door page, the App-only row + its stand-in configuration flag, and the app-card ready state at the bridge seam), then re-add `ready-for-agent`.
Author
Owner

Re-armed, not re-opened: this park was correct but it is not a defect — the ticket was filed with its blocking edges and a worker claimed it in the few minutes before those edges were recorded. Nothing about the ticket needs a human ruling.

Restoring the pipeline label and dropping agent-blocked so the queue re-offers it automatically once its blockers close — the dependency filter hides it until then, so it cannot be claimed early again.

Re-armed, not re-opened: this park was correct but it is **not a defect** — the ticket was filed with its blocking edges and a worker claimed it in the few minutes before those edges were recorded. Nothing about the ticket needs a human ruling. Restoring the pipeline label and dropping `agent-blocked` so the queue re-offers it automatically once its blockers close — the dependency filter hides it until then, so it cannot be claimed early again.

swarm-claim host=elitebook-distributed-server-03 run=26682
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=26682 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1530 — status success

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

envelope
{
  "issue": 1530,
  "status": "success",
  "commits": [
    "b561319d4114234f170dff3cca4aeeed87a3ee2b"
  ],
  "changed_files": [
    "STATUS.md",
    "internal/idp/appdoorpage.go",
    "internal/idp/appdoorpage_seam_test.go",
    "internal/idp/config.go",
    "internal/idp/provider.go",
    "internal/idp/signin.go",
    "internal/idp/communityappclient.go",
    "internal/idp/communityappclient_test.go"
  ],
  "tests": [
    {
      "command": "go build ./...",
      "exit_code": 0
    },
    {
      "command": "go vet ./internal/idp/...",
      "exit_code": 0
    },
    {
      "command": "gofmt -l internal/idp/",
      "exit_code": 0
    },
    {
      "command": "golangci-lint run ./internal/idp/...",
      "exit_code": 0
    },
    {
      "command": "go test ./internal/idp/...",
      "exit_code": 0
    }
  ],
  "criteria": {
    "With the app card at ready, the sign-in page shows the app door": "signin.go handlePage now shows the app door when login.appReady.AppReady()==ready; proven by TestSeam_AppDoorPage_CardReadyGatesTheDoor/card_ready case (internal/idp/appdoorpage_seam_test.go)",
    "With the card at pending/failed/none/no card, the sign-in page is the twelve-words page with no app door": "communityappclient.go AppReady returns state==StateReady; TestCommunityAppClient_ReadyStates proves pending/failed/none parse to not-ready; TestSeam_AppDoorPage_CardReadyGatesTheDoor/{card_not-ready,card_unreachable,no_card_reader} keep the twelve-words page",
    "With the card at ready, the App-only row is switchable; otherwise greyed with its copy": "already wired by #1528 in dashboard/src/components/members/SigninSettings.vue (availability = communityAppSource.state==='ready'); this slice adds no dashboard change, confirmed in STATUS.md entry",
    "The configuration flag that stood in for the card is removed, not left as a second source of truth": "config.go: AppDoor bool, IDSS_IDP_APP_DOOR env read and isEnvTrue helper all removed; login.appDoor replaced by login.appReady (signin.go, provider.go)",
    "Proven at the bridge seam against both card states": "TestSeam_AppDoorPage_CardReadyGatesTheDoor drives the idp OIDC-over-HTTP seam against ready and not-ready cards; go test ./internal/idp green"
  },
  "summary": "The bridge shows the app door and the App-only row unlocks from the community's app card ready state, retiring the IDSS_IDP_APP_DOOR stand-in flag.",
  "blockers": []
}
**close-report** for #1530 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1530, "status": "success", "commits": [ "b561319d4114234f170dff3cca4aeeed87a3ee2b" ], "changed_files": [ "STATUS.md", "internal/idp/appdoorpage.go", "internal/idp/appdoorpage_seam_test.go", "internal/idp/config.go", "internal/idp/provider.go", "internal/idp/signin.go", "internal/idp/communityappclient.go", "internal/idp/communityappclient_test.go" ], "tests": [ { "command": "go build ./...", "exit_code": 0 }, { "command": "go vet ./internal/idp/...", "exit_code": 0 }, { "command": "gofmt -l internal/idp/", "exit_code": 0 }, { "command": "golangci-lint run ./internal/idp/...", "exit_code": 0 }, { "command": "go test ./internal/idp/...", "exit_code": 0 } ], "criteria": { "With the app card at ready, the sign-in page shows the app door": "signin.go handlePage now shows the app door when login.appReady.AppReady()==ready; proven by TestSeam_AppDoorPage_CardReadyGatesTheDoor/card_ready case (internal/idp/appdoorpage_seam_test.go)", "With the card at pending/failed/none/no card, the sign-in page is the twelve-words page with no app door": "communityappclient.go AppReady returns state==StateReady; TestCommunityAppClient_ReadyStates proves pending/failed/none parse to not-ready; TestSeam_AppDoorPage_CardReadyGatesTheDoor/{card_not-ready,card_unreachable,no_card_reader} keep the twelve-words page", "With the card at ready, the App-only row is switchable; otherwise greyed with its copy": "already wired by #1528 in dashboard/src/components/members/SigninSettings.vue (availability = communityAppSource.state==='ready'); this slice adds no dashboard change, confirmed in STATUS.md entry", "The configuration flag that stood in for the card is removed, not left as a second source of truth": "config.go: AppDoor bool, IDSS_IDP_APP_DOOR env read and isEnvTrue helper all removed; login.appDoor replaced by login.appReady (signin.go, provider.go)", "Proven at the bridge seam against both card states": "TestSeam_AppDoorPage_CardReadyGatesTheDoor drives the idp OIDC-over-HTTP seam against ready and not-ready cards; go test ./internal/idp green" }, "summary": "The bridge shows the app door and the App-only row unlocks from the community's app card ready state, retiring the IDSS_IDP_APP_DOOR stand-in flag.", "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#1530
No description provided.