| ... | ... | @@ -82,6 +82,7 @@ Review changed TypeScript and directly affected call sites for the conventions b |
| 82 | 82 | ## Change discipline |
| 83 | 83 | |
| 84 | 84 | - Preserve useful comments, invariants, and specification documentation while moving code. |
| 85 | - Require every new or broadened directive that disables or suppresses a lint, type-checker, LSP, or other static-analysis diagnostic to have an adjacent comment explaining why that diagnostic must be disabled there. The directive itself is not an explanation. Report a missing explanation as a concrete violation. |
| 85 | 86 | - Do not add large tests solely to prove a mechanical refactor. Update existing tests and imports as needed. |
| 86 | 87 | - If backend behavior changes, require focused tests. Use test implementations/layers for external services only; do not mock out core business logic. |
| 87 | 88 | - Do not require `Layer.effect`, universal namespace imports, generic `make`/`layer` names for abstract-port implementations, separate error classes for diagnostic-only fields, or new tests for import-only changes. |