---
title: "Diven Rastdus (@divenrastdus) | Hashnode"
description: "Senior Full-Stack Developer & AI Engineer. Building production AI agents and SaaS tools. Read the latest articles by Diven Rastdus on Hashnode."
url: "https://hashnode.com/@divenrastdus"
---

@divenrastdus

# Diven Rastdus

@divenrastdus · Joined March 2026

Senior Full-Stack Developer & AI Engineer. Building production AI agents and SaaS tools.

### [PostHog Custom Events: How I Tracked a $59 Payment Funnel from Page View to Stripe Checkout](https://divenrastdus.hashnode.dev/posthog-custom-events-how-i-tracked-a-59-payment-funnel-from-page-view-to-stripe-checkout?utm_source=hashnode&utm_medium=feed)

You built the landing page, wired up Stripe, launched. And then... silence. Zero purchases. Was the page broken? Did anyone even see the price? Did they click anything? Without custom events, PostHog tells you "12 people visited /lifetime." With them...

5 min read · [divenrastdus.hashnode.dev](https://divenrastdus.hashnode.dev/posthog-custom-events-how-i-tracked-a-59-payment-funnel-from-page-view-to-stripe-checkout?utm_source=hashnode&utm_medium=feed)

[May 9](https://hashnode.com/posts/posthog-custom-events-how-i-tracked-a-59-payment-funnel-from-page-view-to-stripe-checkout/69ff2339761baf87bdf8f3a1)

### [Your AI Agent Evaluation Is Lying to You: Why 10 Test Runs Prove Nothing](https://divenrastdus.hashnode.dev/your-ai-agent-evaluation-is-lying-to-you-why-10-test-runs-prove-nothing?utm_source=hashnode&utm_medium=feed)

I ran 10 games between two AI agents. Agent v3 went 5-5 against Agent v1. I reported "v3 ties v1, no measurable improvement, don't merge." That conclusion was wrong. Not because v3 was secretly better or worse, but because 10 games told me almost not...

6 min read · [divenrastdus.hashnode.dev](https://divenrastdus.hashnode.dev/your-ai-agent-evaluation-is-lying-to-you-why-10-test-runs-prove-nothing?utm_source=hashnode&utm_medium=feed)

[May 8](https://hashnode.com/posts/your-ai-agent-evaluation-is-lying-to-you-why-10-test-runs-prove-nothing/69fdd1b2562f0ac69d8d9ffb)

### [How I Built a Push-Based Gmail Bridge for My AI Agent (Zero Polling, Free Tier)](https://divenrastdus.hashnode.dev/how-i-built-a-push-based-gmail-bridge-for-my-ai-agent-zero-polling-free-tier?utm_source=hashnode&utm_medium=feed)

I missed a prize-notification email by 24 hours because my AI agent only checked Gmail when it booted. The email needed a response within 48 hours. I had 24 left by the time the next session started. That gap nearly cost me real money. Polling is the...

7 min read · [divenrastdus.hashnode.dev](https://divenrastdus.hashnode.dev/how-i-built-a-push-based-gmail-bridge-for-my-ai-agent-zero-polling-free-tier?utm_source=hashnode&utm_medium=feed)

[May 5](https://hashnode.com/posts/how-i-built-a-push-based-gmail-bridge-for-my-ai-agent-zero-polling-free-tier/69f9dd1de7a4667031749975)

### [How \`OR\` in a Postgres RLS policy leaked every flagged row to every user](https://divenrastdus.hashnode.dev/how-or-in-a-postgres-rls-policy-leaked-every-flagged-row-to-every-user?utm_source=hashnode&utm_medium=feed)

A frontend QA pass on a brand-new account opened the library sidebar and saw two notes I had never written. They were public seed entries from a different user. Same UUIDs across every fresh account I tested. This is a post-mortem of how multiple Pos...

7 min read · [divenrastdus.hashnode.dev](https://divenrastdus.hashnode.dev/how-or-in-a-postgres-rls-policy-leaked-every-flagged-row-to-every-user?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/how-or-in-a-postgres-rls-policy-leaked-every-flagged-row-to-every-user/69f344e1aa6209bb6cc03061) [Apr 30](https://hashnode.com/posts/how-or-in-a-postgres-rls-policy-leaked-every-flagged-row-to-every-user/69f344e1aa6209bb6cc03061)

### [PostHog + Next.js 16 App Router: the Suspense gotcha that silenced my analytics for 6 days](https://divenrastdus.hashnode.dev/posthog-nextjs-16-app-router-the-suspense-gotcha-that-silenced-my-analytics-for-6-days-1?utm_source=hashnode&utm_medium=feed)

I shipped a no-op stub of PostHogProvider.tsx on April 20. I told myself I would come back to it that afternoon. Six days later I was reviewing my analytics dashboard and noticed a graph that should have been climbing was completely flat. Every posth...

6 min read · [divenrastdus.hashnode.dev](https://divenrastdus.hashnode.dev/posthog-nextjs-16-app-router-the-suspense-gotcha-that-silenced-my-analytics-for-6-days-1?utm_source=hashnode&utm_medium=feed)

[Apr 27](https://hashnode.com/posts/posthog-nextjs-16-app-router-the-suspense-gotcha-that-silenced-my-analytics-for-6-days-1/69ef511548912331a3a25a1f)
