docs(requirements): add the hub requirements 072 to 084
Queue controls tab and override, running tasks on the board, stale task prune, release cut, greyed card stamp, commit-tree diff, VS Code path links, expired cards, Match refresh hourglass, field attachments, self-tuning queue admission and the limits board. 🎯 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>
This commit is contained in:
1 parent
83a0ab504b
commit
c4975d8246
14 files changed
+987
No files matched your search
@@ -0,0 +1,69 @@
|
||||
# 074 - Running on the Board
|
||||
|
||||
## User Story
|
||||
|
||||
As the operator, I want to see at a glance on the Kanban board what runs
|
||||
right now and what kind of work it is.
|
||||
|
||||
## Decisions (operator-confirmed 2026-11-27; do not re-litigate)
|
||||
|
||||
1. **Three marks, all shown, told apart** (operator):
|
||||
- queue job active: icon `bi-cpu`, accent tone, job kind and runtime;
|
||||
- agent working: icon `bi-person-workspace`, ok tone, agent and since
|
||||
when;
|
||||
- hub job running: icon `bi-terminal`, info tone, the command's head.
|
||||
|
||||
Sources: the active entries of `queue.json`, the presence heartbeats of
|
||||
the task's R or worker within the last 5 minutes, and `runner-job.json`.
|
||||
2. **Card look** (operator: highlighted, gently pulsing, not intrusive): a
|
||||
2 px border in the mark's tone and a slow glow pulse of 3 s that
|
||||
animates opacity only, never size; several marks show several chips and
|
||||
the border takes the first in the order above; with
|
||||
`prefers-reduced-motion` the border stays static.
|
||||
3. **Filter**: a board chip "Running" shows only marked cards.
|
||||
|
||||
## Approach
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
subgraph P["🧭 0 · Preparation"]
|
||||
P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
|
||||
P2 -- "✏️ corrections" --> P1
|
||||
end
|
||||
P2 -- "🤖 yes" --> A1
|
||||
subgraph A["🟢 A · Marks"]
|
||||
A1["🧮 Kanban.marks from queue, presence, runner"] --> A2["🎨 Border, chips, glow"]
|
||||
A2 --> A3{"🧪 Unit and E2E green?"}
|
||||
A3 -- "🔴 no: fix" --> A1
|
||||
A3 -- "🟢 yes" --> AF{"💬 Operator feedback on screenshots?"}
|
||||
AF -- "✏️ changes" --> A2
|
||||
end
|
||||
AF -- "👍 fits" --> D1["🏁 Review, commit with operator OK, hand-over"]
|
||||
```
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
### Marks
|
||||
|
||||
- [ ] A task with an active queue job shows the cpu chip with kind and
|
||||
runtime and the accent border.
|
||||
- [ ] A task whose worker beat 2 minutes ago shows the agent chip; one that
|
||||
beat 10 minutes ago shows none.
|
||||
- [ ] `runner-job.json` naming the task's row shows the terminal chip.
|
||||
- [ ] The "Running" chip hides every unmarked card.
|
||||
|
||||
### Motion
|
||||
|
||||
- [ ] The glow animates only `opacity` over 3 s; `prefers-reduced-motion`
|
||||
stops it.
|
||||
|
||||
### Tests
|
||||
|
||||
- Unit:
|
||||
- [ ] `Kanban.marks` over fixtures of all three sources.
|
||||
- Integration:
|
||||
- [ ] The state payload carries the presence and runner sources the board
|
||||
reads.
|
||||
- E2E:
|
||||
- [ ] `tests/e2e/test_board_running_e2e.py`: chips, border, filter,
|
||||
screenshots at 1920, 1366 and 390.
|
||||
Reference in new issue
Block a user