You will inspect the repair-depot project at several resolved times.
Read machine-friendly validation output
Run project validation with JSON output:
npx workspec validate start.workspec.json \
--changes changes.workspec.js \
--time 08:30 \
--jsonA successful result contains an empty problems array. The run object records the requested horizon and the safe resolution boundary.
{
"validation": { "mode": "project" },
"run": {
"requested_horizon": 510,
"resolved_through": 510
},
"problems": []
}The complete envelope includes more run metadata.
Compare snapshots
Run these commands in order:
npx workspec snapshot start.workspec.json --changes changes.workspec.js --time 08:05 --json
npx workspec snapshot start.workspec.json --changes changes.workspec.js --time 08:10 --json
npx workspec snapshot start.workspec.json --changes changes.workspec.js --time 08:30 --jsonInspect these paths in each response:
| JSON path | Question |
|---|---|
state.objects.pump.properties.state |
What state is the pump in? |
state.objects.pump.location |
Where is the pump? |
state.task_statuses.inspect_pump |
Did inspection finish? |
state.task_statuses.repair_pump |
Did repair start or finish? |
run.resolved_through |
What time is safe to inspect? |
Use Problems as structured data
A Problem identifies its layer through scope and provenance. Use metric_id for automation instead of parsing the human-readable message.
The instance field often points to the related JSON field. Source and runtime Problems use source-related or runtime locations where appropriate.
See Problems and diagnostics and snapshots and resolved state for complete contracts.
Next step
Render the world from the same project inputs.