For brownfield systems, we mandate a strict rule: any new file written by an agent must maintain 100% type safety, even if it has to interface with an untyped legacy core. We build type-safe wrapper boundaries around the old code to isolate the technical debt.