Add a new MCP tool that bridges the gap between fully automatic
evolution (inside execute_task) and manual repair (fix_skill).
scan_evolution_opportunities lets host agents proactively inspect
which skills could benefit from evolution by:
1. Loading execution analyses marked as evolution candidates
2. Enriching each with SkillRecord usage statistics (completion
rate, fallback rate, effective rate)
3. Returning a structured JSON report with prioritized suggestions
This enables an "agent-in-the-loop" evolution pattern for all host
agents (Claude Code, Codex, nanobot, Cursor, etc.): periodic scan,
review report, selectively apply fixes.
Closes#24
Made-with: Cursor
Error handlers in execute_task, fix_skill, and upload_skill returned
traceback.format_exc() to MCP clients, exposing internal file paths,
code structure, and potentially sensitive details. The full traceback
is already logged server-side via logger.error(exc_info=True).
Remove the traceback field from client-facing error responses and
clean up the unused traceback import.
Closes#19
Made-with: Cursor