← Back to Director Mode Lite GUIDED LOOP / NO FORCED CONTINUATION
AUTO-LOOP ROUTE / GUIDANCE-FIRST
A loop you can leave at every step.
This page keeps the familiar Auto-Loop route, but v2.1.0 uses a guidance-first cycle. There is no forced continuation contract: inspect, change, check, then explicitly decide whether another iteration is worthwhile.
Claude CodeCodex CLIGrok Build
BOUNDARY / NATIVE CONTROLS
No hook is the source of truth.
The loop runs through guidance, not lifecycle interception. Open permissions are selected explicitly at launch, never smuggled through a hook.
- Zero hooks in the default install.
- director-open is an explicit trusted-workspace choice.
- No dependency on exit-blocking or forced-continuation behavior.
- 01 / INSPECT
Choose one unmet outcome
Read the brief and repository state. Select one acceptance outcome that can be checked independently.
Evidence: cited current behavior - 02 / CHANGE
Make the smallest coherent edit
Keep the diff narrow enough to review and revert without reconstructing a whole session.
Evidence: focused diff - 03 / CHECK
Run the real validation
Execute the tests and project checks named in done-when; record failures as facts.
Evidence: commands, exit status, output - 04 / DECIDE
Accept, revise, relay, or stop
Do not infer continuation from an unchecked box. Make the next decision explicit.
Evidence: decision and residual risk
PORTABLE / BRIEF
State before iteration
Keep state as a review aid: what was observed, what changed, what ran, and what remains uncertain.
- 01 / GOAL
- One observable outcome, written as a change in behavior.
- 02 / CONTEXT
- Only the files, docs, errors, and decisions needed now.
- 03 / CONSTRAINTS
- Architecture, compatibility, safety, and scope boundaries.
- 04 / DONE WHEN
- Named checks and review evidence—not a feeling of completion.
- 05 / OPEN QUESTIONS
- Facts the next worker must confirm before acting.
EXAMPLE / PLAIN TEXT
Guidance for one iteration
The active CLI may suggest the next pass, but the instruction keeps the continuation decision explicit.
Use the Director Brief for one bounded iteration.
Inspect before editing.
Make the smallest coherent change.
Run the named project checks and report observed output.
Then recommend ACCEPT, REVISE, RELAY, or STOP. Do not continue implicitly.
| CLI | DURABLE GUIDANCE | SESSION USE | VERIFY WITH |
| Claude Code | CLAUDE.md and installed Claude assets | director-open claude or native launch | Project checks + diff |
|---|
| Codex CLI | AGENTS.md and installed Codex assets | director-open codex or native launch | Project checks + diff |
|---|
| Grok Build | .grok agents and compatible assets | director-open grok or 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
Summarize verified facts, changed files, checks run, results, and remaining uncertainty.
- R-02 / INSPECT
Remove speculation, secrets, irrelevant transcript, and unsupported success claims; record review explicitly only after doing it.
- R-03 / HAND OFF
Stay with native resume for the same provider, or start a new native session when crossing providers.
- R-04 / RE-VERIFY
The receiving CLI checks current files, Git state, and evidence before continuing.
ACCEPTDone-when evidence is present and review found no blocking issue.
REVISEThe goal remains valid, but evidence exposes a bounded correction.
RELAYA different CLI or fresh session has a clear advantage and receives an inspected handoff.
STOPAuthority, context, evidence, or user intent is insufficient.