Repository navigation
Open
Labels
agent/researchHandled by research agentphase/researchResearch phase issuestate/queuedQueued for implementation
Description
Machine-Readable Contract
contract_schema_version: v1
issue_kind: research
parent_issue: "none"
goal_ref: "network_proxy enforcementの実効性が実測されないまま、.codex/agents/web-researcher.toml のNETWORK_ENFORCEMENT_BOUNDARY記述がinconclusiveのままである状態を解消する"
change_kind: research-onlyParent Issue
なし(単独調査)
Outcome
Codex CLI の features.network_proxy.enabled 実効状態と、permissions.<profile>.network.domains allowlistが実際にHTTPリクエストをblock/allowする機能として作用するかを positive/negative control で実測し、.codex/agents/web-researcher.toml の NETWORK_ENFORCEMENT_BOUNDARY 記述を実測結果に基づき更新するかどうかを判断できる状態にする。判断の結果は本 Issue 上の記録、または実測に基づき更新が必要な場合は後続 implementation Issue の起票として成果物化する。
In Scope
codex --versionによるこのリポジトリで使用している pinned Codex CLI バージョンの実測- このリポジトリの
.codex/config.toml(および到達可能な user-level / parent-level config)におけるfeatures.network_proxy.enabledの実効値確認 features.network_proxy.enabled = trueに設定した検証環境(本番.codex/config.tomlを汚染しない隔離環境)での positive control(allowlist内ドメイン → 200到達)・negative control(allowlist外ドメイン → 403blocked-by-allowlist等のblock応答)の両方の実証web__run(モデル内蔵の閲覧ツール)経由の到達とexec_command(生のcurl等subprocess経由)の到達が、network proxy enforcementに対して異なる経路を辿るかどうかの切り分け検証- 関連 upstream issue
openai/codex#16242(managed proxy とcodex exec/interactive modeのdomain filtering不整合)の現状再確認(2026-03-30時点OPENから更新があるか) - 検証結果に基づき、
.codex/agents/web-researcher.tomlのNETWORK_ENFORCEMENT_BOUNDARY記述の更新要否を判断し、更新が必要な場合は後続 implementation Issue を起票して本 Issue からリンクする
Out of Scope
.codex/agents/web-researcher.toml/.codex/config.tomlへの実際のコード変更(本 Issue はread-onlyの調査。変更が必要と判明した場合は後続 implementation Issue に切り出す)- network proxy 機能自体の新規実装や Codex CLI へのcontribution
openai/codex#16242upstream issue へのpatch提案(現状確認のみ)
Acceptance Criteria
- AC1: 使用中の Codex CLI pinned バージョンが
codex --versionの実行結果として本 Issue に記録されている - AC2: このリポジトリの
.codex/config.toml(および到達可能な上位scope config)におけるfeatures.network_proxy.enabledの実効値(true/false/未設定)が本 Issue に記録されている - AC3:
features.network_proxy.enabled = trueの隔離検証環境で、positive control(allowlist内ドメインへの到達が200である)・negative control(allowlist外ドメインへの到達がblockされる、またはblockされないことが確認される)の両方の実測結果が本 Issue に記録されている - AC4:
web__run経由とexec_command経由の到達結果が個別に記録され、両者が同一のenforcement挙動を示すかどうかの結論が本 Issue に記載されている - AC5:
openai/codex#16242の現状(OPEN/CLOSED、直近更新日時)が本 Issue に記録されている - AC6:
NETWORK_ENFORCEMENT_BOUNDARY記述の更新要否についての結論(更新不要/後続 Issue で更新)が本 Issue に記載されており、更新が必要と判断した場合は起票された後続 implementation Issue が本 Issue からlinkされている
Verification Commands
未設定の場合は grep が exit 1 を返し、それ自体が「未設定=既定 false」の記録材料になる(AC2)。AC3/AC4/AC6 は本 Issue コメント・本文への記録有無を read-back で確認する。
# AC1
$ codex --version# AC2
$ grep -n "network_proxy" .codex/config.toml# AC3
$ gh issue view "$THIS_ISSUE_NUMBER" --json comments# AC4
$ gh issue view "$THIS_ISSUE_NUMBER" --json comments# AC5
$ gh issue view 16242 --repo openai/codex --json state,updatedAt# AC6
$ gh issue view "$THIS_ISSUE_NUMBER" --json bodyAllowed Paths
- 読み取り専用。リポジトリ変更なし(既定)
Stop Conditions
- Outcome / Scope / AC が検索可能な形で記載されていない場合は即停止
- Allowed Paths 外への書き込みを試みた場合は即停止
- 権限不足(permission denied)により操作が完了できない場合は即停止
- 成果物の書き込みに失敗した場合(I/O エラー等)は即停止
Handoff Contract
Current ObjectiveBounded Current ContextOpen QuestionsNext ActionArtifact Refs
Source
- post-merge-cleanup follow-up candidate(PR fix(codex): web-researcher の domain allowlist・network boundary 記述を是正する #1937 マージ後)
- dedupe_key: follow-up:squne121/loop-protocol:pr/1937:network-proxy-enforcement-verification
- 起点: fix(codex): web-researcher の domain allowlist・network boundary 記述を是正する #1937 (comment) (OWNERレビューコメント P1-1)
- 関連: Issue 実装: web-researcher の fallback出力契約・domain allowlistを是正する #1924(実装: web-researcher の fallback出力契約・domain allowlistを是正する、CLOSED)
Notes for Reviewer
- 本調査は隔離検証環境(本番
.codex/config.tomlを書き換えない worktree / temp config)での実測を前提とする。features.network_proxy.enabled = trueを本番 config に恒久設定すること自体は本 Issue の Outcome ではない - AC3/AC4 の実測ログはIssueコメントへの貼り付けで足り、リポジトリへのartifact commitを要求しない(Allowed Pathsはread-only)
Metadata
Metadata
Assignees
Labels
agent/researchHandled by research agentphase/researchResearch phase issuestate/queuedQueued for implementation
Activity