Skip to content

fix(session-flow): owe the yardstick statement for every assessed steering-file line - #16134

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16126-43556624810-1
Nov 14, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16126-43556624810-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Refs: #16126

Summary

Opened by the work-resolve-issue lane. The run's own summary:

The says-no-yardstick grader never passed because the retro's 'Steering-file yardstick' rule (session.md:322) applied only to 'a finding about a steering file', and runs treated the no-op CLAUDE.md line as a judgment call, so the statement never fired. Of the two options the issue allows, this changes the skill text, not the grader. The rule now covers every steering-file line the report assesses (finding, no-op row or judgment call) and says the report must say the yardstick was not available, not only that it was not run, which rules out the closest real reply ('I didn't run the docs-hygiene yardstick'). Basis: the grader's regex already matches the statement the skill asks for (the static validator and its samples agree, per the issue). The text's condition was the part that failed, so changing the text is the fix that lets the case reach 1.0 when the retro behaves as written. The grader is unchanged, so it stays a regex and needs no model-graded calibration.

Remaining work

  • Record 6 Sonnet runs of re-session-noop-steering-line on the changed text (CLAUDE_CODE_DISABLE_AUTO_MEMORY=1) with per-grader pass counts, showing says-no-yardstick passes in at least 5 of 6, plus the before/after comparison against the old text.

Not verified

  • 6 Sonnet runs of re-session-noop-steering-line with CLAUDE_CODE_DISABLE_AUTO_MEMORY=1 and per-grader pass counts were not run: this lane can run no eval harness. Left for a person to record in the PR body.
  • The before/after eval for the skill-text change, which the issue's done-when asks for in the PR body, was not run for the same reason. docs/review/skills-and-agents.md requires eval evidence only for a cut; this change widens the text.
  • Reviewer low finding left open: saying no-op rows are 'judged against /docs-hygiene:write-for-agents' could pull a run toward routing the no-op line to write-for-agents instead of the harness-config route (session.md:319). Watch the routes-noop-line grader in the eval runs.
  • ai-slop deterministic detector (detect.sh) and its semantic-diff verifier were not run: the lane's Bash allows only the named wrappers. The rubric was applied by reading.
  • verify (build/tests): markdown-only change with no build. Eval-case schema and quality checks (evals-schema, eval-cases, evals-quality) are CI-only per check-affected and left to the PR's CI. The eval case itself is unchanged.
  • Untracked dotfiles at the checkout root (.bash_profile, .bashrc, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc) are not part of this change. They appear to come from the runner environment and should be left out of the patch.

Fix

  • plugins/session-flow/skills/retro/context/session.md: the 'Steering-file yardstick' paragraph now applies to every steering-file line the report assesses (finding, no-op row or judgment call), and requires saying the yardstick was not available rather than only that it was not run.
  • .changes/session-flow/work-resolve-issue-issue-16126-43556624810-1-a8e472e5.md: new patch changelog fragment (Fixed) describing the widened rule.

Verification

The runner ran each check from the base copy against 1f9c466:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • check-changelog-fragments: all 42 fragments valid (run after the last edit).
  • check-changed-skills: CHECK-SKILL retro PASS, 0 errors, 4 warnings, all in text this change did not touch (quick.md:56 fresh-eyes, SKILL.md procedure lines 27-32, session.md has no TOC, SKILL.md body length).
  • check-affected: 14 passed, 7 skipped (shellcheck/ruff: no matching files; typos not installed; validate-plugins sub-checks and changed-skills skipped by the wrapper), over 2 changed files.
  • Fresh-context subagent review of the whole diff: no high or medium findings. It confirmed the new text names the no-op row and that a reply following it ('the yardstick was not available') matches the case.yaml:22 regex. Its one fixed low finding: the fragment overstated 'for every such line'. That…
  • Tidy (code-tidying:tidy-diff): write-for-agents pass found nothing to change in session.md:322-325. write-for-humans and ai-slop rubric passes reworded the changelog fragment to define its terms and drop a restated negation.
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43556624810

Left out: the items under Not verified.

Related

#16126

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 1f9c466593021b09fdcbac9bf3eea9ffd6ae8480: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #16134, no findings

Scope. I read both changed files in full: the "Steering-file yardstick" paragraph in plugins/session-flow/skills/retro/context/session.md and the new changelog fragment .changes/session-flow/work-resolve-issue-…-a8e472e5.md. This is the first review of this pull request, and no earlier findings were posted.

What the change does. Before, the yardstick rule covered only "a finding about a steering file". It now covers every steering-file line the report assesses: a finding, a no-op row or a judgment call. It also requires the report to say the yardstick "was not available", not only that it was not run. That fits the says-no-yardstick grader in case.yaml#L22: a line with "yardstick" … "not available" matches its first alternative. The eval's scenario is a no-op CLAUDE.md line that the earlier wording did not reach. This change widens the text and removes nothing, so the "cut ships with eval evidence" rule in docs/review/skills-and-agents.md does not apply. The changelog fragment's bump: patch fits a widened rule in skill text.

Closing issue. The pull request body says Refs: #16126 and has no closing keyword. The context file therefore has no closing-issue section and no acceptance criteria to check.

Author-claimed, unverified. I ran none of the following:

  • the six Sonnet runs of re-session-noop-steering-line
  • the before/after eval comparison
  • check-changelog-fragments, check-changed-skills and check-affected

The pull request body itself lists the eval runs as not done and left for a person. The author raises one open risk worth watching in those runs: the no-op row is now "judged against /docs-hygiene:write-for-agents", which could pull a run away from the /harness-config:* route in session.md#L319. The routes-noop-line grader would catch that. Without eval output this is speculative, so it is not a finding.

Embedded text. Nothing in the pull request context tries to direct this review.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 1f9c466593021b09fdcbac9bf3eea9ffd6ae8480: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #16134, no security issues found

I read both changed files in full in .claude-lane/pr.diff:

  • plugins/session-flow/skills/retro/context/session.md: the "Steering-file yardstick" paragraph changed. The rule used to apply only to a finding about a steering file. It now applies to every steering-file line the retro report assesses, whether a finding, a no-op row or a judgment call. It also requires the report to say the yardstick "was not available", not only that it was not run.
  • .changes/session-flow/work-resolve-issue-issue-16126-43556624810-1-a8e472e5.md: a new patch changelog fragment describing that change.

Instruction-surface lens. This is a skill body edit, so I checked whether it deletes, narrows or softens a standing instruction. It doesn't. The rule now covers more lines and asks for a more specific statement in the report. Nothing it used to forbid or require is gone. The rule only shapes the text of a retro report, and it gates no tool, permission, token, hold or trust decision. I didn't need the protected-class register because no rule was removed or weakened.

Other surfaces. The diff has no code, workflow, manifest (plugin.json / marketplace.json), trust control, merge hold, token scope or trusted-path file. No changed file matches a TRUSTED PATHS: glob. Neither manifest changed, so there are no manifest lines to report.

Embedded text. The PR context is a plain description of the change. It contains no directives aimed at this lane.

Prior findings. This lane hasn't reviewed an earlier head of this PR (0 earlier heads, blocking only: no), so this is a full review.

critical-findings: 0

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 1f9c466593021b09fdcbac9bf3eea9ffd6ae8480, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for 1f9c466

The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file.

Capture artifact: pr-capture-16134-1f9c466593021b09fdcbac9bf3eea9ffd6ae8480, expires on 2026-12-14.

One comment per pull request, updated in place for each new head.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=MEDIUM demote=false head=1f9c466593021b09fdcbac9bf3eea9ffd6ae8480 rubric=9.0.0 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 14, 2026
Merged via the queue into main with commit 9e84bbf Nov 14, 2026
49 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16126-43556624810-1 branch November 14, 2026 04:54
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 9e84bbf1eea883a9a0c77939a90b29170a617cb9; later checks count it verified from this comment.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants