v4.0.0b9
Pre-release
Pre-release
·
46 commits
to master
since this release
feat: Introduce production change planning and application - Added `plan` method to `Production` class for building change plans against current state. - Implemented `apply` method to execute production change plans with options for destructive changes and backups. - Introduced `verify` method to validate change plans before application. - Created `rollback_backup` method for restoring previous production states from backups. - Added `ProductionChangePlan`, `ProductionApplyResult`, and `ProductionVerifyResult` data classes to encapsulate change plan details and results. - Implemented utility functions for building change plans, verifying them, and handling operations. - Updated local and remote director protocols to support applying production plans. - Enhanced CLI commands for planning and reviewing production changes, including error handling for remote execution. - Added unit tests to cover new functionality, including safe and blocked operation classification, plan application, and verification.