Repository navigation
Conversation
Preview URLPreview removed (PR #1643 closed). |
squne121
left a comment
There was a problem hiding this comment.
Verdict: REQUEST_CHANGES
PR #1643 の current head 97f5b99496521e041bdfd8ab4e6696fbc1819625 を、Issue #1593 の live contract と照合しました。
- AC1--AC5 と AC7 は独立実行で PASS です。
- AC6 は legacy v2 fixture が
inventory_completeness_contract_invalidに先行 reject され、7 failed, 8 passedでした。 - current-head CI は
python-testとnode-backed-hook-testsが failure です。前者は Ruff E501 2件、後者は追加テストの ci test-selection uncovered です。 - PR 本文に必須の受け入れ条件達成状況・Allowed Paths 遵守の節および AC6 成功証跡がありません。
- canonical Allowed Paths review gate は scope-rollup guard により実行不能で、機械判定を完了できませんでした。
LOOP_VERDICT_V2
LOOP_VERDICT_V2:
verdict: REQUEST_CHANGES
reviewed_head_sha: "97f5b99496521e041bdfd8ab4e6696fbc1819625"
merge_ready: false
mergeability:
mergeable: MERGEABLE
merge_state_status: BEHIND
blockers:
- "AC6 の legacy v2 parser regression が 7 failed, 8 passed であり、v2 fixture が inventory_completeness_contract_invalid に先行 reject される"
- "CI python-test: run_scope_rollup_preflight.py:623,628 の Ruff E501"
- "CI node-backed-hook-tests: tests/codex/test_scope_rollup_graphql_pagination_v3.py が ci test-selection で uncovered"
- "allowed_paths_review_gate.py が #1593 scope-rollup guard に拒否され、canonical allowed-paths 判定が未完了"
required_auto_actions:
- kind: update_pr_body_hygiene
executor: implementation-worker
skill: open-pr.update_pr
blocking_merge_ready: true
mechanical: true
- kind: update_branch
executor: implementation-worker
skill: implement-issue.update_branch
blocking_merge_ready: true
mechanical: true
expected_head_sha: "97f5b99496521e041bdfd8ab4e6696fbc1819625"
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: indeterminate
changed_files_source: review_gate_execution_blocked_by_local_guard
changed_files:
- ".claude/agents/scope-rollup-runner.md"
- ".claude/skills/impl-review-loop/scripts/parse_scope_rollup_run_result.py"
- "docs/dev/hook-boundaries.md"
- "scripts/agent-guards/run_scope_rollup_preflight.py"
- "tests/codex/test_scope_rollup_graphql_pagination_v3.py"
allowed_paths_gate_source: review_subagent
判定REQUEST_CHANGES — マージ不可。 確認対象は current head マージブロッカーP0-1. PR files のページングがページを累積せず、100ファイル超の PR は必ず失敗する
paths = [n["path"] for n in nodes]
専用テストは nested files について「共有ページ上限を超えたら失敗する」ケースしか実行しておらず、実装本体による複数ページ成功を検証していません。既存テストも 必須修正
P0-2. Issue #1593 の AC8 が未達で、最新 JUnit でも既存 regression が7件失敗しているIssue #1593 の AC8 は、既存 ところが current head の JUnit では、次の7件が失敗しています。
大半は既存 fake が [確認した current-head JUnit artifact](sandbox:/mnt/data/pr1643-current-junit.zip) Issue #1644 は新規 test file の python-test-plan 登録を扱うだけで、既存 preflight fixtures の修正は明確に #1593 側の責務としています。したがって、#1644 を統合して test-selection を直しても P0-3. marker parser が v3 completeness を削除した silent downgrade を受理するparser は if isinstance(inputs, dict) and "query_schema_version" in inputs:
validate_v3(...)したがって、v3 marker から次をまとめて削除すると、
legacy v2 と誤認して後続処理へ進みます。コードコメントの「never silently downgrade」と実装が逆です。 さらに PR 本文は「version 2 marker を fail-close で拒否する breaking change」と記載していますが、Issue #1593 の AC6 と実装コメントは legacy v2 の受理維持を要求しています。互換性判断自体が一貫していません。 必須修正
High priorityP1-1. manifest が nested PR-files の完全性証跡を持っていないトップレベル PR pagination 後に、nested files を補完して PR 配列の SHA-256 は再計算しています。しかし manifest に残るのは次だけです。
各 PR-files connection の実測ページ数、 Issue #1593 の AC4 が要求する「inventory / PR-files の total count、page count、pagination complete state、budget consumption、sha256」を満たすには、少なくとも次のような独立ブロックが必要です。 pr_files_completeness:
pr_count_checked: 12
page_count: 19
item_count: 743
pagination_complete: true
per_pr:
"1643":
changed_files: 201
item_count: 201
page_count: 3
sha256: "..."P1-2.
|
- P0-1: _paginate_pr_files() accumulated only the last GraphQL page (paths = [...]) instead of extending across pages, silently discarding earlier pages the moment a PR's nested files() connection required more than one page. Rewritten to always re-fetch the connection from scratch, extend across every page, reject duplicate paths, and verify the terminal page's item count against changedFiles. - P0-2: tests/codex/test_run_scope_rollup_preflight.py's fake gh dispatcher only understood the legacy `gh issue/pr list` transport and rejected the current `gh api graphql` calls with "unexpected gh args". Rewritten to dispatch GraphQL-shaped fakes matching the real inventory connection and PR-files connection queries; added a direct (non-mocked) regression for the 100+100+1 page P0-1 fix and a duplicate-path rejection test. - P0-3: parse_scope_rollup_run_result.py only enforced the v3 completeness contract when "query_schema_version" happened to still be present inside `inputs`, so a marker that stripped just that one key (or `inputs` entirely) was silently accepted as a legacy v2 marker even when it came from the current v3-speaking runner. Added an explicit, mandatory `marker_schema_version` discriminator (current runner always stamps 3) so completeness is enforced independent of what `inputs` does or does not contain, while explicit v2 and field-absent legacy markers keep their existing (Issue #1593 AC6) acceptance path. - P1-1: added a `pr_files_completeness` manifest block recording per-PR page/item counts and sha256 for nested files() pagination. - P1-3: removed the TypeError/budget compatibility fallback in _ensure_pr_files_complete (now always threads the budget through), and PR-files pages now count toward the transaction-wide budget's inventory_items. - CI: registered tests/codex/test_scope_rollup_graphql_pagination_v3.py in .github/ci/python-test-plan.json (it was uncovered by the python-test lane, tripping node-backed-hook-tests' G1 gate). P1-2 (labels/closingIssuesReferences first:100 truncation) and P1-4 (query narrowing) are not addressed in this delta; see PR body for rationale and follow-up recommendation.
squne121
left a comment
There was a problem hiding this comment.
判定
APPROVE — merge_ready: true
確認対象は current head 43c1ce1562433793260e51588605fe597a4193cd。
経緯
前回イテレーション(head 37a47692...)では、P0-1(_paginate_pr_files accumulator バグ)・P0-2(既存 regression の GraphQL fake transport 対応)・P0-3(marker parser の silent downgrade 修正)は解消済みと確認したが、.github/ci/python-test-plan.json の変更が Issue #1593 の Allowed Paths 外であり、かつ Issue #1593 自身の Scope Delta 節が当該作業を別 Issue(#1644)の責務としていたため allowed_paths_gate: fail_closed で REQUEST_CHANGES とした。
人間オーナーの判断により、Issue #1644 の内容(.github/ci/python-test-plan.json の exact-one registration、scripts/ci/tests/test_python_test_plan.py の回帰テスト、.claude/skills/pr-review-judge/scripts/tests/test_generate_ci_test_selection_fail_close.py の test_generate_artifact_scope_rollup_graphql_pagination_is_covered)を本 PR に統合する方針で解決した。
今回の確認結果
gh pr view --json filesで実差分10ファイルを確認し、Issue #1593 の Allowed Paths(7件)∪ Issue #1644 の Allowed Paths(3件)と完全一致(超過・欠落なし、リネームなし)。.github/ci/python-test-plan.jsonのtargetsに対象テストが正確に1回のみ登録されていることを確認。scripts/ci/tests/test_python_test_plan.pyに exact-one-registration の回帰テストが追加され PASS。.claude/skills/pr-review-judge/scripts/tests/test_generate_ci_test_selection_fail_close.pyにtest_generate_artifact_scope_rollup_graphql_pagination_is_coveredが追加され、Issue #1644 AC3 の assertion(pytest_argv.count==1、changed/collectedが対象のみ、uncovered空、rc==0)を固定して PASS。docs/dev/hook-boundaries.mdにtransaction-wide pagination budgetとmarker_schema_versiondiscriminator の記述を確認(AC7)。.claude/skills/impl-review-loop/scripts/parse_scope_rollup_run_result.pyでmarker_schema_version == 3の場合のみ completeness contract を必須化し、legacy v2(フィールド自体が存在しない marker)は従来通り受理する分岐を確認(Issue #1593 AC6 の互換要求と一致)。- CI 証跡(
ci_verdict_summary.py --expected-head-sha 43c1ce15...):status: all_pass。python-test/node-backed-hook-testsを含む全 required check が head 一致で SUCCESS。 - Mergeability:
mergeable: MERGEABLE、mergeStateStatus: CLEAN。 Schema Consumer Inventory/Safety Claim Matrixは PR本文に存在し、consumer 更新状況・compatibility decision と整合。
allowed_paths_review_gate.py の直接実行は local guard の誤検知でブロックされたため、gh pr view --json files による実ファイル一覧の手動照合で代替した。今回の許可根拠は、Issue #1593 単独ではなく Issue #1644(当該3ファイルを Allowed Paths として明示する別の有効な OPEN Issue contract)+ PR本文の明示的な人間オーナー決定記録(Refs #1644)の組み合わせによる。Issue #1644 自体は、PR #1643 が main へ merge された後に人間が readback して close 判断する運用のため、意図的に close していない。
LOOP_VERDICT_V2
LOOP_VERDICT_V2:
verdict: APPROVE
reviewed_head_sha: "43c1ce1562433793260e51588605fe597a4193cd"
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/agents/scope-rollup-runner.md"
- ".claude/skills/impl-review-loop/scripts/parse_scope_rollup_run_result.py"
- ".claude/skills/impl-review-loop/tests/test_parse_scope_rollup_run_result.py"
- ".claude/skills/pr-review-judge/scripts/tests/test_generate_ci_test_selection_fail_close.py"
- ".github/ci/python-test-plan.json"
- "docs/dev/hook-boundaries.md"
- "scripts/agent-guards/run_scope_rollup_preflight.py"
- "scripts/ci/tests/test_python_test_plan.py"
- "tests/codex/test_run_scope_rollup_preflight.py"
- "tests/codex/test_scope_rollup_graphql_pagination_v3.py"
violations: []
allowed_paths_source: "linked_issue_contract_union(#1593,#1644)"
allowed_paths_gate_source: review_subagent
Summary
この PR は scope-rollup の inventory 完全性契約を更新します。
docs/dev/hook-boundaries.mdの 12c 節を更新しました。.github/ci/python-test-plan.jsonへの test target 登録が Issue 実装: scope_rollup.run の GitHub inventory を完全 pagination で取得する #1593 の Allowed Paths 外と判定されたため、人間オーナーの判断により Issue 実装: scope-rollup GraphQL pagination テストを python-test plan へ登録する #1644(scope-rollup GraphQL pagination テストの python-test-plan 登録)の内容をこの PR に正式に統合しました。詳細は「Issue 実装: scope-rollup GraphQL pagination テストを python-test plan へ登録する #1644 統合内容」を参照してください。Acceptance Criteria 達成状況(AC1-AC8)
test_inventory_over_500_pages_to_total_count_without_truncationPASStest_partial_graphql_error_or_stalled_cursor_fails_before_plannerPASS、test_inventory_total_count_mismatch_after_terminal_page_fails_closedPASStest_global_budget_counts_inventory_and_nested_pr_file_pagesPASS。fix_delta で nested PR-files page のinventory_items計上漏れ(P1-3)も修正済みtest_manifest_fields_recordedPASS。fix_delta でpr_files_completeness(P1-1: per-PR page/item/sha256)を追加tests/codex/test_scope_rollup_graphql_pagination_v3.py4 tests + fix_delta で追加した 201 件・重複 path テスト.claude/skills/impl-review-loop/tests/test_parse_scope_rollup_run_result.py20 tests PASS(legacy v2 受理 2 種 + marker_schema_version discriminator 4 種を含む)docs/dev/hook-boundaries.md#12cが完全性契約と v2 互換境界を正確に記述するmarker_schema_versiondiscriminator の記述を追記済み(fix_delta)tests/codex/test_run_scope_rollup_preflight.pyの既存 regression が GraphQL transport で PASS するtests/codex/test_run_scope_rollup_preflight.py16 tests 全 PASS(旧gh issue/pr listfake dispatcher をgh api graphqlfake へ全面更新)fix_delta 対応状況(人間レビュー、PR #1643 issue comment)
P0(マージ条件)
_paginate_pr_files()の累積バグ): 対応済み。各ページをpaths = [...]で上書きしており、2 ページ目以降を取得すると 1 ページ目の内容が失われていました(changedFiles > 100の PR でlen(full_paths)が最終ページ分だけになりpr_files_pagination_incompleteで停止する実バグ)。トップレベル query のendCursorを保持していないため、既存 seed(1 ページ目)を再利用せず常にゼロから再取得する設計に変更し、extendで全ページを累積、重複 path を拒否、terminal page 後にlen(unique_paths) == changedFilesを検証するようにしました。201 件を 100+100+1 ページで取得する直接テスト(実装本体を fake に差し替えない)を追加しています。tests/codex/test_run_scope_rollup_preflight.pyの fake dispatcher をgh api graphqltransport に全面更新し、16 tests 全 PASS にしました。inputs.query_schema_versionの有無だけで legacy 判定していた既存ロジックを、明示的なmarker_schema_versiondiscriminator に置き換えました。現行 runner は常にmarker_schema_version: 3を stamp し、parser はこの値が 3 の場合inputsの内容に関わらず完全性契約を必須とします(inputs全体を削除した marker も reject)。marker_schema_versionフィールド自体が存在しない pre-実装: scope_rollup.run の GitHub inventory を完全 pagination で取得する #1593 の legacy v2 マーカーは引き続き受理されます(Issue 実装: scope_rollup.run の GitHub inventory を完全 pagination で取得する #1593 AC6 の要求と一致)。P1(可能な範囲で対応)
pr_files_completeness(pr_count_checked/page_count/item_count/pagination_complete/per_pr.<PR番号>.{changed_files, item_count, page_count, sha256})を追加しました。labels/closingIssuesReferencesの 100 件超 truncation): 未対応。plan_issue_scope_rollup.py(planner)を確認したところlabels/closingIssuesReferencesはどちらも一切参照されていません(未使用フィールド)。レビュー案の「安全境界が小さい方」(利用しないフィールドは query と completeness hash 対象から明示的に除外する)を正しく実装するには GraphQL query 自体からこれらのフィールドを削除し、_normalize_inventory_node()の必須フィールド検証・正規化 DTO 形状・plan_issue_scope_rollup.pyが読む issues.json/prs.json の入力 schema を横断的に変更する必要があり、影響範囲が本 fix_delta の時間内では独立検証しきれないと判断しました。follow-up Issue での対応を推奨します(未使用フィールドである根拠:plan_issue_scope_rollup.pyにlabels/closingIssuesReferencesの参照なし)。_paginate_pr_files()が取得した nested PR file ノード数をbudget.inventory_itemsに加算するようにし、_ensure_pr_files_complete()のTypeError捕捉による budget 省略 fallback(本番安全契約の迂回経路)を削除しました。Issue #1644 統合内容
人間オーナーの判断により、Issue #1644(scope-rollup GraphQL pagination テストの python-test-plan 登録)を別 PR に分けず、本 PR に統合実装しました。
.github/ci/python-test-plan.jsonのtargetsにtests/codex/test_scope_rollup_graphql_pagination_v3.pyが正確に1回登録されていることを確認しました(既存 fix_delta で追加済み。重複・欠落なし)。scripts/ci/tests/test_python_test_plan.pyにtest_real_plan_includes_scope_rollup_graphql_pagination_v3_exactly_onceを追加し、当該 path の exact-one registration を regression として固定しました。.claude/skills/pr-review-judge/scripts/tests/test_generate_ci_test_selection_fail_close.pyにtest_generate_artifact_scope_rollup_graphql_pagination_is_coveredを追加し、pytest_argv.count == 1、changed/collected が対象ファイルのみ、uncovered_changed_test_filesが空、artifact generation が exit 0 であることを固定しました。gh issuemutation を行っていません(Refs #1644として参照のみ)。検証:
CI 失敗の解消
python-test(Ruff E501 2 件): 解消済み。現行 head のrun_scope_rollup_preflight.pyに 120 文字超の行は存在しません(rg -n '.{121,}'で 0 件、既に前 commit で整形済みでした)。node-backed-hook-tests(tests/codex/test_scope_rollup_graphql_pagination_v3.pyが ci test-selection で uncovered): 解消済み。.github/ci/python-test-plan.jsonのtargetsに当該ファイルを追加し、Issue 実装: scope-rollup GraphQL pagination テストを python-test plan へ登録する #1644 の内容を統合してこの登録を regression test で固定しました。Checks
以下の Issue 契約 Verification Commands、および fix_delta で追加したテストを実行し、すべて成功しました。
uv run --locked pytest tests/codex/test_scope_rollup_graphql_pagination_v3.py -q— 4 件成功uv run --locked pytest tests/codex/test_run_scope_rollup_preflight.py -q— 16 件成功、旧 fake dispatcher の GraphQL 対応含むuv run --locked pytest .claude/skills/impl-review-loop/tests/test_parse_scope_rollup_run_result.py -q— 20 件成功、legacy v2 受理 + marker_schema_version discriminator を検証uv run --locked pytest .claude/skills/impl-review-loop/scripts/tests/ -q— 13 件成功uv run --locked pytest scripts/agent-guards/tests -q— 1015 件成功、1 件 skipuv run --locked pytest scripts/ci/tests/test_python_test_plan.py -q— 54 件成功(Issue 実装: scope-rollup GraphQL pagination テストを python-test plan へ登録する #1644 統合分含む)uv run --locked pytest .claude/skills/pr-review-judge/scripts/tests/test_generate_ci_test_selection_fail_close.py -q— 24 件成功(Issue 実装: scope-rollup GraphQL pagination テストを python-test plan へ登録する #1644 統合分含む)rg -n "transaction-wide pagination budget" docs/dev/hook-boundaries.md— 12c 節に記載済みであることを確認したrg -n '.{121,}' scripts/agent-guards/run_scope_rollup_preflight.py— 該当 0 件で E501 超過なしを確認したSchema Change Applicability
この変更は producer と consumer が共有する機械可読契約に適用します。
schema_changeSCOPE_ROLLUP_RUN_RESULT_V1の inventory manifest とISSUE_SCOPE_ROLLUP_RUN_RESULT_V1.inputsに、complete pagination と transaction budget の必須契約を追加するため。fix_delta でmarker_schema_versionフィールドとmanifest.pr_files_completenessを追加。Schema Consumer Inventory
consumer の更新対象と互換性判断を、以下の inventory に明示します。
変更対象 schema:
SCOPE_ROLLUP_RUN_RESULT_V1/ISSUE_SCOPE_ROLLUP_RUN_RESULT_V1before/after 差分:
Consumer 列挙(rg コマンド例と結果):
Consumer 更新状況:
scripts/agent-guards/run_scope_rollup_preflight.pypr_files_completeness(fix_delta P1-1)を producer として生成.claude/agents/scope-rollup-runner.mdmarker_schema_version: 3を追加.claude/skills/impl-review-loop/scripts/parse_scope_rollup_run_result.pymarker_schema_versiondiscriminator を追加Compatibility Decision(互換性判断)
fix_delta で修正: 当初「v2 marker は fail-close で拒否する breaking change」と記載していましたが、Issue #1593 AC6 は legacy v2 marker の受理維持を明示的に要求しており矛盾していました(人間レビュー P0-3 指摘)。実装・Issue の実態に合わせて以下の通り修正します。
additive_change(v3 completeness contract の追加。legacy v2 の受理は維持)backward_compatiblenoN/Amarker_schema_versionフィールド自体が存在しない pre-実装: scope_rollup.run の GitHub inventory を完全 pagination で取得する #1593 の legacy v2 marker は、Issue 実装: scope_rollup.run の GitHub inventory を完全 pagination で取得する #1593 AC6 の要求通り引き続き受理される。現行 runner(.claude/agents/scope-rollup-runner.md)が生成するmarker_schema_version: 3マーカーのみ、v3 completeness contract を必須とする(inputsの内容に関わらず、フィールド欠落・型不正・未完了状態は fail-close で reject)。これにより v3 producer 由来のマーカーがinputs.query_schema_versionの欠落だけを理由に legacy v2 と誤認されて受理される silent downgrade を防ぎつつ、真の legacy v2 marker の互換性は壊さない。AC6 成功証跡
legacy v2 marker 受理(AC6 相当)を検証する既存/新規テストの実行結果:
内訳(AC6 に直接関わるテスト):
test_ok_when_capture_sidecar_file_matches_assistant_output—marker_schema_versionフィールドなし・legacy 形のinputs(query_schema_versionなし)を持つマーカーがstatus: okで受理されることを検証(既存、fix_delta でも維持)。test_ok_when_marker_schema_version_2_explicit_legacy_without_completeness(fix_delta 追加)— 明示的なmarker_schema_version: 2マーカーが completeness contract なしで受理されることを検証。test_rejected_when_marker_schema_version_3_has_no_inputs_block(fix_delta 追加)—marker_schema_version: 3かつinputs欠落のマーカーが reject されることを検証(P0-3 の中核: silent downgrade 防止)。test_rejected_when_marker_schema_version_3_strips_only_query_schema_version(fix_delta 追加)—marker_schema_version: 3かつinputs.query_schema_versionだけを削除したマーカーが reject されることを検証(旧ロジックが誤って legacy 扱いしていた具体的な穴)。test_rejected_when_marker_schema_version_unsupported(fix_delta 追加)—marker_schema_versionが 2/3 以外の値のマーカーが reject されることを検証。test_ok_when_marker_schema_version_3_has_full_completeness_contract(fix_delta 追加)—marker_schema_version: 3かつ完全な completeness contract を持つマーカーが受理されることを検証(positive counterpart)。Safety Claim Matrix
安全性主張は各行の検証証跡と後続 Issue に限定します。
marker_schema_versionごと削除)までは防げないNotes
以下は実装スコープと証跡の注記です。
proceed_with_collision_evidence(sha256:a7ca02332c100d54f9c7b7debec693071eff9fd0eb10b67e85dbd84640d82006)sha256:08e731b281cc828d2ed7a23a7a3049f60e08b8453662cf36109c443c1e4aff55Allowed Paths 遵守
fix_delta で編集したファイルはすべて元 PR の Allowed Paths 内です(Issue #1644 統合分は Scope Delta 参照)。
scripts/agent-guards/run_scope_rollup_preflight.py.claude/agents/scope-rollup-runner.md.claude/skills/impl-review-loop/scripts/parse_scope_rollup_run_result.py.claude/skills/impl-review-loop/tests/test_parse_scope_rollup_run_result.pytests/codex/test_scope_rollup_graphql_pagination_v3.pytests/codex/test_run_scope_rollup_preflight.pydocs/dev/hook-boundaries.md.github/ci/python-test-plan.jsonscripts/ci/tests/test_python_test_plan.py.claude/skills/pr-review-judge/scripts/tests/test_generate_ci_test_selection_fail_close.pyScope Delta(fix_delta 追加分・Issue #1644 統合)
.github/ci/python-test-plan.jsonは元 PR の Allowed Paths に含まれていませんでしたが、node-backed-hook-testsCI failure(tests/codex/test_scope_rollup_graphql_pagination_v3.pyが python-test-plan に未登録で uncovered_changed_test_files gate が fail)を解消するために 1 行(targetsへの追加)のみ変更しました。allowed_paths_gate: fail_closed)と判定されました。.github/ci/python-test-plan.jsonの registration 確認、scripts/ci/tests/test_python_test_plan.pyの regression test 追加、.claude/skills/pr-review-judge/scripts/tests/test_generate_ci_test_selection_fail_close.pyの artifact regression test 追加)は Issue 実装: scope-rollup GraphQL pagination テストを python-test plan へ登録する #1644 の Allowed Paths と AC1-AC4 に厳密に対応しています。Closes #1644ではなくRefs #1644を使用)。gh issue/pr listfake dispatcher により GraphQL transport を拒否する場合は、当該 fixture を本 Issue の専用 compatibility regression として修正する。_paginate_pr_files()の累積バグ(P0-1)、既存 regression の GraphQL transport 未対応(P0-2)、marker parser の silent downgrade(P0-3)を修正。pr_files_completenessmanifest block(P1-1)、budget の nested files 計上(P1-3)を追加。P1-2(labels/closingIssuesReferences truncation)と P1-4(query 分割)は時間内に収まらず見送り、follow-up Issue を推奨。Scope Collision(範囲衝突の確認)
Scope Collision (C1): related_issue=#1633, #1629, #1604, #1603, #1601, #1595, #1588, #1432, #1390, #1176, #420, #351, #237, #225, #213, #205, #1644; overlapping_paths=
.claude/agents/scope-rollup-runner.md,.claude/skills/impl-review-loop/scripts/parse_scope_rollup_run_result.py,docs/dev/hook-boundaries.md,scripts/agent-guards/run_scope_rollup_preflight.py,tests/codex/test_scope_rollup_graphql_pagination_v3.py,tests/codex/test_run_scope_rollup_preflight.py,.github/ci/python-test-plan.json,scripts/ci/tests/test_python_test_plan.py,.claude/skills/pr-review-judge/scripts/tests/test_generate_ci_test_selection_fail_close.py. non_conflict_reason: #1601 は scope_rollup.run の runtime-exec sibling profile / command policy integration、#1633/#1629/#1604/#1603/#1595/#1429 は controlled mutation・snapshot・worktree・launcher policy、#1432/#237/#225/#213 は docs/hook の別契約、#1390/#1176/#420 は広い tests/scripts scope、#351 は human-interface finalizer であり、いずれも GraphQL partial error、cursor progression、transaction-wide pagination budget、complete manifest を marker/parser consumer が検証する契約を実装しない。#1644 は本 PR に人間オーナーの判断で統合実装したため、独立 PR としての衝突は発生しない。human_decision: #1593 はdocs/dev/hook-boundaries.mdの 12c 節だけを変更し、#1432/#1633 と並行実装してよい。#1644 は本 PR への統合実装を人間が承認した。edit_intent: specialized executor の inventory/PR-files complete pagination、manifest schema、scope-rollup-runner marker、parser validation、専用 pytest、既存 preflight fixture compatibility、12c の当該記述、および #1644 の python-test-plan registration + regression test だけを変更する。dependency_ordering: #1601 の profile integration と競合する current PR があれば profile / command-policy 変更を取り込まず、shared executor と runner docs の同一箇所を先行契約として re-read してから実装する。#1527 capture hook、#1579 registry、#1580 研究 scope は変更しない。Delivery Rule(提供規則)
Notes for Reviewer(レビュアー向け注記)
MAX_ITEMS_PER_KIND = 500、_fetch_list()の--limit N+1、_run_gh_graphql()のerrors未検査、_run_transaction()の per-PR-only pagination cap、scope-rollup-runner / parser の manifest 完全性未検証を read-only で確認した。