Expand description
Canonical Hybrid Policy — the single source of truth for all lean-ctx rules.
Every template, injected rule file, SKILL.md, and MCP instructions field MUST derive its tool-mapping table from this module. No inline tool tables elsewhere in the codebase.
Enums§
Functions§
- automation_
block - cep_
block - compatibility_
block - ctx_
read_ modes_ block - dedicated_
rules - Returns the full rules block (LITM-optimized) for dedicated rule files.
- litm_
end_ block - mcp_
instructions - Returns a short instructions string for MCP JSON
instructionsfield. - tool_
mapping_ bullets - Tool-mapping in bullet format for MCP instructions blocks.
- tool_
table - Generates the canonical tool-mapping table for the given mode.
- unified_
tool_ mode_ block