← Back to Pull requests

fix(lanes): list the 8 workflows #474 edited as ADAPTED #479

Merged
kyle-sexton merged 1 files (20 lines) on Nov 29, 2026 06:27 UTC
View on GitHub
kyle-sexton kyle-sexton commented on Nov 29, 2026 05:23 UTC
Author

Closes #478

Summary

scripts/lanes/check-sync.sh at the last full resync point, claude-code-plugins 975ad85, failed on main with 8 differences. All 8 are SYNCED workflows that #474 edited by hand to append the zizmor self-repository reason pointer. #464 touched no SYNCED file: its three workflows are sandbox-owned and callers.test.mjs is LEFT_OUT since #476.

Fix

Move the 8 workflows from SYNCED to ADAPTED in scripts/lanes/sync-lists.sh, the way pr-refine.yml is listed (ADAPTED only). They sit in a SYNCED_AT_NEXT_FULL_RESYNC array that ADAPTED expands, so the file itself tells the next resync's operator to move them back (the comment lint refuses an explanatory comment, as in #476).

The same Basis holds for each file: its blob here is the 975ad85 blob plus #474's pointer appends. Upstream carries the identical pointers from claude-code-plugins#19932 (merge 3ebf580f) on, but no upstream commit holds these exact bytes (git ls-tree at 3ebf580f and at origin/main gives other blobs for all 8). A per-file resync from upstream main is not viable: 16 other upstream commits changed these files since 975ad85 (git diff --stat: 820 insertions, 2,222 deletions, for example #19862 moving pr-unblock's repeated jobs into scripts the sandbox carries at 975ad85). Reverting the pointers would undo #474 and bring back the reason-less ignores the shared zizmor check rejects.

  • .github/workflows/pr-dispatch-feedback.yml: ADAPTED. Basis: 975ad85 + #474 pointers; upstream main blob 8fa73c04 differs.

  • .github/workflows/pr-merge.yml: ADAPTED. Basis: 975ad85 + #474 pointers; upstream main blob 16bd16ac differs.

  • .github/workflows/pr-run-activity-read.yml: ADAPTED. Basis: 975ad85 + #474 pointers; upstream main blob 9755fdb1 differs.

  • .github/workflows/pr-run-activity-write.yml: ADAPTED. Basis: 975ad85 + #474 pointers; upstream main blob 1e8387e1 differs.

  • .github/workflows/pr-unblock-dispatch.yml: ADAPTED. Basis: 975ad85 + #474 pointers; upstream main blob 22bfdb98 differs.

  • .github/workflows/pr-unblock.yml: ADAPTED. Basis: 975ad85 + #474 pointers; upstream main blob 33e90b5e differs.

  • .github/workflows/pr-verify.yml: ADAPTED. Basis: 975ad85 + #474 pointers; upstream main blob 196c2442 differs.

  • .github/workflows/work-resolve-issue.yml: ADAPTED. Basis: 975ad85 + #474 pointers; upstream main blob 32b6452f differs.
  • Of the options (ADAPTED, a partial resync with PINNED entries, or a revert), ADAPTED is a one-file list edit with no new mechanism. PINNED cannot apply, since it needs an upstream commit holding the exact file.

    Verification

    Before, on main (bd767738):

    $ scripts/lanes/check-sync.sh 975ad8577079e42a1be5bd4875fc79f87a0d2672 --repo <claude-code-plugins clone>
    check-sync: .github/workflows/pr-dispatch-feedback.yml differs from 975ad8577079e42a1be5bd4875fc79f87a0d2672 (100644 89a7c3671cb58ceaf5b5d37773976240fd465276, want 100644 ca2e34c1723ddb62de9922e50d8fa3133fc00f1a)
    check-sync: .github/workflows/pr-merge.yml differs from 975ad8577079e42a1be5bd4875fc79f87a0d2672 (100644 774fb2c75375ed5ee450ec36cc0a928881cbb15a, want 100644 f563097a66f1cbfa23d05486e668d73738e70d93)
    check-sync: .github/workflows/pr-run-activity-read.yml differs from 975ad8577079e42a1be5bd4875fc79f87a0d2672 (100644 d2df658309ae0b273f015eb1dfb74a8e27af7748, want 100644 4230bc7a3d4a9a30d85e20c47006ece5a2a6ed44)
    check-sync: .github/workflows/pr-run-activity-write.yml differs from 975ad8577079e42a1be5bd4875fc79f87a0d2672 (100644 552835a264fd6877e6babcad224e3073ac63c1e0, want 100644 1e6a770bfcde2429ec68d67b7cb4338520156776)
    check-sync: .github/workflows/pr-unblock-dispatch.yml differs from 975ad8577079e42a1be5bd4875fc79f87a0d2672 (100644 5fbbcacd7f27ef40b8733e360b76ac1841a2d84f, want 100644 caf61fe3adb9645b63630903b90322f14fce0087)
    check-sync: .github/workflows/pr-unblock.yml differs from 975ad8577079e42a1be5bd4875fc79f87a0d2672 (100644 1d80b6a1b45e018433bd3a90fc9dabfe03222988, want 100644 670e7d3c917ed97c6b6ab0e5dda7ff2c45133077)
    check-sync: .github/workflows/pr-verify.yml differs from 975ad8577079e42a1be5bd4875fc79f87a0d2672 (100644 f21147522d43610cadc77260b4a483c0508832a4, want 100644 b867b352f5a36b6f6f3d80faab1d24369efb29a7)
    check-sync: .github/workflows/work-resolve-issue.yml differs from 975ad8577079e42a1be5bd4875fc79f87a0d2672 (100644 638579426d9dea01432e1656096e38d9eeaa85e9, want 100644 c503df9174d444976e61b1eecf5f3863192cbc61)
    exit 1
    

    After, on this branch:

    $ scripts/lanes/check-sync.sh 975ad8577079e42a1be5bd4875fc79f87a0d2672 --repo <claude-code-plugins clone>
    check-sync: every synced file matches claude-code-plugins 975ad8577079e42a1be5bd4875fc79f87a0d2672
    exit 0
    

  • scripts/lanes/resync.test.sh: all resync.sh tests passed.

  • shellcheck on sync-lists.sh and check-sync.sh: clean. Pre-commit and pre-push hooks passed.
  • Related

  • Refs: #474, the hand edit; #476, which first counted these 8.

  • Next full resync: resync.sh keeps ADAPTED files, so it would leave these 8 at 975ad85. Move them back to SYNCED in that resync; any upstream commit from 3ebf580f on already carries #474's pointers.
  • 🤖 Generated with Claude Code

    Diff: 20 lines (+12 / -8) across 1 files Reviewer: kyle-sexton Review duration: 64m
    All Vouch review confidence checks passed
    Residual risk 0.07 = Change Risk (0.40) × (1 − Review Confidence (0.83)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 20 lines diff across 1 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.89 · 3 substantive comment(s)
    0.89
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    83%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.182
    Self Review self_review
    0.140
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    3 comments
    scripts/lanes/sync-lists.sh
    "**Suggestion: record why these 8 are ADAPTED and when to move them back.** The PR body says: "Next full resync: `resync.sh` keeps ADAPTED files, so it would leave these 8 at 975ad85. Move them back to `SYNCED` in that resync." That note exists only in the PR body. Once these paths leave `SYNCED`, nothing in the repository still points at them: - `resync.sh` builds its write list from `SYNCED` (line 76) and never writes or checks these 8. - `check-sync.sh` never compares them. - The resync procedure in `CLAUDE.md` makes no mention of them. How it fails: the next full resync updates the `SYNCED` script directories these workflows call, such as `.github/scripts/pr-unblock`, `.github/scripts/pr-merge` and `.github/scripts/pr-verify`, to upstream main. The PR itself cites #19862, which moved pr-unblock's jobs into those scripts. `pr-unblock.yml` and the other 7 workflows would stay at 975ad85, and `check-sync.sh` would still report "every synced file matches", so the resync's condition-2 evidence would hide the mismatch. The other ADAPTED entries carry a comment saying why they are adapted; a comment here would put the follow-up where the next resync's operator will see it. ```suggestion # #474 appended zizmor self-repository reason pointers to these 8 by hand; no # upstream commit holds these exact bytes. Upstream carries the same pointers # from claude-code-plugins#19932 (3ebf580f) on: move them back to SYNCED in # the next full resync. .github/workflows/pr-dispatch-feedback.yml .github/workflows/pr-merge.yml .github/workflows/pr-run-activity-read.yml .github/workflows/pr-run-activity-write.yml .github/workflows/pr-unblock-dispatch.yml .github/workflows/pr-unblock.yml .github/workflows/pr-verify.yml .github/workflows/work-resolve-issue.yml ``` <!-- claude-lane-run id=46229019579 sha=c8c7ebe612857e0d365fe35ba7fedb22de1c7ca6 --> claude-lane: claude-review"
    logic_concern weight: 0.8
    scripts/lanes/sync-lists.sh
    "Classification: CORRECT. The move-back note lived only in the PR body, and nothing in the repository showed it to whoever runs the next `resync.sh`. Fix, done differently from the suggestion: this repository's blocking comment lint rejects explanatory comments, so the reason goes in an array name instead, as #476 did for `LEFT_OUT`. The 8 paths move into `SYNCED_AT_NEXT_FULL_RESYNC`, and `ADAPTED` expands it. `check-sync.sh 975ad85…` still reports every synced file matching. The fix commit follows. "
    nit_style weight: 0.15
    scripts/lanes/sync-lists.sh
    "Fixed in c3836b6c: the 8 paths are in `SYNCED_AT_NEXT_FULL_RESYNC`, which `ADAPTED` expands. `check-sync.sh 975ad8577079e42a1be5bd4875fc79f87a0d2672` reports every synced file matching, and shellcheck is clean on `sync-lists.sh`, `check-sync.sh` and `resync.sh`. "
    clarifying weight: 0.45
    Reviewers
    Assignees
    kyle-sexton kyle-sexton
    Labels
    risk: low confidence: 83.2% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 40.2% (MEDIUM) · Higher = larger blast radius
    40.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 83.2% · Lower = rushed or shallow review
    83.2%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 6.7% · Safe to merge
    6.7%