On this page

0221. Native terminal boundary

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.