refactor(mcp): split odooly_run_script into explicit per-script tools #41
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.31) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.31 · 113 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.283
Real PR Conversation Timeline
1 comments
"Review active on #41"
general
weight: 0.35
Kimkhoi3010
Summary
create_test_job,restore_app_icons, andsend_test_mailwere only reachable as enum values of a singleodooly_run_script(script, env, to)dispatcher tool, so an agent scanning the MCP tool list had no way to discoversend_test_mailwithout reading the dispatcher's docstring.@mcp.tool(create_test_job(env),restore_app_icons(env),send_test_mail(env, to)), so all three show up by name.--enable-pluginshelp text,README.md, andsite-docs/docs/mcp.mdto match; ranmake docs-checkequivalent by touching both files together.Test plan
uv run pytest tests/test_mcp_server.py -q— 18 passeduv run pytest -q(full suite) — 195 passeduv run ruff check/uv run ruff format --check— cleanuv run ty check odoo_activity/mcp_server.py— cleanpre-commit run -a— clean