← 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 に依存しない。
- 01 / INSPECT
一つの unmet outcome を選ぶ
brief と repository state を読み、独立確認できる acceptance outcome を選択。
Evidence: cited current behavior - 02 / CHANGE
最小 coherent edit
session 全体を再構築せず review / revert できる narrow diff。
Evidence: focused diff - 03 / CHECK
Real validation を実行
done-when の tests と project checks を実行し、failures を facts として記録。
Evidence: commands, exit status, output - 04 / DECIDE
Accept、revise、relay、stop
unchecked box から continuation を推論せず、次の判断を明示。
Evidence: decision and residual risk
- 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 はしない。
| CLI | DURABLE GUIDANCE | SESSION USE | VERIFY WITH |
| Claude Code | CLAUDE.md and installed Claude assets | director-open claude または native launch | Project checks + diff |
|---|
| Codex CLI | AGENTS.md and installed Codex assets | director-open codex または native launch | Project checks + diff |
|---|
| Grok Build | .grok agents and compatible assets | director-open grok または native launch | Project checks + diff |
.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
- R-01 / PREPARE
verified facts、changed files、checks、results、remaining uncertainty を要約。
- R-02 / INSPECT
speculation、secrets、irrelevant transcript、unsupported claims を削除し、review 後だけ明示記録。
- R-03 / HAND OFF
Same provider は native resume、cross-provider は new native session。
- R-04 / RE-VERIFY
receiving CLI は current files、Git state、evidence を再確認。
ACCEPTdone-when evidence が揃い review に blocking issue がない。
REVISEgoal は有効で evidence が bounded correction を示す。
RELAY別 CLI / fresh session に明確な利点があり、inspected handoff を渡す。
STOPauthority、context、evidence、user intent が不足。