Skip to content

docs(agents): clarify background delegation durability - #47296

Closed
bbopen wants to merge 1 commit into
NousResearch:mainfrom
bbopen:bbopen/delegate-task-background-docs
Closed

docs(agents): clarify background delegation durability#47296
bbopen wants to merge 1 commit into
NousResearch:mainfrom
bbopen:bbopen/delegate-task-background-docs

Conversation

@bbopen

@bbopen bbopen commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Clarifies the delegate_task guidance in AGENTS.md so it matches the behavior Hermes already has today:

  • default delegate_task waits for the child summary before the parent continues
  • background=true returns a delegation id immediately and completes later through the async-delegation completion queue
  • background delegation is detached from the current turn but remains process-local, so restart-durable work should still use cronjob or terminal(background=True, notify_on_complete=True)

Validation

  • Reviewed the existing tools/delegate_tool.py background path that removes the child from the parent turn and hands it to async delegation.
  • No automated tests run; this is an AGENTS.md documentation-only change.

@alt-glitch alt-glitch added type/docs Documentation improvements comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint tool/delegate Subagent delegation P3 Low — cosmetic, nice to have labels Jun 16, 2026
@bbopen
bbopen marked this pull request as ready for review June 16, 2026 14:43
@teknium1

Copy link
Copy Markdown
Contributor

Merged via PR #49944 (docs salvage cluster 2). Your commit was cherry-picked onto current main with your authorship preserved in git log — rebase-merged so it lands under your name. Thanks for the contribution!

@teknium1 teknium1 closed this Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint P3 Low — cosmetic, nice to have tool/delegate Subagent delegation type/docs Documentation improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants