daydream
Daydream CLI docs

Architecture

Review execution

Daydream captures the Git diff and commit identities before agents run. The default deep flow:

  1. Explore source and identify the author's intent.
  2. Review language stacks and repository structure independently.
  3. Validate results, arbitrate conflicts, and merge findings.
  4. Present or post findings for the selected mode.
  5. With authorization, verify findings, apply fixes, and verify retained changes.
  6. Run canonical tests, commit through hooks, push, and check remote continuous integration (CI).

Shallow mode combines language files into one assignment and retains separate structural review. See CLI reference for modes and Extensions for custom flows.

Completion evidence

Analysis stateMeaning
completeEvery required assignment and phase has completion or host no-op evidence.
incompleteValid evidence exists, but required coverage remains unfinished.
failedAnalysis has no usable result or the findings projection is invalid.

A zero exit status or empty findings list does not prove complete analysis. Daydream preserves partial findings with their validated coverage. Incomplete coverage cannot authorize approval or stale-thread resolution. Coverage binds to the captured head, merge base, diff, and assignment. Cache reuse requires matching coverage proofs. See Artifacts for saved evidence and Troubleshooting for recovery.

Grounded diagrams

The host validates model-proposed source citations before rendering Mermaid diagrams. Flowchart arrows express interpreted sequencing, not a proven control-flow graph. Diagram failure preserves ordinary review findings but fails standalone diagram generation. See CLI reference for controls and the diagram settings for eligibility thresholds.

Back to Daydream