fleet-memory/hindsight-api/hindsight_api/engine/reflect
Nicolò Boschi 1c9a7a0d5e
chore: cleanup benchmarks runner with old flags (#212)
* chore: cleanup benchmarks runner with old flags

* fix tests

* fix: observations rely on source_memory_ids, no link copying

Observations no longer copy any memory_links from their source facts.
Instead, retrieval uses source_memory_ids to traverse:
- Entity connections: observation → source_memory_ids → unit_entities
- Semantic similarity: observations have their own embeddings
- Temporal proximity: observations have their own temporal fields

This avoids data duplication and fixes bidirectionality issues with
entity links being copied to observations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* test: update consolidation test for source_memory_ids behavior

Updated test_consolidation_creates_memory_links to test_consolidation_uses_source_memory_ids
to reflect the new behavior where observations use source_memory_ids instead of memory_links
for traversal.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-28 13:22:48 +01:00
..
__init__.py chore: drop dead code (#210) 2026-01-27 15:03:25 +01:00
agent.py chore: cleanup benchmarks runner with old flags (#212) 2026-01-28 13:22:48 +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: misc fixes for observations and mental models (#209) 2026-01-27 15:37:57 +01:00
tools_schema.py fix: misc fixes for observations and mental models (#209) 2026-01-27 15:37:57 +01:00