Modules and Dependency Lifecycle
Add, inspect, upgrade, reconcile, and roll back governed project capabilities through runtime-aware adapters.
Modules and dependencies are runtime-scoped project capabilities. Workspai uses the detected project adapter, module contracts, and current toolchain evidence instead of applying one package-manager recipe to every project.
Inspect before mutation
npx workspai modulesThe inventory distinguishes supported, installed, missing, incompatible, and unknown capability state. Unknown is not equivalent to absent.
Governed lifecycle
npx workspai add db_postgresnpx workspai upgradenpx workspai reconcilenpx workspai rollbackAn operation should validate runtime compatibility, checkpoint supported state, apply the smallest bounded mutation, refresh evidence, and verify the result. Dependency-security repairs use the same durable transaction principles as other repairs: immutable proposal, explicit authority, checkpoint, validation, verification, and rollback.
If a required executable is unavailable, the operation returns actionable toolchain setup evidence. It must not fall through to an unrelated installer or claim the dependency tree is healthy.
Polyglot Lifecycle Orchestration
Plan and run init, test, build, start, and custom lifecycle stages across a mixed-runtime workspace without confusing execution evidence with Workspace Intelligence.
Governed State and Recovery
Capture checkpoints and snapshots, inspect differences, reconcile changes, and roll back only within supported recovery boundaries.