Repository navigation
fix(runtime): thread semantic topics into local daemon - #657
Conversation
|
Important Review skippedNo new commits to review since the last review. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughAdds a ChangesSemantic Topic Store Plumbing
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Summary
semantic_topic_store_factoryintoLocalDaemonSessionRuntimeProviderso local-daemon runtime rebuilds receive the durable TopicStore.Nonebehavior for direct provider construction.LocalDaemonRuntimePreparationService.prepare_runtimepath.Root Cause
On o6n, local-daemon sessions rebuilt runtime via
LocalDaemonSessionRuntimeProvider.prepare_runtime, but that path did not passsemantic_topic_storeintocreate_agent_for_session.SemanticMemoryPlugintherefore used_NoopTopicStore, semantic topic hits could not be rehydrated, and KB defer did not trigger even though the semantic index and planner were healthy.Verification
uv run pytest tests/coding_agent/test_local_daemon_executor.py tests/coding_agent/test_runtime_preparation.py tests/coding_agent/test_memory_switch.py -q-> 60 passeduv run ruff format --check src/coding_agent/executors/local_daemon.py src/coding_agent/runs/runtime_preparation.py tests/coding_agent/test_local_daemon_executor.py tests/coding_agent/test_runtime_preparation.pygit diff --checkSummary by CodeRabbit
New Features
Tests