OpenSpace/openspace
xzq.xu 3165b94f32 feat: add scan_evolution_opportunities MCP tool
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
2026-03-31 16:29:41 +08:00
..
agents fix: rename platform package to platforms 2026-03-26 00:09:50 +08:00
cloud fix(security): harden zip extraction and import_skill against path traversal 2026-03-31 16:23:56 +08:00
config initial commit 2026-03-24 16:03:22 +08:00
grounding fix: rename platform package to platforms 2026-03-26 00:09:50 +08:00
host_detection initial commit 2026-03-24 16:03:22 +08:00
host_skills docs: update openclaw setup instructions in host_skills README 2026-03-28 10:53:53 +08:00
llm initial commit 2026-03-24 16:03:22 +08:00
local_server initial commit 2026-03-24 16:03:22 +08:00
platforms fix: rename platform package to platforms 2026-03-26 00:09:50 +08:00
prompts initial commit 2026-03-24 16:03:22 +08:00
recording fix: rename platform package to platforms 2026-03-26 00:09:50 +08:00
skill_engine docs: update register_skill_dir docstring to reflect idempotent return 2026-03-31 14:58:01 +08:00
skills initial commit 2026-03-24 16:03:22 +08:00
utils initial commit 2026-03-24 16:03:22 +08:00
.env.example initial commit 2026-03-24 16:03:22 +08:00
__init__.py initial commit 2026-03-24 16:03:22 +08:00
__main__.py fix: CLI entry point now respects OPENSPACE_MODEL and OPENSPACE_LLM_* env vars 2026-03-31 15:36:13 +08:00
dashboard_server.py initial commit 2026-03-24 16:03:22 +08:00
mcp_server.py feat: add scan_evolution_opportunities MCP tool 2026-03-31 16:29:41 +08:00
tool_layer.py initial commit 2026-03-24 16:03:22 +08:00