1.3 KiB
1.3 KiB
Policy Rollback CLI
Module
Cli
Status
VERIFIED
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
Verification
- Verified: 2026-02-13T15:30:00Z
- Tier 0 (Source): pass -- all referenced source files exist on disk
- Tier 1 (Build): pass -- module builds cleanly, 412 tests pass in StellaOps.Cli.Commands.Tests
- Tier 2d (Integration): pass -- targeted integration tests confirm behavioral correctness
- Test Project:
src/Cli/__Tests/StellaOps.Cli.Commands.Tests/StellaOps.Cli.Commands.Tests.csproj - Evidence:
docs/qa/feature-checks/runs/cli/policy-rollback-cli/run-001/tier2-integration-check.json