co-scientist-run
Goal:
- Bootstrap one existing Co-Scientist run and continue with the canonical pipeline.
Expected input:
- one run directory such as
runs/test1 - or one compatibility config path such as
runs/test1/config.yaml
Execution steps:
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-pipelineRead
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.mdruns/<run_id>/dashboard/LINKS.json
If the CLI JSON contains
dashboardLinks:- If
dashboard.statusisrunning, returndashboardLinks.dashboardas the primary dashboard URL and include the deep links. - If
dashboard.statusisstarting, 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.statusis nowrunning, return the refreshedlinks.dashboardURL as the primary dashboard URL and include the deep links. - If
runtime.statusis stillstarting, tell the user that the dashboard is still booting, point them toruns/<run_id>/dashboard/LINKS.md, and include the retry command:
$co-scientist-dashboard <run-dir>- If
Open
skills/co-scientist-pipeline/SKILL.mdand 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, executeresearch-configand validateresearch_plan/RESEARCH_PLAN.jsonbefore any generation work.After major phase writes, run:
python -m tools.validation.contract_validation runs/<run_id> --skill co-scientist-pipeline
Rules:
- Use persisted artifacts as the source of truth.
- Do not skip
research-configwhen routing requiresrun_configuration. - The first active stage may be
Configurationrather thanGeneration; do not skip it when the routing plan requiresrun_configuration. - Treat
skills/as canonical and.agents/skills/as the installed Codex discovery surface. - Treat
runs/<run_id>/dashboard/LINKS.mdas the human-readable dashboard receipt andruns/<run_id>/dashboard/LINKS.jsonas the machine-readable receipt. - Under
completion_driven + auto, continue until the routing plan reaches overview, a configured checkpoint, or a blocking validator/safety state. - If you must stop before convergence or a terminal route, tell the user the run is paused, current convergence has not been reached, persisted state is resumable, and the next recommended action is continue evolution through
$co-scientist-resume <run-dir>or an explicit continue request.