Add first-class bounded RLM subagent tool runtime #147

Merged
lost-rob0t merged 4 commits from agent/rlm-subagent-runtime into main 2026-08-21 09:46:30 +00:00
lost-rob0t commented 2026-08-21 08:51:12 +00:00 (Migrated from github.com)

Part of #144; parent #141 and reusable contract for #142.

This is the first runtime half after merged #146. It registers rlm_subagent through the ordinary rlm_tool registry, so schema/capability/authority/tool limits remain canonical. The trusted handler composes existing rlm_agent supervision/capability+authority narrowing with bounded rlm_completion, and returns a structured status/value/usage/parent-child-correlation/trace envelope. Spawn and completion failures remain structured rather than becoming false success.

TDD adds focused coverage for successful child completion, capability denial before child creation, and child capability widening as a structured failure. The suite/load gates are wired in.

Still draft: exact-head CI is authoritative. Remaining #144 acceptance after this slice includes stronger cancellation/depth/concurrency end-to-end tests, explicit parent replan/continue fixture, richer evidence/provenance integration, and binding the unresolved-state policy transition to this tool without duplicating the already-merged short-KB compiler.

Deliberately does not touch Worker B #145 or #122/#125/#132 surfaces.

Part of #144; parent #141 and reusable contract for #142. This is the first runtime half after merged #146. It registers `rlm_subagent` through the ordinary `rlm_tool` registry, so schema/capability/authority/tool limits remain canonical. The trusted handler composes existing `rlm_agent` supervision/capability+authority narrowing with bounded `rlm_completion`, and returns a structured status/value/usage/parent-child-correlation/trace envelope. Spawn and completion failures remain structured rather than becoming false success. TDD adds focused coverage for successful child completion, capability denial before child creation, and child capability widening as a structured failure. The suite/load gates are wired in. Still draft: exact-head CI is authoritative. Remaining #144 acceptance after this slice includes stronger cancellation/depth/concurrency end-to-end tests, explicit parent replan/continue fixture, richer evidence/provenance integration, and binding the unresolved-state policy transition to this tool without duplicating the already-merged short-KB compiler. Deliberately does not touch Worker B #145 or #122/#125/#132 surfaces.
Sign in to join this conversation.
No description provided.