Skip to content

実装: Codex V2 runtime capability probe と関連資産を削除する(#1860 owner decision準拠) #1866

Closed

Description

@squne121

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: workflow

Parent Issue

#1860

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

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

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

Delivery Rule

1 Issue = 1 PR を原則とする。worktree 上で作業し、Draft PR を既定とする。実装 PR は本 Issue を Closes #<this-issue-number> で close し、Refs #1860 と Supersedes #1861 を PR 本文に明記する。

Activity

  1. added
    phase/implementation
    agent/implementer
    enhancement
    on Jul 30, 2026
  2. squne121 commented on Jul 30, 2026

    @squne121
    OwnerAuthor

    implement-issue: 実装完了 (2026-07-30T14:07:56Z)

  3. squne121 commented on Jul 30, 2026

    @squne121
    OwnerAuthor

    impl-review-loop: 完了 (2026-07-30T14:30:00Z)

    IMPL_REVIEW_LOOP_RESULT_V1:
      schema_version: 1
      status: draft_pr_ready
      merge_ready: true
      draft_pr_ready: true
      github_merge_ready: false
      github_merge_state_status: DRAFT
      pr_url: "https://github.com/squne121/loop-protocol/pull/1868"
      head_sha: "8c46d7bd8cc0ff3549589e9787a43aab0df20548"
      issue_number: 1866
      termination_reason: approved
      iteration: 0
      required_auto_actions: []
      human_next_action: mark_ready_for_review_or_merge
    
    FOLLOW_UP_MATERIALIZATION_RESULT_V1:
      schema_version: 1
      materialized_by: impl-review-loop
      follow_up_issues: []
      note_only_observations: []
    
    ISSUE_SCOPE_ROLLUP_DECISION_V2:
      schema_version: 2
      recorded_at: "2026-07-30T14:30:00Z"
      rollup_plan_ref:
        body_sha256: null
        generated_at: null
      decision: skipped
      executed_actions: []
      skipped_reason: "本Issueは#1861のowner decisionにより直接起票されたcleanup child issueであり、事前scope-rollup preflightは新規起票フローで実施済み(issue-author実行時のoverlap preflightでC1判定・reviewer向け説明を本文Notesに記録済み)"
      candidates_reviewed: []
  4. squne121 commented on Jul 30, 2026

    @squne121
    OwnerAuthor

    impl-review-loop: 完了 (2026-07-31T00:00:00Z)

    owner の敵対的レビュー(REQUEST_CHANGES)を受け、Issue グラフ整合性の修正を含む iteration 1 を完了しました。

    iteration 1 で対応した敵対的レビュー指摘

    1. 実装: Codex V2 runtime capability probe のテスト厳密化とテストディレクトリ命名重複を解消する #1861/実装: Codex V2 runtime capability artifact に JSON Schema と CI 継続検証 gate を追加する #1862/実装: Codex Multi-Agent V2 spawn_agent の live runtime canary を実施し artifact を更新する #1863 の disposition 恒久確定 → 実装: Codex V2 runtime capability artifact に JSON Schema と CI 継続検証 gate を追加する #1862/実装: Codex Multi-Agent V2 spawn_agent の live runtime canary を実施し artifact を更新する #1863 を not planned で close(契約が削除済みファイルを要求し充足不可能なため)
    2. 実装: .codex/config.toml へ Multi-Agent V2 を有効化し max_depth 依存を撤去する #1835/実装: Codex subagent delegation graph policy と self-attested graph validator を追加する #1836/実装: Claude Code / Codex CLI の bounded read-only nested delegation canary を実行する #1842 の削除済み evidence 文書への依存除去 → 実装: .codex/config.toml へ Multi-Agent V2 を有効化し max_depth 依存を撤去する #1835/実装: Codex subagent delegation graph policy と self-attested graph validator を追加する #1836 は dangling reference 除去、実装: Claude Code / Codex CLI の bounded read-only nested delegation canary を実行する #1842 は記載先を .claude/skills/impl-review-loop/steps/step-1-implementation.md へ retarget
    3. PR本文 Schema Change Applicability を schema_change + Schema Consumer Inventory へ修正
    4. AC6 証跡を git grep / rg --hidden --no-ignore-vcs / gh search issues --state open で強化
    IMPL_REVIEW_LOOP_RESULT_V1:
      schema_version: 1
      status: draft_pr_ready
      merge_ready: true
      draft_pr_ready: true
      github_merge_ready: false
      github_merge_state_status: DRAFT
      pr_url: "https://github.com/squne121/loop-protocol/pull/1868"
      head_sha: "8c46d7bd8cc0ff3549589e9787a43aab0df20548"
      issue_number: 1866
      termination_reason: approved
      iteration: 1
      required_auto_actions: []
      human_next_action: mark_ready_for_review_or_merge
    
    FOLLOW_UP_MATERIALIZATION_RESULT_V1:
      schema_version: 1
      materialized_by: impl-review-loop
      follow_up_issues: []
      note_only_observations: []
    
    ISSUE_SCOPE_ROLLUP_DECISION_V2:
      schema_version: 2
      recorded_at: "2026-07-31T00:00:00Z"
      rollup_plan_ref:
        body_sha256: null
        generated_at: null
      decision: skipped
      executed_actions: []
      skipped_reason: "iteration 1はコード変更を伴わないIssueグラフ整合修正(#1862/#1863 close, #1835/#1836/#1842 body修正, #1860更新)とPR本文修正のみのため、追加のscope-rollup preflightは不要"
      candidates_reviewed: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/implementerenhancementphase/implementation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions