934 B
US-10 Insights architecture correction
The decision in Docs/Requirements/US_10_Correction governs US-10.
The Insights Service is an independent process and calculates summaries on demand. Its HTTP observation client retrieves observations through the API Gateway. InsightsController, InsightsApplicationService, InsightCalculator, and the observation client follow 05_class_insights_service.jpg.
The service has no database, repository, stored summary identifier, or generated-summary persistence. HealthInsight is a calculated response object. The HealthSummary table shown in 09_er_insights_service.jpg is an architectural inconsistency and does not apply; this correction supersedes that table. The absence of an Insights database in 02_microservice_architecture.jpg is intentional.
Each summary request uses current observations, including corrections and deletions. Trend calculation remains under US-11.