Commit graph

57 commits

Author SHA1 Message Date
dan b1cb619f7a bd sync: 2025-12-28 20:16:54 2025-12-28 20:16:54 -05:00
dan 62e5d7f7dc fix(niri-window-capture): add robustness improvements
- Add dependency checks for niri, jq, logger at script startup
- Validate and create screenshot directory if missing
- Improve error handling for niri command failures
- Add audit logging to capture-all-windows.sh
- Use variable for screenshot directory path
- Cache window list query in capture-all-windows.sh

Addresses recommendations from code review (skills-m21)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 20:16:47 -05:00
dan e603e09862 feat: add code-review to availableSkills 2025-12-28 20:16:38 -05:00
dan 8f616bbb03 bd sync: 2025-12-28 00:07:09 2025-12-28 00:07:09 -05:00
dan fb5e3af8e1 docs: worklog for code-review skill creation and worklog cleanup 2025-12-28 00:06:38 -05:00
dan 4b72e6fc2e refactor(worklog): consolidate git commands into script
- Move all git context gathering into extract-metrics.sh
- Script now outputs: branch, status, commits, files, lines
- Remove redundant Helper Scripts entry
- Semantic compression refs already removed in previous commit

98 -> 88 lines (-10%)
2025-12-27 10:11:56 -05:00
dan 862494d515 bd sync: 2025-12-27 10:06:41 2025-12-27 10:06:41 -05:00
dan 82445dd839 refactor(worklog): consolidate skill prompt
- Remove inline section list, reference template directly
- Merge Guidelines and Remember into single Principles section
- Extract skill directory path, use relative references

127 -> 98 lines (-23%)
2025-12-27 10:06:02 -05:00
dan 3edc3f6502 docs: add code-review to skills list 2025-12-26 23:48:37 -05:00
dan aec0704e69 bd sync: 2025-12-26 23:22:52 2025-12-26 23:22:52 -05:00
dan 5ebae8f86e feat: add /code-review skill with bundled lenses 2025-12-26 23:22:51 -05:00
dan 2103e0994d docs: worklog for multi-lens code review workflow testing 2025-12-26 02:04:08 -05:00
dan 1e645151e6 bd sync: 2025-12-26 01:57:15 2025-12-26 01:57:15 -05:00
dan 9624873dc2 update: code-review proto with LLM-in-the-loop pattern
- Emphasize agent judgment at filing step (not mechanical parsing)
- Add exploration step for directory targets
- Document synthesis across lenses
- Clarify prioritization and grouping guidance

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 01:51:10 -05:00
dan fb15000877 refactor: restructure for cross-repo deployment
- Rename reviews/ to lenses/ (clearer terminology)
- Add workflows/ for beads proto templates
- Extract code-review proto to workflows/molecules.jsonl
- Update ai-skills.nix module:
  - Add enableLenses option (deploys to ~/.config/lenses/)
  - Add enableWorkflows option (deploys to ~/.beads/molecules.jsonl)
  - Derive repoRoot from skillsPath for sibling directories
- Update lens paths in proto to use deployed location

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 01:18:19 -05:00
dan 6878783bf1 feat: add review lenses for multi-perspective code analysis
Four focused review prompts for use with orch multi-model consensus:
- bloat.md: file size, function length, complexity
- smells.md: code smells, readability, naming
- dead-code.md: zombie code, unreachable, obsolete
- redundancy.md: duplication, parallel systems, YAGNI

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 01:52:35 -05:00
dan 833b626d3a bd sync: 2025-12-24 23:34:04 2025-12-24 23:34:04 -05:00
dan f8372b1e17 docs: worklog for ADR revision, LSP research, code audit session
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 02:54:02 -05:00
dan 970437c2b1 bd sync: 2025-12-24 02:51:47 2025-12-24 02:51:47 -05:00
dan 9951d396dc bd sync: 2025-12-24 02:31:57 2025-12-24 02:31:57 -05:00
dan f8db8771ea orch skill: sync with CLI v0.1.0
- Update model aliases (gpt-5.2, claude-opus-4.5, etc.)
- Add new models: deepseek, r1, qwen, glm, sonar
- Document --synthesize, --websearch, --serial flags
- Document stdin piping, orch models, orch sessions
- Add --allow-expensive usage guidance

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 01:30:03 -05:00
dan c1f644e6a6 ADRs: add skill manifest, versioning, and trace security designs
- ADR-002: Skill manifest format with JSON Schema, path bases, preconditions
- ADR-003: Versioning with Nix store paths, lockfiles, interface contracts
- ADR-004: Trace security with HMAC redaction, entropy detection, trace modes

Refined based on orch consensus feedback from GPT and Gemini.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 20:55:18 -05:00
dan afbfb6b05b bd sync: 2025-12-23 20:55:09 2025-12-23 20:55:09 -05:00
dan c524e2046c bd sync: 2025-12-22 17:39:36 2025-12-22 17:39:36 -05:00
dan 9142e79afc beads: close skills-9bc, add searchable conversation history (skills-6e3) 2025-12-17 15:56:55 -08:00
dan 8735e3889a beads: add pre-compression hook investigation (skills-9bc) 2025-12-17 14:32:37 -08:00
dan e366343dd7 docs: worklog for wayland desktop automation session 2025-12-17 14:32:20 -08:00
dan 906f2bc7ee beads: add seeing problem benchmark tasks
- skills-ebl: vision model UI understanding benchmark
- skills-bww: AT-SPI overhead/coverage benchmark
- Updated skills-kg7 epic with hybrid approach
2025-12-17 14:13:51 -08:00
dan 0b971558a5 beads: add AT-SPI findings (skills-pdg) 2025-12-17 14:00:10 -08:00
dan 19e0750693 beads: close skills-d87 2025-12-16 18:46:30 -08:00
dan 45067b07c8 fix(orch): update docs for globally installed CLI
orch is now installed via home-manager, no longer needs to be
run from source directory with uv run.
2025-12-16 18:45:19 -08:00
dan 0349d48ef2 fix(spec-review): fail fast on missing files, add severity labels
- Remove find fallbacks, error if expected spec/plan/tasks missing
- Add BLOCKER/SUGGESTION labels to critique prompts
- Add multi-device sync, service coordination to NFR checklist

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 14:08:27 -08:00
dan 437265b916 feat: add spec-review skill and ai-tools-doctor docs
spec-review: Multi-model review of spec-kit artifacts using orch
- SKILL.md with progressive disclosure pattern
- Review processes: spec, plan, tasks, gate-check
- Prompts for critique, review, and go/no-go decisions

ai-tools-doctor: RFC and implementation report for diagnostics skill

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-15 00:43:52 -08:00
dan 90e72f1095 fix(use-skills): prevent stderr from corrupting symlink targets
Remove 2>&1 from nix build capture. When repo is dirty, nix emits
warnings to stderr which were being merged into $out and used as
symlink targets, creating broken symlinks like:

  orch -> warning: Git tree '...' is dirty\n/nix/store/...

Now stderr goes to terminal, only stdout (store path) captured.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-14 12:42:26 -08:00
dan 67f6d69cc7 feat: add apiKeys lib for direnv/sops single source of truth
- apiKeys: list of API key names (openai, google, anthropic, openrouter)
- mkDirenvStdlib: generates use_api_keys() bash function
- mkSopsSecrets: generates sops-nix secrets attribute set

Consumers (ops-dev, dotfiles) can now import from skills.lib
instead of maintaining duplicate key lists.
2025-12-04 20:45:48 -08:00
dan def212bc5b docs: complete worklog for doc-review design session
Adds Vale discovery, spin-off decision, migration details,
and updated session metrics to the design session worklog.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 17:54:05 -08:00
dan 139a521a89 doc-review: design session complete, spun off to ~/proj/doc-review
- Added use_api_keys to .envrc for orch access
- Worklog documents full design process
- Beads closed: skills-bcu, skills-1ig, skills-53k, skills-d6r
- Architecture: Vale + LLM hybrid (deterministic + semantic)
- Implementation continues in dedicated repo
2025-12-04 16:44:49 -08:00
dan 148f219887 chore: replace STATIC_DATA.md with upstream, add session worklog
Code review found upstream STATIC_DATA.md was better quality despite
being 5 lines shorter. Added comprehensive session worklog.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 20:43:51 -08:00
dan 8902a4f4a6 fix(bd-issue-tracking): replace condensed files with full upstream
WebFetch returned summarized content, not raw markdown.
Replaced 7/8 files with actual upstream versions:

- SKILL.md: 644 lines (was 122)
- CLI_REFERENCE.md: 559 lines (was 158)
- BOUNDARIES.md: 469 lines (was 82)
- DEPENDENCIES.md: 747 lines (was 141)
- WORKFLOWS.md: 548 lines (was 178)
- ISSUE_CREATION.md: 139 lines (was 104)
- RESUMABILITY.md: 207 lines (was 171)
- STATIC_DATA.md: kept ours (59 vs 54)

Source: github.com/steveyegge/beads/examples/claude-code-skill

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 20:19:56 -08:00
dan a74d0a2f26 bd sync: 2025-12-03 20:10:26 2025-12-03 20:11:27 -08:00
dan 7e7fdee292 feat: add bd-issue-tracking skill
Based on upstream beads Claude Code skill with adaptations:
- YAML frontmatter for skill system
- Temporal layering guidance (TodoWrite + bd)
- Reference docs: CLI, dependencies, workflows, boundaries

Source: https://github.com/steveyegge/beads/tree/main/examples/claude-code-skill

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 20:08:32 -08:00
dan 54a51ecdea refactor(orch): replace Anthropic models with Qwen/DeepSeek
- Remove claude/sonnet/opus/haiku aliases
- Add qwen (qwen3-8b), deepseek (v3), r1 (deepseek-r1)
- Add Model Selection guidance section
- Update GPT aliases to gpt-5.1, flash to preview version

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 19:08:32 -08:00
dan 24679f6cd6 bd sync: 2025-12-01 18:28:15 2025-12-01 18:28:15 -08:00
dan 0f010d3924 feat(orch): add multi-model consensus skill
Enables agents to query multiple AI models for:
- Second opinions on reasoning
- Architectural decisions
- Devil's advocate analysis
- Brainstorming and critique

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 15:48:31 -08:00
dan 35a357eb9d feat: add separate skill lists per target (claudeCodeSkills, openCodeSkills) 2025-11-30 15:16:30 -08:00
dan ec5386cf57 refactor(use-skills): simplify execution flow
- Add set -euo pipefail for safer defaults
- Remove conditional directory logic - always create both
- Remove undocumented SKILLS_CLAUDE/SKILLS_OPENCODE env vars
- Add fail-fast error handling throughout
- Capture nix build stderr for better error messages

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 15:00:46 -08:00
dan e921fd96df feat: add per-repo skill deployment pattern
- Add bin/use-skills.sh helper with use_skill and load_skills_from_manifest
- Add .skills manifest pattern for declarative skill configuration
- Fix ai-skills.nix: remove broken npm plugin code, update skill list
- Add update-opencode, web-search, web-research to flake.nix availableSkills
- Add RFC and documentation for team adoption

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 14:47:02 -08:00
dan 0e098ba0bb bd sync: 2025-11-30 14:43:53 2025-11-30 14:43:53 -08:00
dan 26a6469604 feat: add web-research skill and automate deployment
Includes:
- New 'web-search' skill
- New 'web-research' skill with multi-backend support (claude, llm, kagi)
- Automated deployment in bin/deploy-skill.sh
- Sops-nix integration for Kagi API key
- Documentation updates
2025-11-23 23:18:32 -08:00
dan 99187460b1 feat(update-opencode): add skill for automating OpenCode version updates in Nix
Implement complete workflow for checking and applying OpenCode updates:
- check-version.sh: Compare current vs latest GitHub release
- fetch-sha256.sh: Fetch SHA256 hash using nix-prefetch-url
- update-nix-file.sh: Update Nix package definition with dry-run support
- verify-update.sh: Verify installed version matches expectation

Includes comprehensive documentation (SKILL.md for agents, README.md for users)
and full spec in specs/002-update-opencode/ with user stories and acceptance criteria.

Eliminates manual Nix file editing and hash lookups for OpenCode updates.
2025-11-15 13:35:58 -08:00