Skip to main content

Bulk rewrite with an agent

Goal: apply one editorial change everywhere — rename a product, retire a phrase, soften a tense — across files your editor can't even open (.docx, catalogs, HTML, Markdown), without risking structure. The division of labor: the agent decides what the new text says; kapi guarantees everything else — inline codes preserved, drift-guarded writes, and a check gate that proves the sweep is done. No second model is involved in the write.

The sweep itself is agent- or CLI-driven; Desktop is where you verify it:

  1. Before: bind the rule that motivates the sweep — a forbidden term, a required phrasing — in the project's brand profile, so the Checks view shows exactly which blocks are affected and how many.
  2. After: re-run the Checks view to confirm the count is zero, and spot-check the edited files in the preview — structure, styles, and placeholders intact.

For translated content, an edited source drops affected units back to pending; Bring up to date re-translates just those, and the Review queue picks up anything that parks.

Next