Skip to content

mecated: simplify command and flag help - #1667

Merged
danbarr merged 2 commits into
mainfrom
docs/mecated-help-1662
Sep 17, 2026
Merged

danbarr merged 2 commits into
mainfrom
docs/mecated-help-1662

Conversation

@danbarr

@danbarr danbarr commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Rewrites mecated command summaries and flag descriptions as concise operator guidance.
  • Keeps common help bounded and --help-all exhaustive while preserving security, privacy, destructive-action, and network-boundary consequences.
  • Polishes shared model, MCP, and OIDC help used by the other headless binaries.

Development stage

  • Plan / Interface — Bounded/Architectural behavioral and exact-interface contract; no implementation
  • Implementation — based on an approved, merged Plan / Interface PR
  • Combined — compact one-task Bounded/Architectural exception; no separate plan PR,
    and the in-PR plan declares **Expected tasks:** 1, a non-placeholder
    **Combined rationale:**, and no runtime/public/operator/persistence/trust-boundary
    interface change (None — rationale; workflow-only meta-changes may review process
    docs/skills here)
  • Spike / Routine — acceptance-plan spine exempt; Spike evidence does not ship as-is

Contract linkage

  • Work classification: Routine
  • Classification rationale: Copy-only CLI help refinement with no behavior, defaults, or interface changes.
  • Decision record: None; no architectural decision.
  • Human waiver of spine: No
  • Acceptance plan: N/A; Routine work.
  • Human decisions resolved and recorded: N/A; the issue defines the copy scope and acceptance criteria.
  • Plan / Interface PR: N/A
  • Approved commit baseline: N/A
  • Combined/exemption rationale: N/A; Routine work.

Interface conformance

  • No runtime or machine-readable interface changes; only user-facing help text changes.

Issue relationship

Closes #1662

Type of change

  • Behavioral/interface plan
  • Bug fix
  • New feature
  • Refactoring (no behavior change)
  • Dependency update
  • Documentation/process
  • Other (describe):

Test plan

Baseline checks

  • Acceptance-plan checker
  • Linting (task lint)
  • Offline test suite (task test) — package coverage passed; the full command reached one unrelated existing macOS failure in TestCommandRunnerEnvironment_Scenario2_DefaultScrub because PATH=/bin cannot find env
  • Offline demo (go run ./cmd/mecademo)
  • Markdown changed: docs generation/link checks (task docs)
  • User docs/user-facing behavior changed: site build (task site:build)
  • Guarded engine API affected: compatibility check (task api:check)
  • Intentional engine API change: task api:update + engine/CHANGELOG.md
  • Landed plan: strict acceptance trace (task ac-trace-strict)
  • Final implementation review: /panel-review

Additional checks:

  • task build
  • go test ./cmd/mecated ./internal/cliconfig
  • git diff --check
  • Manual inspection of rendered top-level, common, and exhaustive help

User-facing change

mecated --help and mecated --help-all are shorter and easier to scan, while retaining material operational warnings.

Special notes for reviewers

This is the base of a three-PR stack because the shared internal/cliconfig help is also rendered by mecatequi and mecak8s.

@danbarr
danbarr added this pull request to stack #1670 September 16, 2026 22:11
@danbarr danbarr changed the title docs(mecated): simplify CLI help mecated: simplify command and flag help Sep 16, 2026
@jhrozek

jhrozek commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

I pushed a single correction: --max-team-tokens is checked between team rounds.

@danbarr
danbarr force-pushed the docs/mecated-help-1662 branch from 1fcb97b to 79f3d08 Compare September 17, 2026 12:51
@danbarr
danbarr merged commit b8bb85d into main Sep 17, 2026
36 checks passed
@danbarr
danbarr deleted the docs/mecated-help-1662 branch September 17, 2026 13:06
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Sep 21, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mecated: simplify command and flag help

2 participants