Skip to main contentModule autonomy
Source - AutonomyState
- Tracks autonomous action state: session init, dedup, and consolidation timing.
- EnrichResult
- Output from post-read enrichment: optional related-file hints.
- enrich_after_read
- Appends related-file hints and silently preloads imports after a file read.
- maybe_auto_dedup
- Runs cache deduplication once the entry count exceeds the configured threshold.
- session_lifecycle_pre_hook
- Auto-preloads project context on the first tool call of a session.
- shell_efficiency_hint
- Suggests a more token-efficient lean-ctx tool when shell compression is low.
- should_auto_consolidate
- Returns true if enough tool calls have elapsed to trigger auto-consolidation.