RBS Ecosystem Status
Last Audit: April 11, 2026 (S54 — 21/21 CI green, Goodbay/Continua corrected from stub to deployed) Total Apps: 21 deployable apps + 1 SDK + 1 docs hub (18 UP, 3 DOWN as of audit) Security: 2 CRITICAL + 3 HIGH fixed Mar 24. See ECOSYSTEM_GAP_AUDIT_MAR2026.md for details. DOWN: Mancha (503 — Supabase free tier paused), Goodbay (000 — deployment env issue), Continua (000 — deployment env issue) Note: Goodbay and Continua have complete feature implementations (all routes, APIs, Firestore models); 000 is a deployment environment issue, not missing functionality.
Dual Nature of RBS Platforms
Each major platform in the ecosystem has two distinct value propositions:
| Platform | As Standalone B2B Product | As Ecosystem Service |
|---|---|---|
| Camino | Full CRM for Mexican SMBs (contacts, pipelines, marketing automation) | OAuth2 SSO provider for single sign-on across all RBS apps |
| Colectiva | Payment gateway (CoDi, MercadoPago, OXXO, SPEI) + subscription billing | Unified payment processing and wallet system for ecosystem apps |
| Constanza | SAT-compliant CFDI 4.0 invoicing with AI expense classification | Accounting hub and compliance center for ecosystem billing |
This dual nature allows customers to:
- Start with one product and expand as needs grow
- Get immediate standalone value without ecosystem lock-in
- Benefit from deep integration when using multiple products
Platform Infrastructure (5)
| App | Path | Stack | Database | Deployed | Notes |
|---|---|---|---|---|---|
| Camino CRM | /camino | SvelteKit + Supabase | PostgreSQL | camino.redbroomsoftware.com | OAuth2 SSO provider, CRM hub |
| Colectiva | /colectiva-RBS/colectiva | SvelteKit + Firebase | Firestore | colectiva.redbroomsoftware.com | Payment gateway, wallet, ecosystem registry |
| Constanza | /Constanza | SvelteKit + Firebase | Firestore | constanza.redbroomsoftware.com | CFDI invoicing, accounting, AI hub |
| Banxico | /Banxico_payment_microservice | Node/Express | PostgreSQL + Oracle | Oracle VM 40.233.27.208 | CoDi QR, SPEI, coin balance |
| RBS Website | /RBS_website | SvelteKit 2 + Svelte 5 Static | None | redbroomsoftware.com | Marketing site (18 products) |
B2B Vertical Apps (8)
| App | Path | Stack | Database | @payments SDK | Deployed |
|---|---|---|---|---|---|
| Caracol | /caracol | SvelteKit + Firebase | Firestore | ✅ | caracol.redbroomsoftware.com |
| La Hoja | /la-hoja | Next.js 15 + Firebase | Firestore | ✅ | hoja.redbroomsoftware.com |
| Cosmos Pet | /Cosmos-pet | SvelteKit + Firebase | Firestore | ✅ | cosmos.redbroomsoftware.com |
| Hospitality (Goodbay) | /goodbay | SvelteKit + Firebase | Firestore | ✅ (custom) | goodbay.redbroomsoftware.com |
| Cookie Monster | /cookie-monster | SvelteKit + Firebase | Firestore | ✅ | cookies.redbroomsoftware.com |
| Mancha | /mancha | SvelteKit + Supabase | PostgreSQL | ✅ (custom) | Mature (27 routes, SSO ✅) |
| Agora | /agora | SvelteKit + Supabase | PostgreSQL | ✅ (custom) | Mature (28 routes, full ecosystem) |
| Comal | /comal | SvelteKit + Supabase | PostgreSQL | ✅ (custom) | comal.redbroomsoftware.com — E-commerce SaaS |
| Agente | /agente | SvelteKit + Firebase | Firestore | — | agente.redbroomsoftware.com — Import logistics #24 |
B2C / Marketplace Apps (5)
| App | Path | Stack | Database | @payments SDK | Deployed |
|---|---|---|---|---|---|
| Servilleta | /servilleta | SvelteKit + Firebase | Firestore | ✅ (custom) | servilleta.redbroomsoftware.com |
| Puppy Love | /puppy-love | SvelteKit + Firebase | Firestore | ✅ | puppylove.redbroomsoftware.com |
| Baúl | /baul | SvelteKit + Supabase | PostgreSQL | ✅ (custom) | Last-mile distribution ops + Cookie Monster catalog API. Migrations pending. |
| Continua | /blood-donor | SvelteKit + Firebase | Firestore | ✅ | continua.redbroomsoftware.com |
| Plenura | /plenura-web | SvelteKit + Supabase + Firebase | Both | ✅ (custom) | plenura.redbroomsoftware.com |
Shared Packages
| Package | Published | Version | Purpose | Notes |
|---|---|---|---|---|
| @r-bsoftware/ecosystem-sdk | GitHub Packages | 0.10.2 | Webhooks, auth, AI metering, app registry, rate limiting, MCP server | 16+ consumer apps. NOT consumed by Camino, Banxico, RBS Website |
| @redbroomsoftware/payments | npm (public) | 1.0.0 | Colectiva payment client | Used by 7 Firebase apps |
Note:
@rbs/subscription-kitwas previously listed but does NOT exist on npm. The/rbs-packages/directory does not exist on disk.
Archived (1)
| App | Path | Reason |
|---|---|---|
| Plenura Flutter | /plenura-flutter-ARCHIVED | Superseded by plenura-web |
Integration Status Matrix
| App | Colectiva | SSO | Webhooks | AI Services | CFDI | Subscription Webhooks |
|---|---|---|---|---|---|---|
| Caracol | ✅ | ✅ | ✅ sale→Constanza+Colectiva | - | Via Constanza | ✅ |
| La Hoja | ✅ | ✅ | ✅ sale→Constanza+Colectiva | ✅ Inventory | Via Constanza | ✅ |
| Cosmos Pet | ✅ | ✅ | - | - | Via Constanza | - |
| Hospitality | ✅ | ✅ | ✅ | - | Via Constanza | - |
| Cookie Monster | ✅ | ✅ | - | - | - | - |
| Mancha | ✅ | ✅ | ✅ + Camino notifications | - | - | ✅ |
| Agora | ✅ | ✅ | ✅ + CRM activity logging | ✅ Multi-AI | Via Constanza | ✅ |
| Servilleta | ✅ | ✅ | ✅ | ✅ Task AI | Via Constanza | - |
| Puppy Love | ✅ | ✅ | - | ✅ Matching | - | - |
| Baúl | ✅ | ❌ | ✅ Colectiva+Camino | - | - | - |
| Continua | ✅ | ✅ | - | - | - | - |
| Plenura | ✅ | ✅ | ✅ | ✅ 5 AI features | Via Constanza | ✅ |
| Rito | ✅ | ✅ | ✅ | ✅ Extract AI | Via Constanza | ✅ |
| Comal | ✅ | ✅ | ✅ | - | Via Constanza (global) | ✅ |
| Agente | ✅ MXC | ✅ SSO | ⚙️ Camino sync wired | ⚙️ AI classify stub | Via Constanza | ✅ |
| Constanza | - | ✅ | ✅ cfdi.stamped/cancelled sender | - | Self | ✅ |
| Colectiva | - | ✅ | ✅ sale.completed receiver | ✅ parse-input | - | ✅ |
| Patadas | ✅ | ✅ | ✅ milestone/project/referral events | - | Via Constanza | ✅ |
Subscription Webhooks (verified Mar 24 from events.json): 10 apps receive subscription.activated/cancelled from Camino: Plenura, Agora, Rito, Mancha, Caracol, La Hoja, Colectiva, Comal, Constanza, Patadas. 6 apps also receive subscription.changed. Camino enforces tier gating on 5 premium endpoints.
Scheduled Infrastructure (April 2026)
Full detail: ECOSYSTEM_INFRASTRUCTURE.mdTotal: 70+ scheduled jobs across 3 scheduler types
Three-Layer Scheduling Architecture
| Layer | Technology | Apps | Role |
|---|---|---|---|
| App cron | Vercel Cron → HTTP | Camino, Constanza, Baúl, Ecosystem API | Primary scheduled jobs |
| Queue cron | Upstash QStash | Colectiva (15 jobs), Caracol (1 job) | Firebase apps, signed delivery, retry |
| DB cron | Supabase pg_cron | 7 apps | Keep-alives, DB-internal jobs |
Key Infrastructure Jobs
| Job | App | Schedule | Criticality |
|---|---|---|---|
| Daily dispatcher (18 sub-jobs) | Camino | 08:00 CDT daily | 🔴 Critical — marketing, billing, cleanup backbone |
| Ecosystem heartbeat | Colectiva (QStash) | Every 30 min | 🔴 Critical — fans out to Agora, La Hoja, Servilleta |
| Failed stamp queue | Caracol (QStash) | Every 15 min | 🔴 Critical — CFDI retry with dedup guard |
| Subscription renewals | Colectiva (QStash) | 08:00 CDT daily | 🔴 Critical — revenue continuity |
| Health check | Ecosystem API | 06:00 UTC daily | 🟡 Important — app uptime monitoring |
| Certificate expiry | Constanza | 09:00 CDT daily | 🟡 Important — SAT compliance |
| Generate routes | Baúl | 06:00 CDT weekdays | 🟡 Important — delivery operations |
| Keep-alive (×7) | Multiple Supabase apps | Every 3 days | 🟢 Maintenance — free tier anti-pause |
| Voice outbound | Camino (pg_cron) | Every 15 min, 09–19h MX | 🟡 Important — outbound calls |
Dependency: Colectiva Heartbeat Fan-Out
Agora, La Hoja, and Servilleta do not have their own vercel.json cron entries. Their background jobs run only because Colectiva's ecosystem-heartbeat calls them every 30 minutes. A Colectiva outage would silently stop background work in these 3 apps.
Integration Health (April 2026 Audit)
Full detail: ECOSYSTEM_CAPABILITY_MAP.md
Webhook Handler Coverage
Only 4 of 17 apps have implemented webhook handler endpoints that send to other apps. 13 apps receive events but have no outbound event dispatch.
| App | Sends Events | Handler Implemented | Key Gap |
|---|---|---|---|
| Camino | ✅ subscription.* contact.* | ✅ | — |
| Colectiva | ✅ payment.received wallet.credited | ✅ | Brain needs cross-app data |
| Caracol | ✅ sale.completed | ✅ | Doesn't fire to Colectiva (revenue gap) |
| Patadas | ✅ milestone.* project.* timesheet.* | ✅ | Colectiva has no handlers for these |
| Agora | ✅ case.* activity.logged | 🟡 Partial | project.completed handler missing |
| Servilleta | ✅ task.completed task.cancelled | ⚠️ Gap | Colectiva not receiving task payments |
| Comal | ✅ order.completed | ⚠️ Gap | No Constanza org cross-ref |
| All others | Defined in apps.json | ⚠️ Gap | No outbound handlers |
Critical Unimplemented Flows
| Flow | Events | Status | Revenue Impact |
|---|---|---|---|
| Patadas marketplace billing | timesheet.approved → Colectiva release | ⚠️ Not wired | Marketplace unbillable |
| Patadas project close | project.completed → Colectiva + Constanza | ⚠️ Not wired | Final payment manual |
| POS revenue capture | Caracol sale.completed → Colectiva wallet | ⚠️ Not firing | Revenue not credited |
| Self-serve trial upgrade | Trial expiry → upgrade → tier unlock | 🟡 Built, untested | $0 SaaS revenue |
| MercadoPago payments | All Colectiva payment flows | ⚠️ Disabled since 2026-03-29 | Payment method missing |
Hidden Capabilities Summary
26 capabilities audited. Key findings by status:
- ✅ Live but invisible: CPI blockchain anchoring, Ecosocialismo distributions, Campaign auto-enrollment, Ghost Timer HITL, AI Router, Delivery tracking tokens (Baúl)
- 🟡 Built, not surfaced: CaminoAgent (40+ tools, admin-only), Deal Architect, Oracle Insights (API-only), Colectiva Brain (dormant), Trial→Upgrade Loop (untested), Workflow Engine (no UI)
- 🔴 Stub: Fiscal Optimizer AI (Constanza), RFC live validation, SMS/Push/WhatsApp dispatch
- ⚠️ Spec-only gaps: Patadas→Agora contracts, Caracol→Colectiva revenue, Referral attribution
Security Audit (March 2026)
Scope: All 18 deployed apps Status: ✅ Complete (updated March 11)
| Fix | Status |
|---|---|
All VITE_* API keys migrated to $env/dynamic/private | ✅ |
| All webhook secrets: deny-by-default (reject when not configured) | ✅ |
All 'dev-secret' fallbacks eliminated ecosystem-wide | ✅ |
Cron endpoints: deny-by-default when CRON_SECRET not set | ✅ |
| All webhook endpoints have HMAC-SHA256 or provider signature verification | ✅ |
| Security headers (X-Frame-Options, X-Content-Type-Options, Referrer-Policy) on all apps | ✅ |
Firestore preferRest: true on all Firebase apps (serverless compat) | ✅ |
crypto.timingSafeEqual for all signature comparisons | ✅ |
Colectiva JWT issuer localhost restricted to dev-only | ✅ |
Plenura as any fully eliminated (33→0) | ✅ |
| CLAUDE.md decision boundaries on all 13 active apps | ✅ |
| SendGrid dead code removed from Camino (migrated to Resend) | ✅ |
Integration Summary
Payment Integration Status (All Complete)
| App | Status | What's Missing |
|---|---|---|
| Hospitality | ✅ Complete | Custom integration with Colectiva, Constanza, Camino, Mancha |
| Servilleta | ✅ Complete | Custom escrow payments, Constanza accounting, Camino support |
| Mancha | ✅ Complete | Custom Colectiva client (deposits, no-show fees, refunds) |
| Agora | ✅ Complete | Colectiva payments + IOLTA trust, Constanza CFDI, Camino CRM+AI, Mancha scheduling |
| Plenura | ✅ Complete | Escrow payments, therapist wallets, KYC webhooks, commission tiers |
Note: Baúl has custom Colectiva integration (charges, subscriptions, webhooks) — not using SDK but fully functional. Also exposes GET /api/catalog for Cookie Monster (Bearer auth, server-to-server).
Decision Events Status
Infrastructure:
| Component | Status |
|---|---|
ecosystem-webhook.service.js | ✅ Implemented |
workflow-executor.service.js | ✅ Implemented |
workflow-templates.service.js | ✅ Templates defined |
| Employee lifecycle events | ✅ Wired (Jan 26, 2026) |
| Payroll events | ✅ Wired (Jan 27, 2026) |
Employee Events (Implemented):
employee.created→ Broadcasts to POS app + Constanza when employee addedemployee.terminated→ Broadcasts to POS app + Constanza when terminated
Payroll Events (Implemented):
payroll.calculated→ Broadcasts when payroll calculation completespayroll.disbursed→ Broadcasts when payments are disbursedpayroll.processed→ Notifies Constanza for accounting entries
Workflow Templates:
hiring.approve→ Multi-step approval workflowtermination.approve→ Multi-step termination workflowexpense.approve→ Accounting entries workflow
Approvals UI (Implemented Jan 27, 2026):
/workspace/[id]/approvalspage for viewing pending approvalsApprovalCard.sveltecomponent with approve/reject/modify actions- Sidebar navigation link added
Rito: Real Estate Private Equity Platform (App #20)
Status: Production (Phase 17 complete, earning revenue) Stack: SvelteKit 5 + Supabase (PostgreSQL) URL: rito.redbroomsoftware.com Pricing: Starter $2,499 / Professional $5,999 / Enterprise $14,999 MXN/mo (14-day trial) Full Document: roadmaps/RITO_REPE_PLATFORM.md
Vertically integrated REPE operating platform covering deal acquisition → underwriting → asset management → investor management → exit. Fund-scoped multi-tenancy via fund_id + fund_members. Full ecosystem integration (Camino SSO, Colectiva wallets, Constanza CFDI).
| Layer | Components |
|---|---|
| Layer 1 (Service) | DCF engine, IRR/MOIC calculator, equity waterfall, NOI modeling, debt structuring, scenario analysis |
| Layer 2 (Ecosystem) | Camino (deal CRM, investor relations), Colectiva (capital calls, distributions), Constanza (SPV accounting, CFDI), Mancha (property ops), Agora (legal/contracts) |
| Layer 3 (Application) | IC dashboards, investor portal, rent roll tracking, asset performance, fund rollup |
Colectiva A.C. (ONG Restructuring Vision)
Status: Strategic Vision (12-24 month horizon) Full Document: roadmaps/COLECTIVA_ONG_RESTRUCTURING.md
Transform Colectiva into an Asociación Civil (non-profit) that owns RBS as subsidiary. Three-phase compliance strategy:
| Phase | Entity | Capability |
|---|---|---|
| Phase 1 (Now) | Colectiva A.C. | Payment aggregator via licensed processors (MP, CoDi) |
| Phase 2 (12-24mo) | A.C. → SOFIPO application | Consumer balances, P2P, micro-lending |
| Phase 3 (24mo+) | SOFIPO licensed | Full financial institution, deposits, direct Banxico |
Revenue structure: All financial flows through A.C. → distributed to RBS operations (~60%), ecosocialismo (~20%), fideicomiso reserve (~10%), cashback/rewards (~10%).
Development Priorities
Deferred Indefinitely
- [ ] Mobile apps for POS (Caracol, La Hoja)
- [ ] Fideicomiso "Colectiva" - Deferred until $500K+ MXN distributable earnings
- Requires: fiduciary institution, notary, $50K-200K setup
- Distribution accrues internally until trust created
Active Roadmap
- [ ] Comal Phase 2 - Product catalog + premium "Ritual" storefront theme
- [ ] Colectiva CPI for Servilleta - Investor offering launch
- [ ] RBS Website i18n wiring - 547 translation keys exist but not called in UI
- [ ] Colectiva A.C. constitution - Legal consultation, bylaws, RFC registration
- [ ] Constanza DataGrid integration - Replace 10+ hand-coded tables
- [ ] Caracol DataGrid integration - Replace 2200+ lines of manual grid logic
- [ ] Direct Bank Routing (Enterprise) - Allow high-volume tenants to bypass Colectiva wallet
Completed
- [x] Rito Phase 17 ✅ Production-ready, earning revenue (Mar 2026)
- [x] Comal Phase 1 ✅ Scaffold + auth + store settings deployed (Mar 2026)
- [x] Security audit ✅ All 18 apps hardened (Mar 2026)
- [x] RBS Website Svelte 5 upgrade ✅ Full rune migration + redesign (Mar 6, 2026)
- [x] La Hoja reports overhaul ✅ Real data, growth rates, refunds (Mar 7, 2026)
- [x] Colectiva CPI system ✅ Marketplace, blockchain anchoring, distributions (Mar 2026)
- [x] Wire decision events in Colectiva HR endpoints ✅ (Jan 27, 2026)
- [x] Baul payment integration ✅ Already complete (custom implementation)
- [x] Hospitality @payments SDK integration ✅ Already complete (custom implementation)
- [x] Mancha/Agora ecosystem integration ✅ Already complete (custom implementations)
- [x] Ecosystem subscription UI ✅ 6 apps complete (Feb 15, 2026)
- [x] Syncfusion v32 rollout ✅ 5 apps (Feb 15, 2026)
- [x] i18n (en/es) rollout ✅ 7 apps (Feb 15, 2026)
- [x] Camino security hardening ✅ 13 migrations (Feb 15, 2026)
- [x] Constanza CFDI tipo P + ISR engine ✅ (Feb 15, 2026)
Documentation
- [x] Unified API documentation
- [x] Claude session onboarding
- [x] Developer portal ✅ Live at https://developers.redbroomsoftware.com (Jan 27, 2026)
- [x] Rito architecture document ✅ (Feb 15, 2026)
- [x] Colectiva ONG restructuring vision ✅ (Feb 15, 2026)
- [ ] Keep this status doc updated
Tenant Payment Integration Status
Status: ✅ FULLY AVAILABLESDK:
@redbroomsoftware/payments(npm public)
How Tenants Receive Payments
Customer → Tenant's App → @redbroomsoftware/payments → Colectiva Gateway
↓
┌─────────────────────────────────────┐
│ │
▼ ▼ ▼
CoDi MercadoPago OXXO
(≤$8,000) (card/subscription) (cash)
0% 2.5-3.5% ~3%
│ │
└──────────────┬──────────────────────┘
▼
┌─────────────────────┐
│ Settlement (SPEI) │
│ Tenant's CLABE │
└─────────────────────┘Colectiva Product Pricing (Clarified)
Colectiva has two separate product lines with different pricing:
A. Payment Gateway Features (for POS apps: Caracol, La Hoja, etc.)
Earnings management, webhooks, Constanza accounting sync.
| Tier | Monthly | Commission | Features |
|---|---|---|---|
| Free | $0 | 3.0% | Basic earnings tracking, weekly settlement |
| Payments Starter | $299 | 2.5% | + Threshold alerts, webhooks (3), reconciliation |
| Payments Pro | $799 | 1.5% | + Constanza sync, auto-pólizas, cashback, daily settlement |
| Payments Enterprise | Custom | 0.5% | + Custom deductions, multi-beneficiary, same-day settlement |
B. Fiscal Credits (for CFDI invoicing via Constanza)
Prepaid allocations for invoice stamps and AI calls.
| Tier | Monthly | Stamps | AI Calls | Overage |
|---|---|---|---|---|
| Fiscal Starter | $499 | 100 | 500 | $4/stamp, $0.20/AI |
| Fiscal Pro | $1,499 | 500 | 2,000 | $3.50/stamp, $0.15/AI |
| Fiscal Business | $3,999 | 2,000 | Unlimited | $3/stamp |
Note: These are independent subscriptions. A business using Caracol POS might subscribe to:
- Caracol ERP plan (POS features)
- Payments Starter ($299) for earnings alerts
- Pay-per-use stamps (no Fiscal subscription needed)
Money Management via Colectiva
| Capability | Available | Notes |
|---|---|---|
| Accept payments | ✅ | CoDi + MP + OXXO |
| View transactions | ✅ | Colectiva dashboard |
| Receive settlements | ✅ | SPEI to CLABE |
| Track earnings | ✅ | Professional+ tiers |
| CFDI generation | ✅ | Via Constanza |
| MXC Wallet | ✅ | For ecosystem services |
| Direct bank routing | ❌ | Enterprise upsell |
Without Colectiva (Direct MercadoPago)
If tenant bypasses Colectiva:
- ❌ Must create own MP account (KYC, paperwork)
- ❌ Pay MP fees on all transactions (no CoDi)
- ❌ No unified ecosystem dashboard
- ❌ No Constanza accounting sync
- ❌ No ecosystem benefits (credits, rewards)
Upsell Opportunity: Direct Bank Routing (Enterprise)
Target: High-volume merchants ($100K+/month)
| Feature | Current (Professional) | Enterprise |
|---|---|---|
| Commission | 1.5% | 0.5% flat |
| Settlement | Daily | Same-day SPEI |
| Colectiva wallet | Required | Optional |
| Direct CLABE routing | ❌ | ✅ |
| Custom webhooks | 10 endpoints | Unlimited |
Value Proposition: Save $1,500+/month on a $100K merchant
Colectiva Consumer Payment Strategy
Strategic Direction: Transform Colectiva from B2B payment aggregator to consumer-facing payment platform Full Documentation: Colectiva CONSUMER_PAYMENT_STRATEGY.mdAPI Reference: Colectiva CONSUMER_API_REFERENCE.md
B2B vs B2C Authentication Model
| User Type | SSO Needed? | Rationale |
|---|---|---|
| Business owners (Caracol, La Hoja users) | ✅ Yes | Use multiple ecosystem tools daily |
| Service providers (therapists, taskers) | ✅ Yes | Run businesses, need Constanza/Camino |
| End consumers (booking massage, renting storage) | ⚠️ Optional | Only if Colectiva account provides value |
Consumer Value Proposition: "Pay with Colectiva"
For consumers to WANT a Colectiva account (like PayPal), they need clear benefits:
- Save payment methods once, use across all apps
- Buyer protection on all purchases
- Earn Colectiva Rewards across ecosystem
- Purchase history and easy refunds
Implementation Status (Feb 3, 2026)
Phase 1 Services - COMPLETE:
| Service | File | Status |
|---|---|---|
| Consumer Identity | src/lib/services/consumer-identity.service.js | ✅ Complete |
| Rewards Program | src/lib/services/rewards.service.js | ✅ Complete |
| Consumer Wallet | src/lib/services/consumer-wallet.service.js | ✅ Complete |
Phase 1 APIs - COMPLETE:
| Endpoint | Purpose | Status |
|---|---|---|
/api/consumer/account | Create/get accounts | ✅ |
/api/consumer/verify/phone | Phone verification | ✅ |
/api/consumer/payment-methods | Saved cards | ✅ |
/api/consumer/rewards | Points earn/redeem | ✅ |
/api/consumer/wallet | Balance check | ✅ |
/api/consumer/wallet/purchase | Buy credits | ✅ |
/api/consumer/wallet/spend | Spend/refund | ✅ |
Phase 1 Integration - PENDING:
- [ ] "Pay with Colectiva" OAuth flow for B2C apps
- [ ] Checkout button component
- [ ] B2C app integration (Plenura, Servilleta, Baul)
Phase 2 (6-12 months):
- [ ] Consumer-facing UI in Colectiva
- [ ] Cross-app reward earning integration
- [ ] Marketing campaigns via Camino
Phase 3 (SOFIPO License - 2026+):
- [ ] P2P transfers between verified users
- [ ] Balance holding with interest
- [ ] Banxico direct integration (0% transaction cost)
Regulatory Status
| Component | License Required | Current Status |
|---|---|---|
| RBS Credits (prepaid services) | ❌ No | ✅ Implemented |
| Consumer Credits (prepaid) | ❌ No | ✅ Implemented |
| Rewards points | ❌ No | ✅ Implemented |
| Payment processing via MP | ❌ No | ✅ Implemented |
| Consumer balance holding | ✅ IFPE | ❌ Not available |
| P2P transfers | ✅ IFPE | ❌ Not available |
Revenue-Generating Apps
| App | Monthly Revenue | Status |
|---|---|---|
| Caracol | $7,000 MXN | Production client |
| Constanza | Active | Multiple clients |
| La Hoja | Active | Production |
Earnings Management System (NEW - Feb 2026)
Purpose: Smart earnings tracking for platform revenue with SAT compliance Location:
colectiva-RBS/colectiva/src/lib/services/earnings-management.service.js
Platform Owner vs Tenant
| Aspect | RBS (Platform Owner) | Tenants |
|---|---|---|
| Identified by | ecosystem_org_id = 'rbs' | ecosystem_org_id = 'tenant_xyz' |
| Earnings source | Revenue FROM tenants | Their own business revenue |
| Compliance | Always required (SAT) | Optional (tier-gated) |
| Tier | rbs_internal (all features) | free, starter, professional, enterprise |
| Constanza sync | Automatic | Optional (Professional+) |
Revenue Streams Tracked
| Stream | Description | Deductions |
|---|---|---|
ai_usage | AI token charges | 16% IVA |
subscriptions | Plan payments | 16% IVA |
wallet_fees | Withdrawal commissions | 16% IVA |
interest | Mercado Fondo float | 20% ISR withholding |
services | CFDI stamps, SMS, etc. | 16% IVA |
Feature Availability by Tier
| Feature | Free | Starter ($299) | Professional ($799) | Enterprise |
|---|---|---|---|---|
| earnings_tracking | ✅ | ✅ | ✅ | ✅ |
| threshold_alerts | ❌ | ✅ | ✅ | ✅ |
| reconciliation | ❌ | ✅ | ✅ | ✅ |
| automated_triggers | ❌ | ❌ | ✅ | ✅ |
| distribution_tracking | ❌ | ❌ | ✅ | ✅ |
| constanza_sync | ❌ | ❌ | ✅ | ✅ |
| poliza_generation | ❌ | ❌ | ✅ | ✅ |
| custom_deductions | ❌ | ❌ | ❌ | ✅ |
| multi_beneficiary | ❌ | ❌ | ❌ | ✅ |
New Services (Feb 2026)
| Service | File | Purpose |
|---|---|---|
| Earnings Management | earnings-management.service.js | Revenue stream tracking |
| Earnings Config | earnings-config.js | Tier definitions, Camino upsells |
| Ecosystem Triggers | ecosystem-triggers.service.js | Hybrid triggers (event/scheduled/threshold) |
| AI Invoice | ai-invoice.service.js | CFDI for AI usage charges |
New API Endpoints
| Endpoint | Method | Purpose |
|---|---|---|
/api/earnings | GET/POST | Summary, record earnings |
/api/earnings/alerts | GET/PUT | Threshold alerts |
/api/earnings/triggers | GET/POST/PUT | Trigger management |
/api/earnings/poliza | GET/POST | Poliza generation |
/api/earnings/sync | GET/POST | Constanza sync |
/api/ai/invoices | GET/POST | AI invoice requests |
/api/ai/invoices/fiscal-data | GET/PUT | Fiscal data management |
Cron Jobs
| Endpoint | Schedule | Purpose |
|---|---|---|
/api/cron/earnings-reconciliation | Daily 6 AM | Reconciliation + threshold checks |
/api/cron/earnings-poliza | Monthly 1st 4 AM | Poliza generation |
/api/cron/ai-invoices | Monthly 5th 6 AM | AI invoice consolidation |
Constanza Integration Status
| Component | Colectiva | Constanza |
|---|---|---|
| Wallet deposit sync | ✅ | ✅ |
| Wallet payment sync | ✅ | ✅ |
| Settlement sync | ✅ | ✅ |
| Payroll sync | ✅ | ✅ |
| Equity accrual | ✅ | ✅ Fixed Feb 4 |
| Earnings poliza | ✅ | ✅ Added Feb 4 |
| Distribution poliza | ✅ | ✅ Added Feb 4 |
Syncfusion Essential Studio Integration
License: Community Edition v32.x (free for <$1M revenue, <5 devs) Key: Registered across all apps via
src/lib/syncfusion-license.tsPattern: Vanilla JS EJ2 +onMount()dynamic import,ssr.noExternal: [/^@syncfusion/]in vite config
Integration Status
| App | Packages | License | Vite Config | Components Built | Status |
|---|---|---|---|---|---|
| Camino CRM | ✅ v32.2.x | ✅ | ✅ | Schedule (calendar) | Production |
| Colectiva | ✅ v32.2.x | ✅ | ✅ | Schedule (calendar) | Production |
| Mancha | ✅ v32.2.x | ✅ | ✅ | Schedule (ReservationCalendar) | New |
| Constanza | ✅ v32.2.x | ✅ | ✅ | Infrastructure ready | New |
| Caracol | ✅ v32.2.x | ✅ | ✅ | Infrastructure ready | New |
Components in Use / Planned
| Component | Apps Using | Purpose |
|---|---|---|
| Schedule | Camino, Colectiva, Mancha | Calendar views (Day/Week/Month/Agenda) |
| DataGrid | Constanza (planned), Caracol (planned) | Replace hand-coded HTML tables with sorting/filtering/export |
| Charts | Constanza (planned) | Financial dashboards, revenue visualization |
| PDF Viewer | Constanza (planned) | CFDI document preview |
Expansion Opportunities
| App | Opportunity | Impact |
|---|---|---|
| Constanza | 10+ pages with hand-coded tables → DataGrid; zero charts on financial dashboards | High |
| Caracol | 14+ data-heavy pages, 2200+ lines of manual grid logic → DataGrid | Highest |
| Mancha | ReservationCalendar ✅ built; floor plan editor possible with Diagram | Medium |
Ecosystem Subscription UI Status
Date: February 15, 2026 Architecture: Apps → Colectiva checkout → webhook lifecycle → local subscription state
| App | Pricing Page | Subscription UI | Checkout Flow | Webhook Handler | Status |
|---|---|---|---|---|---|
| Plenura | ✅ | ✅ (payment history table) | ✅ | ✅ | Complete |
| Servilleta | ✅ | ✅ | ✅ | ✅ | Complete |
| Agora | ✅ | ✅ (subscription tab) | ✅ | ✅ | Complete |
| Cosmos Pet | ✅ | ✅ (dashboard + pricing) | ✅ | ✅ | Complete |
| Caracol | ✅ | ✅ (comprehensive) | ✅ | ✅ | Already had 90%+ |
| La Hoja | ✅ | ✅ | ✅ | ✅ | Already had 95%+ |
Last Modified (Recent Activity)
| Date | App | Activity |
|---|---|---|
| Mar 21, 2026 | Ecosystem | Service layer overhaul: dual sale.completed webhooks, subscription lifecycle handlers (5 apps), Camino tier gating, Agora CRM logging + ghost timer HITL, Constanza BI endpoints, Colectiva parse-input, Mancha Camino notifications |
| Mar 11, 2026 | Ecosystem | Deep audit: all security issues resolved, 100% webhook verification, CLAUDE.md on all apps |
| Mar 11, 2026 | Camino | SendGrid removed, 7 webhooks secured, CLAUDE.md created, landing page buttons fixed |
| Mar 11, 2026 | Plenura | 33 as-any→0, query parallelization, security headers |
| Mar 11, 2026 | Comal | Financial constraints, nested form fix, timingSafeEqual, theme polish complete |
| Mar 11, 2026 | Constanza+La Hoja | Firestore preferRest added |
| Mar 11, 2026 | Caracol+Colectiva | Deny-by-default fixes, JWT issuer restriction |
| Mar 10, 2026 | Ecosystem | 7 WhatsApp agents built+deployed, SDK v0.4.0 |
| Mar 7, 2026 | La Hoja | Reports overhaul: zero TS errors, real growth rates, refunds, tips |
| Mar 7, 2026 | RBS Website | TS errors fixed, a11y warning resolved, CLAUDE.md updated |
| Mar 7, 2026 | Docs | ECOSYSTEM_STATUS.md updated to reflect Mar 2026 state |
| Mar 7, 2026 | Plenura | Financial report growth rates (previous period comparison) |
| Mar 6, 2026 | RBS Website | Svelte 5 upgrade + full UI/UX redesign (18 products, animations, glassmorphism) |
| Mar 5, 2026 | Ecosystem | Security audit: all webhook secrets deny-by-default, VITE_* keys migrated |
| Mar 5, 2026 | Ecosystem | Firestore indexes deployed: Servilleta (24), Constanza (13), Colectiva (26) |
| Mar 2026 | Comal | Phase 1 deployed: scaffold, auth, store settings, RBS SSO |
| Mar 2026 | Colectiva | CPI system: marketplace, blockchain anchoring, distributions, investor portal |
| Mar 2026 | Rito | Phase 17 complete, production-ready, earning revenue |
| Feb 15, 2026 | Rito | Architecture document: REPE platform design, ecosystem cross-usage, data model |
| Feb 15, 2026 | Colectiva | ONG/A.C. restructuring vision document: compliance strategy, governance, revenue flow |
| Feb 15, 2026 | Ecosystem | Full 19-platform audit: all repos committed, pushed, clean |
| Feb 15, 2026 | Camino | 4 commits: housekeeping, migrations 075-087, RLS hardening, subscription lifecycle |
| Feb 15, 2026 | Constanza | 5 commits: Complemento de Pago, ISR engine, Colectiva poliza, CFDI cancel, docs |
| Feb 15, 2026 | Servilleta | Task marketplace routes (5 new route groups) |
| Feb 15, 2026 | 7 apps | i18n (en/es) rollout across ecosystem |
| Feb 15, 2026 | Mancha | Syncfusion Schedule integration - ReservationCalendar component with list/calendar toggle |
| Feb 15, 2026 | Constanza | Syncfusion infrastructure installed (DataGrid, Charts, PDF Viewer packages) |
| Feb 15, 2026 | Caracol | Syncfusion infrastructure installed (DataGrid, Excel Export packages) |
| Feb 15, 2026 | Camino | Syncfusion license key updated to v32.x Community Edition, packages upgraded |
| Feb 15, 2026 | Colectiva | Syncfusion license key updated to v32.x Community Edition, packages upgraded |
| Feb 15, 2026 | Ecosystem | Subscription UI completed across Plenura, Servilleta, Agora, Cosmos Pet |
| Feb 15, 2026 | Plenura | Ecosystem webhook handler + payment history table + subscription management |
| Feb 4, 2026 | Docs | Roadmap: fideicomiso deferred, direct bank routing upsell, tenant payment docs |
| Feb 4, 2026 | Colectiva | BENEFICIARY_STATUS config added (fideicomiso = accrual_only) |
| Feb 4, 2026 | Constanza | Earnings-poliza, distribution-poliza endpoints, equity-accrual fix |
| Feb 4, 2026 | Colectiva | Earnings management system, ecosystem triggers, tier-based config, Constanza sync updates |
| Feb 4, 2026 | Docs | Updated onboarding + status with earnings system |
| Feb 3, 2026 | Colectiva | Consumer APIs complete (identity, rewards, wallet) |
| Feb 3, 2026 | Camino | Consumer strategy referenced in ecosystem docs |
| Jan 27, 2026 | Colectiva | Approvals UI implemented |
| Jan 27, 2026 | Docs | Developer portal HTTPS enabled |
| Jan 27, 2026 | Colectiva | Payroll events wired |
| Jan 26, 2026 | Colectiva | Employee lifecycle events, developer access |
| Jan 23, 2026 | Constanza | Latest |
| Jan 20, 2026 | Caracol | Active development |
| Jan 20, 2026 | Camino | Active development |
This document is the source of truth for ecosystem status. Update after significant changes.