DEV Community

Tharusha Nuwansara profile picture

Tharusha Nuwansara

Founder of Faultless AI · Building the Ordered 30-Day Zero-Dependency Python 3.11 & SQLite Reliability Curriculum + MIT Code Packs.

Location Colombo, Sri Lanka Joined Joined on  Personal website https://faultlessai.whop.site/

Work

Founder @ Faultless AI

[Day 21/30] How to Stop Hallucinated MCP Tool Calls From Escaping Your Python Sandbox

[Day 21/30] How to Stop Hallucinated MCP Tool Calls From Escaping Your Python Sandbox

Comments
9 min read

Want to connect with Tharusha Nuwansara?

Create an account to connect with Tharusha Nuwansara. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
[Day 20/30] Stopping HTTP 429 Retry Storms Across Parallel AI Workers With AIMD Control

[Day 20/30] Stopping HTTP 429 Retry Storms Across Parallel AI Workers With AIMD Control

Comments
8 min read
[Day 19/30] What SQLite Actually Does When 10 AI Agents Write Shared State at Once

[Day 19/30] What SQLite Actually Does When 10 AI Agents Write Shared State at Once

Comments
8 min read
[Day 14/30] Eliminating Dual-Write Split-Brain With a SQLite WAL Transactional Outbox Relay

[Day 14/30] Eliminating Dual-Write Split-Brain With a SQLite WAL Transactional Outbox Relay

Comments
8 min read
[Day 12/30] Zero-Downtime Webhook Secret Rotation With Dual-Key Constant-Time HMAC Verification

[Day 12/30] Zero-Downtime Webhook Secret Rotation With Dual-Key Constant-Time HMAC Verification

Comments
7 min read
[Day 10/30] Idle-Chunk Watchdogs & Partial JSON Recovery for Stalled SSE LLM Streams in Python

[Day 10/30] Idle-Chunk Watchdogs & Partial JSON Recovery for Stalled SSE LLM Streams in Python

Comments
8 min read
[Day 09/30] Zero-Drift Payment Reconciliation: Auditing Payment Webhooks Against Immutable SQL Postings

[Day 09/30] Zero-Drift Payment Reconciliation: Auditing Payment Webhooks Against Immutable SQL Postings

Comments
8 min read
[Day 08/30] Poison-Pill Isolation: Designing Exponential NACK Backoff and Dead-Letter Replay in SQLite

[Day 08/30] Poison-Pill Isolation: Designing Exponential NACK Backoff and Dead-Letter Replay in SQLite

Comments
9 min read
[Day 07/30] Enforcing Deterministic Token Ceilings and Multi-Provider Failover in Tool-Calling Loops

[Day 07/30] Enforcing Deterministic Token Ceilings and Multi-Provider Failover in Tool-Calling Loops

Comments
8 min read
[Day 06/30] Why Timestamp Windows Alone Fail Webhook Security (Atomic SQLite Nonce Deduplication Under Load)

[Day 06/30] Why Timestamp Windows Alone Fail Webhook Security (Atomic SQLite Nonce Deduplication Under Load)

Comments
8 min read
[Day 05/30] Eliminating Overlapping Cron Double-Execution With SQLite WAL Leases and Stale-Lock Takeover

[Day 05/30] Eliminating Overlapping Cron Double-Execution With SQLite WAL Leases and Stale-Lock Takeover

Comments
8 min read
[Day 03/30] Constant-Time HMAC Webhook Verification & Integer-Cent Double-Entry SQL Ledgers in Python

[Day 03/30] Constant-Time HMAC Webhook Verification & Integer-Cent Double-Entry SQL Ledgers in Python

Comments
9 min read
[Day 04/30] Why Naive Exponential Backoff Causes Retry Storms (And Fixing HTTP 429 With Full Jitter in Pure Python)

[Day 04/30] Why Naive Exponential Backoff Causes Retry Storms (And Fixing HTTP 429 With Full Jitter in Pure Python)

Comments
8 min read
[Day 16/30] Per-Tenant Bulkhead Semaphores: Stopping One Noisy API Key From Starving Worker Pools

[Day 16/30] Per-Tenant Bulkhead Semaphores: Stopping One Noisy API Key From Starving Worker Pools

Comments
7 min read
[Day 18/30] Zero Repeat AI Agent Regressions: Deterministic Shadow-Eval Scoring in Python

[Day 18/30] Zero Repeat AI Agent Regressions: Deterministic Shadow-Eval Scoring in Python

Comments
8 min read
[Day 17/30] What Happens When Scripts Farm Multi-Account AI Quotas (Pure Python Guardrails)

[Day 17/30] What Happens When Scripts Farm Multi-Account AI Quotas (Pure Python Guardrails)

Comments
9 min read
[Day 15/30] Modeling Two-Phase Payment Holds, Partial Captures, and Releases in Double-Entry SQL

[Day 15/30] Modeling Two-Phase Payment Holds, Partial Captures, and Releases in Double-Entry SQL

Comments
8 min read
[Day 02/30] Replacing Redis Queue With a 180-Line Transactional SQLite WAL Job Broker & Dead-Letter CLI

[Day 02/30] Replacing Redis Queue With a 180-Line Transactional SQLite WAL Job Broker & Dead-Letter CLI

Comments
8 min read
[Day 13/30] Cutting P99 LLM & API Tail Latency With Speculative Hedged Requests and Token Caps

[Day 13/30] Cutting P99 LLM & API Tail Latency With Speculative Hedged Requests and Token Caps

Comments
8 min read
[Day 11/30] Atomic Token-Bucket API Rate Limiting in SQLite WAL Without Redis Lua Scripts

[Day 11/30] Atomic Token-Bucket API Rate Limiting in SQLite WAL Without Redis Lua Scripts

Comments
8 min read
loading...