create_programme
Define a research programme with goal, typed constraints, allowed variables, and budget, then wire the optimizer to steer trials by metric direction.
Instructions
Create a research programme with a goal, constraints, and budget.
Constraints are typed fields, not strings (commitment 4). Wires the optimizer role for this programme.
Structured params (constraints, allowed_variables, budget) may be sent as JSON-encoded strings if your client cannot emit objects.
metric_direction: 'minimize' (e.g. perplexity, loss) or 'maximize' (e.g. accuracy). The optimizer uses this to steer search and rank best trials.
candidate_version_id: optional RSI Phase 0 correlation — which registered candidate created this programme. Must exist if given.
investigation_id: optional zetesis correlation — which open investigation declared this programme as its obligation (open_investigation requires_programme → link_programme). Recorded as claimed provenance: episteme has no read path into zetesis, so the id is stored, not verified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | Research goal — what the programme is trying to learn. | |
| budget | Yes | Budget object {max_trials (required), max_wall_time_hours}; extra keys recorded but not enforced. May be a JSON-encoded string. | |
| constraints | Yes | Typed constraint fields {gpu_memory_gb, max_training_hours_per_trial, max_parameter_count} — extra keys allowed (commitment 4); may be JSON-encoded. | |
| investigation_id | No | Zetesis investigation this programme answers to — claimed provenance, recorded but not verified against zetesis (plan-20261002-1929Z). | |
| metric_direction | No | 'minimize' (loss-like: perplexity, error) | 'maximize' (quality: accuracy, F1) — steers search and best-trial ranking. | maximize |
| allowed_variables | Yes | Variables the programme may search/vary; list or JSON-encoded list. | |
| candidate_version_id | No | RSI Phase-0 correlation — which registered candidate created this programme; must exist if given. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| programme_id | No | ||
| budget_extras_not_enforced | No |