Gå til hovedinnhold

kapi context propose

kapi propose <term>

Propose a rule about a word: write this instead of that.

A proposal takes effect at once as advice. Checks report it wherever the word appears, and no check fails on it, so a proposal never stops anyone's work. It starts binding when someone confirms it with "kapi context confirm".

Say where you saw the word with --seen-in. A rule with evidence behind it can be argued with later; a rule without any is a preference somebody typed.

Propose a rule for the voice profile's vocabulary with --list, and one for the project's terms without it.

Commandcontext propose
Try it

Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.

kapi context propose utilise --use use
Flags
FlagTypeDefaultDescription
--list stringpropose a voice-profile rule in this list instead of a project term: forbidden, competitor or preferred
--note stringwhy
--project , -pstringpath to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted)
--quote stringthe wording it was seen in
--seen-in stringSlicea file the word was seen in (repeatable)
--severity stringhow hard the rule bites once confirmed: minor or neutral report, anything else fails a check
--use stringwhat to write instead
More examples
kapi context propose utilise --use use --seen-in docs/guide.md
kapi context propose Ripgrep --use ripgrep --list forbidden --severity major

← Back to the Command Reference