<?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: Yashwant Bisht</title>
    <description>The latest articles on DEV Community by Yashwant Bisht (@yashwant_bisht_6d96ef9b58).</description>
    <link>https://dev.to/yashwant_bisht_6d96ef9b58</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%2F4168067%2F0f530ccb-7884-49d0-b0e4-650ca5a68229.png</url>
      <title>DEV Community: Yashwant Bisht</title>
      <link>https://dev.to/yashwant_bisht_6d96ef9b58</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yashwant_bisht_6d96ef9b58"/>
    <language>en</language>
    <item>
      <title>ScopeGuard AI — Scope Creep Protection for Freelancers Powered by Google Gemma &amp; Render</title>
      <dc:creator>Yashwant Bisht</dc:creator>
      <pubDate>Fri, 16 Oct 2026 16:13:07 +0000</pubDate>
      <link>https://dev.to/yashwant_bisht_6d96ef9b58/scopeguard-ai-scope-creep-protection-for-freelancers-powered-by-google-gemma-render-515e</link>
      <guid>https://dev.to/yashwant_bisht_6d96ef9b58/scopeguard-ai-scope-creep-protection-for-freelancers-powered-by-google-gemma-render-515e</guid>
      <description>&lt;p&gt;&lt;em&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;/em&gt;&lt;/p&gt;

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

&lt;p&gt;Scope creep is the single biggest revenue and sanity leak for freelancers, independent contractors, and digital agencies. A client sends a message asking for &lt;em&gt;"just one quick addition before launch,"&lt;/em&gt; and without checking the contract, freelancers absorb hours of unpaid work out of fear of awkward confrontation.&lt;br&gt;
&lt;strong&gt;ScopeGuard AI&lt;/strong&gt; is an intelligent contract scope integrity engine designed specifically for independent workers. It compares incoming client messages against an agreed Statement of Work (SOW) and produces an objective, contract-grounded breakdown in seconds:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Task Decomposition&lt;/strong&gt;: Breaks compound client emails into distinct, individual requests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;3-Way Scope Classification&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;🟢 &lt;strong&gt;&lt;code&gt;ALREADY_INCLUDED&lt;/code&gt;&lt;/strong&gt;: Explicitly or reasonably covered by contract deliverables.&lt;/li&gt;
&lt;li&gt;🔴 &lt;strong&gt;&lt;code&gt;LIKELY_ADDITIONAL&lt;/code&gt;&lt;/strong&gt;: Clearly out of scope or explicitly excluded.&lt;/li&gt;
&lt;li&gt;🟡 &lt;strong&gt;&lt;code&gt;NEEDS_CLARIFICATION&lt;/code&gt;&lt;/strong&gt;: Ambiguous, unmentioned, or requiring further client discussion.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Independent Citation Verification&lt;/strong&gt;: Every quoted contract clause is independently verified against the raw agreement text using an algorithmic verification engine to eliminate AI hallucinations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Editable Change-Order Draft&lt;/strong&gt;: Automatically drafts a polite, non-confrontational change-order reply with placeholders for hourly rates and timelines so freelancers can protect their billable hours without damaging client relationships.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;
  
  
  Who would pay for this?
&lt;/h3&gt;

&lt;p&gt;Freelance developers, design agencies, copywriters, and consultants who lose thousands of dollars every year to unbilled scope creep and awkward negotiations.&lt;/p&gt;
&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Web Application&lt;/strong&gt;: &lt;a href="https://scopeguard-ui.onrender.com" rel="noopener noreferrer"&gt;https://scopeguard-ui.onrender.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend Health Check&lt;/strong&gt;: &lt;a href="https://scopeguard-api.onrender.com/api/health" rel="noopener noreferrer"&gt;https://scopeguard-api.onrender.com/api/health&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;The complete source code is open-source under the MIT license:&lt;br&gt;
&lt;/p&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/YashwantBisht45" rel="noopener noreferrer"&gt;
        YashwantBisht45
      &lt;/a&gt; / &lt;a href="https://github.com/YashwantBisht45/Hacktoberfest_Week_2_Challenege" rel="noopener noreferrer"&gt;
        Hacktoberfest_Week_2_Challenege
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &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;ScopeGuard AI&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;"Know when a client request goes beyond the original deal."&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;ScopeGuard AI is an open-source, competition-focused application designed for the &lt;strong&gt;Hacktoberfest 2026 Open-Source AI Challenge&lt;/strong&gt; (Submission Deadline: October 18, 2026).&lt;/p&gt;
&lt;p&gt;It helps freelancers and digital agencies determine whether a new client request is already covered by their original project agreement, constitutes out-of-scope additional work, or requires contractual clarification — backed by independent quotation verification against the agreement text.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Current Status: Phase 6.1 (Pre-Deployment Audit &amp;amp; Verified Hosted Providers)&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;The application is prepared for public cloud demonstration on &lt;strong&gt;Render&lt;/strong&gt; using hosted open-weight Gemma models while preserving full on-device local development with Ollama:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend&lt;/strong&gt;: Responsive React 19, Vite, TypeScript, and Tailwind CSS. Deploys as a Render Static Site with dynamic backend base URL configuration (&lt;code&gt;VITE_API_BASE_URL&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend&lt;/strong&gt;: Express with TypeScript, Zod validation, configurable rate limiting (&lt;code&gt;RATE_LIMIT_MAX&lt;/code&gt;), reverse proxy trust (&lt;code&gt;trust proxy&lt;/code&gt;), and safe…&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/YashwantBisht45/Hacktoberfest_Week_2_Challenege" 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;ScopeGuard AI is architected as a clean, decoupled monorepo:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Open-Weight AI Architecture
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Local Inference (Zero-Egress)&lt;/strong&gt;: Powered by &lt;strong&gt;Google Gemma 2 (&lt;code&gt;gemma2:2b&lt;/code&gt;)&lt;/strong&gt; running locally on device via &lt;strong&gt;Ollama&lt;/strong&gt;. This guarantees 100% data privacy—no contract text or client messages ever leave the freelancer's machine.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hosted Fallback&lt;/strong&gt;: Configured with an OpenAI-compatible adapter supporting hosted &lt;strong&gt;Google Gemma&lt;/strong&gt; open-weight endpoints (e.g. OpenRouter / DeepInfra) for public cloud demos.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Repetition &amp;amp; Loop Controls&lt;/strong&gt;: Tuned with &lt;code&gt;repeat_penalty: 1.15&lt;/code&gt;, &lt;code&gt;repeat_last_n: 64&lt;/code&gt;, deterministic &lt;code&gt;temperature: 0.1&lt;/code&gt;, and a single controlled retry to prevent token loops on compact open-weight models.
### 2. Algorithmic Evidence Verifier (Hallucination Defense)
Large language models occasionally fabricate plausible-sounding clauses. ScopeGuard AI solves this by running an independent verification layer in TypeScript:&lt;/li&gt;
&lt;li&gt;Any quote the AI claims to be from the contract is extracted and matched against the raw SOW text using normalized spacing, punctuation normalization, and substring indexing.&lt;/li&gt;
&lt;li&gt;Quotes that do not exist verbatim in the contract are flagged as &lt;code&gt;UNVERIFIED_OR_NOT_FOUND&lt;/code&gt;, preventing false claims in client negotiations.
### 3. Full-Stack Tech Stack&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frontend&lt;/strong&gt;: React 19, Vite, TypeScript, Tailwind CSS, Lucide icons.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend&lt;/strong&gt;: Node.js, Express, TypeScript, Zod schema validation, express-rate-limit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test Suite&lt;/strong&gt;: 40 passing Vitest unit tests covering CORS policies, Zod sanitization, model fallbacks, and citation verifiers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live Evaluation Suite&lt;/strong&gt;: Includes a dedicated script (&lt;code&gt;npm run test:eval&lt;/code&gt;) testing 5 real scenarios: excluded ERP sync, included page updates, ambiguous popups, multi-item requests, and prompt injection resistance.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;In legal and contractual domains, &lt;strong&gt;privacy is non-negotiable&lt;/strong&gt;. Freelancers frequently sign Non-Disclosure Agreements (NDAs) that strictly prohibit sending client specifications, unreleased product features, or pricing terms to third-party commercial APIs where data might be retained or used for training.&lt;br&gt;
Open innovation and open-weight models like &lt;strong&gt;Google Gemma 2&lt;/strong&gt; make true &lt;strong&gt;zero-egress AI&lt;/strong&gt; possible:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Total Data Sovereignty&lt;/strong&gt;: Contract text stays on &lt;code&gt;localhost&lt;/code&gt; (127.0.0.1).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline Reliability&lt;/strong&gt;: Freelancers can analyze client requests on flights, trains, or off-grid without an active internet connection.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auditability &amp;amp; Zero Vendor Lock-in&lt;/strong&gt;: The prompts, token penalties, and inference pipelines are completely transparent and reproducible without depending on black-box proprietary APIs.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;This project was built pair-programming with &lt;strong&gt;Antigravity&lt;/strong&gt;, Google DeepMind's advanced agentic coding assistant. The agent assisted across multiple lifecycle phases:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Diagnosing Windows dual-stack IPv4/IPv6 connection refusals.&lt;/li&gt;
&lt;li&gt;Tuning Ollama generation options and implementing controlled error retries.&lt;/li&gt;
&lt;li&gt;Writing the algorithmic citation verifier and Vitest test suite.&lt;/li&gt;
&lt;li&gt;Preparing the Render monorepo deployment with automated &lt;code&gt;render.yaml&lt;/code&gt; blueprint specs.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;h3&gt;
  
  
  1. 🏆 Best Use of Render ($200)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;How it qualifies&lt;/strong&gt;: The entire ScopeGuard AI production architecture is deployed on &lt;strong&gt;Render&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend&lt;/strong&gt;: Hosted on Render as a high-performance &lt;strong&gt;Static Site&lt;/strong&gt; (&lt;code&gt;scopeguard-ui.onrender.com&lt;/code&gt;) with automated SPA rewrite rules and cache management.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend&lt;/strong&gt;: Hosted on Render as a Node.js/Express &lt;strong&gt;Web Service&lt;/strong&gt; (&lt;code&gt;scopeguard-api.onrender.com&lt;/code&gt;) with custom reverse proxy trust, strict CORS origin controls, rate-limiting, and dual-stack binding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Blueprint Automation&lt;/strong&gt;: Ships with an automated &lt;a href="https://github.com/YashwantBisht45/Hacktoberfest_Week_2_Challenege/blob/main/render.yaml" rel="noopener noreferrer"&gt;&lt;code&gt;render.yaml&lt;/code&gt;&lt;/a&gt; specification declaring both services, health check paths (&lt;code&gt;/api/health&lt;/code&gt;), and environment variable bindings for reproducible one-click deploys.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. 🏆 Best Use of Gemma ($200)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;How it qualifies&lt;/strong&gt;: Google's open-weight &lt;strong&gt;Gemma&lt;/strong&gt; model is the core intelligence engine powering ScopeGuard AI:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Egress Local Inference&lt;/strong&gt;: Uses &lt;strong&gt;Gemma 2 (&lt;code&gt;gemma2:2b&lt;/code&gt;)&lt;/strong&gt; running locally on device via Ollama to guarantee 100% privacy for sensitive client contracts and NDAs without sending data to external clouds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hosted Gemma Fallback&lt;/strong&gt;: Includes a dedicated cloud adapter to serve Google Gemma open-weight models (&lt;code&gt;google/gemma-3-4b-it&lt;/code&gt; and &lt;code&gt;gemma2&lt;/code&gt;) over OpenAI-compatible endpoints on our live Render deployment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemma-Tuned Prompt &amp;amp; Generation Parameters&lt;/strong&gt;: Specifically tuned for Gemma's architecture with &lt;code&gt;repeat_penalty: 1.15&lt;/code&gt;, &lt;code&gt;repeat_last_n: 64&lt;/code&gt;, deterministic &lt;code&gt;temperature: 0.1&lt;/code&gt;, and a structured JSON pipeline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rigorous Evaluation Suite&lt;/strong&gt;: Backed by an automated test suite (&lt;code&gt;npm run test:eval&lt;/code&gt;) verifying Gemma across 5 real contract scenarios: excluded ERP sync, deliverable validation, ambiguous popups, multi-task decomposition, and prompt injection resistance.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&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%2Fwgp5d4my3qcmhyzh4a0w.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%2Fwgp5d4my3qcmhyzh4a0w.png" alt=" " width="800" height="410"&gt;&lt;/a&gt;&lt;br&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%2F8c3les6dd0qn5ak6mq7f.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%2F8c3les6dd0qn5ak6mq7f.png" alt=" " width="800" height="411"&gt;&lt;/a&gt;&lt;br&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%2Fdcies4pxd8jj0t17t3eu.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%2Fdcies4pxd8jj0t17t3eu.png" alt=" " width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
