Repository navigation
Add experimental azure-web-iq connector - #78924
Conversation
Expose native web, news and approved-URL browse MCP reads with exact grants and bounded passage requests. Include a staged GitHub research handoff, setup documentation and offline Go/Node conformance coverage. Credential review: AZURE_WEB_IQ_READ_ACCESS_TOKEN is an externally renewed Entra bearer token delivered only to the selected agent-phase adapter at the fixed Microsoft endpoint. No provider writer, new action, token exchange or credential fallback is introduced. Co-authored-by: Copilot App <[email protected]>
Match runtime test names to the connector ID used by conformance CI and encode official references as XML source elements. Co-authored-by: Copilot App <[email protected]>
Require a nonempty HTTPS host and reject authority userinfo with a Go/Node-compatible pattern. Cover explicitly granted credential URLs, empty hosts and valid IPv6, ports and @ characters outside the authority before any credential or HTTP access. Co-authored-by: Copilot App <[email protected]>
|
✅ PR Specification Reviewer completed successfully! PR Specification ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ PR Code Quality Reviewer completed the code quality review. PR Code Quality ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
Request changes: the connector advertises public HTTPS browsing but does not prevent grants to private, loopback, or link-local IP destinations, allowing the hosted provider to be used to fetch internal resources. The inline comment describes the required validation and regression coverage.
Review details
- 1 actionable security finding
- The grumpy-coder specialist pass was unavailable because its pre-fetched file reads were denied; this verdict is based on independent diff analysis.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.5K
Comment /review to run again
Comment MemoryPeek at saved memory (spec-review-history)History |
Comment MemoryPeek at saved memory (review-history)History |
✅ Design Decision Gate — ADR VerifiedADR reviewed: ADR-74077: Declarative Connectors Replace Native Provider Integrations (status: Proposed). The implementation aligns with its stated decision. This PR adds one declarative connector declaration, a source-only golden consumer, docs, and tests. It changes no production Go code, which is the provider-addition path ADR-74077 describes. Linking ADR-74077 in the PR body would make the match explicit. 📋 Verification SummaryChecked against the Decision section of ADR-74077, using the PR diff and the test source (tests were not executed in this gate):
Divergences: none found. 📝 Notes for the maintainer
|
There was a problem hiding this comment.
🟡 Changes recommended
The pruning assertions inspect base64 rather than JSON and can pass despite retained data, while the new connector is missing from offline setup golden coverage.
2 open issues
What changed in this PR
Adds an experimental Microsoft Web IQ connector to gh-aw’s declarative connector catalog, enabling bounded public-web research without exposing provider writes.
Changes:
- Declares native
web,news, andbrowsemethods with exact grants, bounded requests, and Entra token authentication. - Adds a source-only consumer that stages one cited GitHub research issue, plus setup and privacy guidance.
- Extends compiler, CLI, and Go/Node boundary coverage for the new connector.
| File | Description |
|---|---|
pkg/workflow/connector_scenario_compile_test.go |
Adds Web IQ to connector compilation scenarios. |
pkg/workflow/connector_documentation_scan_test.go |
Derives the declaration count from compiler scenarios. |
pkg/workflow/connector_authoring_metadata_test.go |
Aligns authoring-order checks with the scenario count. |
pkg/workflow/azure_web_iq_connector_test.go |
Tests validation, selection, hosted calls, XML examples, and Node parity. |
pkg/cli/workflows/azure-web-iq-golden.md |
Provides a staged web/news research handoff specimen. |
pkg/cli/connectors_command_test.go |
Updates the expected bundled declaration count. |
docs/src/content/docs/reference/connectors.md |
Documents Web IQ capabilities, authentication, and limits. |
.github/workflows/connectors/azure-web-iq.md |
Defines the connector, grants, schemas, and embedded setup guidance. |
.github/aw/connectors.md |
Adds Web IQ to the connector guide and scenario catalog. |
Review effort: Max (adaptive)
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /tdd and /grill-with-docs. The connector works as designed and the focused tests pass on a clean HEAD export, but one test cannot detect the leak it is meant to catch.
📋 Key Themes & Highlights
Key Themes
- Vacuous omission checks:
Encode()is base64, so the targeted-selectionNotContainsassertions can never fail. Decoding the plan confirms only thewebtool is present, so the gap is in the test, not the plan. - Loose rejection assertions: invalid-argument and approval tests use bare
require.Error, so they would pass for unrelated failures. - Import-time limits: the
urlsandqueriesdescriptions promise per-item limits that the import schema does not enforce; they are enforced only at call time.
Positive Highlights
- ✅ Redirects are blocked in both the Go and Node runtimes.
- ✅ Arguments are validated before credentials are resolved.
- ✅ Hosted failures are not retried and do not echo private error text.
Notes
- Tests were run against a clean
git archiveof HEAD because the local working tree is dirty (azure-web-iq.mdis deleted there). These findings are not affected by that. - The earlier userinfo thread is consistent with the current browse pattern, which rejects
@in the authority.
@copilot please address the review comments above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~12 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again
Co-authored-by: Copilot App <[email protected]>
|
In response to this design-gate notice, no change is needed because it identifies no missing decision record or requested fix. |
|
In response to this processing-start notice, no code change is needed because it requests none. A start notice is not evidence that the review completed. |
|
In response to this skills-review notice, no code change is needed because the notification contains no actionable finding. |
|
In response to this Test Quality Sentinel result, reported_no_action supplies no requested fix, so no change is needed for this comment. That status alone does not establish that all review or publication work completed. |
|
In response to this specification-review notice, no code change is needed because it contains no finding or requested fix. |
|
In response to this code-quality status notice, no change is needed for the notification itself. The substantive URL-policy finding is being handled in its inline review thread. |
|
For my earlier response, the completion notice still requires no source change. The separate ADR-link suggestion has now been applied without treating the Proposed ADR as approved. |
|
In response to the completed skills-review notice, no additional change follows from this status alone. Its actionable test and import-description findings are addressed in their inline review threads. |
|
In response to Ponytail's completed review, reported_no_action contains no requested fix. It does not independently establish current validation or publication. |
|
In response to the specification-review ledger, this records zero findings and an aligned result for the earlier head 7358579. It contains no change request and does not establish validation of the updated PR. |
|
For my earlier specification-review response, the now-completed notification still contains no concrete finding or requested fix, so no additional source change is needed for it. |
|
Update to my earlier response: the URL-policy finding was discussed and its inline thread resolved in the prior pushed batch. The status notification adds no further change request. |
|
In response to the code-quality ledger, this records one finding against the earlier head 7358579 rather than a new change request. The substantive URL-policy feedback was handled in the prior review batch. |
|
In response to Test Quality Sentinel's result, reported_no_action supplies no requested change. The updated tests are validated separately rather than treating this status as validation. |
|
In response to the ADR alignment result, added a link to ADR-74077 in the PR body while preserving its Proposed status. No new architecture decision is introduced by this declaration-only provider addition, and the gate is not proof of approval or live authentication. |
|
In response to the completed code-quality review notice, the status itself requests no change. The separate URL-policy finding was discussed and resolved in its prior inline thread. |
|
Rechecked this skills-review notice: the status adds no new requested change. The substantive findings remain addressed in their inline threads. |
|
Rechecked this Test Quality Sentinel result: reported_no_action supplies no requested change. Current test evidence is separate from this historical notification. |
|
Rechecked this code-quality ledger: its single finding concerns earlier head 7358579 and was handled previously. This historical entry introduces no additional request. |
|
Rechecked this ADR result: the requested PR-body link is present and ADR-74077 remains explicitly Proposed. No additional ADR or status change is warranted by this declaration-only addition. |
|
Rechecked my earlier response: the completed specification-review notice still supplies no concrete finding or requested fix, so no further source change follows. |
|
Rechecked this specification ledger: its aligned result applies to earlier head 7358579, not current HEAD. It contains no new change request. |
|
Rechecked my earlier acknowledgment: the completion notice still requests no additional change. Its concrete findings remain handled separately. |
|
Rechecked this design-gate notice: the completion status requests no source change. The PR body already links ADR-74077 while preserving its Proposed status. |
|
Rechecked this specification-review status: it reports completion but names no concrete finding or requested fix. The existing no-change disposition remains valid. |
|
Rechecked my earlier response: no further change is needed. reported_no_action is neither a requested fix nor proof that every review or publication step succeeded. |
|
The update after my earlier response already records Ponytail's completed reported_no_action result, rather than a processing-start status. No source change follows, and the status is not current validation evidence. |
|
Rechecked my earlier response: no further source change is needed. The separate ADR-link suggestion is satisfied without changing Proposed status. |
|
Rechecked Ponytail's result: reported_no_action requests no fix. Completion alone does not establish current validation or publication. |
|
Rechecked this code-quality status: the notification requests no further change. Its separate URL-policy finding was handled in the prior inline thread. |
|
The update after my earlier response already records that the URL-policy finding was handled and its inline thread resolved. The status notice adds no further change request. |
|
🎉 This pull request is included in a new release. Release: |


Summary
Add experimental
azure-web-iq, a declaration-only connector for Microsoft Web IQ.web,news, and indexed-onlybrowsemethods through the fixedhttps://api.microsoft.ai/v3/mcpendpoint.This follows the declaration-only approach in ADR-74077, which remains Proposed, not approved.
Authentication and scope
Requires a paid Web IQ resource and an externally acquired and renewed Entra app-only token stored as
AZURE_WEB_IQ_READ_ACCESS_TOKEN, bound to exactly one Web IQ AppID. No token acquisition, exchange, refresh, or credential fallback is added. API-key authentication and multi-AppID selection are unsupported.No provider writes, triggers, live crawling, Auto/Auto Advanced, full-page formats, or arbitrary API proxy are exposed.
browserequiresliveCrawl: none, the documented indexed-content lookup mode.Trust boundaries
Validation
main.Merged
mainand resolved the overlapping connector documentation and catalog expectations. Review follow-up now checks actual plan JSON with positive selection controls, asserts specific rejection reasons, and covers Azure Web IQ in canonical offline setup tests.Live authentication and provider behavior have not been verified.