2.2 KiB
2.2 KiB
CLI Notification Simulation and Acknowledgment
Module
Cli
Status
VERIFIED
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--NotifyCommandGroupfor notification commands - Notify Client:
src/Cli/StellaOps.Cli/Services/NotifyClient.cs/INotifyClient.cs-- notification API client - Route consolidation: Notify commands consolidated under
stella config notifyvia cli-routes.json - Commands:
stella config notify simulate <event-type>-- simulate notification rules against an eventstella config notify ack <incident-id>-- acknowledge an incident notificationstella config notify channels list-- list notification channelsstella config notify channels test <channel>-- test a notification channelstella config notify templates list-- list notification templates
- Tenant scoping: Operations support
--tenantflag for multi-tenant environments
E2E Test Plan
- Run
stella config notify simulate gate-failureand verify notification rules evaluated - Run
stella config notify ack <incident-id>and verify acknowledgment recorded - Run
stella config notify channels listand verify channels displayed - Run
stella config notify channels test slackand verify connectivity test - Run
stella config notify templates listand verify templates listed - Verify tenant scoping with
--tenant <id>flag - Verify deprecated
stella notify simulatestill works with warning
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, 238 tests pass in StellaOps.Cli.Formatting.Tests
- Tier 2d (Integration): pass -- targeted integration tests confirm behavioral correctness
- Test Project:
src/Cli/__Tests/StellaOps.Cli.Formatting.Tests/StellaOps.Cli.Formatting.Tests.csproj - Evidence:
docs/qa/feature-checks/runs/cli/cli-notification-simulation-and-acknowledgment/run-001/tier2-integration-check.json