Agent tooling
Real-time quality gate and Art Director Warden for Claude Code powered by TypeSafe Jev 1.13 non-autoregressive decision model
model: "typesafe/jev-1.13",The link points at the commit we read, so the line number still holds.
These question sets are lifted from this project's source exactly as written.
from .claude/hooks/warden.js:90
is_exquisite_and_dynamictrue/falseDoes this SVG qualify as an exquisite, professionally crafted DYNAMIC ANIMATED illustration featuring working continuous animation (spinning wheels, pedaling, monkey motion)?
animation_verdictchoiceEvaluate the dynamic animation implementation and artistic quality of this SVG.
reject_static_or_no_animation — The SVG is completely static, lacks @keyframes or animate tags, or the animation is broken/trivial (wheels do not spin, no pedaling).reject_crude_artwork — The SVG has some animation syntax but the visual artwork is crude, flat, or lacks basic anatomical/mechanical details.approve_dynamic_exquisite — The SVG successfully combines smooth, vivid animations (spinning wheels, pedaling cycle, monkey bounce/sway) with sophisticated vector artwork.primary_deficiencychoiceWhat is the primary area needing improvement if not yet perfect?
missing_dynamic_animation — Missing CSS @keyframes, animation properties, or SVG animate tags for wheel rotation and pedaling.needs_mechanical_and_body_details — Missing bicycle mechanics (spokes, chain, pedals) or monkey features (fur, face, ears, tail).needs_smoother_natural_motion — Animation is present but stiff, incomplete, or missing key moving parts (wheels/pedals/tail).already_exquisite_and_dynamic — The illustration is already complete, exquisitely rendered, and beautifully animated.import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
is_exquisite_and_dynamic: { type: 'boolean', instructions: 'Does this SVG qualify as an exquisite, professionally crafted DYNAMIC ANIMATED illustration featuring working continuous animation (spinning wheels, pedaling, monkey motion)?' },
animation_verdict: { type: 'choice', instructions: 'Evaluate the dynamic animation implementation and artistic quality of this SVG.',
criteria: { reject_static_or_no_animation: 'The SVG is completely static, lacks @keyframes or animate tags, or the animation is broken/trivial (wheels do not spin, no pedaling).', reject_crude_artwork: 'The SVG has some animation syntax but the visual artwork is crude, flat, or lacks basic anatomical/mechanical details.', approve_dynamic_exquisite: 'The SVG successfully combines smooth, vivid animations (spinning wheels, pedaling cycle, monkey bounce/sway) with sophisticated vector artwork.' } },
primary_deficiency: { type: 'choice', instructions: 'What is the primary area needing improvement if not yet perfect?',
criteria: { missing_dynamic_animation: 'Missing CSS @keyframes, animation properties, or SVG animate tags for wheel rotation and pedaling.', needs_mechanical_and_body_details: 'Missing bicycle mechanics (spokes, chain, pedals) or monkey features (fur, face, ears, tail).', needs_smoother_natural_motion: 'Animation is present but stiff, incomplete, or missing key moving parts (wheels/pedals/tail).', already_exquisite_and_dynamic: 'The illustration is already complete, exquisitely rendered, and beautifully animated.' } },
},
});