Repository navigation
Conversation
Report unknown CLI names and keep a format hint for missing models. Cover parser and hmz diagnostics with tests and updated reference docs. Signed-off-by: Bi Zhehui <186977555+Hazenix@users.noreply.github.com>
Author
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The parser now distinguishes these two invalid
-ainputs. Reference and troubleshooting docs match the messages, and tests cover the public CLI parser, a built-in alias, and a configured ACP CLI. This addresses MFCP task #113.Evidence
expected [NAME=]CLI[@PROVIDER]/MODEL[:EFFORT].hmz exec -f chat -a assistant=codxe/gpt-6.1-sol checkexits 2 withunknown CLI 'codxe'; see the CLI reference for supported names.hmz exec -f chat -a assistant=codex/ checkexits 2 withmissing model; expected [NAME=]CLI[@PROVIDER]/MODEL[:EFFORT].uv run pytest tests/integration/test_agents_acp.py tests/unit/coganchor/test_backends.py tests/unit/runtime/test_runner.py: 319 passed.uv run ruff check .andgit diff --check main...HEAD: passed.uv run pre-commit run --all-files: all hooks passed exceptpyright, which reportsImport "litellm" could not be resolvedbecause that optional extra is absent locally. Theruff-formathook reformatted one test; the formatted result is committed.uv run pytest: 6798 passed, 45 skipped, 14 failed, 1 collection error on macOS/Python 3.14.8. The failures include missing optionaldeepseek_harnessand unavailable Docker/remote Python; collection fails on missinglitellm. The full local suite is not green.Merge Danger
Door: two-way
Blast Radius: invalid
hmz exec -adiagnosticsValid agent specifications keep their existing parsing behavior; the change affects only the usage messages for unknown CLIs and missing models.
Checklist
specs/files changed.