TASK-004F: Integration Tests and Sample Assets
AI Execution Profile
- Model class:
Balanced - Reasoning effort:
Medium
Scope
- add integration and regression tests for the operational maturity slice
- verify bounded diagnostics behavior, alarm acknowledgment versus recovery semantics, simulator profile selection rules, and richer metrics persistence
- add or refine sample configuration assets needed to exercise the slice cleanly
- keep test intent readable so future AI reviews can map tests back to acceptance criteria
Copy/Paste Prompt
text
Implement only TASK-004F: Integration Tests and Sample Assets.
Read first:
- docs/specs/SLICE-004-operational-maturity.md
- docs/tasks/TASK-004-implement-operational-maturity.md
- docs/tasks/slice-004/TASK-004F-integration-tests-and-sample-assets.md
Goal:
- Lock down the operational maturity slice with focused regression coverage and the sample assets needed to exercise it.
Scope:
- Add tests for bounded diagnostics retention.
- Add tests for acknowledgment versus recovery guard behavior.
- Add tests for simulator profile loading and safe selection rules.
- Add tests for richer metrics flowing into persisted run summaries or history.
- Add sample configuration assets if the runtime needs them.
Do not:
- Introduce new feature scope not already defined in SLICE-004
- Rewrite unrelated tests
- Add brittle UI-only tests when cheaper service or integration coverage is enough
Important:
- Map tests clearly back to SLICE-004 acceptance criteria
- Keep sample assets small and deterministic