Skip to content

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

Closed

Description

@kyle-sexton

Refs #4281. Slice 1 of 3 (parallel with slice 2).

Problem

Cutover condition 2 reads [UNREACH] because every current claude-code-action pin is missing from the hand-kept release map in plugins/instruction-placement/skills/migrate/reference/sources.md ("claude-code-action release to installed CLI version"). The map's newest row is v1.0.235; this repository now pins v1.0.258 and v1.0.259, and medley pins another commit. Dependabot moves these pins every few days, so a map extended by hand goes stale again before remove-shims can run.

Fix

In plugins/instruction-placement/skills/migrate/scripts/cutover-check.sh, when a pin is not in the map, resolve it live through the derivation the record already names as its pointer: read base-action/action.yml at the pinned commit of anthropics/claude-code-action and take the CLAUDE_CODE_VERSION assignment. Keep the fail-closed rule: a fetch failure, or a file with no such assignment, stays [UNREACH], never a pass. Keep the table as the offline cache; update its prose so it no longer claims to be the only source. Add tests for a live-resolved pin, a fetch failure, and a missing assignment.

Done when

  • bash plugins/instruction-placement/skills/migrate/scripts/cutover-check.test.sh exits 0, with new cases for a live-resolved pin, a fetch failure ([UNREACH]), and a file without CLAUDE_CODE_VERSION ([UNREACH])
  • bash plugins/instruction-placement/skills/migrate/scripts/cutover-check.sh --skip-canary --repo . prints no line containing is not in the release map for this repository on the PR branch
  • ci-status is green on the PR head

Activity

  1. added
    status: ready
    on Oct 24, 2026
  2. added
    needs-triage
    on Oct 24, 2026
  3. github-actions commented on Oct 24, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Small
    Complexity: Medium
    Uncertainty: Known
    Flags: none

    Understood: when a claude-code-action pin is missing from the release map, cutover-check.sh should resolve it live from base-action/action.yml at the pinned commit. It should read the CLAUDE_CODE_VERSION assignment and stay [UNREACH] on a fetch failure or a missing assignment. The table stays as the offline cache, its prose is updated, and tests cover the three cases. The scope and done-when items are clear. I found no likely duplicates besides the referenced #4281.

    Automated triage, applied by the lanes App.

  4. added and removed
    needs-triage
    on Oct 24, 2026
  5. added
    agent-ready
    on Oct 24, 2026
  6. melodic-automation-lanes commented on Oct 24, 2026

    @melodic-automation-lanes
    Contributor

    Left out of admission: already agent-ready, so work-unblock removed admission-deferred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readystatus: ready

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions