Git Mirror Audit
Audit redundant git mirrors declared in .aiwg/aiwg.config:
{
"remotes": {
"primary": "origin",
"secondary": [
{
"name": "github",
"purpose": "backup-mirror",
"push_on_release": true
}
]
}
}
Execution Flow
- Read
remotes.primary,delivery.default_branch, andremotes.secondary[]. - Confirm every configured secondary exists in
git remote. - Fetch remote refs in read-only mode when the operator permits network access.
- Compare
refs/remotes/{primary}/{default_branch}with each secondary's default branch ref. - Report drift, missing remotes, and last known commit for each mirror.
Semantics
purpose: backup-mirrormeans the mirror is a disaster-recovery copy and should receive release pushes.push_on_release: truemeans release procedures must push tags and release commits to that mirror before declaring release complete.- This skill audits state; it never performs the push.
References
agentic/code/addons/aiwg-utils/rules/delivery-policy.md.aiwg/security/curl-checklist-gap-analysis.mdrow 3, Practice 21