Files
skills/docs/requirements/039-match-rejects-survive.md
T
Kevin Veen-BirkenbachandClaude Opus 5.5 0fad1bfae3 feat: hub and skills requirements 032 to 063
Hub: send in the field (032), coherent speak box (033), stream head band (034), Match at full width with its pile (035, 036), Home without the outer box (037), badge to Match (038), rejects that survive a changed or withdrawn card (039), the release card (040), code marks in the review diff (041), why Deny is off (042), the undo window clock (043), widgets without inner boxes (044), the Artifacts head on one line (045), accepting a red gate's risk (046), one code box (047), done rows greyed and folded (048), one control height (049), menus that stay open (050), radio settings in the Device card (051), bubbles beside the modes (052), agent settings on every face and name (053), pin only by menu (054), WASD in Match (055), the flowing card edge (056), Schedules in Controls (057) and the hub poll cost (059).

Skills: the coach leaves for its own repository kevinveenbirkenbach/coach (058; test_install pins its four skills in skills-lock.json and stays red until that repository is published and pinned), hooks and timers start fewer processes (060), council files on hot paths stay bounded and mirror by marker instead of mtime (061), scripts and hooks hand agents less output (062), and block.py builds the commit table and message block in one run (063). Requirement documents 032 to 063 with their implementation amendments.

MEDUSA false positives accepted after kvb-think-criticize (36 lines): MM-SCAN-058 (pla inside replace or plan), JB-SCAN-616/641 (the local clip helper), CODEGEN-SCAN-001 (drop-in paths), CGS-SCAN-029 (systemctl argv from constants), CGS-SCAN-040 (runner poll loop), FLA-SCAN-055 (feedback), WM-SCAN-354, AI-BACKDOOR-006, GENAI-SCAN-1270, B604 (runner shell path for passkey-verified commands), TC004, EXA002, EXA006, EXA010 and WEB-SSRF.

🎯 Fix: 92 %
💥 Break: 8 %
💸 Tokens: 89 %
⏱️ Velocity: –
🛡️ Security: ~100 %
🏆 Score: 95
🚦 Gate: ⛔ break 8 % > 5

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 08:44:15 +00:00

63 lines
2.4 KiB
Markdown

# 039 - Match Rejects Survive
## User Story
As the operator, I want a reject I swiped to stay until the release even
when the agent changes or withdraws the card, so that my feedback always
reaches the agent.
## Decisions (operator-confirmed 2026-11-25; do not re-litigate)
1. **Key**: a reject is kept by card id, not by `id@hash`; an accept stays
bound to the exact hash, because it signs that tree. Rejected: dropping
the reject visibly with a toast, which loses the feedback.
2. **Changed card**: the release card shows such a reject with the note
"card changed since your reject"; the feedback goes out unchanged.
3. **Withdrawn card**: a reject whose card is gone is still sent at the
release, by radio call to the card's agent with title and feedback; the
card data needed for that is kept when the reject is made.
4. **Accept on a changed card**: dropped as today, but a toast names the
card ("changed since your accept: decide it again").
## Approach
```mermaid
flowchart TD
subgraph P["🧭 0 · Preparation"]
P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
P2 -- "✏️ corrections" --> P1
end
P2 -- "🤖 yes" --> A1
subgraph A["🛠️ A · Rejects survive"]
A1["🔑 Reject keyed by id, accept by id@hash"] --> A2["🏷️ Changed note, withdrawn call"]
A2 --> A3["✍️ E2E test written"]
end
A3 --> C1
subgraph C["🧪 C · All of 039 to 046"]
C1["🧪 All tests once"] --> C2{"🟢 Green?"}
C2 -- "🔴 no: fix" --> C1
C2 -- "🟢 yes" --> CF{"💬 Operator feedback on screenshots?"}
CF -- "✏️ changes" --> A1
end
CF -- "👍 fits" --> D1["🏁 Review, commit with operator OK, hand-over"]
```
## Acceptance Criteria
### Rejects
- [ ] Reject card X, then serve X with a new hash: the release card still
lists X as rejected with the note "card changed since your reject".
- [ ] Reject card X, then serve a list without X: the release sends exactly
one radio call to X's agent containing X's title and the feedback.
- [ ] Accept card X, then serve X with a new hash: the decision is gone and
one toast names X.
### Tests
- [ ] Unit: n/a: the decision logic lives in page JS without a unit harness;
E2E covers it.
- [ ] Integration: n/a: no server change.
- [ ] E2E: the three cases above against a mocked `/api/match`, the radio
call captured on `/api/radio`.