Files
skills/docs/requirements/087-clock-readout.md
T
Kevin Veen-BirkenbachandClaude Opus 5.5 b0ee62dd0b docs(requirements): 085 to 094 hub UX round and release card hotfix
085 calm Match deck, 086 motion language, 087 clock readout, 088 grouped
prune dialog without the 50-task cap, 089 one-row task toolbar, 090 card
state colour and avatar, 091 limits dragged on the chart (replaces 084
decisions 1 and 2), 092 release card repairs (hotfix), 093 stale requests
in Stream and Tasks, 094 hub cards bound to their Claude dialog.

🎯 Fix: 95 %
💥 Break: 1 %
💸 Tokens: -
⏱️ Velocity: -
🛡️ Security: 100 %
🏆 Score: 94
🚦 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-27 20:50:55 +00:00

59 lines
2.1 KiB
Markdown

# 087 - Time Readout on Every Analog Clock
## User Story
As the operator, I want every analog clock in the hub to print its time
below the pivot while its hand keeps sweeping, so that I read the exact value
without estimating the hand's angle.
## Decisions (operator-confirmed 2026-11-27; do not re-litigate)
1. **Readout under the pivot** (operator): every analog clock (match clock,
undo dial, prune dial, schedule and limits dials, any later one) prints
its value inside the face, centred just below the hand's pivot.
2. **Countdown where it counts down** (operator): a clock that runs out (the
green answer window of the prune dialog, undo) shows the remaining time
as m:ss; a wall clock shows the time of day.
3. **Always animated** (operator): the hand moves continuously and smoothly,
not in jumps; the readout updates every second.
4. **One component**: all clocks share one clock component, so the readout
cannot be missing on one of them.
## Approach
```mermaid
flowchart TD
subgraph P["🧭 0 · Preparation"]
P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
P2 -- "✏️ corrections" --> P1
end
P2 -- "🤖 yes" --> A1
subgraph A["🕰️ A · Clock"]
A1["🧩 One clock component with readout"] --> A2["🔁 Every clock uses it"]
A2 --> A3{"🧪 Unit and E2E green?"}
A3 -- "🔴 no: fix" --> A1
A3 -- "🟢 yes" --> AF{"💬 Operator feedback on screenshots?"}
AF -- "✏️ changes" --> A1
end
AF -- "👍 fits" --> D1["🏁 Review, commit with operator OK, hand-over"]
```
## Acceptance Criteria
### Readout
- [ ] Every analog clock on every page holds a readout element inside the
face below the pivot.
- [ ] The prune dialog's clock reads m:ss and decreases by one each second.
- [ ] The hand's angle changes between two frames 100 ms apart.
### Tests
- Unit:
- [ ] The readout format for wall time and countdown (node).
- Integration:
- n/a: no server change.
- E2E:
- [ ] `tests/e2e/test_clock_readout_e2e.py`: match clock, undo dial and
prune dial show and update their readout.