Repository navigation
chore: 未配線の external trust root(scripts/trust-root/)を削除する - #1471
Merged
Merged
Conversation
Issue #1454(Phase A, PR #1457 merged)で導入された external trust root 一式は、それを配線する予定だった Issue #1450(Phase B)と Issue #1468 (追加ハードニング)がいずれも個人開発の脅威モデルに対して過剰と判断され not planned でクローズされたため、恒久的に未配線の不使用コードとなった。 - scripts/trust-root/ ディレクトリ全体(trusted_hook_launcher.py / manifest_schema.py / install_trust_root.sh / tests/ 配下 2 ファイル)を削除 - .github/ci/python-test-plan.json から該当テストの targets 登録と trust_root_tests_registration note を削除 - docs/dev/hook-boundaries.md の該当節(## 12)を、Issue #1454/#1450/#1468 の経緯を記録する短い historical note に置き換え 現行の publish lane 保護は Issue #1408(PR #1442 merged)と main branch protection(Issue #360)のみで構成される。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Contributor
Preview URL✅ verified live assets: https://squne121.github.io/loop-protocol/pr-1471/ The preview will be removed when this PR is closed. |
squne121
marked this pull request as ready for review
July 11, 2026 15:13
This was referenced Jul 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/trust-root/)を削除する。これを配線する予定だった Issue 実装: publish laneのauthorization code(policy/adapter)の信頼境界をhash pinningでcandidate worktree外に確立する #1450(Phase B)と、追加ハードニングを扱う Issue 実装: publish lane trust root(#1454 Phase A)にnonce runtime state分離・trusted publisher wrapper・atomic rotation・worktree cwd解決・deployment attestationを追加する #1468 がいずれも個人開発の脅威モデルに対して過剰と判断され not planned でクローズされ、scripts/trust-root/は恒久的に未配線の不使用コードになったため。.github/ci/python-test-plan.jsonから該当テストのtargets登録(2件)とtrust_root_tests_registrationnote を削除する。docs/dev/hook-boundaries.mdの該当節(## 12. publish lane authorization trust root...)を、Issue 実装: publish lane authorization codeの信頼起点となるexternal trust root(trusted hook launcher・manifest・bootstrap/rotation手順)を確立する #1454/実装: publish laneのauthorization code(policy/adapter)の信頼境界をhash pinningでcandidate worktree外に確立する #1450/実装: publish lane trust root(#1454 Phase A)にnonce runtime state分離・trusted publisher wrapper・atomic rotation・worktree cwd解決・deployment attestationを追加する #1468 の経緯を記録する短い historical note に置き換える。Checks
pnpm typecheck(本 PR に TS/JS 変更なし。対象外)pnpm lint(本 PR に TS/JS 変更なし。対象外)pnpm test(本 PR に TS/JS 変更なし。対象外)pnpm build(本 PR に TS/JS 変更なし。対象外)uv run --locked pytest scripts/ci/tests/test_python_test_plan.py(53 passed)Schema Change Applicability
not_schema_change.github/ci/python-test-plan.jsonのtargets配列からエントリを削除するのみで、docs/dev/schema-governance.mdが定義する producer-consumer 境界をまたぐ machine-readable schema(python_test_plan/v1の key/field 構造そのもの)は変更していない。既存の loader(scripts/ci/python_test_plan.py)はそのまま動作する(AC4 で検証済み)。Schema Consumer Inventory
N/A(
not_schema_changeのため)Compatibility Decision(互換性判断)
N/AN/AN/AN/ASafety Claim Matrix
N/A — 本 PR は安全境界・権限・サンドボックス・transport・auth・MCP・native tools・approvalMode・runtime verification・workflow gate のいずれも変更しない。削除対象の
scripts/trust-root/はどこからも配線されていない未使用コードであり、docs/dev/hook-boundaries.mdの削除節は bootstrap 手順の記述に過ぎず、実際に有効な guard/hook のロジックではない。現行の publish lane 保護(Issue #1408, PR #1442 merged)と main branch protection(Issue #360)は本 PR で変更しない。Notes