feat: add experimental pushy delivery mode
Some checks failed
tamq-ci / test (push) Has been cancelled
Some checks failed
tamq-ci / test (push) Has been cancelled
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a03397-4d51-7fd1-8ff2-946eb22ea2bc
This commit is contained in:
parent
8186550c9a
commit
9ed8b62b45
16 changed files with 441 additions and 31 deletions
71
workplans/TAMQ-WP-0010-experimental-pushy-delivery.md
Normal file
71
workplans/TAMQ-WP-0010-experimental-pushy-delivery.md
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
---
|
||||
id: TAMQ-WP-0010
|
||||
type: workplan
|
||||
title: "Experimental pushy input delivery mode"
|
||||
domain: communication
|
||||
repo: tmux-amq
|
||||
status: active
|
||||
owner: codex
|
||||
topic_slug: coulomb-social
|
||||
planning_priority: P0
|
||||
planning_order: 15
|
||||
created: "2026-08-24"
|
||||
updated: "2026-08-24"
|
||||
---
|
||||
|
||||
# Experimental pushy input delivery mode
|
||||
|
||||
Add an explicit, experimental mode that submits routed messages to the target
|
||||
pane's input for interactive coding agents that manage queued user prompts.
|
||||
|
||||
## Required operator contract
|
||||
|
||||
`tamq --mode pushy REPO...` opts the whole managed endpoint into pushy
|
||||
delivery. The default remains `--mode output`; `--mode inbox` retains durable
|
||||
inbox-only behavior, and `--no-display` remains a compatibility alias for
|
||||
inbox mode.
|
||||
|
||||
Pushy delivery injects exactly one sanitized, single-line comment of the form
|
||||
`#sender: body [message-id]` and then one Enter key. This is deliberately safe
|
||||
as a no-op when an ordinary shell has an empty prompt, while coding-agent TUIs
|
||||
can receive it as submitted user input. The message becomes `injected` after
|
||||
tmux accepts both operations. Pushy mode may append to input already being
|
||||
edited and is therefore experimental and explicitly opt-in.
|
||||
|
||||
## Add explicit endpoint modes
|
||||
|
||||
```task
|
||||
id: TAMQ-WP-0010-T01
|
||||
status: progress
|
||||
priority: high
|
||||
```
|
||||
|
||||
Add `--mode output|inbox|pushy`, retain compatible `--no-display` behavior,
|
||||
reject conflicting mode flags, register the selected endpoint mode, expose a
|
||||
pushy service capability, and report the selected mode in startup status.
|
||||
|
||||
## Submit safely framed input
|
||||
|
||||
```task
|
||||
id: TAMQ-WP-0010-T02
|
||||
status: todo
|
||||
priority: high
|
||||
```
|
||||
|
||||
Sanitize all controls and collapse multiline messages into escaped text. Use
|
||||
one checked tmux command list to send the literal comment and a distinct Enter
|
||||
operation. Do not reuse the terminal-output path, and mark the durable record
|
||||
`injected` only after tmux accepts both operations.
|
||||
|
||||
## Prove and document the experiment
|
||||
|
||||
```task
|
||||
id: TAMQ-WP-0010-T03
|
||||
status: todo
|
||||
priority: high
|
||||
```
|
||||
|
||||
Cover CLI conflicts and capability restart, store validation, exact framing,
|
||||
one-time service delivery, and real tmux input submission. Update help, README,
|
||||
and SCOPE with the risk boundary; run full checks, install, and exercise a
|
||||
controlled live pushy session without altering user messages.
|
||||
Loading…
Add table
Add a link
Reference in a new issue