GPT WORLD / INDEPENDENT CODEX FIELD MANUAL 出典レビュー · 2026-07-31

フィールドガイド / 12 分

Codex Cloud task を local apply 前に review する

Remote run は candidate diff を作るだけで、local checkout が acceptance boundary です。

トラック
Codex CLI コア
レベル
Cloud operations
成熟度
Experimental Cloud surface; commands runtime-confirmed

Experimental cloud command は environment へ task を送り、state を一覧・確認し、指定 attempt の unified diff を表示し、local working tree へ apply できます。Apply は merge でも correctness 証明でもありません。Exact task/attempt、local status、tests を確認します。

CLI

検証済みターミナル手順

TERMINAL / 意図を持ってコピー
  1. $codex cloud exec --env ENV_ID "Run the migration checks"
  2. $codex cloud status TASK_ID
  3. $codex cloud diff TASK_ID
  4. $codex cloud apply TASK_ID
A

作業原則

01

Environment は authority

Repo access/setup/credentials を選ぶので exact ID と boundary を確認。

02

Attempt identity

Best-of-N の複数候補で inspect/apply の番号を揃えます。

03

Apply は transport

Git patch を運ぶだけで correctness/local drift/approval は解決しません。

B

フィールド手順

  1. 01

    Bounded task を submit

    Environment、branch、goal、allowed changes、checks を指定。

  2. 02

    Exact state を追跡

    Task ID を記録し、遅くても重複 submit せず poll。

  3. 03

    Candidate を inspect

    指定 attempt の diff と scope/conventions を比較。

  4. 04

    Checkout を準備

    Branch/working tree を確認し unrelated edits を保護。

  5. 05

    Apply/verify local

    git diff、affected tests、review 後に commit。

PASS / FAIL

受入チェック

  • Environment/branch/task/attempt 記録。
  • Polling は duplicate job を作らない。
  • Apply 前に diff review。
  • Unrelated changes 保護。
  • Apply 後 tests/diff 確認。

WATCH / REJECT

失敗パターン

  • 先頭 attempt を無条件 apply。
  • Remote tests が local drift も覆うと仮定。
  • Local verification 前に完了宣言。