fix(cli): derive actor name from config file instead of positional argument #1189

Merged
freemo merged 1 commits from fix/actor-add-name-from-config into master 2026-03-30 18:47:40 +00:00
Owner

Summary

Removes the <NAME> positional argument from actor add. Per the specification, the actor name is derived from the name field inside the config YAML file: agents actor add (--config|-c) <FILE> [--update].

Changes

  • src/cleveragents/cli/commands/actor.py: Removed name positional argument, added config-based name extraction with validation
  • features/steps/actor_cli_steps.py: Updated 15+ step definitions to pass name via config data
  • features/steps/actor_cli_yaml_steps.py: Removed positional from format test invocations
  • robot/helper_m2_e2e_verification.py: Added name to config JSON, removed positional
  • benchmarks/actor_cli_bench.py: Updated benchmark invocations

Closes #914

## Summary Removes the `<NAME>` positional argument from `actor add`. Per the specification, the actor name is derived from the `name` field inside the config YAML file: `agents actor add (--config|-c) <FILE> [--update]`. ## Changes - `src/cleveragents/cli/commands/actor.py`: Removed `name` positional argument, added config-based name extraction with validation - `features/steps/actor_cli_steps.py`: Updated 15+ step definitions to pass name via config data - `features/steps/actor_cli_yaml_steps.py`: Removed positional from format test invocations - `robot/helper_m2_e2e_verification.py`: Added `name` to config JSON, removed positional - `benchmarks/actor_cli_bench.py`: Updated benchmark invocations Closes #914
freemo added this to the v3.4.0 milestone 2026-03-29 05:35:41 +00:00
freemo added the
Type
Task
label 2026-03-29 05:35:46 +00:00
freemo force-pushed fix/actor-add-name-from-config from 575010cd5d to 963dfbb3f6 2026-03-30 01:04:02 +00:00 Compare
freemo reviewed 2026-03-30 04:22:50 +00:00
freemo left a comment
Author
Owner

Review: Looks Good (self-authored — posted as comment)

Clean simplification deriving actor name from config file (single source of truth). All test fixtures, benchmarks, BDD steps, and Robot tests updated consistently. Note: this is a breaking CLI change (actor add no longer takes a positional <NAME> argument) — should be documented in changelog.

## Review: Looks Good (self-authored — posted as comment) Clean simplification deriving actor name from config file (single source of truth). All test fixtures, benchmarks, BDD steps, and Robot tests updated consistently. Note: this is a breaking CLI change (`actor add` no longer takes a positional `<NAME>` argument) — should be documented in changelog.
freemo requested review from CoreRasurae 2026-03-30 05:14:14 +00:00
freemo requested review from brent.edwards 2026-03-30 05:14:14 +00:00
freemo scheduled this pull request to auto merge when all checks succeed 2026-03-30 18:08:43 +00:00
freemo force-pushed fix/actor-add-name-from-config from 963dfbb3f6 to a9465c4865 2026-03-30 18:28:01 +00:00 Compare
freemo merged commit a9465c4865 into master 2026-03-30 18:47:40 +00:00
freemo deleted branch fix/actor-add-name-from-config 2026-03-30 18:47:40 +00:00
Sign in to join this conversation.
No Label
Type
Task
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cleveragents/cleveragents-core#1189