design: Condition has And/Not but no Or #5
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?
`IR.Condition` exposes `And` and `Not` only. `Or` is expressible as `Not (And (Not a) (Not b))` but that's hostile to intent.json diffability/readability (the spec sells intent.json as human-readable) and to the Watcher, which has to evaluate three extra nodes.
Small, contained change: add `Or Condition Condition` + wire tag "or", extend DSL with `(<||>)`, bump IR version per policy. Worth doing before the Rust deserializer exists — afterwards every sum extension costs a cross-repo coordination round.