You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reworks the top-level CLI command surface into logical groups per #275:
group commands into help panels with new checkpoint/gate noun groups,
while keeping hot-path verbs (run, resume, validate, show, stop, replay, update) flat and adding backward-compatible deprecated aliases
for gate-respond and checkpoints.
Changes
feat(cli): group commands into help panels with checkpoint/gate noun groups
test(cli): harden command-grouping tests and fix help-text accuracy
…groups
Rework the CLI command surface (issue #275): keep hot-path verbs flat while
moving the long tail under noun groups, organise --help into rich panels, and
keep existing invocations working via hidden deprecated aliases.
- Add a `checkpoint` group (`checkpoint list`) and a `gate` group
(`gate respond`) as Typer sub-apps modeled on the registry group, each with
a shared implementation function.
- Register the groups with rich_help_panel and panel all flat commands into
Author & Inspect / Run & Recover / Interact / State / Environment (doctor
lands in Environment alongside registry and update).
- Keep `checkpoints` and `gate-respond` as hidden aliases that warn on stderr
(removal in a future release) and forward to the shared implementations.
- Tests: add test_checkpoint / test_gate / test_help_panels, and repoint the
relocated checkpoints tests out of test_resume_command.
- Docs: update cli-reference, AGENTS, CHANGELOG, the conductor skill,
workflow-syntax, and the periodic-checkpoints example.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Address PR review feedback on the CLI hybrid-grouping change (#275):
- Width-pin checkpoint table assertions via an autouse fixture to prevent
narrow-terminal CI flakes (reproduced at COLUMNS=40)
- Add failure-path alias parity and argument-forwarding tests for the
deprecated checkpoints and gate-respond aliases
- Assert deprecation warnings route to stderr while data stays on stdout
- Assert each command maps to its correct rich_help_panel (structural check)
- Remove unused output_console in gate.py (module writes only to stderr)
- Correct the checkpoint list docstring (name the Trigger column; describe
the Agent column as the agent running or about to run) and the checkpoint
group help ("Inspect workflow checkpoints." — only list exists)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…rence
- AGENTS.md/CHANGELOG.md described the rich_help_panel order as Author &
Inspect / Run & Recover / Interact / State / Environment; the actual
rendered order (first-occurrence in the Click command list) is Run &
Recover / Author & Inspect / Environment / Interact / State. Verified via
CliRunner and corrected both docs.
- SKILL.md still referenced the old flat `checkpoints` command in one spot
while the rest of the file was updated to `checkpoint list`.
- Added tests for bare noun-group invocation (`gate`, `checkpoint` with no
subcommand exit 2 with usage) and each noun group's own `--help` text,
closing gaps flagged in code review.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
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
Reworks the top-level CLI command surface into logical groups per #275:
group commands into help panels with new
checkpoint/gatenoun groups,while keeping hot-path verbs (
run,resume,validate,show,stop,replay,update) flat and adding backward-compatible deprecated aliasesfor
gate-respondandcheckpoints.Changes
feat(cli): group commands into help panels with checkpoint/gate noun groupstest(cli): harden command-grouping tests and fix help-text accuracyCloses#275.
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com