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,31 @@
# CLI Notification Simulation and Acknowledgment
## Module
Cli
## Status
IMPLEMENTED
## Description
CLI commands for simulating notification rules against events (`stella notify simulate`) and acknowledging incidents (`stella notify ack`) with tenant-scoped operation support.
## Implementation Details
- **Command Group**: `src/Cli/StellaOps.Cli/Commands/NotifyCommandGroup.cs` -- `NotifyCommandGroup` for notification commands
- **Notify Client**: `src/Cli/StellaOps.Cli/Services/NotifyClient.cs` / `INotifyClient.cs` -- notification API client
- **Route consolidation**: Notify commands consolidated under `stella config notify` via cli-routes.json
- **Commands**:
- `stella config notify simulate <event-type>` -- simulate notification rules against an event
- `stella config notify ack <incident-id>` -- acknowledge an incident notification
- `stella config notify channels list` -- list notification channels
- `stella config notify channels test <channel>` -- test a notification channel
- `stella config notify templates list` -- list notification templates
- **Tenant scoping**: Operations support `--tenant` flag for multi-tenant environments
## E2E Test Plan
- [ ] Run `stella config notify simulate gate-failure` and verify notification rules evaluated
- [ ] Run `stella config notify ack <incident-id>` and verify acknowledgment recorded
- [ ] Run `stella config notify channels list` and verify channels displayed
- [ ] Run `stella config notify channels test slack` and verify connectivity test
- [ ] Run `stella config notify templates list` and verify templates listed
- [ ] Verify tenant scoping with `--tenant <id>` flag
- [ ] Verify deprecated `stella notify simulate` still works with warning