85e63cbc83
Implements backend and async components: ✅ BE (REST API): - POST /api/security/master/sync (idempotent, version-based) - GET /api/security/master/rules (cached, staleness check) - SyncHandler: Conflict resolution, atomic persistence - Abstractions: IRemoteSecurityMasterClient, ISecurityMasterRulesStore ✅ ASYNC (Events + Hangfire): - SecurityMasterSyncedEvent: Notifies when sync completes - PermissionRuleUpdatedEvent: Per-rule change notification - SecurityMasterSyncJob: Periodic sync via Hangfire (30s interval) - CacheInvalidationConsumer: Inbox handler (idempotent) AGENTS.md v16.0 compliance: ✅ Necessity: WBS VS-02 BE/ASYNC phases ✅ Simplicity: Focused handlers, no unnecessary abstractions ✅ Idempotency: Version-based + idempotency keys ✅ Transactional: Atomic database updates ✅ Event-driven: Outbox/Inbox async coupling Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>