run-policy-router
Goal:
- Interpret the user's high-level research intent into
RUN_POLICY.yamlandstate/POLICY_DECISION.json.
Inputs:
- one run directory root
- run-local
input.md - optional
RUN_POLICY.yaml - research brief and operator constraints
Outputs:
- updated
RUN_POLICY.yaml - updated
state/POLICY_DECISION.json
Context Loading:
- Open
skills/shared-references/schema-index.md. - Read
packages/agent_contracts/policy.pyand confirm the exactRunPolicyContractplusPolicyDecisionContractshapes before writingRUN_POLICY.yamlorstate/POLICY_DECISION.json. - Read
input.mdplus any operator constraints that should influence the high-level routing axes.
Execution Contract:
- The router must stay at the high-level policy layer and must not invent raw numeric mechanics values directly.
- Allowed routing axes are documented in
../shared-references/policy-contract.md. - Downstream numeric settings are resolved separately into
state/RESOLVED_RUN_CONFIG.json. - This skill owns canonical policy artifact emission only:
RUN_POLICY.yamlstate/POLICY_DECISION.json
- This skill does not own numeric mechanics resolution, direct strategy routing, or downstream evolution-state writes.
Execution Steps:
- Open
skills/shared-references/schema-index.md, then readpackages/agent_contracts/policy.pybefore writingRUN_POLICY.yamlorstate/POLICY_DECISION.json. - Interpret the research brief into the allowed policy axes only.
- Write canonical
RUN_POLICY.yamlandstate/POLICY_DECISION.json. - Do not invent raw numeric mechanics values that belong in
state/RESOLVED_RUN_CONFIG.json. - Validate the emitted policy artifacts.
Completion Rule:
- This skill is complete only when
RUN_POLICY.yamlandstate/POLICY_DECISION.jsonhave been written in canonical form and remain consistent with the selected high-level policy axes.
Scan to join WeChat group