849 B
849 B
Policy Rollback CLI
Module
Cli
Status
IMPLEMENTED
Description
Rollback a policy to a previous version with environment scoping, incident association, and reason documentation for audit trail.
Implementation Details
- Command Group:
src/Cli/StellaOps.Cli/Commands/PolicyCommandGroup.cs-- policy rollback commands - Commands:
stella policy rollback <id> --to <version>-- rollback policy. Options:--env <environment>,--incident <id>,--reason <text>
E2E Test Plan
- Run
stella policy rollback <id> --to v1.2.0and verify rollback - Run with
--env productionand verify environment scoping - Run with
--incident INC-001 --reason "Regression detected"and verify audit trail - Verify rolled-back version is active after rollback
- Verify rollback event recorded in policy history