Repository navigation
実装: isolation worktree agent の Issue comment request を issue_comment.publish controlled mutation lane へ接続する (#1633) - #1639
Conversation
…publish controlled mutation lane へ接続する (#1633) isolation worktree agent が生成する bounded Issue comment request (issue_number/repo/comment_body/marker の閉じたフィールドのみ)を、 canonical main root 上の materializer 経由で issue-scoped input namespace (artifacts/{issue_number}/issue-metadata/issue_comment.publish/)へ書き込み、 既存の controlled_skill_mutation_exec.py --command-id issue_comment.publish の exact argv で起動して GitHub へ投稿する経路へ、 publish_termination_report.py::_post_github_comment の raw `gh issue comment` 呼び出しを置き換える。 - controlled_skill_mutation_policy.py に ISOLATION_ISSUE_COMMENT_REQUEST_V1 bounded schema と validate_isolation_issue_comment_request() を追加 - publish_termination_report.py に materialize_isolation_issue_comment_request() を追加し、_post_github_comment() を新経路へ置き換え - 既存 test_publish_termination_report.py の raw gh argv 前提テスト(約20件)を 新しい呼び出し経路(materializer 経由の controlled_skill_mutation_exec.py 起動) に追随させ、body-file 経由投稿・repo flag・exec marker injection・ integration path の検証意図は維持 - fake gh による no-live-mutation integration test (test_isolation_issue_comment_publish_bridge.py)を追加 - .codex/rules/default.rules に controlled_skill_mutation_exec.py の allow エントリを追加し、Claude/Codex 間の parity gap を解消 - docs/dev/agent-skill-boundaries.md / docs/dev/hook-boundaries.md を更新 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Preview URL✅ verified live assets: https://squne121.github.io/loop-protocol/pr-1639/ The preview will be removed when this PR is closed. |
…)違反を解消する (#1633) CI の python-test job で docs/dev/agent-skill-boundaries.md:1560 の uv run python3 scripts/agent-guards/controlled_skill_mutation_exec.py ... 例示コマンドが check_python_invocation_policy.py の uv_run_python_script_no_locked に抵触していたため、同ファイル内の 既存の同種例示(line 1383)と同じ形式に合わせ --locked を追加した。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
…査を通す (#1633) 新設した非 canonical な見出し(`## isolation worktree agent の Issue comment request bridge` 等 4 見出し)が heading_policy SSOT に登録されていないため prose block として日本語比率検査対象に残り、CI の 「PR Body Japanese Check / Check changed Markdown files」ジョブ (変更された Markdown ファイル全文を per-block 検査する既存ジョブ)で FAIL していた。各見出しに日本語併記を追加して閾値 0.1 を満たすようにした。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
squne121
left a comment
There was a problem hiding this comment.
レビュー結果
Issue #1633 の contract、current head、CI、Allowed Paths、AC1〜AC7、Safety Claim Matrix、Schema Change Applicability / Schema Consumer Inventory を再照合しました。すべて充足しており、blocker はありません。
- CI: all_pass(typecheck/lint/test/build/e2e/python-test/actionlint/node-backed-hook-tests 全 green)
- Mergeability: MERGEABLE / CLEAN
- Allowed Paths: 変更8ファイルは Issue #1633 の Allowed Paths(Scope Delta 込み)と完全一致
- AC1〜AC7: 全て実コード照合で確認済み
- Safety Claim Matrix: 5 claim すべて Evidence と一致
- Schema Change Applicability: schema_change(additive / backward_compatible)
- Schema Consumer Inventory: 6 consumer を独立確認、捏造なし
LOOP_VERDICT_V2:
verdict: APPROVE
reviewed_head_sha: "11758655ad8e49f65db977abcbc1c03c7ca60dc8"
merge_ready: true
mergeability:
mergeable: "MERGEABLE"
merge_state_status: "CLEAN"
blockers: []
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: ok
changed_files_source: git_diff_name_status
changed_files:
- .claude/skills/issue-refinement-loop/scripts/publish_termination_report.py
- .claude/skills/issue-refinement-loop/tests/test_publish_termination_report.py
- .codex/rules/default.rules
- docs/dev/agent-skill-boundaries.md
- docs/dev/hook-boundaries.md
- scripts/agent-guards/controlled_skill_mutation_policy.py
- scripts/agent-guards/tests/test_controlled_skill_mutation_policy.py
- scripts/agent-guards/tests/test_isolation_issue_comment_publish_bridge.py
allowed_paths_gate_source: review_subagent
squne121
left a comment
There was a problem hiding this comment.
レビュー結果(head 更新後の再確認)
PR head が main merge commit(2fd758d31d6538bb4df21efab7466d90a6d938d6)へ更新されたため、古い review(head 11758655)を再利用せず、新しい head に対して再検証しました。merge の第一親は前回 APPROVE 済みの head と完全一致し、取り込まれた差分は無関係の #1603 関連ファイルのみで、本 PR 自身の実装ファイルへの変更はありません。CI は現行 head で all_pass、Allowed Paths・AC1〜AC7・Safety Claim Matrix・Schema Consumer Inventory すべて充足を再確認しました。
LOOP_VERDICT_V2:
verdict: APPROVE
reviewed_head_sha: "2fd758d31d6538bb4df21efab7466d90a6d938d6"
merge_ready: true
mergeability:
mergeable: "MERGEABLE"
merge_state_status: "CLEAN"
blockers: []
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: ok
changed_files_source: git_diff_name_status_find_renames_z
changed_files:
- .claude/skills/issue-refinement-loop/scripts/publish_termination_report.py
- .claude/skills/issue-refinement-loop/tests/test_publish_termination_report.py
- .codex/rules/default.rules
- docs/dev/agent-skill-boundaries.md
- docs/dev/hook-boundaries.md
- scripts/agent-guards/controlled_skill_mutation_policy.py
- scripts/agent-guards/tests/test_controlled_skill_mutation_policy.py
- scripts/agent-guards/tests/test_isolation_issue_comment_publish_bridge.py
allowed_paths_gate_source: review_subagent
判定REQUEST CHANGES — マージ非推奨 現行 head しかし、security-sensitive な materializer に executor 到達前の任意ファイル上書き経路があります。現在のテストはこの欠陥を検出しません。 FindingsP0 — materializer が予測可能なパスを無防備に
|
…cer/consumer分離・fallbackマーカー強化 - P0: materialize_isolation_issue_comment_request() の書き込みを dir_fd 相対の mkdir/stat/open(O_NOFOLLOW) + O_CREAT|O_EXCL 一時ファイル + rename() atomic replace に置き換え、事前に仕込まれた symlink/hardlink/directory/FIFO への 追従・TOCTOU を fail-closed で拒否するようにした(CWE-59/61/363対応)。 - P1-1: materialize_isolation_issue_comment_request() のシグネチャを request/expected_issue_number/expected_repo へ変更し、 build_isolation_issue_comment_request() を producer として分離。 validator の恒真化を解消し、_post_github_comment もこの新APIに追従。 - P1-2: CONTROLLED_EXEC_MARKER 未設定時の fallback marker を repo + issue_number + body のハッシュへ強化し、異なる repo/issue 間での marker 衝突を防止。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
|
レビューコメントで指摘された fix_delta(P0 マージブロッカー1件・P1必須2件)をすべて解消しました(head 対応内容P0(マージ阻害の重大指摘): materializer の symlink/TOCTOU 脆弱性
新規テスト( P1-1(必須): bounded request の検証境界がコード上恒真だった問題
P1-2(必須): fallback marker が body hash のみで衝突しうる問題
検証結果以下のコマンドをすべて実行し、全件 PASS を確認しました: 変更は既存の Allowed Paths( |
squne121
left a comment
There was a problem hiding this comment.
レビュー結果(fix_delta 反映後の再確認)
OWNER の REQUEST_CHANGES レビュー(symlink/TOCTOU 脆弱性、bounded request 検証境界、fallback marker 衝突の3点)に対する修正(head 77b86457865e4e275ac5b6fb501e07ac24e58a39)を独立に再検証しました。
- P0(symlink/TOCTOU):
_resolve_namespace_component_nofollow/_write_json_atomic_symlink_safeのコードを直接確認。namespace各祖先要素のsymlink拒否(os.mkdir(dir_fd=...)+os.stat(follow_symlinks=False))、出力ファイルのO_CREAT|O_EXCL|O_NOFOLLOW、fsync 後のos.rename(src_dir_fd=..., dst_dir_fd=...)によるatomic replace、hardlink拒否(st_nlink != 1)を確認。新規TestMaterializerSymlinkSafety(8テスト)が実際に事前symlink設置→materialize実行→fail closed→target内容不変、を検証していることをテスト本文で確認。 - P1-1(検証境界):
materialize_isolation_issue_comment_request(*, request: object, expected_issue_number, expected_repo, ...)へAPI変更され、validate_isolation_issue_comment_request()が外部提供オブジェクトを実際に検証。production caller_post_github_commentは新設のbuild_isolation_issue_comment_request()で生成したrequestを渡す構成に更新済み。 - P1-2(fallback marker):
f"{repo}\x00{issue_number}\x00{body}"をhash対象とする実装を確認。同一body・異なるissue/repoでmarkerが異なることを検証するテストも確認。 - テストを自分で再実行:
test_publish_termination_report.py71 passed、test_isolation_issue_comment_publish_bridge.py11 passed、test_controlled_skill_mutation_policy.py45 passed。 - CI: all_pass(現行head)。Allowed Paths: 8ファイル完全一致、逸脱なし。
LOOP_VERDICT_V2:
verdict: APPROVE
reviewed_head_sha: "77b86457865e4e275ac5b6fb501e07ac24e58a39"
merge_ready: true
mergeability:
mergeable: "MERGEABLE"
merge_state_status: "CLEAN"
blockers: []
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: ok
changed_files_source: git_diff_name_status_find_renames_z
changed_files:
- .claude/skills/issue-refinement-loop/scripts/publish_termination_report.py
- .claude/skills/issue-refinement-loop/tests/test_publish_termination_report.py
- .codex/rules/default.rules
- docs/dev/agent-skill-boundaries.md
- docs/dev/hook-boundaries.md
- scripts/agent-guards/controlled_skill_mutation_policy.py
- scripts/agent-guards/tests/test_controlled_skill_mutation_policy.py
- scripts/agent-guards/tests/test_isolation_issue_comment_publish_bridge.py
allowed_paths_gate_source: review_subagent
Summary
isolation worktree agent が生成する bounded Issue comment request(
issue_number/repo/comment_body/markerの閉じたフィールドのみ)を、canonical main root 上の materializer(materialize_isolation_issue_comment_request())が issue-scoped input namespace(artifacts/{issue_number}/issue-metadata/issue_comment.publish/)へ書き込み、既存のcontrolled_skill_mutation_exec.py --command-id issue_comment.publishの exact argv で起動して GitHub へ投稿する経路に接続した。publish_termination_report.py::_post_github_commentが保持していた唯一の rawgh issue commentproduction 呼び出しをこの経路へ置き換え、.codex/rules/default.rulesに対応する allow エントリを追加して Claude/Codex 間の parity gap を解消し、fakeghによる no-live-mutation integration test を追加した。Closes #1633(本 Issue を解消)
Refs #1608(関連 Issue)
Fix Delta 対応(OWNER レビュー、2026-07-19)
レビューコメント で指摘された 3 点(P0 merge blocker 1 件、P1 必須 2 件)をすべて解消した。
P0(マージ阻害の重大指摘): materializer の symlink/TOCTOU 脆弱性
materialize_isolation_issue_comment_request()の書き込みが plainPath.write_text()でpredictable な出力パスへ直接書き込んでおり、namespace の祖先ディレクトリ・出力ファイル自体の
symlink/hardlink 追従・check-then-write の TOCTOU(CWE-59/61/363)が未対策だった。
対策として
_write_json_atomic_symlink_safe()/_resolve_namespace_component_nofollow()を追加した:os.mkdir/os.stat(..., follow_symlinks=False)/os.open(..., O_DIRECTORY | O_NOFOLLOW)で一段ずつ辿る(mkdirは既存 dirent があればsymlink でも追従せず
EEXISTになるため race-free)O_CREAT | O_EXCL | O_NOFOLLOW(dir_fd 相対)で書き込み、fsync後にos.rename(tmp, filename, src_dir_fd=..., dst_dir_fd=...)で atomic に置換(POSIX
rename()は宛先が symlink でも追従せずディレクトリエントリ自体を置換するため、pre-check と rename の間の race window に symlink が仕込まれても任意ファイル書き込みに繋がらない)
st_nlink != 1)のいずれかであれば書き込みを一切行わず fail-closed で reject
テストは
.claude/skills/issue-refinement-loop/tests/test_publish_termination_report.py::TestMaterializerSymlinkSafetyに、出力 symlink(target 内容が完全に不変であることを確認)/ namespace directory 自体が symlink /
中間 directory が symlink / 出力が hardlink / 出力が directory / 出力が FIFO / concurrent
replacement 相当 / 失敗時に既存の正当な入力ファイルを破壊しない、の各ケースを追加(8 テスト)。
P1-1(必須): bounded request の検証境界がコード上恒真だった問題
materialize_isolation_issue_comment_request(*, issue_number, repo, comment_body, marker, ...)が自分で
request = {...}を再構築してから自分自身を検証しており、validator の主要チェックが恒真になっていた。
API を実際の境界に合わせて変更した:
producer 側は新規追加した
build_isolation_issue_comment_request(*, issue_number, repo, comment_body, marker)に分離し、
_post_github_comment()もこの producer 経由で request を構築してからmaterialize_isolation_issue_comment_request()へ渡すよう更新した。既存のmaterialize_isolation_issue_comment_request()呼び出しテスト(test_publish_termination_report.pyの
TestMaterializeIsolationIssueCommentRequestとscripts/agent-guards/tests/test_isolation_issue_comment_publish_bridge.py全体)も新シグネチャへ追随させ、unknown field / schema mismatch / repo mismatch / issue mismatch / non-dict request の
拒否テストを新規追加した。
P1-2(必須): fallback marker が body hash のみで衝突しうる問題
CONTROLLED_EXEC_MARKER環境変数が未設定の場合の fallback marker がsha256(body)[:32]のみで、repository / issue number を含まず、同一 body が異なる Issue へ投稿された場合に marker が
衝突し得た。
repo + issue_number + body(NUL 区切り)のハッシュへ強化し、TestExecMarkerInjection::test_fallback_marker_differs_across_issue_numbers_for_same_body/test_fallback_marker_differs_across_repos_for_same_body_and_issueで同一 body でもrepo/issue_number が異なれば marker が異なることを検証した。
Checks
検証チェックリスト(すべて完了済み):
pnpm typecheck(型検査 完了)pnpm lint(Lint 完了)pnpm test(テスト 完了)pnpm build(ビルド 完了)fixed base SHA:
4ab8ec2d9495638695ef774fb8737b509585f492(実装着手前に origin/main へ再確認済み。着手時点の origin/main HEAD は7a458860d742fe5040d5fea244109efd5f0d4b03で対象ファイルへの変更は含まれていなかった)Changed Files(変更ファイル一覧)
scripts/agent-guards/controlled_skill_mutation_policy.py—ISOLATION_ISSUE_COMMENT_REQUEST_V1bounded schema とvalidate_isolation_issue_comment_request()を追加.claude/skills/issue-refinement-loop/scripts/publish_termination_report.py—materialize_isolation_issue_comment_request()追加、_post_github_comment()を新経路へ置き換え。fix_delta でbuild_isolation_issue_comment_request()producer 分離・symlink/TOCTOU 安全な atomic write・fallback marker 強化を追加.claude/skills/issue-refinement-loop/tests/test_publish_termination_report.py— raw gh argv 前提だった既存テスト(TestGhBodyFile/TestIntegrationの一部 /TestRepoFlag/TestExecMarkerInjection)を新経路へ追随、TestMaterializeIsolationIssueCommentRequestを追加。fix_delta でTestMaterializerSymlinkSafety(8テスト)・producer/consumer分離に伴う既存テスト更新・fallback marker 衝突回避テストを追加scripts/agent-guards/tests/test_controlled_skill_mutation_policy.py—TestIsolationIssueCommentRequestSchemaを追加scripts/agent-guards/tests/test_isolation_issue_comment_publish_bridge.py(新規) — fake gh による no-live-mutation integration test(positive + 8 negative fixtures)。fix_delta で新シグネチャへ追随.codex/rules/default.rules—controlled_skill_mutation_exec.pyの allow エントリ追加docs/dev/agent-skill-boundaries.md— 新セクション追加(bridge 設計の説明)。fix_delta で producer/consumer 分離・symlink/TOCTOU 安全性・fallback marker 強化のセクションを追加docs/dev/hook-boundaries.md— Codex/Claude parity 記述の更新AC 達成状況
ISOLATION_ISSUE_COMMENT_REQUEST_V1bounded schema(閉じたキーのみ)を定義publish_termination_report.py::_post_github_commentの rawgh issue comment呼び出しを上記経路へ置き換えghによる no-live-mutation 統合テスト(positive/negative 両方)を追加.codex/rules/default.rulesに allow エントリを追加(codex execpolicy checkでdecision: allowを確認済み)pnpm typecheck/pnpm lint/pnpm test/pnpm build全て passdocs/dev/agent-skill-boundaries.md/docs/dev/hook-boundaries.mdを更新Scope Delta 対応
Issue 本文の Scope Delta(2026-07-19)に従い、
.claude/skills/issue-refinement-loop/tests/test_publish_termination_report.py(Allowed Paths へ追加済み)の既存テスト約20件を削除せず、新しい呼び出し経路(materializer 経由のcontrolled_skill_mutation_exec.py起動)に合わせて更新した。既存テストが検証していた intent(body-file 経由の投稿・repo flag・exec marker injection・integration path)は維持し、経路のみ更新した。Verification Commands
Schema Change Applicability
schema_changeISOLATION_ISSUE_COMMENT_REQUEST_V1という新規 bounded schema をscripts/agent-guards/controlled_skill_mutation_policy.pyに追加する(docs/dev/schema-governance.mdの schema_change 判定条件「新規 schema が追加される」に該当)。既存 schema の変更ではなく新規追加のため、既存 consumer への破壊的影響はない。fix_delta によるmaterialize_isolation_issue_comment_request()のシグネチャ変更(request/expected_issue_number/expected_repo)は同一 PR 内の全 consumer(テストファイルを含む)を追随済みで、本 PR 外部の既存 consumer は存在しない。Schema Consumer Inventory
変更対象 schema:
ISOLATION_ISSUE_COMMENT_REQUEST_V1before/after 差分:
Consumer 列挙(rg コマンド例と結果):
Consumer 更新状況:
scripts/agent-guards/controlled_skill_mutation_policy.py(ISOLATION_ISSUE_COMMENT_REQUEST_SCHEMA定数、validate_isolation_issue_comment_request()).claude/skills/issue-refinement-loop/scripts/publish_termination_report.py(materialize_isolation_issue_comment_request()がvalidate_isolation_issue_comment_request()を呼び出し、検証済み request を issue-scoped namespace へ書き込む)request/expected_issue_number/expected_repoへ変更し、producerbuild_isolation_issue_comment_request()を分離。書き込みも symlink/TOCTOU 安全な atomic write へ変更)scripts/agent-guards/tests/test_controlled_skill_mutation_policy.py(TestIsolationIssueCommentRequestSchema)scripts/agent-guards/tests/test_isolation_issue_comment_publish_bridge.py(fake gh no-live-mutation integration test).claude/skills/issue-refinement-loop/tests/test_publish_termination_report.py(TestMaterializeIsolationIssueCommentRequestほか)TestMaterializerSymlinkSafety8テスト・fallback marker 衝突回避2テストを新規追加)docs/dev/agent-skill-boundaries.mdCompatibility Decision(互換性判断)
additivebackward_compatiblenoN/AISOLATION_ISSUE_COMMENT_REQUEST_V1は本 PR で新規追加される schema であり、既存 schema(issue_contract/v1等)のフィールド・型・意味を一切変更しない。既存 consumer は全て本 PR 内でこの新規 schema 用に新規追加されたものであり、破壊的変更の対象となる既存呼び出し元は存在しない。fix_delta による consumer シグネチャ変更も同一 PR 内の全呼び出し元を追随済み。Safety Claim Matrix
本 PR は
.claude/skills/**(issue-refinement-loop)配下と.codex/rules/default.rules、scripts/agent-guards/controlled_skill_mutation_policy.pyを変更しており、.claude/skills/pr-review-judge/references/safety-claim-gate.mdの safety-sensitive 判定に該当するため、以下の Safety Claim Matrix を記載する。ghを直接呼ばず、GitHub 認証情報も保持しない。返すのはISOLATION_ISSUE_COMMENT_REQUEST_V1の閉じたフィールド(schema/issue_number/repo/comment_body/marker)のみscripts/agent-guards/controlled_skill_mutation_policy.pyのISOLATION_ISSUE_COMMENT_REQUEST_ALLOWED_KEYS(4キーの frozenset)とvalidate_isolation_issue_comment_request()が非許可キーをisolation_issue_comment_request_unknown_fieldsで拒否する実装materialize_isolation_issue_comment_request())が bounded request を検証してから issue-scoped namespace(artifacts/{issue_number}/issue-metadata/issue_comment.publish/)へ書き込む。検証(閉じたキー集合・exact schema・issue_number/repo 一致・comment_body/marker 非空・marker が comment_body に埋め込まれているか)は namespace ディレクトリ作成・ファイル書き込みより前に実行されるpublish_termination_report.py::materialize_isolation_issue_comment_request()内でvalidate_isolation_issue_comment_request()の呼び出しが namespace への一切のファイルシステム操作より前に置かれている(該当関数の実装順序)_write_json_atomic_symlink_safe()/_resolve_namespace_component_nofollow()(dir_fd 相対の mkdir/stat/open(O_NOFOLLOW) + O_CREAT|O_EXCL 一時ファイル + rename() atomic replace)。TestMaterializerSymlinkSafety(8テスト、target/sentinel 内容の不変性を明示的に assert)materialize_isolation_issue_comment_request()の validator 呼び出しは実際に外部境界オブジェクトを検証しており、コード上恒真ではないrequest: objectを受け取り、呼び出し元(production ではbuild_isolation_issue_comment_request())が別関数で構築した dict を渡す。unknown field / schema mismatch / repo mismatch / issue mismatch の拒否テストが production entry point 経由で通ることを確認済み_post_github_comment()が保持していた唯一の rawgh issue commentproduction 呼び出しは本 PR で完全に置き換えられ、GitHub への投稿はcontrolled_skill_mutation_exec.py --command-id issue_comment.publishの subprocess 起動のみを経由するsubprocess.run(["gh", "issue", "comment", ...])の削除、subprocess.run([sys.executable, CONTROLLED_SKILL_MUTATION_EXEC_SCRIPT, "--command-id", "issue_comment.publish", ...])への置換)。fakeghを使う integration test(test_isolation_issue_comment_publish_bridge.py, positive + 8 negative fixtures)が live mutation なしでこの経路を検証controlled_skill_mutation_exec.py本体(command_id whitelist・repo/env binding・input-file namespace 検証・module realpath 検証・idempotency・postcondition といった実行時強制ロジック)は本 PR で一切変更していない。本 PR が追加したのは、既存の同一 executor へ渡す前段の bounded producer/materializer のみgit diff origin/main...HEAD --statの変更ファイル一覧にcontrolled_skill_mutation_exec.pyが含まれないことで確認可能(変更対象はcontrolled_skill_mutation_policy.pyとpublish_termination_report.pyのみ).codex/rules/default.rulesの新規 allow エントリはuv run python3 scripts/agent-guards/controlled_skill_mutation_exec.pyの exact prefix のみを許可し、Codex に rawgh呼び出しや他の git mutation 権限を新規付与しない。これは.claude/settings.jsonの Claude 側既存 wildcard allow(同一 executor 対象)と同じ実行主体(single controlled executor)を指すのみで、実行時の強制(command_id whitelist 等)は executor 内部でのみ行われる(ルール自体はコメントで明記).codex/rules/default.rulesdiff のprefix_rule(pattern = ["uv", "run", "python3", "scripts/agent-guards/controlled_skill_mutation_exec.py"], decision = "allow", ...)と直上のコメント("Runtime binding checks ... all happen inside the executor itself -- this static rule only allows the exactuv run python3 <script>invocation prefix")Allowed Paths 遵守
変更ファイルは Issue #1633 の Allowed Paths(Scope Delta で拡張済み)と完全一致:
scripts/agent-guards/controlled_skill_mutation_exec.py(変更なし、既存 issue_comment.publish lane をそのまま再利用)scripts/agent-guards/controlled_skill_mutation_policy.pyscripts/agent-guards/tests/.codex/rules/default.rules.claude/skills/issue-refinement-loop/scripts/publish_termination_report.py.claude/skills/issue-refinement-loop/tests/test_publish_termination_report.pydocs/dev/agent-skill-boundaries.mddocs/dev/hook-boundaries.mdAllowed Paths 外の変更なし(fix_delta 対応もこの範囲内で完結)。
Notes
補足事項:
🤖 Generated with Claude Code(このプルリクエストは Claude Code によって生成されました)