Read-only Forgejo/GitHub repo-object drift report #578
Labels
No labels
burndown-2026-06
burndown-2026-08
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/devrel
role/eval
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/sysadmin
role/tpm
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/infrastructure#578
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
scripts/forgejo-github-reconcile.py(ward exec forgejo-github-reconcile) reports repo-object drift between Forgejo and GitHub across the four owned owners, read-only, no apply mode. Repo churn is rare enough that retire/create/reconcile stay hand-driven, so the report is the product.Classifies each repo against three invariants:
States: in-sync, fj-ahead, gh-ahead, diverged, retire-pending, retire-blocked-fj-ahead, missing-on-gh, missing-on-fj, owner-mismatch, fj-archived-gh-absent, retired-ok. Each row is annotated with its authoritative forge from the owner-scoped repo-authority policy (coilysiren is GitHub-native, coilyco-* are Forgejo-native), display-only.
Two enumeration guards, both from bugs the tool surfaced on itself: Forgejo listing uses per-owner /orgs + /users endpoints, never /repos/search (search dropped 4 of 54 repos); GitHub listing uses
gh repo list, never the /users REST endpoint (which is public-only and dropped 27 of 109 private repos). Any owner enumerating to zero aborts the run.First run: 36 drift states / 130 clean. Notables: repo-recall is retire-blocked-fj-ahead (Forgejo ahead of the archived GitHub copy), 21 retire-pending (archived on both, awaiting delete-from-FJ), galaxy-gen owner-mismatch (coilyco-gaming on FJ vs coilyco-flight-deck on GH).