Skip to content

fix(session-flow): the running-retro eval cases read INVALID on main #16172

Closed

Description

@kyle-sexton

Problem

The two running-retro eval cases of the session-flow plugin, rr-routes-never-codifies and rr-skill-fit-names-owner, read INVALID on main, so no before/after eval of a change to the retro text can use them as evidence.

Measured on main at 0bfd6c0b on 2026-11-14, 6 runs per case, run-validity.py --runs 6 --scaffolded, auto memory off:

Model Counted permission denials Verdict
Sonnet 14 INVALID
Opus 18 INVALID

The same cases read INVALID on the branch of pull request 15961 (17 and 17). The denied calls, as the eval agent read them from the traces (UNVERIFIED by a second reader):

  • ls, Read and Glob of the run's own transcripts under the sandbox's config/projects directory;
  • Grep and Glob at the root of the plugin copy under test;
  • on Sonnet, Edit and Write of .claude/rules/build.md in the scaffolded repository.

The three re-session-* cases read VALID on the same commit, so the cause is specific to what the running retro reads.

Outcome

A run of the two rr-* cases on main reads VALID, so a before/after compare of a retro change can include them.

Done when

  • The cause of each denied call is named from the traces: the skill text that sends the model there, or a case fixture that lacks what the skill expects to read.
  • One of these is changed, with the reason in the pull request: the running retro reads its session data in a way the sandbox allows or the validity gate sets aside when denied; or the cases supply the data where the skill looks.
  • run-validity.py is not changed to hide a denial that reflects real skill behavior, and no case is given wider read access than its fixture needs.
  • On main after the change, 6 runs per case on Sonnet and Opus with CLAUDE_CODE_DISABLE_AUTO_MEMORY=1 read VALID; the pull request records the counted denials (0) and per-grader pass counts.
  • The grader names-skill-and-plugin of rr-skill-fit-names-owner, which passed in 0 of 24 runs on both sides, is checked against what the skill text requires and either corrected or shown to be measuring a real miss.
  • If skill text changes, the before/after eval that docs/review/skills-and-agents.md requires is in the pull request body.

Out of scope

  • Pull request 15961's own text.
  • The re-session-* cases.

Activity

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

    @github-actions
    Contributor

    Size: Small
    Complexity: Medium
    Uncertainty: Knowable
    Flags: none
    Blocked by: none

    Decision recorded. #16596 merged the fix, and the host check registered for the two remaining items ran on main afterwards. Both read NOT MET, so this issue stays open. Nothing was rerun or rescored.

    Record: main after #16596, 6 runs per case

    • Item 4, Opus validity (both cases): NOT MET. The file reads INVALID: 2 counted permission denials, one run in each case, 5 of 6 runs counted per case. Both came from the analysis subagent:
      [quote truncated; the full decision is at the link]

    #16172 (comment)

    This decision settles the open questions: the next step is three sentences of skill text (Read or Grep only for the subagent, mark the subagents folder not available when the transcript is unreadable, an explicit owner field per skill-fit gap), with no grader or validity-gate change. After that, a new before and after record is needed.

    I understood this as a bug in the running-retro eval cases and skill text. #16596 already merged a partial fix. The remaining done-when items need a host eval run (6 runs per case on Sonnet and Opus), which this lane cannot do. I did not find another merged change that covers the remainder.

    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":"14ed0a8b8492c2aba4eb9ee6d1236023205c1a403dbe5376a5dbcbdfe192bc5b","body_sha256":"c504f1cc3de72d92cf68c1bbff0323e8c5f562a841e6b671876c853792c72fab"}

  5. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor
    No description provided.
  6. added
    host-run
    on Nov 14, 2026
  7. melodic-automation-lanes commented on Nov 14, 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 set Work status to confirmed: an agent run on a host builds it, and it waits on no decision from a person.

    In the run's words:

    host-only: every done-when item needs eval runs and their traces, and this lane can do neither. Naming each denial's cause 'from the traces', the 6-runs-per-case Sonnet and Opus VALID check with counted denials and per-grader pass counts, and the before/after eval that docs/review/skills-and-agents.md requires for a skill-text change all need run-validity.py and the plugin-eval runner on a host. This lane's Bash runs only fixed wrappers, and no traces from the 2026-11-14 measurement are in the checkout. Without traces, any change to the cases or the running-retro text would be a guess, and nothing here could show it removes the denials.

    What the run says it did not do:

    • Name each denied call's cause from the traces: no traces are in the checkout and this lane cannot run the eval to make new ones
    • Six runs per rr-* case on Sonnet and Opus with CLAUDE_CODE_DISABLE_AUTO_MEMORY=1 through run-validity.py --runs 6 --scaffolded: needs a host eval run
    • Check the names-skill-and-plugin grader against the final replies in the traces before correcting it or showing it catches a real miss
    • Tidy: skipped because nothing changed

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

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

  8. kyle-sexton commented on Nov 16, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. #16596 merged the fix, and the host check registered for the two remaining items ran on main afterwards. Both read NOT MET, so this issue stays open. Nothing was rerun or rescored.

    Record: main after #16596, 6 runs per case

    • Item 4, Opus validity (both cases): NOT MET. The file reads INVALID: 2 counted permission denials, one run in each case, 5 of 6 runs counted per case. Both came from the analysis subagent:
      • rr-routes-never-codifies: a shell sed -n on the skill's own context/checkpoint.md. The delegation template tells the subagent to read that file and names no tool; the "use the Read or Grep tool" sentence fix(session-flow): stop the running-retro eval cases' permission denials #16596 added sits where the subagent never sees it.
      • rr-skill-fit-names-owner: an ls of the session's own subagents folder. The rule for an unreadable transcript does not cover that folder.
    • Item 5, names-skill-and-plugin under the corrected grader, Sonnet: NOT MET. The file is VALID with 0 counted denials; the grader passed 2 of 6 counted runs against a bar of 5. reports-skill-fit-gap passed 6 of 6.
      • Two misses name the owner in wording the grader does not accept ("both for" and "both on" implementation:implement-dispatch).
      • Two misses are real: the skill is named only as the one that was bypassed, with no owner stated. The skill text asks for the owning skill but never for an owner label.
    • An earlier registration measured nothing. Its 2-run smoke was valid, but its own rule stopped the chain on one grader missing in one smoke run (the reply reported the gaps in a table without the literal word that grader looks for). The successor differed only in that rule, stated before its run.
    • Cost: 0.59 USD for the stopped smoke and 10.59 USD for the completed check (smoke 0.67, Opus 8.02, Sonnet 1.90).

    Next

    Three sentences of skill text, no grader or validity-gate change, then a new before and after record:

    1. The subagent reads local files with the Read or Grep tool, never a shell command.
    2. When the transcript is unreadable, the subagents folder is marked not available and the subagent does not look for it.
    3. Each skill-fit gap carries an explicit owner field or Owner column.

    Limit of any such record: each Opus cause appeared once in 12 runs, so 6 runs per case can show only that neither recurs at that resolution.

    The eval harness is local and not committed, per this repository's rule for one-off eval tooling.

  9. melodic-automation-lanes commented on Nov 16, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: its done-when asks for what an unattended lane run cannot perform: item 6 (eval: "If skill text changes, the before/after eval that docs/review/skills-and-agen..."); recommended split: keep the other items here as the admissible issue and move these to a child issue for the host queue (host-run); it carries host-run. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  10. removed
    host-run
    on Nov 16, 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

    No labels
    No labels

    Type

    Fields

    Work status

    confirmed

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions