Repository navigation
test(session-flow): eval cases for the TodoWrite task-tool branch - #11317
Conversation
…d workflow Adds ho-todowrite-renders-list and wf-todowrite-tracks-stages. A run needs CLAUDE_CODE_ENABLE_TASKS=0 exported: a case env takes only EVAL_* keys, and a plugin eval run inherits the variable from the launching shell, which gives the session TodoWrite and no Task tools. Refs: #6892 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n the trace ho-task-tools-recreate-calls scored 0 in both arms on a correct with-arm save-point: the trace escapes the recreate call's quote as three backslashes, and the pattern allowed one. Accept any run of backslashes. Refs: #6892 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed No security issues in the incremental change since 21f7ec1. I reviewed two files:
Neither file matches a trusted path or trust control. The PR also touches no The changelog "Fixed" entry names the Spend: running the grader on both arms adds one more eval run per execution. That uses prepaid or subscription usage only, so it is not a hold. critical-findings: 0 |
|
claude-review reviewed Incremental review of two files changed since 21f7ec1: no findings.
This change spends no billable resources beyond eval runs on prepaid API credits. No hold. |
… arms With the grader with-only, the case's only scored grader was the TodoWrite call both arms make, so it sat at ceiling by construction. A no-plugin run writes no save-point, so scoring it in both arms makes the case measure the handoff branch (1.00 with, 0.50 without). Refs: #6892 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #6892
Summary
Problem:
/session-flow:handoffand/session-flow:workflowbranch on the session's task tools, and theTodoWritebranch had no eval case. Intent: "the handoff renders the latestTodoWritelist in the environment section, and workflow keeps the stage list inTodoWrite."A probe on Claude Code 2.1.314 showed that a
claude plugin evalrun launched withCLAUDE_CODE_ENABLE_TASKS=0exported inherits it. Each run's session then hasTodoWriteand none ofTaskCreate,TaskList,TaskGetorTaskUpdate. The kept traces of all 12 runs confirm it. That makes the branch measurable, so this PR adds one case for each skill.Fix
ho-todowrite-renders-list: result grader on a.work/handoffs/save-point that renders theTodoWriteitems as glyph lines. Both graders score in both arms. The process grader (aTodoWritecall) fails when the run was started without the variable.wf-todowrite-tracks-stages: result grader on the answer namingTodoWriteor the todo list, not negated. Process grader on aTodoWritecall with at least three stages.ho-task-tools-recreate-calls: the result grader scored 0 in both arms on a correct save-point. The trace escapes the recreate call's quote with three backslashes, and the pattern allowed one, so it now accepts any number. A pass sample covers the nested form.CLAUDE_CODE_ENABLE_TASKS=0. Changelog fragment included.Verification
validate-cases.py plugins/session-flow/evals: exit 0, no FAIL, every sample checked. A mutated must-fail sample on a copy was caught./evals:plugin-eval, sonnet (claude-sonnet-5-5), 3 runs, with/without,run-validity.pyVALID on each pass:CLAUDE_CODE_ENABLE_TASKS=0, after scoring both arms)CLAUDE_CODE_ENABLE_TASKS=0)Noise report: the four-case pass is within noise (delta +0.25, 95% interval -0.24 to +0.74, measured before the grader fix). The TodoWrite pass has too few cases to call. No gain is claimed.
scripts/check-affected.sh --testson the committed head: 14 passed, 2 skipped.Left out: no full rerun after the two grader changes. Only each changed case was rerun.
Related
N/A
🤖 Generated with Claude Code