semi implemented and features implemented save checkpoint

This commit is contained in:
master
2026-02-08 18:00:49 +02:00
parent 04360dff63
commit 1bf6bbf395
20895 changed files with 716795 additions and 64 deletions

View File

@@ -0,0 +1,22 @@
# 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.0` and verify rollback
- [ ] Run with `--env production` and 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