What problem does it solve?
Reuse the lazy/deferred context injection pattern (module-scope trigger with TTL decay, multi-point hooks, first-full-then-short differential, lazy-stub + ranker + dormant gate for listing-type content, env var gating) when adding new content sections that should skip injection until needed, or reducing per-turn overhead for invariant/listing content in third-party API mode.
Core Features & Use Cases
- Implements a TTL-decayed trigger at the module level to gate content injection with a configurable TTL and an override path via environment variables.
- Provides multiple trigger surfaces (tool calls, slash commands, and REPL keyword triggers) and a first-full-then-short content strategy for listing-type content with a ranker, dormant gate, and folding behavior.
- Includes a zero-serialization, resettable, module-scope state pattern with explicit reset functions to support cache clearing and test isolation.
Quick Start
Use the lazy-context-injection-reuse pattern to defer non-critical content until needed; trigger its loading via a tool call, a slash command, or a REPL keyword, then observe TTL-based decay.