Agents Remember 2.9.3
A small but recurring resolver fix: the coordination context now resolves a worktree's contract.md from its worktree_name alone, so tooling addressed by worktree name gets the full contract context instead of empty paths.
Highlights
resolve_context/resolve_coordination_contextnow populatecontract_path,code_worktree, andmemory_worktreefromworktree_namealone — matching whatworktree_status(task_name=…)already returned (#90).
Resolver
resolve_contractgained aworktree_namefallback with strict precedencecontract_path>task_name>worktree_name; an unmatched name returns empty rather than raising.- New
find_worktree_contracthelper enumeratestasks/<repo>/*/contract.mdand matches each contract's recordedcoordination.worktree_group, becauseworktree_namecannot be reversed totask_name(slugifypreserves both-and_). The lossless join is on the worktree-group folder name. find_worktree_contractis re-exported from thecoordination_context_resolverfacade alongsidefind_task_contract.
Tests
- Happy-path regression guard (fields non-null), graceful-empty unknown name,
task_name-over-worktree_nameprecedence, and afind_worktree_contractunit test.
Full changelog: mcp-v2.9.2...mcp-v2.9.3