Repository navigation
feat: bind AGY permission-boundary live E2E to capability gate (#1979) - #1990
Conversation
preflight_agy.py の capability predicate を bootstrap_prerequisite / claim_under_test に分類し (AC1)、live runner (run_agy_permission_boundary_e2e.py) をその bootstrap predicate (pre_invocation_injected_tool_call) に束縛して upstream #728 が open の 間は live 実行を試みず deterministic SKIP exit 77 を返すようにした (AC2)。MCP を unsupported_by_design として completion blocker から除外 し (AC5)、artifact schema に binary identity・capability_gate・mcp・ pairing (allow/deny 束縛)・process group cleanup evidence を追加した (AC6, AC7)。process invocation を Popen + start_new_session に切り替え、 directory cleanup とは別に process group descendant absence を検証・ 記録する。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Preview URLPreview removed (PR #1990 closed). |
PR Review Verdict (iteration 0)PR / Issue確認
Blockers
Warnings
verdict: REQUEST_CHANGES
reviewed_head_sha: "4732c1a28aaaa35146a1c893d4295d5cf9cc8ac8"
blockers:
- "PR本文に必須セクション `## 受け入れ条件の達成状況`(AC1-AC7 [x]/[ ] + 根拠)が存在しない"
- "PR本文に必須セクション `## 検証コマンド結果` が存在しない"
- "PR本文に必須セクション `## Allowed Paths 遵守` が存在しない"
- "Issue #1979 Runtime Verification Applicability decision: immediate に対し、PR本文に必須の `## Runtime Verification Evidence` セクションが存在しない"
warnings:
- "AGY permission-boundary 変更であり Clean-Room Review 対象領域に該当しうるが、直近同種PRでも正式実施記録なし。単独reviewerで実施した。"
- ".claude/tmp/agy-live-e2e/{allow,deny}/ artifact は本worktreeに存在せず、内容は test-runner の独立実行報告に依拠している。" |
敵対的レビュー結果判定: PR本文の不足を指摘した既存 iteration 0 レビューについては、必須セクションの追加で形式上は対応されています。ただし、実装をIs([GitHub]1)も6件のマージブロッカー**があります。([Google Antigravity]2)## Blocker 1: exit 77をAC達成・Issueクローズに使っている Issue #1979 の完了条件は、allow・deny・aggregate validatorのすべてが exit 0 で、cleanupも完了することです。さらに、exit 77をclose・ready-for-review・mergeの証拠にすることは明示的に禁止されています。 ところがPR本文は、
としながら、AC3・AC4の実績はどちらも実AGY未起動の exit 77 です。これは「非completionとして扱う」という本文中の説明とも自己矛盾しています。 上流 #728 は現在もopenです。最新リリースは
Blocker 2: capability gateが本番経路では永久に
|
) Real code/schema/test changes responding to the adversarial human review (#1990 (comment)), superseding the prior "PR body only" iteration 1. - blocker_6 (schema breaking change): keep agy_permission_boundary_e2e/v1's schema id, make capability_gate/mcp/pairing/binary_identity/ tool_inventory_digest/the two new cleanup fields optional (not required) so pre-#1979 shaped artifacts still validate. Producer still always emits them. - blocker_5 (process cleanup): _invoke() now actively terminates a lingering process group on the normal-exit path too (not only on timeout), via a new _terminate_process_group() (SIGTERM -> bounded poll -> SIGKILL). Real cleanup-failure evidence is preserved through _failure_artifact(prior_result=...) instead of being reset to a generic True/True default. - blocker_3 (network canary tool semantics): switched the network capability attempt from search_web (a query-based search tool, not a URL fetcher) to read_url_content, the documented AGY tool that actually fetches URL content. - blocker_4 (pairing circularity / tool inventory mislabeling): relabeled tool_inventory_digest's docstring to state it is ATTEMPT_SPECS-derived, not runtime-discovered. Added a non-self-referential aggregate/manifest.json (build_aggregate_manifest/validate_aggregate_manifest), computed only after both allow/deny artifacts are finalized, as the canonical allow/deny binding and completion-invariant check. - blocker_2 (capability-gate circularity): _bootstrap_capability_gate() now feeds build_capability_matrix() a version_result sourced from an actual agy --version probe (_probe_agy_version_result()) instead of a hardcoded version_evidence_invalid placeholder. The remaining circular dependency (neither side can independently reach "supported" once upstream #728 resolves) is documented in code and in schema-governance.md as a known, unresolved follow-up rather than fabricated shut. - major_7 (MCP unsupported_by_design justification): replaced the import-absence-only test with a genuine behavior test that drives the enforcement hook's decide() with synthetic mcp_* tool calls under every profile and asserts explicit deny. Updated MCP_UNSUPPORTED_BY_DESIGN_REASON to cite the real mechanism (NATIVE_TO_RESOURCE has no mcp entry, AGY_DIRECT_MCP_ACCESS=False, no profile allows "mcp"). - blocker_1 confirmed separately via PR body update (see PR description). 25 new/updated tests across test_agy_paired_artifact_schema.py, test_agy_process_cleanup_evidence.py, test_agy_live_runner_capability_binding.py, test_agy_mcp_unsupported_by_design.py, test_agy_permission_boundary_runner.py. 1335 skill-wide pytest pass, 1835 pnpm test pass, typecheck/lint/build clean. AC1/AC2/AC5/AC6/AC7 VC pass; AC3/AC4 legitimately SKIP exit 77 (upstream google-antigravity/antigravity-cli#728 still open) with real capability_gate/ pairing/aggregate evidence from production code paths. Co-Authored-By: Claude Sonnet 5 <[email protected]>
|
fix_delta iteration 2 を push した(head |
PR Review Verdict (iteration 2)squne121 の敵対的レビュー(コメント)で指摘された全 Blocker/Major に対する fix_delta を独立検証しました。 独立検証結果
partially_fixed 項目の判断blocker_2(capability gate 循環依存)・blocker_3(network canary 公式arg検証)・blocker_4(true runtime tool discovery)は、upstream google-antigravity/antigravity-cli#728 解消まで解決不能な事項として正直に文書化されており、虚偽・誤表示は残っていない。人間レビュー自身の結語(「上流未解決なのでlive検証を保留するdraft実装までは妥当」)およびIssueのOut of Scope(公式tool引数schema探索は別Issue)とも整合するため、blockingとしない。 Clean-room dual-review(SKILL.md 4.7)は、live AGY証跡・completion主張が現時点でなされていないため未トリガー。upstream解消後の再検証パスで適用される。 verdict: APPROVE
reviewed_head_sha: "18aa6dee0346aa12dcd6c8f7097e9e9b6b8a821b"
blockers: []
warnings:
- "blocker_2 (capability-gate circular dependency to 'supported') remains unresolved by design pending upstream google-antigravity/antigravity-cli#728; honestly documented, not fabricated."
- "blocker_3: write_to_file official 'Description' arg and exact official read_url_content arg key name remain independently unverifiable without live AGY access; documented as open item."
- "blocker_4: tool_inventory_digest is ATTEMPT_SPECS-derived (static), not true AGY runtime tool discovery; correctly relabeled, true runtime discovery remains out of scope."
- "Issue #1979 intentionally stays open and PR stays Draft pending upstream #728 resolution and a future live exit-0 re-verification pass; consistent with the Issue's Delivery Rule."
- "Clean-room dual-reviewer requirement (SKILL.md 4.7) not triggered for this iteration since no live AGY evidence/completion claim is being made yet." |
PR Review Verdict (iteration 2, stale-head re-review after update_branch)前回 head 独立検証結果
verdict: APPROVE
reviewed_head_sha: "893c697daeeae7f9fbbf9eb74f9d3cfc5a3ba0cb"
blockers: []
warnings:
- "e2e (Playwright VRT) check は non-required context であり、本PRのAllowed Paths外の既存VRT差分に起因(PR #1988由来)。blocking扱いしない。" |
Summary
Issue #1979 の実装(このセクションは
Closesを意図的に含まない — 下記「Related Issues」参照)。preflight_agy.pyの capability predicate をbootstrap_prerequisite/claim_under_testに分類し(AC1)、live runner (run_agy_permission_boundary_e2e.py) をその bootstrap predicate(pre_invocation_injected_tool_call)に束縛した。upstream 実装: deploy-pages.yml の actionlint(SC1083) 失敗を HEAD^{commit} クォート化で解消する #728 が open の間は live 実行を試みず deterministic SKIP exit 77 を返す(AC2)。unsupported_by_designとして completion blocker から除外した(AC5)。根拠を import 不在という単一事実から、実際の deny 機構(NATIVE_TO_RESOURCEにmcp_*エントリなし・AGY_DIRECT_MCP_ACCESS=False・どの profile も"mcp"を allow しない)へ拡張した(fix_delta iteration 2 / major_7)。agy_permission_boundary_e2e_v1.schema.json) にbinary_identity・capability_gate・mcp・pairing・cleanup.process_group_isolated/cleanup.descendant_processes_absentを追加した(AC6, AC7)。_invokeをPopen(start_new_session=True)に切り替え、process group 単位の descendant absence 検証を追加した(AC7)。iteration 2(本 push、head
18aa6dee): squne121 による敵対的レビュー(コメント)の指摘 8 件(P0 2 件確認済み含む)に対する実コード・スキーマ・テスト修正。詳細は下記「fix_delta iteration 2 対応状況」参照。fix_delta iteration 2 対応状況
blocker_1_confirmedCloses #1979を除去した。PR は Draft のまま。upstream #728 解消・AC3/AC4 の実 live exit 0 取得まで Issue #1979 を open のまま維持する。blocker_6_confirmedv1のまま維持し、capability_gate/mcp/pairing(top-level)・runner.binary_identity・matrix.tool_inventory_digest・cleanupの 2 新 field をrequiredから除外(optional 化)。旧 v1 形状(#1814 時点)のアーティファクトも schema 有効なまま(test_pre_1979_v1_shaped_artifact_without_new_fields_remains_schema_valid)。producer は退行せず常に全 field を生成(test_producer_still_always_emits_the_additive_fields)。docs/dev/schema-governance.mdに Compatibility Decision を追記。blocker_2_bootstrap_capability_gate()が合成のversion_evidence_invalidプレースホルダではなく、実際に discover したagyバイナリへのagy --versionprobe(新規_probe_agy_version_result())を使うよう修正(test_bootstrap_gate_uses_real_probed_version_result_not_a_synthetic_stub等で検証)。circular dependency(upstream #728 解消後、predicate はinconclusiveに落ちるだけでsupportedへは現状どちらの側からも到達できない)は_bootstrap_capability_gate()のコード comment とdocs/dev/schema-governance.mdに明記した。real bounded observation の実装自体は upstream #728 解消前には検証不能な probe を捏造することになるため、本 fix_delta のスコープには含めていない(test_bootstrap_predicate_transitions_via_production_code_once_upstream_flag_clearsでunsupported -> inconclusiveの production-code 経由の遷移のみ証明)。blocker_3search_web(検索ツール、任意 URL への GET を発生させない)からread_url_content(URL 取得ツールとして documented)へ変更した(ATTEMPT_SPECS・_prepare_runtime・hermetic test harness を同期)。injected args のキー名Urlは他 3 ツールの PascalCase 慣例に倣ったものであり、read_url_content自体の正式な引数キー名はこのリポジトリ内に一次資料がなく独立確認できていない(upstream #728 解消後の real runtime acceptance probe が必要な残課題として明記)。write_to_fileに "Description" 引数が必要かどうかも同様にこのリポジトリ内で確認できず、未検証のまま追加することは避けた。blocker_4tool_inventory_digestのドキュメントを「runtime-discovered」ではなく「ATTEMPT_SPECS固定辞書由来」と正確に修正。(2)(3) 非自己参照のaggregate/manifest.json(agy_permission_boundary_aggregate/v1)を新設し、build_aggregate_manifest()/validate_aggregate_manifest()で両アーティファクト確定後にのみ digest re-hash・binary identity 一致・tool inventory 一致・exit_code == EXIT_PASS時のcapability_gate.status == "supported"双方向要求を検証する aggregate validator を実装した。main()は allow/deny 両方存在時に best-effort でこの manifest を書き出す(live 実行で実際に allow/deny 揃えて確認済み、下記 Runtime Verification Evidence 参照)。旧来の自己参照pairingfield は same-run cross-reference のヒントとして残すが、canonical 判定ではないと明記した。blocker_5_invoke()に_terminate_process_group()(SIGTERM → bounded poll → SIGKILL)を追加し、正常終了経路でも lingering descendant を能動的に終了させるよう修正(従来は timeout 経路のみ能動終了)。leader 正常終了・descendant 残存のケースを再現する fixture/test(test_invoke_terminates_lingering_descendant_after_leader_exits_normally)を追加。schema validation 失敗・artifact 書き込み失敗時の failure artifact 差し替えでも、実際に観測された cleanup 証跡を_failure_artifact(..., prior_result=result)経由で引き継ぎ、True/Trueの汎用デフォルトへ上書きしないよう修正(test_failure_artifact_preserves_real_cleanup_failure_evidence)。major_6_confirmedblocker_6_confirmedと同一対応。docs/dev/schema-governance.mdに反映済み。major_7MCP_UNSUPPORTED_BY_DESIGN_REASONを実際の deny 機構(NATIVE_TO_RESOURCEにmcp_*エントリなし・AGY_DIRECT_MCP_ACCESS=False・どの profile も"mcp"を allow しない)を明記するよう更新。import 文の不在チェックのみだった既存テストに加え、全 profile 下で合成mcp_*tool call をagy_permission_enforcement_hook.decide()へ投入し明示的な deny verdict を確認する behavior test(test_unknown_mcp_tool_call_is_denied_under_every_profile_by_real_hook_logic)を追加した。ci_e2e_contextChecks
以下の検証コマンドをすべて実行し、結果を記録した(AC1〜AC7 の VC を含む)。
test_agy_capability_classification.py)は全件成功した。test_agy_live_runner_capability_binding.py)は全件成功した(新規 3 テストを含む)。--profile grounded_research --artifact-dir .../allow --allow-live)は exit 77 で終了した。これは capability gate 起因の deterministic SKIP であり、upstream 実装: deploy-pages.yml の actionlint(SC1083) 失敗を HEAD^{commit} クォート化で解消する #728 が未解決の間の正しい非completion経路である。--profile no_tools --artifact-dir .../deny --allow-live)も同様に exit 77 で終了した。allow/deny 双方を実行後、aggregate/manifest.jsonが生成されvalidate_aggregate_manifest()で(True, "valid")を確認した。test_agy_mcp_unsupported_by_design.py)は全件成功した(新規 behavior test 2 件を含む)。test_agy_paired_artifact_schema.py)は全件成功した(新規 v1 互換性テスト・aggregate manifest テスト 6 件を含む)。test_agy_process_cleanup_evidence.py)は全件成功した(新規 2 テストを含む)。ci_e2e_context): head CI のe2ejob はtests/e2e/visual-overlay.spec.tsのvrt-running-hud-overlayスクリーンショット不一致(900×507 期待 vs 1230×693 実測、差分比 0.47)で fail している。この失敗は本 PR の変更に起因しない: origin/main 直近 3 コミット(e8da0bb6、f66900c7、1a4db3ef)すべての CI run(例: run 30857943169)で 同一テスト・同一ピクセルサイズ・同一差分比 の failure が既に発生している。本 PR head18aa6deeの変更は.claude/skills/gemini-cli-headless-delegation/**とdocs/dev/schema-governance.mdのみでtests/e2e/**を一切触れておらず(Allowed Paths 外のため不可)、pre-existing な main の VRT baseline 不整合であり、本 PR とは無関係・merge-specific でもないと分類する。修正自体は Issue 実装: AGY permission boundaryのdeterministic live E2Eをupstream capabilityへ束縛する #1979 の Allowed Paths 外のため行わない。受け入れ条件の達成状況
Issue #1979 に列挙された Verification Commands を head
18aa6deeで個別に実行し、全 7 AC の結果を確認した。AC3/AC4 は upstream #728 が未解決の間、契約通り SKIP exit 77 であり[x]にはしない。preflight_agy.pyの capability predicate がbootstrap_prerequisiteとclaim_under_testに明示的に分類され、claim_under_testは live run 前にsupportedを要求しないことを検証。--allow-live指定時、capability gate の bootstrap predicate がunsupportedなら live 実行を試みずEXIT_UNAVAILABLE(77) を返すことを、hermetic fake 経由で確認。合わせて_probe_agy_version_result()が合成プレースホルダではなく実 probe を使うことも検証(fix_delta blocker_2)。grounded_researchprofile)がallow/artifact ディレクトリに、actual discovered tool による side effect exactly once と successful PostToolUse を記録する。 upstream 実装: deploy-pages.yml の actionlint(SC1083) 失敗を HEAD^{commit} クォート化で解消する #728 が open のため SKIP exit 77(非completion、[x] にしない)。no_toolsprofile)がdeny/artifact ディレクトリに、explicit PreToolUse deny・externally observed side effect zero・logger failure なしを記録する。 AC3 と同一の理由で SKIP exit 77(非completion、[x] にしない)。aggregate/manifest.jsonを生成しvalidate_aggregate_manifest()で(True, "valid")を確認(fix_delta blocker_4)。unsupported_by_designとしてcompletion_blocker: falseで扱われることを検証。根拠を実際の deny 機構まで明記し(fix_delta major_7)、behavior test で裏付けた。additionalProperties: falseを維持したまま追加し、producer・validator・consumer(tests) が同期していることを検証。fix_delta blocker_6 の v1 互換性維持(optional field 化)と aggregate manifest(blocker_4)も含む。検証コマンド結果(head
18aa6dee)Allowed Paths 遵守状況
Issue #1979 の Allowed Paths(14 パス)に対し、本 PR の変更ファイルはすべて包含される(
git diff --stat origin/main...HEAD、head18aa6deeで確認済み)。tests/e2e/**は一切変更していない(Allowed Paths 外のため、CI 分類の記述に留めた)。.claude/skills/gemini-cli-headless-delegation/scripts/preflight_agy.py.claude/skills/gemini-cli-headless-delegation/scripts/run_agy_permission_boundary_e2e.py.claude/skills/gemini-cli-headless-delegation/schemas/agy_permission_boundary_e2e_v1.schema.json.claude/skills/gemini-cli-headless-delegation/tests/test_agy_live_runner_capability_binding.py.claude/skills/gemini-cli-headless-delegation/tests/test_agy_mcp_unsupported_by_design.py.claude/skills/gemini-cli-headless-delegation/tests/test_agy_paired_artifact_schema.py.claude/skills/gemini-cli-headless-delegation/tests/test_agy_process_cleanup_evidence.py.claude/skills/gemini-cli-headless-delegation/tests/test_agy_permission_boundary_runner.pydocs/dev/schema-governance.md.claude/skills/gemini-cli-headless-delegation/scripts/agy_permission_enforcement_hook.py、.claude/skills/gemini-cli-headless-delegation/tests/test_agy_capability_gate.py、.claude/skills/gemini-cli-headless-delegation/tests/test_agy_capability_classification.py、references/agy-headless-tool-use-investigation.md、references/failure-class-taxonomy.mdは本 iteration でも変更していない(動作の変更が不要だったため)。Allowed Paths 外への変更は 0 件。Runtime Verification Evidence(動作検証証跡)
Issue #1979 の
## Runtime Verification Applicability(decision: immediate、applicable_acs: [AC3, AC4])に対応する証跡(head18aa6dee)。pre_invocation_injected_tool_callは upstreamgoogle-antigravity/antigravity-cli#728(2026-08-04 時点で open)の間unsupported(reason_code: upstream_known_runtime_rejection)に固定される。grounded_researchprofile)実行結果: exit 77、capability_gate.status == "unsupported"、実 AGY プロセスは起動されていない(_invoke未呼び出しをtest_live_allow_live_never_invokes_agy_when_bootstrap_predicate_unsupportedが保証)。no_toolsprofile)実行結果: exit 77、capability_gate.status == "unsupported"、pairing.bound == true(allow 側の digest を確認済みに束縛)。aggregate/manifest.json(schema:agy_permission_boundary_aggregate/v1)が生成され、validate_aggregate_manifest()を独立に実行して(True, "valid")を確認した。両側のcapability_gate_statusはいずれも"unsupported"(exit_code == EXIT_PASSを主張していないため completion invariant は発火しない、期待通り)。completion(allow_case_exit_0 and deny_case_exit_0 and aggregate_validator_exit_0 and cleanup_complete、capability gate がsupportedを報告した場合のみ)は upstream 実装: deploy-pages.yml の actionlint(SC1083) 失敗を HEAD^{commit} クォート化で解消する #728 が open の間は成立しない。本 PR は Issue 実装: AGY permission boundaryのdeterministic live E2Eをupstream capabilityへ束縛する #1979 をクローズしない(blocker_1_confirmed 対応)。upstream 実装: deploy-pages.yml の actionlint(SC1083) 失敗を HEAD^{commit} クォート化で解消する #728 解消後、allow/deny 双方の live exit 0 を再取得し、その時点で改めて Issue のクローズを判断する。Schema Change Applicability
agy_permission_boundary_e2e/v1を非破壊的に拡張(スキーマ id はv1のまま維持。fix_delta blocker_6 対応としてcapability_gate/mcp/pairing/binary_identity/tool_inventory_digest/2 新 cleanup field をrequiredから除外し、旧 v1 形状のアーティファクトも有効なままとした。docs/dev/schema-governance.mdの Compatibility Decision 参照)。Schema Consumer Inventory
before(iteration 1 head
4732c1a2時点)capability_gate/mcp/pairing(top-level)・runner.binary_identity・matrix.tool_inventory_digest・cleanup.process_group_isolated/cleanup.descendant_processes_absentはすべてrequired(旧 v1 形状のアーティファクトは schema invalid になる breaking change だった)。pairingは自己参照のみで aggregate 検証がなかった。tool_inventory_digestのドキュメントは「runtime-discovered」と誤記していた。after(iteration 2 head
18aa6dee)上記 6 field を
requiredから除外(optional 化、producer は退行なく常に生成)。新規agy_permission_boundary_aggregate/v1(aggregate/manifest.json、build_aggregate_manifest()/validate_aggregate_manifest())を非自己参照の canonical allow/deny 束縛判定として追加。tool_inventory_digestのドキュメントを ATTEMPT_SPECS 由来と正確化。.claude/skills/gemini-cli-headless-delegation/scripts/preflight_agy.py_probe_agy_version_result()用の real version probe を消費、MCP_UNSUPPORTED_BY_DESIGN_REASON更新.claude/skills/gemini-cli-headless-delegation/scripts/run_agy_permission_boundary_e2e.py_terminate_process_group()・build_aggregate_manifest()/validate_aggregate_manifest()・_probe_agy_version_result()を追加.claude/skills/gemini-cli-headless-delegation/tests/test_agy_permission_boundary_runner.pyread_url_content/Urlに追従.claude/skills/gemini-cli-headless-delegation/tests/test_agy_live_runner_capability_binding.py.claude/skills/gemini-cli-headless-delegation/tests/test_agy_mcp_unsupported_by_design.py.claude/skills/gemini-cli-headless-delegation/tests/test_agy_paired_artifact_schema.py.claude/skills/gemini-cli-headless-delegation/tests/test_agy_process_cleanup_evidence.pydocs/dev/schema-governance.mdSafety Claim Matrix
supportedでない限り実 AGY を起動しないtest_agy_live_runner_capability_binding.py::test_live_allow_live_never_invokes_agy_when_bootstrap_predicate_unsupportedunsupported_by_designとして completion blocker から除外され、実際の deny 機構(NATIVE_TO_RESOURCE 不在・AGY_DIRECT_MCP_ACCESS=False)で裏付けられるtest_agy_mcp_unsupported_by_design.py::test_unknown_mcp_tool_call_is_denied_under_every_profile_by_real_hook_logic(全 profile)test_agy_process_cleanup_evidence.py::test_invoke_terminates_lingering_descendant_after_leader_exits_normallytool_inventory_digest)は本 Issue のスコープ外test_agy_paired_artifact_schema.py::test_build_and_validate_aggregate_manifest_round_trips+ 本 PR の live 実行での実 manifest 生成確認capability_gatecircular dependency の実装的解消(upstream #728 解消後)Notes
18aa6dee): squne121 の敵対的レビュー(コメント)に基づく実コード修正。対応状況は上記「fix_delta iteration 2 対応状況」表を参照。blocker_2・blocker_3・blocker_4はpartially_fixed(upstream 実装: deploy-pages.yml の actionlint(SC1083) 失敗を HEAD^{commit} クォート化で解消する #728 解消前には検証不能な要素、またはこのリポジトリ内に一次資料のない要素が残るため)とし、捏造ではなく既知の残課題として明記した。4732c1a2は不変)。.claude/skills/gemini-cli-headless-delegation/scripts/run_agy_permission_boundary_e2e.pyの_invokeはPopen(start_new_session=True)を維持しつつ、正常終了経路でも_terminate_process_group()を呼ぶよう拡張した。ci-test-performanceskill の対象範囲には該当しない。broad-path advisory の false-positive として記録する。Related Issues(関連する Issue の一覧)
capability_gatecircular dependency 未解決の根本原因でもある)最後に改めて明記する: 本 PR は Issue #1979 を自動クローズしない(
Closesを使わない)。Co-Authored-By: Claude Sonnet 5 [email protected]