Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 42 additions & 22 deletions docs/j5/product/a2a/agent-tools.md

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions docs/j5/product/a2a/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ There are three kinds of message.

## Participants

A participant is anything that takes part over the ledger: an agent, a person, a machine participant, or an outside agent. Every thread that is not a provider-native Subagent is an agent participant in the ledger of its project, from the moment the thread exists. A thread's project is fixed when upstream creates the thread, so a participant never moves between ledgers. People are global β€” one person id, known across every project on the server β€” and nothing anywhere may assume there is exactly one of them. Provider-native Subagents are never participants.
A participant is anything that takes part over the ledger: an agent, a person, a machine participant, or an outside agent. Every thread that is not a provider-native Subagent or a delegate is an agent participant in the ledger of its project, from the moment the thread exists. A thread's project is fixed when upstream creates the thread, so a participant never moves between ledgers. People are global β€” one person id, known across every project on the server β€” and nothing anywhere may assume there is exactly one of them. Provider-native Subagents and delegates, including a delegate another machine started here, are never participants.

A **machine participant** is a registered non-agent sender β€” a scheduled scraper, a watchdog, a shell script β€” and is how machine events enter the fleet as first-class work sources. Like an agent it belongs to one project, which never changes; it has a server-unique name and, unlike an agent, no thread. It sends plain messages only, and nothing can be delivered to it, so no Exchange is ever open with it and no silence is measured about it. It acts only through a token bound to its own participant id; nothing else can send as it.

Expand Down Expand Up @@ -97,11 +97,11 @@ Silence is **never measured about a person**. A person has no turn that ends. Ho

The platform names five kinds of silence: the turn ended without the owed reply; the turn errored; the agent was stopped, which tells the waiter not to retry; the agent is itself waiting on a person, and whether that person has seen the ask; and the agent is blocked on a peer, naming the peer. A notice informs the waiter. It never closes the Exchange, and it never claims to know whether the agent forgot or is waiting on something first β€” that is the waiter's judgment to make with the facts in hand.

A J5-spawned Peer Agent's native question is separate from an Exchange. The platform tells its placement parent which thread and request to read. A live question is described as blocked; a message question may leave the agent working. The parent may answer through upstream's `t3_pending_request` tool when permitted and the answer follows the task or the person's instructions; otherwise it asks the person to answer in the original thread. Resolving the question removes a notice still queued for the parent; a notice already delivered stays as history. This applies to live Crew seats too, when their harness still permits native questions. Archived or deleted threads and retired Crew seats do not raise these notices. With no reachable placement parent, no parent notice is sent; an actionable question still appears as an Inbox link to the agent's thread. Forks and ordinary threads placed under an agent do not gain this routing; J5-spawned agents retain it when their placement parent changes. A J5-spawned Captain still notifies its placement parent about its own questions, while those questions stay inline rather than being duplicated in the human Inbox. Native delegated children use upstream's own parent notification.
A J5-spawned Peer Agent's native question is separate from an Exchange. The platform tells its placement parent which thread and request to read. A live question is described as blocked; a message question may leave the agent working. The parent may answer through upstream's `t3_pending_request` tool when permitted and the answer follows the task or the person's instructions; otherwise it asks the person to answer in the original thread. Resolving the question removes a notice still queued for the parent; a notice already delivered stays as history. This applies to live Crew seats too, when their harness still permits native questions. Archived or deleted threads and retired Crew seats do not raise these notices. With no reachable placement parent, no parent notice is sent; an actionable question still appears as an Inbox link to the agent's thread. Forks and ordinary threads placed under an agent do not gain this routing; J5-spawned agents retain it when their placement parent changes. A J5-spawned Captain still notifies its placement parent about its own questions, while those questions stay inline rather than being duplicated in the human Inbox. Delegates use upstream's own parent notification.

Native-question answers use upstream's `t3_pending_request` tool and response command. Access follows the caller's runtime and interaction modes across the environment; being a placement parent grants no extra permission, and being unrelated is not an additional refusal. The existing request records the answer and resolution, but does not identify the responder or create a J5 ledger act. Native questions stay outside Exchanges and their attributed replies.

A parent does independent work or ends its turn so question and completion notices can reach it. `t3_thread_wait` stays unavailable for waiting on placed Peer Agents and Crew seats: blocking the receiving turn can strand the notices queued behind it. Upstream's delegated-task wait remains separate and can return when its child asks a blocking question.
A parent does independent work or ends its turn so question and completion notices can reach it. An agent may wait on another thread with upstream's `t3_thread_wait`, but notices and messages queue behind the turn that is waiting, so they reach it only once the wait returns; ending the turn gets them there sooner. Upstream's delegated-task wait returns when its delegate asks a blocking question.

Notices follow native-question updates and relevant run changes; there is no startup sweep. A question left pending across a restart needs a later qualifying event to notify its parent. Provider approvals and private secret requests do not use this notification.

Expand Down Expand Up @@ -227,3 +227,4 @@ message, ask, reply, plain message, Exchange, intent, urgency, obligation, envel
- 2026-10-20 β€” native-question answering retains upstream permission checks and unattributed response records; placed agents receive notices without raw thread waiting ([#674](https://github.com/Jacksondr5/j5code/pull/674), [#281](https://github.com/Jacksondr5/j5code/issues/281), [existing access decision](https://github.com/Jacksondr5/j5code/issues/345#issuecomment-6092125478)).
- 2026-10-27 β€” upstream's pending-request tools are one `t3_pending_request` tool since its stable v0.1.3.
- 2026-11-04 β€” a person's reply names the ask it answers in its envelope, now that several can be open; AC18 ([#111](https://github.com/Jacksondr5/j5code/issues/111)).
- 2026-11-07 β€” a delegate is never a participant, a delegate another machine started here included; an agent may wait on another thread with `t3_thread_wait`, at the cost of the notices queued behind its turn (Jackson, 2026-11-06 and 2026-11-07; [record](../../worklog/2026-11-07-agent-tool-boundary-session.md)).
Loading
Loading