Skip to content

Fix #756: Session enrichment pipeline with concept extraction#829

Merged
AlexMikhalev merged 7 commits intomainfrom
task/756-session-enrichment-pipeline-v2
Apr 22, 2026
Merged

Fix #756: Session enrichment pipeline with concept extraction#829
AlexMikhalev merged 7 commits intomainfrom
task/756-session-enrichment-pipeline-v2

Conversation

@AlexMikhalev
Copy link
Copy Markdown
Contributor

Implements session enrichment pipeline with concept extraction per Spec F5.1 / Task 3.1.

Changes

  • Add enrichment field to SessionMetadata (feature-gated)
  • Wire up actual enrichment in REPL /sessions enrich command
  • Add enrichment feature to terraphim_agent Cargo.toml
  • Fix SessionMetadata construction sites for feature-gated field

Verification

  • cargo test passes (57/57)
  • cargo clippy -- -D warnings passes

Refs #756

…Spec F5.1 / Task 3.1) Refs #756

- Add enrichment field to SessionMetadata (feature-gated)
- Wire up actual enrichment in REPL /sessions enrich command
- Add enrichment feature to terraphim_agent Cargo.toml
- Fix SessionMetadata construction sites for feature-gated field

Acceptance criteria:
- SessionEnricher processes messages through terraphim_automata
- ConceptMatch with occurrence count, message IDs, and confidence
- Concept pair detection (co-occurring concepts)
- Dominant topic identification via frequency analysis
- Enrichment results stored in SessionMetadata
- /sessions enrich command triggers enrichment on demand
- Feature-gated via enrichment feature flag
- cargo test passes (57/57)
- cargo clippy -- -D warnings passes
@AlexMikhalev AlexMikhalev force-pushed the task/756-session-enrichment-pipeline-v2 branch from af161ed to 5296190 Compare April 22, 2026 08:42
@AlexMikhalev AlexMikhalev merged commit d99ea1b into main Apr 22, 2026
6 of 7 checks passed
@AlexMikhalev AlexMikhalev deleted the task/756-session-enrichment-pipeline-v2 branch April 22, 2026 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant