Skip to main content

kapi context widen

kapi widen <id>

Widen a confirmed rule past the point its evidence was seen at.

A rule learned in one place holds in that place. Widening says it holds more widely: "--to workspace" puts it in force in every project you work on here, and naming an axis drops that axis from the rule's point so it stops being specific about it.

A project that has its own decision about the word keeps it. The more specific answer always wins.

Commandcontext widen
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 widen 7 --to workspace
Flags
FlagTypeDefaultDescription
--notestringwhy
--project, -pstringpath to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted)
--tostring"workspace", or the name of an axis the rule should stop being specific about
More examples
kapi context widen 7 --to mode

← Back to the Command Reference