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,24 @@
# Policy Scaffolding CLI
## Module
Cli
## Status
IMPLEMENTED
## Description
Create new policy files from templates (minimal, baseline, vex-precedence, reachability, secret-leak, full) with metadata tagging, shadow mode configuration, and optional Git repository/fixtures initialization.
## Implementation Details
- **Command Group**: `src/Cli/StellaOps.Cli/Commands/PolicyCommandGroup.cs` -- policy scaffolding commands
- **Commands**:
- `stella policy new <name>` -- create new policy from template. Options: `--template minimal|baseline|vex-precedence|reachability|secret-leak|full`, `--shadow`, `--tags <tags>`, `--init-git`, `--init-fixtures`
## E2E Test Plan
- [ ] Run `stella policy new my-policy --template minimal` and verify minimal policy created
- [ ] Run with `--template full` and verify comprehensive policy with all gates
- [ ] Run with `--template reachability` and verify reachability-focused policy
- [ ] Run with `--shadow` and verify shadow mode configured
- [ ] Run with `--tags "team:security,env:production"` and verify metadata tags
- [ ] Run with `--init-git` and verify Git repository initialized
- [ ] Run with `--init-fixtures` and verify test fixtures directory created