Skip to content

mecak8s: make operator flag help concise and actionable - #1669

Merged
danbarr merged 2 commits into
docs/mecatequi-help-1661from
docs/mecak8s-help-1663
Sep 17, 2026
Merged

danbarr merged 2 commits into
docs/mecatequi-help-1661from
docs/mecak8s-help-1663

Conversation

@danbarr

@danbarr danbarr commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Rewrites mecak8s --help as a concise Kubernetes operator reference.
  • Preserves authentication, TLS, token-exposure, permission-posture, retention, and destructive-action consequences.
  • Keeps flag behavior and defaults unchanged.

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 #1663

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/mecak8s
  • git diff --check
  • Manual inspection of the complete rendered mecak8s --help output

User-facing change

mecak8s --help is shorter and more scannable while retaining Kubernetes deployment and security consequences.

Special notes for reviewers

This PR is stacked on #1668 and #1667 so equivalent shared flags render consistently across the three headless binaries.

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

jhrozek commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

@danbarr instead of adding comments you'd need to resolve I added a fixup as an additional commit.

The help changes do this:

  • narrow --auth-token to static bearer authentication because OIDC and verified mTLS can still authenticate callers
  • clarify scheduled-run retention without implying that only completed sessions are deleted or that age and count limits are coupled
  • make --subagent-model-router explicit that it is a disable switch, not an activation mechanism.

@danbarr
danbarr force-pushed the docs/mecak8s-help-1663 branch from c052c5b to 5d5a301 Compare September 17, 2026 12:51
@danbarr
danbarr merged commit f29d734 into main Sep 17, 2026
36 checks passed
@danbarr
danbarr deleted the docs/mecak8s-help-1663 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.

mecak8s: make operator flag help concise and actionable

2 participants