Files
skills/docs/requirements/084-resource-limits-board.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

74 lines
2.7 KiB
Markdown

# 084 - Limits on the Resources Board
## User Story
As the operator, I want to see and set the load limits right on the hardware
charts, so that I steer the queue and the alarms without config files.
## Decisions (operator-confirmed 2026-11-27; do not re-litigate)
Decisions 1 and 2 are replaced by [091](091-limits-on-the-chart.md): the lines
are dragged, and the dial goes.
1. **Lines** (operator): every hardware chart (CPU, RAM, swap, disk, PSI)
shows labelled lines for the lower and upper limit, STOP and MAYDAY from
the limits file of 083, plus a thin line for the live target. Rejected:
dragging the lines (accidental moves, poor on touch).
2. **Click a line, get a dial**: a click opens the generic dial of 075 for
exactly that value.
3. **Profiles**: a switch Calm (band 50 to 70), Balanced (70 to 90) and Max
(80 to 95) sets all limits at once; a Limits sheet lists every value in
one table, each with its dial.
4. **Passkey to loosen** (operator): a tighter value applies at once; a
looser one (higher upper limit, STOP or MAYDAY, or a looser profile)
needs the passkey signature.
## Approach
```mermaid
flowchart TD
subgraph P["🧭 0 · Preparation"]
P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
P2 -- "✏️ corrections" --> P1
end
P2 -- "🤖 yes" --> A1
subgraph A["📊 A · Limits board"]
A1["📏 Lines and live target on the charts"] --> A2["🎚️ Click a line, dial"]
A2 --> A3["🗂️ Profiles and Limits sheet"]
A3 --> A4["🔑 Passkey to loosen"]
A4 --> A5{"🧪 Unit, integration and E2E green?"}
A5 -- "🔴 no: fix" --> A1
A5 -- "🟢 yes" --> AF{"💬 Operator feedback on screenshots?"}
AF -- "✏️ changes" --> A1
end
AF -- "👍 fits" --> D1["🏁 Review, commit with operator OK, hand-over"]
```
## Acceptance Criteria
### Lines and dial
- [ ] Every hardware chart shows its four limit lines and the target line,
each with a label and a tooltip carrying its value.
- [ ] A click on a line opens the dial; a tighter value is saved without a
signature and lands in the limits file of 083.
- [ ] A value that breaks lower < upper < STOP < MAYDAY shows an error and
is not saved.
### Profiles and passkey
- [ ] A profile switch moves every line.
- [ ] A looser value or profile asks for the passkey; a cancel keeps the old
value.
### Tests
- Unit:
- [ ] Order check and the tighter-or-looser classification (node).
- Integration:
- [ ] The hub endpoint refuses a looser value without a passkey proof and
accepts it with one.
- E2E:
- [ ] `tests/e2e/test_resource_limits_e2e.py`: lines, dial, profile switch,
passkey path, screenshots at 1920, 1366 and 390.