Skip to content

Connect agent-performance-analyzer to AgentDB for trend, recall, and regression memory#32820

Merged
pelikhan merged 4 commits into
mainfrom
copilot/connect-agent-performance-analyzer-to-agentdb
May 17, 2026
Merged

Connect agent-performance-analyzer to AgentDB for trend, recall, and regression memory#32820
pelikhan merged 4 commits into
mainfrom
copilot/connect-agent-performance-analyzer-to-agentdb

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 17, 2026

This change wires agent-performance-analyzer into AgentDB and updates its operating instructions to use AgentDB as a first-class analysis backend. It targets the requested outcomes: faster trend deltas, semantic recall of similar incidents, and persistence of resolved patterns for regression detection.

  • Workflow integration

    • Adds the shared AgentDB MCP import to the analyzer workflow:
      • shared/mcp/agentdb.md
  • AgentDB analysis contract

    • Defines a consistent metrics/profile record shape for ingestion.
    • Directs the agent to compute score deltas/trends from AgentDB queries before scanning all daily files.
    • Adds concrete semantic recall query targets (e.g., token budget exhaustion, duplicate issue creation, PR rejection spikes).
  • Pattern persistence for future regression detection

    • Specifies persisted resolved-pattern fields:
      • pattern_id, pattern_name, resolution, resolved_at, workflows_affected, regression_signals
    • Clarifies regression signal examples to standardize future detection logic.
imports:
  - uses: shared/meta-analysis-base.md
    with:
      toolsets: [default, actions, repos]
  - shared/reporting.md
  - shared/mcp/agentdb.md
  - shared/observability-otlp.md

Copilot AI and others added 3 commits May 17, 2026 13:50
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Connect agent-performance-analyzer to agentdb Connect agent-performance-analyzer to AgentDB for trend, recall, and regression memory May 17, 2026
Copilot AI requested a review from pelikhan May 17, 2026 13:56
@pelikhan pelikhan marked this pull request as ready for review May 17, 2026 14:01
Copilot AI review requested due to automatic review settings May 17, 2026 14:01
@pelikhan pelikhan merged commit 1457637 into main May 17, 2026
@pelikhan pelikhan deleted the copilot/connect-agent-performance-analyzer-to-agentdb branch May 17, 2026 14:01
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Wires the agent-performance-analyzer workflow to the shared AgentDB MCP, and documents how the agent should ingest metrics, query for trends/semantic recall, and persist resolved patterns for regression detection.

Changes:

  • Adds the shared/mcp/agentdb.md import to the analyzer workflow.
  • Documents a standard record shape for ingested metrics/profiles and AgentDB query targets.
  • Specifies fields for persisting resolved patterns and example regression signals.
Show a summary per file
File Description
.github/workflows/agent-performance-analyzer.md Imports AgentDB MCP and adds instructions for ingestion, queries, semantic recall, and pattern persistence.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

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.

[q] connect agent-performance-analyzer to agentdb

3 participants