feat(cli): align actor commands to YAML #412

Merged
freemo merged 1 commit from feature/m3-actor-cli into master 2026-02-24 19:39:45 +00:00
Owner

Summary

Aligns the agents actor add/remove/list/show CLI commands to YAML-first actor configurations, namespaced names, and multi-format output support (--format json|yaml|plain). This brings the actor CLI in line with the YAML-based actor config schema introduced by the actor compiler work.

Changes

  • --format option: Added --format json|yaml|plain to list, show, add, and update commands for structured output serialization via format_output rendering.
  • --update flag: Added to the add command to support updating existing actors in place.
  • _actor_spec_dict helper: New helper for structured output serialization of actor specifications.
  • _print_actor update: Refactored to support format_output rendering across all output formats.
  • Documentation: Added CLI reference documentation for actor commands.
  • Tests: 11 Behave scenarios for CLI format scenarios, Robot Framework integration test for show output fields, and ASV benchmark (benchmarks/actor_cli_bench.py) for CLI parsing overhead.

Closes #288

## Summary Aligns the `agents actor add/remove/list/show` CLI commands to YAML-first actor configurations, namespaced names, and multi-format output support (`--format json|yaml|plain`). This brings the actor CLI in line with the YAML-based actor config schema introduced by the actor compiler work. ### Changes - **`--format` option**: Added `--format json|yaml|plain` to `list`, `show`, `add`, and `update` commands for structured output serialization via `format_output` rendering. - **`--update` flag**: Added to the `add` command to support updating existing actors in place. - **`_actor_spec_dict` helper**: New helper for structured output serialization of actor specifications. - **`_print_actor` update**: Refactored to support `format_output` rendering across all output formats. - **Documentation**: Added CLI reference documentation for actor commands. - **Tests**: 11 Behave scenarios for CLI format scenarios, Robot Framework integration test for `show` output fields, and ASV benchmark (`benchmarks/actor_cli_bench.py`) for CLI parsing overhead. Closes #288
freemo added this to the v3.1.0 milestone 2026-02-24 10:29:18 +00:00
freemo force-pushed feature/m3-actor-cli from 67f0e18b5e
Some checks failed
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Failing after 14s
CI / build (pull_request) Successful in 19s
CI / quality (pull_request) Successful in 26s
CI / security (pull_request) Successful in 38s
CI / typecheck (pull_request) Successful in 40s
CI / coverage (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Has been skipped
CI / integration_tests (pull_request) Successful in 2m38s
CI / unit_tests (pull_request) Successful in 6m32s
CI / docker (pull_request) Has been skipped
to 11a6665863
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 14s
CI / build (pull_request) Successful in 18s
CI / quality (pull_request) Successful in 28s
CI / security (pull_request) Successful in 50s
CI / typecheck (pull_request) Successful in 55s
CI / integration_tests (pull_request) Successful in 2m27s
CI / unit_tests (pull_request) Successful in 16m35s
CI / docker (pull_request) Successful in 1m0s
CI / benchmark-regression (pull_request) Successful in 20m13s
CI / coverage (pull_request) Successful in 51m23s
2026-02-24 14:30:54 +00:00
Compare
freemo force-pushed feature/m3-actor-cli from 11a6665863
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 14s
CI / build (pull_request) Successful in 18s
CI / quality (pull_request) Successful in 28s
CI / security (pull_request) Successful in 50s
CI / typecheck (pull_request) Successful in 55s
CI / integration_tests (pull_request) Successful in 2m27s
CI / unit_tests (pull_request) Successful in 16m35s
CI / docker (pull_request) Successful in 1m0s
CI / benchmark-regression (pull_request) Successful in 20m13s
CI / coverage (pull_request) Successful in 51m23s
to 836f9dbbea
Some checks failed
CI / benchmark-publish (pull_request) Has been skipped
CI / quality (pull_request) Successful in 18s
CI / lint (pull_request) Successful in 21s
CI / build (pull_request) Successful in 23s
CI / security (pull_request) Successful in 48s
CI / typecheck (pull_request) Successful in 55s
CI / integration_tests (pull_request) Successful in 4m42s
CI / unit_tests (pull_request) Successful in 15m1s
CI / docker (pull_request) Successful in 1m22s
CI / benchmark-regression (pull_request) Successful in 21m1s
CI / coverage (pull_request) Has been cancelled
2026-02-24 18:45:24 +00:00
Compare
freemo scheduled this pull request to auto merge when all checks succeed 2026-02-24 18:45:38 +00:00
freemo force-pushed feature/m3-actor-cli from 836f9dbbea
Some checks failed
CI / benchmark-publish (pull_request) Has been skipped
CI / quality (pull_request) Successful in 18s
CI / lint (pull_request) Successful in 21s
CI / build (pull_request) Successful in 23s
CI / security (pull_request) Successful in 48s
CI / typecheck (pull_request) Successful in 55s
CI / integration_tests (pull_request) Successful in 4m42s
CI / unit_tests (pull_request) Successful in 15m1s
CI / docker (pull_request) Successful in 1m22s
CI / benchmark-regression (pull_request) Successful in 21m1s
CI / coverage (pull_request) Has been cancelled
to f7993d7309
Some checks failed
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 16s
CI / build (pull_request) Successful in 21s
CI / quality (pull_request) Successful in 32s
CI / security (pull_request) Successful in 33s
CI / typecheck (pull_request) Successful in 54s
CI / integration_tests (pull_request) Successful in 4m48s
CI / unit_tests (pull_request) Successful in 15m53s
CI / docker (pull_request) Successful in 14s
CI / benchmark-regression (pull_request) Successful in 17m19s
CI / coverage (pull_request) Successful in 26m43s
CI / lint (push) Successful in 13s
CI / build (push) Successful in 15s
CI / quality (push) Successful in 16s
CI / security (push) Successful in 28s
CI / typecheck (push) Successful in 44s
CI / benchmark-regression (push) Has been skipped
CI / integration_tests (push) Successful in 4m0s
CI / benchmark-publish (push) Successful in 12m5s
CI / unit_tests (push) Successful in 13m42s
CI / docker (push) Successful in 1m9s
CI / coverage (push) Has been cancelled
2026-02-24 19:12:03 +00:00
Compare
freemo scheduled this pull request to auto merge when all checks succeed 2026-02-24 19:12:23 +00:00
freemo merged commit f7993d7309 into master 2026-02-24 19:39:45 +00:00
freemo deleted branch feature/m3-actor-cli 2026-02-24 19:39:45 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#288 feat(cli): align actor commands to YAML
cleveragents/cleveragents-core
Reference
cleveragents/cleveragents-core!412
No description provided.