Skip to main content
← 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.

METHOD / EVIDENCE

The four-move guided loop

Every pass must finish with observable evidence and a fresh decision.

  1. 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
  2. 02 / CHANGE

    Make the smallest coherent edit

    Keep the diff narrow enough to review and revert without reconstructing a whole session.

    Evidence: focused diff
  3. 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
  4. 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.

ADAPTERS / NATIVE SURFACES

The loop is CLI-neutral

The steps stay constant; instructions and runtime controls remain native to each tool.

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

HANDOFF / SESSION-RELAY

Pause cleanly with session-relay

If context is saturated or another CLI is better suited to the next bounded step, create an inspected relay instead of forcing the current session onward.

.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

    Summarize verified facts, changed files, checks run, results, and remaining uncertainty.

  2. R-02 / INSPECT

    Remove speculation, secrets, irrelevant transcript, and unsupported success claims; record review explicitly only after doing it.

  3. R-03 / HAND OFF

    Stay with native resume for the same provider, or start a new native session when crossing providers.

  4. R-04 / RE-VERIFY

    The receiving CLI checks current files, Git state, and evidence before continuing.

DECISION / HUMAN-REVIEWABLE

Every pass ends here

An explicit stop is as valid as a successful acceptance.

ACCEPT

Done-when evidence is present and review found no blocking issue.

REVISE

The goal remains valid, but evidence exposes a bounded correction.

RELAY

A different CLI or fresh session has a clear advantage and receives an inspected handoff.

STOP

Authority, context, evidence, or user intent is insufficient.