Skip to content

chore(org-migration): baseline snapshot of the 31 move-list repos - #82

Merged
twistedmelonman merged 2 commits into
mainfrom
claude/data-org-migration-baseline-01B7KFdv
Sep 4, 2026
Merged

chore(org-migration): baseline snapshot of the 31 move-list repos#82
twistedmelonman merged 2 commits into
mainfrom
claude/data-org-migration-baseline-01B7KFdv

Conversation

@twistedmelonman

Copy link
Copy Markdown
Member

Step 1 of docs/superpowers/specs/2026-09-03-org-migration-design.md. Advances #54.

What

  • docs/data/org-migration/2026-09-04-baseline/ — one JSON per move-list repo (31 files, incl. .github.json): owner, default branch, visibility, archived, topics, pages, secret names (no values), branch protection, rulesets. verify.sh diffs the post-transfer snapshot against these with jq.
  • snapshot.sh: on a private repo under the free plan GitHub answers the branch-protection and rulesets endpoints with a 403 ("Upgrade to GitHub Pro or make this repository public…"), not a 404. That is an absence, so those two endpoints now record null. Any other 403, and the same sentence on any other endpoint (e.g. secrets), still fails the repo. Measured on scripts, cleanroom, claude-config-backup.
  • Tests: new privrepo (must snapshot with null protection/rulesets) and proplan (Pro sentence on secrets must still fail) stubs; suite 36/36.

Verification

  • bash scripts/org-migration/tests/run-tests.sh — 36 pass, 0 fail
  • shellcheck -S info scripts/org-migration/snapshot.sh clean
  • Grepped the baseline for token-shaped strings: none

https://claude.ai/code/session_01B7KFdvsQq7eLUGEi4pRQmX

Claude Code Bot added 2 commits September 4, 2026 06:50
…ts as null

The first real baseline run failed all three private repos on the move
list (scripts, cleanroom, claude-config-backup): GitHub answers the
branch-protection and rulesets endpoints of a private repo under a free
plan with a 403 "Upgrade to GitHub Pro or make this repository public",
not a 404. That is an absence — the feature does not exist there — and
the same absence after the transfer, so snapshot.sh now records null for
exactly that sentence on exactly those two endpoints. Any other 403, and
the same sentence on any other endpoint (secrets), still fails the repo.

Test: private repo with both 403s snapshots with protection==null and
rulesets==null (fails on the previous snapshot.sh); the same sentence on
the secrets endpoint is still a failure with no file written.

Claude-Session: https://claude.ai/code/session_01B7KFdvsQq7eLUGEi4pRQmX
…26-09-04)

Owner, default branch, visibility, archived, topics, pages, secret NAMES
(no values), branch protection, and rulesets, taken before the rename.
verify.sh diffs the post-transfer snapshot against this (with jq, so the
prettier formatting the commit hook applied carries no meaning).

Claude-Session: https://claude.ai/code/session_01B7KFdvsQq7eLUGEi4pRQmX
@twistedmelonman
twistedmelonman merged commit a838a68 into main Sep 4, 2026
2 checks passed
@twistedmelonman
twistedmelonman deleted the claude/data-org-migration-baseline-01B7KFdv branch September 4, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant