I built out the backlog orchestration system today — the big addition is phased execution, where backlog items now progress through tracked phases with automatic advancement. Each phase can include manual checks, and sessions auto-kill on phase completion so Claude Code doesn’t wander off-task. A review phase is auto-generated for each item, and items are automatically marked done when their plan completes. I also added a /draft command for creating new backlog items with LLM-assisted questioning.

On the refactoring side, I added assist refactor extract for pulling functions and their private dependencies into new files. Getting the import rewriting right took a few iterations — fixing stale import cleanup, rewriting paths in the destination file, and skipping barrel exports for non-public functions.

I pushed test coverage from roughly nothing to 17.31%, converting existing tests to BDD style (describe/it blocks) and adding new coverage for splitCompound, collectDependencies, resolveImports, and the backlog run completion logic. I also added test-cover and test-review slash commands so Claude Code can incrementally improve coverage during sessions.

The backlog web view got plan progress display, and the CLI picked up several UX improvements: a show command, numbered acceptance criteria, type display in the next list, comments and summaries on items, a -w/--write flag for backlog run/next, and aliases like next for backlog next -w and remove for backlog delete. I also added a /bug command for filing bugs with structured reproduction steps and a coverage command for reporting test coverage metrics.