Skip to content

feat(session-flow): keep every action item in an orient catch-up and offer a video - #15922

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-15834-43397931069-1
Nov 13, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #15834

Summary

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

The /session-flow:orient catch-up word cap now limits only the What happened part: every action item is listed in full, never dropped, counted, merged or replaced by a link to fit the cap (default 250 and floor 150 unchanged). When /explainer-video:produce is among the available skills and the reply did not stop at Needs you, the catch-up ends with a one-line video offer and hands the catch-up to that skill on a yes; otherwise it says nothing about a video. No new skill or setting, matching the zoom-out scope's existing presence-gated hand-off to /visualization:visualize. Choice of means: the new eval case uses the eval-runner case.yaml format (plugins/session-flow/evals/), the format the --case filter selects, and relies on the default 250 cap because eval runs do not substitute ${user_config.*}. Dogfooding step for the PR body: run the changed skill with /app-control:drive claude-code-plugins session-flow/orient and record the evidence (AGENTS.md, "Driving this repository's skills"). The PR must carry the do-not-merge label until the two-version eval compare record lands.

Not verified

  • Done-when item 3's two-version non-inferiority compare of the orient cases (opus and sonnet aliases, three runs per side, --case filter, --max-cost-usd ceiling) runs only in the one local eval-runner session; not run here. The PR needs the do-not-merge label until that record lands.
  • The new case.yaml is not run or schema-validated here: the eval-cases validator (validate-cases.py) and evals-schema are CI only, and check-evals-quality reads only evals.json sets.
  • Tidy pass 5 (ai-slop) applied the rubric by reading; its deterministic detector (detect.sh) is not a wrapper this lane may run. Tidy ran after the first draft; the review fixes made afterwards were checked by re-running the checks, not by a second tidy pass.
  • Review finding left as speculative: no-video-offer grader assumes the eval host loads only session-flow (plugins: ["../.."]); a host that also lists /explainer-video:produce would make a correct reply offer a video and fail that grader.
  • verify step: no build or test suite covers these markdown, JSON and YAML edits locally; eval runs are left to the eval-runner session above.

Fix

  • plugins/session-flow/skills/orient/SKILL.md: the Word cap paragraph scopes the cap to What happened and forbids dropping, counting, merging or linking away an action item; a new paragraph adds the presence-gated one-line /explainer-video:produce offer, silent when the skill is absent or the reply…
  • plugins/session-flow/.claude-plugin/plugin.json: orient_catch_up_word_cap description says the cap covers what happened and every action item is listed in full
  • plugins/session-flow/README.md: the orient_catch_up_word_cap options row matches the new description
  • plugins/session-flow/skills/orient/evals/evals.json: case 5's expected output and expectation now say What happened stays within the cap, not the whole reply
  • plugins/session-flow/evals/or-catch-up-over-cap-keeps-every-item/case.yaml: new eval case, seven action items past the default cap, LLM graders for the Needs you count, every item listed, recommendation plus if-unanswered per item, What happened kept short, and no video offer
  • .changes/session-flow/work-resolve-issue-issue-15834-43397931069-1-4437451f.md: minor changelog fragment (Added: video offer; Changed: cap scope and the new eval case)

Verification

The runner ran each check from the base copy against 31f4820:

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

The run reports:

  • check-changelog-fragments: all 3 fragments valid
  • check-changed-skills: orient PASS, 0 errors, 3 warnings (pre-existing body length and numbered-procedure warnings; body grew 262 -> 269 lines)
  • check-affected: 12 passed, 7 skipped, the rest CI only
  • check-evals-quality plugins/session-flow/skills/orient/evals/evals.json: PASS, 0 warnings
  • fresh-context review subagent over the whole diff: 4 confirmed findings (eval prompt claimed a 150 cap the run would not apply, evals.json case 5 still said the whole reply fits the cap, video offer clashed with the stop-at-Needs-you rule, word-count grader too exact), all fixed; 1 speculative…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43397931069

Left out: the items under Not verified.

Related

#15834

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

Copy link
Copy Markdown
Contributor

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

Security review: PR #15922 (head 31f4820)

I found no security issues. I read every hunk of all 6 changed files in .claude-lane/pr.diff. None of them matches a trusted-path glob.

critical-findings: 0

What I checked

  • plugins/session-flow/.claude-plugin/plugin.json: the only change is the text of one setting's description. The setting's type (number), default (250) and min (150) are unchanged (plugin.json L179-L183). A setting's description is on this repository's list of fields that run nothing, so nothing new runs and no default gets more permissive.
    • manifest userConfig.orient_catch_up_word_cap.description: pass
  • plugins/session-flow/skills/orient/SKILL.md, word cap: the cap now limits only the "What happened" part instead of the whole reply. This loosens a standing instruction, so I checked what breaks without the old rule. It only controls how long the reply is. It guards no secret, credential, permission, publishing step or destructive action, and the catch-up is still described as read-only. Not a finding. The repository's instruction exception register (its list of protected rule classes) was not consulted; I judged the change by its consequences.
  • SKILL.md, new video offer: the hand-off to /explainer-video:produce happens only when that skill is installed and the user says yes. In unattended runs the skill records the offer and does not ask, so nothing sends content anywhere or writes files without a person agreeing. No new tool grant, setting or code path is added.
  • New eval case (evals/or-catch-up-over-cap-keeps-every-item/case.yaml): the prompt is fixed text from the author, and allowed_tools: [Read, Glob, Grep, Skill] grants nothing that writes. It adds no credential or outside input.
  • README.md, evals.json and the changelog fragment: wording changes only.
  • PR context: the description and linked issue contain no text telling the review lane what to do.

Spend: the pull request asks for a later local two-version eval comparison (opus and sonnet, three runs per side, capped by --max-cost-usd). That uses prepaid API credit, not a real charge, so it is not a hold.

@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: PR #15922 (session-flow orient catch-up: keep every action item, offer a video)

I read all 6 changed files in full in .claude-lane/pr.diff. I also read the head SKILL.md catch-up section and the one existing orient case.yaml, to compare the format.

The change. The word cap now limits only the What happened part, and the cap can no longer cost an action item (SKILL.md:86-90). A new paragraph offers a video only when /explainer-video:produce is present (SKILL.md:121-124). The plugin.json userConfig description and the README options row both change and match each other word for word. Case 5 in evals.json now says "What happened" stays within the cap, not the whole reply. The new case.yaml follows the existing orient case's schema (schema_version: "1.1", plugins: ["../.."], arm: on each grader).

Closing issue #15834, Done when:

  • Criterion 1, "The catch-up's cap applies to the "what happened" part; no action item is dropped, merged into a count, or replaced by a link to meet it." Met. The new case or-catch-up-over-cap-keeps-every-item has graders that would fail if an item were dropped, counted, merged or linked away.
  • Criterion 2, "...a one-line offer of a video through /explainer-video:produce when that skill is installed, and says nothing when it is not." Met in the skill text. Only the "says nothing" half has a test; see the inline comment on SKILL.md:121.
  • Criterion 3, the two-version non-inferiority compare and do-not-merge until the record lands. The PR body says the compare has not been run. I have no GitHub access, so I could not check whether the do-not-merge label is on the PR. This stays open until the compare record lands.
  • Criterion 4, "The pull request body names this repository's dogfooding step." Met: the body names /app-control:drive claude-code-plugins session-flow/orient.

All verification in the PR body (the fragment and skill checks, the evals-quality pass) is the author's claim; I did not verify it. Nothing in this run executed any check.

Manifest:

  • manifest userConfig.orient_catch_up_word_cap.description: pass (description text only; default and min are unchanged, so no default or options concern)
  • manifest bump: pass (the changelog fragment says bump: minor for a new user-visible behavior, the video offer)

Spend: the new eval case adds LLM-graded eval runs (up to 10 turns and 300 s per run) that draw on prepaid API credits when the eval-runner runs it. This is not a hold.

I found no embedded instructions in the PR context. No paved-path or settled-thread inputs were provided, and this is the lane's first review of this PR (no prior findings).

Verifier dropped 0 of 1 candidates.

critical-findings: 1

Findings not posted inline (their path, line or side is malformed):

The only new eval, or-catch-up-over-cap-keeps-every-item, loads just session-flow (plugins: ["../.."]). So it only covers the "says nothing" branch, through its no-video-offer grader. Nothing in the PR or the repository can fail if the offer is missing when the skill is available, if it is more than one line, or if it shows up after a catch-up that stopped at Needs you. Removing lines 121-124 completely would still pass every eval.

How to show it: delete this paragraph and run the orient evals. They all still pass.

Fix: add a case whose plugins: also loads the explainer-video plugin (or a stub skill named explainer-video:produce), with a grader for a single closing line that offers a video. Add a second grader, or a second case, that checks a nothing-happened catch-up (stops at Needs you) offers no video.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for 31f4820

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-15922-31f48207210f05f4435ede0da7458de34159f77b, expires on 2026-12-13.

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=HIGH demote=true head=31f48207210f05f4435ede0da7458de34159f77b rubric=8.4.16 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 13, 2026
Merged via the queue into main with commit fab3e0e Nov 13, 2026
51 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-15834-43397931069-1 branch November 13, 2026 09:32
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

Never drop an action item from an orient catch-up, and offer a video of it

0 participants