Compare Two Execution Runs with osop diff
OSOP GuideFeed two .osoplog files to osop diff. See per-step duration, cost, and status changes. Know instantly what improved and what broke.
4 nodes · 3 edgesosop self
osopthe-loopdiffcomparemeta
Visual
Collect Two .osoplog Fileshuman
Pick two execution records to compare. Example: monday.osoplog.yaml vs tuesday.osoplog.yaml. Same workflow, different runs.
↓sequential→ osop diff
osop diffcli
Compare the two logs. Output: per-node duration delta, cost delta, status change, nodes added/removed.
↓sequential→ AI Analyzes Diff
AI Analyzes Diffagent
AI reads the diff output. Identifies: which steps got faster, which got more expensive, which changed status. Suggests optimizations.
↓sequential→ Decide Next Action
Decide Next Actionhuman
Based on the diff: accept the improvement, investigate regressions, or trigger osop synthesize for AI-driven optimization.
ex-osop-diff-two-runs.osop.yaml
osop_version: "1.0"
id: "osop-diff-two-runs"
name: "Compare Two Execution Runs with osop diff"
description: "Feed two .osoplog files to osop diff. See per-step duration, cost, and status changes. Know instantly what improved and what broke."
tags: [osop, the-loop, diff, compare, meta]
nodes:
- id: "collect_logs"
type: "human"
name: "Collect Two .osoplog Files"
description: "Pick two execution records to compare. Example: monday.osoplog.yaml vs tuesday.osoplog.yaml. Same workflow, different runs."
- id: "run_diff"
type: "cli"
name: "osop diff"
description: "Compare the two logs. Output: per-node duration delta, cost delta, status change, nodes added/removed."
runtime:
command: "osop diff run-v1.osoplog.yaml run-v2.osoplog.yaml"
- id: "analyze_results"
type: "agent"
subtype: "llm"
name: "AI Analyzes Diff"
description: "AI reads the diff output. Identifies: which steps got faster, which got more expensive, which changed status. Suggests optimizations."
- id: "decide_action"
type: "human"
subtype: "review"
name: "Decide Next Action"
description: "Based on the diff: accept the improvement, investigate regressions, or trigger osop synthesize for AI-driven optimization."
edges:
- from: "collect_logs"
to: "run_diff"
mode: "sequential"
- from: "run_diff"
to: "analyze_results"
mode: "sequential"
- from: "analyze_results"
to: "decide_action"
mode: "sequential"