045 taint stripped at echo boundary

✓ Passing This code compiles and runs correctly.

Code

input.kz

Must fail at runtime with:

CONTAINS unsanitized

Error Verification

Expected Error Pattern

Taint laundering through a plain-typed echo: []const u8<unsanitized!> passed
to echo(data: []const u8) which returns | out []const u8 (no phantom). The
<unsanitized!> obligation is never discharged. The checker should block the
print of `result` because the taint obligation from `s` was never satisfied.
If the checker is blind after the echo boundary, this is a design gap — the
plain-typed gateway launders the taint silently.

Actual Compiler Output

error[KORU030]: Resource 's' with phantom state <unsanitized!> was not discharged. No event accepts <!unsanitized>.
  --> auto_discharge:48:0

❌ Compiler coordination error: Auto-discharge failed (multiple disposal options or no disposal event)
error: CompilerCoordinationFailed
/Users/larsde/src/koru/tests/regression/300_ADVANCED_FEATURES/335_OBLIGATION_STRESS/335_045_taint_stripped_at_echo_boundary/backend.zig:94:13: 0x100a4e1b7 in emit (backend)
            return error.CompilerCoordinationFailed;
            ^
/Users/larsde/src/koru/tests/regression/300_ADVANCED_FEATURES/335_OBLIGATION_STRESS/335_045_taint_stripped_at_echo_boundary/backend.zig:190:28: 0x100a4eea3 in main (backend)
    const generated_code = try RuntimeEmitter.emit(compile_allocator, final_ast);
                           ^

Test Configuration

MUST_FAIL