Skip to content

fix(session-flow): retro on Sonnet says the yardstick was not run instead of not available in half the runs #16239

Closed

Description

@kyle-sexton

Problem

In session mode, /session-flow:retro must say when the steering-file yardstick (/docs-hygiene:write-for-agents) was not available, "not only that it was not run" (plugins/session-flow/skills/retro/context/session.md, the yardstick paragraph), and must route a no-op steering line. On Sonnet it does each about half the time.

Measured on the head of pull request #16234, which replaces the case's regex grader with a calibrated model grader (17 of 17 samples agree, 51 of 51 judge runs): case re-session-noop-steering-line, 6 Sonnet runs, file VALID.

Grader Passes of 6
says-no-yardstick (llm, calibrated) 3
routes-noop-line (regex) 2
no-write, no-edit, no-bash-writes 6 each

The three replies that fail says-no-yardstick say only that the yardstick was not run, which is the wording the skill text rules out:

  • "I did not run /docs-hygiene:write-for-agents as a yardstick."
  • "/docs-hygiene:write-for-agents was not run."
  • "I didn't run the /docs-hygiene:write-for-agents yardstick against the two CLAUDE.md lines, so that judgment is not made."

All three also report no no-op line, so they fail routes-noop-line too. Earlier runs on main show the same split: counted by meaning, Sonnet states unavailability in about 9 of 12 runs across two earlier files and 3 of 6 here; Opus does in 11 of 12.

Likely cause (not proven; no eval was run on a changed text)

  • The yardstick paragraph states the rule in the negative ("not only that it was not run") without giving the sentence to write, and the model writes the shorter true statement.
  • The no-op row is listed under environment findings, "Look for each of these in the session". A no-op line is not a session event, so runs that apply the durable-findings filter drop the row.

Done when

  • The retro's session-mode text makes the yardstick statement concrete: when /docs-hygiene:write-for-agents is not among the session's skills, the report says it was not available, in those terms, wherever it assesses steering-file lines.
  • The text says a no-op steering line gets its row without a session event behind it.
  • A before/after eval of re-session-noop-steering-line on Sonnet, at least 12 runs per side, both sides run together, is in the pull request body: after the change says-no-yardstick passes in at least 11 of 12 runs and routes-noop-line in at least 10 of 12, with the before counts beside them. The other re-session-* cases run paired and show no loss.
  • No grader of the case changes in that pull request.

Related

Activity

  1. added
    needs-triage
    on Nov 14, 2026
  2. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Understood: the retro's session-mode text should say the yardstick was "not available" (not only "not run") and should give a no-op steering line its own row. The latest decision comment (#16239 (comment), by kyle-sexton) reads:

    Decision recorded.

    Hub session (GitHub Support). Owner decision Q155, answered in the hub session on 2026-11-14 (US Eastern) after the 2026-11-15T01:02Z restatement.

    Question. One sandbox-denied tool call makes the validity check read a whole result file INVALID, while every eval registration says no reruns. In this issue's before/after eval the bar was met and one paired case's BEFORE file read INVALID from a single denied Glob, so the registration's "both sides VALID" rule left that case "unable to decide" and this issue open.

    Answer (owner, verbatim). "Go with recommended" That is option (a).

    [quote truncated; the full decision is at the link]

    This decision settles the open question, and I ask nothing further. By its record, merged pull request #16241 shipped the two text items. The eval bar was met on the changed case (12 of 12 on both graders after, against 4 of 12 and 8 of 12 before). The paired no-loss item is met under the amendment. That leaves nothing that I can see, so a maintainer may be able to close this issue.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 14, 2026
  4. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"edc9bce34cf9115a9052a821ef5267ddec1400bbcdeeb05c5fce8bbca16bc915","body_sha256":"e645d3e7f54349c6447da2d2b5ffd690c0ca2757b152ee94c66202bfa9c5ebdf"}

  5. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor
    No description provided.
  6. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    Pull request #16241 merged with Refs:, so this issue stays open and nothing starts the lane on it again. work-unblock removed status: ready and agent-ready, so the hourly triage sweep sends it back to intake triage. Admission then parks it at status: confirmed for a check of what that pull request left, until a **Decision recorded.** comment says what is left or someone closes it.

  7. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).

  8. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: its done-when asks for what an unattended lane run cannot perform: item 3 (eval: "A before/after eval of re-session-noop-steering-line on Sonnet, at least 12 r..."); recommended split: keep the other items here as the admissible issue and move these to a child issue for the host queue (host-run); merged pull request #16241 names it with Refs: after its newest decision or refinement comment, so its work may already be done: close the issue if it is, or post a comment whose first line is **Decision recorded.** saying what is left, which sends it back through intake. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  9. kyle-sexton commented on Nov 15, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded.

    Hub session (GitHub Support). Owner decision Q155, answered in the hub session on 2026-11-14 (US Eastern) after the 2026-11-15T01:02Z restatement.

    Question. One sandbox-denied tool call makes the validity check read a whole result file INVALID, while every eval registration says no reruns. In this issue's before/after eval the bar was met and one paired case's BEFORE file read INVALID from a single denied Glob, so the registration's "both sides VALID" rule left that case "unable to decide" and this issue open.

    Options shown.

    • (a) Recommended: a run with a denied tool call is excluded at run level on both sides and listed with its trace and the denied call; a case needs at least 4 of 6 counted runs per side (8 of 12 where 12 are run), else it drops; the rule is written into this registration as an amendment made after results and carried into every later registration.
    • (b) Keep the registrations frozen; this issue stays open.
    • (c) Stop the Release enforcement ladder 3.0.0 with the verification tier and capability-named rungs - part 2 of 2 #16078 compare and restart it under a new registration that has the rule.

    Answer (owner, verbatim). "Go with recommended" That is option (a).

    What it allowed, as acceptance criteria.

    • The amendment is in the registration, labelled as made after results; nothing was rerun and nothing rescored.
    • The record below gives both readings, as registered and under the amendment, with every validity verdict stated.
    • Each excluded run is listed with its trace and the denied call.

    Eval record (text change merged as pull request #16241)

    BEFORE 268e6ff7af57, AFTER 616337066f14 (pull request #16241 on main). Sonnet, judge Opus, Claude Code 2.1.325. Eight result files, 60 runs, 12.11 USD list price (agent 10.44, judge 1.67). No stop fired; no shim, permission-check, limit or partial hit; 0 trace-grep hits in every file.

    re-session-noop-steering-line (the changed case), 12 runs per side, all four files VALID.

    Grader BEFORE AFTER Bar (AFTER)
    says-no-yardstick 4 of 12 12 of 12 at least 11 of 12: met
    routes-noop-line 8 of 12 12 of 12 at least 10 of 12: met
    no-write, no-edit, no-bash-writes 12 of 12 each 12 of 12 each no loss

    Paired cases, 6 runs per side.

    Case Validity As registered Under the amendment
    re-session-unwired-check-first both files VALID no loss: every grader 6 of 6 on both sides the same; no run excluded
    re-session-listed-failures-cover-unlisted BEFORE file INVALID, AFTER file VALID unable to decide no loss: BEFORE 5 of 5 counted runs and AFTER 6 of 6 pass every grader

    Excluded run (the only one): sonnet-before-listed.json, with-arm run 3, trace claude-eval-8WATzP, denied Glob with pattern **/session.md over the BEFORE plugin copy's root. That run scored 1.00 on every grader, as did the other five BEFORE runs, so no score depends on the exclusion.

    No grader of the case changed in pull request #16241.

    Done-when. The two text items shipped in pull request #16241. The eval item is met on the changed case under both readings; the paired no-loss item is met under the amendment and reads "unable to decide" for one case as first registered. This record stands in for the pull request body, which merged before the eval ran.

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

    No labels
    No labels

    Type

    Fields

    Work status

    needs-triage

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions