Skip to content

[cli-consistency] CLI Consistency Report — 2026-11-11 #3554

Closed as not planned

Description

@github-actions

CLI Consistency Report

Date: 2026-11-11
APM Version: Agent Package Manager (APM) CLI version 0.35.0 (c79f14b)
Commands Inspected: 24 (top-level plus every command and subcommand in the task list)

Summary

Severity Count
High 0
Medium 0
Low 4

Low Severity

Inconsistent trailing periods and style in top-level command summaries

  • Command: apm --help
  • Evidence: auth Get a working credential for a git host., config Configure APM CLI., lifecycle Inspect, test, and scaffold lifecycle scripts. carry a trailing period. cache Manage the local package cache, compile Compile APM context into distributed AGENTS.md files, init Initialize a new APM project do not.
  • Suggested Fix: Drop the trailing period everywhere, or add it everywhere.

Same subcommands describe --target with very different help text

  • Command: apm install --help, apm update --help, apm compile --help, apm deps update --help
  • Evidence: apm install says "Target harness(es) to deploy to", apm update says "Agent target(s) to update for", apm compile and apm deps update say "Target platform (comma-separated)". The same flag is also repeated in apm mcp install as "Agent target(s) to deploy to".
  • Suggested Fix: Pick one noun ("target(s)") and share one help string.

--verbose / -v missing on several deps subcommands

  • Command: apm deps list, apm deps tree, apm deps info, apm deps clean
  • Evidence: Their option lists contain only --help and command-specific flags. apm deps update, apm uninstall, apm mcp search and apm mcp show all accept -v, --verbose.
  • Suggested Fix: Add -v/--verbose, or document that these commands have no verbose output.

-h is not accepted as a help alias, and --dry-run / --yes coverage is uneven

  • Command: all commands
  • Evidence: Every command shows only --help Show this message and exit.. apm uninstall has --dry-run but no -y/--yes; apm deps clean has both.
  • Suggested Fix: Optionally set context_settings={"help_option_names": ["-h", "--help"]}, and review --yes on destructive commands.

Notes

  • The task template references docs/cli-reference.md, which no longer exists. CLI docs now live in docs/src/content/docs/reference/cli/*.md. The checker prompt should be updated. A spot check of deps why, config unset, runtime status/remove, mcp list and its --limit default (20) found them documented and matching the CLI.

Clean Areas

  • Invalid input (apm install --nonexistent-flag, apm deps info, apm config set, apm mcp show) gives clean Click errors with no tracebacks.
  • No typos or TODO placeholders in help text.
  • --dry-run is spelled consistently across commands.
  • apm init, apm run, apm config * and apm runtime * have no issues.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • api.github.com

[!TIP]
api.github.com is blocked because GitHub API access uses the built-in GitHub tools by default. Instead of adding api.github.com to network.allowed, use tools.github.mode: gh-proxy for direct pre-authenticated GitHub CLI access without requiring network access to api.github.com:

tools:
  github:
    mode: gh-proxy

See GitHub Tools for more information on gh-proxy mode.

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "api.github.com"

See Network Configuration for more information.

Generated by CLI Consistency Checker · copilot · auto · 25.4 AIC · ⌖ 0.556 AIC · ⊞ 5.7K · ◷

  • expires on Nov 13, 2026, 1:05 PM UTC

Activity

  1. added
    area/cli
    type/automation
    on Nov 11, 2026
  2. danielmeppiel commented on Nov 12, 2026

    @danielmeppiel
    Collaborator

    Superseded by the newer daily report #3609.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/clitype/automation

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions