Skip to content

feat(fleet): two-press Stop for writing agents and per-descendant receipts - #6448

Open
Hmbown wants to merge 1 commit into
mainfrom
feat/fleet-stop-receipts-governor
Open

Hmbown wants to merge 1 commit into
mainfrom
feat/fleet-stop-receipts-governor

Conversation

@Hmbown

@Hmbown Hmbown commented Sep 23, 2026

Copy link
Copy Markdown
Owner

No-Issue: 0.10.1 Fleet addenda F4/F5; no public issue.

Addenda F4/F5 (0.10.1):

  • F4: stopping an agent that can change files takes two presses of X
    (or X then Enter) in /subagents; Esc disarms, and an armed Stop
    clears if the agent finishes first. A Stop cascades to descendants,
    and each write-scoped descendant stopped with it now gets its own
    work-preservation receipt instead of vanishing behind the parent's
    single line. Read-only descendants have no baseline and get none.
  • F5: GET /v1/agent-runs returns a governor object (launch slots,
    max slots, paused, recent rate limits, status line) so a client can
    say why a queued run waits. docs/SUBAGENTS.md documents the
    governor.

Mined from the unreviewed 0.10.1 WIP branch. Correction: the WIP's
/subagents header line for the governor had no production caller (the
TUI gets agent lists from the Engine without governor state); rather
than ship an unwired view hook, it is removed and the docs state that
limit. The queued-row reason and the API object are what ships.

Evidence: 1612 passed, 0 failed (11,651 skipped) across budget_handback,
views::, agent_runs, runtime_api::tests, subagent, golden, phase_strip
and settings selections. TUI all-target/all-feature Clippy with CI
flags and fmt passed; dead-code 279 and blocking-call budgets unchanged.

🤖 Generated with Claude Code

…eipts

Addenda F4/F5 (0.10.1):
- F4: stopping an agent that can change files takes two presses of `X`
  (or `X` then Enter) in /subagents; Esc disarms, and an armed Stop
  clears if the agent finishes first. A Stop cascades to descendants,
  and each write-scoped descendant stopped with it now gets its own
  work-preservation receipt instead of vanishing behind the parent's
  single line. Read-only descendants have no baseline and get none.
- F5: `GET /v1/agent-runs` returns a `governor` object (launch slots,
  max slots, paused, recent rate limits, status line) so a client can
  say why a queued run waits. docs/SUBAGENTS.md documents the
  governor.

Mined from the unreviewed 0.10.1 WIP branch. Correction: the WIP's
/subagents header line for the governor had no production caller (the
TUI gets agent lists from the Engine without governor state); rather
than ship an unwired view hook, it is removed and the docs state that
limit. The queued-row reason and the API object are what ships.

Evidence: 1612 passed, 0 failed (11,651 skipped) across budget_handback,
views::, agent_runs, runtime_api::tests, subagent, golden, phase_strip
and settings selections. TUI all-target/all-feature Clippy with CI
flags and fmt passed; dead-code 279 and blocking-call budgets unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 23, 2026 16:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants