Skip to main content

Module plan_diff

Module plan_diff 

Source
Expand description

Plan Diff — compare two exported execution plans.

Reads two plan JSON files (produced by axon run --export-plan) and produces a structured diff showing what changed between them:

  • Added / removed / modified flows (units)
  • Added / removed / modified steps within matching flows
  • Changed prompts, step types, dependencies
  • Changed tool registry
  • Changed dependency graph (new parallel groups, unresolved refs)

Usage: axon diff plan_a.json plan_b.json axon diff plan_a.json plan_b.json –json

Exit codes: 0 — plans are identical 1 — plans differ 2 — I/O or parse error

Structs§

DepsDiff
Dependency graph diff.
DiffSummary
Aggregate change counts.
FieldChange
A single field-level change.
PlanDiff
Top-level diff between two plans.
StepDiff
Diff for a single step.
ToolsDiff
Tool registry diff.
UnitDiff
Diff for a single execution unit (flow).

Enums§

ChangeStatus
Change classification.

Functions§

diff_plans
Compare two plan JSON values and produce a structured diff.
run_diff
Run the diff command. Returns exit code.