--- 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" state_hub_workstream_id: "7e916a25-f307-5b0f-9fe6-9543d51170fb" --- # 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 state_hub_task_id: "e2a0e9ce-3cb4-5300-88b3-e77d5c5ac3b3" ``` 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.