0221. Native terminal boundary
- Status: Accepted (owner implementation request, 2026-11-12)
- Plan: M-TUI.0, decision D2; authority is detailed in ADR-0226 (D3)
Use a trusted tty FFI package behind an explicit
platform witness, matching the existing SQLite witness pattern.
Open /dev/tty, preserve stdout, and keep all
rendering in pure Harness. Restore terminal state on close, exit
and handled termination signals. Promote to a platform capability
only after the API settles. Native crashes cannot promise
restoration; interpreter helper behavior requires its own PTY
evidence.