{"@attributes":{"version":"2.0"},"channel":{"title":"Khoa Phan (khoaphan.dev) \u2014 Engineering Notes","link":"https:\/\/khoaphan.dev\/writing\/","description":"First-principles systems engineering notes on Rust, Go, TypeScript, Python, cryptography, and resilient Custom MCP architecture.","language":"en-us","lastBuildDate":"Sat, 28 Nov 2026 12:45:00 +0000","item":[{"title":"Idempotency Key Scoping for Production MCP Servers: Why (tenant_id, token_id, tool_name, client_key) Beats Per-Token Alone","link":"https:\/\/khoaphan.dev\/writing\/mcp-idempotency-key-scoping\/","guid":"https:\/\/khoaphan.dev\/writing\/mcp-idempotency-key-scoping\/","pubDate":"Sat, 28 Nov 2026 12:45:00 +0000","description":"Eliminating cross-tool workflow UUID collisions in production MCP servers with 4-tuple scoping, SHA-256 canonicalized args hashing (409 Conflict), atomic INSERT ... ON CONFLICT DO NOTHING in Postgres\/SQLite WAL, and bounded 24h TTL."},{"title":"Compliant Marketplace & CRM MCP Servers: Airlocked Read-Only Intel vs. Human-in-the-Loop","link":"https:\/\/khoaphan.dev\/writing\/compliant-marketplace-crm-mcp-architecture\/","guid":"https:\/\/khoaphan.dev\/writing\/compliant-marketplace-crm-mcp-architecture\/","pubDate":"Mon, 23 Nov 2026 08:00:00 +0000","description":"Why unofficial cookie-scraping marketplace MCP bots trigger JA4\/PerimeterX bans \u2014 and how to architect compliant, DLP-safe CRM MCP servers and stateful Python CLIs."},{"title":"Zero-Zombie MCP Servers & Sub-210ms TCP RST Auto-Recovery","link":"https:\/\/khoaphan.dev\/writing\/zero-zombie-mcp-servers\/","guid":"https:\/\/khoaphan.dev\/writing\/zero-zombie-mcp-servers\/","pubDate":"Thu, 19 Nov 2026 04:00:00 +0000","description":"Eliminating orphan worker leaks with Windows Job Objects and POSIX cgroups while surviving abrupt TCP RST socket drops in under 210ms."},{"title":"Stopping 20x Concurrent Payment Webhook Storms with In-Flight Locks & JSONL WAL","link":"https:\/\/khoaphan.dev\/writing\/idempotent-webhook-wal\/","guid":"https:\/\/khoaphan.dev\/writing\/idempotent-webhook-wal\/","pubDate":"Sat, 14 Nov 2026 04:00:00 +0000","description":"Why SELECT-then-INSERT breaks under 2ms payment gateway retry bursts and how in-flight mutexes + durable WAL eliminate duplicate ledger mutations."},{"title":"RFC 4506 Binary Stellar XDR Proofs & Cross-Chunk SSE Secret Leak Guards","link":"https:\/\/khoaphan.dev\/writing\/soroban-xdr-and-sse-dlp\/","guid":"https:\/\/khoaphan.dev\/writing\/soroban-xdr-and-sse-dlp\/","pubDate":"Sun, 08 Nov 2026 04:00:00 +0000","description":"Exporting cryptographic proveAncestor verification to WebAssembly and mitigating split-packet CWE-444 secret leaks in streaming LLM proxies."}]}}