fleet-memory/hindsight-api/hindsight_api/engine
Nicolò Boschi 5b52a84fff
chore: internal renames (#204)
This commit renames the terminology across the entire codebase:
- "mental models" (fact_type='mental_model' in memory_units) → "observations"
- "reflections" table (stored reflect responses) → "mental_models"

Changes include:
- Database migration to rename tables, indexes, and constraints
- API endpoints: /reflections → /mental-models, /mental-models → /observations
- Config: ENABLE_MENTAL_MODELS → ENABLE_OBSERVATIONS
- Response models and Pydantic classes
- Reflect agent tools and prompts
- Control plane UI and routes
- Documentation and examples
- Regenerated OpenAPI spec and client SDKs (Python, TypeScript)
- Rust CLI: reflection commands → mental-model commands
- LiteLLM: updated fact_types documentation
2026-01-27 09:53:28 +01:00
..
consolidation chore: internal renames (#204) 2026-01-27 09:53:28 +01:00
directives feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
mental_models feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
reflect chore: internal renames (#204) 2026-01-27 09:53:28 +01:00
retain feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
search feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
__init__.py feat: extensions (#54) 2025-12-22 11:05:23 +01:00
cross_encoder.py fix: simplify pytorch model initialization to prevent meta tensor issues (#185) 2026-01-22 16:25:28 +01:00
db_budget.py fix: batch queries on recall (#149) 2026-01-13 13:20:22 +01:00
db_utils.py misc: performance improvements (#140) 2026-01-09 14:47:20 +01:00
embeddings.py fix: simplify pytorch model initialization to prevent meta tensor issues (#185) 2026-01-22 16:25:28 +01:00
entity_resolver.py fix: misc perf improvements (#133) 2026-01-08 22:49:04 +01:00
interface.py feat: introduce mental models (#132) 2026-01-16 11:16:41 +01:00
llm_wrapper.py fix: improve mental model consolidation (#197) 2026-01-26 09:54:25 +01:00
memory_engine.py chore: internal renames (#204) 2026-01-27 09:53:28 +01:00
query_analyzer.py fix: improve mpfp retrieval (#146) 2026-01-12 18:58:05 +01:00
response_models.py chore: internal renames (#204) 2026-01-27 09:53:28 +01:00
task_backend.py feat: new 'worker' service (#176) 2026-01-20 10:17:56 +01:00
utils.py chore: drop unused access_count column (#178) 2026-01-20 10:36:02 +01:00