Skip to content

Long-running jobs: formalize the nohup-background + poll pattern as a tool #59

Closed

Description

@ajianaz

What

CPU-bound jobs (30-60s video render) exceed the run_command ceiling. The agent improvises: nohup launch + log redirect, then polls a result file with read_file until it appears. Works but costs turns and relies on the model knowing the pattern.

Proposal

A job_start/job_poll tool pair (or run_command --background --watch ): job id immediately, poll status/output, optional completion predicate on a file path.

Evidence

Both Vetio missions (2026-09-11) used the improvised pattern successfully - assembled unprompted by the agent.

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