✨ Added
Config-Driven Agent Management (Feature 022):
- Single source of truth:
.kittify/config.yamlnow controls which agents are configured - New CLI commands:
spec-kitty agent config list|add|remove|status|synclist: Show configured agentsadd <agents...>: Add agents to configurationremove <agents...>: Remove agents from configurationstatus: Show configured vs orphaned agentssync: Synchronize filesystem with configuration
- Migrations respect config:
get_agent_dirs_for_project()helper only processes configured agents - Orphan detection: Identifies agent directories not in config (from manual deletions)
- ADR #6: Documents architectural decision for config-driven approach
Smarter Feature Merge with Pre-flight (Feature 017):
- Pre-flight validation: Checks all WP worktrees for uncommitted changes, missing worktrees, and target branch divergence before any merge starts
- Conflict forecasting:
--dry-runpredicts which files will conflict and classifies them as auto-resolvable (status files) or manual - Smart merge order: WPs merged in dependency order based on frontmatter
dependenciesfield - Status file auto-resolution: Conflicts in WP prompt files (
kitty-specs/*/tasks/*.md) automatically resolved by taking advanced lane status - Merge state persistence: Progress saved to
.kittify/merge-state.jsonfor recovery - Resume/abort flags:
--resumecontinues interrupted merges,--abortclears state and starts fresh - Auto-cleanup: Worktrees and branches removed after successful merge (configurable with
--keep-worktree,--keep-branch)
📚 Documentation
Merge Preflight Documentation (Feature 018):
- Added
docs/how-to/merge-feature.md- Complete merge workflow guide with pre-flight, dry-run, strategies, and cleanup options - Added
docs/how-to/troubleshoot-merge.md- Comprehensive troubleshooting guide with error reference table - Updated CLAUDE.md with Merge & Preflight Patterns section documenting MergeState dataclass and public API
Agent Management Documentation Sprint (Feature 023):
- Added
docs/how-to/manage-agents.md- Complete guide to adding, removing, and managing AI agent integrations - Added
docs/how-to/upgrade-to-0-12-0.md- Migration guide for config-driven agent management - Updated
docs/reference/cli-commands.mdwith comprehensiveagent configsubcommand documentation - Updated
docs/reference/agent-subcommands.md,docs/reference/configuration.md,docs/reference/supported-agents.mdwith accurate cross-references - Cleaned up outdated Jujutsu (jj) references throughout documentation (git-only VCS for now)
- Updated
docs/how-to/install-spec-kitty.mdwith agent configuration guidance
🐛 Fixed
Merge Resume Bug:
- Fixed
merge_workspace_per_wp()missingresume_stateparameter causingTypeErrorwhen using--resume
Agent Workflow Output Truncation (GitHub Codex compatibility):
- Fixed workflow commands (
implement,review) outputting 300+ lines which got truncated by agents like GitHub Codex - Prompts now written to temp file with concise 15-line summary to stdout
- Added directive language (
▶▶▶ NEXT STEP: Read the full prompt file now:) so agents automatically read the file - Agents no longer miss work package requirements due to output truncation
False Staleness for Newly-Created Worktrees:
- Fixed stale detection flagging new worktrees as stale immediately
- Previously,
git log -1returned parent branch's commit time (could be hours old) - Now checks if branch has commits since diverging from main
- Worktrees with no new commits are NOT flagged as stale (agent just started)