Architecture Risks¶
This page records high-impact architectural risks where regressions are likely if changes are merged without explicit checks.
Visual Summary¶
flowchart LR
parser["parser and alias rewrites"] --> drift["route drift risk"]
plugins["plugin lifecycle and execution"] --> trust["trust and compatibility risk"]
state["state-path persistence"] --> corruption["state corruption risk"]
output["rendering and stream policy"] --> breakage["automation breakage risk"]
Risk Areas¶
- parser and alias changes can silently break automation paths
- plugin namespace rules can regress and allow collisions or ambiguous routes
- persistence mutations can corrupt config/history/registry state
- output formatting changes can break machine consumers
- delegation behavior can hide failures when external tools are unavailable
Code Anchors¶
crates/bijux-cli/src/routing/parser.rscrates/bijux-cli/src/routing/model.rscrates/bijux-cli/src/features/plugins/registry.rscrates/bijux-cli/src/features/config/storage.rscrates/bijux-cli/src/interface/cli/dispatch.rs
Mitigation Checklist¶
- add or update routing law and parser regression tests
- verify structured output snapshots for changed command surfaces
- run plugin lifecycle integration tests for install/enable/disable/uninstall
- validate state diagnostics after persistence logic changes