Repository navigation
Closed
1 / 11 of 1 issue completedClosed
1 / 11 of 1 issue completed
Copy link
Labels
phase/implementationImplementation phasetriage-requiredNeeds owner triage for priority decisionworkflowWorkflow / skill automation changes
Description
Source
- dedupe_key: "follow-up:squne121/loop-protocol:pr/279:workflow-security-hardening"
- origin: PR fix(ci): actions を v6 に更新し Node.js 20 deprecation に対応 (#270) #279 Safety Claim Matrix review + pr-review-judge non-blocker observation → post-merge-cleanup follow-up
Background
PR #279(fix(ci): actions を v6 に更新し Node.js 20 deprecation に対応 #270)のレビュー・Safety Claim Matrix レビューで、以下の supply chain security 改善が「今回スコープ外・follow-up 推奨」と記録された。
Outcome
.github/workflows/ci.yml の GitHub Actions が floating tag(v6, v8.1.0)から commit SHA pin に移行し、workflow YAML の静的検証(actionlint)が CI に追加された状態になる。
In Scope
.github/workflows/ci.ymlの全 action を commit SHA pin に移行actions/checkout@v6→actions/checkout@<SHA>pnpm/action-setup@v6→pnpm/action-setup@<SHA>actions/setup-node@v6→actions/setup-node@<SHA>astral-sh/[email protected]→astral-sh/setup-uv@<SHA>
actionlintを CI に追加(.github/workflows/ci.ymlの YAML 構文・expr・input 検証)
Out of Scope
- CODEOWNERS の追加(別 Issue)
pull_request_target利用方針の変更- 他 workflow ファイルの変更(今回は ci.yml のみ)
Allowed Paths
.github/workflows/ci.yml
Acceptance Criteria
-
.github/workflows/ci.ymlの全 action が commit SHA pin になっている(@vX.Y.Z形式でない) - SHA コメント(
# vX.Y.Z等)で可読性を維持している -
actionlintジョブが CI に追加され、workflow YAML のエラーを検出できる - 全ジョブ(typecheck / lint / test / build / python-test / actionlint)が PASS している
Verification Commands
# AC1: SHA pin 確認(全 action が 40 桁 SHA になっている)
grep -E 'uses: .+@[0-9a-f]{40}' .github/workflows/ci.yml
# AC2〜AC4: 品質ゲート
pnpm typecheck
pnpm lint
pnpm test
pnpm build
# AC4: 全ジョブ PASS(actionlint 含む)
gh pr checks <PR番号> --repo squne121/loop-protocolStop Conditions
- Allowed Paths 外の変更が必要と判明した場合
- SHA の取得方法が upstream で変わり自動解決できない場合
- actionlint のバージョン固定・管理方針で判断が必要な場合
- In Scope の固定契約の変更が必要になった場合
- 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
- 後続 Phase / 別スコープへの波及が判明した場合
- nested SubAgent delegation が必要になった場合
- 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合
Runtime Verification Applicability
- decision: deferred
- reason: SHA pin が正常に動作するかどうかは PR を実際に push して GitHub Actions を実行しなければ確認できない
- deferred_destination:
- destination_type: pr
- destination_ref: 本 Issue の実装 PR の CI 結果で確認
Safety Note
.github/CLAUDE.md に「.github/workflows/* の編集は CI 動作に直結するため、変更時は PR レビューで人間承認を必須とする」と記載されている。実装 PR では Safety Claim Matrix セクションを必ず記載すること。
Sub-issues
Collapse Sub-issuesSub-issues
Loading 1 sub-issues
Metadata
Metadata
Assignees
Labels
phase/implementationImplementation phasetriage-requiredNeeds owner triage for priority decisionworkflowWorkflow / skill automation changes
Activity
fix(#588): ci.yml の既存ジョブ uses: 行を元の floating tag に revert し actionlin…
chore: deploy-pages/session-manifest 全 action を commit SHA pin に移行し a…
squne121 commentedon Jun 3, 2026
Issue #588 (#643) がマージされ、deploy-pages.yml・session-manifest.yml の全 action が SHA pin に移行し、actionlint が CI に追加されました。全 child issue がクローズ済みのため、parent #280 もクローズします。