fix(cli): add missing --format flag to action create + wire real LLM actors into plan executor #963
No reviewers
Labels
No labels
auto/needs-reevaluation
controller-managed
auto/blocked-by-deps
auto/ci-timeout
auto/claimed-implementer
auto/claimed-merge
auto/claimed-reviewer
auto/driver-down
auto/invariant-violation
auto/last-attempt-tier-0
auto/last-attempt-tier-1
auto/last-attempt-tier-2
auto/last-attempt-tier-min
Automation Tracking
auto/needs-conflict-resolution
auto/needs-implementer
auto/postmortem
auto/ready-to-merge
auto/restart-throttled
auto/revert
auto/sentinel
auto/stale-inactivity
auto/unstable
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs Feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
CI Blocker
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Automation
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Refactor
Type
Support
Type
Task
Type
Testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cleveragents/cleveragents-core!963
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "bugfix/m2-action-format-plan-executor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Two critical bug fixes required for the M2 E2E acceptance test (
robot/e2e/m2_acceptance.robot) to pass:Bug #1:
action createmissing--formatflag (#959)The
action createCLI command was the only action subcommand missing the--format/-fparameter. All other action subcommands (list,show,archive) already accepted--formatand routed through_print_action(). Runningaction create --config action.yaml --format plainfailed with a Typer unrecognized-option error.Fix: Added the
fmtparameter to thecreate()function signature and wired it to_print_action().Bug #2:
plan executealways used stub actors (#960)The
plan executeCLI command only performed phase transitions (Strategize → Execute) without ever invokingPlanExecutorto drive the strategize or execute actors.PlanExecutor.__init__unconditionally createdStrategizeStubActor()andExecuteStubActor()which parse text locally and return empty changesets — no real LLM call was made.Fix:
_get_plan_executor()helper that resolvesProviderRegistryfrom the DI container and constructsLLMStrategizeActor/LLMExecuteActorfor real LLM invocationsexecute_planCLI to detect plan phase/state and run the appropriate actor:Strategize/queued→ run strategize actor → transition to ExecuteStrategize/complete→ phase transition only (backward compat)Execute/queued→ run execute actor → mark completellm_actors.pymodule withLLMStrategizeActorandLLMExecuteActorthat resolveprovider/modelactor names to live LangChain LLM instancesPlanExecutor.__init__now accepts optionalstrategize_actorandexecute_actorparametersExisting mock-based BDD tests remain backward-compatible via duck-typing fallback.
Testing
--format plainand--format jsononaction createPlanExecutorIssues Closed
d808c010d90a0e2796a50a0e2796a5dfa05a6909