Implements the agents project switch <name> subcommand for the project
CLI group. Accepts a namespaced project name, validates existence in the
registry, and persists the selection as the active project context.
Changes:
- Added switch subcommand to project.py Typer app entry
- Created standalone project_switch.py module with switch_project function
- Added -persist_active_project helper for config file management
- Added BDD scenarios in project_cli_commands.feature (rich, json, yaml output + error case)
- Added step definitions for test coverage
- Updated CHANGELOG.md and CONTRIBUTORS.md
ISSUES CLOSED: #8675, #8623
Resolve the -f short flag conflict on `project delete` where --format claimed -f despite the specification reserving it for --force.
Changes:
- Add -f short alias to --force on the delete command, aligning with the spec: `agents project delete [--force|-f] [--yes|-y] <NAME>`
- Remove -f short alias from --format on delete (keep --format long form only); the spec does not define --format on this command
- Update module docstring to reflect spec-aligned flag signatures
- Add BDD scenario exercising -f via CliRunner to validate the Typer argument parser maps -f to --force (not --format)
ISSUES CLOSED: #911
Reviewed-by: reviewer-pool-1
Closes#911
Co-authored-by: Jeffrey Phillips Freeman <jeffrey.freeman@cleverthis.com>
Co-committed-by: Jeffrey Phillips Freeman <jeffrey.freeman@cleverthis.com>