Skip to content

The fidelity contract

While you are attached, your terminal shows the agent’s own bytes. This page lists what that promise covers and the test behind each part. It is part of the architecture.

Every row has a test.

FeatureHow simstim keeps itTest
Keys: kitty protocol, modifyOtherKeys, Shift+Enter, Option/AltRaw input bytes. The filter matches only two keys and never re-encodes. On reattach, the snapshot restores the kitty flags.simstim doctor keys, run end to end
Truecolour, styled underlinesTERM=xterm-ghostty with its terminfo installed on the host. COLORTERM=truecolor. The client’s TERM_PROGRAM is passed through.Fixture replay
Native scrollback and Cmd+FOutput lands in the local terminal’s normal screen. No RIS. Replay by offset avoids duplicates.Manual check plus fixture
OSC 52 clipboardPassed through. Clipboard reads go to the local terminal’s own prompt.Manual
OSC 8 links, OSC 9 and 777 notifications, OSC 9;4 progressPassed through. Missed ones are collapsed into one notice on reconnect.Fixture
Synchronized output (mode 2026)Passed through, so no flickerFixture
Mouse, focus, bracketed pastePassed through, and reset on detachx/vt baseline after detach
Terminal queries (DA, XTVERSION, OSC 10/11, kitty query)The leader’s terminal answers. With no client attached, the vt child answers from a cached profile.Fixture with no client
ResizeThe leader rule, plus SIGWINCH on every attachManual, two devices
Kitty graphics, sixelPassed through while attached. Not restored on reattach. This is a known limit.Documented
Added delay per keystrokeTarget: under 1 ms on the clientPerformance overlay