chore: extract tool OpenAPI schemas into params/openapi.rs #591
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.40) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 309 lines diff across 3 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
Diff Size
diff_size
0.343
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #591"
general
weight: 0.35
franciscojavierarceo
Summary
Part of #312.
crates/agentic-server-core/src/types/tools/params.rsexceeded the 500-line production limit (537 production lines). Extracted the manual#[cfg(feature = "openapi")]utoipa::PartialSchemaandutoipa::ToSchematrait implementations (NonEmptyToolName,ShellEnvironment,ResponsesTool, andCodexNamespaceMember) intoparams/openapi.rswith no behavior changes, reducingparams.rsto 434 production lines (params/openapi.rsis 157 production lines) and removing its baseline and exception entries from.rust-file-sizes.json.Changes by API
| API | What changed |
| --- | --- |
| Responses API (
/v1/responses) | no wire change (internal OpenAPI schema module extraction only) |New modules
crates/agentic-server-core/src/types/tools/params/openapi.rs(157 production lines): holds the manualutoipa::PartialSchemaandutoipa::ToSchemaimplementations forNonEmptyToolName,ShellEnvironment,ResponsesTool(includingtaggedandcode_interpreter_taggedhelpers), andCodexNamespaceMemberwhenfeature = "openapi"is enabled.Test Plan
AI assistance was used to prepare this change; I reviewed the diff and ran the checks above.