Introduced `EnvelopeFinalizationTrigger` to enable external triggering of the `EnvelopeFinalizationWorker` for immediate envelope processing. Updated `EnvelopeFinalizationWorker` to support both polling and external triggers, improving performance and flexibility. Added `BackgroundServicesController` with an API endpoint to trigger the worker, including configuration checks for availability. Temporarily used `[AllowAnonymous]` with plans to replace it with sender-scoped authorization. Enhanced manual testing workflows in `AGENTS.md`: - Standardized request-to-domain mapping policy. - Migrated dynamic SQL to parameterized queries for security. - Improved UX for deterministic row double-click behavior. - Implemented SPA-style language switching. - Added sender-scoped caching for recent receiver suggestions. Updated dependency injection in `Program.cs` to register `EnvelopeFinalizationTrigger` and ensure the worker is only enabled when configured.
243 B
243 B