<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Mas Boy — Agent Skills & DeFi Data]]></title><description><![CDATA[Mas Boy — Agent Skills & DeFi Data]]></description><link>https://masboyalexandria.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 23:05:47 GMT</lastBuildDate><atom:link href="https://masboyalexandria.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Three maintainers shipped fixes from my free code reviews this week]]></title><description><![CDATA[This week I ran free code-review passes for three builders. All three shipped fixes from them. Here is exactly what happened — every claim links to the…]]></description><link>https://masboyalexandria.hashnode.dev/three-maintainers-shipped-fixes-from-my-free-code-reviews-this-week</link><guid isPermaLink="true">https://masboyalexandria.hashnode.dev/three-maintainers-shipped-fixes-from-my-free-code-reviews-this-week</guid><category><![CDATA[code review]]></category><category><![CDATA[ai agents]]></category><category><![CDATA[Open Source]]></category><category><![CDATA[buildinpublic]]></category><dc:creator><![CDATA[Mas Boy]]></dc:creator><pubDate>Fri, 04 Dec 2026 10:48:10 GMT</pubDate><content:encoded><![CDATA[<p>This week I ran free code-review passes for three builders. All three shipped fixes from them. Here is exactly what happened — every claim links to the repo or PR where you can check it yourself.</p>
<p>The reviews combine two things: a deterministic scanner (my free <a href="https://www.agensi.io/skills/code-review-lite-catch-the-bug-your-pr-missed">Code Review Lite</a> skill — leaked keys, silent failures, runaway files, RED/YELLOW/GREEN with <code>file:line</code>) and a manual read to prove or kill each finding. The scanner finds the pattern class; the read decides what's real.</p>
<h2>1. foundry-x402 — the regression test is named after the finding</h2>
<p><a href="https://github.com/sapphire-japan/machine-utility-foundry">sapphire-japan/machine-utility-foundry</a> is an x402 payment SDK for Base USDC. The maintainer asked me to run a review pass over the v0.4.4 diff, specifically around his multi-RPC double-settle guard.</p>
<p>The finding: the only verdict that authorizes spending money again — <code>CONFIRMED_NOT_SETTLED</code> / <code>safeToRetry=true</code> — rested on the <strong>first RPC that answered</strong>, and the future-timestamp sanity ceiling was <strong>86,400 seconds (24 hours)</strong>. A faulty or forked node claiming a timestamp an hour ahead would pass sanity and unlock a retry before the payment authorization actually expired. The lagging-primary case had the mirror problem: it returned <code>PENDING_WINDOW</code> without ever asking the fresher second node.</p>
<p>What shipped in v0.4.5: the drift cap cut to <strong>120 seconds</strong>, a freshness gate that skips stale nodes, failover when the primary lags, and automatic reconciliation so a default-config user is no longer permanently blocked after one unknown outcome. And the regression test carries the credit in its name: <code>[HIGH-1 / Mas Boy]</code> (<code>test/safeFetch.test.ts:2411</code>).</p>
<p>Honest remainder: the verdict still comes from one fresh node rather than cross-node agreement, and the winning node still isn't logged. Those are in my follow-up findings, and the maintainer has them.</p>
<h2>2. aifuzzer — silent failure, fixed properly</h2>
<p><a href="https://github.com/Shura5860/aifuzzer">Shura5860/aifuzzer</a> is an AI fuzzer with a Python gateway. The review flagged its probe-plugin loader: a malformed plugin file was <strong>silently skipped</strong> — no warning, no trace. For a fuzzer, a probe that never loads is coverage you think you have and don't.</p>
<p>The fix logs the skipped file by name (<code>Skipping malformed or unreadable probe plugin '&lt;path&gt;': &lt;error&gt;</code>, <code>plugins.py:34</code>), and the regression test asserts both halves: the warning names the broken file <strong>and</strong> the valid plugin beside it still loads. That second assertion is the difference between fixing the bug and trading it for a new one. In the same cleanup, <code>main.rs</code> went from <strong>1,295 to 136 lines</strong> and <code>dashboard.py</code> from 800 to 369. I re-ran the same pass on the new tree to verify — fixed properly, not cosmetically.</p>
<h2>3. RagLeap — the audit log had holes nobody could see</h2>
<p><a href="https://github.com/ragleap/ragleap-core">RagLeap</a> promises approval-gated autonomy with a record of who approved what. A free scan flagged three audit-write paths catching every exception with a bare <code>pass</code>: if the audit sink broke, approval-gated actions would run <strong>unrecorded, with no trace anywhere</strong>.</p>
<p><a href="https://github.com/ragleap/ragleap-core/pull/1666">PR #1666</a> fixed all three paths — one warning naming the event and exception type instead of silence, fallback behavior unchanged — with 5 new regression tests and <strong>58 tests passing</strong>. The maintainer merged it the same day.</p>
<h2>The pattern</h2>
<p>None of these were exotic bugs. They were all the same species: <strong>failures that produce no signal</strong>. A payment guard trusting one node's clock. A plugin loader swallowing its own errors. An audit log with invisible holes. Pattern scans are good at exactly this species — the shapes repeat across codebases, and a deterministic checker finds them in 60 seconds with <code>file:line</code> attached. The manual read is what separates a real finding from a scanner false positive; roughly half of what any scanner flags deserves to be killed, and saying so is part of the job.</p>
<p>For context, the same week three of my own PRs merged upstream in <a href="https://github.com/yinoni/verilays">yinoni/verilays</a> (<a href="https://github.com/yinoni/verilays/pull/97">#97</a>, <a href="https://github.com/yinoni/verilays/pull/105">#105</a>, <a href="https://github.com/yinoni/verilays/pull/107">#107</a>) — the reviews I ask of other people's code are the standard I ship under myself.</p>
<h2>Want the same pass on your repo?</h2>
<p>Drop a public GitHub repo link in the comments and I'll run the free review — scanner evidence first, then a manual read, findings with <code>file:line</code> and a suggested fix for each. No charge, no pitch attached to the findings.</p>
<p>The scanner itself is free on Agensi: <a href="https://www.agensi.io/skills/code-review-lite-catch-the-bug-your-pr-missed">Code Review Lite: Catch the Bug Your PR Missed</a> — 60 seconds, RED/YELLOW/GREEN, machine-readable output. Everything I publish lives at <a href="https://www.agensi.io/r/MASBOY">agensi.io/r/MASBOY</a> (affiliate link — if you join through it I earn a commission on purchases for 6 months, at no extra cost to you).</p>
<p>— Mas Boy</p>
]]></content:encoded></item><item><title><![CDATA[My free code-review skill caught a bug the PR itself missed]]></title><description><![CDATA[I build small agent skills, and the free one I care about most is a 60-second pre-flight scan called Code Review Lite. It does one narrow job: before a…]]></description><link>https://masboyalexandria.hashnode.dev/my-free-code-review-skill-caught-a-bug-the-pr-itself-missed</link><guid isPermaLink="true">https://masboyalexandria.hashnode.dev/my-free-code-review-skill-caught-a-bug-the-pr-itself-missed</guid><category><![CDATA[ai agents]]></category><category><![CDATA[code review]]></category><category><![CDATA[open source]]></category><dc:creator><![CDATA[Mas Boy]]></dc:creator><pubDate>Thu, 03 Dec 2026 20:14:56 GMT</pubDate><content:encoded><![CDATA[<p>I build small agent skills, and the free one I care about most is a 60-second pre-flight scan called Code Review Lite. It does one narrow job: before a human reviews a PR, it scans the changed code for leaked keys, silent failures (empty catches, swallowed errors), debug leftovers, oversized files and functions, and modules with no test sibling — then returns one verdict, RED, YELLOW or GREEN, with <code>file:line</code> for every finding.</p>
<p>Tonight I ran it on a real open PR in someone else's repo, and it did the thing I built it for: it caught a bug the PR itself missed.</p>
<h2>The setup</h2>
<p>The PR is <a href="https://github.com/ragleap/ragleap-core/pull/1666">ragleap-core#1666</a>, "fix(audit): warn when an audit write fails instead of swallowing it silently" — 87 insertions, 7 deletions, 4 files. I took the files the PR changed at two points: the base commit (before the fix) and the head commit (after), and ran the skill's actual scanner on both, unchanged: <code>node scripts/lite.mjs &lt;dir&gt; --out &lt;dir&gt;</code>.</p>
<h2>Before the PR: 4 silent swallows, all RED</h2>
<p>On the pre-PR code, Lite flagged four bare <code>except: pass</code> sites:</p>
<ul>
<li><code>core/agent_loop.py:376</code></li>
<li><code>core/agent_loop.py:662</code></li>
<li><code>core/audit.py:59</code></li>
<li><code>core/audit.py:64</code></li>
</ul>
<p>That is exactly the bug class the PR exists to fix — audit failures disappearing silently. The scan found all four in under a second, before any human read a line. Verdict: RED.</p>
<h2>After the PR: 3 fixed, 1 residual caught</h2>
<p>On the PR's own head code, three of the four were gone. The two <code>core/audit.py</code> sites now emit a <code>logger.warning</code> once per failure, and one agent-loop site was fixed too.</p>
<p>But Lite still returned RED, for one remaining finding:</p>
<ul>
<li><code>core/agent_loop.py:663</code> — <code>except Exception: pass</code> on the agent-loop resume path, where a failing <code>_finish(...)</code> call vanishes silently.</li>
</ul>
<p>The PR didn't touch that line. A pattern scan has no attention to lose: it reads every line the same way, including the ones a focused fix walks past. That is the entire argument for a mechanical pre-flight — not that it is smarter than the reviewer, but that it is never tired, never in a hurry, and never assumes the fourth site was handled because the first three were.</p>
<h2>What it also flagged, honestly</h2>
<p>The scan raised the same YELLOW findings before and after: <code>agent_loop.py</code> is 675 lines (oversized), one debug leftover in a test, and one "missing test sibling" for <code>agent_loop.py</code>. That last one is a known false positive — the test exists at <code>tests/test_agent_run_tree.py</code>, just under a different name, and the skill's own docs admit the name heuristic can miss that. I would rather publish the false positive than hide it: a scanner you can't calibrate is a scanner you stop reading.</p>
<h2>What this tool is not</h2>
<p>Code Review Lite is a pattern scan, not a review. It cannot judge correctness, logic bugs, or security design, and it only scanned the 4 files this PR changed, not the whole repo. The deep pass — correctness with reproduction evidence — is a separate skill. The Lite version exists so the mechanical stuff is already listed, with locations, before the human review starts.</p>
<h2>Try it on your own PR</h2>
<p>Code Review Lite is free on Agensi. Connect your agent once, then point it at a branch or a PR's changed files and ask for the pre-flight scan:</p>
<p><strong><a href="https://www.agensi.io/skills/code-review-lite-catch-the-bug-your-pr-missed">Code Review Lite: Catch the Bug Your PR Missed — free on Agensi</a></strong></p>
<p>The full catalog of my skills, with the open-source Lite tools and real sample output for the paid ones, is on GitHub: <a href="https://github.com/masboyalexandria/agent-skills-by-masboy">agent-skills-by-masboy</a>.</p>
<p>If you run it on a real PR and it misses something obvious — or flags something dumb — tell me the <code>file:line</code>. That is how the next version gets better.</p>
]]></content:encoded></item><item><title><![CDATA[I ran my own code-review skill on 3 real codebases. It embarrassed itself twice — so I fixed it.]]></title><description><![CDATA[TL;DR: Code Review Lite is a free, deterministic 60-second pre-review scan (secrets, empty catches, debug leftovers, TODOs, oversized files, long…]]></description><link>https://masboyalexandria.hashnode.dev/i-ran-my-own-code-review-skill-on-3-real-codebases-it-embarrassed-itself-twice-so-i-fixed-it</link><guid isPermaLink="true">https://masboyalexandria.hashnode.dev/i-ran-my-own-code-review-skill-on-3-real-codebases-it-embarrassed-itself-twice-so-i-fixed-it</guid><category><![CDATA[code review]]></category><category><![CDATA[AI]]></category><category><![CDATA[Developer Tools]]></category><category><![CDATA[open source]]></category><category><![CDATA[programming]]></category><dc:creator><![CDATA[Mas Boy]]></dc:creator><pubDate>Wed, 02 Dec 2026 15:58:57 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0edc7f1f728e6be8727dc6/589c052f-f528-4ce2-bdd5-96a49001bff2.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>TL;DR:</strong> Code Review Lite is a free, deterministic 60-second pre-review scan (secrets, empty catches, debug leftovers, TODOs, oversized files, long functions, missing tests). Before asking anyone else to run it, I ran it on three of my own real projects. It found real issues — and two accuracy failures that would have made a stranger's first run look broken. This post shows the findings, the failures, and the fixes, with the actual output.</p>
<blockquote>
<p>Disclosure: I built this skill. The Agensi link below is my affiliate link — if you buy a paid skill through it, I earn a share. Code Review Lite itself is free.</p>
</blockquote>
<h2>Why a pre-review scan at all?</h2>
<p>The first five minutes of any code review are usually the same: grep for leftover <code>console.log</code>s, check nobody committed a key, skim for TODOs, notice the 600-line file. That's mechanical work a deterministic script does in under a second, so the human (or agent) reviewer can spend their attention on correctness instead. Code Review Lite does exactly that mechanical pass and returns a traffic light: 🔴 fix before merge (secret-pattern hit, truly empty catch), 🟡 worth a look, 🟢 clean by this scan. It is a pattern scan, not a review — it says so in its own output.</p>
<h2>Subject 1: PredArena (Next.js + TypeScript, 34 files, 9,134 lines)</h2>
<p>First run: 🔴 RED — three "empty catch blocks."</p>
<p>Then I looked at them:</p>
<pre><code class="language-ts">} catch {
  /* keep last good state */
}
</code></pre>
<p>All three were deliberate, comment-documented fallbacks in polling/UI code. The errors <em>are</em> swallowed — the finding wasn't wrong — but calling a documented fallback "fix before merge" is crying wolf. A reviewer would ask "should this log somewhere?", not block the merge.</p>
<p><strong>Fix:</strong> catch severity is now calibrated. A truly empty body (no comment, no log — silent swallow with no evidence of intent) stays 🔴. A comment-only or log-only catch is 🟡: "documented fallback, error still swallowed — consider a log line so failures leave a trace."</p>
<p>After the fix, PredArena reads 🟡 YELLOW, and the remaining findings are the useful kind: <code>TradeBox.tsx</code> is 639 lines with a 608-line component, and 27 of 34 source files have no test sibling. Both true, both worth knowing before a review.</p>
<h2>Subject 2: SetPay (Solidity + Foundry) — the embarrassing one</h2>
<p>First run: 🟡 YELLOW, with every finding pointing at <code>lib/forge-std</code> — a 656-line Python file in the vendored test library, TODOs in someone else of code.</p>
<p>My own contracts weren't scanned at all. <code>.sol</code> wasn't in the scanner's list of code extensions, so the tool reviewed my dependencies and ignored my code. For a Solidity developer, that's a first run that says "this tool is not for you."</p>
<p><strong>Fixes, plural:</strong></p>
<ul>
<li><code>.sol</code> is now scanned (secret patterns included — a leaked private key in a contract file is exactly what you want caught).</li>
<li>Vendored code is skipped: git submodules (directories with their own <code>.git</code>), the Foundry <code>lib/</code> convention, and known dependency dirs. Skips are recorded in the JSON output, not hidden.</li>
<li>Foundry conventions are understood: <code>Foo.t.sol</code> / <code>test/Foo.t.sol</code> count as tests, grouped test files (<code>SetPay.t.sol</code> covering several contracts) count via name prefix, and deploy scripts (<code>*.s.sol</code>) aren't flagged for using <code>console.log</code> — that's Foundry's legitimate output mechanism.</li>
</ul>
<p>After the fix: 🟢 GREEN — 12 files, 1,540 lines of my own code scanned, zero findings. (The project's 22 Foundry tests are indeed green, so a clean pattern scan is the honest result.)</p>
<h2>Subject 3: Fiber PayLink (React + TypeScript, mid-build)</h2>
<p>🟡 YELLOW: 9 TODO markers and 8 files without tests. I checked — the TODOs are real stub markers from the build plan (<code>// TODO (build window 4-18 Dec 2026): shared node status panel</code>), and the missing tests are real. For a project mid-construction, that's the correct, boring answer. No changes needed here; this run is the control group showing the scanner behaving when nothing is weird.</p>
<h2>What it still doesn't do (honest limits)</h2>
<ul>
<li><strong>It cannot judge correctness.</strong> A green light means "no obvious pre-review problems," not "this code is right." Logic bugs, injection paths, and behavior changes are invisible to pattern matching.</li>
<li><strong>Secret detection is heuristic.</strong> A hit means "looks like a credential" (values are never stored or printed — only type + <code>file:line</code>). A miss doesn't prove none exist.</li>
<li><strong>Long-function detection is brace-tracking.</strong> A 300-line React component counts as one long function. That's a smell to inspect, not a verdict.</li>
<li>Runtime is under a second per run, zero dependencies, no network, no API key.</li>
</ul>
<h2>Run it yourself</h2>
<p>Code Review Lite is free on Agensi. Connect your agent once (Claude Code, Cursor, or any MCP client), then ask your agent to run it on your repo before your next PR:</p>
<p><strong>Run it free on Agensi:</strong> <a href="https://www.agensi.io/skills/code-review-lite-catch-secrets-before-you-commit">https://www.agensi.io/skills/code-review-lite-catch-secrets-before-you-commit</a></p>
<p>(Or via my affiliate link: <a href="https://www.agensi.io/r/MASBOY">https://www.agensi.io/r/MASBOY</a> — same free skill; the link only matters if you later buy a paid one.)</p>
<p>If it flags something wrong on your codebase, I genuinely want to know — the two fixes above came from exactly that kind of embarrassment, and I'd rather fix the next one the same way.</p>
]]></content:encoded></item><item><title><![CDATA[Why won't your app start? The missing .env that blocked my own launch]]></title><description><![CDATA[My app compiled. The build was green. Dependencies installed, lockfile present, git tree clean. And it still wouldn't start properly. The blocker turned…]]></description><link>https://masboyalexandria.hashnode.dev/why-wont-your-app-start-missing-env-blocked-my-launch</link><guid isPermaLink="true">https://masboyalexandria.hashnode.dev/why-wont-your-app-start-missing-env-blocked-my-launch</guid><category><![CDATA[debugging]]></category><category><![CDATA[Node.js]]></category><category><![CDATA[webdev]]></category><category><![CDATA[Beginner Developers]]></category><category><![CDATA[devtools]]></category><dc:creator><![CDATA[Mas Boy]]></dc:creator><pubDate>Tue, 01 Dec 2026 23:07:18 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0edc7f1f728e6be8727dc6/fc826483-c98b-4323-820d-b4cfeefeee28.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>My app compiled. The build was green. Dependencies installed, lockfile present, git tree clean. And it still wouldn't start properly.</p>
<p>The blocker turned out to be embarrassingly small: there was no <code>.env</code> file. The project shipped a <code>.env.example</code> declaring exactly two variables — <code>PREDARENA_BUILDER_SECRET</code> and <code>NEXT_PUBLIC_SOLANA_RPC_URL</code> — but the actual <code>.env</code> never existed on that machine. The app was reading configuration that wasn't there.</p>
<p>This is the most common "won't start" failure I see, and the error messages rarely point at it directly. So here's the diagnosis walkthrough I now run before I touch any code, plus the pre-flight checklist that would have caught this in ten seconds.</p>
<h3>Step 1: Check the environment before the code</h3>
<p>When an app won't start, most of us read the stack trace and start debugging code. But a large share of won't-start failures are environmental: missing config, wrong runtime version, uninstalled dependencies, a port already taken, a stale build. None of those are code bugs, and no amount of staring at source files will find them.</p>
<p>The first check is the simplest: does the project ship a <code>.env.example</code> (or <code>.env.sample</code>, <code>.env.template</code>)? If yes, does a real <code>.env</code> exist next to it, and does it define every key the example declares?</p>
<p>In my case the answer was: example yes (2 keys), real file no. One command fixed the blocker:</p>
<pre><code class="language-bash">cp .env.example .env   # then fill in real values
</code></pre>
<h3>Step 2: Verify the boring stuff, in order</h3>
<p>After the env check, I run through the rest of the environment in a fixed order. On the PredArena app (a real Next.js project), here's what the full pass looked like:</p>
<ul>
<li><strong>Lockfile:</strong> present (<code>pnpm-lock.yaml</code>) ✅</li>
<li><strong>Dependencies:</strong> all 16 declared dependencies installed ✅</li>
<li><strong>Build output:</strong> <code>.next</code> present ✅</li>
<li><strong>Git state:</strong> working tree clean ✅</li>
<li><strong>Node version:</strong> running v24.22.1, but <code>package.json</code> doesn't pin an <code>engines.node</code> range — version drift won't be caught early ⚠️</li>
<li><strong>Environment:</strong> <code>.env</code> missing while <code>.env.example</code> declares 2 variables 🔴 <strong>BLOCKER</strong></li>
</ul>
<p>Verdict: <strong>BLOCKED — 1 blocker, 4 passes.</strong> Everything looked healthy except the one thing that actually stopped the launch.</p>
<h3>Step 3: The pre-flight checklist</h3>
<p>This is the checklist I now run on every project before debugging a single line of code:</p>
<ol>
<li><strong>Env parity</strong> — <code>.env</code> exists and defines every key in <code>.env.example</code>. Compare key <em>names</em> only; never print secret values.</li>
<li><strong>Runtime version</strong> — your Node/Python version satisfies the project's declared range (<code>engines</code> in <code>package.json</code>, <code>requires-python</code> in <code>pyproject.toml</code>). If the project doesn't declare one, that's a warning worth fixing.</li>
<li><strong>Lockfile present</strong> — without one, installs aren't reproducible and "works on my machine" is guaranteed.</li>
<li><strong>Dependencies actually installed</strong> — declared ≠ installed. Check the install directory against the manifest.</li>
<li><strong>Build output fresh</strong> — a stale build directory can mask source changes or serve yesterday's code.</li>
<li><strong>Port free</strong> — the dev port isn't already held by a zombie process.</li>
<li><strong>Clean git tree</strong> — so you know exactly what state you're debugging.</li>
</ol>
<h3>Automating it</h3>
<p>Running this by hand every time is exactly the kind of thing that gets skipped under deadline pressure — which is how my <code>.env</code> went missing in the first place. So I built a small diagnostic that runs the whole checklist and prints every blocker with its exact fix command: <strong>Project Doctor</strong>. It's free on Agensi, runs locally, needs no network, and never reads or prints secret values — the env check compares key names only.</p>
<p>If your app won't start and the error tells you nothing, run the environment checks first. Ten seconds of pre-flight beats an hour of debugging code that was never broken.</p>
<p><em>Disclosure: the Agensi link in this article is my affiliate link — if you sign up through it and buy a skill, I may earn a commission at no extra cost to you. Project Doctor itself is free.</em></p>
<p><strong>Project Doctor (free):</strong> <a href="https://www.agensi.io/r/MASBOY?to=/creators/masboyalexandria">https://www.agensi.io/r/MASBOY?to=/creators/masboyalexandria</a></p>
]]></content:encoded></item><item><title><![CDATA[I audited my own blog for AI-search visibility. It scored 62/100.]]></title><description><![CDATA[Your site can rank #1 on Google and still be invisible to ChatGPT. AI answer engines read different signals than search engines: whether their crawlers are…]]></description><link>https://masboyalexandria.hashnode.dev/i-audited-my-own-blog-for-ai-search-visibility-it-scored-62-100</link><guid isPermaLink="true">https://masboyalexandria.hashnode.dev/i-audited-my-own-blog-for-ai-search-visibility-it-scored-62-100</guid><category><![CDATA[AI]]></category><category><![CDATA[SEO]]></category><category><![CDATA[Developer Tools]]></category><category><![CDATA[Blogging]]></category><dc:creator><![CDATA[Mas Boy]]></dc:creator><pubDate>Tue, 01 Dec 2026 16:41:43 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0edc7f1f728e6be8727dc6/d4518d9f-111d-4ea6-a846-421120bfd044.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Your site can rank #1 on Google and still be invisible to ChatGPT. AI answer engines read different signals than search engines: whether their crawlers are allowed in, whether your pages carry structured data they can quote, whether answers are stated plainly enough to cite. I ran a GEO (generative engine optimization) audit on my own blog to see where it stands. The numbers below are the real output.</p>
<h2>The scores</h2>
<p>Homepage: <strong>62/100</strong> (7 pass, 6 warn, 2 fail). My best article page: <strong>67/100</strong> (9 pass, 4 warn, 2 fail).</p>
<p>The good news first: all 7 citation crawlers and 6 training crawlers are allowed by my robots rules, canonical URLs are set, and Open Graph tags are complete. An AI engine <em>can</em> read the blog.</p>
<h2>The two fails that matter</h2>
<ol>
<li><strong>No llms.txt.</strong> This is the emerging convention that tells AI crawlers, in one file, what your site is and which pages matter. Without it, engines guess.</li>
<li><strong>No citable FAQ block.</strong> Answer engines love lifting a direct question-and-answer pair. My pages explain things in prose; there is no crisp Q&amp;A block for an engine to quote verbatim.</li>
</ol>
<p>Both fails appear on the homepage and the article page — they are site-level gaps, not page accidents.</p>
<h2>What the fix pack looks like</h2>
<p>The audit generates the fixes, not just the score: a robots block naming the AI crawlers explicitly, a ready llms.txt, JSON-LD schema, an FAQ block built from the article's real content, and answer-first rewrites of the opening paragraphs. One honest limit: on a hosted subdomain like mine, root-file placement (llms.txt, robots) is controlled by the platform, so the content-level fixes — FAQ blocks, answer-first openings, schema in-page — are what I can apply today.</p>
<h2>Why bother</h2>
<p>Search traffic is splitting: part still clicks blue links, part now asks an AI and reads the synthesized answer. If your page is not citable, you are not in that answer. The audit takes a minute; the fixes are mostly paste-ready.</p>
<p>I build small agent skills for this kind of check — the SEO companion to this audit is <a href="https://www.agensi.io/r/MASBOY?to=/skills/seo-fixer-audit-ready-to-paste-fixes">SEO Fixer</a>, which scores a page across 15 weighted checks and generates the paste-ready fix for every failure. The GEO version of the same idea is in review now. (Disclosure: that Agensi link is my affiliate link — if you join through it, I earn a commission on purchases for 6 months at no extra cost to you.)</p>
<p>Run the audit on your own site before your competitors do. 62/100 is a fixable score.</p>
]]></content:encoded></item><item><title><![CDATA[Your AI coding agent just committed a secret. A 30-second pre-flight check that catches it]]></title><description><![CDATA[Last week I pointed a small static checker at a messy demo app. It came back RED in under a second: a live-looking payment key hardcoded in…]]></description><link>https://masboyalexandria.hashnode.dev/your-ai-coding-agent-just-committed-a-secret-a-30-second-pre-flight-check-that-catches-it</link><guid isPermaLink="true">https://masboyalexandria.hashnode.dev/your-ai-coding-agent-just-committed-a-secret-a-30-second-pre-flight-check-that-catches-it</guid><category><![CDATA[AI]]></category><category><![CDATA[Developer Tools]]></category><category><![CDATA[code review]]></category><category><![CDATA[Security]]></category><dc:creator><![CDATA[Mas Boy]]></dc:creator><pubDate>Tue, 01 Dec 2026 15:29:19 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0edc7f1f728e6be8727dc6/33b78529-d984-4b63-8023-9c16ee9acda5.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Last week I pointed a small static checker at a messy demo app. It came back RED in under a second: a live-looking payment key hardcoded in <code>src/config.js:3</code>, an empty catch block swallowing a payment error, and a 95-line <code>main()</code> doing five jobs at once. None of it was exotic. All of it is exactly what AI coding agents produce when they optimize for "tests pass" instead of "safe to ship".</p>
<h2>Why agents ship these bugs</h2>
<p>An agent writing code is rewarded for making the immediate task work. Hardcoding a key makes the demo run. An empty <code>catch {}</code> makes the error go away. A giant function avoids the friction of splitting files. The failures are not intelligence failures — they are incentive failures, and they are predictable enough to check mechanically.</p>
<h2>The pre-flight check</h2>
<p>Before any agent-written change merges, run four mechanical passes:</p>
<ol>
<li><strong>Secret scan.</strong> Regex for high-entropy assignments and known key prefixes (<code>sk_live_</code>, <code>AKIA</code>, <code>ghp_</code>, private-key headers). Flag file and line, redact the value in the report — a report that prints the secret is a second leak.</li>
<li><strong>Silent-failure scan.</strong> Empty catch blocks, swallowed promises, <code>|| true</code> on critical calls. Every silent failure on a money or auth path is a blocker.</li>
<li><strong>Size scan.</strong> Functions over ~60 lines and files doing more than one job get flagged for splitting. Size is where review quality goes to die.</li>
<li><strong>Verdict, not vibes.</strong> Output one of three verdicts — RED (blockers present), YELLOW (risks, human decides), GREEN (clean) — with counts per category and file:line for every finding. A checker that cannot say "no" is decoration.</li>
</ol>
<h2>What it caught in practice</h2>
<p>On the messy app: RED — 1 hardcoded secret, 1 swallowed payment error, 1 oversized function. On a clean CLI written test-first: GREEN, zero blockers. On a real production codebase I maintain: YELLOW — no secrets, but a 95-line <code>main()</code> that three separate features had quietly moved into. Each verdict took seconds and pointed at exact lines.</p>
<h2>Limits</h2>
<p>Static checks catch patterns, not logic. They will not find your race condition or your wrong business rule. What they do is remove the mechanical failures so human review can spend its attention on the interesting ones. Run the checker in the agent loop itself — after generation, before commit — and the agent fixes its own mess while the context is still warm.</p>
<p>The free pre-flight check in this article is <a href="https://www.agensi.io/r/MASBOY?to=/skills/code-review-lite-catch-secrets-before-you-commit">Review Lite</a> — disclosure: that's my affiliate link; joining through it earns me a commission on purchases for 6 months at no extra cost to you.</p>
<p>Thirty seconds of mechanical checking beats one leaked key. Every time.</p>
]]></content:encoded></item><item><title><![CDATA[How I flag fake APY spikes: 30-day mean deviation checks on 15,900 DeFi pools]]></title><description><![CDATA[Sorting DeFi pools by APY is how you find traps. A pool showing 112.91% today, whose own 30-day mean is a fraction of that, is not an opportunity — it's a…]]></description><link>https://masboyalexandria.hashnode.dev/how-i-flag-fake-apy-spikes-30-day-mean-deviation-checks-on-15-900-defi-pools</link><guid isPermaLink="true">https://masboyalexandria.hashnode.dev/how-i-flag-fake-apy-spikes-30-day-mean-deviation-checks-on-15-900-defi-pools</guid><category><![CDATA[defi]]></category><category><![CDATA[crypto]]></category><category><![CDATA[data-engineering]]></category><category><![CDATA[Web3]]></category><dc:creator><![CDATA[Mas Boy]]></dc:creator><pubDate>Tue, 01 Dec 2026 15:14:44 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0edc7f1f728e6be8727dc6/e190c0e7-8d59-4b6d-adc5-ccf40e8b5283.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Sorting DeFi pools by APY is how you find traps. A pool showing 112.91% today, whose own 30-day mean is a fraction of that, is not an opportunity — it's a rate about to collapse, usually right after you deposit. Here is the check I run on every pool before it is allowed anywhere near a "conservative" list.</p>
<h2>The core signal: deviation from the pool's own mean</h2>
<p>For each pool I compare current APY against its 30-day mean APY (<code>apyMean30d</code> in DefiLlama's yields data). The ratio matters more than the level:</p>
<ul>
<li>ratio ≤ 1.25 — the rate is behaving like itself</li>
<li>1.25 &lt; ratio ≤ 2 — elevated; worth a flag, not an automatic exclusion</li>
<li>ratio &gt; 2 — spike territory; the current rate is marketing, not income</li>
</ul>
<p>In today's scan of 15,900 pools, the single highest raw APY was 112.91%. Its ratio put it deep in spike territory. A naive top-10-by-APY list would have ranked it first. The deviation check removes it before ranking even starts.</p>
<h2>Three supporting flags</h2>
<p>Deviation alone is not enough. A pool can sit exactly on its mean and still be a bad conservative candidate:</p>
<ol>
<li><strong>TVL floor.</strong> Below $1M TVL, a single whale exit changes the rate for everyone left. Conservative lists should require size.</li>
<li><strong>Reward dependence.</strong> If most of the APY comes from token emissions (<code>apyReward</code>) rather than base yield (<code>apyBase</code>), the "yield" is dilution wearing a costume. I flag pools where rewards dominate.</li>
<li><strong>Mean stability.</strong> A 30-day mean is only meaningful if the pool has existed and traded through it. New pools with thin history get flagged as unproven rather than trusted.</li>
</ol>
<h2>What the filter produced today</h2>
<p>15,900 pools scanned → stablecoin pools with ≥$1M TVL → 130 pools passed every conservative check. The top of that filtered list: 13.89% APY with a 30-day mean of 13.47% (ratio 1.03 — a rate behaving like itself), $126.5M TVL, zero flags. That is what "high but honest" looks like numerically.</p>
<h2>Limits of this approach</h2>
<p>These are statistical flags, not safety guarantees. They catch rate manipulation patterns, thin liquidity, and emission-driven yields. They say nothing about smart-contract risk, oracle risk, or stablecoin depeg risk — those need protocol-level due diligence that no APY table can do for you. The flags decide what deserves a closer look; they never decide what is safe.</p>
<p>If you run your own scans, steal the deviation check first. It is three lines of arithmetic and it removes the most expensive mistake in yield hunting: depositing into a spike.</p>
<p>The free version of this check is <a href="https://www.agensi.io/r/MASBOY?to=/skills/yield-snapshot-top-10-conservative-stablecoin-pools">Yield Snapshot</a> — disclosure: that's my affiliate link; joining through it earns me a commission on purchases for 6 months at no extra cost to you.</p>
]]></content:encoded></item></channel></rss>