Dependency Governance¶
Dependency governance ensures bijux-cli remains predictable when parser,
serialization, schema, and semver libraries evolve.
Visual Summary¶
flowchart TD
update["dependency update"] --> impact["contract impact analysis"]
impact --> tests["targeted parser and contract tests"]
tests --> docs["docs and compatibility notes"]
docs --> approve["review approval"]
Governance Focus¶
- parser grammar and help behavior (
clap) - payload and schema serialization (
serde,serde_json,schemars) - compatibility range semantics (
semver) - error typing and propagation (
thiserror,anyhow)
Code Anchors¶
crates/bijux-cli/Cargo.tomlcrates/bijux-cli/src/routing/parser.rscrates/bijux-cli/src/contracts/schema.rscrates/bijux-cli/src/contracts/plugin.rscrates/bijux-cli/tests/routing/
Governance Rules¶
- no dependency bumps without targeted test evidence
- document behavior changes caused by dependency upgrades
- avoid broad upgrade bundles that hide root-cause regressions
- keep dependency decisions auditable in commit and review history