<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rimsha </title>
    <description>The latest articles on DEV Community by Rimsha  (@inkwavebytes).</description>
    <link>https://dev.to/inkwavebytes</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4109213%2F2818aec0-8b1d-4704-abeb-a15e2e266440.jpg</url>
      <title>DEV Community: Rimsha </title>
      <link>https://dev.to/inkwavebytes</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/inkwavebytes"/>
    <language>en</language>
    <item>
      <title>CraveCast: Stop Guessing Batch Sizes &amp; Burning Cash — AI Demand Forecasting for Home Food Side Hustles</title>
      <dc:creator>Rimsha </dc:creator>
      <pubDate>Fri, 16 Oct 2026 21:03:55 +0000</pubDate>
      <link>https://dev.to/inkwavebytes/cravecast-stop-guessing-batch-sizes-burning-cash-ai-demand-forecasting-for-home-food-side-1abm</link>
      <guid>https://dev.to/inkwavebytes/cravecast-stop-guessing-batch-sizes-burning-cash-ai-demand-forecasting-for-home-food-side-1abm</guid>
      <description>&lt;p&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12"&gt;Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;If you’ve ever run a home food business—whether baking custom cakes, prepping weekly tiffin boxes, or running a late-night cloud kitchen—you know the &lt;strong&gt;Margin Trap&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Over-prep by 15 portions&lt;/strong&gt;, and your entire profit margin for the day goes straight into the trash as spoiled ingredients.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Under-prep by 15 portions&lt;/strong&gt;, and you turn away hungry customers while leaving guaranteed money on the table.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most home food entrepreneurs make daily prep decisions based on pure gut feeling. They don't have access to enterprise demand planning software, nor do they have time to manually analyze weather forecasts, mid-month wallet slumps, or temperature spikes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CraveCast&lt;/strong&gt; changes that. It is a specialized, open-source AI operational co-pilot built specifically for micro food side-hustles. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.toWeather,%20Day,%20Temp,%20Payday"&gt; Local Inputs &lt;/a&gt;&lt;br&gt;
│&lt;br&gt;
▼&lt;br&gt;
┌──────────────────┐&lt;br&gt;
│  TabPFN Engine   │ ──► Zero-Shot Portion Demand &amp;amp; Waste Risk %&lt;br&gt;
└──────────────────┘&lt;br&gt;
│&lt;br&gt;
▼&lt;br&gt;
┌──────────────────┐&lt;br&gt;
│ Dish Procurement │ ──► Dynamic Grocery Matrix (Flour, Butter, Meat, Boxes)&lt;br&gt;
└──────────────────┘&lt;br&gt;
│&lt;br&gt;
▼&lt;br&gt;
┌──────────────────┐&lt;br&gt;
│   Gemma Synth    │ ──► Pre-Order Broadcast (1-Click WhatsApp Launch)&lt;br&gt;
└──────────────────┘&lt;/p&gt;
&lt;h3&gt;
  
  
  What CraveCast Actually Does:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Predicts Exact Prep Batches&lt;/strong&gt;: Uses a zero-shot tabular AI model to calculate optimal portion targets based on hyper-local operational signals (weekday vs. weekend, ambient heat, rain forecasts, and payday cycles).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Explains the "Why" (TabPFN Decision Matrix)&lt;/strong&gt;: Breaks down the reasoning into clear drivers (e.g., &lt;code&gt;+15 Weekend Surge&lt;/code&gt;, &lt;code&gt;-8 Rain Impact&lt;/code&gt;, &lt;code&gt;+10 Payday Boost&lt;/code&gt;) so the cook understands the logic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Generates a Dish-Specific Grocery Matrix&lt;/strong&gt;: Type any custom dish—like &lt;code&gt;"Belgian Fudge Chocolate Cake"&lt;/code&gt;, &lt;code&gt;"Steamed Beef Momos"&lt;/code&gt;, or &lt;code&gt;"Spicy Szechuan Hotpot"&lt;/code&gt;—and CraveCast dynamically calculates the raw material shopping list down to kilograms, liters, and packaging units.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Locks in Pre-Orders Before Cooking (Gemma Synthesis)&lt;/strong&gt;: Drafts an optimized pre-order campaign with a direct &lt;strong&gt;1-click WhatsApp launch button&lt;/strong&gt; so sellers capture upfront orders before buying ingredients.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real-Time Profit Guard&lt;/strong&gt;: Detects when cost per portion exceeds selling price and warns the user before they lock in a deficit.&lt;/li&gt;
&lt;/ol&gt;


&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;strong&gt;Live Application&lt;/strong&gt;: &lt;a href="https://crave-cast-seven.vercel.app/" rel="noopener noreferrer"&gt;https://crave-cast-seven.vercel.app/&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Try It Yourself in 30 Seconds:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Open the live link and pick your local currency (&lt;strong&gt;PKR ₨&lt;/strong&gt;, &lt;strong&gt;USD $&lt;/strong&gt;, &lt;strong&gt;EUR €&lt;/strong&gt;, &lt;strong&gt;AED 🇦🇪&lt;/strong&gt;, etc.).&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Dish / Menu Item&lt;/strong&gt; field, test different items like &lt;code&gt;"Belgian Chocolate Cake"&lt;/code&gt; vs. &lt;code&gt;"Steamed Beef Momos"&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Toggle the weather forecast to &lt;strong&gt;Rainy&lt;/strong&gt; or temperature to &lt;strong&gt;35°C&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Run CraveCast Agent ✨&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Watch the dashboard calculate portion counts, swap ingredient matrices, highlight spoilage risk, and generate a WhatsApp broadcast caption ready to send!&lt;/li&gt;
&lt;/ol&gt;


&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/rimshacodes5" rel="noopener noreferrer"&gt;
        rimshacodes5
      &lt;/a&gt; / &lt;a href="https://github.com/rimshacodes5/CraveCast" rel="noopener noreferrer"&gt;
        CraveCast
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Created for Hacktoberfest 2026 🎃  An AI agent pipeline combining zero-shot tabular demand forecasting, dish-specific grocery procurement, pre-order social synthesis, and full Sentry telemetry tracing.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;CraveCast 🥐🍱 — Predictive Demand &amp;amp; Waste Prevention Engine for Home Food Entrepreneurs&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;Created for &lt;strong&gt;Hacktoberfest 2026&lt;/strong&gt; 🎃&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;An AI agent pipeline combining zero-shot tabular demand forecasting, dish-specific grocery procurement, pre-order social synthesis, and full Sentry telemetry tracing.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;📌 Project Overview&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;CraveCast&lt;/strong&gt; is a culinary-themed AI decision dashboard designed for home-based food entrepreneurs, cloud kitchens, meal preppers, and artisanal bakers. By analyzing hyper-local environmental factors—such as day of the week, weather forecasts, ambient temperature, and payday cycles—CraveCast predicts exact batch prep requirements, estimates food spoilage risks, and calculates protected capital.&lt;/p&gt;
&lt;p&gt;Additionally, CraveCast automatically synthesizes dish-specific raw ingredient shopping lists and generates high-converting pre-order broadcasts for WhatsApp and Instagram to lock in orders before cooking starts.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;✨ Key Features&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;🧠 TabPFN Zero-Shot Demand Engine&lt;/strong&gt;: Predicts optimal batch sizes and calculates waste risk percentages based on real-time operational factors.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;📊 TabPFN Decision Matrix Breakdown&lt;/strong&gt;: Explains the exact reasoning behind portion…&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/rimshacodes5/CraveCast" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;





&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;I designed CraveCast around a fast, modern full-stack TypeScript stack styled in a custom &lt;strong&gt;Dark Chocolate &amp;amp; Cream&lt;/strong&gt; aesthetic (&lt;code&gt;#1C100D&lt;/code&gt; background with warm terracotta accents):&lt;/p&gt;

&lt;h3&gt;
  
  
  1. TabPFN (Tabular Demand Engine)
&lt;/h3&gt;

&lt;p&gt;Food demand forecasting isn't an NLP problem—it's a tabular pattern matching problem. Standard LLMs struggle with precise numerical reasoning across multi-variable tables. I used &lt;strong&gt;TabPFN&lt;/strong&gt; as a zero-shot tabular engine inside the backend route (&lt;code&gt;src/app/api/forecast/route.ts&lt;/code&gt;). It evaluates environmental features in milliseconds without needing an expensive, heavy training pipeline.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Gemma (Pre-Order Broadcast Synthesis)
&lt;/h3&gt;

&lt;p&gt;Once TabPFN outputs the recommended portion count, &lt;strong&gt;Gemma&lt;/strong&gt; formats that numerical state into compelling, action-oriented pre-order copy designed for social broadcasts (Instagram stories &amp;amp; WhatsApp status updates).&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Sentry Agent Telemetry &amp;amp; Instrumentation
&lt;/h3&gt;

&lt;p&gt;AI pipelines fail silently if you don't trace them properly. I instrumented the backend with &lt;strong&gt;Sentry &lt;code&gt;startSpan&lt;/code&gt;&lt;/strong&gt; tracking across every step:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;agent.pipeline&lt;/code&gt; (Parent execution wrapper)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ai.tabpfn&lt;/code&gt; (Tabular demand &amp;amp; decision matrix calculation)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ai.gemma&lt;/code&gt; (Social caption synthesis)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every execution passes back a real-time &lt;code&gt;sentryTraceId&lt;/code&gt; to verify pipeline health and monitor response latency directly on the dashboard.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Next.js 16 &amp;amp; Tailwind v4
&lt;/h3&gt;

&lt;p&gt;Built using Next.js 16 (App Router + Turbopack) for fast server route evaluation, paired with Tailwind CSS v4 and Lucide React icons for a responsive mobile layout.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;When building tools for micro-entrepreneurs, &lt;strong&gt;software cost is everything&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;A solo home baker making $150 a week cannot afford a $49/month SaaS subscription or pay-per-token API bills that spike unexpectedly. Open-source models like TabPFN and open-weight models like Gemma democratize enterprise-grade intelligence. &lt;/p&gt;

&lt;p&gt;Open innovation lets us embed sophisticated prediction logic directly into lightweight web apps that any small business owner can use for free—keeping privacy intact and operating costs near zero.&lt;/p&gt;




&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;I built CraveCast through interactive human-AI pair programming inside Cursor IDE. Using iterative terminal agent runs, we resolved PostCSS configuration setups for Tailwind v4, constructed dynamic ingredient mapping logic for custom dish inputs, and linked Sentry spans across the backend route.&lt;/p&gt;




&lt;h2&gt;
  
  
  My First User
&lt;/h2&gt;

&lt;p&gt;I put CraveCast to the test with a friend running a home-based bakery side business. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Before:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
On hot mid-month weekdays, she used to bake a standard batch of 50 portions based on habit. On slow days (35°C heat + mid-month wallet slumps), up to 15 portions remained unsold, burning over &lt;strong&gt;Rs 8,000 ($30+)&lt;/strong&gt; in wasted butter, cream, and packaging every single week.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Test Run:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
We plugged her parameters into CraveCast. The TabPFN matrix flagged a high spoilage risk day (35% risk index) and recommended cutting the prep batch down to &lt;strong&gt;40 portions&lt;/strong&gt;. She clicked &lt;strong&gt;Launch WhatsApp&lt;/strong&gt;, blasted the Gemma-generated pre-order text to her customer broadcast list, and &lt;strong&gt;locked in 32 pre-orders before turning on the oven&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Result? Zero wasted inventory for the day and protected profit margins!&lt;/p&gt;




&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Primary Track&lt;/strong&gt;: Hacktoberfest Week 2 — Side Hustle&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TabPFN Track&lt;/strong&gt;: Best use of TabPFN for zero-shot tabular demand prediction &amp;amp; waste risk evaluation&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sentry Track&lt;/strong&gt;: Full multi-span agent pipeline instrumentation and telemetry tracing (&lt;code&gt;agent.pipeline&lt;/code&gt; → &lt;code&gt;ai.tabpfn&lt;/code&gt; → &lt;code&gt;ai.gemma&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>hacktoberfest</category>
    </item>
    <item>
      <title>GROQ &amp; Dagger 🕵️‍♂️⚡: Unraveling Cyber-Noir Cold Cases with Graph Relational Queries</title>
      <dc:creator>Rimsha </dc:creator>
      <pubDate>Wed, 30 Sep 2026 16:35:13 +0000</pubDate>
      <link>https://dev.to/inkwavebytes/groq-dagger-unraveling-cyber-noir-cold-cases-with-graph-relational-queries-1an</link>
      <guid>https://dev.to/inkwavebytes/groq-dagger-unraveling-cyber-noir-cold-cases-with-graph-relational-queries-1an</guid>
      <description>&lt;p&gt;This is a submission for the &lt;a href="https://dev.to/challenges/sanity-2026-09-16"&gt;Sanity Challenge, Path Two: Vibe-Code Something Strange&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Imagine stepping into a neon-soaked, retro-terminal precinct where every suspect dossier, physical evidence locker, and conflicting testimony is bound together in a live graph database. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GROQ &amp;amp; Dagger&lt;/strong&gt; is an atmospheric cyber-noir interactive crime investigation board. Designed for digital detectives, mystery enthusiasts, and developers exploring structured content, it replaces static corkboards with a dynamic terminal desk.&lt;/p&gt;

&lt;p&gt;Instead of running heavy client-side loops or complex database joins, &lt;strong&gt;GROQ &amp;amp; Dagger&lt;/strong&gt; leverages Sanity’s &lt;strong&gt;GROQ (Graph Relational Object Queries)&lt;/strong&gt; engine to dereference deeply linked document references in a single query payload. Click on any suspect, and the entire desk dynamically isolates every piece of tied physical evidence, alibi flaw, and testimony contradiction in real time.&lt;/p&gt;




&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🌐 &lt;strong&gt;Live Application:&lt;/strong&gt; &lt;a href="https://groq-and-dagger.vercel.app/" rel="noopener noreferrer"&gt;https://groq-and-dagger.vercel.app/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  ⚡ Key Features &amp;amp; Interface Highlights
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;🚨 &lt;strong&gt;CRT Terminal &amp;amp; Cyber-Noir Aesthetic:&lt;/strong&gt; Dark mode grid overlay, glowing scanlines, and neon caution indicators (&lt;code&gt;⚠️ CRIME SCENE DO NOT CROSS&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;🕵️️ &lt;strong&gt;Suspect Dossier Vault:&lt;/strong&gt; Inspect suspect profiles, aliases, alibis, and real-time status badges (&lt;code&gt;PRIME SUSPECT&lt;/code&gt;, &lt;code&gt;CLEARED&lt;/code&gt;, &lt;code&gt;UNDER WATCH&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;🔍 &lt;strong&gt;Interactive Evidence Locker:&lt;/strong&gt; High-resolution physical and digital evidence assets fetched from Sanity CDN.&lt;/li&gt;
&lt;li&gt;⚡ &lt;strong&gt;Contradiction Matrix:&lt;/strong&gt; Automated flags highlighting conflicting alibis cross-referenced directly against physical evidence.&lt;/li&gt;
&lt;li&gt;⏳ &lt;strong&gt;Chronological Timeline Engine:&lt;/strong&gt; Sequential step-by-step breakdown of verified factual crime scene events.&lt;/li&gt;
&lt;li&gt;🎯 &lt;strong&gt;One-Click Cross-Referencing:&lt;/strong&gt; Selecting any suspect dynamically highlights and isolates their connected evidence and contradictions across the entire dashboard.&lt;/li&gt;
&lt;li&gt;📊 &lt;strong&gt;Live Case Metrics Bar:&lt;/strong&gt; High-visibility header counters tracking total suspects, evidence items, contradictions, and timeline events on file.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;📁 &lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/rimshacodes5/groq-and-dagger" rel="noopener noreferrer"&gt;https://github.com/rimshacodes5/groq-and-dagger&lt;/a&gt; &lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  My Build Process
&lt;/h2&gt;

&lt;p&gt;Building &lt;strong&gt;GROQ &amp;amp; Dagger&lt;/strong&gt; was an experiment in vibe-coding an immersive retro-tech interface using Next.js (App Router with Turbopack), Tailwind CSS, and Sanity Studio v3.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Vibe-Coding the UI &amp;amp; Interactivity
&lt;/h3&gt;

&lt;p&gt;I wanted the dashboard to feel like a high-stakes investigation terminal. Iterating with AI prompts, we focused on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Designing custom Tailwind CSS utilities for CRT scanline overlays and glowing neon status badges (Amber for suspects, Cyan for evidence, Red for contradictions, Emerald for verified facts).&lt;/li&gt;
&lt;li&gt;Building responsive React state logic for multi-directional cross-filtering—clicking a suspect highlights their connected evidence cards seamlessly without breaking the layout.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Obstacles &amp;amp; Course-Corrections
&lt;/h3&gt;

&lt;p&gt;During the build and deployment pipeline, we navigated three key engineering hurdles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Git Index Cache Cleanup:&lt;/strong&gt; Build artifacts (&lt;code&gt;.next&lt;/code&gt; and &lt;code&gt;node_modules&lt;/code&gt;) were initially tracked in git history. We updated &lt;code&gt;.gitignore&lt;/code&gt; and purged the index using &lt;code&gt;git rm -r --cached .&lt;/code&gt; to ensure a clean commit repository.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The &lt;code&gt;.next Output Directory&lt;/code&gt; Build Fix:&lt;/strong&gt; The initial Vercel deployment failed because &lt;code&gt;package.json&lt;/code&gt; was executing &lt;code&gt;"build": "sanity build"&lt;/code&gt;. Re-routing the script to &lt;code&gt;"build": "next build"&lt;/code&gt; allowed Next.js to compile production bundles cleanly on Vercel edge servers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sanity CORS Whitelisting:&lt;/strong&gt; Production deployment required authorizing the live Vercel domain (&lt;code&gt;https://groq-and-dagger.vercel.app&lt;/code&gt;) inside the Sanity Management Dashboard under API settings with credentialed access enabled.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Sanity Project Details
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sanity Project ID:&lt;/strong&gt; &lt;code&gt;ur1wyqmd&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dataset:&lt;/strong&gt; &lt;code&gt;production&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Structured Content Schema
&lt;/h3&gt;

&lt;p&gt;The content model comprises 4 interconnected schema types linked via reference arrays (&lt;code&gt;type: 'reference'&lt;/code&gt;):&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;suspect&lt;/code&gt;&lt;/strong&gt;: Name, alias, alibi, status, background notes, and photo asset.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;evidence&lt;/code&gt;&lt;/strong&gt;: Title, type (physical/digital), location found, description, photo asset, and &lt;code&gt;connectedSuspects&lt;/code&gt; reference array.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;contradiction&lt;/code&gt;&lt;/strong&gt;: Title, description, severity score, &lt;code&gt;suspectInvolved&lt;/code&gt; reference, and &lt;code&gt;evidenceInvolved&lt;/code&gt; reference array.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;timelineEvent&lt;/code&gt;&lt;/strong&gt;: Timestamp, title, description, and verification status.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Querying the Web of Clues with GROQ
&lt;/h3&gt;

&lt;p&gt;GROQ’s &lt;code&gt;-&amp;gt;&lt;/code&gt; dereferencing operator allowed us to resolve multi-level document graphs effortlessly in a single request:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
groq
// Dereferencing Suspects &amp;amp; Linked Evidence inside Contradictions
*[_type == "contradiction"] {
  _id,
  title,
  description,
  severity,
  suspectInvolved-&amp;gt; {
    _id,
    name,
    alias
  },
  evidenceInvolved[]-&amp;gt; {
    _id,
    title
  }
}

// Resolving Connected Suspect Profiles for Physical Evidence
*[_type == "evidence"] {
  _id,
  title,
  type,
  description,
  locationFound,
  "imageUrl": image.asset-&amp;gt;url,
  connectedSuspects[]-&amp;gt; {
    _id,
    name,
    status
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>devchallenge</category>
      <category>sanitychallenge</category>
      <category>sanity</category>
      <category>ai</category>
    </item>
    <item>
      <title>We Built an AI Agent That Intentionally Breaks Code to Fix It Before Hackers Do</title>
      <dc:creator>Rimsha </dc:creator>
      <pubDate>Sun, 27 Sep 2026 13:39:56 +0000</pubDate>
      <link>https://dev.to/inkwavebytes/we-built-an-ai-agent-that-intentionally-breaks-code-to-fix-it-before-hackers-do-1gcf</link>
      <guid>https://dev.to/inkwavebytes/we-built-an-ai-agent-that-intentionally-breaks-code-to-fix-it-before-hackers-do-1gcf</guid>
      <description>&lt;p&gt;We just wrapped up our submission for the &lt;strong&gt;IBM Bob 2.0 Hackathon&lt;/strong&gt;! &lt;/p&gt;

&lt;p&gt;Our team, &lt;strong&gt;Syntax and Synergy&lt;/strong&gt;, built &lt;strong&gt;Resilix&lt;/strong&gt;—an autonomous adversarial agent that tests code resilience and auto-generates defensive security patches before code hits production.&lt;/p&gt;




&lt;h3&gt;
  
  
  🚨 The Problem
&lt;/h3&gt;

&lt;p&gt;Developers and AI models are writing code faster than ever. However, security testing tools are often built for slow, late-stage pipeline audits rather than active development. Unhandled null pointers, string overflows, and SQL injections frequently slip through under hostile edge cases.&lt;/p&gt;




&lt;h3&gt;
  
  
  🛡️ What Resilix Does
&lt;/h3&gt;

&lt;p&gt;Resilix acts as a real-time defensive assistant:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Multi-Vector Payload Fuzzing:&lt;/strong&gt; Analyzes code against SQLi, null pointer exceptions, buffer overflows, and malformed structures.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dynamic Resilience Score:&lt;/strong&gt; Deducts severity weights to calculate a instant 0–100 safety score.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated Defensive Patching:&lt;/strong&gt; Generates copy-pasteable fixed code snippets alongside detailed risk breakdowns.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Chaos Dashboard:&lt;/strong&gt; A clean, dark-mode web UI for instant local testing.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  🧰 How We Built It with IBM Bob 2.0
&lt;/h3&gt;

&lt;p&gt;The entire application was built inside the IBM Bob 2.0 environment:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Plan Mode:&lt;/strong&gt; Structured our microservice architecture, API endpoints (&lt;code&gt;/api/fuzz&lt;/code&gt;), and scoring formulas.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agent Mode:&lt;/strong&gt; Generated our Flask server logic (&lt;code&gt;app.py&lt;/code&gt;) and single-page interactive UI (&lt;code&gt;index.html&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Workspace Context:&lt;/strong&gt; Maintained rules across &lt;code&gt;.bob/rules-*&lt;/code&gt; and tracked all execution logs in &lt;code&gt;bob_sessions/&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  🔗 Links &amp;amp; Resources
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;🎥 &lt;strong&gt;Video Demo:&lt;/strong&gt; &lt;a href="https://youtu.be/F5wpFuI9aHM" rel="noopener noreferrer"&gt;https://youtu.be/F5wpFuI9aHM&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We'd love to hear your thoughts and feedback from the DEV community! 🚀&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmdk8jadop97jjj6sz7ky.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmdk8jadop97jjj6sz7ky.png" alt=" " width="799" height="348"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>watercooler</category>
      <category>python</category>
      <category>ai</category>
      <category>security</category>
    </item>
    <item>
      <title>Ripple 💧 – Transform Spare Time into Micro-Missions of Generosity</title>
      <dc:creator>Rimsha </dc:creator>
      <pubDate>Mon, 07 Sep 2026 10:25:35 +0000</pubDate>
      <link>https://dev.to/inkwavebytes/ripple-transform-spare-time-into-micro-missions-of-generosity-4pme</link>
      <guid>https://dev.to/inkwavebytes/ripple-transform-spare-time-into-micro-missions-of-generosity-4pme</guid>
      <description>&lt;p&gt;This is a submission for the &lt;a href="https://dev.to/challenges/weekend-2026-09-03"&gt;DEV Weekend Challenge: Generosity Edition&lt;/a&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Prize Category Targeted:&lt;/strong&gt; Best use of Google AI 🤖&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  💧 What I Built
&lt;/h2&gt;

&lt;p&gt;Most people genuinely want to help others, but traditional volunteering often demands fixed multi-hour commitments, and charity donations require spare capital. Many everyday acts of generosity go unperformed simply because people don't know &lt;em&gt;what&lt;/em&gt; small action they can take with the 15 minutes or $0 budget they have right now.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ripple&lt;/strong&gt; is an AI-powered micro-mission engine designed to eliminate that friction. &lt;/p&gt;

&lt;p&gt;By inputting basic constraints—such as 20 minutes of free time, a laptop, basic digital skills, or a $0 budget—Ripple generates immediate, tailored, step-by-step acts of kindness that can be executed on the spot.&lt;/p&gt;




&lt;h2&gt;
  
  
  🌐 Live Demo &amp;amp; Code
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🚀 &lt;strong&gt;Live Application:&lt;/strong&gt; &lt;a href="https://ripple-ecru.vercel.app/" rel="noopener noreferrer"&gt;https://ripple-ecru.vercel.app/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🐙 &lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/rimshacodes5/Ripple" rel="noopener noreferrer"&gt;https://github.com/rimshacodes5/Ripple&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🤖 How Google AI Powers Ripple
&lt;/h2&gt;

&lt;p&gt;Ripple relies on &lt;strong&gt;Google Gemini 3.6 Flash&lt;/strong&gt; (&lt;code&gt;@google/genai&lt;/code&gt;) to dynamically translate raw user constraints into actionable missions.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Strict Schema Validation
&lt;/h3&gt;

&lt;p&gt;Rather than receiving unstructured text, our Node.js serverless backend enforces a strict &lt;code&gt;Type.OBJECT&lt;/code&gt; JSON schema via the Gemini SDK. This ensures Gemini returns predictable data structures containing a &lt;code&gt;title&lt;/code&gt;, &lt;code&gt;estimatedTime&lt;/code&gt;, &lt;code&gt;cost&lt;/code&gt;, &lt;code&gt;whyItFits&lt;/code&gt; rationale, and an array of 3 execution &lt;code&gt;steps&lt;/code&gt;.&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
javascript
const missionSchema = {
  type: Type.OBJECT,
  properties: {
    title: { type: Type.STRING },
    estimatedTime: { type: Type.STRING },
    cost: { type: Type.STRING },
    whyItFits: { type: Type.STRING },
    steps: { type: Type.ARRAY, items: { type: Type.STRING } }
  },
  required: ["title", "estimatedTime", "cost", "whyItFits", "steps"]
};

---

### 2. High-Demand API Spike Resilience
To guarantee seamless reliability during high traffic, the backend incorporates an automated exponential backoff retry loop. If Google's API returns a temporary `503 High Demand` spike, the serverless handler automatically retries up to 3 times before returning the output to the user.

---

## ✨ Features &amp;amp; User Experience

* **Interactive Water Reservoir:** A custom CSS glassmorphism liquid tank that fills up as you complete missions, giving immediate visual feedback for your impact.
* **Synthesized Audio Interactions:** Built with the browser's native **Web Audio API** to generate organic water-drop sound effects upon marking tasks complete without external audio assets.
* **Persistent Impact Tracker:** Uses browser `localStorage` to preserve your total impact level and complete mission history across sessions.
* **Serverless Architecture:** Decoupled deployment with static assets served via Vercel's global CDN and API requests routed through Node.js serverless functions.

---

## ❤️ Relevance to the Theme

Inspired by the theme of **Technology-Driven Giving**, Ripple reimagines generosity not as a grand, occasional event, but as a continuous daily habit. By using AI to make micro-volunteering accessible to anyone regardless of age, income, or location, Ripple proves that even the smallest action creates a lasting impact.

---

*Built with Node.js, Express, Google Gemini 3.6 Flash, HTML/CSS/JS, and deployed on Vercel.*
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hackathon</category>
      <category>googleaichallenge</category>
    </item>
  </channel>
</rss>
