You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
plan.variable discards its default_value; the surface documents a default that never propagates #857
Provider.Variable(name, defaultValue, field) in pkg/op/provider/plan/provider.go reads:
_=defaultValue// Phase 3 wires default propagation into the parameter surface.return&op.Variable{Name: name, Field: field}
The default is dropped on the floor. plan.variable("x", default_value=1.0) behaves exactly like plan.variable("x"): the variable surface never sees the default, and the graph document's variable binding carries {name, field} and nothing else. The "Phase 3" the comment defers to was phase-8 13.0(n)'s, long closed; 3.5.3-plan-provider.md lists Variable as implemented and describes the default as part of the surface. A stub that answers as if it worked (CLAUDE.md verification checklist: "no stub functions return success without implementation").
Found 2026-09-07 while checking #712's acceptance criterion "plan.Variable(default=1.0) survives save and reload with its type intact": there is nothing to survive, because the default never reaches the document.
Expected
A variable's default propagates into the run's variable surface: an unset variable resolves to it.
Activity
Pin #735's acceptance: a slot binds its own generation, both seams ag…
A value in an any slot carries its type, a resource slot records the …
David-Noble-at-work commentedon Nov 9, 2026
star github triage sweep added this issue to Triage: devlore, for the rule it breaks:
severity: a Bug whose Severity is blank; a bug is Critical, High, Medium or Low