Add typed KB prompt command bindings #146

Merged
lost-rob0t merged 5 commits from agent/144-subagent-fallback-a into main 2026-08-21 07:48:44 +00:00
lost-rob0t commented 2026-08-21 06:48:29 +00:00 (Migrated from github.com)

First coherent #144 slice, intentionally avoiding Worker B's flake packaging PR #145 and the owned #122/#125/#132 surfaces.

This lands the closed command-binding half before wiring the full subagent executor:

  • compact inert KB records prompt/2, prompt_trigger/2, prompt_action/2;
  • deterministic direct trigger and reusable-reference compilation;
  • closed allow-listed action vocabulary, currently delegate_subagent -> tool(rlm_subagent);
  • stable SHA-256 fingerprint + KB provenance;
  • explicit missing/ambiguous/invalid-action failures;
  • no call/1, no authority/capability/Spec mutation;
  • deterministic TDD and load-all registration.

This PR does not claim #144 complete. The next commits on this same focused branch will wire canonical rlm_subagent execution through existing rlm_agent + rlm_completion + ordinary tool authority/budget boundaries and add end-to-end unknown -> delegate -> structured result -> parent resume coverage.

Exact-head GitHub Actions is the execution oracle.

First coherent #144 slice, intentionally avoiding Worker B's flake packaging PR #145 and the owned #122/#125/#132 surfaces. This lands the closed command-binding half before wiring the full subagent executor: - compact inert KB records `prompt/2`, `prompt_trigger/2`, `prompt_action/2`; - deterministic direct trigger and reusable-reference compilation; - closed allow-listed action vocabulary, currently `delegate_subagent -> tool(rlm_subagent)`; - stable SHA-256 fingerprint + KB provenance; - explicit missing/ambiguous/invalid-action failures; - no `call/1`, no authority/capability/Spec mutation; - deterministic TDD and load-all registration. This PR does **not** claim #144 complete. The next commits on this same focused branch will wire canonical `rlm_subagent` execution through existing `rlm_agent` + `rlm_completion` + ordinary tool authority/budget boundaries and add end-to-end unknown -> delegate -> structured result -> parent resume coverage. Exact-head GitHub Actions is the execution oracle.
Sign in to join this conversation.
No description provided.