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

WORKFLOW / THREE CLIs

GUIDANCE-FIRST WORKFLOW

一つの brief。一つの bounded task。どの CLI でも。

director-mode と session-relay の two core Skills は plugin-only でも bundled fallback を保持。same provider は native resume、cross-provider は default unreviewed packet から new receiver-native session。

Claude CodeCodex CLIGrok Build

BOUNDARY / NATIVE CONTROLS

Default は guidance、authority は native。

Director Mode Lite は hidden approval layer、deny rule、forced workflow、implicit permission change を追加しません。director-open は trusted workspace の separate choice。

  • Default install: zero Director Mode hooks。
  • Plugin-only: two core Skills retain guide、relay、doctor fallbacks。
  • Runtime assets / hooks が不明なら read-only director-doctor。
  • Packet claims は user を止める gate ではなく verification evidence。

METHOD / EVIDENCE

Five-stage evidence path

task を進める最小 stage を使い、継続前に evidence を可視化。

  1. 01 / FRAME

    Director Brief を書く

    goal、relevant context、constraints、done-when evidence、未解決事項を記述。

    Artifact: reviewable task brief
  2. 02 / INSPECT

    Active CLI を ground

    次の判断に必要な files と documentation だけを検査。

    Artifact: cited files and current behavior
  3. 03 / CHANGE

    Bounded change を行う

    一つの acceptance outcome を満たす最小で一貫した変更。

    Artifact: focused diff
  4. 04 / CHECK

    Native checks を実行

    generic success label ではなく tests、lint、type checks、build、review requirements を使用。

    Artifact: commands and observed output
  5. 05 / DECIDE

    Accept、revise、relay、stop

    evidence と done-when を比較し、次の bounded step が正当な場合だけ続行。

    Artifact: explicit decision and remaining risk

PORTABLE / BRIEF

Portable Director Brief

完全 transcript を運ばず CLI handoff できるよう、brief は意図的に小さくします。

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

CLI-neutral starting prompt

supported CLI で貼付・調整。implementation 前に repository paths と real commands を追加。

Goal: 観測可能な挙動を一つ追加。
Context: 関係する files、docs、failing evidence を列挙。
Constraints: public APIs と native CLI safety controls を維持。
Done when: 必要な tests、lint、build、diff evidence を指定。
Open questions: 不確実性を隠さず記録。

ADAPTERS / NATIVE SURFACES

Method を翻訳し、authority は移さない

durable guidance は native project surface、task details は active prompt に置きます。

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

Handoff が役立つ時だけ relay

session-relay は director-handoff/v2 を作成、v1 を read、--parent で multi-hop lineage を記録し、status --json で live worktree と比較。Packet default は review_status: unreviewed。validate / status は review ではありません。

.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

Clean stopping rule

Stop は通常の outcome で、automation failure ではありません。

ACCEPT

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

REVISE

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

RELAY

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

STOP

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