Queue controls tab and override, running tasks on the board, stale task prune, release cut, greyed card stamp, commit-tree diff, VS Code path links, expired cards, Match refresh hourglass, field attachments, self-tuning queue admission and the limits board. 🎯 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>
3.2 KiB
3.2 KiB
080 - Expired Cards Stay
User Story
As the operator, I want expired asks and decisions to stay greyed out with a stamp, so that I see what went unanswered and can still answer it.
Decisions (operator-confirmed 2026-11-27; do not re-litigate)
- Kept: an expired ask or decision stays a Match card until the operator
denies it, greyed out, with the
EXPIREDstamp of 077. Hovering the stamp shows a tooltip naming since when the card is expired (operator). - Only Deny: Accept is disabled, because the tool call has already gone back to the terminal. Deny goes through the release card like every rejection. The agent gets "expired before the operator decided" by radio, plus the operator's feedback text.
- Only unrun asks, 24 h (operator): the hub keys each ask by session,
tool and a digest of the tool input (the PermissionRequest hook input
carries no
tool_use_id); an async PostToolUse hook reports each call that ran, and a matching pending ask created before it closes as answered in the terminal and leaves Match. Only an expired ask whose call never ran stays, at most 24 h after its expiry. Rejected: a fixed 1 h window (shows asks already answered in the terminal); every expired ask until denied (2239 undecided asks on 2026-11-27 would flood the deck).
Approach
flowchart TD
subgraph P["🧭 0 · Preparation"]
P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
P2 -- "✏️ corrections" --> P1
end
P2 -- "🤖 yes" --> A1
subgraph A["⌛ A · Expired cards"]
A1["🗂️ Keep expired asks in /api/match"] --> A2["🏷️ EXPIRED stamp with since-when tooltip"]
A2 --> A3["🚫 Accept off, Deny via release card"]
A3 --> A4["📻 Radio note plus feedback"]
A4 --> A5{"🧪 Unit, integration and E2E green?"}
A5 -- "🔴 no: fix" --> A1
A5 -- "🟢 yes" --> AF{"💬 Operator feedback on screenshots?"}
AF -- "✏️ changes" --> A2
end
AF -- "👍 fits" --> D1["🏁 Review, commit with operator OK, hand-over"]
Acceptance Criteria
Card
- An ask or decision past its
expiresis still in/api/matchwithblocked_kind: "expired"and itsexpirestime. - The card shows the
EXPIREDstamp; hovering it shows a tooltip with the expiry time and how long ago it was. - Accept is disabled on the card; Reject works.
- An expired ask whose call ran afterwards (same session, tool and input
digest) is closed as answered in the terminal and is not in
/api/match. - An expired ask more than 24 h past its
expiresis not in/api/match.
Release
- After the release, the agent's radio holds "expired before the operator decided" and the feedback text.
- After the release, the card is gone from
/api/match.
Tests
- Unit:
- The expired filter keeps an expired ask with
blocked_kind: "expired"and drops a decided one.
- The expired filter keeps an expired ask with
- Integration:
- A denied expired card goes through the release and posts the radio note.
- E2E:
tests/e2e/test_match_expired_e2e.py: stamp, tooltip text, Accept disabled, Deny, screenshots at 1920, 1366 and 390.