[direct][integration] expose model context limits and trusted imported-tool projection #325
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#325
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Why
Auto-Dig is moving the research worker off the typed planner and onto native direct mode after
plan_parse_failedin consumer runstarintel-gpt-auto-dig#33124557266 / Prolog-RLM #285.The consumer can be made to work now, but it currently has to own two pieces of runtime policy that belong in Prolog-RLM:
Requested Prolog-RLM additions
Model limits
Add a provider-neutral model metadata contract, e.g.:
with a closed result containing at least:
The OpenRouter implementation may obtain/cache provider model metadata, but callers should not parse OpenRouter JSON themselves.
Also add a small helper for fractional host budgets so consumers can express policy like
30% of model contextwithout duplicating arithmetic.Trusted MCP capability projection
Add a helper that derives callable capability terms from the already imported, host-classified tool set, filtered by trusted effect/policy, e.g. read-only only. It must not turn raw server inventory into authority. The desired flow is:
The model must not be able to widen this set.
Acceptance
Consumer workaround
starintel-gpt-auto-digwill temporarily:rlm_direct/4instead of root typed-planner completion for the research loop;Once the APIs above land, remove the duplicated model-limit/tool-projection policy from the consumer.