Expand description
Ranked, byte-capped docs/knowledge/ injection for planning seeds (slice 2).
Separate from the lessons budget (crate::lessons::LESSONS_INJECT_MAX_BYTES).
Missing vault → inject nothing. Stale notes and notes without
verified_against are excluded from automatic injection.
Boundary note (positioning ADR, frozen surface): context-MANAGEMENT features — retrieval pipelines, memory systems, dynamic context optimization — are frozen; this is a capped, ranked, auditable injection, deliberately not a context engine (docs/knowledge/decisions/positioning-governance-evidence-layer.md).
Structs§
- Knowledge
Query - Inputs that drive note ranking for a planning or revised-planning seed.
- Refresh
Finding - One vault note’s refresh result.
- Refresh
Report - Report-only drift check over
docs/knowledge/(slice 3).
Enums§
- Refresh
Verdict - One citation verdict from
refresh_knowledge.
Constants§
- KNOWLEDGE_
INJECT_ MAX_ BYTES - Hard cap (bytes) on the rendered knowledge block — D-C / ticket.
Functions§
- refresh_
knowledge - Walk the vault and report drifted / missing / unverified citations.
- render_
knowledge_ for_ planning - Render a ≤4 KiB knowledge block, or
Nonewhen the vault is missing/empty of injectable content.