From f2057468949baa2ba0bf3a47a5e4edecf3642fc4 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Wed, 20 May 2026 08:39:13 -0400 Subject: [PATCH] docs(audit): disambiguate Config DB refs to 'audit log viewer' post-rename Task 10's reviewer noted that Component-CentralUI.md renamed the IAuditService page from 'Audit Log Viewer' to 'Configuration Audit Log Viewer' to avoid collision with the new operational Audit Log page (#23). Two stale lowercased refs in Component-ConfigurationDatabase.md needed the same disambiguation. --- docs/requirements/Component-ConfigurationDatabase.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/requirements/Component-ConfigurationDatabase.md b/docs/requirements/Component-ConfigurationDatabase.md index 0362c8a..b2900c4 100644 --- a/docs/requirements/Component-ConfigurationDatabase.md +++ b/docs/requirements/Component-ConfigurationDatabase.md @@ -218,7 +218,7 @@ Since only the after-state is stored, change history for an entity is reconstruc ### Query Capabilities -The Central UI audit log viewer can filter by: +The Central UI Configuration Audit Log Viewer (distinct from the operational Audit Log page in #23) can filter by: - **User**: Who made the change. - **Entity type**: What kind of entity was changed. - **Action type**: What kind of operation was performed. @@ -329,6 +329,6 @@ The `AuditLog` table is append-only and grows by every script-trust-boundary eve - **Notification Service**: Uses `INotificationRepository` for notification lists and SMTP configuration. - **Notification Outbox**: Uses `INotificationOutboxRepository` for all access to the `Notifications` table — ingest, dispatch polling, status updates, KPI queries, and the daily purge of terminal rows. - **Site Call Audit**: Uses `ISiteCallAuditRepository` for all access to the `SiteCalls` table — telemetry/reconciliation ingest, KPI queries, and the daily purge of terminal rows. -- **Central UI**: Uses `ICentralUiRepository` for read-oriented queries across domain areas, including audit log queries for the audit log viewer. +- **Central UI**: Uses `ICentralUiRepository` for read-oriented queries across domain areas, including config-audit queries for the Configuration Audit Log Viewer (the operational Audit Log page is owned by #23). - **All central components that modify state**: Call `IAuditService.LogAsync()` after successful operations to record audit entries within the same transaction. - **Host**: Provides database connection configuration. Registers DbContext, repository implementations, and `IAuditService` implementation in the DI container. Triggers auto-migration in development or validates schema version in production.