Skip to content

feat(session-flow): send unapplied session-flow:retro findings to the findings buffer - #12216

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-12152-41374052023-1
Nov 2, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #12152

Summary

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

The retro session mode's Phase 4 now sends each finding whose recommendation the user declines or leaves unselected to the findings buffer, one /corrections:codify note call per finding, so a later session can see the lesson recur and /corrections:codify group can count it. Applied findings, 'Queue for follow-up' items, skill candidates and follow-up candidates are not appended. Each note is one sentence stating the lesson, with no person named and no quoted transcript text. Without the corrections plugin, the unapplied findings are listed under 'Unapplied findings' in the Phase 5 summary and no file is written. I put the text in the existing Phase 4 section, after the approval question, because the note can only run once the user has answered. I used the same 'when the corrections plugin is installed' wording as Phase 3 of the same file.

Not verified

  • The PR's CI ('The PR's CI is green' in done-when) runs on the PR, not in this lane, along with the CI-only checks check-affected listed
  • tidy: the ai-slop pass did not run its detector script (detect.sh), because this lane's Bash runs only the named wrappers. The listed lines were checked against the rubric by reading only, and that pass made no edits. Passes 1-3 had nothing to do because the change is all markdown
  • verify step: the change is markdown only, with no build or test target; check-affected skipped typos (not installed) and markdownlint (CHECK_SKILL_SKIP_MARKDOWNLINT=1)
  • The checkout root holds untracked dotfiles (.bashrc, .gitconfig, .idea, .vscode, .mcp.json and others) that this run did not create; they are not part of this change

Fix

  • plugins/session-flow/skills/retro/context/session.md: new paragraph at the end of 'Phase 4: Act (with user approval)' that routes unapplied findings to /corrections:codify note (one call per finding), says what is excluded and what form each observation takes, gives the fallback when corrections
  • .changes/session-flow/work-resolve-issue-issue-12152-41374052023-1-c756d622.md: new changelog fragment, bump: patch, describing the change

Verification

The runner ran each check from the base copy against ee8e629:

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

The run reports:

  • check-changelog-fragments: all 9 fragments valid (run before tidy, after tidy, and after the review fixes)
  • check-changed-skills: retro PASS, 0 errors, 5 warnings. Each warning cites a line the change did not touch, or a size or TOC limit the file already exceeded before it (session.md was 406 lines and is now 417)
  • check-affected: 11 passed, 7 skipped, the rest listed as CI-only, over the 2 changed files
  • read plugins/corrections/skills/codify/actions/note.md: the note's signal is one sentence that states the lesson, not a fix, and no person is named in the row
  • local review (fresh-context subagent): no high-severity findings and 4 wording findings. I confirmed all 4 and fixed them: say 'finding whose recommendation' to match Phase 4's numbered recommendations, exclude skill and follow-up candidates, name the Phase 5 summary as the place for the fallback li
  • git-read diff: SKILL.md and evals/evals.json are unchanged
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41374052023

Left out: the items under Not verified.

Related

#12152

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

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

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

Security review: PR #12216

No security issues found.

What changed. The PR adds instructions to Phase 4 of retro session mode (plugins/session-flow/skills/retro/context/session.md). Once the user answers, the skill sends each finding they declined or left unselected to /corrections:codify note through the Skill tool. If the corrections plugin isn't installed, it lists those findings in the Phase 5 summary instead. The PR also adds a patch changelog fragment. It is markdown only. No changed file matches a trusted-path glob. No manifest, workflow, action or trust control is touched.

What was checked.

  • Instruction surface. The change adds a rule and removes or narrows none, so the instruction-exception-register check does not apply.
  • Data flow into the findings buffer. The new step writes model-written one-sentence observations, "with no quoted transcript text" (session.md L27-L29 in the head). The receiving action treats the observation as data. It never copies it into a command line, and the row reaches buffer.sh as a file (note.md#L7-L8, #L29-L31). The buffer.sh append call is not pre-approved, so it asks the user first.
  • Downstream consumer. group writes nothing, treats rows as data and runs no command found in a row. It only names a next command for a person to run (group.md#L9, #L23-L25, #L52-L54). So untrusted session content has no new route to code that runs or to a lane that holds credentials.
  • PR context. The context file holds no embedded text telling the lane to pass the PR, skip a check, drop a finding or post elsewhere. The closing issue's body was omitted by the wrapper.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

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

Code review: PR #12216, no findings

I read every hunk in both changed files: plugins/session-flow/skills/retro/context/session.md and the new changelog fragment .changes/session-flow/work-resolve-issue-issue-12152-41374052023-1-c756d622.md. Neither file is on a trusted path. This lane has posted nothing on this PR before (round 0 of 3), so nothing carries over.

Closing issue #12152, Done-when check

  • Phase 4 routes declined or unselected findings to /corrections:codify note, one call per finding, and excludes applied findings and "Queue for follow-up" items. Met by the new paragraph at session.md#L359-L369. It also excludes skill candidates and follow-up candidates, which the issue allows.
  • Without the corrections plugin, the findings are listed under "Unapplied findings" and no file is written. Met. The text names the Phase 5 summary as where the list goes.
  • Each observation is one sentence stating the lesson, with no quoted transcript text and no person named. Met. This matches what note requires at note.md#L15-L19: a lesson, not a fix, and no person named.
  • The diff does not touch retro/SKILL.md or retro/evals/evals.json. Met. The diff changes only the two files listed above.
  • A .changes/session-flow/*.md fragment with bump: patch describes the change. Met. The fragment's text matches the change.
  • CI is green. Not checked here. This lane cannot see CI.
  • Test coverage. No test or eval in the repository would fail if this paragraph were removed. The issue itself rules out editing evals.json, and prose instructions have no other way to be tested. I don't count this as a finding, because the closing issue explicitly chose to leave tests out.

Path-scoped rules

  • .claude/rules/skill-bodies-state-current-rules.md (glob plugins/*/skills/**): pass. The new text refers only to an in-repo skill and copies no upstream details that could go stale.
  • .claude/rules/cost-claims.md: pass. The text makes no cost claims.

Other notes

  • The retro SKILL.md has no allowed-tools restriction, so the Skill-tool call the new text asks for is permitted.
  • The "when the corrections plugin is installed" wording matches the existing Phase 3 "Repeated corrections" paragraph in the same file.
  • The PR's verification results (changelog-fragments and changed-skills checks passing) are the author's claims. I did not re-run them.
  • The PR body and issue text contain no instructions aimed at this lane.
  • No paved-path standards row was consulted.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head ee8e629c449fe2adbab28fc930916b72c9828bf6.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit 6147d6d Nov 2, 2026
44 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-12152-41374052023-1 branch November 2, 2026 02:22
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 6147d6d076d756d3bab01aff5f88db9f7fd59490; 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.

feat(session-flow): send /session-flow:retro findings the user does not apply to the findings buffer

0 participants