π Pulse v5.0 β Agent-Native Renovation Plan
Target Launch: May 22, 2026
Timeline: 13 weeks from Feb 19, 2026
Builders: AI agents (Corazon as product lead, coding agents for implementation)
Human review gates: Dread (architecture approval, prompt review, launch sign-off)
Executive Summary
Pulse v5 is a ground-up rebuild from a command-routing WhatsApp bot to an agent-native financial assistant . The LLM becomes the orchestrator β not a fallback. Every Flash wallet operation becomes an atomic tool the agent can compose. User context persists and compounds across sessions. New features ship as prompt files, not code deploys.
What we're shipping May 22:
Personal Financial Agent (Ring 1) on WhatsApp Cloud API
Agent loop with Claude tool-use as the brain
Persistent user context (the moat)
Core wallet operations (balance, send, receive, history, contacts)
Account linking (OTP)
Jamaican Patois dialect processing
Voice support (ElevenLabs TTS + STT)
Confirmation gates for all financial ops
Structured observability logging
What we're NOT shipping May 22:
Merchant agent (Ring 2) β post-launch
Corridor/remittance agent (Ring 3) β post-launch
Telegram, SMS, or other platform adapters β post-launch
Full multi-dialect support (Trini/Bajan/Haitian) β post-launch
Bill pay / mobile top-up β pending Flash API integration
Virtual cards (Bridge.xyz/Rain.xyz) β future consideration
v4 data migration β zero existing users, clean start
Architecture Decisions (Locked)
Decision
Choice
Rationale
WhatsApp delivery
Cloud API (not whatsapp-web.js)
Official, webhook-based, no Chrome dependency, scalable. Access exists via +13059244435.
Primary AI
Claude (Anthropic) with tool-use
Best-in-class tool use, reasoning, and safety for financial ops
Fallback/fast AI
Gemini Flash
Dialect detection, simple classification, cost optimization
Architecture
Agent-native (LLM-as-orchestrator)
Tools are primitives, prompts are features, agent composes behavior
Framework
NestJS + TypeScript
Consistent with v4 expertise, strong DI for hexagonal pattern
State
Redis (hot) + filesystem (persistent)
Fast context loading + durable storage
Context
Per-user persistent context
Compounds over time, creates defensible moat
Voice
ElevenLabs (TTS) + Whisper/Google (STT)
Preserve working v4 integrations
Observability
Pino structured logging + agent loop traces
Debug any user session, track tool execution
Process mgmt
PM2
Proven in v4, simple, effective
Validation
Zod
Runtime type safety for context, tool params, API responses
Testing
Jest
Unit + integration + dialect fixtures
Weekly Milestones
ποΈ Week 1 (Feb 19 β Feb 25): Project Setup & Architecture Scaffolding
π§ Week 2 (Feb 26 β Mar 4): Agent Loop Core
π¬ Week 3 (Mar 5 β Mar 11): WhatsApp Cloud API Adapter
π Week 4 (Mar 12 β Mar 18): Context System & Security
πΈ Week 5 (Mar 19 β Mar 25): Wallet Tools & Flash API Integration
π Week 6 (Mar 26 β Apr 1): Identity, Contacts & Account Linking
Identity tools: link_account, verify_otp, get_account_status, get_kyc_status
Contact tools: resolve_contact, list_contacts, add_contact, remove_contact
OTP flow integration (Flash API β β WhatsApp message flow)
Contact resolution logic (name, phone number, username β Flash identity)
Frequent contacts tracking in UserContext
Onboarding prompt (prompts/capabilities/onboarding.md)
Deliverable: New user can link account via OTP, manage contacts, and the agent remembers their contacts
π Week 7 (Apr 2 β Apr 8): Prompts & Personal Agent Behavior
π£οΈ Week 8 (Apr 9 β Apr 15): Dialect Processing & Voice
π Week 9 (Apr 16 β Apr 22): Integration & Orchestration
π§ͺ Week 10 (Apr 23 β Apr 29): Testing & Hardening
Full integration test suite
Security testing: prompt injection via context, scope isolation, confirmation bypass attempts
Financial accuracy tests: currency conversion precision, fee estimation, amount parsing
Load testing: concurrent user sessions, context load times
Edge cases: voice-only users, group messages, rapid-fire messages, very long messages
Agent loop guardrails: infinite loop prevention, token budget management
Dialect test suite with real Caribbean text samples
Deliverable: Confidence that the system handles adversarial inputs, edge cases, and load
π Week 11 (Apr 30 β May 6): Staging Deployment & Internal Testing
π§ Week 12 (May 7 β May 13): Polish & Bug Fixes
π― Week 13 (May 14 β May 20): Production Launch Prep
Review Gates (Dread Approval Required)
Gate
When
What Dread Reviews
Architecture
End of Week 1
Port interfaces, directory structure, tool contracts
Agent Brain
End of Week 2
Agent loop behavior, model tier selection, completion signals
Money Flows
End of Week 5
Wallet tools, confirmation gates, financial safety
Personality
End of Week 7
Prompts, agent voice, Caribbean feel
Integration
End of Week 9
Full end-to-end flow demo
Launch
Week 13
Final sign-off
Risk Register
Risk
Likelihood
Impact
Mitigation
WhatsApp Cloud API approval/rate limits
Medium
High
Start integration early (Week 3), have sandbox ready
Claude tool-use latency too high for chat UX
Medium
Medium
Model tier optimization, Gemini for fast tasks, response streaming
Flash API availability/staging access
Medium
High
Get staging credentials early, mock adapter for development
Dialect parsing accuracy
Medium
Medium
Start with Jamaican only, conservative matching, improve via logs
Context system prompt injection
Low
High
Sanitize all LLM-written context fields, test adversarial inputs
Scope creep (merchant, corridor, bill pay)
High
High
Locked scope. Post-launch backlog. Corazon says no.
Success Criteria (May 22 Launch)
β
New user texts Pulse β useful interaction within 60 seconds, no commands to learn
β
"Send Marcus two bills" β dialect parsing + contact resolution + 200 JMD + confirmation + payment
β
Agent remembers users across sessions (context persistence)
β
New features addable via prompt files (no code deploy)
β
Every financial operation has audit trail + appropriate confirmation
β
Jamaican Patois works naturally
β
Agent composes tools for requests not explicitly programmed
β
WhatsApp is an adapter, not the architecture
β
First response latency < 3 seconds
β
Zero unauthorized payment executions
Post-Launch Roadmap (Not in Scope for May 22)
Ring 2: Merchant Agent β invoice generation, daily summaries, refunds, business analytics
Ring 3: Corridor Agent β cross-border remittance (USβJamaica at 1-2%)
Multi-dialect β Trinidadian, Barbadian, Haitian KreyΓ²l
Multi-platform β Telegram, SMS adapters
Bill pay / top-up β pending Flash API integration (net-new work)
Virtual cards β Bridge.xyz / Rain.xyz integration (requires KYC tier)
Admin dashboard β web UI for monitoring, user management, prompt editing
Discovery tools β locate nearest Flash cash-out agent
Plan authored by Corazon (Product Strategist, Pulse) β Feb 19, 2026
Approved for execution by: [pending]
π Pulse v5.0 β Agent-Native Renovation Plan
Target Launch: May 22, 2026
Timeline: 13 weeks from Feb 19, 2026
Builders: AI agents (Corazon as product lead, coding agents for implementation)
Human review gates: Dread (architecture approval, prompt review, launch sign-off)
Executive Summary
Pulse v5 is a ground-up rebuild from a command-routing WhatsApp bot to an agent-native financial assistant. The LLM becomes the orchestrator β not a fallback. Every Flash wallet operation becomes an atomic tool the agent can compose. User context persists and compounds across sessions. New features ship as prompt files, not code deploys.
What we're shipping May 22:
What we're NOT shipping May 22:
Architecture Decisions (Locked)
Weekly Milestones
ποΈ Week 1 (Feb 19 β Feb 25): Project Setup & Architecture Scaffolding
MessagingPort,AIProviderPort,WalletPort,ContextStorePort,VoicePort,NotificationPort,StoragePort)Toolinterface contract andToolRegistrywith auto-discoveryUserContextschema with Zod validationπ§ Week 2 (Feb 26 β Mar 4): Agent Loop Core
AgentLoop.tsβ core execution loop (tool calls, completion signals, max iterations)AgentConfig.tsβ model tier selection (fast/balanced/powerful)CompletionSignal.tsβ complete/clarify/escalate signalsClaudeAdapter.tsβ Anthropic API with tool-use formatGeminiAdapter.tsβ fallback/fast tiercomplete,clarify,escalate,update_contextπ¬ Week 3 (Mar 5 β Mar 11): WhatsApp Cloud API Adapter
WhatsAppCloudAdapter.tsimplementingMessagingPortπ Week 4 (Mar 12 β Mar 18): Context System & Security
ContextManager.tsβ load, update, persist logicContextBuilder.tsβ builds system prompt from user contextRedisContextAdapter.tsβ hot cache with 24h TTLPersistentContextAdapter.tsβ filesystem durable storageInputSanitizer.tsβ prompt injection defense for context writesAuditLog.tsβ immutable append-only log for financial operationsRateLimiter.tsβ per-user rate limitingπΈ Week 5 (Mar 19 β Mar 25): Wallet Tools & Flash API Integration
FlashAPIAdapter.tsβ GraphQL client for Flash APIcheck_balance,send_payment,receive_payment,get_transaction_history,get_exchange_rate,estimate_feeConfirmationGate.tsβ stakes-based approval matrixπ Week 6 (Mar 26 β Apr 1): Identity, Contacts & Account Linking
link_account,verify_otp,get_account_status,get_kyc_statusresolve_contact,list_contacts,add_contact,remove_contactprompts/capabilities/onboarding.md)π Week 7 (Apr 2 β Apr 8): Prompts & Personal Agent Behavior
base-agent.mdβ core Pulse identitysafety-rails.mdβ financial safety rulesdialect-awareness.mdβ Caribbean communication guidancepersonal-agent.mdβ proactive personal agent behavioronboarding.mdβ new user flowrecurring-payments.md,spending-summary.md,smart-suggestions.mdπ£οΈ Week 8 (Apr 9 β Apr 15): Dialect Processing & Voice
DialectClassifier.tsβ detect Jamaican Patois (primary)DialectNormalizer.tsβ normalize for AI while preserving meaningCurrencyParser.tsβ "two bills" β 200 JMD, "a grand" β 1000dictionaries/jamaican.ts)ElevenLabsAdapter.tsβ TTS voice responsesWhisperAdapter.tsβ STT for voice notesπ Week 9 (Apr 16 β Apr 22): Integration & Orchestration
MessageOrchestrator.tsβ top-level message flow coordinatorAgentOrchestrator.tsβ manages agent loop lifecycleEventBus.tsβ internal events for notifications/UIπ§ͺ Week 10 (Apr 23 β Apr 29): Testing & Hardening
π Week 11 (Apr 30 β May 6): Staging Deployment & Internal Testing
π§ Week 12 (May 7 β May 13): Polish & Bug Fixes
π― Week 13 (May 14 β May 20): Production Launch Prep
Review Gates (Dread Approval Required)
Risk Register
Success Criteria (May 22 Launch)
Post-Launch Roadmap (Not in Scope for May 22)
Plan authored by Corazon (Product Strategist, Pulse) β Feb 19, 2026
Approved for execution by: [pending]