Skip to main content

Module cognitive

Module cognitive 

Source
Expand description

Cognitive Budget Allocator (F3) — Miller’s Law for LLM context.

Limits context to 7±2 semantic chunks, prioritized by task relevance. Uses tree-sitter signature boundaries for chunk detection.

Structs§

SemanticChunk
A bounded, scored section of source code.

Enums§

ChunkKind
Semantic role of a source-code chunk.