## Summary - Track follow-up type-safety improvements needed before broader PII system work. - Focus on dynamic runtime boundaries: config patches, JSON/record payloads, NER metadata, CLI/tooling inputs, and PII replacer internals. - Prefer typed boundary models, `TypeIs` guards, protocols, and narrow helpers over `Any`, unchecked casts, or local type ignores. ## Current stack - #608 updates ty and fixes checker-surfaced compatibility issues. - #609 centralizes sparse config patch validation. - #610 adds JSON and NER payload boundaries. - #611 tightens checked-source typing coverage. - #612 includes top-level tools in type checks. - #613 brings PII replacer runtime boundaries under ty. ## Follow-up - Audit remaining `Any`, `cast`, and type-ignore usage in PII-adjacent paths. - Add typed payload boundaries where data crosses from config, records, generated JSON, or NER outputs into PII workflows. - Keep test coverage focused on behavior at those boundaries.
Summary
TypeIsguards, protocols, and narrow helpers overAny, unchecked casts, or local type ignores.Current stack
Follow-up
Any,cast, and type-ignore usage in PII-adjacent paths.