Skip to content

docs(playbooks): cut restated upstream behavior left by the stamp sweep - #16884

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-15509-44126333993-1
Nov 17, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #15509

Summary

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

Each listed passage in the playbooks plugin that paraphrased upstream behavior is now cut so the pointer beside it carries the behavior, or rewritten as this repository's own rule with its reason where a procedure in the same file relies on it (the owner's Q26, option A; no eval). I found each passage by its content, and none was already gone from main. Cuts, with the upstream section that now carries each: boris orchestration.md s81 failure modes -> blog 'Why dynamic workflows'; s82 dynamic-vs-static -> blog 'Dynamic vs static workflows'; s83 six patterns -> blog 'Helpful patterns when using dynamic workflows'; s84 use cases -> blog 'Use cases' (all at claude.dev/blog/a-harness-for-every-task-dynamic-workflows-in-claude-code); autonomy.md s77 how /goal checks its condition -> goal docs 'How evaluation works'; loops.md s103 bare /goal shows spend -> goal docs 'Check status'; foundations.md when PostToolBatch fires -> hooks 'PostToolBatch'; customization.md which terminals take Shift+Enter -> terminal-config 'Enter multiline prompts'; adoption.md the thread's guardrails -> the bcherny thread and its linked table; boris SKILL.md /effort Ultracode toggle -> model-config 'Adjust effort level'; opus-4-8.md and sonnet-5.md Fable over-prescription -> model-config 'Work with Fable'; fable-5 verification.md the automation's re-check and delivery checks -> the blog post's 'Agent' and 'Destination' sections (the record keeps its As of stamp for the command string, and its recheck trigger now covers only the code link and the command). Rewritten as our own rule with its reason: precompute-context.md (design every injected command to pass the permission check in the default mode so the skill loads for a consumer who granted nothing else; refusal behavior -> skills 'Permission checks on injected commands', the pointer already in that section); skill-criteria.md (cruft is not length, because the deletion test asks whether the model needs a line, not how long it is); loops.md s101 (write any turn or time bound into the goal condition so the goal checks it; the claim that there is no turn cap is cut and 'How evaluation works' / 'Write an effective condition' carry it); sonnet-5.md effort comparison (pair runs by thinking length, not effort label, so thinking depth stays constant; per-model scale -> model-config 'Choose an effort level'); fable-5 context-economy.md (count thinking from the last history reset; keep:"all" behavior -> thinking 'Thinking and the context window', plus the existing compaction pointer); repo-sweep state.sh and tick.sh (run jq -b under Git Bash/Cygwin because the caller or the CRLF-preserving rewrite needs the bytes unchanged; jq.exe text-mode behavior -> jq manual 'Invoking jq' --binary). Skipped as already gone: none. Not edited: the Kept, unsure, Kept, no anchor checked and Out of scope lists.

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

Not verified

  • tidy: not run because the change touches 16 files, over the 10-file tidy cutoff
  • repo-sweep script test suites (state.test.sh, tick.test.sh): not run here, left to the PR's CI; only comments changed in the scripts
  • CI-only checks named by check-affected (lychee, comment-lint, cant-fail-scan, purged-em-dashes and others): left to the PR's CI
  • the hooks #posttoolbatch section body was past the WebFetch window; the events table on the same page confirms when it fires
  • the ci-mode instruction to commit with the runner's commit tool was not followed: the lane's system prompt says to leave every change uncommitted for the runner's patch

Fix

  • plugins/playbooks/skills/boris/reference/orchestration.md: cut the paraphrases in sections 81-84 (failure modes, dynamic-vs-static, six patterns, use cases) to one-line framing plus the existing blog pointers
  • plugins/playbooks/skills/boris/reference/autonomy.md: cut the description of how /goal checks its condition; points to the existing How evaluation works pointer
  • plugins/playbooks/skills/boris/reference/loops.md: cut the evaluator and no-turn-cap paraphrase; kept 'write the bound into the condition' as our rule with its reason; replaced 'a bare /goal' with a reference to the Check status pointer
  • plugins/playbooks/skills/boris/reference/foundations.md: cut 'PostToolBatch fires after the whole batch'; defers to the hooks pointer below
  • plugins/playbooks/skills/boris/reference/customization.md: cut the claim that several named terminals now take Shift+Enter without setup
  • plugins/playbooks/skills/boris/reference/adoption.md: cut the paraphrase of the thread's guardrails; the thread pointer carries them
  • plugins/playbooks/skills/boris/SKILL.md: /effort row no longer restates the Ultracode toggle
  • plugins/playbooks/skills/skill-authoring/reference/precompute-context.md: rewrote the permission-refusal paraphrase as our design rule with its reason, deferring to the section's existing pointer
  • plugins/playbooks/skills/skill-authoring/reference/skill-criteria.md: rewrote the prompt-audit cruft criterion as our rule with its reason
  • plugins/playbooks/reference/model-adaptation/opus-4-8.md: cut 'The same over-prescription that helps you degrades Fable'
  • plugins/playbooks/reference/model-adaptation/sonnet-5.md: cut the same Fable sentence; rewrote the effort-scale paraphrase as our comparison rule with its reason
  • plugins/playbooks/skills/fable-5/context/verification.md: cut the restated re-check and delivery checks to the pointer's Agent and Destination sections; narrowed the recheck trigger to the code link and command string
  • plugins/playbooks/skills/fable-5/context/context-economy.md: rewrote the keep:"all" paraphrase as our counting rule with its reason and added the Thinking and the context window pointer
  • plugins/playbooks/skills/repo-sweep/scripts/state.sh: comment now states our -b rule and its reason instead of describing jq.exe text-mode stdout
  • plugins/playbooks/skills/repo-sweep/scripts/tick.sh: same comment rewrite for the CRLF-preserving body rewrite
  • .changes/playbooks/work-resolve-issue-issue-15509-44126333993-1-2b6304d7.md: new patch changelog fragment

Verification

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

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

The run reports:

  • read https: //claude.dev/blog/a-harness-for-every-task-dynamic-workflows-in-claude-code: has the sections Why dynamic workflows (three failure modes), Dynamic vs static workflows, Helpful patterns (six named patterns) and Use cases, so the cut passages are covered there
  • read https: //code.claude.com/docs/en/goal: 'How evaluation works' describes the per-turn evaluator; 'Write an effective condition' says to bound a goal by putting a turn or time clause in the condition; 'Check status' says a bare /goal shows token spend
  • read https: //code.claude.com/docs/en/skills: 'Permission checks on injected commands' says a refused check aborts the invocation outside auto mode
  • read https: //code.claude.com/docs/en/terminal-config: 'Enter multiline prompts' has the per-terminal Shift+Enter table
  • read https: //code.claude.com/docs/en/model-config: 'Adjust effort level' documents the Ultracode toggle on /effort; 'Choose an effort level' says the scale is calibrated per model; 'Work with Fable' says to describe the outcome, not the steps
  • read https: //code.claude.com/docs/en/hooks: the PostToolBatch event fires after a full batch of parallel tool calls resolves (from the events table; the #posttoolbatch section itself fell past the fetch window)
  • read https: //platform.claude.com/docs/en/build-with-claude/thinking: the 'Thinking and the context window' section covers how previous-turn thinking counts in context on keep-all models
  • read https: //jqlang.org/manual/: --binary is for a native jq.exe under WSL, MSYS2 or Cygwin, which otherwise turns LF into CRLF
  • check-changelog-fragments: all 6 fragments valid (run before and after the review fixes)
  • check-changed-skills: boris, fable-5, repo-sweep and skill-authoring PASS with 0 errors; the warnings were there before this change (run twice)
  • check-affected: 16 passed, 6 skipped over 16 changed files (run twice)
  • fresh-context subagent review of the full diff: no broken sentences or dangling references; it found a gap in the changelog fragment (dynamic-vs-static was missing) and a duplicate inline link in precompute-context.md, and I fixed both
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44126333993

Left out: the items under Not verified.

Related

#15509

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 handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44133552346

Failed GitHub API calls

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

@github-actions

Copy link
Copy Markdown
Contributor

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

Security review: PR #16884

I found no security issues.

What the change does: it trims or rewords text in the playbooks plugin's docs and skill references, and adds a patch changelog fragment. In state.sh and tick.sh, only the comment above the jq -b wrapper changes. The code that runs, including the case on REPO_SWEEP_OSTYPE/OSTYPE and the jq() { command jq -b "$@"; } wrapper, is unchanged at plugins/playbooks/skills/repo-sweep/scripts/state.sh:233 and plugins/playbooks/skills/repo-sweep/scripts/tick.sh:248.

Trusted paths: none of the 16 changed files matches a TRUSTED PATHS glob.

Instruction-surface lens: I applied it because the diff deletes and rewords text inside skill bodies and reference files. I didn't open the protected-class register (docs/contracts/instruction-exception-register/README.md); I judged each removal by its consequence instead. None of the removed passages was a guardrail:

  • Removed passages: they described how upstream features behave: /goal evaluation, PostToolBatch timing, Shift+Enter terminals, workflow failure modes and patterns, the Ultracode toggle, keep:"all", and the Managed Agents re-check and delivery checks. Each now defers to the upstream pointer beside it.
  • Rules kept: the passages rewritten as this repository's own rules forbid the same things as before:
    • pre-approve every injected command in allowed-tools (precompute-context.md);
    • write any turn or time bound into the /goal condition (loops.md);
    • run jq -b under Git Bash or Cygwin.
  • Recheck trigger: in fable-5/context/verification.md, the narrowed trigger only decides when a doc pointer gets rechecked. It controls no permission, hook, gate or token.

Embedded text: the PR context file holds no instruction aimed at the review lane.

Plugin manifests: none changed, so there are no manifest lines.

Prior findings: none; this is the lane's first review of this pull request.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: no findings

This PR changes only docs and comments. It cuts the upstream-behavior paraphrases listed in #15509 down to the pointer beside each one, or rewrites them as this repository's own rule with a reason. I read every hunk of all 16 changed files and checked each cut against the text around it:

  • Each "see the pointer below" reference resolves to a pointer in the same section:
    • autonomy.md §77 → How evaluation works
    • foundations.md → hooks: PostToolBatch
    • precompute-context.md → Permission checks on injected commands
    • verification.md → Agent / Destination
  • No sentence is left broken and no reference dangles.
  • The repo-sweep state.sh / tick.sh changes are comment-only. The jq -b code is untouched.

Closing issue #15509 acceptance criteria

  • boris, skill-authoring, model-adaptation, fable-5, repo-sweep: met. Every listed passage is cut to its anchored pointer or rewritten as our rule with a reason.
  • PR body names the upstream section per cut, lists the rewrites and lists skips ("none"): met.
  • No pointer record gains an as-of date or recheck trigger; the Kept/Out-of-scope lists are untouched:
    • The new Thinking and the context window pointer in context-economy.md has no stamp.
    • The verification record keeps its As of stamp for the command string. Its recheck trigger was only narrowed.
  • These criteria are about prose, so no test can check them. I'm noting that here rather than counting it as a finding. The repo-sweep test suites (state.test.sh, tick.test.sh) still cover the -b behavior these comments describe.

Path-scoped rules: .claude/rules/skill-bodies-state-current-rules.md and .claude/rules/cost-claims.md match the changed skill and reference files. No changed line breaks either one: the new pointer carries a section anchor and no stamp.

Note (not counted): the PR cuts the six pattern names from orchestration.md §83, but the boris quick-reference table still lists them at SKILL.md:123. That line was not in the issue's item list and this PR does not change it. A later sweep may want to settle it.

Spend: none. No workflow, model or run-budget changes.

Paved paths: the standards index has no paved-path row, so there is nothing to check.

Loosened-check verdict: fail (default, the wrapper gave no loosened_check_verdict: line); patterns: 0 (none given). No changed line loosens a check.

Verifier dropped 0 of 0 candidates.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for a552728

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-16884-a552728fee25241ac7ffbbd66fb43bb2a41643de, expires on 2026-12-17.

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: unrated reason=no-rating

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 737cbdc Nov 17, 2026
51 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-15509-44126333993-1 branch November 17, 2026 17:58
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

docs: cut restated upstream behavior left by the stamp sweep (playbooks)

0 participants