بنقرة واحدة
co-scientist-pipeline
Run the full Co-Scientist pipeline for one research run.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run the full Co-Scientist pipeline for one research run.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Evaluate whether a hypothesis newly entered the current top-k set and update the convergence counter deterministically.
Assemble a dashboard-ready snapshot from the canonical state.
Choose exactly one concrete evolution strategy for the active evolution round.
Run the assumption decomposition and deep verification review for a hypothesis.
Run the iterative evolution loop from the current persisted run state until convergence.
Generate exactly one child hypothesis that improves logical coherence, causal consistency, and assumption hygiene.
استنادا إلى تصنيف SOC المهني
| name | co-scientist-pipeline |
| description | Run the full Co-Scientist pipeline for one research run. |
Goal:
Inputs:
input.mdconfig.yamlresume flagOutputs:
RUN_POLICY.yamlstate/POLICY_DECISION.jsonstate/RESOLVED_RUN_CONFIG.jsonstate/STRATEGY_PLAN.jsonstate/STRATEGY_DECISIONS.jsonlstate/EVOLUTION_ROUNDS.jsonlstate/PIPELINE_STATE.jsonstate/CURRENT_STAGE.jsonstate/HOST_AGENT_HANDOFF.json when a host-agent handoff is preparedSub-skills:
research-confighypothesis-generation-pipelinehypothesis-evolution-loopresearch-overview-pipelineRequired shared references:
../shared-references/artifact-contract.md../shared-references/completion-contract.md../shared-references/policy-contract.md../shared-references/resolved-config-contract.md../shared-references/strategy-contract.md../shared-references/state-contract.md../shared-references/integration-contract.md../shared-references/execution-modes.md../shared-references/schema-index.mdContext Loading:
../shared-references/integration-contract.md, ../shared-references/strategy-contract.md, ../shared-references/completion-contract.md, and ../shared-references/schema-index.md before dispatching any sub-skill.RUN_POLICY.yaml and state/POLICY_DECISION.json from packages/agent_contracts/policy.pyresearch_plan/RESEARCH_PLAN.json from packages/agent_contracts/research_plan.py when dispatching research-configstate/RESOLVED_RUN_CONFIG.json from packages/agent_contracts/resolved_config.pystate/STRATEGY_PLAN.json and state/STRATEGY_DECISIONS.jsonl from packages/agent_contracts/strategy_plan.pystate/PIPELINE_STATE.json and state/CURRENT_STAGE.json from packages/agent_contracts/pipeline_runtime.pystate/EVOLUTION_STATE.json and state/COMPLETION_DECISION.json from packages/agent_contracts/pipeline_control.pyresume is true, inspect state/PIPELINE_STATE.json and state/CURRENT_STAGE.json before dispatching any sub-skill.Execution Contract:
skills/ tree.state/STRATEGY_PLAN.json.state/STRATEGY_PLAN.json through python -m tools.policy.plan_strategy <run_dir> when resuming persisted routing state for the active round or substage.python -m tools.policy.plan_strategy <run_dir> when restoring persisted routing state. Add an explicit phase override such as --phase Configuration, --phase Generation, or --phase Evolution only when the top-level workflow is intentionally forcing a new stage transition rather than restoring the persisted one.from tools import sync_pipeline_stage_artifacts as the canonical paired write surface when entering any active substage.packages/run_artifacts/stage_sync.py.tools.sync_pipeline_stage_artifacts(...) so state/PIPELINE_STATE.json and state/CURRENT_STAGE.json stay aligned.state/PIPELINE_STATE.json currentSkill must match the canonical skill for that currentPhase.Generation, Evolution, Reflection, Insights from Reviews, Proximity, Ranking, or Research Overview), state/PIPELINE_STATE.json status must be running unless the run is terminal. Do not leave active work as not_started.run_configuration is the explicit routing action for preparing or repairing research_plan/RESEARCH_PLAN.json. Do not treat configuration as an implicit bootstrap side effect.inspect_state is a blocked control-plane action. Do not continue automatic generation, review, or evolution work until the persisted routing artifacts are inspected or repaired.hypothesis-generation-pipeline until research_plan/RESEARCH_PLAN.json exists and validates through the canonical ResearchPlanContract.state/STRATEGY_PLAN.json exactly. On a fresh run, execute one generated hypothesis per selected generation strategy instead of collapsing the seed frontier into a single batch summary.HYPOTHESIS.json into an earlier EVOLUTION_ROUNDS.jsonl record.state/RESOLVED_RUN_CONFIG.json; do not rewrite EVOLUTION_STATE.safetyMaxIterations from the current iteration count or from prompt memory.safety_iteration_limit_reached is valid only when iterationCount >= RESOLVED_RUN_CONFIG.convergence.safety_max_iterations and safetyLimitHit is true.completion_driven controls stop semantics, while human_checkpoint controls where the host agent may pause for the user. Do not conflate them.iteration_policy = completion_driven and human_checkpoint = auto, keep executing generation and evolution work autonomously until the routing plan reaches generate_overview or inspect_state, or until validation / safety ceilings block further work.complete as a completion-verifier outcome, not as a state/STRATEGY_PLAN.json next_action.human_checkpoint = before_overview, pause only after evolution reaches an overview-ready routing state and before research-overview-pipeline.human_checkpoint = before_completion, pause only after overview work is complete and before final completion writeback.human_checkpoint = every_major_stage, pause only at major stage boundaries and not merely because one evolution child finished.Execution Steps:
skills/shared-references/schema-index.md and the exact Python contracts for any top-level control-plane artifact this run will write or update.RUN_POLICY.yamlstate/POLICY_DECISION.jsonstate/RESOLVED_RUN_CONFIG.jsonstate/STRATEGY_PLAN.jsonstate/PIPELINE_STATE.json and state/CURRENT_STAGE.json, preserve existing valid control-plane artifacts, and rebuild only the missing artifacts needed to continue safely.completedSkills only when the required artifacts for that phase are present and valid.state/STRATEGY_PLAN.json through python -m tools.policy.plan_strategy <run_dir> for persisted-state refreshes, or add --phase <...> only when explicitly forcing a new stage route.next_action is run_configuration, first call tools.sync_pipeline_stage_artifacts(run_dir, current_phase="Configuration", current_skill="research-config"), then execute research-config, validate research_plan/RESEARCH_PLAN.json, and refresh the strategy plan again before any generation work.next_action is inspect_state, pause automatic execution and inspect or repair the persisted routing artifacts before continuing.next_action is run_generation or return_to_generation, first call tools.sync_pipeline_stage_artifacts(run_dir, current_phase="Generation", current_skill="hypothesis-generation-pipeline"), then execute hypothesis-generation-pipeline once per selected generation strategy, validate the writes, and refresh the strategy plan again.next_action is run_review, run_insights, run_proximity, or run_ranking, first call tools.sync_pipeline_stage_artifacts(...) for the exact resumed substage so both state artifacts stay aligned, then execute that substage before attempting any new evolution child.next_action is continue_evolution, first call tools.sync_pipeline_stage_artifacts(run_dir, current_phase="Evolution", current_skill="hypothesis-evolution-loop"), then run evolution-strategy-supervisor to choose exactly one concrete evolution strategy from selected_evolution_strategies, create exactly one new child hypothesis from signals.selected_parent_ids, and run the downstream child substage work before closing the round.
state/STRATEGY_DECISIONS.jsonl as canonical router-planning audit only.state/EVOLUTION_ROUNDS.jsonl.state/STRATEGY_PLAN.json again. When the effective policy is completion_driven with human_checkpoint = auto, continue automatically into the next round unless the refreshed plan now requires generate_overview or inspect_state.human_checkpoint requests a pause (before_overview, before_completion, or every_major_stage), stop only at that configured checkpoint boundary and record enough state for a clean resume. Do not introduce per-round confirmation prompts in auto mode.python -m tools.validation.contract_validation <run_dir> --skill co-scientist-pipeline.python -m tools.validation.verify_pipeline_completion <run_dir> --skill co-scientist-pipeline.tools.sync_pipeline_stage_artifacts(run_dir, current_phase="Research Overview", current_skill="research-overview-pipeline"), then run research-overview-pipeline. After overview generation, run python -m tools.validation.verify_pipeline_completion <run_dir> --skill co-scientist-pipeline again and record state/COMPLETION_DECISION.json only when the verifier now recommends complete or an explicit override rationale is supplied.state/STRATEGY_DECISIONS.jsonl and completed round receipts in state/EVOLUTION_ROUNDS.jsonl.Completion Rule: