Commit b291f93
committed
ogar-vocab: add KausalSpec::Constrains/Onchange (SPEC-ATC2-OGAR Arm B)
`@api.constrains` is a validation trigger and `@api.onchange` is a
UI-side recompute trigger — both distinct from the persisted
`Depends` recompute trigger, so they get their own sum-type variants
rather than being folded into `Depends`.
Extends the intra-crate exhaustive `kausal_spec_match_is_exhaustive`
governance test (the COUNT_FUSE substitute for `#[non_exhaustive]`) to
cover both new arms — this is the loud, by-design compile break the
spec calls for when a new KausalSpec variant is added.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cg8DSUz1U4AvKqXiy9Xx2f1 parent f8420b9 commit b291f93
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
603 | 619 | | |
604 | 620 | | |
605 | 621 | | |
| |||
6061 | 6077 | | |
6062 | 6078 | | |
6063 | 6079 | | |
| 6080 | + | |
| 6081 | + | |
| 6082 | + | |
| 6083 | + | |
| 6084 | + | |
| 6085 | + | |
6064 | 6086 | | |
6065 | 6087 | | |
6066 | 6088 | | |
| |||
6071 | 6093 | | |
6072 | 6094 | | |
6073 | 6095 | | |
| 6096 | + | |
| 6097 | + | |
6074 | 6098 | | |
6075 | 6099 | | |
6076 | 6100 | | |
| |||
0 commit comments