-
Resolve the run directory or config path relative to the repository root.
-
Run:
python -m tools.host.project_cli run <run-target> --skill co-scientist-pipeline
-
Read runs/<run_id>/state/HOST_AGENT_HANDOFF.json.
-
Read the CLI JSON result and the run-local dashboard receipt artifacts:
runs/<run_id>/dashboard/LINKS.md
runs/<run_id>/dashboard/LINKS.json
-
If the CLI JSON contains dashboardLinks:
- If
dashboard.status is running, return dashboardLinks.dashboard as the primary dashboard URL and include the deep links.
- If
dashboard.status is starting, immediately run:
python -m tools.host.project_cli dashboard <run-dir>
- Read the refreshed CLI JSON result plus
runs/<run_id>/dashboard/LINKS.md.
- If
runtime.status is now running, return the refreshed links.dashboard URL as the primary dashboard URL and include the deep links.
- If
runtime.status is still starting, tell the user that the dashboard is still booting, point them to runs/<run_id>/dashboard/LINKS.md, and include the retry command:
$co-scientist-dashboard <run-dir>
-
Open skills/co-scientist-pipeline/SKILL.md and the shared references listed by the handoff.
-
Continue from the canonical repository-local workflow instead of inventing a parallel flow. If the refreshed routing plan returns run_configuration, execute research-config and validate research_plan/RESEARCH_PLAN.json before any generation work.
-
After major phase writes, run:
python -m tools.validation.contract_validation runs/<run_id> --skill co-scientist-pipeline