Skip to main content

Content governance for AI

Goal: configure writing rules and automated checks for AI-assisted content. Checks identify violations of supported rules; people review meaning and guidance that cannot be checked automatically. The rules come in three kinds:

ArtifactEncodesLives inEnforced by
Voice profiletone, style measures, pattern rulesthe project's voice storethe voice.rules analyzer in every check
Terms storeapproved terms per language, and every word to avoid (forbidden, competitor, retired)the project's terms storethe terms analyzer in every check, term-check and the terminology gate
Checksetlength budgets, required/forbidden patterns, hygienethe recipe, in gitkapi check, in the loop and in CI

The first two live in your workspace, one set per project, shared by every checkout. kapi context sync shares them with the rest of the team, and kapi store export backs them up.

The rules reach the agent before it writes and after:

rules statedAGENTS.md · CLAUDE.mdloaded as it startsagent writesdrafts start on the rulesafter each editkapi checkblock by block, with an exit code

kapi writes the voice and the approved terms where the agent reads them, then checks what it wrote.

The agent loads AGENTS.md and CLAUDE.md without a tool call. The checks read the content inside .docx, JSON catalogs and HTML, locate each finding to a block an agent can fix, and apply to every target language.

  1. Bind the artifacts. In Project Settings, bind the voice profile; the approved terms the recipe binds show under Context → Terms. From then on the project enforces both everywhere.
  2. Watch the gates. The findings count on the project's Map shows standing against the rules; the ship-gate cells fold the voice and terminology gates into each locale's release bar.
  3. Review the exceptions. Blocks that fail a rule surface findings-first in the Review queue; a person reads what the rules flagged, not every block.

Next​