Mintlify Purge — Business Learnings
Context
Migrated from Mintlify branding to Choco branding across the entire SO1 platform documentation stack. This was a vendor-abstraction exercise — decoupling the documentation system identity from a specific vendor name.Impact
- 63 files modified across 16 git repositories within the
so1-consolemonorepo - 9 documentation fragment directories renamed from
docs/mint/todocs/choco/ - 1 GitHub Actions workflow retargeted from
Dev4rno/mintlify-docstochoco-hq/choco-forge - Zero downtime — all changes are content/config level, no runtime impact
Operational Takeaways
- Vendor coupling runs deep: A single documentation platform name propagated into 63 files across agent specs, runbooks, API references, prompt templates, CI workflows, and methodology docs. Future vendor integrations should use abstracted names from day one.
- Monorepo submodule complexity: With 30+ nested git repos, a “simple” find-and-replace becomes 16 separate commits plus a parent commit. Tooling that understands submodule boundaries is essential.
-
Fragment manifests as coupling points: The
devarno.fragment.jsonpattern creates a tight coupling between each subproject and the documentation platform’s schema URL. Consider a local schema reference instead. -
Prompt templates carry vendor names: Role prompts (
mintlify-master) and pipeline prompts reference vendor names in both content and directory paths. Prompt registries (index.json) need updating when names change.
Action Items
- Update GitHub Secrets: rename
MINTLIFY_SYNC_TOKEN→CHOCO_SYNC_TOKENin thelife-hacksrepo - Verify
choco-hq/choco-forgerepository exists and accepts dispatch events - Update any external CI/CD references to old workflow filename (
sync-to-mintlify.yml) - Audit remaining vendor-specific naming in other repositories outside this monorepo