mirror of
https://github.com/usips/trufflepig.git
synced 2026-10-30 15:08:07 -04:00
Resolve the home member by Git common directory so a worktree of a member, inside or outside its checkout, is searched under the member's name with its own index cache, labelled in coverage as member@worktree. Seed that cache from the member's extraction facts and embeddings, exit a per-root daemon when its root disappears, sweep caches for vanished roots from the router (also `system prune`), skip a linked worktree's `.git` file, and teach the steer hook the same mapping. Bound the history heartbeat stop so daemon exit never hangs. Co-Authored-By: Claude Fable 5.1 <[email protected]>