fix: decode TUI input before routing
Some checks failed
tamq-ci / test (push) Failing after 7s

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a03397-4d51-7fd1-8ff2-946eb22ea2bc
This commit is contained in:
tegwick 2026-08-25 00:46:25 +02:00
parent 2009d01ae4
commit 452235a01f
6 changed files with 133 additions and 8 deletions

View file

@ -0,0 +1,42 @@
---
id: TAMQ-WP-ADHOC-2026-08-25
type: workplan
title: "Recognize enhanced terminal submission keys"
domain: communication
repo: tmux-amq
status: finished
owner: codex
topic_slug: coulomb-social
created: "2026-08-25"
updated: "2026-08-25"
---
# Recognize enhanced terminal submission keys
## Decode Codex TUI line submission in the PTY tap
```task
id: TAMQ-WP-ADHOC-2026-08-25-T01
status: done
priority: high
```
Reproduce the missing `#repo:` route with a real isolated Codex TUI, extend
input observation to recognize enhanced terminal Enter encodings without
rewriting pane input, add regression and real-Codex smoke evidence, install the
fix, and update the operator documentation.
## Completion evidence
- Reproduced the failure with two isolated real Codex 0.149.1 panes: Codex
submitted the source line but no durable message was created.
- Raw input capture showed CSI cursor/device replies preceding the typed route;
these contaminated the tap's observation buffer before the terminating CR.
- The observer now removes terminal protocol sequences and applies local
backspace editing only to its parsing copy while forwarding source bytes
unchanged.
- A network-disabled two-Codex rerun created one durable `#audit-core:` message,
transitioned it to `injected`, and showed the `# from flex-auth:` prompt in
the target's queued follow-up inputs.
- Full checks and installed-package verification passed. No user session or
durable user message was changed during diagnosis.