Skip to content

docs(source-control): cut restated upstream behavior from skill docs - #17218

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16842-44324603168-1
Nov 18, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #16842

Summary

Opened by the work-resolve-issue lane from work-resolve-issue/issue-16842-44324603168-1, which an earlier run left with commits and no report. A summary-only model pass read the branch's diff and the issue, changed nothing, and wrote:

This diff rewrites passages in the source-control skill docs that restated upstream Claude Code behavior. Each one is now either this plugin's own rule with a link to the upstream docs section, or a pointer alone. The "plain bytes" paragraph in the five SKILL.md files now says we never rely on a ${…} token in a file read from disk being expanded later, and links the plugins reference. The managed-sources note, the conflict worker authority note, the Monitor watch notes and the claim cells in the two native-surface records get the same treatment. It also adds a patch changelog entry and removes the native-autofix-pr.md line from the docs-anchor baseline, since its claim cell now cites an anchored URL. Two things are not covered. The issue's done-when lists monitor.md at roughly line 158 and line 566. The diff also removes the As-of and Recheck-trigger lines from the Monitor source-conflict note, which the issue does not ask for. Several rewrites change what a skill tells the agent, such as the Monitor and --resume wording, and the issue asks that such a cut have an eval or a stated basis. The diff adds no eval, and I could not tell whether the changelog entry states a basis. Nothing in the diff or issue tried to steer a reviewer.

Fix

  • babysit-loop, babysit-prs, commit, pull-request and setup SKILL.md: the plain-bytes paragraph becomes our own rule (never rely on ${…} expansion in files read from disk) plus a pointer to the plugins reference
  • babysit-loop/reference/promotion-evidence-bootstrap.md: the managed-sources paragraph becomes our rule that the helper must never read a value the harness does not apply, plus a pointer to managed settings
  • babysit-prs/reference/orchestration.md: the conflict worker authority note drops the subagent startup paraphrase and keeps the rule with a pointer
  • babysit-prs/reference/native-autofix-pr.md: the /autofix-pr claim cell points at its commands row instead of describing it
  • pull-request/reference/monitor.md: removes the As-of and Recheck-trigger lines from the Monitor source-conflict note and rewords the task-tracking sentence
  • pull-request/reference/monitor.md: the notification timing sentence becomes a Monitor tool pointer, and the session-scoped bullet becomes our own rule about re-arming after --resume
  • pull-request/reference/native-surfaces.md: five claim cells (/autofix-pr, Auto-fix preconditions, conflicts and replies, rate limits, /background) now name the topic and point to the source
  • scripts/docs-anchor-baseline.txt: drops the native-autofix-pr.md entry
  • Adds a patch changelog entry under .changes/source-control

Files the branch changes, from the compare listing; a denied path, which the merge lane refuses, is marked and listed first:

  • .changes/source-control/work-resolve-issue-issue-16842-44324603168-1-77795f64.md
  • plugins/source-control/skills/babysit-loop/SKILL.md
  • plugins/source-control/skills/babysit-loop/reference/promotion-evidence-bootstrap.md
  • plugins/source-control/skills/babysit-prs/SKILL.md
  • plugins/source-control/skills/babysit-prs/reference/native-autofix-pr.md
  • plugins/source-control/skills/babysit-prs/reference/orchestration.md
  • plugins/source-control/skills/commit/SKILL.md
  • plugins/source-control/skills/pull-request/SKILL.md
  • plugins/source-control/skills/pull-request/reference/monitor.md
  • plugins/source-control/skills/pull-request/reference/native-surfaces.md
  • plugins/source-control/skills/setup/SKILL.md
  • scripts/docs-anchor-baseline.txt

Verification

The earlier run reported no checks here, and the summary pass ran none.

The runner ran each check from the base copy against 4aa7d51:

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

The runner's leak scan read everything the branch changes since its merge base with the default branch and found nothing credential-shaped.

Left out: every check the earlier run would have reported; ci-status, pr-verify and the security review lane check the head before it merges.

Related

#16842

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

Copy link
Copy Markdown
Contributor

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

Security review: PR #17218, no findings

I read all 12 changed files in full. None of them matches a trusted-path glob. The PR changes only docs: skill and reference markdown, a changelog fragment, and one line removed from scripts/docs-anchor-baseline.txt. It changes no workflow, action, script, manifest or trust control.

I read the diff under the instruction-surface lens, because it rewrites standing skill instructions. No protective rule loses what it forbids:

  • Spoke paths blocks (the five SKILL.md files): the rule to put each path in place of its placeholder before running a command or writing it into a brief is kept. Only the restated explanation of why upstream doesn't expand ${…} becomes "we never rely on a ${…} token in a file read from disk being expanded later", plus a pointer.
  • promotion-evidence-bootstrap.md: the stale managed-file guidance is still there. It still says to keep the options out of the managed settings files, or remove a stale managed-settings.json, on remote, MDM or HKLM hosts. The rewrite now names HKLM in the rule itself and adds "the helper must never read a value the harness does not apply". The control is at least as strong as before.
  • orchestration.md: the reason the push stays with the orchestrator is unchanged. The conflict worker's authority still reaches it only inside a delegation prompt.
  • native-surfaces.md: the warning that Auto-fix thread replies can trigger comment-driven automation is now a pointer. That pointer tells the reader to check it before offering Auto-fix on a repository with comment-driven automation, so the caution stays.
  • monitor.md: two things are dropped: the As-of and Recheck-trigger lines, and the restated notification-timing sentence. Neither is a guardrail. The rule that the watch re-arms after --resume is kept.
  • docs-anchor-baseline.txt: removing the native-autofix-pr.md line makes the anchor baseline stricter for that file, since its claim cell now cites an anchored URL.

Embedded text: the PR context contains nothing that tries to steer the review.

The protected-class register (docs/contracts/instruction-exception-register/README.md) was not consulted. I judged the removed rules by consequence instead.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: no findings. This PR only changes documentation. It rewrites passages in the source-control skills that restated upstream Claude Code behavior: each becomes either this plugin's own rule plus a section-anchored link, or a link alone. It also adds a patch changelog fragment and removes one entry from scripts/docs-anchor-baseline.txt. I read every hunk of all 12 changed files.

Closing issue #16842. Its one done-when item asks that each listed passage either be cut to its anchored pointer or be rewritten as our own rule with its reason. The diff covers every listed location:

  • the "plain bytes" paragraph in all five SKILL.md files
  • promotion-evidence-bootstrap.md
  • orchestration.md
  • monitor.md, at both of the spots the issue names (around L155–159 and L566)
  • the claim cells in native-autofix-pr.md and native-surfaces.md

This criterion is met. It is a docs-content criterion, so no test is expected to cover it.

Path-scoped rule .claude/rules/skill-bodies-state-current-rules.md (applies to plugins/*/skills/**):

  • Monitor note. The PR description flags that the As-of and Recheck-trigger lines were removed from the Monitor "Source conflict" note without the issue asking for it. The rule backs this removal: "a source conflict … [is a] pointer" and "A pointer carries no as-of date and no recheck trigger". It is not a finding.
  • Rewritten passages. Each one now states our decision and links the docs section, which is what the rule asks for.

Anchor baseline. native-autofix-pr.md no longer has any unanchored code.claude.com/docs link; its only bare /commands link became commands#all-commands. Removing its baseline entry makes the ratchet stricter, not looser. promotion-evidence-bootstrap.md still has its 2 unanchored links (L42, L449), which matches its unchanged baseline count of 2.

Changelog fragment. bump: patch fits a docs-only change, and no plugin manifest changed.

Verification. The author says check-changelog-fragments.sh and check-changed-skills.sh passed. I could not run them (this lane has no shell), so that is unverified.

Other checks:

  • Paved paths: no paved-path row was found under docs/standards, so there is nothing to report.
  • The PR context and prior-findings files contained no embedded instructions.
  • This was a first review of this PR, not a blocking-only one.
  • Spend: none beyond this review run.

Loosened-check verdict: fail (default; the prompt had no loosened_check_verdict: or loosened_check_patterns: line); patterns: 0. No loosening was found.

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 4aa7d51b95818a7d0375dd528a2e4ffaf39e5d1d, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for 4aa7d51

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-17218-4aa7d51b95818a7d0375dd528a2e4ffaf39e5d1d, 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=4aa7d51b95818a7d0375dd528a2e4ffaf39e5d1d rubric=10.3.4 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 a6fae2f Nov 18, 2026
54 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16842-44324603168-1 branch November 18, 2026 21:31
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit a6fae2f85a34ffd98c2be0e9b86b97851bc05195; 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 (batch 5) - part 4 of 5

0 participants