[P1] Record D6-11: plan-native deterministic mutations (sync_remote/run/index/delete execute at the plan layer) #344
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#344
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?
Parent / provenance
Amends
docs/research/spec-plan-authority.mdD6-8 ("every op maps mechanically to an expert") per operator decision on Forgejo #293 (comment 3762, review thread 2026-09-02). Parent slice: #288 (rage/288 BASE, mergedrlm_plan_graph.pl).Operator decision
Deterministic state-mutating plan ops execute at the plan layer, not through a "project plan expert":
sync_remote/1and similar are deterministic adapter calls with zero model work; expert routing adds contract overhead, inner-capability checks, and model-grant surface to an operation that needs none. Model-driven loops are a brittleness point that must not sit under state mutation.external_effectin the §6.2 classification and keep going through the durable effect boundary wherever they execute.D6-11 (record verbatim in the design doc, amending D6-8)
Scope rules for the implementing slice
edit/2andcreate/2stay write-expert-owned (§8.3 flow: the expert's model session produces theedit_actionbefore admission).docs/research/expert-direct-tool-projection.org): these ops are never projected as direct-mode expert tools; direct mode reaches them only viatyped_plan_execute. Add one line to that record's scope boundary in the same PR.docs/prolog-agent-roadmap.mdand the parent issue prose (#288 / Forgejo #293) in the same slice so issue text, roadmap, and design record do not diverge.Acceptance
spec-plan-authority.md; D6-8 explicitly references the exclusion; enumerated op set verbatim.edit/2/create/2remain expert-routed (existing §8.3 tests stay green).