Task `plan_decision_pack` v1

Draft a DecisionPack (versioned graph) from a problem_statement, optional cost_tier, and generation temperature. Output is draft_pack suitable for downstream DecisionPack execution—not live execution itself.

Updated

Task plan_decision_pack v1

Summary

Draft a DecisionPack (versioned graph) from a problem_statement, optional cost_tier, and generation temperature. Output is draft_pack suitable for downstream DecisionPack execution—not live execution itself.

Inputs

Field Type Required Notes
problem_statement string yes Problem description for planning.
cost_tier integer no Default 1.
temperature number no Default 0.05.

Output

JSON with draft_pack matching DecisionPack v2 schema (schema_version 2, nodes present). See contract.json for full object schema.

Examples

{
  "problem_statement": "Choose between two deployment modes.",
  "cost_tier": 1
}

Failure modes

  • SchemaFailure — graph shape invalid vs DecisionPack constraints.
  • ParseFailure — assistant JSON not an object.
  • GatewayFailure — upstream errors.

Verification

Structural validation against DecisionPack expectations in task implementation; schema hooks per contract.json.

Changelog

  • v1 — Initial planning task.