Repository navigation
🚀 Highlights
- Git Worktree Workflow & Automation: Native support for isolated git worktrees under
.worktree/with full OpenCode session relocation (tools.opencode.session_move), branch status monitoring, PR/MR state integration, and safe automated pruning. - Universal Subagent Architecture (
mode: all): All 103 agents across all 11 categories now declaremode: all, enabling dual capability: invoke them directly in interactive chat via@mentionor delegate them seamlessly to isolated child subagents without execution barriers. - Repository-Wide Changelog & Documentation Polish: Introduced standard Keep a Changelog (
CHANGELOG.md), updated command references to standard dot notation, and synchronized all agent and command catalogs.
✨ New Features & Capabilities
🌳 Git Worktree Workflow & Session Relocation
- Unified
/worktreeCommand: Multi-purpose dispatcher for worktree operations (create,list,delete, andclean). /worktree.create:- Automatically spins up an isolated worktree under
.worktree/<branch-name>. - Automatically migrates or copies root
.envand environment configurations into the worktree. - Dynamically relocates OpenCode's working directory to the target worktree using
tools.opencode.session_move.
- Automatically spins up an isolated worktree under
/worktree.list:- Lists all active worktrees with relative paths, branch names, commit SHAs, and dirty/clean status.
- Interrogates GitHub (
gh) and GitLab (glab) CLIs to display real-time PR/MR review status (Open,Merged,Closed). - Flags merged worktrees ready for safe cleanup.
/worktree.delete:- Safely deletes worktrees and branches.
- Automatically checks if the current OpenCode session is inside the worktree being deleted; if so, safely moves the session back to repository root before running
git worktree removeandgit worktree prune. - Supports
--mergedflag to batch-prune all branches whose pull/merge requests have already merged.
- Always-on
git-worktreeRule: Addedshared/.ai-agents/rules/git-worktree.md(and updateddocs/RULES.md), mandating worktree isolation for all feature development, hotfixes, and parallel tasks to eliminate branch switching conflicts. - Workflow Integration: Updated
/commit-and-create-mrand thework-on-ticketskill to adhere to worktree isolation standards. - Git Hygiene: Added
.worktree/to root.gitignore.
🤖 Universal Subagent Architecture (mode: all) Across All 103 Agents
- Updated YAML frontmatter across all 103 agent persona files (
shared/.ai-agents/agents/across categories00through10) to explicitly setmode: all. - Resolves OpenCode V2's strict mode segregation:
- Previously, primary agents were rejected by OpenCode's
subagenttool when spawned dynamically. - All agents can now be invoked interactively (
@mention,/agents,opencode --agent <id>) or dispatched as autonomous subagents into isolated child sessions.
- Previously, primary agents were rejected by OpenCode's
🛠 Refactoring & Documentation
- Dot Notation Slash Commands: Standardized worktree commands to dot notation (
/worktree.create,/worktree.delete,/worktree.list). - New
CHANGELOG.md: Created rootCHANGELOG.mdfollowing Keep a Changelog format and semantic versioning. - Documentation Synchronization:
- Synchronized
README.md,docs/ARCHITECTURE.md,docs/COMMANDS.md, anddocs/RULES.md. - Accurately updated repository agent count to 103 and slash command count to 18.
- Purged deprecated
/speckit.model-selectorreference fromdocs/COMMANDS.md. - Documented
mode: allrequirements inCONTRIBUTING.md.
- Synchronized
📦 Installation & Upgrade Instructions
Upgrading an Existing Installation
-
Pull latest changes:
git pull origin main git submodule update --init --recursive
-
Restow packages and update symlinks:
make restow
-
Verify symlink health:
make status
Clean Installation
git clone --recurse-submodules https://github.com/jjmartres/ai-coding-agents.git
cd ai-coding-agents
make install