Home / Documentation / Configuration Guide

Context Pipeline P1-1

Closing the gaps in the living context pool

Built on top of the living context pool, P1-1 closes the core gaps in context-window engineering, taking context management from "has a skeleton" to "has muscle".

The six gaps closed

GapFixStatus
Turn pairingPairing-integrity checks between the conversation view and the database viewImplemented
EXACT countingPrecise token-level counting replacing character-ratio estimatesImplemented
Real summarizationProduction-grade LLM summarization replacing truncation-based pseudo-summariesImplemented
FTS ledgerThe eviction ledger is persisted, so a restart no longer loses itImplemented
Overflow recoveryA single-shot recovery retry when the context exceeds the limitImplemented
Write-side turn taggingConversation turns are tagged, enabling exact retrospectionImplemented

The five living properties

PropertyDescriptionImplementation
FlowNew content flows in, old content flows outTime decay + TTL expiry
FreshnessContent stays current via time decayTimestamps + access frequency
PurityMulti-stage deduplicationExact + pattern + semantic dedup
SemanticsVector matching that understands synonymsBAAI/bge-small-zh-v1.5
On-demandA need expressed as a string matches automaticallySemantic vector similarity

API

GET  /api/v1/context/pool-settings            # read context pool settings
PUT  /api/v1/context/pool-settings            # update settings
GET  /api/v1/context/pool-settings/token-budget/{model}  # token budget