Skip to content

chore: version 0.2.1#8

Merged
nicklasl merged 2 commits into
mainfrom
nicklasl-patch-1
May 13, 2026
Merged

chore: version 0.2.1#8
nicklasl merged 2 commits into
mainfrom
nicklasl-patch-1

Conversation

@nicklasl
Copy link
Copy Markdown
Member

No description provided.

@nicklasl nicklasl changed the title version 0.2.1 chore: version 0.2.1 May 13, 2026
@nicklasl nicklasl merged commit ebd493e into main May 13, 2026
fabriziodemaria added a commit that referenced this pull request May 29, 2026
… instead of blocking

Confidence does have a null/existence check: an attribute criterion with no
inner rule is a presence test (resolver ir_builder.rs existence arm; it appears
in the resolver's own spec fixtures), and the admin API accepts it on create
(epx-flags-admin TargetingValidator does no structural validation for ATTRIBUTE
criteria). Wrapping it in `not` expresses "attribute is null".

So IS_NULL maps directly — emit `{ attribute: { attributeName } }` referenced
under `not` — even when it serves a non-default variant or is ANDed with other
conditions. This removes the previous "drop only if variant == default" trick
and unblocks the combined case.

Genuinely-blocked set narrows to two whole-flag cases: generic regex and
SWITCHBACK.

- shared core: add existence/null criterion form, combinator row, and two worked
  examples (IS null, IS null combined)
- Eppo skill: rewrite the IS_NULL section as a direct not(exists) translation,
  drop the combined/non-default BLOCKED rows, note the empty-in-editor caveat,
  add a "Null rules emitted" plan field
- fixtures: flip #8 to serve a non-default variant for no-plan subjects and #12
  (IS_NULL ANDed with plan==free) to migratable; both now exercise the not(exists)
  path. verify_migration.py moves null-and-condition to MIGRATED_FLAGS and adds a
  no-country/free context; 90 cases pass, 2 blocked.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant