@lssm-tech/module.growth-os
Design-system UI for referral and affiliate participants and administrators. Components are controlled, provider-neutral, responsive, and available with English, French, and Spanish catalogs. They cover loading/error/empty states, participant links/conversions/earnings/payout history, and permission-gated program, reward, reversal, retry, batch, and reconciliation controls.
The module does not compute attribution, rewards, or balances. Hosts pass authoritative GrowthOS projections and invoke ContractSpec-backed callbacks. Raw acquisition tokens, provider details, and host error payloads are never rendered.
The optional marketing workspace registrar binds the library-owned workspace query. Tenant/workspace/actor identity comes from HandlerCtx, while the injected brand loader authorizes access and resolves the approved revision. Bootstrap never grants inference or publishing approval.
registerMarketingPlanningApproval mounts scoped quote, issuance and recovery contracts. Its injected authority owns durable pricing, explicit human review and receipt issuance. Request scope is checked against HandlerCtx before calling that authority.
registerMarketingMetricReports composes the library-owned reporting calculation with an authorized observation loader and canonical REST/MCP contracts. It rejects foreign workspace scope before reads and preserves missing-data results.