create_repository_decision_plan
Create a stored decision plan revision from a triage evidence bundle, returning the plan ID and validated patch diff for downstream simulation and application.
Instructions
Create one stored, immutable repository DecisionPlan revision from a triage workspace evidence bundle and return its decision_plan_id plus the validated patch diff inline. snapshot_id is resolved from the bundle when omitted. This is the only LLM-touching stage of the repository chain; model optionally picks the planner model. The decision_plan_id feeds simulate_repository and apply_repository. Persists the plan revision. Use run_repository_pipeline to chain snapshot, triage, plan, and simulate in one call instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional planner model override. | |
| snapshot_id | No | Snapshot id; resolved from the evidence bundle when omitted. | |
| repository_id | Yes | Saved repository connector id from list_connectors. | |
| workspace_evidence_bundle_ref | Yes | Bundle ref returned by triage_repository. |