Apply a prepared structural operation
ast_apply_operationApply a verified plan after checking its hash and workspace fingerprint, aborting on conflicts before any write. Retries after success are idempotent.
Instructions
Applies exactly the reviewed plan after verifying its plan hash and the complete TypeScript workspace fingerprint. Conflicts abort before writes; retries after success are idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_hash | Yes | Plan hash returned by the same prepare operation. | |
| operation_id | Yes | Identifier returned by a prepare operation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| status | Yes | ||
| applied_at | Yes | ||
| operation_id | Yes | ||
| affected_files | Yes | ||
| idempotent_replay | Yes |