Apply a prepared structural operation
ast_apply_operationApplies a reviewed, plan-hash-verified operation to a TypeScript workspace after confirming the complete project fingerprint. Conflicts block writes, and retries are idempotent, ensuring only the approved changes are executed safely.
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 |