Runs And Resume
Run Directories
Section titled “Run Directories”Each robosmith run creates a timestamped directory in robosmith_runs/ unless
you configure another runs_dir.
robosmith_runs/ run_20260415_182058_a64796/ checkpoint.json run_state.json task_spec.json eval_report.json reward_function.py report.mdThe run ID format is:
run_YYYYMMDD_HHMMSS_<short-uuid>Most run commands accept either the full run ID or a unique prefix.
List Runs
Section titled “List Runs”robosmith runs listrobosmith runs list --limit 50robosmith runs list --status successrobosmith runs list --runs-dir ./my_runsThe list view reads run_state.json, eval_report.json, and task_spec.json
when present. It shows the task, status, decision, success rate, mean reward,
and iteration count.
Inspect A Run
Section titled “Inspect A Run”robosmith runs inspect run_20260415robosmith runs inspect run_20260415 --logrobosmith runs inspect run_20260415 --reward--log prints the recorded graph step log. --reward prints
reward_function.py if delivery produced it.
Compare Runs
Section titled “Compare Runs”robosmith runs compare run_20260415 run_20260416Comparison reads both run directories and displays:
| Metric | Source |
|---|---|
| Status and decision | run_state.json, eval_report.json |
| Task and robot | task_spec.json |
| Environment | run_state.json |
| Reward metrics | eval_report.json |
| Iterations | run_state.json |
Numeric differences are highlighted in the terminal output.
Resume
Section titled “Resume”robosmith resume run_20260415robosmith resume run_20260415 --runs-dir ./my_runs --verboseResume requires checkpoint.json. It loads the checkpoint, reconstructs typed
objects, skips nodes listed in completed_nodes, and continues the graph.
This is most useful when a run was interrupted after a completed stage. If a run finished successfully and no checkpoint is present, inspect the artifacts instead of resuming.
Clean Old Runs
Section titled “Clean Old Runs”robosmith runs clean --older-than 14 --dry-runrobosmith runs clean --older-than 14 --yes--dry-run reports what would be deleted and how much space would be freed.
Use --yes to skip the confirmation prompt.
Python Resume
Section titled “Python Resume”from pathlib import Pathfrom robosmith.agent.graphs.run import resume_pipeline
state = resume_pipeline( run_id="run_20260415", runs_dir=Path("./robosmith_runs"),)print(state["status"])