docs(site): document built-in CLI tools (az and gh) in tools reference#962
Draft
github-actions[bot] wants to merge 1 commit into
Draft
docs(site): document built-in CLI tools (az and gh) in tools reference#962github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Add a new 'Built-in CLIs' section to site/src/content/docs/reference/tools.mdx documenting the always-on Azure CLI (az) and GitHub CLI (gh) availability, runtime detection mechanism, AW_AZ_MOUNTS graceful degradation, conditional agent prompt advisory, and auth scope. Also add the aka.ms domain row to the default allowed domains table in network.mdx — this domain is contributed by the always-on Azure CLI extension, not CORE_ALLOWED_HOSTS, and was missing from the site table. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
azandgh) directly in the site's Tools reference — previously this existed only in the repo-leveldocs/tools.md.azsection explains whyazis available without opt-in, the runtime detection +AW_AZ_MOUNTSgraceful degradation model (with a runner posture table), the conditional agent prompt advisory, and the auth scope split betweenaz devops *(auto-authenticated) and general ARM/Graph commands (require explicit login).network.mdxdefault domains table gains its missingaka.msrow, contributed by the always-on Azure CLI extension.Changes
site/src/content/docs/reference/tools.mdx## Built-in CLIssection after the "Azure DevOps MCP" section### Azure CLI (az)subsection: detection mechanism,AW_AZ_MOUNTS, degradation table,:::caution[Auth scope]callout, conditional prompt advisory### GitHub CLI (gh)subsectionsite/src/content/docs/reference/network.mdxaka.msrow to the "Default Allowed Domains" table with attribution to the always-on Azure CLI extensionAccuracy checks
AzureCliExtension::required_hosts()insrc/compile/extensions/azure_cli.rsconfirmed as the source forlogin.microsoftonline.com,login.windows.net,management.azure.com,graph.microsoft.com,aka.msAzureCliExtensioncollected incollect_extensions()unconditionally — confirmed always-ondetection_step()) verified atsrc/compile/extensions/azure_cli.rs:128–161: checks/usr/bin/az+/opt/az, setsAW_AZ_MOUNTSto mounts or empty string, emits##vso[task.logissue type=warning]on missprompt_append_step()) verified withcondition: ne(variables['AW_AZ_MOUNTS'], '')AZURE_DEVOPS_EXT_PATpassthrough viapermissions.readpath confirmed inazure_devops/extension.rsghassumption (no install step, usesGITHUB_TOKEN) verified insrc/compile/extensions/github.rsValidation
cd site && npm ci && npm run buildCreated by the docs-writer workflow.