Expand description
Injects compression prompts into agent rules files for all integration modes.
Called from:
lean-ctx compression <level>(CLI command)lean-ctx setup(initial setup)- MCP server startup (ensures consistency after manual config edits)
Functions§
- inject
- Updates all detected agent rules files with the compression prompt for
level. Idempotent — safe to call repeatedly. Returns the number of files updated.