fix(decisions): add error handling, ULID validation, and CHANGELOG entry to plan tree command
CI / lint (pull_request) Successful in 37s
CI / typecheck (pull_request) Successful in 58s
CI / helm (pull_request) Successful in 29s
CI / push-validation (pull_request) Successful in 24s
CI / quality (pull_request) Successful in 1m13s
CI / security (pull_request) Successful in 1m21s
CI / integration_tests (pull_request) Successful in 8m38s
CI / build (pull_request) Failing after 13m4s
CI / unit_tests (pull_request) Failing after 13m32s
CI / coverage (pull_request) Has been cancelled
CI / docker (pull_request) Has been cancelled
CI / status-check (pull_request) Has been cancelled
CI / lint (pull_request) Successful in 37s
CI / typecheck (pull_request) Successful in 58s
CI / helm (pull_request) Successful in 29s
CI / push-validation (pull_request) Successful in 24s
CI / quality (pull_request) Successful in 1m13s
CI / security (pull_request) Successful in 1m21s
CI / integration_tests (pull_request) Successful in 8m38s
CI / build (pull_request) Failing after 13m4s
CI / unit_tests (pull_request) Failing after 13m32s
CI / coverage (pull_request) Has been cancelled
CI / docker (pull_request) Has been cancelled
CI / status-check (pull_request) Has been cancelled
- Remove redundant local import of get_container (already imported at module level) - Add _validate_plan_ulid() call before querying decision service for actionable error messages - Wrap service calls in try/except catching ValidationError, PlanError, CleverAgentsError - Add CHANGELOG.md entry for agents plan tree command (#8525) ISSUES CLOSED: #8525
This commit is contained in:
@@ -471,6 +471,14 @@ _ALL_DATA_COLUMNS + ") " "SELECT " + _ALL_DATA_COLUMNS + " FROM v3_plans"`.
|
||||
plan/action/project/global configurations are tested with BDD scenarios.
|
||||
Resolution chain is logged at debug level via the
|
||||
`PrecedenceResolution` dataclass and `PrecedenceSource` enum.
|
||||
- **Plan Tree CLI Command** (#8525): Implemented `agents plan tree <plan-id>` command for
|
||||
visualizing decision trees in the v3 plan lifecycle. The command renders a hierarchical
|
||||
tree structure showing decision hierarchy with per-type ordinal labeling, superseded
|
||||
decision filtering (via `--show-superseded`), depth limiting (via `--depth`), and
|
||||
multiple output formats (rich, plain, table, json, yaml). Each node displays decision
|
||||
ID, type, question, and chosen option. Corrected nodes are visually marked via the
|
||||
`is_superseded` flag. The command handles empty decision trees gracefully and includes
|
||||
ULID validation and proper error handling consistent with other plan commands.
|
||||
|
||||
- `agents actor context clear` command to reset actor message history and
|
||||
state while preserving the underlying context directory via `ContextManager`
|
||||
|
||||
Reference in New Issue
Block a user