Gated Morning Review
repo: ~/Projects/gated-morning-review · 11 commits · 0 in last 24h, 0 in last 7d ·
Authors
- steve8
- Steve2
- auto-commit-fleet1
Skills used
- /superseded1
- /no-op1
- /ungate1
- /decisions1
- /marked1
- /claude1
- /code1
- /items1
- /stale1
- /cons1
Creative ideas + design notes
Commits with substantial prose (≥120 chars) — the rationale behind each move.
90c548f · 2026-09-16 · TK-11801: gate the 03:00 sweep on ticket status so open-ticket memos aren't auto-hidden
Root cause: lib.mjs disposition was (staleSig || age>25d) -> STALE -> _done/, a
prose regex on the memo body with NO ticket-status check, so a memo whose body
merely mentioned resolved/superseded/no-op/✅ for a still-[blocked]/[doing] ticket
got filed out of the only dir the approval viewers read (28 memos on 2026-09-15,
9 of them blocked incl. TK-11089/TK-11738).
Fix (approved memo 2026-09-15-TK-11801):
1. staleSig auto-close now requires the ticket to be NOT [blocked]/[doing]
(openTicketStatuses() from tk list) OR an explicit whole-memo STATUS: DONE marker.
2. age>25d -> new HELD disposition -> _held/ (still visible to the canary + /ungate),
not _done/. Holding is not approving.
3. Every auto-close logged to data/decisions.jsonl (file+ticket+status+reason) and
listed in the morning digest (auto_closed_list/held_list) so a mis-close is visible.
4. Negative test test-tk11801.mjs (GMR_QDIR/GMR_TK_STATUS_JSON seams): open-ticket
'resolved' memo stays DECIDE, done/marked memo closes. 5/5 pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016ZZC8iXKjWYHEbypyf3j7f
e3a8b5e · 2026-08-20 · morning-review: dedupe queue — hide tasks that duplicate a gated memo, badge sibling memos as 'step N of M'
- scanTasks(limit, excludeTkNums): drop any tk task whose TK# already has a gated memo card (they were the same work shown twice — 28 phantom dups)
- scanQueue: tag multi-file tickets with siblingIndex/siblingCount so related memos read as intentional steps
- server: wire gatedTicketNums() into the render + /api/items; add 'step N of M' badge
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
File tree
8 files tracked. Click any to browse the source at HEAD.
rendered in 0ms