fleet-memory/hindsight-api/hindsight_api/engine/consolidation
Nicolò Boschi 8540c33236
refactor: remove dead code and clarify observations vs mental models (#512)
* refactor: remove dead code and clarify observations vs mental models

- Delete engine/mental_models/ module (stale Pydantic models with wrong
  schema, describing an old design where mental models were directives;
  had no importers outside itself)
- Remove unused imports in api/http.py (acquire_with_retry, Observation)
- Remove unused Pydantic models in api/http.py (BanksResponse,
  ObservationEvidenceResponse)
- Add clarifying NOTE to consolidation/consolidator.py distinguishing
  observations (auto-generated bottom-up) from mental models (user-defined
  pinned reflections refreshed via reflect)

* chore: run generate scripts after dead code removal
2026-03-06 14:39:33 +01:00
..
__init__.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
consolidator.py refactor: remove dead code and clarify observations vs mental models (#512) 2026-03-06 14:39:33 +01:00
prompts.py feat: add source facts token limits to consolidation and recall (#509) 2026-03-06 13:01:33 +01:00