メインコンテンツへスキップ
← Director Mode Lite に戻る

GUIDED LOOP / NO FORCED CONTINUATION

AUTO-LOOP ROUTE / GUIDANCE-FIRST

すべての step で離脱できる loop。

従来の Auto-Loop route は維持しますが、v2.1.0 は guidance-first cycle。forced continuation contract はなく、inspect、change、check の後、次 iteration の価値を明示判断します。

Claude CodeCodex CLIGrok Build

BOUNDARY / NATIVE CONTROLS

Hook は source of truth ではない。

Loop は lifecycle interception ではなく guidance で動きます。open permissions は hook ではなく launch 時に明示選択します。

  • Default install は zero hooks。
  • director-open は trusted workspace の explicit choice。
  • Exit-blocking / forced-continuation behavior に依存しない。

METHOD / EVIDENCE

Four-move guided loop

各 pass は observable evidence と fresh decision で終了。

  1. 01 / INSPECT

    一つの unmet outcome を選ぶ

    brief と repository state を読み、独立確認できる acceptance outcome を選択。

    Evidence: cited current behavior
  2. 02 / CHANGE

    最小 coherent edit

    session 全体を再構築せず review / revert できる narrow diff。

    Evidence: focused diff
  3. 03 / CHECK

    Real validation を実行

    done-when の tests と project checks を実行し、failures を facts として記録。

    Evidence: commands, exit status, output
  4. 04 / DECIDE

    Accept、revise、relay、stop

    unchecked box から continuation を推論せず、次の判断を明示。

    Evidence: decision and residual risk

PORTABLE / BRIEF

Iteration 前の state

state は review aid:observed、changed、checks、remaining uncertainty を記録。

01 / GOAL
behavior change として書く一つの observable outcome。
02 / CONTEXT
今必要な files、docs、errors、decisions だけ。
03 / CONSTRAINTS
Architecture、compatibility、safety、scope boundaries。
04 / DONE WHEN
completion feeling ではなく named checks と review evidence。
05 / OPEN QUESTIONS
次の worker が行動前に確認する facts。

EXAMPLE / PLAIN TEXT

One-iteration guidance

active CLI は次 pass を提案できますが、continuation decision は明示します。

Director Brief で一つの bounded iteration を実行。
editing 前に inspect。
smallest coherent change を行う。
named project checks を実行し observed output を報告。
最後に ACCEPT、REVISE、RELAY、STOP を推奨。implicit continuation はしない。

ADAPTERS / NATIVE SURFACES

Loop is CLI-neutral

steps は一定。instructions と runtime controls は各 tool native のまま。

CLIDURABLE GUIDANCESESSION USEVERIFY WITH
Claude CodeCLAUDE.md and installed Claude assetsdirector-open claude または native launchProject checks + diff
Codex CLIAGENTS.md and installed Codex assetsdirector-open codex または native launchProject checks + diff
Grok Build.grok agents and compatible assetsdirector-open grok または native launchProject checks + diff

HANDOFF / SESSION-RELAY

session-relay で clean pause

context saturation または別 CLI が次 bounded step に適する場合、current session を強制せず unreviewed-by-default relay を作成し、明示的に inspect。

.director-mode/bin/director-doctor --json --no-probe
.director-mode/bin/director-relay create \
  --from claude --to codex \
  --goal "Finish one bounded outcome" \
  --summary "Verified state only" \
  --next "First concrete next step" \
  --verification "Command and observed result"
# Later hop: repeat create with --parent
.director-mode/bin/director-relay validate
.director-mode/bin/director-relay status --json
.director-mode/bin/director-relay continue --to codex
  1. R-01 / PREPARE

    verified facts、changed files、checks、results、remaining uncertainty を要約。

  2. R-02 / INSPECT

    speculation、secrets、irrelevant transcript、unsupported claims を削除し、review 後だけ明示記録。

  3. R-03 / HAND OFF

    Same provider は native resume、cross-provider は new native session。

  4. R-04 / RE-VERIFY

    receiving CLI は current files、Git state、evidence を再確認。

DECISION / HUMAN-REVIEWABLE

Every pass ends here

explicit stop は successful acceptance と同様に valid。

ACCEPT

done-when evidence が揃い review に blocking issue がない。

REVISE

goal は有効で evidence が bounded correction を示す。

RELAY

別 CLI / fresh session に明確な利点があり、inspected handoff を渡す。

STOP

authority、context、evidence、user intent が不足。