fix(install): sweep persona git-clone URLs to Gitea (#37) #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/install-path-gitea"
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?
What
Sweeps git-clone URLs in 50 files (49 persona files + SHARED_RULES.md migration callout) plus a DOCUMENTATION_POLICY link. 55 URL substitutions total. Per-persona breakdown in commit message.
This is the BIG persona-template PR for internal#37. Phase 1 findings: internal#38.
Per-orchestrator-decision strategy
Per Q1 (A/B/C decision):
docs,molecule-sdk-python)https://git.moleculesai.app/molecule-ai/<repo>.git(anonymous)internal,molecule-controlplane,molecule-core,molecule-app,landingpage, etc.)https://oauth2:${GITEA_TOKEN}@git.moleculesai.app/molecule-ai/<repo>.gitGITEA_TOKEN— tracked at internal#44. Until #44 lands, persona boot steps that clone these WILL FAIL.SHARED_RULES.md callout
Adds a "Post-2026-05-06 migration in progress" block at the top, naming:
gh repo clone Molecule-AI/...etc. call across persona files is permanently broken until this lands).So: persona authors who hit a boot failure on a
git cloneline know it's #44; persona authors who hit agh ...failure mid-task know it's #45.Files NOT touched in this PR
Molecule-AI/<repo>mentions (most of which areghCLI flag args). Belongs in #45.documentation-specialist/schedules/daily-changelog.md. Per Q3, leave for audit trail.gh repo clone Molecule-AI/internalstyle commands embedded in persona steps (these areghcalls, see #45).Verification
grep -rEnH "https://github\.com/Molecule-AI/[^/]+\.git" .→ 0 hits (all clone-style URLs migrated).grep -rEn "https://github\.com/Molecule-AI/[^/]+/blob/" .→ 0 hits (the 1 active doc-link migrated to Gitea path-shape/src/branch/).cp-be/initial-prompt.md(clones private molecule-controlplane) showsoauth2:${GITEA_TOKEN}@...URL.sdk-dev/initial-prompt.md(clones public molecule-sdk-python) shows anonymous URL.DoD
Pure-docs PR. No tests / security / observation / migration / version bump.
Back-compat caveat (loud): this PR does not maintain compatibility with the old GitHub clone path because that path is gone (org suspended). Public-repo personas immediately work better than before; private-repo personas regress until #44 lands. Trade-off accepted by orchestrator (Q1 + this PR's dispatch).
Hostile self-review (3 weakest spots)
Private-repo personas regress at boot until #44 lands. A persona that needs
molecule-corecannot complete step 1 ofinitial-prompt.mduntil workspace-bootstrap injectsGITEA_TOKEN. Mitigation: SHARED_RULES.md callout names #44 explicitly so triage doesn't require detective work. Accepted because: orchestrator's Q1 explicitly chose to land NOW with documented breakage rather than wait on coordination — better than no migration at all, and most demo-relevant personas (devops, frontend, qa) only need public-repo + don't depend onghheavily.gh ...calls all silently broken. Personas likepm,release-manager,triage-operator,dev-leadusegh pr list,gh run list, etc. to do their jobs. Post-#37, those calls fail becauseghdoesn't talk to Gitea. Mitigation: SHARED_RULES.md callout names #45 explicitly. Accepted because: the alternative (rewrite hundreds ofgh ...calls inline) is order-of-magnitude bigger than #37's scope and requires a separate migration design (tea vs curl vs shim — see #45).The
Unknown repo, defaulting to public anonymousbranch in my sweep script could mis-tag a private repo as public. All actual repos cloned by personas are in either the PRIVATE or PUBLIC list — verified by theUnique repo targetssurvey before running. NoWARN: unknown repolines were emitted by the script. Accepted because: future persona authors who add a clone of a not-yet-listed repo would default to anonymous (correct for public, broken-but-recoverable for private). Tightening the script to fail on unknown repos would catch silent-add of a private repo, but that's pre-emptive design for a class of bug that hasn't happened.Refs: internal#37, internal#38, internal#42, internal#44, internal#45.
Checkout
From your project repository, check out a new branch and test the changes.