f808abff86
Fix JSON syntax errors in .devcontainer/devcontainer.json (removed
invalid JS-style // comments) and .devcontainer/opencode.json (removed
90+ trailing commas). Apply auto-fixes for end-of-file and trailing
whitespace issues across 100+ files. Fix SIM105 ruff violations in
benchmarks/core_circuit_breaker_bench.py (use contextlib.suppress).
Note: The security fix from issue #7478 (validate_path startswith bypass)
was already delivered to master in commit e18ac5f2. This PR as currently
structured is non-atomic (35 commits across 10+ issues) and needs
significant restructure before merge. This commit only addresses the
CI/pre-commit failures.
ISSUES CLOSED: #7478
43 lines
1.8 KiB
Gherkin
43 lines
1.8 KiB
Gherkin
Feature: CLI help text removal of legacy commands
|
|
As a user seeking help with CleverAgents
|
|
I want the help text to reflect the current v3 plan lifecycle
|
|
So that I'm not confused by deprecated legacy commands
|
|
|
|
Scenario: _print_basic_help does not include "tell" command
|
|
Given the CLI main help function is called
|
|
When the basic help text is printed
|
|
Then the help should not mention tell command
|
|
|
|
Scenario: _print_basic_help does not include "build" command
|
|
Given the CLI main help function is called
|
|
When the basic help text is printed
|
|
Then the help should not mention build command
|
|
|
|
Scenario: _print_basic_help includes "plan" command with updated help
|
|
Given the CLI main help function is called
|
|
When the basic help text is printed
|
|
Then the help should mention plan command
|
|
|
|
Scenario: _print_basic_help includes "apply" shortcut command
|
|
Given the CLI main help function is called
|
|
When the basic help text is printed
|
|
Then the help should mention apply command
|
|
|
|
Scenario: Lightweight commands list does not include "tell"
|
|
Given the main function lightweight commands are configured
|
|
Then the lightweight commands set should not contain "tell"
|
|
|
|
Scenario: Lightweight commands list does not include "build"
|
|
Given the main function lightweight commands are configured
|
|
Then the lightweight commands set should not contain "build"
|
|
|
|
Scenario: Lightweight commands list includes "apply"
|
|
Given the main function lightweight commands are configured
|
|
Then the lightweight commands set should contain "apply"
|
|
|
|
Scenario: Plan command help updated to reference v3 lifecycle
|
|
Given the plan subcommand is loaded
|
|
When the plan command help text is retrieved
|
|
Then the help text should contain "V3 Plan Lifecycle"
|
|
And the help text should mention "use", "execute", and "apply"
|