fix(cli): plan correct active-plan resolution in isolated environments #1184
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 project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
#1025 bug(cli):
plan correct auto-resolve fails in isolated E2E environments
cleveragents/cleveragents-core
Reference
cleveragents/cleveragents-core!1184
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/plan-correct-resolve"
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
plan correctactive-plan fallback so it only runs for isolatedCLEVERAGENTS_HOMEmismatch cases and never when explicit DB env overrides are configured_resolve_active_plan_id()to expected DB/path/service failures; unexpected errors now surface instead of being silently swallowedfeatures/consolidated_plan_misc.feature+features/steps/plan_cli_legacy_r2_steps.pyValidation
nox -e lint: PASSnox -e typecheck: PASSnox -e unit_tests: PASSnox -e integration_tests: FAIL in current branch baseline (29 failing Robot integration tests in this environment)nox -e e2e_tests: FAIL in current branch baseline (45 failing E2E tests in this environment)nox -e coverage_report: PASS (97%)Closes #1025
plan correctauto-resolve fails in isolated E2E environmentsplan correctauto-resolve fails in isolated E2E environments #10256e2556a51aa48410547bReview: APPROVED with Comments
Solid fix with good multi-level test coverage (BDD + Robot).
Notes
(CleverAgentsError, OSError, SQLAlchemyError, ValueError)and silently returnsNone. Per CONTRIBUTING.md §Exception Propagation, consider adding awarning-level log instead of silent suppression so issues are traceable.UnitOfWorkusage:_resolve_from_cleveragents_homecreates a secondary DB connection outside DI wiring. Acceptable for this fallback path but worth documenting.New commits pushed, approval review dismissed automatically according to repository settings