Skip to main content

Module command

Module command 

Source
Expand description

Command classification — how the kernel will resolve a command name.

CommandKind is the typed answer to “what will kaish actually run for this name?” It exists so embedders (kaijutsu’s consent gate, kaibo) can walk a parsed script and bucket each command node without re-implementing kaish’s resolution rules. Re-deriving those rules in the embedder forks kaish’s command-resolution truth: the day the kernel refines how a name resolves, a hand-rolled copy silently disagrees with what kaish will actually execute — a security-relevant divergence for anything gating external commands.

Enums§

CommandKind
The category the kernel resolves a command name into.