Repository navigation
Closed
Labels
agent/implementerAI implementer agentenhancementNew feature or requestphase/implementationImplementation phase
Description
Machine-Readable Contract
contract_schema_version: v1
issue_kind: implementation
parent_issue: "#1860"
goal_ref: "#1860 owner decision(remove_probe_and_tests)に従い、Codex V2 runtime capability probeの未使用Phase 0診断資産一式を削除し残存参照をなくす"
change_kind: workflowParent Issue
Parent Goal Ref
- Goal: AIエージェント運用のcontrol-plane(Skill/hook/workflow doc群)をminimal harnessへ縮退し、過剰なblocking authorityを廃止する。
- Desired Destination: Authority Matrixに列挙したblocking authorityが、child issueの実装を通じてhard gate/advisory/deleteのいずれかへ整理されている。
Current Validated Scope
scripts/agent-guards/probe_codex_v2_runtime_capability.pyを削除するtests/agent-guards/test_probe_codex_v2_runtime_capability.pyを削除するartifacts/codex-multi-agent-v2/runtime-capability.jsonを削除するdocs/dev/codex-multi-agent-v2-runtime-evidence.mdを削除する.github/ci/python-test-plan.jsonから"tests/agent-guards/"target のみを削除する("tests/agent_guards/"target は変更しない)
Remaining Parent Gaps
- 導入: AIエージェント運用をminimal harnessへ縮退し、過剰なcontrol-planeを廃止する #1860 本文に列挙された他の未起票 child(Multi-Agent V2・ledger・manifest・external observability authority廃止の残り部分)は本 Issue の対象外であり、別途起票される。
- 実装: Codex V2 runtime capability artifact に JSON Schema と CI 継続検証 gate を追加する #1862(JSON Schema/CI freshness gate 追加)と 実装: Codex Multi-Agent V2 spawn_agent の live runtime canary を実施し artifact を更新する #1863(live runtime canary 実施)の close/再分類判断は本 Issue のスコープ外であり、別途 owner または follow-up 作業で処理する。
Outcome
#1860 の owner decision(remove_probe_and_tests, #1860 (comment) )に従い、Codex V2 runtime capability probe の Phase 0 診断資産一式(probe 本体・専用テスト・専用 artifact・専用 evidence 文書・Python test plan の旧 target)が削除され、リポジトリ全体にこれらへの残存参照がない状態になる。
In Scope
scripts/agent-guards/probe_codex_v2_runtime_capability.pyの削除tests/agent-guards/test_probe_codex_v2_runtime_capability.pyの削除artifacts/codex-multi-agent-v2/runtime-capability.jsonの削除docs/dev/codex-multi-agent-v2-runtime-evidence.mdの削除.github/ci/python-test-plan.jsonから"tests/agent-guards/"target の削除(既存の"tests/agent_guards/"target は維持)- 削除後のリポジトリ全体参照チェック(Verification Commands 参照)
Out of Scope
- 実装: .codex/config.toml へ Multi-Agent V2 を有効化し max_depth 依存を撤去する #1835〜実装: Claude Code / Codex CLI の bounded read-only nested delegation canary を実行する #1842(Multi-Agent V2 導入本体)の実装
- 実装: Codex V2 runtime capability artifact に JSON Schema と CI 継続検証 gate を追加する #1862(JSON Schema/CI freshness gate 追加)の実装(新規schema/gate追加は owner decisionと競合するため対象外。close/再分類は本Issueで判断せず報告のみ)
- 実装: Codex Multi-Agent V2 spawn_agent の live runtime canary を実施し artifact を更新する #1863(live runtime canary 実施)の実装(同上、報告のみ)
- probe を別名・別形態で再実装すること
.codex/config.toml/.codex/hooks.jsonの変更tests/agent_guards/(アンダースコア、既存の別ディレクトリ)配下の既存テストの変更
Acceptance Criteria
- AC1:
scripts/agent-guards/probe_codex_v2_runtime_capability.pyが削除されている。 - AC2:
tests/agent-guards/test_probe_codex_v2_runtime_capability.pyが削除されている。 - AC3:
artifacts/codex-multi-agent-v2/runtime-capability.jsonが削除されている。 - AC4:
docs/dev/codex-multi-agent-v2-runtime-evidence.mdが削除されている。 - AC5:
.github/ci/python-test-plan.jsonから"tests/agent-guards/"target が削除され、既存の"tests/agent_guards/"target は変更されずに維持されている。 - AC6: リポジトリ全体で
probe_codex_v2_runtime_capability/CODEX_MULTI_AGENT_V2_RUNTIME_CAPABILITY_V1/runtime-capability.json/v2_config_schema_loadableへの残存参照がない(削除対象自身のgit履歴・削除PR本文中の言及を除く)。
Verification Commands
# AC1
$ test ! -e scripts/agent-guards/probe_codex_v2_runtime_capability.py# AC2
$ test ! -e tests/agent-guards/test_probe_codex_v2_runtime_capability.py# AC3
$ test ! -e artifacts/codex-multi-agent-v2/runtime-capability.json# AC4
$ test ! -e docs/dev/codex-multi-agent-v2-runtime-evidence.md# AC5
$ rg -nF '"tests/agent-guards/"' .github/ci/python-test-plan.json# AC5
$ rg -nF '"tests/agent_guards/"' .github/ci/python-test-plan.json# AC5
$ uv run python3 scripts/ci/python_test_plan.py --emit scope-argv --check-paths --format json# AC5
$ uv run python3 -m pytest tests/agent_guards/ -q# AC6
$ rg -n -e 'probe_codex_v2_runtime_capability' -e 'CODEX_MULTI_AGENT_V2_RUNTIME_CAPABILITY_V1' -e 'runtime-capability\.json' -e 'v2_config_schema_loadable' --glob '!*.lock' .Allowed Paths
- scripts/agent-guards/probe_codex_v2_runtime_capability.py(削除)
- tests/agent-guards/test_probe_codex_v2_runtime_capability.py(削除)
- artifacts/codex-multi-agent-v2/runtime-capability.json(削除)
- docs/dev/codex-multi-agent-v2-runtime-evidence.md(削除)
- .github/ci/python-test-plan.json(
"tests/agent-guards/"target 行のみ編集。新規ファイル作成は禁止)
Stop Conditions
- Allowed Paths 外の変更が必要と判明した場合
- In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
- 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
- 後続 Phase / 別スコープへの波及が判明した場合
- nested SubAgent delegation が必要になった場合
- 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合
- 削除対象資産に、本 Issue が想定していない実行時 consumer(probe本体・専用test・専用artifact・専用evidence文書以外の参照)が見つかった場合は即停止し、人間へ報告する。
Required Skills
なし
Required Design References
- docs/dev/agent-skill-boundaries.md
Scope Delta(任意)
N/A
Notes for Reviewer
- Precondition/Evidence: 2026-07-30 時点でリポジトリ全体を
rg検索した結果、削除対象資産への参照は probe 本体・専用テスト・専用 artifact・専用 evidence 文書の内部参照のみであり、他の実行時 consumer・CI gate・production code は確認できていない(導入: AIエージェント運用をminimal harnessへ縮退し、過剰なcontrol-planeを廃止する #1860 owner decision コメント 導入: AIエージェント運用をminimal harnessへ縮退し、過剰なcontrol-planeを廃止する #1860 (comment) に記載された確認結果と一致)。 - 本 Issue は 実装: Codex V2 runtime capability probe のテスト厳密化とテストディレクトリ命名重複を解消する #1861(実装: Codex V2 runtime capability probe のテスト厳密化とテストディレクトリ命名重複を解消する)を supersede する。実装: Codex V2 runtime capability probe のテスト厳密化とテストディレクトリ命名重複を解消する #1861 は owner decision により実装不要となり、別途 not planned で close される予定。
- overlap preflight(
check_issue_overlap.py)は C1(allowed_paths_overlap)を検出した。関連度が高いもの: 実装: Codex V2 runtime capability probe のテスト厳密化とテストディレクトリ命名重複を解消する #1861(superseded、close予定)、実装: Codex V2 runtime capability artifact に JSON Schema と CI 継続検証 gate を追加する #1862・実装: Codex Multi-Agent V2 spawn_agent の live runtime canary を実施し artifact を更新する #1863(Out of Scope に明記、close/再分類判断は本Issueで行わずowner報告のみ)。その他の matched issue(実装: Codex permission profile の root default を :workspace に設定し skills/list 回帰を修正する #1859, 実装: protected TEST_VERDICT producerを複数のallowlisted Issue VCへ拡張する #1848, 実装: Claude Code / Codex CLI の bounded read-only nested delegation canary を実行する #1842, 実装: controlled direct fallback executors #1775, 実装: 全test inventoryとcross-job証跡をfail-close化する #1762, 実装: python-test-planをstrict schema化し期限付きquarantine契約を導入する #1761, 実装: pr-reviewer/pr-review-judge の重複を削減し preload を追加する #1744, 実装: visual diff AI/VLM triage を非ブロッキング助言として分離する #1390, 導入: M4 Upgrade Loop 実装 parent tracker #1176, 実装: playtest-log の JSON Schema / validator の追加 #420, 改善: implement-issue SKILL に Allowed Paths 外 consistency 更新の明示ルールと Schema Consumer Inventory iteration 更新ガイドラインを追加 #239, 改善: VC 設計ガイドラインに否定パターン誤マッチ防止チェックを追加 #237, 実装: rate limit / API error 由来の停止を StopFailure hook でログ保存し resume playbook を整備する #225, 改善: executable bit audit CI guard の適用範囲を .claude/skills 外のスクリプトへ拡張する #213, 実装: .claude/skills 配下スクリプトの executable bit を監査し CI guard を追加する #205 等)は.github/ci/python-test-plan.jsonやdocs/dev/tests/scripts/agent-guardsのような広いディレクトリ単位の一致による false positive であり、本 Issue の narrow な削除対象パスとは非衝突。
Delivery Rule
1 Issue = 1 PR を原則とする。worktree 上で作業し、Draft PR を既定とする。実装 PR は本 Issue を Closes #<this-issue-number> で close し、Refs #1860 と Supersedes #1861 を PR 本文に明記する。
Metadata
Metadata
Assignees
Labels
agent/implementerAI implementer agentenhancementNew feature or requestphase/implementationImplementation phase
Activity
squne121 commentedon Jul 30, 2026
implement-issue: 実装完了 (2026-07-30T14:07:56Z)
.claude/worktrees/issue-1866-remove-codex-v2-runtime-probeworktree-issue-1866-remove-codex-v2-runtime-probesqune121 commentedon Jul 30, 2026
impl-review-loop: 完了 (2026-07-30T14:30:00Z)
squne121 commentedon Jul 30, 2026
impl-review-loop: 完了 (2026-07-31T00:00:00Z)
owner の敵対的レビュー(REQUEST_CHANGES)を受け、Issue グラフ整合性の修正を含む iteration 1 を完了しました。
iteration 1 で対応した敵対的レビュー指摘
not plannedで close(契約が削除済みファイルを要求し充足不可能なため).claude/skills/impl-review-loop/steps/step-1-implementation.mdへ retargetSchema Change Applicabilityをschema_change+ Schema Consumer Inventory へ修正git grep/rg --hidden --no-ignore-vcs/gh search issues --state openで強化chore: remove Codex V2 runtime capability probe and related assets (#…
merge: origin/worktree-issue-1859-codex-permission-workspace-default …