Skip to content

Unify agent evals in one Promptfoo catalog - #1680

Merged
max-sixty merged 3 commits into
mainfrom
codex/promptfoo-evals
Oct 3, 2026
Merged

max-sixty merged 3 commits into
mainfrom
codex/promptfoo-evals

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

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.

This was written by Codex on behalf of max-sixty

leaf-agent
leaf-agent previously approved these changes Oct 3, 2026
@max-sixty
max-sixty merged commit ca15b94 into main Oct 3, 2026
4 checks passed
@max-sixty
max-sixty deleted the codex/promptfoo-evals branch October 3, 2026 20:20
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