Plan with query.match, then apply with mutations
This is the recommended default for most apps: match first, preview, then apply.Run multiple edits as one plan
When several changes should stay together, group them into one plan:Quick search and single edit
For lightweight tasks,find is still a good option:
Tracked-mode insert
Insert text as a tracked change so reviewers can accept or reject it:resolution with the resolved insertion point and inserted entries with tracked-change IDs.
Check capabilities before acting
Usecapabilities() to branch on what the editor supports:
Dry-run preview
PassdryRun: true to validate an operation without applying it:

