OpenProgram Docs

Queue and steering

KeyActionDestination
Enter, send buttonSteerThe exact active execution, at a supported safe point
Cmd/Ctrl+EnterQueueOne follow-up after the preceding turn ends
StopCancelSeparate control; neither action above cancels

No standing preference: the key decides at send time. The active session and its running execution set the target; another session or sub-Agent is never picked.

Delivery

Queued row kept Bind execution, version Command execution.steer Safe point the next one Persisted user message
  1. Queuedrow kept
  2. Bindexecution, version
  3. Commandexecution.steer
  4. Safe pointthe next one
  5. Persisteduser message
AspectRule
Entry kept untilA matching applied receipt confirms the user message is persisted; safe-point admission alone stays applying
Command carriesOnly message, exact execution identity, version, idempotency key. No permissions, models, tools or program changes
Before postingThe client keeps the immutable envelope
Lost acknowledgementDelivery unconfirmed: row stays visible, normal drain cannot resend, confirmation retries reuse the envelope
ConfirmationOne per row, asked again when its execution changes (op:execution-update), the session's run slot changes or the socket reopens; only a transport failure waits on a timer, doubling to 30 s. A definitive receipt clears it
Stale-version rejectionOne new envelope against a fresh snapshot of the same execution
TargetBound when the user asks. A version retry refreshes the version and cannot select a replacement execution
Unsupported or endedEntry stays queued; idle reconciliation drains normal follow-ups FIFO. At execution end undelivered steering is rejected, and rows can resume queuing
StopKeeps an in-flight instruction as an unsent draft, even before admission. An uncertain command stays immutable until a definitive receipt; Stop cannot erase it or allow ordinary dispatch
ToolsA completed tool batch is never skipped because steering arrived
Owner expiryCannot authorize a late input write. Execution closure resolves undelivered commands, even awaiting effect reconciliation

Errors are visible; injected flags are always released after transport failure. References: Codex prompting, App Server steering, which binds to the expected turn with no runtime overrides. OpenProgram uses its execution command service and safe points, with no second session inbox, message broker or provider-specific transport.

Queue card

One raised card docked above the input box. The heading counts rows and how many join this turn, and collapses the card.

Row partDetail
TagThis turn (steer in flight), Next turn (waiting), Not sent or Unconfirmed (after a failure)
TextFirst line; clicking expands the full message and attachments
Actions, on hover or keyboard focusAdd to this turn (non-cancelling), retry, edit, removal when delivery is not uncertain
Clear allOne write removing every row except those being delivered or edited, so it never drains a row about to go
LimitsAttachments keep their draft behavior; steering accepts text up to 4,096 Unicode code points

Storage

DataWhere
Ordinary queue entries, attachmentsRenderer memory
Pending text steering receipts, stopped or ended steering draftsSame-window session storage; restored on refresh without replaying chat; best-effort, not a second command log
Accepted commandServer, canonical acceptance
Applied inputPersisted user message

Pending steering cannot drain as ordinary messages until resolved. A steer settles when a read or transcript update delivers a row carrying its command id; after a read, unresolved commands are confirmed with their original identity.

History

  • A normal follow-up resolves its predecessor from the durable session head before updating the server mirror, including the preceding reply, tool results and delivered steering. Explicit branch predecessors stay.
  • Cancelled and interrupted turns keep partial content and show terminal status, including empty replies. A cancellation notice does not infer who cancelled.

Function retry acknowledgement

Each retry carries a request identity echoed by its acknowledgement or rejection. The acceptance timer ends at dispatch, not when the function finishes. A rejection or disconnected send restores only that pending card and reports the cause once. Missing acknowledgements stay uncertain and are not resubmitted. History and surface validation stay authoritative.

Acceptance and audit coverage
  • Two queued follow-ups each start after the preceding turn ends.
  • Text added while a tool runs: same execution and tool continue; the instruction reaches later model context.
  • Lost acknowledgement: row retained, same command replayed without duplicate delivery.
  • Ended, unavailable and unsupported targets retain input and report state.
  • Scope switching cannot steer another conversation.
BoundaryBehaviorRegression
Input preparationExpanded paste, attachments, 4,096 code pointssubmit-reliability.test.mjs
Target ownershipSession identity; snapshot replacement; same-execution version retrysubmit-reliability.test.mjs, test_execution_cursor_auth_audit.py
Duplicate and uncertain commandsSame-envelope retry; one timer; bounded backoffsubmit-reliability.test.mjs
Stop before admissionSnapshot and version-rejection races retain the draftsubmit-reliability.test.mjs
Refresh and storageAccepted, lost ACK and stopped commands; exact replay; storage denialtest_queue_steer.py, submit-reliability.test.mjs
StreamingText, reasoning and silent wait interrupt; partial content survivestest_streaming_steer.py
Tools and pauseWhole tool batch completes; paused inputs enter continuationtest_safe_points.py, test_continue_step_steer.py
Durable commandsAccepted order, idempotency, checkpoint rollback, owner expirytest_safe_points.py, test_continue_step_steer.py
HistoryCancelled partial reply; explicit next-turn predecessor; no head rewindtest_streaming_steer.py, test_queue_steer.py

Also covered: multiple accepted inputs, provider silent waits, pause and continuation, cold history, cross-session authorization.

Implementation status

Implemented: canonical execution commands, non-cancelling queue controls, automatic receipt confirmation, terminal assistant status notices, the lifecycle contract above. Static checks do not replace runtime acceptance in the App.

Last updated · 2026-11-25