<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Amit Solanki — Writing</title><description>Notes on engineering leadership, platform architecture, and integrations at scale — from a fractional CTO and advisor.</description><link>https://amitsolanki.com/</link><item><title>pg_upgrade Said &quot;ok&quot; 37 Times. 98 Indexes Were Broken Anyway.</title><link>https://amitsolanki.com/writing/pg-upgrade-ok-98-broken-indexes/</link><guid isPermaLink="true">https://amitsolanki.com/writing/pg-upgrade-ok-98-broken-indexes/</guid><description>An eight-major-version PostgreSQL migration finished clean in 3m33s. Then amcheck found 98 B-tree indexes failing their invariant checks - and on this configuration, PostgreSQL was never going to warn about it, before the upgrade or after.</description><pubDate>Thu, 22 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Three production bugs Sentry found in its first eight hours</title><link>https://amitsolanki.com/writing/three-bugs-sentry-found/</link><guid isPermaLink="true">https://amitsolanki.com/writing/three-bugs-sentry-found/</guid><description>An unset environment variable silently sending outbound email nowhere, a recurring background job with a misnamed method that had failed on every run since the demo went live, and a framework library that deliberately swallows its own errors instead of raising them. None of them was going to be caught by the tests a team normally writes.</description><pubDate>Thu, 08 Oct 2026 00:00:00 GMT</pubDate></item><item><title>The Turbo Frame that 403&apos;d on every page load, forever</title><link>https://amitsolanki.com/writing/turbo-frame-eager-403-loop/</link><guid isPermaLink="true">https://amitsolanki.com/writing/turbo-frame-eager-403-loop/</guid><description>It looked exactly like a caching bug - the same red &apos;Authorization Failure&apos; flash on every load, surviving refreshes and re-logins. Nothing was cached. A hidden dialog&apos;s Turbo Frame was loading eagerly on every render, 403ing, and an error handler&apos;s redirect_back was sending the user back to the one page guaranteed to trigger it again.</description><pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate></item><item><title>I wrote the integration checklist. Then I ignored it.</title><link>https://amitsolanki.com/writing/uber-direct-second-courier-network/</link><guid isPermaLink="true">https://amitsolanki.com/writing/uber-direct-second-courier-network/</guid><description>Adding Uber Direct next to DoorDash found four places the first integration had encoded a DoorDash-specific assumption as a delivery-integration assumption: OAuth instead of per-request JWT, no location registration at all, a fake-courier bot instead of a dashboard simulator, and webhook payloads with no status field. All four are axes on a checklist I had published seven weeks earlier. What changes after a hundred integrations is not what you know.</description><pubDate>Wed, 23 Sep 2026 00:00:00 GMT</pubDate></item><item><title>CanCan authorizes STI base classes before Rails reclassifies them</title><link>https://amitsolanki.com/writing/cancan-sti-authorize-admin/</link><guid isPermaLink="true">https://amitsolanki.com/writing/cancan-sti-authorize-admin/</guid><description>Fixing a spurious admin authorization flash led to a genuinely broad permission grant on a Single Table Inheritance base class - and the first fix, while correct about the symptom, quietly let a read-only admin role generate and download exports it had no business touching. The fix was Claude&apos;s. So was the review that caught it.</description><pubDate>Wed, 16 Sep 2026 00:00:00 GMT</pubDate></item><item><title>Two Rails versions get security patches today. On 7 November, it&apos;s one.</title><link>https://amitsolanki.com/writing/rails-security-support-november-2026/</link><guid isPermaLink="true">https://amitsolanki.com/writing/rails-security-support-november-2026/</guid><description>Rails 7.2 stopped receiving security fixes on 9 August 2026. Rails 8.0 stops on 7 November. That leaves 8.1 as the only series under the security window, and 8.1 itself drops out of bug-fix support on 10 October. Here is the actual calendar, the second clock most teams forget about, and the five minutes it takes to find out where your app sits on both.</description><pubDate>Tue, 08 Sep 2026 00:00:00 GMT</pubDate></item><item><title>Doorkeeper&apos;s most dangerous defaults are the ones you didn&apos;t set</title><link>https://amitsolanki.com/writing/doorkeeper-dangerous-defaults/</link><guid isPermaLink="true">https://amitsolanki.com/writing/doorkeeper-dangerous-defaults/</guid><description>Doorkeeper&apos;s generator gets you a working OAuth server in minutes - and silently ships an open admin UI, plaintext secrets, tokens that die every two hours, and a grant flow that skips consent entirely. None of it looks wrong in the initializer, because none of it is actually in the initializer.</description><pubDate>Mon, 07 Sep 2026 00:00:00 GMT</pubDate></item><item><title>Remote MCP on Rails: everything that broke</title><link>https://amitsolanki.com/writing/mcp-oauth-rails-production/</link><guid isPermaLink="true">https://amitsolanki.com/writing/mcp-oauth-rails-production/</guid><description>A real remote MCP server on Rails needs OAuth 2.1, three RFCs, and a healthy distrust of defaults. The failures were in Doorkeeper&apos;s silent defaults, the MCP gem&apos;s transport, and a generated fix that was stricter than the spec it implemented.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate></item><item><title>The Assistant That Couldn&apos;t Say Hello: Building a Grounded RAG Menu Chat for Spree Commerce</title><link>https://amitsolanki.com/writing/spree-menu-chat-rag-assistant/</link><guid isPermaLink="true">https://amitsolanki.com/writing/spree-menu-chat-rag-assistant/</guid><description>spree_menu_chat is a read-only RAG assistant grounded in a Spree store&apos;s real, synced menu and policies — Gemini, Voyage embeddings, and pgvector, with the read-only guardrail enforced structurally, not just prompted. A \r\n-vs-\n parsing bug silently broke every streamed answer behind a fully green spec suite, and even after that was fixed, the assistant still couldn&apos;t handle a plain &quot;hi.&quot;</description><pubDate>Tue, 18 Aug 2026 00:00:00 GMT</pubDate></item><item><title>The Subscriber That Was Never Subscribed: Adding DoorDash Delivery to a Spree Commerce Platform</title><link>https://amitsolanki.com/writing/doordash-drive-delivery-dispatch-spree/</link><guid isPermaLink="true">https://amitsolanki.com/writing/doordash-drive-delivery-dispatch-spree/</guid><description>spree_doordash adds live-quoted, auto-dispatched DoorDash Drive delivery to the Spree + Square restaurant platform. Two real bugs — a phone number format DoorDash silently rejects, and an event subscriber that was never actually wired up — only surfaced once a real storefront checkout was driven through, not the 87-example spec suite that kept passing regardless.</description><pubDate>Mon, 17 Aug 2026 00:00:00 GMT</pubDate></item><item><title>Why I Open-Sourced a Square Integration for Spree Commerce</title><link>https://amitsolanki.com/writing/open-sourcing-spree-square-gem/</link><guid isPermaLink="true">https://amitsolanki.com/writing/open-sourcing-spree-square-gem/</guid><description>spree_square started as one restaurant&apos;s Square integration. Here&apos;s why it made sense to release it as open source, what it actually took to ship it responsibly — a full commit-history security review, closing test-coverage gaps first — and the bug the first real release caught within days.</description><pubDate>Fri, 14 Aug 2026 00:00:00 GMT</pubDate></item><item><title>The Cash Register Is the Database: Building a Restaurant Ordering Platform on Spree + Square</title><link>https://amitsolanki.com/writing/spree-square-restaurant-platform/</link><guid isPermaLink="true">https://amitsolanki.com/writing/spree-square-restaurant-platform/</guid><description>Why Square — not a second admin UI — is the source of truth for the menu in a Spree Commerce restaurant platform: the architecture that fell out of that call, a payment trick that never touches Square&apos;s card APIs, and two webhook quirks that only showed up against a live sandbox.</description><pubDate>Thu, 13 Aug 2026 00:00:00 GMT</pubDate></item><item><title>Shipping WhatsApp&apos;s Native Catalog + Cart: A Field Guide to the Undocumented Gotchas</title><link>https://amitsolanki.com/writing/whatsapp-catalog-cart-field-guide/</link><guid isPermaLink="true">https://amitsolanki.com/writing/whatsapp-catalog-cart-field-guide/</guid><description>What it actually takes to get a Rails app talking to WhatsApp&apos;s Cloud API with real Catalog and Cart support — eight undocumented walls, in the order I hit them, and the checklist that would have saved me a day.</description><pubDate>Wed, 12 Aug 2026 00:00:00 GMT</pubDate></item><item><title>I&apos;m Learning MCP by Building a Server Claude Can Actually Log Into</title><link>https://amitsolanki.com/writing/mcp-server-spree-commerce/</link><guid isPermaLink="true">https://amitsolanki.com/writing/mcp-server-spree-commerce/</guid><description>A hands-on log of building an MCP server against a real Spree Commerce store seeded with 99,441 real, anonymised Olist orders: a silent data-loss bug from a fast insert path, a join fan-out that made my own analytics lie by 42x, and standing up OAuth with PKCE, discovery and dynamic client registration instead of skipping auth for a quick test.</description><pubDate>Mon, 10 Aug 2026 00:00:00 GMT</pubDate></item><item><title>I&apos;m Learning Voice AI by Building an AI Receptionist for a Restaurant</title><link>https://amitsolanki.com/writing/voice-ai-restaurant-receptionist/</link><guid isPermaLink="true">https://amitsolanki.com/writing/voice-ai-restaurant-receptionist/</guid><description>A hands-on log of building a voice AI phone agent for restaurant ordering with no prior voice-AI background — the architecture bet that paid off, a toolchain bug with zero AI glamour, and the moment a confidently wrong AI got caught by a boring safeguard.</description><pubDate>Fri, 07 Aug 2026 00:00:00 GMT</pubDate></item><item><title>The API Design Checklist I Wish I Had at Integration #1</title><link>https://amitsolanki.com/writing/api-integration-checklist/</link><guid isPermaLink="true">https://amitsolanki.com/writing/api-integration-checklist/</guid><description>10 lessons on idempotency, webhooks, auth, and observability from 200+ production API integrations — and the checklist that came out of learning them the hard way.</description><pubDate>Mon, 03 Aug 2026 00:00:00 GMT</pubDate></item><item><title>Now taking fractional CTO and advisory engagements</title><link>https://amitsolanki.com/writing/open-for-fractional-work/</link><guid isPermaLink="true">https://amitsolanki.com/writing/open-for-fractional-work/</guid><description>After two decades building platforms and teams (WeWork&apos;s hyper-growth years, then eight years scaling a restaurant-integrations organization to 20,000+ restaurant locations), I&apos;m opening a small fractional CTO and advisory practice.</description><pubDate>Sat, 18 Jul 2026 00:00:00 GMT</pubDate></item></channel></rss>