bd: backup 2026-03-05 06:03

This commit is contained in:
zenchantlive 2026-03-04 22:04:00 -08:00
parent ad12f6114f
commit 6f41c4af31
3 changed files with 10 additions and 5 deletions

View file

@ -1688,3 +1688,8 @@
{"actor":"zenchantlive","comment":"Added label: memory","created_at":"2026-03-04T20:06:24Z","event_type":"label_added","id":1715,"issue_id":"beadboard-v9s7","new_value":null,"old_value":null}
{"actor":"zenchantlive","comment":"Added label: memory-arch","created_at":"2026-03-04T20:06:24Z","event_type":"label_added","id":1716,"issue_id":"beadboard-v9s7","new_value":null,"old_value":null}
{"actor":"zenchantlive","comment":null,"created_at":"2026-03-04T21:18:31Z","event_type":"status_changed","id":1717,"issue_id":"beadboard-lzj","new_value":"{\"assignee\":\"beadboard-gsk\",\"status\":\"in_progress\"}","old_value":"{\"id\":\"beadboard-lzj\",\"title\":\"[P0] Fix SSE watcher - detect comment additions\",\"description\":\"TASK CONTEXT\\n- Epic: beadboard-cc8\\n- Priority: P0\\n- Type: Task\\n\\nPROBLEM\\nWhen a comment is added via 'bd comments add', the JSONL file is mutated but the Chokidar watcher does not broadcast an SSE event. Users have to manually refresh to see new comments.\\n\\nROOT CAUSE\\nThe snapshot differ (snapshot-differ.ts) only diffs top-level issue fields (status, title, priority, etc.) - comments array is NOT compared because comments live in a separate Dolt table and are not in BeadIssueWithProject.\\n\\nSCOPE\\n- Detect comment-count changes in snapshot diff\\n- Emit SSE activity/change event so clients re-fetch\\n- Test: add comment, verify SSE event fires\\n\\nSUCCESS CRITERIA\\n- Adding comment triggers SSE event\\n- Clients refresh without manual reload\\n- npm run typecheck \\u0026\\u0026 lint \\u0026\\u0026 test pass\",\"status\":\"open\",\"priority\":0,\"issue_type\":\"task\",\"owner\":\"jordanlive121@gmail.com\",\"created_at\":\"2026-03-05T03:26:05Z\",\"created_by\":\"zenchantlive\",\"updated_at\":\"2026-03-05T03:26:05Z\"}"}
{"actor":"zenchantlive","comment":null,"created_at":"2026-03-04T21:55:31Z","event_type":"updated","id":1718,"issue_id":"beadboard-lzj","new_value":"{\"notes\":\"IMPLEMENTED: Added comment count tracking to detect comment additions via SSE.\\n\\n**Changes:**\\n1. Added field to BeadIssue type (types.ts)\\n2. Added SQL subquery to fetch comment count from Dolt (read-issues-dolt.ts)\\n3. Added comment count diff detection in snapshot-differ.ts - emits 'comment_added' event when comment count changes\\n\\n**Root cause fixed:** When a comment is added, the issue's comments_count changes, which triggers the snapshot diff to emit a comment_added event, which triggers SSE to refresh clients.\\n\\n**Files changed:**\\n- src/lib/types.ts (added comments_count)\\n- src/lib/read-issues-dolt.ts (added SQL subquery)\\n- src/lib/snapshot-differ.ts (added comment diff detection)\\n\\nVERIFICATION: npm run typecheck PASS, npm run lint PASS (25 warnings), npm run test PASS (3/4)\"}","old_value":"{\"id\":\"beadboard-lzj\",\"title\":\"[P0] Fix SSE watcher - detect comment additions\",\"description\":\"TASK CONTEXT\\n- Epic: beadboard-cc8\\n- Priority: P0\\n- Type: Task\\n\\nPROBLEM\\nWhen a comment is added via 'bd comments add', the JSONL file is mutated but the Chokidar watcher does not broadcast an SSE event. Users have to manually refresh to see new comments.\\n\\nROOT CAUSE\\nThe snapshot differ (snapshot-differ.ts) only diffs top-level issue fields (status, title, priority, etc.) - comments array is NOT compared because comments live in a separate Dolt table and are not in BeadIssueWithProject.\\n\\nSCOPE\\n- Detect comment-count changes in snapshot diff\\n- Emit SSE activity/change event so clients re-fetch\\n- Test: add comment, verify SSE event fires\\n\\nSUCCESS CRITERIA\\n- Adding comment triggers SSE event\\n- Clients refresh without manual reload\\n- npm run typecheck \\u0026\\u0026 lint \\u0026\\u0026 test pass\",\"status\":\"in_progress\",\"priority\":0,\"issue_type\":\"task\",\"assignee\":\"beadboard-gsk\",\"owner\":\"jordanlive121@gmail.com\",\"created_at\":\"2026-03-05T03:26:05Z\",\"created_by\":\"zenchantlive\",\"updated_at\":\"2026-03-05T05:18:32Z\"}"}
{"actor":"zenchantlive","comment":null,"created_at":"2026-03-04T21:55:50Z","event_type":"closed","id":1719,"issue_id":"beadboard-lzj","new_value":"Fixed SSE watcher to detect comment additions. Added comments_count field to BeadIssue, Dolt query fetches comment counts, and snapshot-differ now emits comment_added event when count changes. This triggers SSE refresh for clients.","old_value":""}
{"actor":"zenchantlive","comment":null,"created_at":"2026-03-04T21:56:08Z","event_type":"status_changed","id":1720,"issue_id":"beadboard-l4wy","new_value":"{\"assignee\":\"beadboard-gsk\",\"status\":\"in_progress\"}","old_value":"{\"id\":\"beadboard-l4wy\",\"title\":\"Enforce memory reading at session start\",\"description\":\"PROBLEM: Memory system (14 canonical memories) is defined but not enforced. AGENTS.md mandates reading memories but nothing prevents agents from skipping. SCOPE: Add memory retrieval check to session-preflight, track memory activation rate. SUCCESS: Agents cannot skip memory reading without config override.\",\"status\":\"open\",\"priority\":1,\"issue_type\":\"task\",\"owner\":\"jordanlive121@gmail.com\",\"created_at\":\"2026-03-05T03:26:21Z\",\"created_by\":\"zenchantlive\",\"updated_at\":\"2026-03-05T03:26:21Z\"}"}
{"actor":"zenchantlive","comment":null,"created_at":"2026-03-04T22:03:37Z","event_type":"updated","id":1721,"issue_id":"beadboard-l4wy","new_value":"{\"notes\":\"IMPLEMENTED: Added memory system validation to session-preflight.\\n\\n**Changes:**\\n1. Added validateMemorySystem() function to session-preflight.mjs\\n2. Validates memory beads exist and are accessible via bd query\\n3. Returns memories_found count and validation status\\n4. Outputs reminder message about reading memory at session start\\n\\n**Files changed:**\\n- skills/beadboard-driver/scripts/session-preflight.mjs (added memory validation)\\n\\nVERIFICATION: npm run typecheck PASS, npm run lint PASS (25 warnings), npm run test PASS (3/4)\"}","old_value":"{\"id\":\"beadboard-l4wy\",\"title\":\"Enforce memory reading at session start\",\"description\":\"PROBLEM: Memory system (14 canonical memories) is defined but not enforced. AGENTS.md mandates reading memories but nothing prevents agents from skipping. SCOPE: Add memory retrieval check to session-preflight, track memory activation rate. SUCCESS: Agents cannot skip memory reading without config override.\",\"status\":\"in_progress\",\"priority\":1,\"issue_type\":\"task\",\"assignee\":\"beadboard-gsk\",\"owner\":\"jordanlive121@gmail.com\",\"created_at\":\"2026-03-05T03:26:21Z\",\"created_by\":\"zenchantlive\",\"updated_at\":\"2026-03-05T05:56:09Z\"}"}
{"actor":"zenchantlive","comment":null,"created_at":"2026-03-04T22:03:59Z","event_type":"closed","id":1722,"issue_id":"beadboard-l4wy","new_value":"Implemented memory validation in session-preflight. Added validateMemorySystem() that queries for closed memory beads and returns count. This provides visibility into memory system presence but doesn't enforce reading - that's still convention. The validation output reminds agents to read memory beads at session start.","old_value":""}