save checkpoint

This commit is contained in:
master
2026-02-14 09:11:48 +02:00
parent 9ca2de05df
commit e9aeadc040
1512 changed files with 30863 additions and 4728 deletions

View File

@@ -0,0 +1,26 @@
# Incident Mode
## Module
EvidenceLocker
## Status
IMPLEMENTED
## Description
Incident mode management with state tracking, manager service, and incident notifier for evidence integrity violations.
## Implementation Details
- **Modules**: `src/EvidenceLocker/StellaOps.EvidenceLocker/StellaOps.EvidenceLocker.Infrastructure/Services/`, `src/EvidenceLocker/StellaOps.EvidenceLocker/StellaOps.EvidenceLocker.Core/`
- **Key Classes**:
- `IncidentModeManager` (`src/EvidenceLocker/StellaOps.EvidenceLocker/StellaOps.EvidenceLocker.Infrastructure/Services/IncidentModeManager.cs`) - manages incident mode activation, deactivation, and state transitions
- `EvidenceAuditLogger` (`src/EvidenceLocker/StellaOps.EvidenceLocker/StellaOps.EvidenceLocker.WebService/Audit/EvidenceAuditLogger.cs`) - logs audit events during incident mode
- **Interfaces**: `IIncidentModeState`, `IEvidenceIncidentNotifier`
- **Source**: Feature matrix scan
## E2E Test Plan
- [ ] Activate incident mode via `IncidentModeManager` and verify `IIncidentModeState` reflects the active state
- [ ] Verify `IEvidenceIncidentNotifier` sends notifications when evidence integrity violations are detected
- [ ] Verify incident mode prevents evidence deletion or modification while active
- [ ] Deactivate incident mode and verify normal operations resume
- [ ] Verify `EvidenceAuditLogger` records incident mode activation/deactivation events with timestamps
- [ ] Verify incident mode state persists across service restarts