Skip to main content
The HarLyn Journal

Engineering Dispatches: AI, Web Systems & Cybersecurity

In-depth operational blueprints, vulnerability case studies, and web performance analyses written by Harrison Ndeke and Nazline Mwita. 18 articles and guides from our engineering desk.

Engineering Dispatches Index

18 of 18 articles

  1. 01
    AI & Automation8 min readHarrison Ndeke

    Designing Reliable n8n Workflows: Idempotency, Dead-Letter Queues, and Payment Pipelines

    When webhook-driven workflows handle mission-critical events like M-Pesa callbacks, Stripe charges, or AI agent triggers, naive setups fail under network jitter and duplicate deliveries. Here is how to architect atomic idempotency locks, dead-letter queues (DLQ), and automated error triage in n8n.

    Read dispatch
  2. 02
    Cybersecurity & Risk7 min readNazline Mwita

    How to Defend Production RAG Chatbots Against Indirect Prompt Injection

    When an AI chatbot retrieves untrusted third-party documents or customer emails into its context window, malicious text can hijack the LLM's system instructions. Here is how to architect defensive isolation gates, canary tokens, and dual-LLM verifiers.

    Read dispatch
  3. 03
    Cybersecurity & Risk8 min readNazline Mwita

    Kenya Data Protection Act (ODPC) & GDPR: The Developer's Practical Architecture & Compliance Checklist

    Compliance is not a legal policy page buried in your website footer; it is an architectural commitment. From AES-256 database encryption and granular consent tables to Row-Level Security (RLS) and automated data erasure webhooks, here is how engineers build systems that survive ODPC regulatory scrutiny.

    Read dispatch
  4. 04
    Cybersecurity & Risk9 min readNazline Mwita

    Defending Web APIs Against the OWASP Top 10: Secret Vaulting, Token Exhaustion, and Broken Access Control

    API attacks have surpassed traditional web vulnerabilities as the primary attack vector against modern web applications. From preventing hardcoded secrets with pre-commit git hooks to token-bucket rate limiting and enforcing object-level authorization across every SQL query, here is how to harden your API layer.

    Read dispatch
  5. 05
    Cybersecurity & Risk9 min readNazline Mwita

    Real-Time Network Threat Hunting: How Machine Learning (NIDS) Classifies Malicious Traffic Flows Before Breaches Occur

    Static firewall rules and signature-based IDSs like Snort or Suricata fail against polymorphic threats and encrypted botnet channels. By extracting flow-level statistical metrics with NFStream and Scapy and classifying them with trained XGBoost models, modern SOC teams achieve sub-10ms threat detection with 98%+ accuracy.

    Read dispatch
  6. 06
    AI & Automation8 min readHarrison Ndeke

    Building Multi-Channel Lead Triage on n8n: WhatsApp, Webhooks, and Deterministic CRM Synchronization

    Handling inbound leads across WhatsApp, website forms, and social ad webhooks is where high-growth companies can lose leads through delayed response times and fragmented spreadsheets. Here is how to architect an autonomous lead triage engine using self-hosted n8n, Supabase, and deterministic intent routing.

    Read dispatch
  7. 07
    AI & Automation8 min readHarrison Ndeke

    Eliminating Hallucinations in Production RAG Systems: Vector Retrieval, Hybrid Search, and Token Guardrails

    When enterprise chatbots invent fake product pricing, hallucinate non-existent return policies, or quote inaccurate specs, brand trust evaporates instantly. Here is the engineering playbook for combining dense vector search with sparse BM25 indexing, cosine distance gates, and evaluator verifier models.

    Read dispatch
  8. 08
    Web Engineering9 min readHarLyn Engineering

    Sub-Second Web Architecture: How to Achieve 95+ Core Web Vitals and Zero-Trust Security Across Any Language or Stack

    Speed and security do not belong to a single framework. Whether your application is built with Python, Go, PHP, Node.js, C#, or modern JavaScript frameworks, the rules of physics, network hops, and browser rendering engines remain identical. Here is the universal architecture for sub-second delivery.

    Read dispatch
  9. 09
    AI & Automation9 min readHarrison Ndeke

    Deterministic AI Agents: Why State Machines Beat Autonomous Swarms in Production

    Most teams building multi-agent systems make the same mistake: creating unconstrained group chats. Here is why autonomous swarms fail in enterprise production and how to architect deterministic state graphs with schema-validated tool contracts.

    Read dispatch
  10. 10
    AI & Automation7 min readHarrison Ndeke

    Securing n8n and Make Webhooks: 4 Critical Defenses Against Data Ingestion Attacks

    Unauthenticated automation webhooks are vulnerable to forged payloads vulnerable to forged payloads and prompt injection. Here is how to implement cryptographic HMAC verification, WAF rate limiting, and least-privilege scoping in n8n and Make.

    Read dispatch
  11. 11
    Web Engineering8 min readHarrison Ndeke

    Answer Engine Optimization (AEO): How to Rank in Google AI Overviews and Perplexity

    Traditional SEO focused on 10 blue links. In 2026, generative answer engines synthesize content directly. Here is how to structure high-information-gain content and 45-word snippet bait for maximum AI search citations.

    Read dispatch
  12. 12
    Cybersecurity & Risk8 min readNazline Mwita

    Zero-Trust Document Sharing: Eliminating PII Leaks in WhatsApp and Email Workflows

    Sharing sensitive customer PII over WhatsApp and unencrypted email violates global compliance laws (ODPC, GDPR). Here is how to architect client-side AES-256-GCM ephemeral escrow for secure, compliant document exchange.

    Read dispatch
  13. 13
    AI & Automation9 min readHarrison Ndeke

    The Vector Memory Fallacy: Implementing a 3-Tier Cognitive Architecture for AI Agents

    Dumping chat logs into a vector database does not give AI agents long-term memory. Here is why cosine similarity suffers from temporal blindness and how to implement a resilient 3-tier cognitive memory architecture.

    Read dispatch
  14. 14
    Cybersecurity & Risk8 min readNazline Mwita

    Managed SIEM for Mid-Market Startups: Real-Time Threat Detection Without Enterprise Bloat

    Enterprise SIEM platforms cost hundreds of thousands of dollars and generate crushing alert fatigue. Here is how startups deploy lightweight open-source agents with AI-driven alert correlation for 24/7 threat detection.

    Read dispatch
  15. 15
    AI & Automation7 min readHarrison Ndeke

    AI Automation for Kenyan SMEs: Where to Start Without Overbuilding

    Most SMEs don't fail at AI automation because the technology doesn't work. They fail because they automate the wrong process first, underestimate what a 'simple' workflow actually requires, or build for a scale they haven't reached yet. Here's how to pick a first automation candidate that actually pays for itself.

    Read dispatch
  16. 16
    Cybersecurity & Risk6 min readNazline Mwita

    Data Protection Act Compliance for Kenyan Businesses: A Founder's Checklist

    The Kenya Data Protection Act isn't just a developer concern - it's a business risk with real penalties attached. Here's what a founder or business owner, not a software engineer, actually needs to know and do to reduce exposure.

    Read dispatch
  17. 17
    AI & Automation7 min readHarLyn Engineering

    Digital Transformation in Kenya: What Actually Moves the Needle in 2026

    'Digital transformation' gets used to justify almost any spend. For a Kenyan or East African business deciding where to put limited budget in 2026, the honest question isn't 'should we transform' - it's which three or four changes actually compound, and which are cost dressed up as strategy.

    Read dispatch
  18. 18
    Cybersecurity & RiskCost GuideNazline Mwita

    How Much Does a Cybersecurity Audit Cost in Kenya?

    Learn what determines cybersecurity audit scope and how to request a tailored proposal. Fees are agreed with the founders before work begins.

    Read dispatch