Skip to content

feat: add exemplar session library#117

Merged
ccf merged 1 commit intomainfrom
feat/exemplar-session-library
Mar 16, 2026
Merged

feat: add exemplar session library#117
ccf merged 1 commit intomainfrom
feat/exemplar-session-library

Conversation

@ccf
Copy link
Owner

@ccf ccf commented Mar 16, 2026

Summary

  • add a workflow-aware exemplar session library to Growth pattern sharing
  • enrich pattern-sharing responses with exemplar workflow, cost, and linked-pattern evidence
  • update the roadmap to mark shipped workflow items and capture website positioning follow-up

Testing

  • pytest tests/test_growth.py -q
  • cd frontend && ./node_modules/.bin/vitest run --run src/components/growth/tests/bright-spot-cards.test.tsx src/components/growth/tests/exemplar-session-library.test.tsx src/pages/tests/growth.test.tsx

Note

Medium Risk
Adds new derived data to the pattern-sharing analytics response (including workflow and cost enrichment) and surfaces it in the Growth UI, which could affect query performance and downstream consumers expecting the prior response shape.

Overview
Adds an Exemplar Session Library to the Growth "Patterns" tab, rendering workflow-aware exemplar cards (support, success, duration, cost, tools, linked patterns) with an empty-state fallback.

Extends the pattern-sharing analytics response to include exemplar_sessions, derived from each cluster’s best approach and enriched with SessionWorkflowProfile, SessionFacets.brief_summary, tool usage, and estimated cost computed from aggregated ModelUsage token totals.

Updates backend/frontend API schemas and adds unit/integration tests covering the new response fields and UI rendering; roadmap is updated to mark shipped items and add a website positioning follow-up section.

Written by Cursor Bugbot for commit d9f333b. This will update automatically on new commits. Configure here.

@ccf ccf merged commit af08154 into main Mar 16, 2026
6 checks passed
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