Repository navigation
fix(playbooks): resync skill-authoring vendor copy and strip upstream self-update - #8625
Conversation
…lf-update block Upstream added an UPDATE CHECK block to the install-thariq file without bumping its version (still 1.0.0), so the scheduled drift check saw a SHA mismatch. That block tells an agent to curl a self-update into ~/.claude/skills/, a remote-code supply-chain hook, so it is not vendored. update.sh now strips that blockquote on every --apply, replacing it with a one-line marker, and --check compares upstream after the same strip. --apply also records metadata.upstream-sha (SHA256 of the vendored file, post-strip, LF) for skill-quality check 8. update.test.sh fails if vendor/ carries a fetch-and-run, .claude/-write, or self-update instruction. Refs: #8559 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WyWcv2NwzrPQ4dChfwFjM7
…uthoring-drift Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WyWcv2NwzrPQ4dChfwFjM7
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #8625, head 4b11589No security findings. The PR resyncs the vendored skill-authoring baseline and changes What I checked:
|
|
claude-review reviewed No findings. I read the full diff (5 files) and the PR context, and read The sandbox denied running Checked by reading:
Two minor limits, not blocking:
|
Refs: #8559
Summary
Resyncs
plugins/playbooks/skills/skill-authoring/vendor/from upstream, clearing the scheduled drift check. Following GitHub Security & Cost's review, the sync now strips upstream's self-update ("UPDATE CHECK") block, which tells the reader to curl an install into~/.claude/skills/, and leaves a marker in its place.Fix
scripts/update.shstrips the UPDATE CHECK block (and its quoted continuation) on every sync, normalizes line endings to LF, and compares against upstream after the same strip, so the strip itself never reads as drift.update.shwritesmetadata.upstream-shaas the SHA-256 ofvendor/upstream-skill.mdafter the strip. It is a content hash of what we vendor, not an attestation of an upstream commit or release.scripts/update.test.shadds stay-loud checks: the strip removes the block and keeps unrelated prose, and the committedvendor/upstream-skill.mdcarries no fetch-and-run or self-update instruction..changes/playbooks/.Verification
scripts/check-changed-skills.sh origin/main(the CI gate):CHECK-SKILL skill-authoring: PASS — 0 errors, 5 warning(s). Check 8:vendor/ changed vs b51c71b2a5, paired with an upstream-sha bump matching the vendored content (5d9dfb50…a688e55) — legitimate sync. The five warnings predate this branch.tr -d '\r' < vendor/upstream-skill.md | sha256summatches the recordedupstream-sha.update.test.sh: 31 of 31 pass.scripts/check-affected.sh --tests: 13 passed, 1 skipped (no changed .py). Affected suites: 13 shell suites pass; resolve-config node suites 37 of 37;test_check_manifest_duplicate_keys.py17 of 17.Related
vendor/change whenupstream-shachanges and matches a hash recomputed fromvendor/.🤖 Generated with Claude Code
https://claude.ai/code/session_01WyWcv2NwzrPQ4dChfwFjM7