You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New endpoint to get sync status of all agents at once for fleet-level health checks.
Context
Currently, checking sync health requires querying each agent individually. Operators and the `/trinity:sync` skill need a bulk audit capability.
Acceptance Criteria
New endpoint
`GET /api/fleet/sync-audit`
Returns table of all agents with:
`agent_name`
`branch` (working branch)
`last_pushed_sha`
`last_pushed_at`
`local_head_sha`
`unpushed_commits` (count)
`dirty_tree` (boolean)
`duplicate_binding` (boolean) — detects P5 at fleet level
Duplicate binding detection
Query:
```sql
SELECT github_repo, working_branch, COUNT()
FROM agent_git_config WHERE source_mode = 0
GROUP BY github_repo, working_branch HAVING COUNT() > 1
```
Activity
feat(fleet): GET /api/fleet/sync-audit with duplicate-binding flag (A…
docs(feature-flows): add git-sync-health flow for Abilityai#389/Abili…
docs(github-sync): cross-reference new sync-health flow (Abilityai#389,
docs(architecture): add sync-health endpoints + agent_sync_state sche…
docs(requirements): add Git Sync Health Observability (§11.3, Ability…
docs(index): record git sync health + fleet audit features (Abilityai…
docs(feature-flows): add git-sync-health flow for Abilityai#389/Abili…
docs(github-sync): cross-reference new sync-health flow (Abilityai#389,
docs(architecture): add sync-health endpoints + agent_sync_state sche…
docs(requirements): add Git Sync Health Observability (§11.3, Ability…
docs(index): record git sync health + fleet audit features (Abilityai…
docs: scope cherry-picked sync-health docs to Abilityai#389 only
feat(fleet): GET /api/fleet/sync-audit with duplicate-binding flag (A…
4 remaining items
docs(index): record git sync health + fleet audit features (Abilityai…
docs: scope cherry-picked sync-health docs to Abilityai#389 only
feat(fleet): GET /api/fleet/sync-audit with duplicate-binding flag (A…
docs(feature-flows): add git-sync-health flow for Abilityai#389/Abili…
docs(github-sync): cross-reference new sync-health flow (Abilityai#389,
docs(architecture): add sync-health endpoints + agent_sync_state sche…
docs(requirements): add Git Sync Health Observability (§11.3, Ability…
docs(index): record git sync health + fleet audit features (Abilityai…
docs: scope cherry-picked sync-health docs to Abilityai#389 only
feat(git): sync health observability + auto-sync heartbeat (#389 S1 +…
feat(fleet): GET /api/fleet/sync-audit with duplicate-binding flag (A…
feat(fleet): GET /api/fleet/sync-audit with duplicate-binding flag (#390