new-site/scripts/workers
justin 058d4d426a feat(compliance): admin verification gate + durable submission evidence
Per request: after the customer signs but BEFORE we submit to the government, hold
the order for a human to verify the prepared filing is correct.

- MCS-150 handler (mcs150-update + usdot-reactivation): new admin-verification gate
  after the signature gate -- if not admin_approved, set fulfillment_status=
  'ready_to_file', create a HIGH-priority 'VERIFY before filing' admin todo, and
  STOP (no FMCSA submission). job_server injects admin_approved from the dispatch
  payload (mirrors client_approved).
- New admin endpoint POST /api/v1/admin/compliance-orders/:id/approve-submit
  (requireAdmin): verifies status=ready_to_file, re-dispatches the worker with
  admin_approved=true to proceed to actual submission.
- Durable submission EVIDENCE: the web/fax submitters only wrote confirmation
  screenshots to an ephemeral temp dir. Now _upload_submission_evidence copies the
  FMCSA confirmation screenshot + attested PDF + fax_log_id to MinIO under
  filings/<slug>/<order>/evidence/ and records the keys on the order, so we keep
  proof of every government submission.

(state-trucking + the FCC handlers already gate via admin todos / auto_filing.py;
this brings MCS-150 to parity and adds evidence retention.)
2026-06-09 22:50:30 -05:00
..
cdr_adapters Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
cdr_presets Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
cdr_transports Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
crypto_offramp Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
icc_adapters Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
services feat(compliance): admin verification gate + durable submission evidence 2026-06-09 22:50:30 -05:00
__init__.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
access_stim_monitor.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
amb_location_scraper.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
base_worker.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
binder_compiler.py Add Canadian Wholesale Vendor Reference Guide to CRTC binder 2026-05-27 11:11:47 -05:00
business_days.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
cdr_classifier.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
cdr_ingester.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
cdr_npa_importer.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
cdr_puller.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
cdr_retention_sweeper.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
cdr_sftpgo_provisioner.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
cdr_unlock_nudge.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
client_email_processor.py add FMCSA confirmation email monitor: IMAP watcher links confirmations to orders, Telegram notify 2026-05-30 19:01:42 -05:00
cold_wallet_sweeper.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
commission_worker.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
completion_emails.py fix: worker emails (localhost:25 -> SMTP relay) + create ERPNext SO on webhook payment 2026-06-09 14:40:46 -05:00
compliance_alert_list.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
conversation_monitor.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
convert_guides.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
create_campaigns.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
create_campaigns_p2.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
create_compliance_campaign.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
crypto_payment_worker.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
daily_paper_batch.py healthcare: verify CMS-10114 update path, correct NPI Enumerator address, build CMS-10114 filler 2026-06-07 02:04:41 -05:00
delivery_worker.py portal: converge all compliance orders on the single ERPNext portal 2026-06-02 22:44:34 -05:00
deminimis_factor_check.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
email_verifier.py trucking campaigns: daily builder + MX verifier concurrency + tracking column 2026-05-31 10:07:44 -05:00
entity_scraper.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
erpnext_client.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
fax_sender.py add dev mode guards: skip FMCSA submission, fax, and web filing in non-production environments 2026-05-30 22:28:59 -05:00
fcc_499_filer_import.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
fcc_499_filer_scraper.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
fcc_cores_scraper.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
fcc_rmd_auditor.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
fcc_rmd_removed_scraper.py Fix long-running PG transactions in RMD scrapers 2026-05-03 04:13:33 -05:00
fcc_rmd_scraper.py Fix long-running PG transactions in RMD scrapers 2026-05-03 04:13:33 -05:00
fix_349.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
fix_campaigns.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
fl_entity_downloader.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
flag_outside_counsel.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
fmcsa_census_downloader.py Fix census download crash at 100K: integer out of range 2026-05-30 13:41:24 -05:00
fmcsa_deficiency_flagger.py Fix state list import: use individual subscriber creates instead of bulk 2026-05-29 14:26:44 -05:00
fmcsa_enrichment.py FMCSA enrichment: OOS orders bulk download + authority/insurance API lookup 2026-05-30 14:46:40 -05:00
gckey_provisioner.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
hestia_provisioner.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
icc_ingester.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
ink_signature_cli.py Add portable Line-us pen-arm support to ink-signature pipeline 2026-06-07 03:45:46 -05:00
intake_reminder.py feat: daily intake-reminder worker for paid orders with incomplete intake 2026-06-03 00:20:37 -05:00
job_server.py feat(compliance): admin verification gate + durable submission evidence 2026-06-09 22:50:30 -05:00
listmonk_import.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
mac_routing.py healthcare: verify CMS-10114 update path, correct NPI Enumerator address, build CMS-10114 filler 2026-06-07 02:04:41 -05:00
payment_reminder.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
pipeline_orchestrator.py fix(checkout): route dot-new-carrier-bundle on success page + worker pipeline 2026-06-08 23:48:56 -05:00
quarterly_499q_notify.py Implement 499-Q quarterly filing lifecycle 2026-05-03 02:28:04 -05:00
relay_deposit_monitor.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
relay_integration.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
remove_adversary_subscribers.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
renewal_worker.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
rmd_deficiency_campaign.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
swap_discount_to_4pay.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
telegram_notify.py Wire fulfillment alerts to Telegram + surface order progress in portal + even out ERPNext sync 2026-06-07 03:17:46 -05:00
update_campaign_ctas.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
usac_audit_scraper.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
usac_import.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
usf_factor_monitor.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
worker_email.py fix: worker emails (localhost:25 -> SMTP relay) + create ERPNext SO on webhook payment 2026-06-09 14:40:46 -05:00
wy_entity_scraper.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00