Repository navigation
Unify agent evals in one Promptfoo catalog - #1680
Merged
Merged
Conversation
leaf-agent
previously approved these changes
Oct 3, 2026
leaf-agent
approved these changes
Oct 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Leaf's instruction, usability, arrangement and delivery evaluations overlap in the tasks they exercise but expose separate suite selectors. Replace those selectors with one native Promptfoo catalog and
leaf-dev eval, keeping host, available Leaf/HTML tooling and assertions as independent dimensions.The catalog has 51 default addresses: 44 short cases and seven complete task families. Eighteen focused contexts remain selectable, for 69 addresses in total. Historical replay did not establish that the proposed larger replacements preserve every failure contrast, so the original short cases and diagnostic contexts remain available.
Complete workflows now share Claude Code and Codex sessions, including continuation and feedback during an active turn. Document, dashboard and queue tasks receive matched plain HTML controls. Common snapshots and fixed quality judgments precede Leaf-only choice reading and preservation. A narrow fresh-reader calibration detects a seeded count defect and accepts its corrected count control. Promptfoo owns scheduling, repetitions, assertions and reports; existing Python trajectories execute complete tasks.
The shared Codex client retains native notifications, scopes completion and usage to the parent thread, and preserves unknown cost measurements. Delivery pickup now records every attention-bearing input, including authored errors, so mixed-batch coverage reflects what the agent actually received. The integration retains main's automatic preview handoff and shared release-review scenario.
Validation before integration: 1,745 Python tests and 193 runtime tests passed, with additional focused catalog, transport and assertion checks. After integrating main, 106 focused Python tests, pre-commit, browser-framework checks, runtime folds, native eval assertions and Worker checks passed. Fresh native catalog mid-turn samples passed on both hosts after integration, with active-turn and accepted-input evidence and zero provider errors. Four matched dashboard samples completed with zero provider errors: both Leaf samples passed, while both HTML first drafts retained quality failures and both revisions passed. One repetition validates execution rather than estimating Leaf's advantage. Fresh Codex transport verification passed all eight setup, idle, mid-turn and restart steps across App Server and queue transports. An earlier run retained a queue mid-turn model failure rather than hiding it; the latest passing sample does not establish model reliability. General judge reliability, equivalent HTML feedback cycles and broader reader calibration remain future measurement work.