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,84 @@
|
||||
# 093 - Stale Operator Requests in Stream and Tasks
|
||||
|
||||
## User Story
|
||||
|
||||
As the operator, I want to see the expired, stale and failed requests next
|
||||
to the open ones, each in the view where it matters, and delete many of them
|
||||
at once, so that I clear the backlog in a minute without drowning the live
|
||||
view.
|
||||
|
||||
## Decisions (operator-confirmed 2026-11-27; do not re-litigate)
|
||||
|
||||
1. **All four kinds** (operator): expired asks, expired decisions, stale
|
||||
operator rows and failed or refused rows show besides the open requests.
|
||||
2. **Context split** (operator, option A): the Stream (`#stream`) shows open
|
||||
requests inline and failed or refused rows inline once, as news; expired
|
||||
and stale requests only as one collapsed footer line ("41 stale requests
|
||||
▸" with the count per kind) that opens them in place. Tasks → Operator
|
||||
(`#tasks/operator`) gets the chips Open · Expired · Stale · Failed · All,
|
||||
each with its count. Rejected: one stale group in both views; a separate
|
||||
cleanup sheet.
|
||||
3. **Bulk delete** (operator): every chip, and the opened footer, has a
|
||||
select-all checkbox and "Delete N". Delete dismisses the requests in the
|
||||
hub for every browser; agents get no message. One passkey signature, then
|
||||
the usual undo window.
|
||||
4. **Nothing clipped** (operator): a request in the Stream is never cut off;
|
||||
a long command box scrolls inside instead of hiding its rest. Found
|
||||
2026-11-27: `.code-box[data-open="false"] > .code-body` capped 12 lines
|
||||
with `overflow: hidden`.
|
||||
|
||||
## Approach
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
subgraph P["🧭 0 · Preparation"]
|
||||
P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
|
||||
P2 -- "✏️ corrections" --> P1
|
||||
end
|
||||
P2 -- "🤖 yes" --> A1
|
||||
subgraph A["🗂️ A · Views"]
|
||||
A1["✂️ Code box scrolls instead of clipping"] --> A2["📰 Stream: failed inline, stale footer"]
|
||||
A2 --> A3["🏷️ Tasks → Operator: status chips with counts"]
|
||||
A3 --> A4{"🧪 Tests green?"}
|
||||
A4 -- "🔴 no: fix" --> A1
|
||||
end
|
||||
A4 -- "🟢 yes" --> B1
|
||||
subgraph B["🗑️ B · Bulk delete"]
|
||||
B1["☑️ Select all and Delete N"] --> B2["🔑 Signed dismiss with undo"]
|
||||
B2 --> B3{"🧪 Unit, integration and E2E green?"}
|
||||
B3 -- "🔴 no: fix" --> B1
|
||||
B3 -- "🟢 yes" --> BF{"💬 Operator feedback on screenshots?"}
|
||||
BF -- "✏️ changes" --> A1
|
||||
end
|
||||
BF -- "👍 fits" --> D1["🏁 Review, commit with operator OK, hand-over"]
|
||||
```
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
### Views
|
||||
|
||||
- [ ] A Stream request with a 40-line command shows every line by scrolling
|
||||
inside its box; no element of the request is hidden.
|
||||
- [ ] A failed operator row appears once inline in the Stream; expired and
|
||||
stale requests appear only behind the footer line, which names the
|
||||
count per kind.
|
||||
- [ ] Tasks → Operator shows the five chips with counts; each chip lists
|
||||
exactly its kind.
|
||||
|
||||
### Bulk delete
|
||||
|
||||
- [ ] Select all plus "Delete N" on the Expired chip dismisses every expired
|
||||
request after one passkey signature; they are gone in a second browser.
|
||||
- [ ] Undo within the window brings them back.
|
||||
- [ ] An open request is never deleted by a chip other than Open or All.
|
||||
|
||||
### Tests
|
||||
|
||||
- Unit:
|
||||
- [ ] Kind classification of a request (open, expired, stale, failed).
|
||||
- Integration:
|
||||
- [ ] The signed dismiss endpoint takes a list of requests, refuses an
|
||||
unsigned call, and the undo restores them.
|
||||
- E2E:
|
||||
- [ ] `tests/e2e/test_stale_requests_e2e.py`: footer line, chips and
|
||||
counts, select all, delete, undo, unclipped long command.
|
||||
Reference in new issue
Block a user