Implement modular IR, validation, and JSON serialization #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #1
Goal
Implement the declarative IR layer produced by the eDSL and consumed by FrogOS.
Architecture
Condition,Policy, andActionsums.UnvalidatedConfigurationas builder output.IRwith hidden constructor.Validation boundary
The validator checks intent correctness, document integrity, value ranges, duplicates, and incompatible nodes. It does not check current system state or resource availability; those checks belong to the FrogOS engine.
Implementation issues
Acceptance criteria
validate :: UnvalidatedConfiguration -> Either [ValidationError] IRaccumulates all detected errors.IRcan be serialized.Define IR serialization, validation, and conflict checksto Implement modular IR, validation, and JSON serialization