Repository navigation
Commit 2722b90
committed
Fix: negated features satisfied spec checks
Found by running the seeded demo through Chaperone itself: wired
headphones were authorized against a 'noise-cancelling' mandate because
the matcher read the attribute 'noise_canceling: no' and the copy
'No active noise cancelling' as matches.
- Structured attribute naming the feature with a negative value is now a hard miss
- Negated mentions in copy (no/not/non/without) no longer count
- Delivery verification uses the same negation-aware check
- Regression tests1 parent 9a4ff51 commit 2722b90
4 files changed
Lines changed: 140 additions & 42 deletions
0 commit comments