What problem does it solve?
Multi-client codebases tend to blur the line between shared platform code and per-client code, leading to hardcoded client checks, config files that replace instead of merge, and scattered client logic that makes adding new clients painful.
Core Features & Use Cases
- Boundary Audit: Maps core, client, and blurred zones, then reports violations such as hardcoded client names, client-specific conditionals, and migration number conflicts with severity ratings.
- FORK.md Documentation: Generates a FORK.md file documenting the architecture, migration numbering ranges, config merge pattern, and steps to add a new client.
- Refactoring Plans: Produces concrete steps and scripts to move client code out of core, replace client checks with feature flags, and implement config merging.
- Use Case: Before onboarding a second or third client to an existing SaaS project, run the audit to find every place where client identity leaks into shared code and get a prioritized fix list.
Quick Start
Ask Claude to run a fork discipline audit on this project and report any core/client boundary violations.