Verified demonstrations and engineering briefs.
Test live mobile-money reconciliation, URA EFRIS webhook resilience, and static performance architecture directly before discussing a client engagement.
Working System Proofs
Mobile-Money Reconciliation Architecture
A deterministic rule engine for comparing incoming payment collections against authoritative financial obligations.
Operational Context
Payment records arrive through multiple mobile-money gateways (MTN MoMo, Airtel Money) and bank exports with different references, delayed timestamps, and occasional duplicate webhooks. Manual spreadsheet reconciliation causes delayed receipting, unallocated deposits, and revenue leakage.
Engineering Approach
- Arbitrary-precision Decimal & integer minor-unit math (eliminating float rounding errors)
- Strict deterministic matching rules (R1 exact match, R2 partial allocations)
- Duplicate-event detection and conflicting identifier flags
- Refunds (R7) and reversals (R8) isolated from automated matching
- Explicit human approval queue for proposed matches
Illustrative Reconciliation Outcomes (Synthetic Fixture Data)
| Source Record | Reference | Amount (UGX) | Deterministic Outcome | Operational Next Action |
|---|---|---|---|---|
| MTN MoMo (Web) | OBL-001 | 500,000 | Exact Match (R1) | Auto-reconcile & close obligation |
| MTN MoMo (Agent) | OBL-002 | 300,000 | Exact Match (R1) | Auto-reconcile & generate receipt |
| Airtel Money | OBL-003 | 250,000 | Partial Match (R2) | Apply 250k; balance 100k remains due |
| Airtel Money (2nd) | OBL-003 | 100,000 | Partial Match (R2) | Apply 100k; obligation fully satisfied |
| MTN MoMo (Retry) | OBL-002 | 300,000 | Duplicate Suspect (R5) | Skip ledger update; retain for audit |
| MTN MoMo (Refund) | OBL-001 | 50,000 | Refund Isolated (R7) | Escalate to human review; never auto-apply |
| Airtel Money (Reversal) | OBL-003 | 250,000 | Reversal Isolated (R8) | Freeze corresponding ledger entry |
| External Merchant | UNKNOWN | 80,000 | Unmatched | Route to investigation queue |
URA EFRIS Fiscalization & Idempotent Payment Webhooks
Signed offline-tolerant fiscal receipting and distributed idempotency guards built for intermittent Ugandan and regional cellular networks.
Operational Context
Retail POS counters, SACCO portals, and merchant backends lose fiscal sync or double-credit customer balances when URA EFRIS endpoints time out or carrier gateways retry identical webhook callbacks.
Engineering Approach
- HMAC signature verification rejecting tampered or replayed callbacks fail-closed
- Persistent idempotency locks keyed by gateway transaction ID and provider corridor
- Offline store-and-forward queue syncing signed invoices automatically when uplink recovers
- Deterministic retry windows with dead-letter visibility and manual replay controls
Static-First Edge Architecture & Legacy Codebase Rescue
Zero-bloat static pre-rendering engineered for East African 3G/4G cellular latency alongside deterministic triage for stalled software systems.
Operational Context
Organizations inherit heavy single-page bundles that stall on mid-range mobile phones in Kampala or Nairobi, or unstable codebases lacking tests, documentation, and clear deployment runbooks.
Engineering Approach
- Static-first pre-rendering eliminating runtime hydration overhead on 3G/4G cellular connections
- 8-point deterministic rescue diagnostic scoring P0, P1, and P2 remediation priorities
- Clean boundary separation decoupling core business rules from UI and framework glue
- Full client repository and operational runbook ownership with zero vendor lock-in
Technical Notes & Reference Patterns
Deterministic Calculations
Why floating-point arithmetic causes cumulative ledger drift, and why pure integer minor units are necessary for finance.
Idempotency in Mobile Money
Handling webhook retries, network jitter, and distributed locks to prevent double credits in cellular environments.
Software Rescue Triage
How to audit, isolate risks, and stabilize an abandoned or unstable codebase without defaulting to an expensive total rewrite.
Client work is published solely with written disclosure approval.
Many financial and institutional systems in East Africa operate under strict non-disclosure protections. Named client stories appear only when production acceptance and customer sign-off are explicitly granted.
Publication Requirements
- Final production acceptance verified under real workloads.
- Written client review and approval for public disclosure.
- Reproducible baseline and verified outcome metrics from production operations.