fix(#2785): implement missing gate predicate evaluators (#2816)

* fix(#2785): implement missing gate predicate evaluators

* fix(#2785): gate predicate numerical coercion

* fix(#2785): address evaluator review findings

* fix(#2785): use safe frontmatter read seam

---------

Co-authored-by: Tom Boucher <trekkie@nomorestars.com>
This commit is contained in:
Dennis Kim
2026-08-03 12:16:56 -04:00
committed by GitHub
parent 88f6d9bd1b
commit d3ddcaba1c
9 changed files with 347 additions and 16 deletions

View File

@@ -274,9 +274,10 @@ describe('evaluatePredicate — malformed predicate throws (maps to check-cmd fa
// ─── contract surface ─────────────────────────────────────────────────────────
describe('evaluatePredicate — exported contract surface', () => {
test('EVALUATOR_KINDS advertises command-exit-zero', () => {
test('EVALUATOR_KINDS advertises every built-in predicate kind', () => {
assert.ok(Array.isArray(EVALUATOR_KINDS));
assert.ok(EVALUATOR_KINDS.includes('command-exit-zero'));
assert.ok(EVALUATOR_KINDS.includes('artifact-frontmatter-equals'));
});
test('default timeout is 30s', () => {