Files
teamai-cli/docs
Saul Moro 9f81ae6751 fix(pull): deliver team resources to a worktree added after the last pull (#807) (#811)
state.json lives in the shared project partition, so a new worktree matched
the revision another checkout recorded and took the "Already synced" fast
path, leaving it without the team's skills, rules, agents and docs. The
shared tool targets also made two checkouts with different tool directories
force a full sync on each other on every pull.

Record the revision and targets per checkout in lastPullByWorkspace, keyed by
the checkout path plus the identity of its .git entry so a worktree re-created
at the same path does not inherit the old record. The fast path still requires
the shared lastPullRev, which exclude, tags, roles, projects, init and
bootstrap clear to force a full sync, and a pull that records a new revision
drops the other checkouts' records so every checkout does its own full sync.
2026-09-24 22:22:38 +08:00
..