Skip to content

実装: docs/dev/agent-runtime-ops.md の standalone 実行時ワークアラウンド記述を permission profile 方式と整合させる #1499

Open

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "Codex standalone package の実行時 ENOENT 回避策として、docs/dev/agent-runtime-ops.md の /usr/local/bin/codex コピー方式ワークアラウンドと、Issue #1486 / PR #1495 の permission profile 方式(.codex/config.toml の read 許可)の関係を明文化する"
change_kind: docs

Parent Issue

なし(単独改善)

Parent Goal Ref

  • Goal: Codex standalone self-binary 再実行時の ENOENT を、運用ドキュメント上でも矛盾なく解決できる状態にする
  • Desired Destination: docs/dev/agent-runtime-ops.md が permission profile 方式と /usr/local/bin/codex コピー方式の使い分け・優先順位・移行条件を明記している状態

Current Validated Scope

  • docs/dev/agent-runtime-ops.md の該当セクション(/usr/local/bin/codex ワークアラウンド記述部)を更新する

Remaining Parent Gaps

なし

Outcome

docs/dev/agent-runtime-ops.md が更新され、Issue #1486 / PR #1495 の permission profile 方式(.codex/config.toml の ~/.codex/packages/standalone/releases read 許可)と既存の /usr/local/bin/codex コピー方式ワークアラウンドの関係(どちらを標準経路とするか、移行手順、既存コピーを削除してよい条件、legacy sandbox_mode との競合有無)が本文中に明記されている状態。

In Scope

  • docs/dev/agent-runtime-ops.md の /usr/local/bin/codex ワークアラウンド記述(71-117行目付近)に、permission profile 方式(Issue 実装: Codex standalone package の read-only 参照を許可する #1486 / PR 実装: Codex standalone package の read-only 参照を許可する #1495)との関係を追記する
  • 少なくとも以下を明記する:
    • permission profile 方式を標準経路とし、/usr/local/bin/codex コピー方式は permission profile が利用できない環境向けの補完的フォールバックとして位置づける
    • /usr/local/bin/codex の既存コピーは、対象環境で permission profile 経由の実行(codex sandbox -P <profile> -C <dir> -- <resolved-binary-path>)が成功することを確認した後にのみ削除してよい
    • legacy sandbox_mode 設定が残っている場合は default_permissions より優先されるため、permission profile 方式へ移行する前に legacy 設定の有無を確認する

Out of Scope

Acceptance Criteria

  • AC1: docs/dev/agent-runtime-ops.md に permission profile 方式(Issue 実装: Codex standalone package の read-only 参照を許可する #1486)への言及が追加されている
  • AC2: docs/dev/agent-runtime-ops.md に /usr/local/bin/codex コピーを削除してよい条件が明記されている
  • AC3: docs/dev/agent-runtime-ops.md に legacy sandbox_mode との競合確認手順が明記されている

Verification Commands

# AC1
$ rg -n "Issue 1486" docs/dev/agent-runtime-ops.md
# AC2
$ rg -n "削除してよい" docs/dev/agent-runtime-ops.md
# AC3
$ rg -n "sandbox_mode" docs/dev/agent-runtime-ops.md

Allowed Paths

  • docs/dev/agent-runtime-ops.md

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
  • 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
  • 後続 Phase / 別スコープへの波及が判明した場合
  • nested SubAgent delegation が必要になった場合
  • 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合

Required Skills

なし

Required Design References

  • docs/dev/agent-runtime-ops.md

Scope Delta(任意)

N/A

Activity

  1. added
    enhancement
    phase/implementation
    triage-required
    agent/implementer
    on Jul 13, 2026
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/implementationtriage-required

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions