File syncTerminal sync

Sync pull

Pull accessible client files from Team OS.

Pull one client into a local folder:

$pull="$env:TEMP\team-os-pull"
npm run team -- sync pull --client acme --dest $pull

Use terminal pull for text files. Use Command Centre when you need to sync binary files.

This creates a folder like:

team-os-pull/
|-- .agentic-os/
|   `-- team-sync-state.json
`-- clients/
    `-- acme/
        `-- context/
            `-- notes.md

The state file stores the remote SHA for each pulled file. Team OS uses that SHA to prevent accidental overwrites during push.

Next: Sync push