new-site/scripts/tests
justin 7ed06780bb trucking: stamp e-signature exactly on form signature lines + state authorization gate
Capture-to-form signature placement so the customer's drawn or typed
signature lands right on the signature rule of the actual form, not in a
sidecar page.

- migration 085: esign_records.signature_anchors (JSONB exact PDF coords,
  lower-left origin, points) + signed_document_minio_key
- signature_stamper.py: signature_box() anchors; anchors_from_acroform()
  pulls the signature field /Rect from a real AcroForm (e.g. MCS-150
  certifySignature); stamp_signature() overlays PNG (auto-trimmed so ink
  rests on the rule) or typed name, scaled to actual page size
- state_trucking_authorization.py: renders the Limited Authorization to
  File PDF and returns (pdf_bytes, anchors)
- esign_stamp.py: stamp_esign_document() downloads unsigned PDF, stamps,
  uploads _signed.pdf, sets signed_document_minio_key (idempotent)
- dot_esign.py: extract certifySignature anchor for MCS-150/closeout forms
  so the federal perjury cert is signed on the line
- state_trucking.py: authorization gate — first run emails signing link
  and PAUSES; resumes with client_approved after signing
- job_server handle_esign_completed: stamp then re-dispatch
- tests: test_signature_placement.py (custom form), and
  test_mcs150_signature_placement.py (official AcroForm) both assert the
  signature lands inside the recorded signature box (verified visually)
2026-06-02 16:44:19 -05:00
..
providers Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
runs Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
screenshots Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
__init__.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
add_savings_table.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
ai_retry.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
block_bounced.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
check_campaign_segments.py feat(campaigns): deficiency-flag segments + LP routing (Phase 5) 2026-06-02 03:38:02 -05:00
check_fulfillment_consistency.py test(fulfillment): consistency + intake-completeness checker 2026-06-02 03:29:53 -05:00
debug_submit.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_checkout.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_crtc_order.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_crtc_pipeline.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_crtc_pricing.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_crtc_provinces.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_fcc_compliance.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_full_order.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_full_pipeline.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
e2e_standard_delays.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
fix_chat_blocks.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
test_binder.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
test_cpni_calea_variants.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
test_data.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
test_form_499_initial_smoke.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
test_mcs150_signature_placement.py trucking: stamp e-signature exactly on form signature lines + state authorization gate 2026-06-02 16:44:19 -05:00
test_signature_placement.py trucking: stamp e-signature exactly on form signature lines + state authorization gate 2026-06-02 16:44:19 -05:00