web/docs/repo-split-publish-runbook.md
2026-02-17 14:40:45 -08:00

1.8 KiB

Repo Split Publish Runbook

Use this runbook after valid Gitea API credentials (username + PAT) are available.

Local Seed Repos (already initialized)

  1. launcher at /Users/vsg/Documents/VSG Codex/launcher (commit b716b52)
  2. governance at /Users/vsg/Documents/VSG Codex/governance (commit 12d5e7c)
  3. contracts at /Users/vsg/Documents/VSG Codex/contracts (commit 082b29b)

Create Remote Repos

  1. Create edut/launcher (private)
  2. Create edut/governance (private)
  3. Create edut/contracts (private or public per policy)

Example (replace <TOKEN>):

curl -fsSL -H "Authorization: token <TOKEN>" -H "Content-Type: application/json" \
  -X POST "https://git.workvsg.com/api/v1/orgs/edut/repos" \
  -d '{"name":"launcher","private":true,"description":"EDUT free launcher shell and wallet onboarding app"}'

Repeat for governance and contracts.

Or run the helper:

cd "/Users/vsg/Documents/VSG Codex/web"
./scripts/publish_split_repos.sh <gitea_pat>

Push Local Seed Repos

cd "/Users/vsg/Documents/VSG Codex/launcher"
git remote add origin https://git.workvsg.com/edut/launcher.git
git push -u origin main

cd "/Users/vsg/Documents/VSG Codex/governance"
git remote add origin https://git.workvsg.com/edut/governance.git
git push -u origin main

cd "/Users/vsg/Documents/VSG Codex/contracts"
git remote add origin https://git.workvsg.com/edut/contracts.git
git push -u origin main

Post-Publish Validation

  1. Verify each repo has expected initial commit.
  2. Verify repo visibility policy (public/private) matches boundary blueprint.
  3. Add cross-repo links in each README.
  4. Lock branch protections and required-review settings.

Current Blocker

Gitea API creation attempts with current credential material return 401 invalid username/password/token.