save checkpoint

This commit is contained in:
master
2026-02-14 09:11:48 +02:00
parent 9ca2de05df
commit e9aeadc040
1512 changed files with 30863 additions and 4728 deletions

View File

@@ -0,0 +1,32 @@
# Policy History CLI
## Module
Cli
## Status
VERIFIED
## Description
View policy run history with filtering by tenant, time range (from/to ISO-8601), status (completed/failed/running), pagination, and table/JSON output.
## Implementation Details
- **Command Group**: `src/Cli/StellaOps.Cli/Commands/PolicyCommandGroup.cs` -- policy history commands
- **Commands**:
- `stella policy history` -- view policy run history. Options: `--tenant <id>`, `--from <ISO-8601>`, `--to <ISO-8601>`, `--status completed|failed|running`, `--limit`, `--offset`, `--format table|json`
## E2E Test Plan
- [ ] Run `stella policy history` and verify policy run history displayed
- [ ] Run with `--tenant <id>` and verify tenant filtering
- [ ] Run with `--from 2024-01-01 --to 2024-12-31` and verify time range filtering
- [ ] Run with `--status failed` and verify status filtering
- [ ] Verify pagination with `--limit` and `--offset`
- [ ] Verify `--format json` output
## 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-history-cli/run-001/tier2-integration-check.json`