Add terminal E2E matrix runner

This commit is contained in:
slhx agent
2026-06-21 17:36:24 +02:00
parent 86af6d774e
commit 5d7f239d34
3 changed files with 216 additions and 80 deletions
+11
View File
@@ -3,6 +3,15 @@
`zig build terminal-e2e` runs `tools/terminal_e2e.py` against the compiled `mim`
binary and writes ignored artifacts under `.zig-cache/terminal-e2e/<scenario>/`.
Matrix input profiles:
- `ios-default-qwertz-space-path` means the scenario may use only letters and
Space from the default iOS software keyboard. No Esc, Ctrl, Alt, function keys,
arrow keys, or symbol-layer punctuation should appear in that profile. Use
this for primary mobile workflows.
- `attached-keyboard` is allowed to cover Esc, arrows, Home/End, punctuation, and
other physical-key aliases.
Artifact roles:
- `manifest.tsv`: stable scenario facts, hashes, bare-LF status, and artifact list.
@@ -21,6 +30,8 @@ Golden policy:
see.
- Updating artifacts is safe only after the change is intentional and the receipt
names the changed UI/control-byte behavior.
- Adding a mobile scenario must preserve the `ios-default-qwertz-space-path`
contract unless the issue explicitly targets attached keyboards.
- Bare LF in raw-mode terminal output is a regression unless a scenario explicitly
proves a non-raw stream. Raw-mode rendering should use CRLF to avoid diagonal
terminal skew.