One Mux turn

One Mux turn A workflow diagram generated by Archify. 01 / Mux page 02 / Host 03 / CLI EX / Fail closed Compose Execute Settle You · type · Mux page › Compose You type Mux page · Send / Stop · Mux page › Compose Mux page Send / Stop Thread · live text · Mux page › Settle Thread live text runTurn · spawn · Host › Execute · stdin prompt runTurn spawn stdin prompt Save · session id · Host › Settle Save session id CLI · -p / resume · CLI › Execute CLI -p / resume Missing · no spawn · Fail closed › Execute Missing no spawn Timeout · kill · Fail closed › Settle Timeout kill send missing spawn timeout stdout error Legend User UI Agent logic Policy Context / trace Cloud service External system

Direct input

  • • Type in Mux page or /ask
  • • Prompt on stdin only
  • • Stop cancels the turn

Same thread

  • • First turn stores session id
  • • Next turn resumes that id
  • • One process per turn

Ceilings

  • • 1 MiB output cap
  • • 10 min timeout then kill
  • • Missing CLI blocked