Skip to content

fix(evals): enforce strict trigger ranking contracts - #674

Closed
rudycelekli wants to merge 1 commit into
addyosmani:mainfrom
rudycelekli:fix/eval-trigger-contracts-20261010
Closed

rudycelekli wants to merge 1 commit into
addyosmani:mainfrom
rudycelekli:fix/eval-trigger-contracts-20261010

Conversation

@rudycelekli

Copy link
Copy Markdown
Contributor

Reject invalid positive top_k thresholds instead of defaulting zero or coercing strings and fractions. Require the declared negative owner to strictly outrank the evaluated skill; naming the skill itself previously allowed a false pass. Omitted top_k still defaults to three.

Validation: two actual runner regressions fail on the baseline; all39 runner tests pass after the fix. Full local Node tests, structural validators, routing floor and three hook suites pass. Claude CLI live plugin integration remains for hosted CI because the CLI is unavailable locally.

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
@addyosmani

Copy link
Copy Markdown
Owner

Thanks. Both rules reproduce, but neither has ever been hit: every top_k in the case files is 1 or 3, and no negative names itself as owner. Unlike #632, where a duplicate id silently overwrote a result, the worst outcome here is a looser threshold on a value nobody would write. I'm keeping the schema checks to failures we've seen. Closing.

@addyosmani addyosmani closed this Oct 13, 2026
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.

2 participants