Skip to content

fix: preflight repair hint と hook docs を整合させる (#1395) - #1399

Merged
squne121 merged 4 commits into
mainfrom
worktree-issue-1395-hook-allowlist
Jul 8, 2026
Merged

squne121 merged 4 commits into
mainfrom
worktree-issue-1395-hook-allowlist

Conversation

@squne121

@squne121 squne121 commented Jul 8, 2026 •

Copy link
Copy Markdown
Owner

概要

この PR は、issue-refinement-loop の canonical preflight が direct script repair へ誤誘導しないように、hook hint・tests・SSOT を同時に揃える変更です。

  • issue_refinement_direct の block 時に、repair hint が direct script ではなく exact skill_runtime_exec.py --command-id preflight.run を案内するようにしました。
  • Claude/Codex parity test に、rtk wrapper の exact allow と noncanonical / mutating wrapper block を追加しました。
  • docs/dev/hook-boundaries.md と docs/dev/agent-skill-boundaries.md の raw gh issue edit/comment と mutating gh api 分類 drift を現行 deny 方針へ揃えました。
  • branch は remote head a8e7e3eb20ee24694387c4233e68a04a7f98b56b へ fast-forward 済みです。

受け入れ条件の達成状況

  • AC1/AC2: exact executor command は Claude/Codex hook evaluation で allow され、reason_code は skill_runtime_executor_command です。
  • AC3: direct preflight script は block され、direct script repair へ誘導しません。
  • AC4/AC5: rtk wrapper は exact inner executor のみ allow し、それ以外の wrapper / mutation は block します。
  • AC6: raw gh issue edit、gh issue comment、mutating gh api は引き続き block します。
  • AC7: repair hint は direct script ではなく exact executor command を suggested command として提示します。
  • AC8/AC9: Claude/Codex parity tests と SSOT docs の分類 drift を current implementation に合わせました。

検証コマンド結果

current head は a8e7e3eb20ee24694387c4233e68a04a7f98b56b です。Issue contract の 9 個の Verification Commands はすべて PASS し、reviewer 指摘の追加回帰も PASS しました。

TEST_VERDICT_MACHINE_V1 の結果は PASS です。mergeable は MERGEABLE、merge_state_status は CLEAN、branch_behind_main は false、baseline_only は false です。verification_commands_pass は 9、verification_commands_fail は 0、verification_skipped_count は 0 です。head_sha は a8e7e3eb20ee24694387c4233e68a04a7f98b56b、pr_number は 1399、issue_number は 1395、reviewer_comment_url は #1399 (comment) です。

検証では、Claude hook 側と Codex hook 側の skill_runtime_executor、direct preflight script deny、rtk wrapper deny、raw gh issue edit deny、repair hint の exact executor 案内、docs の gh issue edit 分類を確認しました。追加で、gh api -f body=...、gh api graphql -f ...、gh api --method POST ...、gh issue comment ... --body ... の negative variants を Claude/Codex tests と docs に固定しました。

Allowed Paths 遵守(許可パス確認)

変更は次の Allowed Paths 内だけです。Allowed Paths 外の実装変更はありません。

  • .claude/hooks/tests/test_local_main_branch_guard.py は Claude hook 側の回帰テストです。
  • docs/dev/agent-skill-boundaries.md は agent skill 境界の SSOT 文書です。
  • docs/dev/hook-boundaries.md は hook 境界の SSOT 文書です。
  • scripts/agent-guards/local_main_branch_guard.py は root default branch guard の実装です。
  • tests/codex/test_local_main_branch_guard.py は Codex hook 側の回帰テストです。

Safety Claim Matrix(安全性主張)

Claim Implemented? Not controlled Evidence Follow-up
root preflight の direct script block は exact executor repair hint を返す yes none Claude/Codex hook tests の repair hint assertion none
rtk wrapper は exact inner executor だけを allow し、それ以外の wrapper / mutation は block する yes none Claude/Codex hook tests の wrapper allow/block assertion none
hook SSOT は raw gh issue edit/comment と mutating gh api deny に整合している yes none docs/dev/hook-boundaries.md と docs/dev/agent-skill-boundaries.md none

Runtime Verification Evidence(実行時検証証跡)

RUNTIME_VERIFICATION_EVIDENCE_V1 として、decision は immediate、head_sha は a8e7e3eb20ee24694387c4233e68a04a7f98b56b、required_checks は pass です。CI required checks は lint / build / typecheck / test / python-test / validate-generated-artifact がすべて pass です。local verification は verification_commands_pass が 9、verification_commands_fail が 0、verification_skipped_count が 0 です。reviewer fix は source comment #1399 (comment) に対して ac6_drift_resolved が true、docs_tests_implementation_aligned が true です。ci_verdict_summary.py は expected head a8e7e3eb20ee24694387c4233e68a04a7f98b56b で status: all_pass です。

スキーマ変更の該当性

この変更は runtime policy と docs/test の整合化に限られ、schema 互換面の変更はありません。

  • decision: not_schema_change
  • reason: hook policy の reason hint・tests・docs の整合化に限定し、機械可読 schema や command registry は変更していません。

補足

issue-refinement-loop canonical runtime の repair hint を exact executor に揃え、Claude/Codex parity test に rtk allow/block matrix を追加した。あわせて gh issue edit/comment の block 方針に合わせて hook SSOT 文言を修正した。

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Preview URL

✅ verified live assets: https://squne121.github.io/loop-protocol/pr-1399/

The preview will be removed when this PR is closed.

@squne121

squne121 commented Jul 8, 2026

Copy link
Copy Markdown
Owner Author

検証結果レポート

Issue #1395 の Verification Commands は current head d0824c043b95d194c828d555f0c2286e3b831ed1 で 9/9 PASS です。

TEST_VERDICT:
  result: PASS
  mergeable: MERGEABLE
  merge_state_status: BEHIND
  branch_behind_main: true
  baseline_only: false
  verification_commands_pass: 9
  verification_commands_fail: 0
  verification_skipped_count: 0
  head_sha: d0824c043b95d194c828d555f0c2286e3b831ed1
  pr_number: 1399
  issue_number: 1395
  runtime_ac_results: []

@squne121 squne121 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Mergeability

  • mergeable=MERGEABLE, merge_state_status=BEHIND

Evidence Check

  • AC coverage: PR本文の達成状況・検証・Schema Change Applicability・Safety Claim Matrix が #1395 の AC1-AC9 と整合しています。
  • Allowed Paths: PR files API の changed files 5件はいずれも linked issue #1395 の Allowed Paths 内です。
  • CI Verification: TEST_VERDICT_MACHINE v1 は current head d0824c043b95d194c828d555f0c2286e3b831ed1 で PASS 9/9、verification_skipped_count: 0 です。CI_VERDICT_SUMMARY_V1 も all_pass でした。
  • 検証コマンド結果: PR本文の Verification Commands と TEST_VERDICT_MACHINE が一致し、fallback / SKIP / stale head はありません。

Blockers

  • なし

Non-blockers

  • merge_state_status=BEHIND のため、merge-ready 化には branch update が必要です。

LOOP_VERDICT_V2

verdict: APPROVE
reviewed_head_sha: "d0824c043b95d194c828d555f0c2286e3b831ed1"
merge_ready: false
mergeability:
  mergeable: "MERGEABLE"
  merge_state_status: "BEHIND"
blockers: []
required_auto_actions:
  - kind: update_branch
    executor: implementation-worker
    skill: implement-issue.update_branch
    blocking_merge_ready: true
    mechanical: true
    expected_head_sha: "d0824c043b95d194c828d555f0c2286e3b831ed1"
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
  status: ok
  changed_files_source: github_pull_request_files_api_with_previous_filename
  changed_files:
    - .claude/hooks/tests/test_local_main_branch_guard.py
    - docs/dev/agent-skill-boundaries.md
    - docs/dev/hook-boundaries.md
    - scripts/agent-guards/local_main_branch_guard.py
    - tests/codex/test_local_main_branch_guard.py
allowed_paths_gate_source: review_subagent

@squne121

squne121 commented Jul 8, 2026

Copy link
Copy Markdown
Owner Author

検証結果レポート

Issue #1395 の Verification Commands は current head c6cc85ae66e641a2e5b51892f9b55f192373c4d2 で 9/9 PASS です。

TEST_VERDICT:
  result: PASS
  mergeable: MERGEABLE
  merge_state_status: CLEAN
  branch_behind_main: false
  baseline_only: false
  verification_commands_pass: 9
  verification_commands_fail: 0
  verification_skipped_count: 0
  head_sha: c6cc85ae66e641a2e5b51892f9b55f192373c4d2
  pr_number: 1399
  issue_number: 1395
  runtime_ac_results: []

@squne121 squne121 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOOP_VERDICT_V2

verdict: APPROVE
reviewed_head_sha: "c6cc85ae66e641a2e5b51892f9b55f192373c4d2"
merge_ready: false
mergeability:
  mergeable: "MERGEABLE"
  merge_state_status: "CLEAN"
blockers: []
required_auto_actions:
  - kind: update_pr_body_hygiene
    executor: implementation-worker
    skill: open-pr.update_pr
    blocking_merge_ready: true
    mechanical: true
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/hooks/tests/test_local_main_branch_guard.py
    - docs/dev/agent-skill-boundaries.md
    - docs/dev/hook-boundaries.md
    - scripts/agent-guards/local_main_branch_guard.py
    - tests/codex/test_local_main_branch_guard.py
allowed_paths_gate_source: review_subagent

@squne121 squne121 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Mergeability

  • mergeable=MERGEABLE, merge_state_status=CLEAN

Evidence Check

  • AC coverage: PR本文は linked issue #1395 の outcome / AC / scope と整合し、PR body validator も current body で pass です。
  • Allowed Paths: changed files 5件はいずれも #1395 の Allowed Paths 内です。
  • CI Verification: TEST_VERDICT_MACHINE v1 は current head c6cc85ae66e641a2e5b51892f9b55f192373c4d2 で PASS 9/9、verification_skipped_count: 0 です。live required checks も Passed 14 / Failed 0 でした。
  • 検証コマンド結果: PR本文の Verification Commands と TEST_VERDICT_MACHINE が一致し、fallback / SKIP / stale head はありません。

Blockers

  • なし

Non-blockers

  • Draft 状態ですが、skill 契約上は merge blocker ではありません。

LOOP_VERDICT_V2

verdict: APPROVE
reviewed_head_sha: "c6cc85ae66e641a2e5b51892f9b55f192373c4d2"
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: github_pull_request_files_api_with_previous_filename
  changed_files:
    - .claude/hooks/tests/test_local_main_branch_guard.py
    - docs/dev/agent-skill-boundaries.md
    - docs/dev/hook-boundaries.md
    - scripts/agent-guards/local_main_branch_guard.py
    - tests/codex/test_local_main_branch_guard.py
allowed_paths_gate_source: review_subagent

@squne121 squne121 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOOP_VERDICT_V2

verdict: APPROVE
reviewed_head_sha: "c6cc85ae66e641a2e5b51892f9b55f192373c4d2"
merge_ready: true
mergeability:
  mergeable: "MERGEABLE"
  merge_state_status: "UNSTABLE"
blockers: []
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
  status: ok
  changed_files_source: github_pull_request_files_api_with_previous_filename
  changed_files:
    - .claude/hooks/tests/test_local_main_branch_guard.py
    - docs/dev/agent-skill-boundaries.md
    - docs/dev/hook-boundaries.md
    - scripts/agent-guards/local_main_branch_guard.py
    - tests/codex/test_local_main_branch_guard.py
allowed_paths_gate_source: review_subagent

@squne121

squne121 commented Jul 8, 2026

Copy link
Copy Markdown
Owner Author

敵対的レビュー結果: REQUEST_CHANGES

GitHub には投稿していません。ローカルなレビュー結果です。

PR #1399 は、#1395 のスコープどおり「direct skill script を許可せず、preflight.run の exact executor だけを通す」方向には概ね合っています。#1395 は root preflight を skill_runtime_exec.py --command-id preflight.run 経由に限定し、direct .claude/skills/issue-refinement-loop/scripts/*.py、raw gh issue edit/comment、unsafe wrapper を fail-closed に残す契約です。
PR側も最終コメント上は current head c6cc85ae... で verification 9/9 PASS、required checks pass、merge_ready true とされています。

ただし、1点は merge blocker と見ます。

Blocker: gh api -f body=... の docs / reason_code / regression がずれている

docs/dev/hook-boundaries.md は、raw gh issue edit / gh issue comment / gh api -f body=... が gh_mutation_denied で block される、と記述しています。
しかし実装では、gh api は _parse_gh_api_command() の allowlist に合わない場合、REASON_GH_API、つまり github_api_command として block されます。gh_mutation_denied の branch はその後の gh issue/pr mutation 判定にだけ使われています。

これは単なる表記差ではありません。gh api は GitHub CLI 公式仕様上、-f/--raw-field や -F/--field で request payload に parameter を追加でき、parameter 追加時は通常 POST に切り替わります。したがって gh api -f body=... を read-only と誤分類しないことは、このPRの raw mutation deny 契約の中核です。([GitHub CLI]1)

さらに、確認できるテスト断片では gh issue edit の block regression はありますが、gh api -f body=... の reason_code regression は見当たりません。
#1395 の AC6 は raw gh issue edit、gh issue comment、gh api -f body=... をすべて block する契約なので、現状は「block されるが docs の reason_code claim が実装と違い、検証も薄い」状態です。

要求修正:

def test_gh_api_raw_field_body_is_blocked_with_documented_reason(tmp_git_repo):
    result = eval_in_local_root(
        "gh api repos/squne121/loop-protocol/issues/1395/comments -f body=bad",
        str(tmp_git_repo),
    )
    assert result["status"] == "block"
    # どちらかに統一:
    # A: docs を github_api_command に直すなら:
    assert result["reason_code"] == REASON_GH_API
    # B: docs の gh_mutation_denied を維持するなら実装側を変える

Claude 側と Codex 側の両方に、少なくとも次を追加すべきです。

gh api repos/squne121/loop-protocol/issues/1395/comments -f body=bad
gh api graphql -f query='mutation { __typename }'
gh api --method POST repos/squne121/loop-protocol/issues/comments/1
gh issue comment 1395 --body bad

最小修正は、docs を実装に合わせて gh api -f body=... は github_api_command / gh_api_not_allowed で block と明記し、VC を -k "gh_issue_edit or gh_issue_comment or gh_api" に広げることです。gh_mutation_denied に統一したいなら、_is_gh_api_mutation_command() branch の reason_code を変える必要があります。

Non-blocking hardening

1. repair hint が local_main_branch_guard.py に寄りすぎている

PRは _emit_block_stderr() 内で issue_refinement_direct のときだけ exact executor command を注入しています。
一方、shared formatter の hook_repair_hints.py には issue_refinement_direct 固有の safe_action / forbidden alternatives がなく、デフォルトの forbidden は git add .、git add -A、git push --force のままです。

#1395 の「repair hint は direct script ではなく exact executor を提示する」という要件は local main hook では満たしていますが、shared formatter を正本にしたいならここはまだ弱いです。build_hook_command_repair_hint() に blocked_command_class == "issue_refinement_direct" または reason_code == "unparseable_branch_mutation" and rule_id == "issue_refinement_direct" 相当の分岐を持たせ、forbidden alternatives に direct script、bash -lc、python -c を含めるのが堅いです。

2. hint test は文字列包含より構造検証に寄せるべき

現テストは real hook stderr に HOOK_COMMAND_REPAIR_HINT_V1: が出ること、exact executor 文字列があること、direct script 文字列がないことを見ています。
ただし実装は recovery: と machine-readable hint の両方に suggested command を埋めるため、将来 formatter 変更時に壊れ方が見えづらいです。

最低限、stderr の HOOK_COMMAND_REPAIR_HINT_V1 block を parse して、以下を assert してください。

blocked_command_class: "issue_refinement_direct"
reason_code: "unparseable_branch_mutation"
suggested_command: "uv run python3 scripts/agent-guards/skill_runtime_exec.py --command-id preflight.run --issue-number <issue> --repo squne121/loop-protocol"

良い点

exact executor 境界は基本的に保たれています。skill_runtime_command_policy.py は eligible command を preflight.run のみに限定し、exact parser は token 数、uv run python3 scripts/agent-guards/skill_runtime_exec.py、flag順序、--flag=value 禁止、trusted repo、positive issue number を固定しています。
executor 側も child argv を list で subprocess.run(..., shell=False) し、artifact 外 write を postcondition で落としています。これは Python 公式 docs の推奨、つまり shell を暗黙に呼ばず、shell=True の場合だけ shell injection の quoting 責任がアプリ側に来る、という境界と整合しています。 ([Python documentation]2)

rtk uv run python3 ...skill_runtime_exec.py... だけを unwrap して exact executor に流し、rtk run uv ...、rtk bash -lc ...、direct skill script wrapper、rtk gh issue edit ... を block するテストも方向性は正しいです。

結論

このまま approve はしません。理由は、#1395 AC6 のうち gh api -f body=... が「block されるか」だけでなく「どの分類として docs / tests / runtime が一致するか」で drift しているためです。GitHub CLI の gh api -f は実際に POST 化し得る mutation surface なので、ここを曖昧にしたまま merge すると、今回のPRの目的である raw mutation deny の SSOT 整合が false-green になります。

@squne121 squne121 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Mergeability

  • mergeable=MERGEABLE, merge_state_status=CLEAN

Evidence Check

  • AC6 drift: 解消。gh api -f body=... / GraphQL mutation / --method POST は github_api_command、raw gh issue comment は gh_mutation_denied として docs/tests/implementation が一致。
  • Allowed Paths: 変更ファイル 5 件は #1395 の Allowed Paths 内。
  • CI Verification: current head 548a586282307908903b917c49102f20d267d4e1 で CI_VERDICT_SUMMARY_V1.status=all_pass。
  • 検証コマンド結果: current head の TEST_VERDICT_MACHINE は未追記だが、CI scoped evidence は current head に一致。

Blockers

  • なし

Non-blockers

  • PR 本文に ## 受け入れ条件の達成状況 / ## 検証コマンド結果 / ## Allowed Paths 遵守 / ## Runtime Verification Evidence がなく、review skill の body hygiene を満たしていない。

LOOP_VERDICT_V2

verdict: APPROVE
reviewed_head_sha: "548a586282307908903b917c49102f20d267d4e1"
merge_ready: false
mergeability:
  mergeable: "MERGEABLE"
  merge_state_status: "CLEAN"
blockers: []
required_auto_actions:
  - kind: update_pr_body_hygiene
    executor: implementation-worker
    skill: open-pr.update_pr
    blocking_merge_ready: true
    mechanical: true
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/hooks/tests/test_local_main_branch_guard.py
    - docs/dev/agent-skill-boundaries.md
    - docs/dev/hook-boundaries.md
    - scripts/agent-guards/local_main_branch_guard.py
    - tests/codex/test_local_main_branch_guard.py
allowed_paths_gate_source: review_subagent

@squne121

squne121 commented Jul 8, 2026

Copy link
Copy Markdown
Owner Author

impl-review-loop status: blocked by remote head drift

PR #1399 の current remote head が a8e7e3eb20ee24694387c4233e68a04a7f98b56b に進み、#1395 の Allowed Paths 外の変更が混入しています。

IMPL_REVIEW_LOOP_BLOCKER_V1:
  status: blocked
  issue_number: 1395
  pr_number: 1399
  intended_verified_head: "548a586282307908903b917c49102f20d267d4e1"
  current_remote_head: "a8e7e3eb20ee24694387c4233e68a04a7f98b56b"
  blocker_kind: "remote_head_scope_contamination"
  reason: "current remote head includes unrelated #1381 / delegation-audit changes outside #1395 Allowed Paths"
  unrelated_commit:
    sha: "726832c5"
    subject: "実装: agent delegation 実行の監査ログを専用 schema (delegation_audit_v1) で導入する (#1381)"
  affected_paths:
    - ".claude/skills/gemini-cli-headless-delegation/references/runtime-portability.md"
    - ".claude/skills/gemini-cli-headless-delegation/scripts/run_gemini_headless.py"
    - ".claude/skills/gemini-cli-headless-delegation/tests/test_agy_provider.py"
    - ".claude/skills/gemini-cli-headless-delegation/tests/test_delegation_audit_schema.py"
    - "docs/dev/schema-governance.md"
  safe_state_before_drift:
    head: "548a586282307908903b917c49102f20d267d4e1"
    test_verdict: PASS
    required_checks: pass
    reviewer_comment_ac6_drift_resolved: true
  required_human_decision:
    - "PR branch を #1395 専用 head へ戻す"
    - "または #1381 混入を別 PR / 別 branch へ退避する"

こちらでは remote branch の既存変更を消す force update / reset は実行しません。#1395 の merge-ready 判定は、PR head が #1395 Allowed Paths のみに戻った後に再開できます。

@squne121

squne121 commented Jul 8, 2026

Copy link
Copy Markdown
Owner Author

current-head verification: PASS

PR #1399 の current head a8e7e3eb20ee24694387c4233e68a04a7f98b56b で CI / verification evidence を再確認しました。

TEST_VERDICT_MACHINE_V1:
  result: PASS
  mergeable: MERGEABLE
  merge_state_status: CLEAN
  branch_behind_main: false
  baseline_only: false
  verification_commands_pass: 9
  verification_commands_fail: 0
  verification_skipped_count: 0
  head_sha: a8e7e3eb20ee24694387c4233e68a04a7f98b56b
  pr_number: 1399
  issue_number: 1395
  ci_verdict_summary:
    status: all_pass
    failed_checks: []
    pending_checks: []
    stale_checks: []

補足:

  • ローカル worktree は a8e7e3eb20ee24694387c4233e68a04a7f98b56b へ fast-forward 済みです。
  • ci_verdict_summary.py --expected-head-sha a8e7e3eb20ee24694387c4233e68a04a7f98b56b は status: all_pass です。
  • rtk gh pr checks 1399 --repo squne121/loop-protocol は Passed: 13 Failed: 0 です。

@squne121 squne121 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Mergeability

  • mergeable=MERGEABLE, merge_state_status=CLEAN

Evidence Check

  • AC coverage: PR body の AC1-AC9 達成状況、Runtime Verification Evidence、Safety Claim Matrix を current head a8e7e3e で確認
  • Allowed Paths: linked issue contract snapshot と allowed_paths_review_gate.py の再計算で status=ok
  • CI Verification: ci_verdict_summary.py --expected-head-sha a8e7e3e => status=all_pass、rtk gh pr checks => Passed 13 / Failed 0
  • 検証コマンド結果: current-head TEST_VERDICT_MACHINE_V1 PASS、verification_commands_pass=9、verification_commands_fail=0、verification_skipped_count=0

Blockers

  • なし

Non-blockers

  • なし

LOOP_VERDICT_V2

verdict: APPROVE
reviewed_head_sha: "a8e7e3eb20ee24694387c4233e68a04a7f98b56b"
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/hooks/tests/test_local_main_branch_guard.py"
    - "docs/dev/agent-skill-boundaries.md"
    - "docs/dev/hook-boundaries.md"
    - "scripts/agent-guards/local_main_branch_guard.py"
    - "tests/codex/test_local_main_branch_guard.py"
allowed_paths_gate_source: "review_subagent"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

実装: issue-refinement-loop canonical runtime の hook allowlist を整備する

1 participant