Files
freemo b90ea7a021 fix(cli): align actor context CLI with robot test — add delete alias and positional path args
The robot test for actor_context export/import has been updated to align with the official specification and the implemented source, correcting the mismatch observed in UAT.

What was implemented
- Replaced actor context delete with actor context remove (spec uses remove)
- Updated export command to use the named option --output PATH instead of a positional argument (per spec)
- Updated import command to use the named option --input PATH instead of a positional argument (per spec)
- Added the --update flag to the import-into-existing-context test case to reflect the behavior required by the source
- Updated comments in the test to reflect the correct command names and options

Rationale and design decisions
- The spec explicitly defines remove (not delete) and the use of named options for path arguments
- The source code already implements the spec; the robot test was the outlier and needed correction
- Changes are limited to the robot test to preserve existing CLI behavior and avoid unintended side effects in the codebase

Technical approach
- Updated only robot/actor_context_export_import.robot to align with the spec and source
- No changes to actor_context.py or the CLI command implementations

Modules and components affected
- robot/actor_context_export_import.robot

Notes
- This aligns the UAT robot tests with the specification and the implemented source, ensuring consistent behavior across documentation, tests, and code

ISSUES CLOSED: #2775
2026-04-05 07:13:16 +00:00
..