Skip to content

test(heuristic-evals): fix the scaffold and skill-fired defects and add behavior-present variant cases #10184

Description

@kyle-sexton

Parent: #3589 (slice 1 of 3). Runs first; slice 2 waits on it.
Runs in: lane. Authoring and static validation only; no model run.

Problem

The AC2 discrimination run on #3589 (2026-10-24) found two case defects and no arm that shows the behavior:

  • plugins/planning/evals/unilateral-decision-not-folded/case.yaml has no context.scaffold_script, so every run in both arms found an empty repository and stopped before planning.
  • plugins/improvement/evals/already-built-disconnected-scan/case.yaml and plugins/education/evals/non-obvious-behavior-keying/case.yaml start their prompts with the slash command. A slash command loads the skill as the user turn, not through a Skill tool call, so their skill-fired graders (type: tool_used, tool: Skill) failed in every with-arm run and run-validity.py called both INVALID.
  • These heuristics are deliberately not standing instructions, so the with-plugin arm is not a "behavior present" arm. A case discriminates only if some arm produces the behavior and some arm lacks it.

Decision (taken from the 10-24 data, not escalated): the behavior-present arm is a variant case per heuristic case whose prompt states the heuristic, run with --ablation none (single arm; the flag as this repo already uses it: plugins/evals/evals/iterate-then-confirm/prompt.md:7). A case discriminates when its variant passes the target grader and the current prompt fails it. Basis: the #3589 row of the backlog HITL batch (recommendations 1 and 2 of the 10-24 comment).

Fix

  1. Give unilateral-decision-not-folded a scaffold: a small webhook sender with a logger module, matching its prompt (logger import, threading the logger through the sender, logging failed deliveries). Add context.scaffold_script: scaffold.sh.
  2. Remove the skill-fired grader from the improvement and education cases (the prompt invokes the skill explicitly, so firing is not in question).
  3. For each of the five cases (planning disconnected-scan-before-new-work, observed-fact-evidence-bar, unilateral-decision-not-folded; improvement already-built-disconnected-scan; education non-obvious-behavior-keying), add a sibling case <name>-behavior-present with the same scaffold and graders and a prompt that also states the heuristic in one sentence. State in its description that it runs with --ablation none.
  4. Leave docs/finding-your-unknowns.md and every skill body unchanged; promote nothing to a standing instruction.

Done when

  • python3 plugins/evals/skills/validate/scripts/validate-cases.py plugins/planning/evals exits 0
  • python3 plugins/evals/skills/validate/scripts/validate-cases.py plugins/improvement/evals exits 0
  • python3 plugins/evals/skills/validate/scripts/validate-cases.py plugins/education/evals exits 0
  • grep -c 'scaffold_script' plugins/planning/evals/unilateral-decision-not-folded/case.yaml prints 1
  • grep -c 'name: skill-fired' plugins/improvement/evals/already-built-disconnected-scan/case.yaml plugins/education/evals/non-obvious-behavior-keying/case.yaml prints 0 for both
  • ls -d plugins/{planning,improvement,education}/evals/*-behavior-present | wc -l prints 5
  • git diff --name-only origin/main...HEAD -- docs/finding-your-unknowns.md 'plugins/*/skills/*/SKILL.md' prints nothing
  • ci-status is green on the PR head

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: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

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

    Understood: fix three eval-case defects (a missing scaffold for the planning case, and skill-fired graders in the improvement and education cases that can never pass). Then add five *-behavior-present variant cases. The owner decision is already in the body, and the done-when items are checkable in a lane run. The "ci-status is green" item can only be confirmed on the PR. No likely duplicates found among open issues; #3589 is the parent.

    Automated triage, applied by the lanes App.

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

    @melodic-automation-lanes
    Contributor

    This records a re-fire of an earlier refusal, not a new refusal. The lanes kill switch stopped run 40797693667, the work-resolve-issue run that agent-ready started, before it did any work; that run ended at 2026-10-29T01:31:36Z. work-unblock has now removed and added agent-ready back to start a fresh run. A kill-switch refusal is no fault in this issue or the lanes, so it never counts against later re-fires; after limits.limit-stops-per-issue of them since a person last added agent-ready or a run last reported, work-unblock waits longer before each one, up to 24 hours.

  7. added
    agent-ready
    and removed
    agent-ready
    on Oct 29, 2026
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

    agent-readystatus: 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