Carry trusted skill and role provenance through rlm_subagent #204
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/prolog-rlm!204
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rage/203-subagent-skill-role-provenance"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #203.
Parent: #172.
RAGE state
TDD-first from starting
maina79e9c862b74449d73bcadc729d2a38b5163e10d. Full audit record:rage/203-subagent-skill-role-provenance.org.The test-only head
383cd91e2e89c355a3b32bf1de44338f4a880445produced the intended deterministic red: 873/875 passed, with only the two new delegation-provenance/invalid-role tests failing. Clean pack, Tree-sitter, Nix, Paid OpenRouter, and REAL OpenRouter remained green.The first runtime head exposed three integration constraints rather than unrelated defects: nested agent metadata is canonically normalized, the async composition gate preserves the existing
subagent_after_options/7seam, and a non-ground role fixture is rejected earlier by the trusted-handler groundness boundary. Repairs preserve those existing contracts rather than weakening them.Invariant
Trusted host/compiler policy may select child skills and generic role metadata, but model-visible
rlm_subagentarguments remain query-only. Delegation metadata is inert provenance and must not widen capabilities, authority, model selection, handlers, or effects.Slice
explicit_skills(...)child compiler path;subagent_role(Role)metadata;Exact-head gate
Final candidate head is
c9fbb36003c864884ac6adade5bc0255469cc570. Keep draft until CI, REAL/Paid OpenRouter, Nix flake, Tree-sitter FFI, and Clean SWI pack install are all green on this exact head and review/thread state remains clear.