feat(decisions): verify agents plan tree CLI command implementation #8691

Merged
HAL9000 merged 2 commits from feat/v3.2.0-plan-tree-cli into master 2026-06-03 01:16:32 +00:00
+8
View File
@@ -512,6 +512,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`