Repository navigation
job tool: supervised background jobs - #56
Open
hello-pollux wants to merge 1 commit into
Open
hello-pollux wants to merge 1 commit into
hello-pollux wants to merge 1 commit into
Conversation
First-class tool replacing the 'block forever or shotgun-timeout' choice
for commands that run >2-3 min (builds, installs, CI, big fetches): start
a job detached with a log file, poll status/log every 15-30s, decide as
it runs. Backed by infra/scripts/job.sh in the agent home; this is its
harness-facing facade with a description that teaches the polling loop.
Rule lives in the agent's always-loaded kill-hung-tool-calls-fast memory
('will this run >2-3 min? -> job, not blocking bash').
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reliability guardrail (from the stuck-work discussion): instead of blocking a turn on one long tool call (can stall forever) or killing legitimate work with a blanket timeout, starts work detached with a log file and the agent polls it at 15-30s and decides as it runs.
infra/scripts/job.shin the agent home (canonical impl; this tool is the facade).