Worktree-Aware Task Coordination
Run multiple AI agents on the same codebase simultaneously, each in its own git worktree, with the vault coordinating who's working on what.
Added
- Worktree metadata on tasks —
claim_taskaccepts optionalworktree_branchandworktree_pathparameters to track parallel work across agents list_tasksandget_contextinclude worktree info for all active workcomplete_taskresponse includesworktree_branchwith a "ready for PR" message- New
TaskFrontmatterfields:worktree_branch,worktree_path - Multi-Agent Parallel Development section in README with Claude Code
--worktreeworkflow and opencode/Codex manual setup
Fixed
- YAML serialization crash —
serializeNotenow recursively stripsundefinedvalues from frontmatter before passing to js-yaml. This hardening applies to all note writes.
Tests
- 33 new worktree metadata tests (375 total assertions)
- All passing on Ubuntu + Windows, Node 18/20/22
Install
npx mcp-obsidian-vaultFull changelog: https://github.com/t-rhex/obsidian-mcp-server/blob/main/CHANGELOG.md