Suggested Migration Order¶
What "migration" means¶
Migrating a repo to this standard means performing the following steps:
- Add
.repo-policy.ymldefining the repo profile, commands, quality gates, release, and deploy settings. - Add
.nvmrc(for Node repos) with the project's Node.js version. - Add rulesync configuration and source rules (
.rulesync/rules/*.md,rulesync.jsonc). - Generate AI/editor outputs using
npx rulesync generate. Verify all targets produce expected files:Commit generated files:find AGENTS.md .cursor .agents .rulesync -maxdepth 4 -type f -print | sortAGENTS.md,.cursor/rules/*.mdc,.agents/rules/*.md, and.agents/memories/*.md(ifantigravity-idetarget is enabled). - Add Dependabot by copying
templates/dependabot.ymlto.github/dependabot.yml. - Add governance files:
CONTRIBUTING.md,LICENSE(orLICENSE.md),.github/PULL_REQUEST_TEMPLATE.md. Setvisibilityandlicensein.repo-policy.yml. - Add semantic PR check (
templates/workflows/semantic-pull-request.yml). - Add AI rules check (
templates/workflows/ai-rules-check.yml). - Preserve existing deploy behavior -- do not modify deploy/release workflows unless explicitly required.
- Run coverage checks: Run the coverage command for the repo. Remove the local generated
coverage/directory after running. Ensurecoverage/is in.gitignore. Stage deletion of previously tracked coverage files if they exist (these will appear asD coverage/...which is acceptable cleanup). - Check for non-dot
agents/paths:Expected output should be empty. If it is not, verify those paths are intentional and documented.find agents -maxdepth 3 -type f -print 2>/dev/null || true - Run the assessment script (
scripts/assess_repo_standards.py) and resolve any blockers. - Configure branch protection rules with required checks (see
docs/branch-protection.md).
Pilot¶
Start with low-risk repositories that exercise the standard without complex deployment or release behavior.
- Example TypeScript library or worker
- Example Python integration or service
Next batch¶
Expand to repositories with moderate CI, dependency, or deployment needs after the pilot repositories pass assessment cleanly.
- Example frontend or backend application
- Example Cloudflare Worker
- Example Python service
- Example Home Assistant integration
- Example scheduled job or automation repo
- Example API service
Later / special¶
Migrate higher-risk or unusual repositories only after the standard is proven in simple Node and Python repos.
- Example monorepo
- Example multi-language service
- Example repo with custom release automation
- Example repo with complex deployment rules
- Example repo with legacy CI constraints