Skip to content

Headless automation: resume cannot take a new prompt; chat REPL never exits on piped input #55

Closed

Description

@ajianaz

What

Observed while driving the Vetio video pipeline from tole (2026-09-11 E2E test):

  • tole resume <id> only replays approvals — it cannot accept a NEW user message, so a multi-mission headless flow must start a separate run session per mission.
  • tole chat --resume <id> with a piped message completes the turn but then blocks forever waiting for the next line (REPL never exits on single-turn piped use).

Proposal

  1. Allow resume <id> "<prompt>" to append a user message and run one turn.
  2. Give chat an explicit exit path: exit after the turn when stdin is EOF / an --exit-on-turn flag.

Evidence

Session s-1a0905557e3-147360 (173 durable entries); piped chat run hung until the 420s watchdog killed the wrapper.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions