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,27 @@
# Policy Review Workflow CLI
## Module
Cli
## Status
IMPLEMENTED
## Description
Full policy review workflow from CLI: submit policies for review with reviewer assignment and urgency marking, check review status, add blocking/non-blocking comments with line/rule references, approve reviews, and reject reviews with reasons.
## Implementation Details
- **Command Group**: `src/Cli/StellaOps.Cli/Commands/PolicyCommandGroup.cs` -- policy review commands
- **Commands**:
- `stella policy review submit <file> --reviewer <user>` -- submit for review. Options: `--urgent`
- `stella policy review status <id>` -- check review status
- `stella policy review comment <id> --message <text>` -- add comment. Options: `--blocking`, `--line <num>`, `--rule <name>`
- `stella policy review approve <id>` -- approve review
- `stella policy review reject <id> --reason <text>` -- reject with reason
## E2E Test Plan
- [ ] Run `stella policy review submit ./policy.stella --reviewer admin` and verify submission
- [ ] Run with `--urgent` and verify urgency flag
- [ ] Run `stella policy review status <id>` and verify status displayed
- [ ] Run `stella policy review comment <id> --message "Missing gate" --blocking` and verify blocking comment
- [ ] Run `stella policy review approve <id>` and verify approval
- [ ] Run `stella policy review reject <id> --reason "Incomplete coverage"` and verify rejection