Memory Epic

User Journey

The Memory bounded context provides semantic memory capabilities through vector embeddings for policy documents. It enables similarity-based search beyond keyword matching, allowing policy consumers to find relevant governance rules using natural language queries even when different terminology is used.

Jobs to be Done & EARS Requirements

Job: Store Policy Embeddings

User Story: As a policy administrator, I want to generate and store vector embeddings for policy documents, so that they can be retrieved through semantic search.

EARS Requirement:


Job: Update Policy Embeddings

User Story: As a policy administrator, I want to update embeddings when policy documents change, so that semantic search reflects current governance rules.

EARS Requirement:


Job: Search Policies by Semantic Meaning

User Story: As a policy consumer, I want to search for policies by semantic meaning (not just keywords), so that I can find relevant governance rules even when using different terminology.

EARS Requirement:


Job: Retrieve Policy by Embedding Reference

User Story: As a query system, I want to retrieve full policy documents by embedding reference, so that I can present complete governance rules to users.

EARS Requirement:


Domain Entities Summary

Root Aggregates

Value Objects

Policy Rules

Integration Points