Skip to content

docs(upstream-drift): agents re-audit drifted pages; only skill design changes go to the owner - #16493

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-16487-43791226156-1
Nov 16, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-16487-43791226156-1

Conversation

@melodic-automation-lanes

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

Copy link
Copy Markdown
Contributor

Closes #16487

Summary

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

The upstream-drift contract no longer says adopting an upstream change stays a person's decision. Under the owner's decision of 2026-11-16, an agent re-audits a drifted page, marks each upstream change take, adapt or reject, moves the pin, and opens one PR per upstream that merges through the loop lanes. For a vendored (pin=unknown) row the agent restores or re-vendors the copy instead. Only a take or adapt that would change one of this repository's skill designs goes to the owner: it is filed as its own needs-human issue, listed in the PR body and not applied. Two choices of means, with their basis: (1) The needs-human bullet now says that lifting the label and setting Work status to agent-ready hands the issue to an agent, consistent with the same bullet's statement that the issue lane starts only on that Work status. The loop-lane contract (docs/contracts/loop-lane/README.md:433-441) keeps needs-human a hold that only a listed human lifts, and the filer still applies the label, which this part does not change. (2) A raised design change is tracked as its own needs-human issue, so it outlives the drift issue: the pin move makes the next weekly run clean, and that run closes the drift issue (scripts/upstream-drift-issues.sh:220). This is part 1 of 2 of #16486. The six re-audits (#16403-#16408) are part 2.

Not verified

  • Tidy pass ran partly: the write-for-humans re-read and the ai-slop rubric read made no edits. The ai-slop deterministic detector (detect.sh) could not run, because lane Bash runs only the named wrappers. The code passes 1-3 did not apply, since the change is markdown only.
  • Prose lint, link checks (lychee-offline, lychee-online-changed) and the other CI-only scanners check-affected lists are left to the PR's CI. The new relative links point at docs/contracts/loop-lane/README.md, which exists.
  • The filer (scripts/upstream-drift-issues.sh) still applies needs-human to each drift issue, so a listed human still lifts that hold before an agent can take the issue. Changing the filer is outside this part's done-when and touches scripts/, a shared path.
  • Build/test verify step: none applies to a docs-only contract change

Fix

  • docs/contracts/upstream-drift/README.md: the 'Weekly drift issues' section replaces the 'stays a person's decision' paragraph with the agent re-audit rule (dispositions take/adapt/reject, plus already-have where a page uses it; the pin moves; one PR per upstream; vendored rows are restored or…
  • docs/contracts/upstream-drift/CHANGELOG.md: new 6.2.0 entry (minor; no required part, canonical name or enforceability tier changes) recording the new rule.

Verification

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

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

The run reports:

  • .lane/checks/bin/check-changelog-fragments: passed (all 3 fragments valid), run after the last edit
  • .lane/checks/bin/check-changed-skills: passed (no changed skills), run after the last edit
  • .lane/checks/bin/check-affected: 12 passed, 6 skipped, 0 failed over 2 changed files, run after the last edit
  • Grep for 'person's decision' across the repo: the contract's only adoption occurrence is removed
  • Grep for line citations into docs/contracts/upstream-drift/README.md: none, so no citation shifted
  • Fresh-context review subagent over the diff: 5 findings, all confirmed against docs/contracts/loop-lane/README.md:433-441 and scripts/upstream-drift-issues.sh:218-224 and fixed (needs-human hold semantics, vendored-row case, tracking a raised design change, the already-have disposition and re-pin…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43791226156

Left out: the items under Not verified.

Related

#16487

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

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #16493 (incremental, head 9f16d49)

No security issues found.

Scope. This review covers only the change since 4dc5326c. That change is one hunk in docs/contracts/upstream-drift/README.md, and I read all of it. The other file in this PR, CHANGELOG.md, has not changed since the last review, which found nothing. This lane has reviewed this PR before (blocking only: yes), so this review reports only CRITICAL and IMPORTANT findings.

What I checked

  • Instruction-surface lens. The edited needs-human bullet (README.md#L519-L525) used to say that lifting the label hands the issue to an agent. It now says the hand-off needs two steps: lifting the label and setting Work status to agent-ready. This matches the same bullet's earlier sentence: the issue lane starts only when a listed person or the lanes App sets agent-ready. The edit adds a condition and removes none, so it narrows rather than widens. These lines still say that a bot-authored issue is not admitted by removing the label alone, and that only a listed human lifts needs-human.
  • Trust controls. Nothing in this push changes who is trusted, any token's scope, the kill switch, the broker or any merge-hold code. No trusted-path glob matches the changed file.
  • Embedded text. The PR context has no directive aimed at this lane.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 4dc5326c7020f81da6f274e70c6eff3cca183099; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread docs/contracts/upstream-drift/README.md Resolved
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

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

Incremental code review: 4dc5326 → 9f16d49 (blocking only)

This review covers only the change pushed since the last review. It touched one file, docs/contracts/upstream-drift/README.md, and I read its whole change in .claude-lane/incremental.diff. I also read lines 510–549 of the file at head for context. This lane has already reviewed an earlier head, so this pass reports blocking findings only.

Earlier finding is fixed. The push rewrites the self-contradicting needs-human sentence the way the earlier inline thread suggested (discussion_r4581507110, now resolved). At head, README.md lines 522–525 say: "Lifting it and setting Work status to agent-ready hands the issue to an agent for the re-audit described below; neither step asks that person to mark each upstream change…". This now matches the gate stated at lines 518–520, which says the lane starts only when Work status is set to agent-ready. The bullet no longer contradicts itself.

Closing issue #16487: the incremental change doesn't touch the criterion. The previous review found it met, and that still holds.

Not verified by me: I did not re-run the author's check results. This lane has no shell.

No new findings. No manifest changes, no paved-path or cost-relevant surface, and no embedded instructions in the PR context, settled-thread or prior-finding files.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

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

Failed GitHub API calls

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

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

Copy link
Copy Markdown
Contributor Author

Verification evidence for 9f16d49

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-16493-9f16d497555e06500b429627a8666c589ba72b1a, expires on 2026-12-16.

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=4dc5326c7020f81da6f274e70c6eff3cca183099 rubric=9.5.0 rater=claude-opus-5-5 checker=claude-opus-5-5

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM63w5Lh
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-feedback-patch
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 9f16d49
Run 43794071538

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 9f16d49.

@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 43794071538

Failed GitHub API calls

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

@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 43794706213

Failed GitHub API calls

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

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 16, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=HIGH demote=true head=9f16d497555e06500b429627a8666c589ba72b1a rubric=9.5.1 rater=claude-opus-5-5 checker=claude-opus-5-5

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 16, 2026
@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit 98ab570 Nov 16, 2026
77 of 78 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16487-43791226156-1 branch November 16, 2026 03:33
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 98ab5706e86e7245e24b6570d20377cdfd75a234; 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(upstream): re-audit the six drifted upstream pages by agent, owner only for design changes - part 1 of 2

0 participants