Skip to content

Improve type safety ahead of PII system work #614

Description

@binaryaaron

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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions