# 040 - Release Card ## User Story As the operator, I want the release to arrive as the front card of the Match deck once I have decided everything, so that I release the same way I decide. ## Decisions (operator-confirmed 2026-11-25; do not re-litigate) 1. **When**: once every card that can be decided now is decided, the release card is the front card; greyed cards (stale or blocked) do not hold it back. 2. **Content**: the list of today's overview (each decision changeable or back to the stack), the release-block note and the Release button. 3. **Gestures** (operator picked options 1 and 2): swiping right or the right arrow starts the passkey release exactly like the button; swiping left or the left arrow returns to the stack. 4. **Behind it**: cards that arrive meanwhile and the greyed cards lie behind the release card as the pile layers of 036; they never jump in front. 5. **Early**: the Decisions button (tally) still opens the release card before everything is decided. 6. **Replaces** the overview section that takes the deck's place today. ## Approach ```mermaid flowchart TD subgraph P["๐Ÿงญ 0 ยท Preparation"] P1["๐Ÿ“‹ Write requirement"] --> P2{"โœ… Operator approves?"} P2 -- "โœ๏ธ corrections" --> P1 end P2 -- "๐Ÿค– yes" --> A1 subgraph A["๐Ÿƒ A ยท Release card"] A1["๐Ÿงฉ Release as deck card"] --> A2["๐Ÿ‘‰ Swipe and arrows"] A2 --> A3["โœ๏ธ E2E test written"] end A3 --> C1 subgraph C["๐Ÿงช C ยท All of 039 to 046"] C1["๐Ÿงช All tests once"] --> C2{"๐ŸŸข Green?"} C2 -- "๐Ÿ”ด no: fix" --> C1 C2 -- "๐ŸŸข yes" --> CF{"๐Ÿ’ฌ Operator feedback on screenshots?"} CF -- "โœ๏ธ changes" --> A1 end CF -- "๐Ÿ‘ fits" --> D1["๐Ÿ Review, commit with operator OK, hand-over"] ``` ## Acceptance Criteria ### Card - [ ] With all decidable cards decided, `.match-deck .match-card.front` is the release card and contains `.match-release`. - [ ] Swiping the release card right or the right arrow runs the same release as the button: exactly one submit with every decision. - [ ] Swiping it left or the left arrow shows the open stack again. - [ ] A card arriving while the release card is front lies in `.match-layer`; the release card stays front. - [ ] A stale or blocked open card does not prevent the release card and lies behind it as a layer. ### Tests - [ ] Unit: n/a: page JS. - [ ] Integration: n/a: no server change. - [ ] E2E: the five checks above at 1920 and 390; screenshots.