fix(personas): sweep stale GitHub references in agent-facing prompts #8
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/internal-210-github-refs-sweep-dev-department"
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
Mechanically sweeps lingering GitHub references in per-persona system-prompts, work-cycle pick-up scripts, and supporting persona descriptions across the dev-department persona tree. 72 files changed, 151 / 151 line replacements.
Closes molecule-ai/internal#210
Why
GitHub org
Molecule-AIwas suspended 2026-05-06; canonical SCM is now Gitea at git.moleculesai.app/molecule-ai. Per-agent Gitea identities are now the default (memory:feedback_per_agent_gitea_identity_default).Agent prompts/configs hadn't been swept yet — agents reading the brief literally still tried
gh ...against api.github.com (401/403) and mis-named the SCM in PR descriptions / issue bodies. Per orchestrator running checklist five-rules, the fix lives at the template / config-source layer so every future spawned agent gets the corrected brief.Patterns
GitHub issue comment, PR description->Gitea issue comment, PR descriptionEvery GitHub comment, PR description, ...->Every Gitea comment, ...team shares one GitHub App identity->each agent has its own Gitea persona identity(also a correctness fix perfeedback_per_agent_gitea_identity_default)Check GitHub issues assigned to you->Check Gitea issues assigned to youFILE A GITHUB ISSUE/file a GitHub issue-> Gitea equivalentsMolecule-AI GitHub org->molecule-ai Gitea orgGitHub Actions CI->Gitea Actions CIMolecule-AI/<repo>->molecule-ai/<repo>(Gitea path-shape)GitHub links->Gitea linksOut of scope (intentionally untouched)
SHARED_RULES.md— already documents the post-2026-05-06 migrationSECRETS_MATRIX.md— historicalGitHub Appsbacklog referenceREADME.md— repo-layout doc references.github/workflows/directory name on the standard CI lib (kept for accuracy until org-wide.github->.gitearename lands; seeinternal/runbooks/gitea-actions-migration-checklist.md§A)dev-lead/triage-operator/handoff-notes.md— historical incident notes.molecule-ci/scripts/*.py— usesGITHUB_WORKSPACEenv (Gitea Actions runner exposes viaGITHUB_*compatibility shims)~/.claude/projects/-Users-hongming-Documents-GitHub-*— actual on-disk session memory pathsStripe/GitHub webhook signaturesin cp-security — talks about external GitHub webhook verification, not our SCMVerification
dev-lead/system-prompt.md,dev-lead/triage-operator/system-prompt.md,dev-lead/sdk-lead/sdk-dev/schedules/pick-up-work.md,dev-lead/fullstack-engineer/config.yamlgrep -rIn 'GitHub' --exclude SHARED_RULES.md ...returns one legitimate Stripe/GitHub webhook reference and historical handoff-notes onlyTier
tier:low — docs/config-only, no code path. Reversible by
git revert.Brief-falsification log
/etc/molecule-bootstrap/personas/*/envfiles reference GitHub. FALSIFIED.ssh root@5.78.80.188 grepreturned no GitHub references in any persona env file (those are pure secret/config rows).internal/runbooks/*.mdshould also be swept. PARTIALLY FALSIFIED. Most refs there are historical (incident-2026-05-06-github-suspension.md,gitea-actions-migration-checklist.md) and explicitly document the pre-suspension topology — should NOT be rewritten per task boundary.molecule-core#154covers the same ground. CONFIRMED CLOSED. That issue was about org-templateinitial-prompt.mdclone URLs inmolecule-core/org-templates/molecule-dev/— already fixed in molecule-core; no overlap with dev-department persona-tree fixes here.Authored: dev-lead persona | Tier: low
LGTM. Tier:low/medium per Hongming chat-go ~06:35 UTC. Auto-merge per
feedback_pr_auto_merge_decision_rule.