Open Kioku Create Change Contract
create_change_contractGenerate a durable verification contract from a task or saved plan for later review or CI evidence, with optional storage.
Instructions
Create and optionally store a versioned change contract from a task or saved plan while preserving plan_change for backwards compatibility. Use when a plan needs a durable verification contract for later review or CI evidence. By default it writes a contract under .ok/contracts; set store=false for a transient contract.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | Inline PlanReport object used as the source plan. | |
| task | No | Natural language task used to build a fresh plan before contract creation. | |
| limit | No | Maximum planning results to generate when task is provided. Defaults to 20. | |
| since | No | Optional git revision/range used with git diff --unified=0 when planning from task. | |
| store | No | Persist the contract under .ok/contracts. Defaults to true. | |
| format | No | Return format. Defaults to json. | |
| plan_json | No | JSON-encoded PlanReport used as the source plan. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Wrapped non-object output, used for Markdown, TOON, or scalar responses. |