Implement condition composition and observation strategies #13

Closed
opened 2026-06-06 14:02:49 +02:00 by yorunikakeru · 0 comments
Owner

Parent: #2

Goal

Implement built-in conditions, boolean composition, and explicit observation hints.

Tasks

  • Implement process, CPU load, and battery condition primitives used by README.
  • Implement conjunction and negation with clear DSL operators.
  • Implement via, polling intervals, and subscription sources.
  • Ensure observation strategies attach only to observable conditions.
  • Represent all observation sources statically in IR.

Acceptance criteria

  • README condition examples type-check and build expected IR nodes.
  • Invalid polling intervals are reported by validation.
  • Boolean composition preserves attached observation hints.
  • No runtime observation or environment access occurs in this package.
Parent: #2 ## Goal Implement built-in conditions, boolean composition, and explicit observation hints. ## Tasks - Implement process, CPU load, and battery condition primitives used by README. - Implement conjunction and negation with clear DSL operators. - Implement `via`, polling intervals, and subscription sources. - Ensure observation strategies attach only to observable conditions. - Represent all observation sources statically in IR. ## Acceptance criteria - README condition examples type-check and build expected IR nodes. - Invalid polling intervals are reported by validation. - Boolean composition preserves attached observation hints. - No runtime observation or environment access occurs in this package.
Sign in to join this conversation.
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#13
No description provided.