[Phase 6.3.7] Intent Router Integration #89

Closed
opened 2026-04-07 03:13:31 +00:00 by Mark · 0 comments
Owner

Parent: #73 (Conversation/Project Memory)

Overview

Integrate project memory context into intent routing pipeline.

Details

Modify runtime/intent_router.py:

Integration points:

  1. Check for conversation_id in intent payload
  2. If conversation_id present, assemble project context
  3. Inject assembled context into intent before routing
  4. Track conversation-intent linkage in memory system
  5. Update conversation status based on intent completion

Context injection:

if conversation_id := intent.get("conversation_id"):
    context = memory_manager.assemble_context(conversation_id)
    intent["project_context"] = context.to_dict()

Tracking:

  • Link intents to conversations
  • Record turn from intent execution
  • Update todo status on completion

Acceptance Criteria

  • Context injected for intents with conversation_id
  • Working memory in context matches recent turns
  • Episodes retrieved via semantic similarity
  • TODOs included in context
  • No performance regression in routing
## Parent: #73 (Conversation/Project Memory) ## Overview Integrate project memory context into intent routing pipeline. ## Details Modify `runtime/intent_router.py`: **Integration points:** 1. Check for conversation_id in intent payload 2. If conversation_id present, assemble project context 3. Inject assembled context into intent before routing 4. Track conversation-intent linkage in memory system 5. Update conversation status based on intent completion **Context injection:** ```python if conversation_id := intent.get("conversation_id"): context = memory_manager.assemble_context(conversation_id) intent["project_context"] = context.to_dict() ``` **Tracking:** - Link intents to conversations - Record turn from intent execution - Update todo status on completion ## Acceptance Criteria - [ ] Context injected for intents with conversation_id - [ ] Working memory in context matches recent turns - [ ] Episodes retrieved via semantic similarity - [ ] TODOs included in context - [ ] No performance regression in routing
Mark closed this issue 2026-04-07 03:46:48 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/mesh-seed#89
No description provided.