ParecodeEdit
Apply multiple edits across files in a single call, with atomic per-file commits, conflict detection, and fuzzy matching for drifted code.
Instructions
Apply many edits across many files in one call — the edit counterpart to ParecodeSearch/ParecodeExpand. Prefer over native Edit/MultiEdit when: (a) making 2+ edits to one file, or edits across files (files apply in parallel); (b) an oldString from an earlier read may have drifted — set fuzzy:true (whitespace-tolerant) or fuzzy:'aggressive' (also normalizes Unicode look-alikes); (c) the changes are one logical revision that should land together. Each item is either a line-range op (replaceLines or insertAfter, each guarded by an expect anchor — the primary path) or a string-patch op (oldString/newString — the fallback). Atomicity is per file, NOT cross-file: within a file all ops apply or none do, but other files commit independently, so check each result's status. Writes are atomic (temp+rename) with mtime conflict detection (a concurrent external edit returns conflict with no write); fuzzy matching fails closed below 0.85 confidence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edits | Yes | List of edit operations to perform |