Files
skills/docs/requirements/040-release-card.md
T
Kevin Veen-BirkenbachandClaude Opus 5.5 6720ee3e70 fix(docs): requirement 040 quotes the operator's pick in English
test_english failed push CI 45793423935 on master 8b8402d: docs/requirements/040-release-card.md:16 quoted the pick as "1 und 2". The local full run never saw it because the requirement files were untracked then and the test walks git ls-files.

🎯 Fix: 98 %
💥 Break: 1 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 97
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:53:03 +00:00

67 lines
2.5 KiB
Markdown

# 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.