Skip to content

Add dashboard retrieval analytics and audit fixes#143

Merged
gvonness-apolitical merged 2 commits intomainfrom
feature/dashboard-analytics
Feb 27, 2026
Merged

Add dashboard retrieval analytics and audit fixes#143
gvonness-apolitical merged 2 commits intomainfrom
feature/dashboard-analytics

Conversation

@gvonness-apolitical
Copy link
Contributor

Summary

  • Dashboard retrieval analytics: New analytics section on the Overview page surfaces retrieval_feedback data — tool usage chart, retrieval volume time series, chunk size distribution, top retrieved chunks table, and summary stat cards (total retrievals, unique queries, top tool). Section hidden gracefully when no feedback data exists.
  • Projects page enriched: Retrievals and Unique Queries columns added alongside existing chunk counts.
  • Audit fixes: Streamlined skill templates (reduced duplication), added transition boundary experiment config, improved search assembler with configurable parameters, updated MCP tool definitions.
  • Version bump: 0.8.2 → 0.9.0. Updated CHANGELOG, SECURITY (supported versions ≥ 0.9.0), and dashboard docs.

New files

  • src/dashboard/client/src/components/stats/ToolUsageChart.tsx — D3 horizontal bar chart
  • src/dashboard/client/src/components/stats/SizeDistribution.tsx — D3 vertical bar chart
  • scripts/experiments/transition-boundary-experiment.ts

Modified routes

  • GET /api/stats — now includes analytics object
  • GET /api/projects — each project includes retrievals and uniqueQueries

Test plan

  • npm run build && npm test — 2027 tests pass
  • npx causantic dashboard — Overview shows analytics section with charts and table when feedback data exists
  • Analytics section hidden when no feedback data
  • Projects page shows Retrievals and Queries columns

Dashboard analytics: surface retrieval_feedback data on the Overview page
with tool usage chart, retrieval volume time series, chunk size distribution,
top retrieved chunks table, and summary stat cards. Enrich the Projects page
with retrieval and unique query counts per project.

Audit fixes: streamline skill templates, add transition boundary config,
improve search assembler with configurable parameters, and update MCP tool
definitions.

Bump version to 0.9.0.
@gvonness-apolitical gvonness-apolitical merged commit 9e53512 into main Feb 27, 2026
3 checks passed
@gvonness-apolitical gvonness-apolitical deleted the feature/dashboard-analytics branch February 27, 2026 02:25
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