Timmy (NEXUSBURN)
|
4215ef786f
|
feat: fleet audit tool — deduplicate agents, one identity per machine
Closes #1144. Builds a fleet audit pipeline that detects duplicate
agent identities, ghost accounts, and authorship ambiguity across
all machines.
Deliverables:
bin/fleet_audit.py — Full audit tool with four checks:
- Identity registry validation (one name per machine, unique gitea_user)
- Git authorship audit (detects ambiguous committers from branch names)
- Gitea org member audit (finds ghost accounts with zero activity)
- Cross-reference registry vs fleet-routing.json (orphan/location mismatch)
fleet/identity-registry.yaml — Canonical identity registry:
- 8 active agents (timmy, allegro, ezra, bezalel, bilbobagginshire,
fenrir, substratum, claw-code)
- 7 ghost/deprecated accounts marked inactive
- Rules: one identity per machine, unique gitea_user, required fields
tests/test_fleet_audit.py — 11 tests covering all validation rules.
Usage:
python3 bin/fleet_audit.py # full audit -> JSON
python3 bin/fleet_audit.py --identity-check # registry only
python3 bin/fleet_audit.py --git-authors # authorship only
python3 bin/fleet_audit.py --report out.json # write to file
|
2026-04-15 21:24:01 -04:00 |
|