diff --git a/.beads/issues.jsonl b/.beads/issues.jsonl index 7f70422..9187611 100644 --- a/.beads/issues.jsonl +++ b/.beads/issues.jsonl @@ -5,6 +5,7 @@ {"id":"skills-0og","title":"spec-review: Define output capture and audit trail","description":"Reviews happen in terminal then disappear. No audit trail, no diffable history.\n\nAdd:\n- Guidance to tee output to review file (e.g., specs/{branch}/review.md)\n- Standard location for gate check results\n- Template for recording decisions and rationale","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-15T00:23:23.705164812-08:00","updated_at":"2025-12-15T13:02:32.313084337-08:00","closed_at":"2025-12-15T13:02:32.313084337-08:00"} {"id":"skills-0tk","title":"Evaluate: jwz for transient agent state","description":"Evaluate jwz as complement to beads for agent coordination.\n\n## Current Understanding\n- beads: persistent issues (multi-session, dependencies)\n- jwz: transient messages (session coordination, async)\n\n## Questions to Answer\n1. Does jwz add value beyond what beads provides?\n2. Is the Zig dependency acceptable?\n3. Can we achieve same with simpler file-based approach?\n4. How does jwz handle multi-repo coordination?\n\n## Evaluation Criteria\n- Complexity vs benefit\n- Cross-agent compatibility\n- Git integration quality\n- Maintenance burden\n\n## Deliverable\nRecommendation: adopt jwz, build alternative, or extend beads","status":"open","priority":3,"issue_type":"task","created_at":"2026-01-09T19:01:44.672000734-08:00","created_by":"dan","updated_at":"2026-01-09T19:01:44.672000734-08:00"} {"id":"skills-0u9","title":"Consolidate: Merge overlapping cross-agent design tasks","description":"Merge overlapping research/design tasks into coherent work items.\n\n## Current Overlap\n- skills-3gk: Research: Cross-agent hook alternatives\n- skills-3ja: Design: Cross-agent quality gate architecture \n- skills-thk: Design: Hybrid hook + gate architecture\n- skills-6fu: Research: State management for cross-agent workflows\n\nThese all touch the same problem space.\n\n## Proposed Consolidation\n1. Close overlapping tasks with \"consolidated\" reason\n2. Create single \"Design: Cross-agent enforcement architecture\" task\n3. Update epic description to reference consolidated task\n\n## Deliverable\nClean task list with no duplication","status":"closed","priority":2,"issue_type":"task","created_at":"2026-01-09T19:32:57.364887317-08:00","created_by":"dan","updated_at":"2026-01-09T19:33:42.464968954-08:00","closed_at":"2026-01-09T19:33:42.464968954-08:00","close_reason":"Created skills-8sj, closed 4 overlapping tasks"} +{"id":"skills-0vec","title":"ui-query: consider extracting state extraction helper","status":"open","priority":4,"issue_type":"task","owner":"dan@delpad","created_at":"2026-01-15T14:22:04.663482444-08:00","created_by":"dan","updated_at":"2026-01-15T14:22:04.663482444-08:00"} {"id":"skills-0wk","title":"Fix predictable ID generation in genOid()","description":"[SECURITY] HIGH db.nim:14-18 - genOid() uses rand(25) without randomize() call. IDs are predictable/deterministic. Add randomize() at module init or use std/sysrand for crypto-safe IDs.","status":"closed","priority":1,"issue_type":"bug","created_at":"2026-01-10T18:52:35.120227893-08:00","created_by":"dan","updated_at":"2026-01-10T20:24:36.546618405-08:00","closed_at":"2026-01-10T20:24:36.546618405-08:00","close_reason":"Fixed: genOid() now uses std/sysrand for cryptographically secure random IDs"} {"id":"skills-0y9","title":"Design: Structured task specs (requirements/design/tasks)","description":"Adopt spec-driven development pattern from Kiro/Tessl/GitHub Spec Kit. Each task should have: requirements.md (what), design.md (how), tasks.md (decomposed steps). Agents work from specs not vague prompts. Specs are versioned; agents echo which version they used. Prevents state divergence and 'different reality' footgun.","status":"open","priority":2,"issue_type":"task","created_at":"2026-01-10T15:40:59.99198595-08:00","created_by":"dan","updated_at":"2026-01-10T15:40:59.99198595-08:00","dependencies":[{"issue_id":"skills-0y9","depends_on_id":"skills-s6y","type":"blocks","created_at":"2026-01-10T15:41:00.005934153-08:00","created_by":"dan"}]} {"id":"skills-16zf","title":"Check for symlinks before reading context file","description":"[SECURITY] MED context.nim:21,31 - readFile follows symlinks, could read arbitrary files if .worker-ctx.json is symlinked. Check that path is regular file before reading.","status":"closed","priority":2,"issue_type":"bug","created_at":"2026-01-10T20:10:03.403878355-08:00","created_by":"dan","updated_at":"2026-01-10T20:55:02.344845949-08:00","closed_at":"2026-01-10T20:55:02.344845949-08:00","close_reason":"P2 bugs fixed"} @@ -66,6 +67,7 @@ {"id":"skills-6jw","title":"spec-review: Add severity labeling to prompts and reviews","description":"Reviews produce flat lists mixing blockers with minor nits. Hard to make decisions.\n\nAdd to prompts:\n- Require severity labels: Blocker / High / Medium / Low\n- Sort output by severity\n- Include impact and likelihood for each issue","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-15T00:23:23.334156366-08:00","updated_at":"2025-12-15T13:00:32.678573181-08:00","closed_at":"2025-12-15T13:00:32.678573181-08:00"} {"id":"skills-6n4u","title":"Spike: manually test Claude in worker context","description":"Simple experiment - no harness, no automation.\n\n## Goal\nLearn what happens when Claude tries to complete a task using the worker system.\n\n## Steps\n1. Set up a simple fixture (python-math-lib exists)\n2. worker spawn test-spike\n3. cd into worktree\n4. Invoke Claude with task: \"Add a factorial function to src/math_utils.py\"\n5. Include system context about worker commands (start, done, heartbeat)\n6. Watch what happens\n\n## Observe\n- Does Claude understand the worker flow?\n- Does it run worker start / worker done correctly?\n- Does it complete the task?\n- How many turns? What goes wrong?\n- What prompting helps?\n\n## Output\nNotes on what worked, what didn't, what's needed.\nInform whether we need the full harness or something simpler.","status":"closed","priority":2,"issue_type":"task","created_at":"2026-01-11T16:38:49.022489161-08:00","created_by":"dan","updated_at":"2026-01-11T19:15:47.037731412-08:00","closed_at":"2026-01-11T19:15:47.037731412-08:00","close_reason":"Spike completed successfully.\n\nObservations:\n1. Worker flow works: spawn → start → work → done → approve → merge\n2. Found and fixed bug: relative worktree paths (skills-5ry7)\n3. Claude (me) completed the task using worker CLI without special prompting\n4. ~7 tool calls to complete simple task\n5. Test script needed sqlite3 in PATH - added check\n\nThe worker system is functional for basic agent tasks."} {"id":"skills-6ppz","title":"HQ: Dependency deadlocks and task scoping","description":"**Raised by:** flash-or, gpt\n\n**Problem:**\nReal-world coding is rarely perfectly modular. Worker A adds DB field, Worker B needs that field. bd ready is too simple - doesn't detect partial dependencies or cross-cutting changes.\n\n**flash-or:**\n\u003e \"Deadlocks. 'bd ready' is too simple a check. Implement a 'Blocks/Blocked By' metadata in bd. HQ needs to be able to pause Worker B's spawn until Worker A's merge is complete.\"\n\n**gpt:**\n\u003e \"How to split a too-big issue into smaller ones (and who does it). How to handle cross-cutting changes that touch multiple tasks (and merge ordering). Add a 'triage \u0026 slicing' step before spawning.\"\n\n**Suggested fixes:**\n1. Better dependency modeling in bd (partial deps)\n2. Triage \u0026 slicing step before spawn\n3. \"mutex areas\" for shared modules/config\n4. Conflict prediction (recent churn/hot files)\n5. Architectural guardrails for risky areas","status":"open","priority":3,"issue_type":"task","created_at":"2026-01-12T09:25:49.315978432-08:00","created_by":"dan","updated_at":"2026-01-12T09:25:49.315978432-08:00"} +{"id":"skills-6qfe","title":"ui-query: fix argument quoting in wrapper script","status":"open","priority":3,"issue_type":"bug","owner":"dan@delpad","created_at":"2026-01-15T14:22:04.428356834-08:00","created_by":"dan","updated_at":"2026-01-15T14:22:04.428356834-08:00"} {"id":"skills-6x1","title":"Epic: emes plugin architecture alignment","description":"Convert skills to emes-style plugin architecture for portability across Claude Code, Gemini, and VPS deployment (ops-jrz1).\n\n**emes tools (evil-mind-evil-sword org):**\n- tissue: Git-native issue tracking (machine-first)\n- idle: Quality gate (blocks exit until reviewer approves)\n- jwz: Async messaging with identity/git context\n- marketplace: Plugin distribution registry\n\n**Conversion work:**\n1. Add .claude-plugin/plugin.json to each skill\n2. Restructure: SKILL.md → skills/\u003cname\u003e.md (auto-discovery)\n3. Add hooks/ where applicable (quality gates)\n4. Create marketplace.json registry\n5. Test with ops-jrz1 deployment\n\n**Key principles from emes:**\n- Pull context on-demand (not big upfront injections)\n- Mechanical enforcement via hooks (not prompts)\n- References over inline content\n- Machine-first interfaces (JSON output)\n\n**Candidates for conversion:**\n- orch (simple CLI wrapper)\n- worklog (scripts + templates)\n- code-review (has lenses, might want hooks)\n- ops-review (same pattern)","status":"closed","priority":2,"issue_type":"epic","created_at":"2026-01-09T10:59:12.291560832-08:00","created_by":"dan","updated_at":"2026-01-09T17:14:41.429380141-08:00","closed_at":"2026-01-09T17:14:41.429380141-08:00","close_reason":"Dual-publish complete. Ongoing cross-agent work continues under skills-hf1"} {"id":"skills-73yu","title":"Validate taskId to prevent path traversal and command injection","description":"[SECURITY] HIGH git.nim:36,37,53,59,89 - taskId used unsanitized in branch names and file paths. If taskId contains '../' or shell metacharacters, could escape worktree dir. Validate taskId matches safe pattern (alphanumeric + dash/underscore only).","status":"closed","priority":1,"issue_type":"bug","created_at":"2026-01-10T19:52:13.24918965-08:00","created_by":"dan","updated_at":"2026-01-10T20:32:28.374723485-08:00","closed_at":"2026-01-10T20:32:28.374723485-08:00","close_reason":"Created utils.nim with common helpers"} {"id":"skills-7a00","title":"Add LLM-as-judge verification","description":"Use an LLM to evaluate task completion quality.\n\nComponents:\n- Judge prompt template\n- Rubric format (list of criteria)\n- Scoring mechanism (0-1 per criterion, aggregate)\n- Model selection (haiku for cost, sonnet for quality)\n\nShould take: task description, rubric, code diff/result\nShould output: score, reasoning, pass/fail per criterion","status":"closed","priority":3,"issue_type":"task","created_at":"2026-01-11T16:19:45.933759107-08:00","created_by":"dan","updated_at":"2026-01-11T16:38:26.564395054-08:00","closed_at":"2026-01-11T16:38:26.564395054-08:00","close_reason":"Pausing - need to validate approach with simpler spike first","dependencies":[{"issue_id":"skills-7a00","depends_on_id":"skills-y0p0","type":"blocks","created_at":"2026-01-11T16:20:20.700175136-08:00","created_by":"dan"}]} @@ -74,6 +76,7 @@ {"id":"skills-7s0","title":"Compare STATIC_DATA.md with upstream","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-03T20:15:55.193704589-08:00","updated_at":"2025-12-03T20:19:29.659256809-08:00","closed_at":"2025-12-03T20:19:29.659256809-08:00","dependencies":[{"issue_id":"skills-7s0","depends_on_id":"skills-ebh","type":"discovered-from","created_at":"2025-12-03T20:15:55.195160705-08:00","created_by":"daemon","metadata":"{}"}]} {"id":"skills-7sh","title":"Set up bd-issue-tracking Claude Code skill from beads repo","description":"Install the beads Claude Code skill from https://github.com/steveyegge/beads/tree/main/examples/claude-code-skill\n\nThis skill teaches Claude how to effectively use beads for issue tracking across multi-session coding workflows. It provides strategic guidance on when/how to use beads, not just command syntax.\n\nFiles to install to ~/.claude/skills/bd-issue-tracking/:\n- SKILL.md - Core workflow patterns and decision criteria\n- BOUNDARIES.md - When to use beads vs markdown alternatives\n- CLI_REFERENCE.md - Complete command documentation\n- DEPENDENCIES.md - Relationship types and patterns\n- WORKFLOWS.md - Step-by-step procedures\n- ISSUE_CREATION.md - Quality guidelines\n- RESUMABILITY.md - Making work resumable across sessions\n- STATIC_DATA.md - Using beads as reference databases\n\nCan symlink or copy the files. Restart Claude Code after install.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-03T17:53:43.254007992-08:00","updated_at":"2025-12-03T20:04:53.416579381-08:00","closed_at":"2025-12-03T20:04:53.416579381-08:00"} {"id":"skills-827e","title":"Verify getBranchStatus() usage or remove","description":"[DEAD] LOW git.nim:130-143 - getBranchStatus() may be unused. Verify usage across codebase, delete if unused.","status":"closed","priority":4,"issue_type":"task","created_at":"2026-01-10T19:52:14.081128399-08:00","created_by":"dan","updated_at":"2026-01-11T15:46:39.036708173-08:00","closed_at":"2026-01-11T15:46:39.036708173-08:00","close_reason":"Closed"} +{"id":"skills-85au","title":"ui-query: improve exception handling (avoid bare except pass)","status":"open","priority":2,"issue_type":"task","owner":"dan@delpad","created_at":"2026-01-15T14:22:04.212145461-08:00","created_by":"dan","updated_at":"2026-01-15T14:22:04.212145461-08:00"} {"id":"skills-8ak","title":"Evaluate: Git bundle checkpoints (SkillFS pattern)","description":"SkillFS pattern: every agent sandbox is a git repo. Session ends → git bundle stored. New session → restore from bundle, continue where left off. Provides: persistence across sessions, full audit trail via git log, crash recovery. Evaluate if this fits our architecture or if worktrees are sufficient. See github.com/mupt-ai/skillfs","status":"open","priority":3,"issue_type":"task","created_at":"2026-01-10T15:41:00.52226419-08:00","created_by":"dan","updated_at":"2026-01-10T15:41:00.52226419-08:00","dependencies":[{"issue_id":"skills-8ak","depends_on_id":"skills-s6y","type":"blocks","created_at":"2026-01-10T15:41:00.523166841-08:00","created_by":"dan"}]} {"id":"skills-8bi","title":"Add error context to createDir/openDatabase in openBusDb","description":"[ERROR] LOW db.nim:97-98 - createDir and openDatabase can fail with unclear exceptions. Consider wrapping with context for permission errors, disk full, etc.","status":"closed","priority":4,"issue_type":"task","created_at":"2026-01-10T18:52:42.971958929-08:00","created_by":"dan","updated_at":"2026-01-10T20:37:04.757710493-08:00","closed_at":"2026-01-10T20:37:04.757710493-08:00","close_reason":"Implemented consistent error handling strategy"} {"id":"skills-8cc","title":"Remove dead code: unused ARGS variable","description":"File: .specify/scripts/bash/create-new-feature.sh\n\nLine 8: ARGS=() declared but never used\nLine 251: export SPECIFY_FEATURE - unclear if used downstream\n\nFix:\n- Remove unused ARGS declaration\n- Verify SPECIFY_FEATURE is used or remove\n\nSeverity: LOW","status":"closed","priority":4,"issue_type":"task","created_at":"2025-12-24T02:50:59.332192076-05:00","updated_at":"2025-12-29T18:38:03.48883384-05:00","closed_at":"2025-12-29T18:38:03.48883384-05:00","close_reason":"Invalid: ARGS is used (line 58, 64). SPECIFY_FEATURE is used by common.sh for feature detection. No dead code."} @@ -142,6 +145,7 @@ {"id":"skills-dtk","title":"Consolidate isStale() and staleLevel() logic","description":"[SMELL] MED state.nim:214-223,225-241 - Both compute heartbeat age with overlapping checks. Have isStale() call staleLevel() \\!= 'ok', or extract shared ageStatus() helper.","status":"closed","priority":2,"issue_type":"task","created_at":"2026-01-10T19:49:51.730374503-08:00","created_by":"dan","updated_at":"2026-01-11T15:38:00.466085606-08:00","closed_at":"2026-01-11T15:38:00.466085606-08:00","close_reason":"Closed"} {"id":"skills-du0a","title":"HQ: Structured communication templates","description":"**Raised by:** gpt (primary), gemini\n\n**Problem:**\nBD comments as message bus lacks structure. Questions/answers get buried. No threading. No way to signal \"requires HQ decision\" vs \"FYI\". No attachments/artifacts.\n\n**gpt:**\n\u003e \"Require periodic worker 'state summaries' in a fixed schema (Summary / Risks / Next / Questions / Diffstat). Have HQ post a running 'Decision Log' comment for traceability.\"\n\n**Suggested templates:**\n\n**HQ kickoff comment:**\n- Scope (in/out)\n- Acceptance criteria bullets\n- Required checks (tests/lint/typecheck)\n- Risk areas / files\n- \"Ask before changing X\"\n\n**Worker update (every heartbeat):**\n- What changed\n- What's next\n- Blockers/questions\n- Commands run + results\n- Link to diff/commits\n\n**Suggested fixes:**\n1. Kickoff template posted by HQ\n2. Periodic state summary schema for workers\n3. Decision log comment (edited/superseding)\n4. \"Latest instruction\" pinning","status":"open","priority":2,"issue_type":"task","created_at":"2026-01-12T09:23:26.910596266-08:00","created_by":"dan","updated_at":"2026-01-12T09:23:26.910596266-08:00"} {"id":"skills-e8h","title":"Investigate waybar + niri integration improvements","description":"Look into waybar configuration and niri compositor integration.\n\nPotential areas:\n- Waybar modules for niri workspaces\n- Status indicators\n- Integration with existing niri-window-capture skill\n- Custom scripts in pkgs/waybar-scripts\n\nRelated: dotfiles has home/waybar.nix (196 lines) and pkgs/waybar-scripts/","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-28T20:11:23.115445797-05:00","created_by":"dan","updated_at":"2025-12-28T20:37:16.465731945-05:00","closed_at":"2025-12-28T20:37:16.465731945-05:00","close_reason":"Moved to dotfiles repo - waybar config lives there"} +{"id":"skills-e94u","title":"ui-query: extract shared find_windows() to common module","status":"open","priority":2,"issue_type":"task","owner":"dan@delpad","created_at":"2026-01-15T14:22:03.79081457-08:00","created_by":"dan","updated_at":"2026-01-15T14:22:03.79081457-08:00"} {"id":"skills-e96","title":"skill: semantic-grep using LSP","description":"Use workspace/symbol, documentSymbol, and references instead of ripgrep.\n\nExample: 'Find all places where we handle User objects but only where we modify the email field directly'\n- LSP references finds all User usages\n- Filter by AST analysis for .email assignments\n- Return hit list for bead or further processing\n\nBetter than regex for Go interfaces, Rust traits, TS types.","status":"open","priority":3,"issue_type":"task","created_at":"2025-12-24T02:29:57.119983837-05:00","updated_at":"2025-12-24T02:29:57.119983837-05:00","dependencies":[{"issue_id":"skills-e96","depends_on_id":"skills-gga","type":"blocks","created_at":"2025-12-24T02:30:06.632906383-05:00","created_by":"daemon"}]} {"id":"skills-ebh","title":"Compare bd-issue-tracking skill files with upstream","description":"Fetch upstream beads skill files and compare with our condensed versions to identify differences","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-03T20:14:07.886535859-08:00","updated_at":"2025-12-03T20:19:37.579815337-08:00","closed_at":"2025-12-03T20:19:37.579815337-08:00"} {"id":"skills-ebl","title":"Benchmark vision model UI understanding","description":"## Goal\nMeasure how well vision models can answer UI questions from screenshots.\n\n## Test cases\n1. **Element location**: \"Where is the Save button?\" → coordinates\n2. **Element identification**: \"What buttons are visible?\" → list\n3. **State detection**: \"Is the checkbox checked?\" → boolean\n4. **Text extraction**: \"What does the error message say?\" → text\n5. **Layout understanding**: \"What's in the sidebar?\" → structure\n\n## Metrics\n- Accuracy: Does the answer match ground truth?\n- Precision: How close are coordinates to actual element centers?\n- Latency: Time from query to response\n- Cost: Tokens consumed per query\n\n## Prompt engineering questions\n- Does adding a grid overlay help coordinate precision?\n- What prompt format gives most actionable coordinates?\n- Can we get bounding boxes vs point coordinates?\n\n## Comparison baseline\n- Manual annotation of test screenshots\n- AT-SPI data (once enabled) as ground truth\n\n## Depends on\n- Test screenshots from real apps\n- Ground truth annotations","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-17T14:13:10.038933798-08:00","updated_at":"2025-12-29T15:26:19.822655148-05:00","closed_at":"2025-12-29T15:26:19.822655148-05:00","close_reason":"Benchmark complete. Vision models excellent for semantic understanding, approximate for coordinates. Recommend hybrid AT-SPI + vision. See docs/research/vision-ui-benchmark-2025-12-29.md"} @@ -200,6 +204,7 @@ {"id":"skills-m0e2","title":"Write developer docs for compiling/deployment workflow","status":"closed","priority":3,"issue_type":"task","created_at":"2026-01-10T23:14:36.685506396-08:00","created_by":"dan","updated_at":"2026-01-11T15:34:20.579336918-08:00","closed_at":"2026-01-11T15:34:20.579336918-08:00","close_reason":"Closed"} {"id":"skills-m21","title":"Apply niri-window-capture code review recommendations","description":"CODE-REVIEW-niri-window-capture.md identifies action items: add dependency checks to scripts, improve error handling for niri failures, add screenshot directory validation, implement rate limiting. See High/Medium priority sections.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-30T11:58:24.648846875-08:00","updated_at":"2025-12-28T20:16:53.914141949-05:00","closed_at":"2025-12-28T20:16:53.914141949-05:00","close_reason":"Implemented all 4 high-priority recommendations from code review: dependency checks, directory validation, error handling, audit logging"} {"id":"skills-mjf","title":"Design: Portable adversarial reviewer","description":"Design a reviewer agent/skill that can run on any capable model.\n\nalice is Claude Opus with specific tools. We need:\n- Model-agnostic reviewer prompt/instructions\n- Tool requirements (read-only: Read, Grep, Glob, Bash)\n- Integration with orch for multi-model consensus\n- Decision format (APPROVED/ISSUES)\n- Issue filing (beads or tissue)\n\nKey principles from alice:\n- Work for the USER, not the agent\n- Assume errors exist, find them\n- Steel-man then attack\n- Seek second opinions\n\nOutput: Reviewer skill spec that works across agents","status":"closed","priority":3,"issue_type":"task","created_at":"2026-01-09T17:14:20.778647076-08:00","created_by":"dan","updated_at":"2026-01-09T19:59:37.80146821-08:00","closed_at":"2026-01-09T19:59:37.80146821-08:00","close_reason":"Covered in architecture design doc - adversarial reviewer section"} +{"id":"skills-mlhe","title":"ui-query: extract shared find_elements() to common module","status":"open","priority":2,"issue_type":"task","owner":"dan@delpad","created_at":"2026-01-15T14:22:03.995612109-08:00","created_by":"dan","updated_at":"2026-01-15T14:22:03.995612109-08:00"} {"id":"skills-ms5","title":"Design: Local message passing layer","description":"Design: Local message passing layer\n\nImplementation: Nim (tiny_sqlite, channels)\nDesign doc: docs/design/message-passing-layer.md (v4)\n\nKey components:\n- SQLite WAL mode as source of truth\n- Heartbeat thread with own connection + channel control\n- Task claims with lease expiry\n- At-least-once delivery with explicit ack\n- JSONL export for debugging\n\nSee: skills-q40 for language decision","design":"docs/design/message-passing-layer.md","notes":"DESIGN UPDATED v2: SQLite as primary storage (not JSONL+flock). After orch consensus (3 models unanimous), aligned with Beads approach. Key change: SQLite with BEGIN IMMEDIATE for atomic writes, WAL mode for concurrency. JSONL becomes read-only export for debugging. See docs/design/message-passing-layer.md and message-passing-comparison.md.","status":"closed","priority":2,"issue_type":"task","created_at":"2026-01-10T13:24:21.597509853-08:00","created_by":"dan","updated_at":"2026-01-11T21:23:19.067533522-08:00","closed_at":"2026-01-11T21:23:19.067533522-08:00","close_reason":"Solved by bd comments approach - orch consensus unanimously supported using existing bd comments instead of building separate JSONL layer","dependencies":[{"issue_id":"skills-ms5","depends_on_id":"skills-s6y","type":"blocks","created_at":"2026-01-10T13:24:36.033492407-08:00","created_by":"dan"}]} {"id":"skills-mx3","title":"spec-review: Define consensus thresholds and decision rules","description":"'Use judgment' for mixed results leads to inconsistent decisions.\n\nDefine:\n- What constitutes consensus (2/3? unanimous?)\n- How to handle NEUTRAL votes\n- Tie-break rules\n- When human override is acceptable and how to document it","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-15T00:23:24.121175736-08:00","updated_at":"2025-12-15T13:58:04.339283238-08:00","closed_at":"2025-12-15T13:58:04.339283238-08:00"} {"id":"skills-n3qp","title":"Use case-insensitive conflict detection in rebaseOnIntegration","description":"[SMELL] MED git.nim:70 - Checks 'CONFLICT' and 'conflict' separately with fragile string matching. Use output.toLowerAscii().contains(\"conflict\") for robustness.","status":"closed","priority":2,"issue_type":"bug","created_at":"2026-01-10T19:52:13.875954227-08:00","created_by":"dan","updated_at":"2026-01-10T20:55:02.354755642-08:00","closed_at":"2026-01-10T20:55:02.354755642-08:00","close_reason":"P2 bugs fixed"} diff --git a/.beads/last-touched b/.beads/last-touched index 7a859bb..8bd5289 100644 --- a/.beads/last-touched +++ b/.beads/last-touched @@ -1 +1 @@ -skills-6ae +skills-0vec diff --git a/.beads/sync_base.jsonl b/.beads/sync_base.jsonl index c33d9b4..6c43a05 100644 --- a/.beads/sync_base.jsonl +++ b/.beads/sync_base.jsonl @@ -58,7 +58,7 @@ {"id":"skills-5vg","title":"spec-review: Add context/assumptions step to prompts","description":"Reviews can become speculative without establishing context first.\n\nAdd to prompts:\n- List assumptions being made\n- Distinguish: missing from doc vs implied vs out of scope\n- Ask clarifying questions if critical context missing","status":"closed","priority":3,"issue_type":"task","created_at":"2025-12-15T00:23:25.681448596-08:00","updated_at":"2025-12-15T14:06:15.415750911-08:00","closed_at":"2025-12-15T14:06:15.415750911-08:00"} {"id":"skills-5x2o","title":"Extract msToUnix helper for repeated div 1000","description":"[SMELL] LOW state.nim - 'div 1000' for ms to seconds conversion repeated 8 times. Add helper proc msToUnix(ms: int64): int64 in types.nim.","status":"closed","priority":3,"issue_type":"task","created_at":"2026-01-10T19:49:52.505245039-08:00","created_by":"dan","updated_at":"2026-01-10T20:32:28.362386563-08:00","closed_at":"2026-01-10T20:32:28.362386563-08:00","close_reason":"Created utils.nim with common helpers"} {"id":"skills-69sz","title":"Fix P1 security bugs (genOid, HeartbeatThread)","description":"Two critical security/safety issues:\n\n1. genOid() - skills-0wk\n - Currently uses rand(25) without randomize()\n - IDs are predictable/deterministic\n - Fix: Use std/sysrand for crypto-safe randomness, or call randomize() at startup\n\n2. HeartbeatThread - skills-bk7x \n - Uses manual alloc0/dealloc\n - Risk of memory leak if startup fails, use-after-free if caller holds reference\n - Fix: Use 'ref HeartbeatThread' with GC management\n\nParent: skills-g2wa","status":"closed","priority":1,"issue_type":"task","created_at":"2026-01-10T20:18:49.759721333-08:00","created_by":"dan","updated_at":"2026-01-10T20:24:36.613555221-08:00","closed_at":"2026-01-10T20:24:36.613555221-08:00","close_reason":"Both P1 security bugs fixed: genOid uses sysrand, HeartbeatThread uses ref type"} -{"id":"skills-6ae","title":"Create ui-query skill for AT-SPI integration","description":"Create a skill that provides programmatic UI tree access via AT-SPI.\n\n## Context\nAT-SPI is now enabled in dotfiles (services.gnome.at-spi2-core + QT_LINUX_ACCESSIBILITY_ALWAYS_ON).\nThis complements niri-window-capture (visual) with semantic UI data.\n\n## Capabilities\n- Read text from GTK/Qt widgets directly (no OCR)\n- Find UI elements by role (button, text-field, menu)\n- Query element states (focused, enabled, checked)\n- Get element positions for potential input simulation\n- Navigate parent/child relationships\n\n## Suggested structure\nskills/ui-query/\n├── SKILL.md\n├── scripts/\n│ ├── list-windows.py # Windows with AT-SPI info\n│ ├── get-text.py # Extract text from window/element\n│ ├── find-element.py # Find by role/name\n│ └── query-state.py # Element states\n└── README.md\n\n## Notes\n- Start simple: list windows, get text\n- pyatspi available via python3Packages.pyatspi\n- Use accerciser (now installed) to explore the tree","status":"open","priority":2,"issue_type":"feature","created_at":"2025-12-29T15:37:55.592793763-05:00","created_by":"dan","updated_at":"2025-12-29T15:37:55.592793763-05:00","comments":[{"id":17,"issue_id":"skills-6ae","author":"dan","text":"Initial implementation: list-windows.py working. Shows apps, windows, geometry, states. Remaining: get-text.py, find-element.py, query-state.py","created_at":"2026-01-15T19:57:15Z"}]} +{"id":"skills-6ae","title":"Create ui-query skill for AT-SPI integration","description":"Create a skill that provides programmatic UI tree access via AT-SPI.\n\n## Context\nAT-SPI is now enabled in dotfiles (services.gnome.at-spi2-core + QT_LINUX_ACCESSIBILITY_ALWAYS_ON).\nThis complements niri-window-capture (visual) with semantic UI data.\n\n## Capabilities\n- Read text from GTK/Qt widgets directly (no OCR)\n- Find UI elements by role (button, text-field, menu)\n- Query element states (focused, enabled, checked)\n- Get element positions for potential input simulation\n- Navigate parent/child relationships\n\n## Suggested structure\nskills/ui-query/\n├── SKILL.md\n├── scripts/\n│ ├── list-windows.py # Windows with AT-SPI info\n│ ├── get-text.py # Extract text from window/element\n│ ├── find-element.py # Find by role/name\n│ └── query-state.py # Element states\n└── README.md\n\n## Notes\n- Start simple: list windows, get text\n- pyatspi available via python3Packages.pyatspi\n- Use accerciser (now installed) to explore the tree","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-12-29T15:37:55.592793763-05:00","created_by":"dan","updated_at":"2026-01-15T14:19:42.092890404-08:00","closed_at":"2026-01-15T14:19:42.092890404-08:00","close_reason":"Complete: list-windows, get-text, find-element, query-state all implemented","comments":[{"id":17,"issue_id":"skills-6ae","author":"dan","text":"Initial implementation: list-windows.py working. Shows apps, windows, geometry, states. Remaining: get-text.py, find-element.py, query-state.py","created_at":"2026-01-15T19:57:15Z"}]} {"id":"skills-6e3","title":"Searchable Claude Code conversation history","description":"## Context\nClaude Code persists full conversations in `~/.claude/projects//.jsonl`. This is complete but not searchable - can't easily find \"that session where we solved X\".\n\n## Goal\nMake conversation history searchable without requiring manual worklogs.\n\n## Approach\n\n### Index structure\n```\n~/.claude/projects//\n .jsonl # raw conversation (existing)\n index.jsonl # session metadata + summaries (new)\n```\n\n### Index entry format\n```json\n{\n \"uuid\": \"f9a4c161-...\",\n \"date\": \"2025-12-17\",\n \"project\": \"/home/dan/proj/skills\",\n \"summary\": \"Explored Wayland desktop automation, AT-SPI investigation, vision model benchmark\",\n \"keywords\": [\"wayland\", \"niri\", \"at-spi\", \"automation\", \"seeing-problem\"],\n \"commits\": [\"906f2bc\", \"0b97155\"],\n \"duration_minutes\": 90,\n \"message_count\": 409\n}\n```\n\n### Features needed\n1. **Index builder** - Parse JSONL, extract/generate summary + keywords\n2. **Search CLI** - `claude-search \"AT-SPI wayland\"` → matching sessions\n3. **Auto-index hook** - Update index on session end or compaction\n\n## Questions\n- Generate summaries via AI or extract heuristically?\n- Index per-project or global?\n- How to handle very long sessions (multiple topics)?\n\n## Value\n- Find past solutions without remembering dates\n- Model reflection: include relevant past sessions in context\n- Replace manual worklogs with auto-generated metadata","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-12-17T15:56:50.913766392-08:00","updated_at":"2025-12-29T18:35:56.530154004-05:00","closed_at":"2025-12-29T18:35:56.530154004-05:00","close_reason":"Prototype complete: bin/claude-search indexes 122 sessions, searches by keyword. Future: auto-index hook, full-text search, keyword extraction."} {"id":"skills-6ex1","title":"Agent Governance: Quality gates and review patterns","description":"Patterns for ensuring quality and appropriate human oversight in multi-agent workflows.\n\nCovers:\n- Review processes (who reviews, when, how)\n- Role boundaries (what agents can/cannot do)\n- Veto and escalation patterns\n- Evidence collection for handoffs\n- Stuck agent detection and intervention\n\nThese patterns apply across HQ, workers, and any future agent types.","status":"open","priority":2,"issue_type":"epic","created_at":"2026-01-12T10:04:45.613368193-08:00","created_by":"dan","updated_at":"2026-01-12T10:04:45.613368193-08:00","dependencies":[{"issue_id":"skills-6ex1","depends_on_id":"skills-31y","type":"blocks","created_at":"2026-01-12T10:06:26.325315834-08:00","created_by":"dan"},{"issue_id":"skills-6ex1","depends_on_id":"skills-4a2","type":"blocks","created_at":"2026-01-12T10:06:26.383123714-08:00","created_by":"dan"},{"issue_id":"skills-6ex1","depends_on_id":"skills-r62","type":"blocks","created_at":"2026-01-12T10:06:26.431042847-08:00","created_by":"dan"},{"issue_id":"skills-6ex1","depends_on_id":"skills-zf6","type":"blocks","created_at":"2026-01-12T10:06:26.480106143-08:00","created_by":"dan"},{"issue_id":"skills-6ex1","depends_on_id":"skills-1jc","type":"blocks","created_at":"2026-01-12T10:06:26.536178739-08:00","created_by":"dan"}]} {"id":"skills-6fu","title":"Research: State management for cross-agent workflows","description":"Evaluate state management options for cross-agent coordination.\n\nOptions:\n1. **jwz** - emes tool, append-only JSONL, git-mergeable, Zig\n2. **beads** - Our tool, graph-based issues, Rust\n3. **Simple files** - JSON/JSONL in .state/ directory\n4. **Environment variables** - Ephemeral session state\n\nCriteria:\n- Cross-agent access (all can read/write via CLI)\n- Git compatibility (mergeable, not conflicting)\n- Persistence (session vs permanent)\n- Query capability (search, filter)\n- Complexity (dependencies, setup)\n\nContext:\n- beads for persistent issues/work\n- jwz for transient session coordination\n- May need both for different purposes\n\nOutput: Recommendation on state management strategy","status":"closed","priority":3,"issue_type":"task","created_at":"2026-01-09T17:14:20.971160754-08:00","created_by":"dan","updated_at":"2026-01-09T19:33:36.714686046-08:00","closed_at":"2026-01-09T19:33:36.714686046-08:00","close_reason":"Consolidated into skills-8sj"}