Dashboard And Visual Editor Surfaces
- Use
SquidMesh.list_runs/2for global and workflow-filtered run indexes. - Use
SquidMesh.inspect_run/2for factual run details. - Use
SquidMesh.inspect_run_graph/2for graph-oriented dashboard and visual editor views. - Use
SquidMesh.explain_run/2for operator-facing diagnosis and next actions. - Keep list responses redacted by default; fetch detailed history only when the caller asks for it.
Workflow Specs
- Use
SquidMesh.Workflow.to_spec/1for normalized workflow definitions. - Use
SquidMesh.Workflow.validate_spec/1before trusting a spec in tooling. - Treat specs as data for editors, diagrams, and validation; do not use them as a module ownership allowlist.
- Preserve stable ids for workflow, trigger, step, transition, and condition data so visual editors can round-trip safely.
SquidSonar
- SquidSonar should list existing workflows and runs through public Squid Mesh APIs rather than reading storage adapter internals.
- SquidSonar should fetch specific workflow internals by module/spec and specific run internals by run id.