Wire compiler visibility contract into root planner #216
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!216
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rage/176-root-planner-tool-projection"
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?
Advances #176.
RAGE slice
TDD-first from canonical
main49d86f88730b4a0f5dc4a7cf300b8f09ef5845b0. Current exact candidate head is774454dba55855932f672f2de23b9e65936ede99.The production defect was the root planner receiving capability-filtered raw
tool_discover/2schemas even thoughrlm_prompt_compileralready owned contextual activation and final packed tool-schema filtering.Realization
rlm_completion;RuntimeToolsunchanged forplan_run/ authority / effects;rlm_prompt_compilercatalog and compile the current query through the existing symbolic selector;prompt_compile_mode(compiled)exposes only compiler-active schemas;prompt_compile_mode(all_tools)remains compatibility mode but uses the same compiler path;kind:invalid_prompt_compile_mode;Active tool schemasrather thanRegistered tool schemas;setup_call_cleanup/3;docs/prompt-compiler.mdand reconciledocs/prolog-agent-roadmap.mdso downstream readiness matches the candidate runtime.No new selector, tool registry, authority layer, effect path, scheduler, or downstream product logic was introduced.
TDD contract
Negative behavior is asserted as expected runtime behavior while required CI remains green. In particular, invalid mode tests assert the structured failure and zero planner dispatch rather than intentionally failing CI.
Production-path tests prove:
all_tools;compiledmode exposes the relevant schema and hides an unrelated capability-allowed schema in the exact captured planner request;all_toolspreserves compatibility visibility;Active tool schemasand does not regress toRegistered tool schemas.Exact-head verification
Exact head
774454dba55855932f672f2de23b9e65936ede99is green for all returned required workflows:Current PR review submissions, review threads, and conversation comments are empty; the PR is non-draft and mergeable on this head.
Remaining #176 scope
This PR is the smallest production root-planner projection slice and does not close the epic. Follow-up #176 work still includes the broader host-owned catalog lifecycle, prompt-projection observability/fingerprint exposure, lifecycle regressions for host/ephemeral catalogs, MCP/project-instruction/managed-context compiler adoption, and research-record closure against the now-real implementation.
Direct trusted
tools(...)bindings remain execution inputs rather than an implicit provider-visible schema catalog; that boundary is documented indocs/prompt-compiler.md.This PR also does not touch #175/#212 deadline policy, #211/#213 result projection, Agent Zero product composition, or AgentProlog product integration.