feat/condition-composition-observation-strategies #16

Merged
yorunikakeru merged 12 commits from feat/condition-composition-observation-strategies into main 2026-06-07 18:22:40 +02:00
Owner
No description provided.
yorunikakeru force-pushed feat/condition-composition-observation-strategies from e898114fcc
Some checks failed
CI / linux (pull_request) Has been cancelled
to 37a543e68e
All checks were successful
CI / linux (pull_request) Successful in 2m0s
2026-06-06 22:37:46 +02:00
Compare
SystemCondition/And/Not added new wire-format constructors; version 1
decoders would silently accept unknown shapes. A named constant makes
future bumps a one-line change instead of a grep across fixtures.
And-leaf errors were tested; Not path was not. Both recurse the same
collectConditionErrors, so the gap left a real code path untested.
cpuLoad accepts 0.0-1.0 and battery 0-100 per the IR spec; values
outside these ranges produce InvalidCpuLoadThreshold/InvalidBatteryPercent
and are caught before serialization rather than silently emitted.
docs: warn in 'via' docstring that it overrides nested leaf strategies
Some checks failed
CI / linux (pull_request) Has been cancelled
131d649550
Applying via to an And/Not tree silently replaces any strategies already
set on individual leaves — non-obvious and worth calling out explicitly.
chore: format DSL.cabal and clarify Arbitraries helpers
All checks were successful
CI / linux (pull_request) Successful in 2m26s
c22169a0fd
Sort exposed-modules and build-depends alphabetically, add synopsis,
description, and source-repository stanza. Add comments to
arbitraryCondition/arbitraryConditionLeaf explaining size-based depth
control and the infinite-recursion guard.
yorunikakeru deleted branch feat/condition-composition-observation-strategies 2026-06-07 18:23:26 +02:00
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!16
No description provided.