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:
1 parent
f356083a24
commit
b0ee62dd0b
12 files changed
+801
No files matched your search
@@ -0,0 +1,95 @@
|
||||
# 091 - Limits Dragged on the Resources Chart
|
||||
|
||||
## User Story
|
||||
|
||||
As the operator, I want to drag the limit lines on the Resources chart,
|
||||
switch limits, legend and markers on and off, and read what each limit
|
||||
does, so that I steer the queue from one clear chart. This replaces
|
||||
decisions 1 and 2 of 084 (no drag, a dial per line).
|
||||
|
||||
## Decisions (operator-confirmed 2026-11-27; do not re-litigate)
|
||||
|
||||
1. **Drag the lines** (operator): lower, upper, STOP and MAYDAY of the shown
|
||||
metric are lines on the chart that move vertically by mouse or touch. A
|
||||
moved line turns dashed with its new value and old value.
|
||||
2. **Stage, then one Save** (operator): moved lines collect in a bar "Save N
|
||||
changes / Discard"; one passkey signature covers every loosening value,
|
||||
tightening only saves without one (084 decision 4 stays). An order
|
||||
break (lower < upper < STOP < MAYDAY) blocks Save and names the line.
|
||||
3. **Limits menu** (operator): the toolbar's Limits button becomes a menu
|
||||
with a checkbox per level (lower, upper, STOP, MAYDAY, target) to show or
|
||||
hide its lines, the profiles, and "Matrix…" for the full table; a right
|
||||
click on the chart opens the same matrix. The dial goes.
|
||||
4. **Tooltips that explain** (operator): hovering a level's name or line
|
||||
says what it means and what it does, for example "upper: the queue
|
||||
starts no job whose footprint would lift the load above it".
|
||||
5. **Clear chart** (operator): a View menu toggles the legend, the queue
|
||||
markers, the wait bands and the limit lines; series stay toggled by their
|
||||
legend chip. Every toggle is remembered per browser.
|
||||
6. **Readable unknowns**: a GPU span without a reading names its cause in
|
||||
its tooltip (`nvidia-smi` error line, for example "driver/library version
|
||||
mismatch: reboot") instead of only "unknown". Found 2026-11-27: the
|
||||
userspace driver 620.70.06 against kernel module 615.71.09 since 14:14 UTC.
|
||||
|
||||
## Approach
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
subgraph P["🧭 0 · Preparation"]
|
||||
P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
|
||||
P2 -- "✏️ corrections" --> P1
|
||||
end
|
||||
P2 -- "🤖 yes" --> A1
|
||||
subgraph A["📏 A · Drag and save"]
|
||||
A1["🖱️ Draggable lines"] --> A2["💾 Staged changes, one Save, passkey to loosen"]
|
||||
A2 --> A3{"🧪 Unit and integration green?"}
|
||||
A3 -- "🔴 no: fix" --> A1
|
||||
end
|
||||
A3 -- "🟢 yes" --> B1
|
||||
subgraph B["🧭 B · Menus and clarity"]
|
||||
B1["☑️ Limits menu and right-click matrix"] --> B2["💬 Tooltips per level"]
|
||||
B2 --> B3["👁️ View toggles, GPU cause"]
|
||||
B3 --> B4{"🧪 E2E green?"}
|
||||
B4 -- "🔴 no: fix" --> B1
|
||||
B4 -- "🟢 yes" --> BF{"💬 Operator feedback on screenshots?"}
|
||||
BF -- "✏️ changes" --> B1
|
||||
end
|
||||
BF -- "👍 fits" --> D1["🏁 Review, commit with operator OK, hand-over"]
|
||||
```
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
### Drag and save
|
||||
|
||||
- [ ] Dragging the upper line of CPU from 90 to 85 shows a dashed line at
|
||||
85 and "Save 1 change".
|
||||
- [ ] Save of a tighter value writes `limits.json` without a passkey; a
|
||||
looser one asks once for all staged changes; Discard restores the
|
||||
lines.
|
||||
- [ ] Dragging upper above STOP disables Save and names the line.
|
||||
|
||||
### Menus and tooltips
|
||||
|
||||
- [ ] The Limits menu hides and shows each level's lines; "Matrix…" and a
|
||||
right click open the matrix.
|
||||
- [ ] Each level name and line has a tooltip with its meaning and effect.
|
||||
- [ ] The View menu toggles legend, queue markers, wait bands and limit
|
||||
lines, and the choice survives a reload.
|
||||
|
||||
### GPU cause
|
||||
|
||||
- [ ] `resources.py` keeps the first `nvidia-smi` error line of a failed
|
||||
read in the sample; the unknown span's tooltip shows it.
|
||||
|
||||
### Tests
|
||||
|
||||
- Unit:
|
||||
- [ ] Pixel to value and back, staged change classification (node);
|
||||
`resources.py` error capture.
|
||||
- Integration:
|
||||
- [ ] The limits endpoint takes a batch of staged changes, one passkey
|
||||
proof for the looser ones.
|
||||
- E2E:
|
||||
- [ ] `tests/e2e/test_resource_limits_e2e.py`: drag, stage, save,
|
||||
passkey, order break, menus, right click, tooltips, view toggles,
|
||||
screenshots at 1920, 1366 and 390.
|
||||
Reference in new issue
Block a user