Skip to content

Add revenue quote approval guard#476

Open
Davidrsdiaz wants to merge 1 commit into
SCIBASE-AI:mainfrom
Davidrsdiaz:codex/scibase-quote-approval-20
Open

Add revenue quote approval guard#476
Davidrsdiaz wants to merge 1 commit into
SCIBASE-AI:mainfrom
Davidrsdiaz:codex/scibase-quote-approval-20

Conversation

@Davidrsdiaz
Copy link
Copy Markdown

/claim #20

Summary

  • Adds a self-contained revenue quote approval guard for issue Revenue Infrastructure #20.
  • Validates institutional quote-to-cash packets before invoices or entitlements activate by checking legal entity, billing contact, PO/payment evidence, required approvals, non-standard term approvals, discount thresholds, invoice total parity, invoice SKU parity, entitlement scope, contract dates, compute margin floors, and analytics privacy addenda.
  • Generates deterministic JSON, Markdown, SVG, and H.264 MP4 reviewer artifacts from synthetic data only.

Demo

  • revenue-quote-approval-guard/reports/demo.mp4
  • revenue-quote-approval-guard/reports/quote-approval-summary.svg

Validation

  • node revenue-quote-approval-guard/test.js
  • node revenue-quote-approval-guard/demo.js
  • node revenue-quote-approval-guard/make-demo-video.js
  • node --check revenue-quote-approval-guard/index.js
  • node --check revenue-quote-approval-guard/sample-data.js
  • node --check revenue-quote-approval-guard/demo.js
  • node --check revenue-quote-approval-guard/test.js
  • node --check revenue-quote-approval-guard/make-demo-video.js
  • ffprobe -v error -select_streams v:0 -show_entries stream=codec_name,width,height,duration,nb_frames -show_entries format=size,duration -of default=noprint_wrappers=1 revenue-quote-approval-guard/reports/demo.mp4 -> H.264, 1280x720, 4.0s, 48 frames
  • git diff --check
  • git diff --cached --check

Safety

Synthetic fixtures only. No payment, CRM, CPQ, ERP, tax, bank, wallet, identity, institutional, private customer, or external service calls are used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant