Updated IEnvelopeFinalizationTrigger to support CancellationToken
in TriggerAsync for improved cancellation handling. Introduced
TriggerFinalizationWorkerBehavior to trigger finalization in the
SigningCommand pipeline. Updated DependencyInjection to include
the new behavior. Refactored EnvelopeFinalizationTrigger to align
with interface changes and removed unused using directives.
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.