KnowledgeVault AI module-spec M-06
internal prototype · canonical JSON + Dreamborn Forge HTML
internal generated
module-spec · supabase_json

KnowledgeVault AI module-spec M-06

M-06 delivers the expert earnings pipeline on top of the payment schema established in M-00 and the payment records created in M-05. It adds a DB trigger that fires immediately when the M-00 pg_cron job releases a payment, calling an internal API route that initiates a Stripe Connect transfer to the expert's bank account and sends a push notification. A Stripe webhook handler finalises payment status to 'paid' when the transfer settles and keeps stripe_payouts_enabled current when Stripe fires a

Open Questions
  • OQ-M-06-01: id: string, owner: string, blocks: string, question: string, resolved: boolean, resolution: string
  • OQ-M-06-02: id: string, owner: string, blocks: string, question: string, resolved: boolean, resolution: string