feature/issue-34-service-base-state #36

Merged
yorunikakeru merged 6 commits from feature/issue-34-service-base-state into main 2026-06-12 19:34:11 +02:00
Owner

Closes #34

Closes #34
Adds the `baseState :: Service.ServiceBaseState -> ServiceBuilder ()`
combinator so DSL service sections can declare their base state.
Threads `usBaseState` through `UnvalidatedService`, `SectionState`,
`lowerService`, and fixes the strict-field compile error in Validate.hs
and the missing-field error in Fixtures.hs.
Adds referential validation (issue #34): every service targeted by
enable/disable must be declared by a service section and carry an
explicit baseState. Policy-only sections with no action targets need
no base state. Introduces UndeclaredServiceTarget and MissingBaseState
error constructors; check runs after duplicate and conflict checks.
docs: document service base state declarations
All checks were successful
CI / linux (pull_request) Successful in 3m15s
32f9377272
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
FrogOS/DSL!36
No description provided.