Expand description
Independent, object-safe capability shapes for staged command migration.
FEAT-014 publishes these interfaces without implementing them for the TUI
or changing an existing command. Later work adopts them inside
codewhale-tui one command group at a time. Only after every group uses
these shapes will groups move physically into a commands crate.
Traitsยง
- Command
Cost Context - Cost display and accounting operations.
- Command
Mode Policy Context - Operating mode, approval posture, shell access, and policy lock.
- Command
Model Context - Model selection, provider identity, effort, and fallback chain.
- Command
Session Context - Session identity, messages, queue operations, and token totals.
- Command
Skills Context - Active skill identity and skill-cache refresh.
- Command
System Prompt Context - Read access to the effective system prompt.
- Command
Workspace Context - Workspace path and a bounded serialized work-state snapshot.