TypeScript
chore(macroscope): review diagnostic overrides (#8917)
t3-code[bot]ad38700ac678
diff --git a/.macroscope/approvability.md b/.macroscope/approvability.mdindex 37be2dc6077..ce4f160ae60 100644--- a/.macroscope/approvability.md+++ b/.macroscope/approvability.md@@ -1,3 +1,7 @@Use Macroscope's default approvability criteria.Additionally, any pull request that changes product defaults is not auto-approvable and requires human review.++Any pull request that adds or broadens a directive that disables or suppresses a lint,+type-checker, LSP, or other static-analysis diagnostic is not auto-approvable and requires+human review. This includes file-level, line-level, and configuration-level overrides.diff --git a/.macroscope/check-run-agents/effect-service-conventions.md b/.macroscope/check-run-agents/effect-service-conventions.mdindex b76d56d45db..57254a1f6ee 100644--- a/.macroscope/check-run-agents/effect-service-conventions.md+++ b/.macroscope/check-run-agents/effect-service-conventions.md@@ -82,6 +82,7 @@ Review changed TypeScript and directly affected call sites for the conventions b## Change discipline- Preserve useful comments, invariants, and specification documentation while moving code.+- 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.- Do not add large tests solely to prove a mechanical refactor. Update existing tests and imports as needed.- If backend behavior changes, require focused tests. Use test implementations/layers for external services only; do not mock out core business logic.- 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.