Skip to content

feat(instruction-placement): resolve claude-code-action pins live in cutover-check condition 2 - #9815

Merged
melodic-automation-lanes[bot] merged 5 commits into
mainfrom
work-resolve-issue/issue-9769-40113187003-1
Oct 24, 2026
Merged

melodic-automation-lanes[bot] merged 5 commits into
mainfrom
work-resolve-issue/issue-9769-40113187003-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #9769

Summary

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

cutover-check.sh condition 2 now resolves a claude-code-action pin that is missing from the release map by reading base-action/action.yml at the pinned ref and taking its CLAUDE_CODE_VERSION. A failed fetch or a file without the assignment stays [UNREACH]. The map in sources.md is described as the offline cache.

Not verified

  • I did not run cutover-check.test.sh on its own, because Bash here only allows the named wrappers. I also did not run cutover-check.sh --skip-canary --repo . against this repository's pins, which needs live GitHub access. check-affected passed, but I could not confirm it ran that suite.
  • The CLAUDE_CODE_VERSION regex accepts NAME=ver or NAME: ver, with optional quotes. I could not read the real action.yml (GitHub hosts are not allowed in this run), so the format is inferred from sources.md. If the real file differs, the pin stays [UNREACH] and the regex needs adjusting.
  • ci-status green on the PR head is left to the PR's CI.

Fix

  • plugins/instruction-placement/skills/migrate/scripts/cutover-check.sh: live fallback (action_cli_version_live), new --action-fetch option (default gh api on anthropics/claude-code-action), header and usage updated
  • plugins/instruction-placement/skills/migrate/scripts/cutover-check.test.sh: the unmapped-pin case uses a failing fetcher; new cases for a live-resolved pin, a fetch failure, a file with no CLAUDE_CODE_VERSION, and a live version below the floor
  • plugins/instruction-placement/skills/migrate/reference/sources.md: prose says the table is the offline cache, not the only source
  • .changes/instruction-placement/feat-9769-cutover-live-pin-a3f19c52.md: minor changelog fragment

Verification

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

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

Left out: the items under Not verified.

Related

#9769

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

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 2e85eefea0609f816ca102e5990119aeaaeddbf2: 0 finding(s), 0 as inline comments.

I found no security issues in the incremental change.

The only change since aecfb76 is in plugins/instruction-placement/skills/migrate/scripts/cutover-check.test.sh. It respells "labelled" as "labeled" in one comment and one assert_contains description string. The asserted output pattern, the commands run and the script under test are unchanged. The change adds no input handling, trust boundary, credential use, or control. It matches no trusted path and touches no plugin manifest.

I did not re-review the other three files in the PR. They are unchanged since the earlier review, which covered them.

critical-findings: 0

@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 2e85eefea0609f816ca102e5990119aeaaeddbf2: 0 finding(s), 0 as inline comments.

Incremental review of cutover-check.test.sh since aecfb76. The change respells "labelled" as "labeled" in one comment (line 480) and one assert_contains test description (line 492). The matched string and the script under test are unchanged, and no other occurrence of either spelling remains in the scripts directory. I found no issues. I read the diff and grepped for the spelling. I did not run the tests. No cost or security hold applies.

@melodic-automation-lanes

melodic-automation-lanes Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head aecfb76516d91a0997066af71677f3c11e091442. The lanes clear this reason on their own; the next scheduled run judges it again.

pr-merge's gate refuses its verifier verdict (verify:missing)

@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-security-review: 1 inline finding(s) on c2c4ccca838b79587180915675cd2a6f1cc97982; the summary is in this lane's pull request comment.

claude-lane: claude-security-review

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of 3 on d0abd67.

@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-security-review: 1 inline finding(s) on d0abd673a8ede782afbd8710c026effbb912fe23; the summary is in this lane's pull request comment.

claude-lane: claude-security-review

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 2 of 3 on aecfb76.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 2e85eefea0609f816ca102e5990119aeaaeddbf2.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 24, 2026
Merged via the queue into main with commit 0d77ff9 Oct 24, 2026
35 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-9769-40113187003-1 branch October 24, 2026 22:52
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.

instruction-placement: resolve claude-code-action pins live in cutover-check condition 2

1 participant