Reference
Early-warning list for monorepos and moon. Kill bad plans before they ship.
| Smell | Why it hurts | Counter-move |
|---|---|---|
| Collocation only | No graph/tasks/affected → slow mess | moon workspace + projects + tasks |
| Full CI every push | Cost scales with repo size, not change | --affected / graph-aware CI |
| Unowned spaghetti deps | Anyone imports anything; refactors die |
layers/tags +
constraints / CODEOWNERS
|
| No ownership map | Review chaos; silent drive-by breaks | owners + default CODEOWNERS paths |
| Wrong/missing inputs | Cache lies; “green” misses real changes | Declare inputs/outputs; fix hashes |
| No toolchain pins | Laptop ≠ CI version roulette | .moon/toolchains + full semver |
| Big-bang migration | History/CI/habits blow up together | Incremental adopt; migrate-nx/turbo if needed |
| Hard isolation needed | Access, legal, release independence | Stay polyrepo (or synthetic later) |
projects discovery · project graph.moon/tasks inheritance · targetsmoon run … --affectedconstraints.enforceLayerRelationships /
tagRelationships
codeowners / project ownersversion pins