Reconcile charge_native_model_execution arity drift in spec-plan-authority.md (RLM-RESEARCH-353 OQ1) #345
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#345
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?
Doc drift
docs/research/spec-plan-authority.mdcitescharge_native_model_execution/2in two places, but main defines the predicate with arity 3 and different charge-back semantics than the branch-era record describes.Record says (stale)
charge_native_model_execution/2charge-back — and claims "mergedrlm_planhas neither" the hook nor the charge-back; both marked UNMERGED, "ADOPT via S10".charge_native_model_execution/2)".Main actually has (verified live, commit
39b278589d)prolog/rlm_plan.pl:1191:charge_native_model_execution(Execution, State0, Outcome)— arity 3,ok(State)/error(Error, State)outcome threading withnative_budget_amount/3admission checks.prolog/rlm_plan.pl:1130fromhandle_native_model_result/4.model_step_handlerhook also exists on merged main (rlm_plan.pl:766-780validation,:1050-1070dispatch), andrlm_direct_model_step/10is exported fromrlm_direct— so the "merged main has neither" claim is stale too.Task (focused doc slice — no behavior change)
/3with the actual outcome-threading contract.rlm_direct_model_step/10are merged on main; re-state what remains genuinely unmerged (if anything) for S10.docs/research/expert-direct-tool-projection.org, open question 1) so the research record's OQ1 closes.grep -n "charge_native_model_execution/2" docs/must return zero matches.scripts/design_gate.pl) references this record — run it if the edited sections affect its parsing.Eligibility
This is a hardening-queue-sized slice (#334): one record, two citations, no runtime code.