Skip to content

test(heuristic-evals): rerun the AC2 discrimination check with behavior-present variants on the host #10235

Closed

Description

@kyle-sexton

Parent: #3589 (slice 2 of 3). Blocked by #10184 (slice 1).
Runs in: HOST. Needs a local claude plugin eval run on the operator subscription (Q110); the lane cannot run evals; the host runner works it.

Problem

#3589's remaining acceptance is AC2: each case fails on a response lacking the behavior and passes on one exhibiting it. The 2026-10-24 run could not show that (two case defects, and no behavior-present arm). Slice 1 fixes the defects and adds a -behavior-present variant per case.

Fix

Run, from a plugin copy outside the repository (the checkout trips the CLI's linked-worktree limit), for planning, improvement and education:

  • the five current cases with the default with/without ablation, 3 runs per arm;
  • the five -behavior-present variants with --ablation none, 3 runs;
  • run-validity.py on every result file.

Post per case: target grader pass counts for the variant and for the current prompt, the run-validity verdict, the CLI version and model. Show the cost estimate before the run (not a stop: subscription spend, Q110).

Done when


Split by the backlog HITL session (2026-10-25, owner rule Q93: split large work before a run picks it up). This was generated by AI.

Activity

  1. added
    needs-triage
    on Oct 26, 2026
  2. github-actions commented on Oct 26, 2026

    @github-actions
    Contributor

    Proposed work class: none

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: #10184

    Understood: slice 2 of #3589. Rerun the AC2 discrimination check from a plugin copy outside the repo, for planning, improvement and education. That means the five current cases with default ablation (3 runs per arm) and the five -behavior-present variants with --ablation none (3 runs), then run-validity.py on every result file. Results go on #3589 per case. The run needs a local claude plugin eval on the host, so a host runner has to pick it up. It cannot start until #10184 (slice 1) lands. No likely duplicates found among the open issues.

    Automated triage. A maintainer reviews it.

  3. added and removed
    needs-triage
    on Oct 26, 2026
  4. added
    status: ready
    on Oct 26, 2026
  5. melodic-automation-lanes commented on Oct 26, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane yet: blocker #10184 is not closed by a listed human or a merge.

  6. added
    admission-deferred
    agent-ready
    host-run
    and removed
    admission-deferred
    agent-ready
    on Oct 29, 2026
  7. melodic-automation-lanes commented on Oct 29, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped on this issue (host-only): the run reports the work needs a host run the lane cannot make.
    It added host-run and removed agent-ready: an agent run on a host builds it, and it waits on no decision from a person.

    In the run's words:

    host-only: the issue ("Runs in: HOST") is a local claude plugin eval run on the operator subscription (Q110) for the planning, improvement and education heuristic-eval cases: the five current cases with the default with/without ablation and the five -behavior-present variants with --ablation none, 3 runs per arm, then run-validity.py on each result file and a results comment on #3589. This CI lane cannot run evals or spend the operator subscription, and the issue has no repository change for it to make, so the host runner has to work it.

    What the run says it did not do:

    • The claude plugin eval runs (current cases with/without ablation, -behavior-present variants with --ablation none, 3 runs per arm), run-validity.py on each result file, and the per-case results comment on #3589. These need the operator subscription on the host, and this lane cannot run evals.
    • Did not check whether blocker #10184 (slice 1, which adds the -behavior-present variants) has landed. The host run must confirm it has before starting.
    • Tidy, review, verify and checks steps: skipped because the run made no change

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40844909617

    To hand it back to the lane, remove host-run and add agent-ready again.

  8. kyle-sexton commented on Oct 30, 2026

    @kyle-sexton
    MemberAuthor

    Host run. Reran the #3589 AC2 discrimination check: five current cases with/without the plugin and five -behavior-present variants with --ablation none, 3 runs each.

    The variant discriminates in 1 case (planning observed-fact-evidence-bar) and does not in the other 4, so slice 3 is unblocked.

    What ran

    Claude Code 2.1.314, model claude-opus-5-5 (from every trace), judge opus, main at a955d6b (it includes slice 1, #10184, which is closed). git archive exported the planning, improvement and education plugins to a copy under /home/kyle/worktrees/host-run-10235/, outside the checkout. Each run used the subscription login, with an empty HOME and TMPDIR under that directory.

    claude plugin eval <copy>/plugins/<plugin> --case <name> [--ablation none] --scaffold --trust-plugin --keep-temp --judge-model opus --threshold 0.8 --runs 3 --max-cost-usd 5 --no-publish -j 3 --output-dir <dir> --json <file>
    python3 run-validity.py <dir>/aggregate-result.json --runs 3

    Cost: the estimate before the run was about 10 USD. Basis: the 2026-10-24 run cost 6.80 USD for 30 runs, and this one has 45. The actual cost was 13.62 USD (the CLI's list-price estimate), including 0.96 USD for the discarded first try of one variant. Subscription spend, Q110.

    Rule for "discriminates", fixed before the counts were read: the variant passes the target grader in at least 2 of 3 runs, and the current prompt's with-plugin arm passes it in at most 1 of 3.

    Results

    Case Target grader Variant (--ablation none) Current prompt: with / without Validity (current, variant) Discriminates
    planning disconnected-scan-before-new-work connect-before-build 0/3 0/3 / 3/3 VALID, VALID (rerun) No: the variant fails too
    planning observed-fact-evidence-bar each-candidate-grounded 3/3 0/3 / 0/3 VALID, VALID Yes
    planning unilateral-decision-not-folded choice-surfaced-not-folded 3/3 3/3 / 1/3 VALID, VALID No: the current prompt already passes with the plugin
    improvement already-built-disconnected-scan ranked-ahead-of-greenfield 3/3 3/3 / 3/3 VALID, VALID No: the base model already passes
    education non-obvious-behavior-keying not-surface-only 3/3 3/3 / 3/3 VALID (ceiling warning), VALID No: the base model already passes

    Validity: 10 of the 11 result files are VALID. The INVALID one is the first try of the disconnected-scan-before-new-work-behavior-present variant, and the VALID rerun in the table replaces it:

    • Its permission denials check failed: one with-arm run's Grep, aimed at the plugin directory, was denied.
    • The judge split twice.
    • Its target count was 1/3.

    skill fired warning: every file carries one. The check reports "fired in 0 with-arm runs; no skill-fired grader, so not checked". Each prompt starts with the slash command, which loads the skill without a Skill tool call; this is the 2026-10-24 diagnosis. Two grader pairs show the plugin did load:

    • On disconnected-scan-before-new-work, invites-reaction passes 3/3 with the plugin and 0/3 without.
    • On observed-fact-evidence-bar, names-repo-files passes 3/3 with the plugin and 0/3 without.

    Notes for the follow-up

    1. disconnected-scan-before-new-work:
      • The regexes show the with-plugin arm finds all three disconnected items (3/3 each).
      • The /planning:brainstorm skill's "cheapest first" list then ranks them below "measure first", a bug fix or cutting notification types. All six with-plugin answers do this: three on the current prompt and three on the variant rerun. Wiring the existing digest comes third or fourth in every one.
      • The judge requires the items to come before any other option, so it fails these answers.
      • The without arm leads with the items and passes 3/3.
      • So the skill's ordering works against this heuristic, and stating the heuristic in the prompt does not override that ordering.
      • Slice 3 must decide which is wrong: the skill's ordering, or a grader that wants the items ahead of non-greenfield options such as a bug fix.
    2. unilateral-decision-not-folded:
      • The plugin raises the with arm over the without arm (3/3 against 1/3).
      • The current prompt already exhibits the behavior with the plugin, so the variant arm cannot separate them.
      • mechanical-steps-kept passes only 1/3 on the variant and on the current prompt with the plugin.
    3. The improvement and education cases: the base model already passes on these fixtures, as in the 2026-10-24 run. They need harder prompts or fixtures, which was next step 3 in that run.
    4. This record is posted on test(heuristic-evals): rerun the AC2 discrimination check with behavior-present variants on the host #10235 and Eval candidates: behavioral heuristics from the Finding Your Unknowns integration #3589, and the table above is the per-case result. AC2 is not met, because 4 of the 5 cases do not discriminate, so it stays unticked.

    No PR: the run changed no code.

    Target labels: add agent-ready; remove host-run.

  9. added
    agent-ready
    and removed
    host-run
    on Oct 30, 2026
  10. melodic-automation-lanes commented on Oct 30, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped on this issue (report-delivered): the issue asks for a report and no change, and the run posted that report, so the issue closes.
    The issue is not work-class: read-only, or the run committed to a branch, so it retries instead of closing.
    It keeps agent-ready, and work-unblock starts it again (retry 1 of 2).

    In the run's words:

    report-delivered: the host run this issue asks for has already happened and is posted. kyle-sexton's comment https: //github.com/melodic-software/claude-code-plugins/issues /10235#issuecomment-6515338767 reports it on this issue and on #3589. It covers every done-when item: run-validity verdicts for all 11 result files, per-case target-grader counts for each variant and current prompt, a discriminates or does-not label per case, and the slice-3 outcome. No repository change is needed, so closing this issue is all that remains.

    What the run says it did not do:

    • Did not rerun the evals or run-validity.py: this lane cannot run claude plugin eval. The results come from the host run in the cited comment, not from this run.
    • Did not confirm that the #3589 copy of the record exists or that slice 3's blocked-by edge is cleared: this lane has no tracker access. The host comment says the record is posted on #3589; closing this issue should clear slice 3's block.
    • Skipped tidy, review and verify: there is no diff to tidy, review or build.

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41005733419

  11. added
    agent-ready
    attended
    and removed
    agent-ready
    on Oct 30, 2026
  12. melodic-automation-lanes commented on Oct 30, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped on this issue (manual-external): the run reports the work needs a manual step on external state, one of pr-pipeline.yaml's attended classes, which needs the owner present.
    It added attended and removed agent-ready: the step needs the owner present, and it waits on no decision from a person.

    In the run's words:

    manual-external: #10235's work is finished and only closing the issue remains, which this lane cannot do. kyle-sexton's host-run comment (https: //github.com/melodic-software/claude-code-plugins/issues /10235#issuecomment-6515338767), also posted on #3589, meets all four done-when items: run-validity verdicts per file, with the one INVALID first try's failing check named; per-case target-grader counts for the variant and the current prompt; a discriminates label per case (1 of 5); and the finding that slice 3 is unblocked. No code changes. The earlier run's report-delivered exit could not close the issue, because report-outcome.mjs closes on that exit only when the issue is labelled 'work-class: read-only', and this one is not. already-done needs a commit that closes the issue, and none exists. A person needs to close #10235 as completed, or add 'work-class: read-only' so a lane report-delivered run closes it. Closing it unblocks slice 3, #10291, whose body reads 'Blocked by #10235 (slice 2)'.

    What the run says it did not do:

    • Closing #10235 and so unblocking #10291: a tracker action this lane cannot take for an issue without 'work-class: read-only'
    • tidy: skipped, because the run changed no files
    • review, verify and checks prep steps: skipped, because the run made no diff

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41010734661

    Once the step is done, a listed human removes attended and adds agent-ready again.

  13. kyle-sexton commented on Oct 30, 2026

    @kyle-sexton
    MemberAuthor

    Closing as completed: the host run in #10235 (comment) meets each done-when item.

    The lane's last stop asked a person only to close this issue, which is a tracker action, not one of the owner's three reasons (standing direction §2, §10).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    attendedstatus: ready

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions