fleet-memory/hindsight-api/hindsight_api/engine/reflect
DK09876 94cc0a1270
fix: search_mental_models uuid type mismatch after text id migration (#225)
The mental_models.id column was changed from UUID to TEXT in migration
u6p7q8r9s0t1, but the exclude_ids filter in search_mental_models still
cast the parameter as ::uuid[]. This caused every search_mental_models
call during reflect to fail with "operator does not exist: text <> uuid",
forcing the reflect agent to waste all 5 iterations on retries and
producing degraded mental model content.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 20:04:19 +01:00
..
__init__.py chore: drop dead code (#210) 2026-01-27 15:03:25 +01:00
agent.py fix: graph endpoint not showing links for observations (#214) 2026-01-28 14:51:25 +01:00
models.py fix: misc fixes for observations and mental models (#209) 2026-01-27 15:37:57 +01:00
observations.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
prompts.py fix: misc fixes for observations and mental models (#209) 2026-01-27 15:37:57 +01:00
tools.py fix: search_mental_models uuid type mismatch after text id migration (#225) 2026-01-28 20:04:19 +01:00
tools_schema.py fix: misc fixes for observations and mental models (#209) 2026-01-27 15:37:57 +01:00