Implement typed allow-listed plan runtime (#7) #26
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!26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/issue-7-typed-plan-runtime"
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 #7.
Closed typed plan AST
rlm_planparser, normalizer, whole-plan validator, interpreter, and shared runtime budgetsread_termfallbackfinal/1must be unique and lastCapability and execution boundary
tools([tool(Name, Handler)])can be invokedcall/1, shell, consult, filesystem, or arbitrary evaluator pathBudgets
Structured execution
Deterministic tests
Coverage includes:
call(...)and unknown JSON operatorsREAL OpenRouter typed-plan test
The live suite now performs a second real OpenRouter inference that asks the routed model to select a JSON typed plan. That actual model-produced plan is parsed and then executes:
REAL OpenRouter model -> typed JSON plan -> opaque context search -> trusted count_items tool -> final resultThe test requires final value
2and structured context/tool/final transitions. No fake provider appears in this path. The live log emits only allow-listedplan_*evidence fields; it never prints generated plan JSON, response text, reasoning text, API keys, Authorization headers, or environment dumps.This PR must not merge until both deterministic CI and the same-repository REAL OpenRouter job are green and the final credential/diff scan is clean.