Skip to content

t1288.3: Enable openapi-search MCP for Build+, AI-DevOps, Research agents#2094

Merged
marcusquinn merged 1 commit intomainfrom
feature/t1288.3
Feb 21, 2026
Merged

t1288.3: Enable openapi-search MCP for Build+, AI-DevOps, Research agents#2094
marcusquinn merged 1 commit intomainfrom
feature/t1288.3

Conversation

@marcusquinn
Copy link
Owner

@marcusquinn marcusquinn commented Feb 21, 2026

Summary

  • Enable openapi-search_*: true for Build+, AI-DevOps, and Research agents only (disabled globally for all others)
  • Build+ and Research: added to AGENT_TOOLS dict (primary agents)
  • AI-DevOps: added aidevops case to subagent stub generator (subagent with openapi-search_*: true)
  • Updated documentation comments in both AGENT_TOOLS and DEFAULT_TOOLS sections

The openapi-search MCP server was already configured as lazy-loaded and disabled globally. This change selectively enables the tools for three agents that benefit from API exploration capabilities.

Ref #2071

Summary by CodeRabbit

  • New Features

    • OpenAPI search functionality is now enabled across Build+, AI-DevOps, Onboarding, and Research contexts, providing broader access to search capabilities.
  • Documentation

    • Updated documentation to reflect OpenAPI search availability and scope.

…s (t1288.3)

openapi-search was already configured as a lazy-loaded MCP disabled globally.
This enables openapi-search_* tools for three specific agents:
- Build+: via AGENT_TOOLS (primary agent)
- Research: via AGENT_TOOLS (primary agent)
- AI-DevOps: via subagent stub generator case statement

Chose to add aidevops to the subagent case statement (matching existing
patterns like openapi-search, claude-code, playwriter) since AI-DevOps
is a subagent, not a primary agent.
@gemini-code-assist
Copy link

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 21, 2026

Walkthrough

Enables OpenAPI search tooling across Build+, Onboarding, and Research agent tool sets. Adds openapi-search_* to per-agent extra-tools for subagent generation, ensuring the capability is included in AIDevOps subagent tool definitions.

Changes

Cohort / File(s) Summary
Agent Tool Configuration
.agents/scripts/generate-opencode-agents.sh
Unconditionally exposes openapi-search_* across multiple agent tool sets (Build+, Onboarding, Research) and integrates the capability into subagent generation for AIDevOps contexts.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Poem

🔍 OpenAPI search now flows free,
Across agents—Build, Research, and DevOps spree,
Subagents inherit the tooling delight,
Zero debt maintained, quality stays tight! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: enabling openapi-search MCP for three specific agents (Build+, AI-DevOps, Research), which matches the core objective and summary of changes in the pull request.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/t1288.3

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

🔍 Code Quality Report

�[0;35m[MONITOR]�[0m Code Review Monitoring Report

�[0;34m[INFO]�[0m Latest Quality Status:
SonarCloud: 0 bugs, 0 vulnerabilities, 34 code smells

�[0;34m[INFO]�[0m Recent monitoring activity:
Sat Feb 21 07:37:13 UTC 2026: Code review monitoring started
Sat Feb 21 07:37:14 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 34

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 34
  • VULNERABILITIES: 0

Generated on: Sat Feb 21 07:37:17 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@sonarqubecloud
Copy link

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
.agents/scripts/generate-opencode-agents.sh (1)

130-146: ⚠️ Potential issue | 🟡 Minor

Update the stale log message at line 678 downstream of this change.

Adding openapi-search_*: True to primary-agent AGENT_TOOLS makes the existing print at line 678 inaccurate — it still reads "@openapi-search subagent only", but Build+ (and Research per segment below) now also carry the tool permission.

📝 Suggested fix at line 678
-    print("  Added openapi-search MCP (lazy load - `@openapi-search` subagent only)")
+    print("  Added openapi-search MCP (lazy load - Build+/Research primary agents + `@openapi-search/`@aidevops subagents)")
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.agents/scripts/generate-opencode-agents.sh around lines 130 - 146, The
log/print that still reads "@openapi-search subagent only" is now incorrect
because AGENT_TOOLS was updated to include "openapi-search_*": True for Build+
(and Research), so update the message referenced by that print to reflect that
openapi-search is enabled for those agent segments (e.g., remove "only" or
change to "@openapi-search subagent enabled for Build+ and Research"), locating
the statement that mentions "@openapi-search subagent only" and replacing it
with the corrected wording so it matches the AGENT_TOOLS configuration.
🧹 Nitpick comments (1)
.agents/scripts/generate-opencode-agents.sh (1)

754-756: Consider adding webfetch: true to the aidevops subagent for consistency with its peers.

The openapi-search standalone subagent (line 751) and the Research primary agent (line 177) both pair openapi-search_* with webfetch. The aidevops base template only provides read and bash, so direct URL fetching (e.g. fetching an OpenAPI spec URL returned by the tool) falls back to curl via bash rather than the native webfetch tool. If that's intentional, it's fine — otherwise:

♻️ Suggested addition
 	aidevops)
-		extra_tools=$'  openapi-search_*: true'
+		extra_tools=$'  openapi-search_*: true\n  webfetch: true'
 		;;
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.agents/scripts/generate-opencode-agents.sh around lines 754 - 756, The
aidevops subagent configuration currently sets extra_tools to include
openapi-search_* but omits webfetch, causing URL fetching to fall back to
curl/bash; update the aidevops case that sets extra_tools (the aidevops block)
to also include webfetch: true alongside openapi-search_* so the subagent can
use the native webfetch tool when the openapi-search tool returns a URL or spec.
Ensure the change mirrors the pairing used by the openapi-search standalone
subagent and the Research agent (openapi-search_* + webfetch).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In @.agents/scripts/generate-opencode-agents.sh:
- Around line 130-146: The log/print that still reads "@openapi-search subagent
only" is now incorrect because AGENT_TOOLS was updated to include
"openapi-search_*": True for Build+ (and Research), so update the message
referenced by that print to reflect that openapi-search is enabled for those
agent segments (e.g., remove "only" or change to "@openapi-search subagent
enabled for Build+ and Research"), locating the statement that mentions
"@openapi-search subagent only" and replacing it with the corrected wording so
it matches the AGENT_TOOLS configuration.

---

Nitpick comments:
In @.agents/scripts/generate-opencode-agents.sh:
- Around line 754-756: The aidevops subagent configuration currently sets
extra_tools to include openapi-search_* but omits webfetch, causing URL fetching
to fall back to curl/bash; update the aidevops case that sets extra_tools (the
aidevops block) to also include webfetch: true alongside openapi-search_* so the
subagent can use the native webfetch tool when the openapi-search tool returns a
URL or spec. Ensure the change mirrors the pairing used by the openapi-search
standalone subagent and the Research agent (openapi-search_* + webfetch).

@marcusquinn marcusquinn merged commit 950532f into main Feb 21, 2026
11 checks passed
@marcusquinn marcusquinn deleted the feature/t1288.3 branch February 21, 2026 07:53
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