095 compact agent message box, 096 silent reject of expired Match cards, 097 Match show filter in the right-click menu, 098 docked speech bubbles with avatar and skip, 099 Match card headline capped at 120 characters. 094 gains the live test result, the 5 s close criterion and decision 6: closes are bound to a per-session closer token. README describes the 094 hook protocol and the uncapped prune list. 🎯 Fix: 97 % 💥 Break: 1 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 96 🚦 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>
2.5 KiB
2.5 KiB
097 - Match Show Filter in the Right-Click Menu
User Story
As the operator, I want to choose in Match's right-click menu which card kinds and states the deck shows, so that I work through one kind at a time.
Decisions (operator-confirmed 2026-11-27; do not re-litigate)
- Kinds and states (operator): a right click in Match (outside code rows, where 078 line comments keep their own menu) opens the context menu with a "Show" section: checkboxes Commit, Command, Ask, Decision, Rule, then Expired, Stale and Greyed (running, queued, blocked), each with its current count, and "Show all". Rejected: kinds only; saved profiles; chips in the header.
- Per browser: the choice is remembered in this browser and survives a reload.
- Hidden, not gone: hidden cards stay in the hub and on the release card if already decided; the deck header reads "N hidden" next to the card count, and a click on it reopens the menu.
- Never an empty trap: when every card is hidden, the empty state says "All N cards hidden by the Show filter" with a "Show all" button.
Approach
flowchart TD
subgraph P["🧭 0 · Preparation"]
P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
P2 -- "✏️ corrections" --> P1
end
P2 -- "🤖 yes" --> A1
subgraph A["👁️ A · Show filter"]
A1["☑️ Show section in the context menu"] --> A2["🔢 Counts, N hidden, Show all"]
A2 --> A3{"🧪 Unit 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
Menu
- A right click on the Match deck outside code rows shows the Show section with eight checkboxes and their counts.
- A right click on a code row still opens its line comment (078).
Filter
- Unticking Ask removes every Ask card from the deck and the header reads "N hidden"; a reload keeps it.
- With all cards hidden the empty state names the count and "Show all" restores every card.
- A decided card that gets hidden stays on the release card.
Tests
- Unit:
- The filter over kinds and states, the counts and "N hidden" (node).
- Integration:
- n/a: no server change.
- E2E:
tests/e2e/test_match_show_filter_e2e.py: menu, untick, header count, reload, all hidden, Show all, code row comment still works.