spec-editor diff
Show a ChangeSet: what changed, in exactly one scope.
spec-editor diff -p . --run run_abc123
spec-editor diff -p . --change <id> --json
spec-editor diff -p . --element <id>
spec-editor diff -p . --since 2026-09-01T00:00:00.000Z --agent coding
spec-editor diff -p . --run run_abc123 --code-only
Usage
spec-editor diff [OPTIONS]
Options
| Option | Type | Default | Description |
|---|---|---|---|
--path, -p |
path | . |
Path to project (or SPEC_EDITOR_PROJECT) |
--run |
text | Scope: one run’s touched elements | |
--change |
text | Scope: a change (IMP) — itself + its runs’ elements + linked elements | |
--element |
text | Scope: one element’s full history | |
--since |
text | Scope: a time window since this ISO-8601 ts | |
--until |
text | Window upper bound (with –since) | |
--agent |
text | Filter to one agent’s versions | |
--code, --no-code |
flag | on |
Include code deltas, git-backed (default: on) |
--elements-only |
flag | Human view: show only element deltas (shortcut for –no-code) | |
--code-only |
flag | Human view: show only code deltas | |
--json |
flag | Output as JSON |