Skip to content

feat: add Performance Analyst agent#4

Open
unmalnickname wants to merge 3 commits intosandeco:mainfrom
unmalnickname:feat/performance-analyst-agent
Open

feat: add Performance Analyst agent#4
unmalnickname wants to merge 3 commits intosandeco:mainfrom
unmalnickname:feat/performance-analyst-agent

Conversation

@unmalnickname
Copy link
Copy Markdown

@unmalnickname unmalnickname commented May 2, 2026

Summary

Adds a new Performance Analyst agent persona to the Reversa framework. An independent agent (like Visor, Data Master, Design System, Security Auditor) that performs static performance analysis of legacy codebases.

What it covers

Section Description
Hot paths Functions in loops, recursive calls without memoization, deep middleware chains, pipeline iterations
Algorithm complexity Nested loops, unindexed searches, unnecessary sorting, regex in loops, wrong data structures
N+1 queries Lazy loading in loops, ORM without eager loading, missing pagination, materialized result sets
Resource management Connection leaks, unclosed file handles, unremoved event listeners, uncleared timers
Caching analysis Missing cache, unbounded cache, invalidation gaps, cache strategy
Concurrency risks Sequential awaits, callback hell, race conditions, absent backpressure
Bundle and assets Bundle size, missing lazy loading, uncompressed images (web apps)
Scalability In-memory state, SPOF, horizontal scaling readiness, job queue

Files changed

File Change
agents/reversa-performance-analyst/SKILL.md New - full persona (147 lines)
lib/installer/prompts.js +2 lines - OPTIONAL_AGENTS (checked by default)
lib/commands/add-agent.js +2 lines - AGENT_LABELS
templates/plan.md +2 lines - Independent Agent

Same confidence scale (green/yellow/red), static analysis only, no code modification.

Nova Corp added 3 commits April 30, 2026 22:01
- New 'reversa mcp' command: stdio MCP server with 3 tools
  (reversa_status, reversa_analyze, reversa_confidence),
  2 resources (state, inventory), and 1 prompt (new-analysis)
- Non-interactive install: --yes flag with --project, --engines,
  --user, --chat-language, --doc-language, --output, --reinstall
- Auto-healing SKILL.md: when state.json is missing but skills
  exist, the orchestrator creates state programmatically
- Updated agent SKILL.md files with MCP context
- Updated CLI docs and help text in EN/PT/ES
- Dep: @modelcontextprotocol/sdk@1.29.0
New agent persona for static performance analysis of legacy codebases.
Identifies hot paths, algorithmic complexity issues, N+1 query patterns,
resource leaks, caching gaps, concurrency risks, and scalability bottlenecks.

- Added agents/reversa-performance-analyst/SKILL.md (147 lines)
- Added agents/reversa-performance-analyst/references/ directory
- Registered in lib/installer/prompts.js as optional agent
- Registered in lib/commands/add-agent.js for post-install addition
- Added to templates/plan.md as an Independent Agent
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