Skip to content

fix(check): accept entity-scoped value_range_provider fields - #7

Merged
blackopsrepl merged 1 commit into
mainfrom
feature/check-entity-value-range
Nov 9, 2026
Merged

blackopsrepl merged 1 commit into
mainfrom
feature/check-entity-value-range

Conversation

@blackopsrepl

Copy link
Copy Markdown
Contributor

Closes #6. Local gate: fmt, clippy, unit, scaffold, runtime, MCP, install-skill, skill references and browser e2e all passed; the new test fails when the entity-field check is removed.

solverforge check rejected a scalar planning variable whose value_range_provider names a Vec<usize> field on the same entity, although SolverForge's planning_variable contract gives that form each entity its own legal domain. Valid models such as the Furnace use case failed check.

Domain parsing now records each entity's Vec<usize> fields, and check accepts a provider that names a solution fact collection or one of those fields. A provider that names neither still fails, and the message now says what it must be.

Closes #6
@blackopsrepl
blackopsrepl merged commit ae7defb into main Nov 9, 2026
8 checks passed
@blackopsrepl
blackopsrepl deleted the feature/check-entity-value-range branch November 9, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(check): accept entity-scoped value_range_provider fields

1 participant