task_explore
Explore a branching derivation tree by running every alternative through verification, returning all candidates ranked best-first by acceptance and simplicity.
Instructions
Explore a branching derivation tree from a DTS.
Runs the base derivation plus each ``alternatives`` candidate through the
full loop and returns ALL candidates -- each with its acceptance result
and provenance -- ranked best-first (verified > more oracles passed >
simpler). Unlike task_run (which self-corrects to the first passing
branch), this surfaces the whole space of verified answers.
Args:
spec: A DTS dict (see task_plan); ``alternatives`` are the branches.
timeout_s: Optional hard wall-clock cap (seconds). When set, the
exploration runs in a separate process and is killed if it
overruns, returning {"success": False, "timed_out": True}.
Returns:
{"success", "concept", "candidates": [...]} ranked best-first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||