Repository navigation
Description
Reporting and investigating a bug need no permission. Before implementing a
substantive fix for inclusion in APM, obtain human scope approval and a review
contact on this issue. Trivial documentation corrections have standing
preapproval. See Contributing.
For vulnerabilities, use SECURITY.md
instead of a public issue. Remove credentials and other sensitive data from logs.
Describe the bug
Several user-facing messages are stale. Each points users to a command, flag behavior or docs anchor that does not exist.
To Reproduce
apm search fooprintsUse QUERY@MARKETPLACE, e.g.: apm marketplace search security@skills, butapm marketplace searchis not a command (search is the top-levelapm search). Source:commands/marketplace/__init__.py:1202,1212,1220.apm packwith a marketplace block printsMARKETPLACE_DOCS_URLwith the anchor#consume-from-any-assistant, which no docs page has. Useconsumer/installing-from-marketplaces/#install-patterns. Source:commands/pack.py:22-24.apm config set mcp-registry-url http://...printsSet MCP_REGISTRY_ALLOW_HTTP=1 when using this trusted plaintext endpoint, but config-sourced URLs are exempt from that gate on purpose (registry/client.py:339-342). Source:commands/config.py:541-544.apm pack --helpsays exit2= manifest schema validation error. Schema and YAML errors exit1;2is a Click usage error (tests/unit/commands/test_pack_cli_surface.py:489-496). The block also renders as one paragraph because it lacks\b. Source:commands/pack.py:61-67.- The hidden
apm update --checkhelp says it is rejected inside a project; it is forwarded toapm self-update --check. Source:commands/update.py:463. apm compile --target antigravitysays.github/instructions/ already covers Copilotwhen it deduplicates against.agents/rules/. Source:compilation/agents_compiler.py:647-662..pre-commit-config.yaml:1saysuv run pre-commit install, but pre-commit is not a dev dependency (uvx pre-commit installworks).scripts/bootstrap_requirements.py:4names the old manifest pathdocs/src/content/docs/specs/manifests/(it isdocs/public/specs/manifests/).
Expected behavior
Each message names a real command, flag or anchor.
Environment (please complete the following information):
- OS: macOS (also reasoned from code; not platform-specific)
- Python Version: 3.12
- APM Version: main @ 2c984f6 (after v0.36.1)
- VSCode Version (if relevant): n/a
Logs
See the reproduction steps; each item was run against main.
Additional context
These are all message-only fixes and can land together.
Found by the docs corpus re-sweep (#3800): the docs now describe the intended contract (with a short note where users are hit today).
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
danielmeppiel commentedon Nov 18, 2026
Taking this for 0.37.0 as part of the docs re-sweep (#3800) code-defect batch, landing as one PR. Context, Daniel's direction for the docs report: "do not defer things nor hold things - simply fix it with the criteria of a world class documentation writer as well as the UX and Product chief", and "all those fixes must land in a single PR and in 0.37". Scope record follows.
danielmeppiel commentedon Nov 18, 2026
Decision: approve
Area: project
Scope: Correct the stale CLI messages listed in the issue: marketplace search hint, pack marketplace docs URL anchor, mcp-registry-url plaintext hint, apm pack --help exit codes and formatting, hidden apm update --check help, antigravity compile dedup message, pre-commit config comment, and bootstrap_requirements manifest path.
Done when: Each listed message names a real command, flag behavior, or docs anchor; tests assert the corrected strings where a test surface exists; CHANGELOG updated.
Out of scope: Behavior changes to the underlying commands.
Review contact: Daniel Meppiel (@danielmeppiel)