|
| 1 | +# Changelog |
| 2 | + |
| 3 | +## v0.2.0 -- The Cognition Update (2026-03-14) |
| 4 | + |
| 5 | +**The industry builds: retrieve then generate. ContextOS builds: retrieve, THINK, then generate.** |
| 6 | + |
| 7 | +### New Layers |
| 8 | + |
| 9 | +**Cognition Layer** (`contextOS/cognition.py`) |
| 10 | +Six cognitive primitives that model how expert reasoning works between retrieval and output: |
| 11 | +- Active Forgetting -- drops retrieved context that degrades output quality |
| 12 | +- Reasoning Depth Calibration -- estimates how much thinking a problem deserves |
| 13 | +- Synthesis Detection -- determines whether to think or retrieve |
| 14 | +- Unknown Unknown Sensing -- detects missing categories of information |
| 15 | +- Productive Contradiction -- holds conflicting data as signal, not noise |
| 16 | +- Context-Dependent Gravity -- re-weights memory by current question |
| 17 | + |
| 18 | +**Retrieval Router** (`contextOS/router.py`) |
| 19 | +Churn-aware routing that selects retrieval strategy per data source: |
| 20 | +- Data Source Registry with per-source churn profiles |
| 21 | +- Live/warm/cold classification with automatic fallback |
| 22 | +- Feedback-driven churn reclassification |
| 23 | +- Index freshness checking on every request |
| 24 | + |
| 25 | +**Index Lifecycle Manager** (`contextOS/indexer.py`) |
| 26 | +Self-healing index infrastructure: |
| 27 | +- Event-driven re-indexing (MCP data events trigger rebuilds) |
| 28 | +- Embedding model drift detection and auto-rebuild |
| 29 | +- Schema change quarantine |
| 30 | +- Circuit breakers (3 failures -> degrade to live pull) |
| 31 | +- Heartbeat health checks |
| 32 | + |
| 33 | +### Updated |
| 34 | + |
| 35 | +- `contextOS/core.py` -- expanded from 5 to 8 layers, version bumped to 0.2.0 |
| 36 | +- `contextOS/__init__.py` -- exports CognitionLayer, RetrievalRouter, IndexLifecycleManager |
| 37 | +- `pyproject.toml` -- version 0.2.0, new keywords, optional sentence-transformers/tantivy deps |
| 38 | +- `README.md` -- complete rewrite with cognition update documentation, examples, updated architecture |
| 39 | +- `docs/wiki/` -- new pages for Cognition Layer, Retrieval Router, Index Lifecycle Manager; updated Architecture, Home, Roadmap |
| 40 | + |
| 41 | +### Architecture |
| 42 | + |
| 43 | +``` |
| 44 | +v0.1.0: 5 layers, 55 tools |
| 45 | +v0.2.0: 8 layers, 67 tools |
| 46 | +
|
| 47 | +New tools: cognition_think, cognition_forget, cognition_depth, |
| 48 | +cognition_contradictions, cognition_unknowns, cognition_gravity, |
| 49 | +router_register, router_route, router_health, router_feedback, |
| 50 | +router_reclassify, indexer_status, indexer_rebuild, indexer_heartbeat, |
| 51 | +indexer_circuit_reset, indexer_model_update |
| 52 | +``` |
| 53 | + |
| 54 | +### Origin |
| 55 | + |
| 56 | +The six cognitive primitives were identified by tracing how reasoning actually works in a live conversation analyzing the "Is RAG Dead?" debate. The conversation itself became the spec -- each primitive was practiced before it was named. |
| 57 | + |
| 58 | +--- |
| 59 | + |
| 60 | +## v0.1.0 (2025) |
| 61 | + |
| 62 | +Initial release. Five layers: Orchestration, Memory, Retrieval, Tools, Planning. 55 MCP tools. Pre-Response Sparring Hook. MIT license. |
0 commit comments