oe diff
List pending evolution proposals.
Synopsis
oe diff [options]Description
oe diff scans the .openexpertise/evolution/ directory for Markdown files produced by oe evolve. For each file found, it logs the filename and prints a preview of the first 20 lines to stdout, followed by a --- separator.
Files are listed in alphabetical order (which corresponds to run-id order when UUIDs are used). The command is read-only and does not modify any files.
If the evolution directory does not exist or is empty, oe diff exits 0 with an informational message rather than an error.
Arguments
None.
Options
| Flag | Description | Default |
|---|---|---|
--experience <path> | Path to the experience directory (or experience.yaml). | . |
--log-format <fmt> | Log format: json | pretty | pretty |
--log-level <level> | Log verbosity: info | debug | warn | error | info |
-h, --help | Display help and exit | — |
Exit codes
| Code | Meaning |
|---|---|
0 | Directory scanned (including the case where no proposals exist) |
Examples
List proposals for the experience in the current directory:
bash
oe diff{"level":"info","count":2,"msg":"pending evolution proposals"}
{"level":"info","file":"4f3a1b2c-….md","msg":"proposal"}
# Evolution proposals — run 4f3a1b2c-…
## Proposal 1: increase concurrency
…
---
{"level":"info","file":"9a8b7c6d-….md","msg":"proposal"}
# Evolution proposals — run 9a8b7c6d-…
…
---List proposals for a specific experience:
bash
oe diff --experience examples/review-branchNo proposals yet:
bash
oe diff{"level":"info","evoDir":"/…/.openexpertise/evolution","msg":"no evolution proposals yet — run `oe evolve <run-id>` first"}Open a specific proposal file directly:
bash
cat .openexpertise/evolution/4f3a1b2c-0d9e-4f7a-8b6c-1e2d3f4a5b6c.mdNotes / gotchas
oe diffshows only the first 20 lines of each proposal as a preview. Open the.mdfiles directly for the full content.- Proposals are never applied automatically. After reviewing, edit
experience.yamlmanually to incorporate any changes you agree with. - Running
oe evolveagain for the same run-id overwrites that proposal file — previous proposals for that run-id are lost. - There is no
oe diff --applyor patch command. Applying proposals is a deliberate, human-in-the-loop step.
See also
oe evolve— generate proposals from a runoe inspect— examine the underlying run events- Applying proposals
- Author → run → evolve loop
- Evolution loop