Skip to content

fix: derive CLI help from Milo metadata - #309

Merged
lbliii merged 2 commits into
mainfrom
codex/milo-help-metadata
Jul 10, 2026
Merged

lbliii merged 2 commits into
mainfrom
codex/milo-help-metadata

Conversation

@lbliii

@lbliii lbliii commented Jul 10, 2026

Copy link
Copy Markdown
Owner

What changed

  • upgrade the minimum milo-cli version to 0.4.0
  • render branded root, group, and command help from Milo's public metadata hooks
  • derive parameter descriptions from command docstrings for CLI help, JSON Schema, and MCP discovery
  • preserve non-TTY color stripping and add an explicit plain-text fallback when template rendering fails
  • migrate Action imports to Milo's public export and update regression coverage

Why

Pounce's branded help traversed argparse internals and maintained separate help-description dictionaries. That made nested help brittle and allowed human-facing help to drift from schema and agent-facing surfaces.

Impact

CLI help now has one schema-derived description source while retaining Pounce branding and configuration guidance. The change does not alter server runtime behavior.

Validation

  • make lint
  • make ty
  • .venv/bin/pytest tests/unit/test_cli_help.py tests/unit/test_backpressure_aggregate_log.py tests/unit/test_state.py tests/unit/test_public_contract.py -q (78 passed)

Closes #304

@lbliii
lbliii marked this pull request as ready for review July 10, 2026 20:54
Copilot AI review requested due to automatic review settings July 10, 2026 20:54
@lbliii
lbliii merged commit 121be0a into main Jul 10, 2026
10 checks passed
@lbliii
lbliii deleted the codex/milo-help-metadata branch July 10, 2026 20:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

Retire the legacy Milo help bridge and private imports

2 participants