Context Epic

User Journey

The Context bounded context enables AI systems to maintain and retrieve situational awareness across conversational interactions and project contexts. It serves as the semantic memory layer that combines conversational context (user intents, extracted entities, dialogue history) with project context (technical stack, architectural patterns, dependencies) into unified, queryable context snapshots with vector representations for semantic similarity operations.

Jobs to be Done & EARS Requirements

Job: Execute AnalyzeConversationalContext

User Story: As a conversational AI system, I want to process user input to extract intent and entities, so that I can maintain conversational context for personalized responses.

EARS Requirement:


Job: Execute AnalyzeProject

User Story: As a developer or AI system, I want to start background analysis of a codebase to extract technical context, so that I can enable context-aware code generation and architectural understanding.

EARS Requirement:


Job: Execute BuildHolisticContext

User Story: As an AI system, I want to aggregate multiple context sources (conversational, project, semantic memory, temporal state, causal history) into a unified snapshot, so that I can provide comprehensive context-aware responses.

EARS Requirement:


Job: Retrieve GetAnalysisJobStatus

User Story: As a system monitoring component or UI, I want to check the status of a project analysis job, so that I can display progress or handle completion/error states.

EARS Requirement:


Job: Retrieve GetCurrentContext

User Story: As an AI system, I want to retrieve the current context snapshot for a session, so that I can provide personalized, contextually relevant responses.

EARS Requirement:


Job: Retrieve GetHolisticVector

User Story: As a semantic search or recommendation system, I want to retrieve the vector representation of context, so that I can perform semantic similarity matching and context-aware recommendations.

EARS Requirement:


Job: Retrieve GetProjectContext

User Story: As a developer or AI system, I want to retrieve project-specific context details, so that I can understand the technical stack, architectural patterns, and dependencies for code generation and analysis.

EARS Requirement:


Domain Entities Summary

Root Aggregates

Value Objects

Integration Points