Skip to content

docs(j5): call a delegate_task child a delegate, and keep Subagent for a provider's own #952

Closed

Description

@Jacksondr5

Problem

J5's docs use "Subagent" for two different things:

  • A provider's own subagent (a Claude Agent, a Codex child). The glossary defines Subagent this way: it runs inside its parent's provider session, the person can't talk to it, and it ends with that session (docs/j5/product/glossary.md).
  • A child started with delegate_task. The glossary's delegate_task row and register entry D1 also call this "a subagent". But it is a thread of its own: it can run on another provider, have its own worktree and PR, keep running after the parent's turn ends, and (by reading upstream's ChatView.tsx) take a person's message.

Upstream already separates them. Its agent instructions say "Subagents: use your native tool…" for the first, and "delegate" for the second ("Every new delegate review…", "Follow a running delegate's next", in packages/provider-core/src/server/orchestrationInstructions.ts).

Change

In J5's docs (docs/j5/), call a delegate_task child a delegate, and keep Subagent for a provider's own subagent:

  • glossary: add a "delegate" entry, and make the Subagent entry and the delegate_task row point to it;
  • register D1 and D2, the A2A docs, the Personas and Crews definitions, and J5's user docs, wherever they mean a delegate_task child.

Out of scope unless decided separately: J5's model-facing text (the delegate_task description and J5's agent instructions), which would need a live test of model behaviour. Upstream's docs are untouched.

Context

Jackson, 2026-11-07, while settling J5's agent-tool boundary for the v0.1.7 advance. Related: the background-helpers ruling (a delegate stays out of J5's ledger), #336.

Drafted with Claude Opus 5.5.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions