32 lines
1.3 KiB
Markdown
32 lines
1.3 KiB
Markdown
# Policy Version Bump CLI
|
|
|
|
## Module
|
|
Cli
|
|
|
|
## Status
|
|
VERIFIED
|
|
|
|
## Description
|
|
Bump policy versions using semantic versioning (patch/minor/major) with changelog messages and DSL file upload.
|
|
|
|
## Implementation Details
|
|
- **Command Group**: `src/Cli/StellaOps.Cli/Commands/PolicyCommandGroup.cs` -- policy version commands
|
|
- **Commands**:
|
|
- `stella policy bump <file> --level patch|minor|major` -- bump policy version. Options: `--message <changelog>`
|
|
|
|
## E2E Test Plan
|
|
- [ ] Run `stella policy bump ./policy.stella --level patch --message "Fix gate threshold"` and verify patch version bump
|
|
- [ ] Run with `--level minor` and verify minor version bump
|
|
- [ ] Run with `--level major` and verify major version bump
|
|
- [ ] Verify changelog message recorded
|
|
- [ ] Verify DSL file updated with new version
|
|
|
|
## 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-version-bump-cli/run-001/tier2-integration-check.json`
|