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>
This commit is contained in:
Kevin Veen-BirkenbachandClaude Opus 5.5 committed 2026-11-27 20:50:55 +00:00
1 parent f356083a24
commit b0ee62dd0b
12 files changed
+801

No files matched your search

@@ -0,0 +1,72 @@
# 088 - Grouped Prune Dialog
## User Story
As the operator, I want the stale tasks in the prune dialog grouped and
searchable and pruned in one go however many there are, so that I keep the
overview with hundreds of tasks.
## Decisions (operator-confirmed 2026-11-27; do not re-litigate)
1. **Grouped by prefix** (operator): the tasks group by their prefix (`ci/`,
`cluster/`, `work/`, `fix/` and so on), each group collapsible with a
tri-state group checkbox and its count; inside, one row per task with its
owner's avatar and its age as a chip. Rejected: a sortable table, age
buckets.
2. **Search and stepper**: a filter field narrows the rows; the stale age is
a number stepper without a mic button.
3. **Sticky footer**: the clock of 087 and "Prune N" stay visible while the
list scrolls.
4. **No 50-task cap** (operator: drop it without a reason): 075 never asked
for it; 258 task slugs take about 12 KB of the hub's 1 MiB body limit. The
check keeps distinct, valid slugs outside `operator/` and `hotfix/`; the
body limit is the only bound. Rejected: batches (no constraint needs
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 · Prune dialog"]
A1["🗂️ Groups, search, stepper, sticky footer"] --> A2["♾️ Cap removed in hub and runner"]
A2 --> A3{"🧪 Unit, integration 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
### Dialog
- [ ] The tasks show in one group per prefix with count and group checkbox;
unticking one row sets its group checkbox to indeterminate.
- [ ] Typing in the filter hides rows that do not match and updates "Prune
N".
- [ ] The footer with clock and Prune button stays in view after scrolling
the list to its end.
- [ ] The stale age field has no mic button.
### Cap
- [ ] A signed prune of 300 distinct tasks passes `pruning.checked_tasks`
and the runner.
- [ ] Duplicates, invalid slugs and `operator/` or `hotfix/` tasks are still
refused.
### Tests
- Unit:
- [ ] `checked_tasks` with 300 tasks and the refusals.
- Integration:
- [ ] A prune of 300 tasks through the HTTP handler and the runner.
- E2E:
- [ ] `tests/e2e/test_stale_prune_e2e.py`: groups, tri-state, filter,
sticky footer, 258 tasks pruned in one signature.