Measured while executing #5647 (lint pass over the edited files). Filed unassigned, observational — pre-existing, warning-level, no gate is red.
Measurement
packages/types/src/__tests__/phase2-schemas.test.ts imports 10 schema names from ../zod/index.zod that no test in the file uses. On the pre-PR-#5823 baseline (ad404e057), package-level eslint reports 10 @typescript-eslint/no-unused-vars warnings on the import block:
AppActionSchema, AppMenuItemSchema, ThemePreviewSchema, ReportViewerSchema, BlockEditorSchema, BlockInstanceSchema, ActionExecutionModeSchema, ActionCallbackSchema, ActionConditionSchema, CRUDSchema
PR #5823 removes ThemePreviewSchema (name retired), leaving 9. The rule is warning-level in this repo, so nothing is red — but each unused import mildly overstates what the file covers: a reader (or a coverage-by-import census) sees ReportViewerSchema imported by the acceptance suite and can conclude it is pinned, when nothing asserts against it.
Shape of the cleanup
Drop the unused names from the import block (one mechanical edit), or add the missing acceptance assertions if any of these schemas are meant to be pinned here — that choice is per-name and belongs to whoever takes the card. Note the same census method applies to the other big acceptance files in packages/types/src/__tests__/ and was not run there; this card measured only phase2-schemas.test.ts.
Positive control on the same pipeline: the baseline lint run also flags nothing else in this file, and the count moved 10 → 9 exactly when one name was retired — the warnings track real imports, not lint noise.
Generated by Claude Code
Generated by Claude Code
Measured while executing #5647 (lint pass over the edited files). Filed unassigned, observational — pre-existing, warning-level, no gate is red.
Measurement
packages/types/src/__tests__/phase2-schemas.test.tsimports 10 schema names from../zod/index.zodthat no test in the file uses. On the pre-PR-#5823 baseline (ad404e057), package-leveleslintreports 10@typescript-eslint/no-unused-varswarnings on the import block:AppActionSchema,AppMenuItemSchema,ThemePreviewSchema,ReportViewerSchema,BlockEditorSchema,BlockInstanceSchema,ActionExecutionModeSchema,ActionCallbackSchema,ActionConditionSchema,CRUDSchemaPR #5823 removes
ThemePreviewSchema(name retired), leaving 9. The rule is warning-level in this repo, so nothing is red — but each unused import mildly overstates what the file covers: a reader (or a coverage-by-import census) seesReportViewerSchemaimported by the acceptance suite and can conclude it is pinned, when nothing asserts against it.Shape of the cleanup
Drop the unused names from the import block (one mechanical edit), or add the missing acceptance assertions if any of these schemas are meant to be pinned here — that choice is per-name and belongs to whoever takes the card. Note the same census method applies to the other big acceptance files in
packages/types/src/__tests__/and was not run there; this card measured onlyphase2-schemas.test.ts.Positive control on the same pipeline: the baseline lint run also flags nothing else in this file, and the count moved 10 → 9 exactly when one name was retired — the warnings track real imports, not lint noise.
Generated by Claude Code
Generated by Claude Code