Skip to content

[docs] Update documentation for v0.8.12 features#776

Open
danielmeppiel wants to merge 1 commit intomainfrom
docs/update-v0.8.12-features-4eb65beb373b31f8
Open

[docs] Update documentation for v0.8.12 features#776
danielmeppiel wants to merge 1 commit intomainfrom
docs/update-v0.8.12-features-4eb65beb373b31f8

Conversation

@danielmeppiel
Copy link
Copy Markdown
Collaborator

Documentation Updates - 2026-04-20

This PR updates the documentation based on features shipped in v0.8.12 (released 2026-04-19, #774).

Features Documented

Changes Made

  • Updated docs/src/content/docs/reference/cli-commands.md:
    • Auto-detection note for Claude integration now clarifies that --target claude creates .claude/ even when absent (previously the wording implied the directory must pre-exist, actively misleading users bootstrapping a new Claude setup)
    • Added minimal to the --target flag value list for apm compile (it was missing, making --target minimal undiscoverable)
  • Updated docs/src/content/docs/guides/compilation.md:
    • Added apm compile --target minimal to the example code block
  • Updated docs/src/content/docs/getting-started/authentication.md:

Merged PRs Referenced

Notes

The only commit in the last 24 hours was the v0.8.12 release preparation (#774). All gaps identified are from features included in that release that were not yet reflected in the docs site.

Generated by Daily Documentation Updater ·

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/daily-doc-updater.md@b87234850bf9664d198f28a02df0f937d0447295
  • expires on Apr 22, 2026, 3:59 AM UTC

- cli-commands.md: clarify --target claude creates .claude/ on first run
- cli-commands.md: add 'minimal' to --target values in apm compile options
- compilation.md: add --target minimal example to code block
- authentication.md: add ADO troubleshooting entry for auth failures
- authentication.md: note codeload.github.com archive URL proxy support

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@danielmeppiel danielmeppiel added automation documentation Improvements or additions to documentation labels Apr 20, 2026
Copilot AI review requested due to automatic review settings April 20, 2026 03:59
@danielmeppiel danielmeppiel enabled auto-merge April 20, 2026 03:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Documentation refresh for v0.8.12 release features, covering target behavior, compilation discoverability, and enterprise auth/proxy troubleshooting.

Changes:

  • Clarifies Claude integration auto-detection and notes that explicit --target claude bootstraps .claude/.
  • Documents minimal as a compilation target and adds it to examples/CLI reference.
  • Expands authentication docs with ADO troubleshooting and clarifies registry proxy behavior for codeload-style archives.
Show a summary per file
File Description
docs/src/content/docs/reference/cli-commands.md Updates CLI reference text for install auto-detection and compile --target options.
docs/src/content/docs/guides/compilation.md Adds apm compile --target minimal to the quick-start examples.
docs/src/content/docs/getting-started/authentication.md Adds ADO auth troubleshooting and expands proxy registry explanation (including codeload behavior).

Copilot's findings

  • Files reviewed: 3/3 changed files
  • Comments generated: 4

**Options:**
- `-o, --output TEXT` - Output file path (for single-file mode)
- `-t, --target [vscode|agents|claude|codex|opencode|all]` - Target agent format. `agents` is an alias for `vscode`. Auto-detects if not specified.
- `-t, --target [vscode|agents|claude|codex|opencode|minimal|all]` - Target agent format. `agents` is an alias for `vscode`. `minimal` generates `AGENTS.md` only with no folder integration. Auto-detects if not specified.
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

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

apm compile does not currently accept --target minimal (Click choices in src/apm_cli/commands/compile/cli.py omit minimal, and detect_target() does not handle explicit_target == "minimal"). As written, this option list + description will mislead users; either remove minimal from the explicit --target list (and document it as an auto-detected fallback), or update the CLI implementation to accept/route explicit minimal.

Suggested change
- `-t, --target [vscode|agents|claude|codex|opencode|minimal|all]` - Target agent format. `agents` is an alias for `vscode`. `minimal` generates `AGENTS.md` only with no folder integration. Auto-detects if not specified.
- `-t, --target [vscode|agents|claude|codex|opencode|all]` - Target agent format. `agents` is an alias for `vscode`. If no target is specified, APM auto-detects the best target and may fall back to `minimal`, which generates `AGENTS.md` only with no folder integration.

Copilot uses AI. Check for mistakes.
apm compile --target copilot # Force GitHub Copilot, Cursor, Gemini
apm compile --target codex # Force Codex CLI
apm compile --target claude # Force Claude Code, Claude Desktop
apm compile --target minimal # AGENTS.md only, no folder integration
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

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

This example implies apm compile --target minimal is a valid explicit invocation. In the current CLI (src/apm_cli/commands/compile/cli.py), --target choices do not include minimal, and target detection does not honor explicit_target="minimal", so the command will fail. Either drop the explicit --target minimal example or update the implementation to support it.

Copilot uses AI. Check for mistakes.
```

When `PROXY_REGISTRY_URL` is set, APM rewrites download URLs to go through the proxy and sends `PROXY_REGISTRY_TOKEN` as the `Authorization: Bearer` header instead of the GitHub PAT.
When `PROXY_REGISTRY_URL` is set, APM rewrites download URLs to go through the proxy and sends `PROXY_REGISTRY_TOKEN` as the `Authorization: Bearer` header instead of the GitHub PAT. This includes both GitHub API archive downloads and `codeload.github.com`-style tarball URLs, so JFrog Artifactory proxies configured against `codeload.github.com` work correctly in proxy-only mode.
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

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

This sentence says proxy mode covers "GitHub API archive downloads" and "codeload.github.com-style tarball URLs". The proxy code-path actually builds GitHub/GitLab/codeload-style archive paths (zip) for Artifactory (see build_artifactory_archive_url()), not GitHub API tarball endpoints. Recommend rewording to avoid implying GitHub API tarball support here, and to describe the codeload zip archive path behavior more precisely.

Suggested change
When `PROXY_REGISTRY_URL` is set, APM rewrites download URLs to go through the proxy and sends `PROXY_REGISTRY_TOKEN` as the `Authorization: Bearer` header instead of the GitHub PAT. This includes both GitHub API archive downloads and `codeload.github.com`-style tarball URLs, so JFrog Artifactory proxies configured against `codeload.github.com` work correctly in proxy-only mode.
When `PROXY_REGISTRY_URL` is set, APM rewrites archive downloads to go through the proxy and sends `PROXY_REGISTRY_TOKEN` as the `Authorization: Bearer` header instead of the GitHub PAT. In proxy mode, APM builds Artifactory-compatible GitHub, GitLab, and `codeload.github.com`-style zip archive paths, so JFrog Artifactory proxies configured for those archive paths work correctly in proxy-only mode.

Copilot uses AI. Check for mistakes.

### Azure DevOps authentication errors

If `apm install` fails with an ADO-specific error (e.g., `Authentication failed for dev.azure.com`), ensure `ADO_APM_PAT` is set and has **Code (Read)** permission for the target organisation. ADO does not fall back to unauthenticated access -- all ADO installs require an explicit PAT:
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

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

Spelling is inconsistent with the rest of this page (which uses "organization"). Consider changing "organisation" to "organization" for consistency.

Suggested change
If `apm install` fails with an ADO-specific error (e.g., `Authentication failed for dev.azure.com`), ensure `ADO_APM_PAT` is set and has **Code (Read)** permission for the target organisation. ADO does not fall back to unauthenticated access -- all ADO installs require an explicit PAT:
If `apm install` fails with an ADO-specific error (e.g., `Authentication failed for dev.azure.com`), ensure `ADO_APM_PAT` is set and has **Code (Read)** permission for the target organization. ADO does not fall back to unauthenticated access -- all ADO installs require an explicit PAT:

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants