Skip to content

docs: cut restated upstream behavior in session-flow, planning and evals (batch 5, part 1) - #17117

Merged
melodic-automation-lanes[bot] merged 4 commits into
mainfrom
work-resolve-issue/issue-16837-44275665282-1
Nov 18, 2026
Merged

melodic-automation-lanes[bot] merged 4 commits into
mainfrom
work-resolve-issue/issue-16837-44275665282-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Refs: #16837

Remaining

Summary

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

Each passage this part lists is now either this repository's own rule with its reason plus an anchored pointer, or is cut back to the pointer, per the upstream-drift contract's Required parts. Where a skill procedure relies on the fact, I kept it as a rule (plugin-eval's usage-limit Gotcha still says a limit is not marked partial, because the zeros-after-usage-limit eval case grades that and its arm cannot fetch the page). The interview SKILL.md item (~431, the Spoke paths block on Read and CLAUDE_PLUGIN_ROOT) already reads as our rule plus an anchored pointer, so I left it unchanged. The design SKILL.md link is now anchored, so its stale docs-anchor-baseline row is removed.

The run went past its turn budget (turns=92 max-turns=75): the work may be too big for one run.

Not verified

  • Tidy was not run: the change is 12 files across four areas (session-flow, planning, evals, scripts) and touches the shared path scripts/, which is over the tidy cutoffs of 10 files and 1 area.
  • planning interview/SKILL.md ~431 (the Read and CLAUDE_PLUGIN_ROOT behavior in Spoke paths) was not changed: it already reads as our rule plus an anchored manifest-reference pointer. Its earlier text could not be compared because the clone is shallow.
  • loop.md's cli-reference and env-vars pointers stay as code spans without section anchors, as before. They point at an absence of a documented signal, which no single section covers. I did not read those two pages in this run.
  • Lines 75-77 of methodology/reference/local-decisions.md still carry As of and Recheck trigger lines on the Rubric form record, although the record stores no number or string. This is outside this part's listed passages.
  • comment-hygiene, typos and the validate-plugins sub-checks that run code from the checked tree were skipped locally (the network fetch was denied, or the tool is not installed). Lychee link checks and eval-case validation are CI-only, so they are left to the PR's CI.

Fix

  • plugins/session-flow/reference/observer.md: the effort paragraph now gives our reason for passing --effort, dropping CLAUDE_CODE_EFFORT_LEVEL and pinning it with --settings; the Record that restated the docs' precedence is replaced by a Pointer to env-vars#precedence, settings#settings-precedence…
  • plugins/planning/skills/draft-goal-condition/SKILL.md: the routines row no longer names a 'research-preview' label; it reads the release status on the routines page and names it in the recommendation, with the reason.
  • plugins/planning/skills/interview/context/loop.md: unchanged. The lane's edit to the unattended path sat inside two sections plugins/planning/tests/interview-defenses.test.sh pins by digest and failed Test Bash; an agent re-pin is not available, so the hunk was dropped and the passage stays open on docs: cut restated upstream behavior left by the stamp sweep (batch 5) - part 1 of 5 #16837.
  • plugins/evals/skills/design/SKILL.md: the with/without-arm paragraph is now our usage rule; the sentence on how claude plugin eval runs the arms and the 'unscored' note are cut, and the unanchored plugin-evals.md link becomes a Pointer to #the-no-plugin-baseline and #how-a-case-is-scored.
  • plugins/evals/skills/methodology/reference/eval-design.md: the effort guidance is now our rule (sweep model and effort together on a non-saturated suite, pick the cheapest pair that holds the target, with the reason), and the curve-reading guidance becomes a Pointer to the Tune effort section.
  • plugins/evals/skills/plugin-eval/reference/reading-results.md: the error bullet no longer restates which errored runs are graded; it tells the reader to check the error kind, links the SKILL.md Gotchas rerun, and adds a Pointer to #json-result.
  • plugins/evals/skills/plugin-eval/SKILL.md: the usage-limit Gotcha is reworded as our rule (partial is never the signal for a limit) with its reason, and its pointer uses the 'when ..., fetch ... live' form. The line count stays at 499 of 500.
  • plugins/evals/skills/methodology/reference/local-decisions.md: the blog correlate no longer states the blog's rubric position; it reads 'Correlate on rubric form with <link>'.
  • scripts/docs-anchor-baseline.txt: removed the stale row for plugins/evals/skills/design/SKILL.md, which validate-plugins flagged once its link was anchored.
  • .changes/session-flow/work-resolve-issue-issue-16837-44275665282-1-22d1c591.md: new patch fragment.
  • .changes/planning/work-resolve-issue-issue-16837-44275665282-1-d727a015.md: new patch fragment.
  • .changes/evals/work-resolve-issue-issue-16837-44275665282-1-2f717565.md: new patch fragment.

Verification

After the loop.md hunk was dropped (commit f316982, then main merged for the stale-base pre-push check): bash plugins/planning/tests/interview-defenses.test.sh passed 185, failed 0.

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

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

The run reports:

  • read https: //code.claude.com/docs/en/plugin-evals: sections 'The no-plugin baseline' (#the-no-plugin-baseline), 'How a case is scored' (#how-a-case-is-scored), 'JSON result' (#json-result) and 'Runs fail with a usage-limit or rate-limit error partway through' exist; the JSON result table says some…
  • read https: //code.claude.com/docs/en/routines: the page states its release status in a note at the top of the page, not under a heading, so the link stays page-level.
  • read https: //platform.claude.com/docs/en/about-claude/models/optimizing-for-cost-and-intelligence: a 'Tune effort' section (#tune-effort) exists under 'Trade cost against intelligence'.
  • check-changelog-fragments: all 13 fragments valid.
  • check-changed-skills: 5 skills checked, 0 failed. The first run failed plugin-eval SKILL.md at the 500-line hard cap; after the fix it is at 499.
  • check-affected: 14 passed, 8 skipped. The first run failed validate-plugins on a stale scripts/docs-anchor-baseline.txt row; I removed the row.
  • Fresh-context review subagent over the whole diff: 8 findings. Fixed: observer.md still restated the precedence; the usage-limit Gotcha had dropped the 'not marked partial' fact that the zeros-after-usage-limit grader checks; eval-design wording and an incorrect claim about saturated suites;…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44275665282

Left out: the items under Not verified.

Related

#16837

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

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none (read lane)
Run 44282643170

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #17117

I found no security issues.

I read every hunk of all 11 changed files in .claude-lane/pr.diff. The change only touches documentation:

  • It rewords skill and reference passages in the session-flow, planning and evals plugins. Each passage now states this repository's own rule and gives an anchored pointer, instead of restating upstream docs.
  • It adds three patch changelog fragments.
  • It removes one row from scripts/docs-anchor-baseline.txt.

At this head, plugins/planning/skills/interview/context/loop.md is no longer in the diff. The earlier review looked at it; it was dropped from this change.

What I checked

  • Trusted paths: none of the changed files matches a trusted-path glob.
  • Trust controls and manifests: the change touches no trust control, workflow, action, token request, merge hold or plugin manifest.
  • Instruction-surface lens: I read each changed skill and reference body for removed guardrails and found none.
    • observer.md: keeps the same safeguard. The run still passes --effort, drops CLAUDE_CODE_EFFORT_LEVEL from the child environment and pins it with --settings. Only the precedence record became a pointer.
    • The other passages: these are the plugin-eval usage-limit Gotcha, the reading-results error bullet, the eval-design effort guidance, the design with/without-arm paragraph, the draft-goal-condition routines row and the local-decisions correlate. Each changes only how upstream behavior is described or where to read it, and none of them gates or permits an action. The usage-limit Gotcha still says a limit is not marked partial.
  • Protected-class list: I did not read docs/contracts/instruction-exception-register/README.md. Since no rule was removed, recognition by consequence was enough.
  • Baseline row: removing it from scripts/docs-anchor-baseline.txt only tightens the docs-anchor check for plugins/evals/skills/design/SKILL.md.
  • Embedded instructions: the PR context contains no text telling the lane to pass the PR, skip a check, drop a finding or post elsewhere.

The prior-findings file says blocking only: yes, so this review reported only CRITICAL and IMPORTANT findings, and there were none.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review (blocking only): 1 blocking finding, about the PR as a whole.

This lane already reviewed an earlier head (bb834003), so this review reports blocking findings only. Since that head, the PR dropped its plugins/planning/skills/interview/context/loop.md hunk and merged main. I read every hunk of all 11 changed files in the full diff.

Blocking

Closing issue #16837 has a done-when item this PR no longer meets. The issue says:

planning draft-goal-condition/SKILL.md, interview/SKILL.md and interview/context/loop.md: each listed passage is cut to its anchored pointer, or rewritten as our own rule with its reason where a procedure relies on it.

The PR now leaves interview/context/loop.md unchanged. Its body says the hunk was dropped because plugins/planning/tests/interview-defenses.test.sh pins those sections by digest, and that the passage moved to #17267. The PR still says Closes #16837, so merging closes the issue with that item unmet. Two ways to fix it:

Checked, no finding

  • design/SKILL.md: the plugin-evals link now carries anchors (#the-no-plugin-baseline, #how-a-case-is-scored). Removing its row from scripts/docs-anchor-baseline.txt makes that check stricter, not looser.
  • plugin-eval/SKILL.md: the usage-limit Gotcha still says a limit "is not marked partial". It still tells the reader to check cases[].arms.*[].error and rerun with --case. That matches what the earlier review found the zeros-after-usage-limit case grades.
  • reading-results.md: the new relative link ../SKILL.md#gotchas points at an existing ## Gotchas heading.
  • observer.md, eval-design.md, draft-goal-condition/SKILL.md and local-decisions.md: each now states this repository's own rule with its reason, plus a "fetch … live" pointer, as .claude/rules/skill-bodies-state-current-rules.md asks. The routines link has no section anchor. The PR says the status sits in a note at the top of the page, under no heading.

Verification: I ran no commands. The PR body's check results (interview-defenses test, check-changelog-fragments, check-changed-skills, check-affected) are the author's claims and are unverified.

Embedded text: none in the PR context or prior-findings files.

Loosened-check verdict: fail (the wrapper wrote no verdict line, so the default applies); patterns: 0. The decision-record citation was not checked, because the wrapper wrote no decision-record line. Nothing in the diff loosens a check: removing the baseline row tightens one.

No plugin manifests and no .claude/ files changed.

Verifier dropped 0 of 1 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/resolve-conflicts
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none (read lane)
Run 44283590977

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

Lane-Activity: pr-unblock/resolve-conflicts
@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head d3c2f0f8a986433a6c9bda8429491967261245d7. No person needs to act: a lane clears this reason, and the next scheduled run judges it again.

a pr-unblock lane stopped its head (pr-unblock/address-feedback is failure), which clears when the
  lane runs again

@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 18, 2026
@kyle-sexton

Copy link
Copy Markdown
Member

Held by the GitHub Support PR-driver session while it fixes the Test Bash failure: the loop.md Unattended path edit changes two digest-pinned sections of plugins/planning/tests/interview-defenses.test.sh, and the re-pin is not available to an agent. The fix drops that one loop.md hunk and its changeset sentence; the hold comes off once the commit is pushed.

kyle-sexton and others added 2 commits November 18, 2026 15:53
…p.md

The Unattended path edit sits inside two sections that
plugins/planning/tests/interview-defenses.test.sh pins by digest, so it
failed Test Bash. Restore that section and drop its changeset sentence;
the rest of the change stands.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none (read lane)
Run 44397554043

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on d3c2f0f.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44397554043

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped address-feedback on this pull request: the pull request has an unresolved review thread the lane does not take (a reviewer it does not act on, a review of an older head, or a thread it already answered), so no lane resolves it and a session builder takes it. The lane labels it needs-session for a session builder, who makes the change this lane cannot, and the run ends in a failing pr-unblock/address-feedback status on the head the lane gated.

When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean.

To run it again on this head now, dispatch the pr-unblock workflow:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=17117 -f activity=address-feedback

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/report-escalation
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44397554043

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/report-escalation
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44399579854

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@kyle-sexton kyle-sexton removed the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 18, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for d3c2f0f

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-17117-d3c2f0f8a986433a6c9bda8429491967261245d7, expires on 2026-12-18.

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=d3c2f0f8a986433a6c9bda8429491967261245d7 rubric=10.4.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 18, 2026
Merged via the queue into main with commit e85d95f Nov 18, 2026
158 of 159 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16837-44275665282-1 branch November 18, 2026 22:56
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

1 participant