| name | rule-canonical-config |
| description | Rule mapping for canonical-config |
Rule canonical-config
Apply this rule whenever work touches:
libs/methodologies/*/rules/src/rules.config.ts
The methodology rule registry (rules.config.ts per methodology) is the single source of truth. Several files derive from it:
codecov.yml — coverage flag-per-rule, generated by scripts/generate-rule-readmes.ts
- per-rule READMEs under
apps/methodologies/.../*/README.md
- methodology application READMEs under
libs/methodologies/*/rules/README.md
- framework rules manifests under
dist/methodology-framework-rules/*.json
After any edit to rules.config.ts, run all four generators. CI will fail if the generated files are out of sync with the source.
pnpm generate:readmes
pnpm generate:manifest
pnpm generate:methodology-readmes
pnpm generate:methodology-framework-rules
The same principle applies to the AI capability docs under .ai/: after editing any .ai/rules/*.md, .ai/capabilities/skills/*.md, or .ai/capabilities/agents/*.md, run pnpm ai:sync to propagate the change to the per-tool adapters (CLAUDE.md, Cursor, Codex), then pnpm ai:check to validate parity.