dashboard-snapshot
Goal:
- Assemble a dashboard-ready snapshot from the canonical state.
Inputs:
CoScientistStaterun_idupdated_at
Outputs:
dashboard/SNAPSHOT.json
Context Loading:
- Read
skills/shared-references/artifact-contract.mdso the dashboard artifact stays downstream of canonical run artifacts. - Read
packages/dashboard_contracts/snapshot_projection.pybefore rebuildingdashboard/SNAPSHOT.json. - Read
packages/dashboard_contracts/dashboard.pywhen the dashboard-facing snapshot field layout needs to be checked.
Execution Contract:
- This skill is deterministic and must not call an LLM.
- The canonical shared builder surface is
from tools import build_dashboard_snapshot. - The underlying implementation lives in
packages/dashboard_contracts/snapshot_projection.py. - The snapshot builder is a pure projection shared by API reads and artifact writes.
- The dashboard layer must remain downstream of canonical state and artifact contracts and must not invent new pipeline semantics.
Execution Steps:
- Open
skills/shared-references/artifact-contract.md, then readpackages/dashboard_contracts/snapshot_projection.py. - Load the canonical run state and routing artifacts required to build the dashboard projection.
- Call the canonical snapshot builder and write
dashboard/SNAPSHOT.json. - Keep the emitted snapshot aligned with the dashboard-facing contract models.
Completion Rule:
- This skill is complete only when
dashboard/SNAPSHOT.jsonhas been rebuilt from canonical state through the shared deterministic builder surface.