mirror of
https://github.com/melgarafael/DeskcommCRM.git
synced 2026-10-02 09:34:46 +08:00
Audit: flag was absent in code (docs/plan only — vendaval chain didn't bring
it) → full implementation, not no-op. ai_dispatch_mode is a new key in
organizations.settings jsonb (Zod enum native|external, .catch('native')
fail-safe) — no schema migration. Native dispatcher skips 'external' orgs
BEFORE claim (pure continue: no claimEvent, no markEventProcessed, consumed_by
untouched) → event stays pending for Vendaval. skipped_external_dispatch is the
only non-consuming skip. Native unchanged (regression tested).
Verified-by: gov-verifier PASS 2026-07-18T21:19:20-0300