apply_frankability_edit_ops
Apply LLM-generated edit operations to a Symbols project, with automatic verification and rollback on regression.
Instructions
Apply LLM-generated edit ops to a Symbols project with verify-or-rollback.
Pass ops_json as a JSON string of either:
{ "ops": [...] }
or just an array of op objects.
Each op must be one of the 8 strict kinds (see prescribe_frankability_fixes). The applier validates every op, snapshots affected files, applies, runs frank.toJSON to verify, and rolls back if the result regresses against the pre-apply state.
Args: symbols_dir: Absolute path to the symbols/ directory. ops_json: JSON string containing the edit ops.
Returns: JSON with applied/skipped/rolledBack/baseline/finalState.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops_json | Yes | ||
| symbols_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |