skills/src/worker
dan 48ec6cde83 fix(worker): address code review findings
- Fix rollback to handle partial branch creation (skills-yylq)
  - Pre-compute branch/worktree names before createWorktree
  - Use gitBranchExists() and dirExists() for robust cleanup
- Add step context to error messages (skills-ux6h)
  - Track currentStep through spawn process
  - Error now shows which step failed
- Deduplicate success output block (skills-qjln)
  - Consolidated to single block with conditional review line
- Simplify use-skills.sh auth symlink (skills-475o)
  - One-liner with || instead of nested if
- Fix inconsistent default branch in git.nim (skills-fext)
  - Changed default from "origin/integration" to "main"

Closes skills-yylq, skills-ux6h, skills-qjln, skills-475o, skills-fext

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 09:37:37 -08:00
..
tests fix: use absolute worktree paths, check sqlite3 availability 2026-01-11 21:24:03 -08:00
context.nim refactor: extract helpers and add developer docs 2026-01-11 15:34:15 -08:00
db.nim refactor: consolidate stale logic, use transaction helper, add migrations 2026-01-11 15:37:55 -08:00
git.nim fix(worker): address code review findings 2026-01-15 09:37:37 -08:00
heartbeat.nim cleanup: P4 worker code quality fixes 2026-01-11 15:46:34 -08:00
review.nim feat(worker): add test suite and fix worktree DB path 2026-01-11 00:26:02 -08:00
state.nim refactor: consolidate stale logic, use transaction helper, add migrations 2026-01-11 15:37:55 -08:00
types.nim refactor: consolidate stale logic, use transaction helper, add migrations 2026-01-11 15:37:55 -08:00
utils.nim fix: use absolute worktree paths, check sqlite3 availability 2026-01-11 21:24:03 -08:00