Under the Hood // Systems & Infrastructure // 20.1561 deg S, 28.5892 deg E

Laid-back in the studio. Unforgiving in the architecture.

We keep our main homepage 100% free of buzzwords because shop owners and society treasurers shouldn't have to read architecture docs. If you are an IT lead, software engineer, auditor, or technical founder — here is how we engineer for ZESA power cuts, constrained 3G data bundles, exact USD/ZiG multi-currency math, and shopfloor reliability.

< 400ms 3G Paint

Static edge HTML + Vanilla CSS/JS avoids multi-megabyte SPA hydration stalls on entry-level Androids.

Idempotent Sync

Client-minted UUID/idempotency keys prevent double-charging or duplicate gate admissions on flaky retries.

Append-Only Math

Immutable journal entries across USD cents and ZiG minor units with explicit rate-snapshot timestamps.

Dual-WAN Ready

Shopfloor VLAN segmentation with automatic failover across Fibre, Starlink, and local LTE routers.

01 / Field Topology & State Machine

Designed assuming power will drop and cell towers will congest.

Software built in overseas fibre bubbles breaks the first time a substation trips or 2,000 people crowd a stadium gate in Bulawayo. We treat intermittent connectivity as the default operating state, not an edge case.

END-TO-END DATA & RECONCILIATION PIPELINE
Stage 01 // Client Edge

Android Browser / PWA

Local IndexedDB manifest cache + optimistic write-ahead log (WAL) keyed by deterministic idempotency IDs.

Stage 02 // Ingress

Cloudflare Edge Workers

Southern African Anycast POPs, TLS 1.3 termination, HMAC token validation, and rate-limited webhook intake.

Stage 03 // Core State

Append-Only Journal

ACID relational store with unique idempotency constraints, integer USD/ZiG columns, and operator audit attribution.

Stage 04 // Dispatch

WhatsApp & CSV Exports

Asynchronous receipt generation, schema-validated AI triage, and zero-lock-in CSV/Excel snapshots.

Interactive Lab // Offline Write-Ahead Queue & ZESA Cut Reconciler
Queue transactions while offline, then flip link state to ONLINE to observe atomic flush.
OFFLINE // ZESA CUT - BUFFERING LOCALLY
1. Toggle Simulated Network Link
2. Fire Field Operations
0 ops buffered locally Every operation mints a client-side idempotency key before touching the network. Retrying on a flaky 3G connection never double-credits a ledger.
Write-Ahead Log (Newest First)
02 / Engineering Standards

Six non-negotiable rules across every system we ship.

Open any specification module below for implementation details across web payloads, multi-currency ledgers, QR gate cryptography, AI guardrails, and on-site network engineering.

Township Tech Architecture Reference (v2.0) Click any row to inspect implementation notes
SPEC-01 Low-Data Payload Budgets & Sub-Second 3G Delivery

We avoid shipping 600 KB JavaScript framework runtimes for portals, catalogs, and forms that render faster as edge-cached semantic HTML, Vanilla CSS, and surgical JS. Assets are served via Cloudflare's Southern African peering nodes with aggressive cache headers and inline vector iconography.

Core Transfer Budget: < 30 KB compressed HTML/CSS/JS Target Hardware: Budget Android (2-4 GB RAM, 390px viewport) Third-Party Bloat: Zero analytics pixels or ad scripts
SPEC-02 ZESA Load-Shedding & Dead-Signal Field Resilience

When mains power cuts out and local cell towers drop to congested EDGE/3G, field operators keep working against local IndexedDB state. Outbound mutations queue in a persistent write-ahead log with exponential backoff and reconcile idempotently when power or Starlink/LTE returns.

Client Storage: IndexedDB + localStorage fallback Conflict Strategy: Append-only journal + UUIDv4/ULID keys Hardware Pairings: 12V LiFePO4 router mini-UPS backups
SPEC-03 USD & ZiG Multi-Currency Ledger Integrity

Zimbabwean accounting breaks naive single-currency SaaS tools. We store every transaction in exact integer minor units (`amount_minor`, `currency_code` ISO/local) alongside optional immutable exchange-rate snapshots. Rows are never mutated or deleted — corrections post explicit signed reversal entries.

Precision: Integer minor units (zero IEEE-754 float drift) Currencies: Native USD, ZiG, and ZAR ledger columns Auditability: Immutable receipt hashes + full CSV export
SPEC-04 Cryptographic QR Gate Passes & Asset Custody

Event QR codes embed compact HMAC-SHA256 signatures so gate phones can reject forged tickets instantaneously without a network round-trip, while syncing redemption bitmaps across Gate A/B/C over local Wi-Fi hotspot or mobile data to block screenshot sharing within milliseconds.

Pass Payload: Compact Ticket ID + Tier + HMAC signature Scanner Client: WebRTC camera API (zero Play Store install) Custody Logs: Operator PIN + timestamped check-out/in
SPEC-05 Guardrailed AI Workflows & WhatsApp Business Webhooks

We never allow an LLM to invent prices, stock counts, or customer balances. AI models are strictly scoped to intent classification and structured JSON extraction from messy voice/text messages, while all pricing and arithmetic execute deterministically against your verified database.

LLM Role: Strict JSON schema parsing & triage only Pricing Source: 100% deterministic database lookup Safety: Human-in-the-loop approval before final dispatch
SPEC-06 Shopfloor LAN, VLAN Isolation & Dual-WAN Failover

Great software still fails over a broken office router. Our ground ops team segments POS/till traffic away from public guest Wi-Fi, configures automatic multi-WAN failover across Fibre, Starlink, and local LTE SIMs, and sets up automated off-site backups for critical business machines.

Network Design: Segmented POS / Staff / Guest VLANs Uplink Redundancy: Fibre + Starlink / Dual-SIM LTE Continuity: Automated encrypted off-site backups
03 / BYO Builder Culture

2Ks proving serious systems engineering lives right here koBulawayo.

We run code walkthroughs, practical AI engineering clinics, and live architecture demos with fellow developers, NUST & college students, high-school coders, and technical teams across Bulawayo. Chill room, loud ideas, real production code.

Sharing this site with a non-technical co-founder, chairperson, or shop owner? Send them our plain-talk front door — zero buzzwords, same serious team.

Switch to For Humans
04 / Scope Architecture or Book a Session

Send a structured technical brief straight to our engineering desk.

Select the systems or infrastructure tracks involved and dispatch directly via WhatsApp (`+263 78 103 1715`) or email.

MODE Select engagement track
01 Target architecture modules
02 Environment & rollout window
Organization Environment
Target Rollout
Technical Requirements
03 Technical contact & context (Optional)