VerificationTest behavior
Test file sync
Verify Team OS file sync with a granted client.
Grant write access before this step:
$memberConfig = "$env:TEMP\aios-member-client"
$env:AGENTIC_OS_TEAM_CONFIG_DIR = "$env:TEMP\aios-owner-client"
npm run team -- client grant --client acme --user member@example.test --access write
$env:AGENTIC_OS_TEAM_CONFIG_DIR = $memberConfigThis uses the saved Company Owner login, then returns to the Member login. The grant is required for this Member. A Full access user already has implicit write access.
Create a file in the local client workspace:
$local="$env:TEMP\team-os-local"
New-Item -ItemType Directory -Force "$local\clients\acme\context" | Out-Null
Set-Content "$local\clients\acme\context\notes.md" "Acme sync proof"
Set-Content "$local\clients\acme\.env" "PLACEHOLDER_ONLY=1"Push and inspect the manifest:
npm run team -- sync push --client acme --src $local
npm run team -- sync manifest --client acmePull into another folder:
$pull="$env:TEMP\team-os-pull"
npm run team -- sync pull --client acme --dest $pull
Get-ChildItem -Recurse $pullExpected result:
- only granted client files appear;
- pulled files live under
clients/acme; - the terminal push excludes the placeholder
.envfile; .agentic-os/team-sync-state.jsonis created;- Command Centre can show the client sync state.
Next: Check Command Centre
