-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
automationbugSomething isn't workingSomething isn't workingclidocumentationImprovements or additions to documentationImprovements or additions to documentationneeds-triageNew issue, not yet reviewed by maintainersNew issue, not yet reviewed by maintainers
Description
CLI Consistency Report
Date: 2026-03-03
APM Version: 0.7.4
Commands Inspected: 29 (27 exist; 2 tested but do not exist: apm mcp install, apm config list)
Summary
| Severity | Count |
|---|---|
| High | 2 |
| Medium | 7 |
| Low | 3 |
High Severity
apm search and apm show documented but do not exist
- Commands:
apm search,apm show - Problem: The Quick Start Workflow section and Tips section of
docs/cli-reference.mdreferenceapm searchandapm showas top-level commands, but they do not exist. The correct commands areapm mcp searchandapm mcp show. - Evidence:
docs/cli-reference.mdline 994–995:apm search filesystem apm show `@modelcontextprotocol/servers`/src/filesystem ```docs/cli-reference.mdline 1014:Use \apm search` to find available MCP servers before adding to apm.yml`- Running
apm search filesystemreturns:Error: No such command 'search'.
- Suggested Fix: Replace all references to
apm searchwithapm mcp searchandapm showwithapm mcp showin the Quick Start Workflow and Tips & Best Practices sections ofdocs/cli-reference.md.
apm uninstall --verbose documented but does not exist
- Command:
apm uninstall - Problem:
docs/cli-reference.mddocuments a--verboseoption forapm uninstall, but the CLI does not have this flag. - Evidence:
docs/cli-reference.mdline 262:- \--verbose` - Show detailed removal information`apm uninstall --helpoutput:Options: --dry-run Show what would be removed without removing --help Show this message and exit.- No
--verboseflag present.
- Suggested Fix: Remove
--verbosefrom theapm uninstalloptions indocs/cli-reference.md, or implement the flag in the CLI.
Medium Severity
apm compile — four flags missing from documentation
- Command:
apm compile - Problem: Four flags present in
apm compile --helpare not documented indocs/cli-reference.md. - Evidence (
apm compile --help):None of these appear in the--single-agents 📄 Force single-file compilation (legacy mode) -v, --verbose 🔍 Show detailed source attribution and optimizer analysis --local-only 🏠 Ignore dependencies, compile only local primitives --clean 🧹 Remove orphaned AGENTS.md files that are no longer generatedapm compileoptions table indocs/cli-reference.md. - Suggested Fix: Add
--single-agents,-v/--verbose,--local-only, and--cleanto the options list forapm compileindocs/cli-reference.md.
apm mcp list exists in CLI but is not documented
- Command:
apm mcp list - Problem:
apm mcp --helpshows alistsubcommand butdocs/cli-reference.mdonly documentsapm mcp searchandapm mcp show. - Evidence (
apm mcp --help):TheCommands: list List all available MCP servers search Search MCP servers in registry show Show detailed MCP server informationlistcommand has no entry in the documentation. - Suggested Fix: Add a section for
apm mcp listtodocs/cli-reference.md.
apm runtime setup argument description is a copy-paste error and is incomplete
- Command:
apm runtime setup - Problem: The argument description in docs says "Runtime to remove:
codex, orllm" — copied fromapm runtime remove. The description is wrong and omitscopilot. - Evidence:
docs/cli-reference.mdline 868:- \RUNTIME_NAME` - Runtime to remove: `codex`, or `llm``apm runtime setup --help:Usage: apm runtime setup [OPTIONS] {copilot|codex|llm}copilotis a valid runtime but is absent from the docs argument description.
- Suggested Fix: Change line 868 to:
- \RUNTIME_NAME` - Runtime to install: `copilot`, `codex`, or `llm``
apm runtime setup --version flag not documented
- Command:
apm runtime setup - Problem: The
--version TEXTflag (to install a specific version) exists in the CLI but is not listed in the docs. - Evidence (
apm runtime setup --help):Options: --version TEXT Specific version to install --vanilla Install runtime without APM configuration ... --help Show this message and exit. ``` `docs/cli-reference.md` only mentions `--vanilla` in this section. - Suggested Fix: Add
--version TEXTto theapm runtime setupoptions indocs/cli-reference.md.
apm compile --target missing agents as valid value
- Command:
apm compile - Problem: The CLI accepts
agentsas a valid--targetvalue, but docs only listvscode,claude, andall. - Evidence (
apm compile --help):-t, --target [vscode|agents|claude|all]docs/cli-reference.mdline 632 (compile options table):The`-t, --target TEXT` - Target agent format: `vscode`, `claude`, or `all`. Auto-detects if not specified.agentsvalue is undocumented. - Suggested Fix: Add
agentsto the documented values for--target, and note thatagentsis an alias forvscode.
apm runtime setup section in docs uses stale "Supported Runtimes" list
- Command:
apm runtime - Problem: The
apm runtimesection states "Currently supports two runtimes:codex, andllm" — omittingcopilot, which bothapm runtime setupandapm runtime removeaccept. - Evidence (
docs/cli-reference.md):But**Supported Runtimes:** - **`codex`** - OpenAI Codex CLI with GitHub Models support - **`llm`** - Simon Willison's LLM library with multiple providersapm runtime setup --helpshows{copilot|codex|llm}. - Suggested Fix: Add
copilotto the Supported Runtimes list indocs/cli-reference.md.
apm deps update contains a leftover developer note in user-facing docs
- Command:
apm deps update - Problem: The documentation for
apm deps updateends with a note that reads like internal developer commentary rather than user documentation. - Evidence (
docs/cli-reference.md):**Note:** Package update functionality requires dependency downloading infrastructure from enhanced install command. - Suggested Fix: Remove or replace this note with meaningful user-facing information (e.g., a caveat about what update does or a cross-reference to
apm install --update).
Low Severity
Inconsistent emoji usage in top-level command help text
- Commands:
apm uninstall,apm run,apm list,apm preview,apm prune - Problem: Several commands lack emojis in their one-line help descriptions shown by
apm --help, while others (apm init,apm install,apm compile) have them. This creates visual inconsistency in the help output. - Evidence (
apm --help):compile 🚀 Compile APM context into distributed AGENTS.md files init 🚀 Initialize a new APM project install 📦 Install APM and MCP dependencies ... list List available scripts in the current project ← no emoji preview Preview a script's compiled prompt files ← no emoji prune Remove APM packages not listed in apm.yml ← no emoji run Run a script with parameters ← no emoji uninstall Remove APM packages from apm.yml and apm_modules ← no emoji - Suggested Fix: Add relevant emojis to the help strings for
uninstall,run,list,preview, andpruneto match the style of the other commands.
apm compile --target described as free-form TEXT in docs, but CLI enforces specific choices
- Command:
apm compile - Problem: The docs table lists
--target TEXT(implying any string), while the CLI enforces a strict choice set[vscode|agents|claude|all]. - Evidence:
- Docs:
-t, --target TEXT - CLI:
-t, --target [vscode|agents|claude|all]
- Docs:
- Suggested Fix: Update docs to show
-t, --target [vscode|agents|claude|all]to accurately reflect the accepted values.
apm runtime remove --yes flag not documented
- Command:
apm runtime remove - Problem:
apm runtime remove --helpshows a--yesflag (to skip confirmation prompt) but docs do not mention it. - Evidence (
apm runtime remove --help):Options: --yes Confirm the action without prompting. --help Show this message and exit. - Suggested Fix: Add
--yesto the options forapm runtime removeindocs/cli-reference.md.
Clean Areas
The following commands and areas passed all checks with no issues found:
apm init— Help text, options, and docs are consistent.apm install— All flags (--runtime,--exclude,--only,--update,--dry-run,--verbose) match docs.apm update— Help text and docs are consistent.apm deps list,apm deps tree,apm deps info,apm deps clean— All consistent with docs.apm mcp search,apm mcp show— Consistent with docs.apm config get,apm config set— Consistent with docs.apm runtime list,apm runtime status— Consistent with docs.- Error handling — All tested invalid invocations (
--nonexistent-flag, missing required args) produce clean Click error messages with usage hints. No tracebacks observed.
Generated by CLI Consistency Checker
- expires on Mar 5, 2026, 1:30 PM UTC
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
automationbugSomething isn't workingSomething isn't workingclidocumentationImprovements or additions to documentationImprovements or additions to documentationneeds-triageNew issue, not yet reviewed by maintainersNew issue, not yet reviewed by maintainers