<?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: Goatleaf</title>
    <description>The latest articles on DEV Community by Goatleaf (@goatleaf12).</description>
    <link>https://dev.to/goatleaf12</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%2F4232825%2Fb8c3af7a-ccdb-4f63-ad05-b0756de80d56.png</url>
      <title>DEV Community: Goatleaf</title>
      <link>https://dev.to/goatleaf12</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/goatleaf12"/>
    <language>en</language>
    <item>
      <title>My kill switch didn't kill: the retry loop that kept calling after STOP</title>
      <dc:creator>Goatleaf</dc:creator>
      <pubDate>Fri, 04 Dec 2026 12:48:34 +0000</pubDate>
      <link>https://dev.to/goatleaf12/my-kill-switch-didnt-kill-the-retry-loop-that-kept-calling-after-stop-1fb8</link>
      <guid>https://dev.to/goatleaf12/my-kill-switch-didnt-kill-the-retry-loop-that-kept-calling-after-stop-1fb8</guid>
      <description>&lt;p&gt;&lt;em&gt;Agentware 2026 (Hackathon Raptors), Track 6 — Open. Entry: &lt;a href="https://github.com/Goatleaf12/bsc-token-safety-sentinel" rel="noopener noreferrer"&gt;BSC Token Safety Sentinel&lt;/a&gt;, a read-only agent that screens BSC tokens before money goes in and returns SAFE / CAUTION / DANGER / INVALID from measured on-chain numbers, with a full audit trace per run.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;My agent's safety story was simple and, I thought, airtight: it cannot sign anything (there is no transaction-sending code path at all), its RPC client refuses any method outside a four-method read-only allowlist, and it has a kill switch — a &lt;code&gt;STOP&lt;/code&gt; file, a &lt;code&gt;stop&lt;/code&gt; command, or SIGINT/SIGTERM — that is checked before every pipeline step and before every external call. One action stops everything, immediately, mid-run. That is what SAFETY.md said. That is what the demo showed.&lt;/p&gt;

&lt;p&gt;It was not quite true. The bug was one missing line, and it only appeared when things were already going wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  The trace that gave it away
&lt;/h2&gt;

&lt;p&gt;On 27 November, during the build window, I ran the kill-switch test for real: start a check on USDT in one terminal, run &lt;code&gt;sentinel stop&lt;/code&gt; about ten seconds later in another. The committed trace (&lt;code&gt;traces/real-killswitch-usdt.jsonl&lt;/code&gt;) reads:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;23:14:13Z  run_start            USDT 0x55d398…7955
23:14:13Z  VALIDATE ok
23:14:17Z  eth_getCode → bsc-dataseed.binance.org   FAILED (RemoteDisconnected)
23:14:20Z  eth_getCode → bsc-dataseed1.binance.org  FAILED (RemoteDisconnected)
23:14:24Z  eth_getCode → bsc-dataseed2.binance.org  FAILED (RemoteDisconnected)
23:14:25Z  killed — "kill switch triggered; no further calls made"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The public RPC hosts were resetting connections that night, so the client was rotating through its fallback hosts. I requested the stop at roughly 23:14:23. The attempt at 23:14:24 started &lt;em&gt;after&lt;/em&gt; the stop was requested. The &lt;code&gt;killed&lt;/code&gt; event only landed at 23:14:25, when the code next reached a check.&lt;/p&gt;

&lt;p&gt;For a read-only screening agent, one extra &lt;code&gt;eth_getCode&lt;/code&gt; costs nothing. But the promise in SAFETY.md — "no new calls are started" — was false, and the same shape in an agent that &lt;em&gt;can&lt;/em&gt; act (send, pay, post, delete) is how "I stopped it" turns into "it did one more thing anyway."&lt;/p&gt;

&lt;h2&gt;
  
  
  Why "checked before every call" was the wrong granularity
&lt;/h2&gt;

&lt;p&gt;The kill check lived at the top of &lt;code&gt;RpcClient.call()&lt;/code&gt;. But one logical "call" in that client is not one network request: it is a loop over up to four hosts, each with its own timeout and a delay between attempts. The check ran once, before the loop. Inside the loop, after a failure, the code simply moved on to the next host — a brand-new external request that nobody had re-authorized against the stop condition.&lt;/p&gt;

&lt;p&gt;The fix was literally one line, committed before submission (commit &lt;code&gt;0c5170d&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;idx&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;order&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;kill&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;check&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# re-check before every host attempt&lt;/span&gt;
    &lt;span class="n"&gt;host&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;hosts&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;idx&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The general lesson I took from this: &lt;strong&gt;a retry is a call. A fallback is a call. A pagination step, a queue drain, a "try the next mirror" — all of them are new external actions, and each one needs the stop check in front of it, not just the first.&lt;/strong&gt; If your kill switch is only checked at the boundary of your API wrapper, then everything your wrapper does internally after a failure happens in a blind spot. Worse, that blind spot is widest exactly when the system is unhealthy — hosts timing out, APIs erroring — which is precisely when a human reaches for the stop button.&lt;/p&gt;

&lt;p&gt;It also changed how I test: the happy path never exposed this. On a healthy night, the first host answers in 200 ms and the loop body runs once. The bug needed failing hosts to exist. So the kill-switch test has to run against a &lt;em&gt;failing&lt;/em&gt; dependency: kill the agent mid-retry, mid-pagination, mid-fallback, and read the trace to prove no attempt starts after the stop timestamp. The trace is what caught this — not a code review. "Checked before every call" reads fine in a diff; the timestamps in the JSONL are what made the lie visible.&lt;/p&gt;

&lt;h2&gt;
  
  
  The second near miss: the websites said "clean"
&lt;/h2&gt;

&lt;p&gt;The same night produced a quieter near miss in the other direction. I pointed the agent at BARRECK OBUMA (&lt;code&gt;0x9e974d…7777&lt;/code&gt;), a token whose liquidity had been pulled. The popular checker sites reported no honeypot and 0% tax, and aggregator pages still showed stale "alive" figures. If the agent had trusted any of that, it would have waved the token through.&lt;/p&gt;

&lt;p&gt;Instead, the verdict came from the one number that cannot be stale in the same way: the pair's actual WBNB reserve, read on-chain from two independent RPC hosts that had to agree. Result: 0.0001 WBNB, against a 1.00 WBNB floor — DANGER, with the reason recorded. The rule that saved us is boring and total: external text and third-party claims are &lt;em&gt;data&lt;/em&gt;, never evidence; the verdict is computed only from measured numbers, and when the numbers cannot be read, the answer is &lt;code&gt;INVALID&lt;/code&gt; — which the agent also produced twice that night when every RPC host failed mid-check, instead of inventing a number to fill the gap.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would tell anyone building an unattended agent
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Put the stop check inside every loop that can start work — retries, fallbacks, pagination, batch items — not just at the entry point.&lt;/li&gt;
&lt;li&gt;Test the kill switch against failing dependencies, and verify with timestamps in the trace, not with how the run &lt;em&gt;felt&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Let measured data outrank every claim a website makes about itself; when data is unreadable, say so (&lt;code&gt;INVALID&lt;/code&gt;) instead of estimating.&lt;/li&gt;
&lt;li&gt;Keep the trace. Both near misses above were only visible because every attempt, failure, and decision was written down with a timestamp before the next step began.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The Sentinel finished the hackathon with 28/28 unit tests passing, all 20 Trap Pack inputs held as data (none changed a verdict), and a kill switch that now actually kills — including in the retry loop.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Built for Agentware 2026 by Hackathon Raptors. The Near Miss prizes are sponsored by FileClerk — thanks to &lt;a href="https://fileclerk.co.uk" rel="noopener noreferrer"&gt;FileClerk&lt;/a&gt; for backing write-ups like this one.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>hackathonraptors</category>
      <category>ai</category>
      <category>security</category>
      <category>agents</category>
    </item>
    <item>
      <title>JOLT: The Final Claim Window — Season Closes Monday, Then the Pool Opens</title>
      <dc:creator>Goatleaf</dc:creator>
      <pubDate>Sun, 08 Nov 2026 16:50:44 +0000</pubDate>
      <link>https://dev.to/goatleaf12/jolt-the-final-claim-window-season-closes-monday-then-the-pool-opens-48m2</link>
      <guid>https://dev.to/goatleaf12/jolt-the-final-claim-window-season-closes-monday-then-the-pool-opens-48m2</guid>
      <description>&lt;p&gt;JOLT is a daily-claim token on BNB Chain, built for the agent economy. For three days, any wallet holding a Binance Agent ID could play a short on-site route game (CORE RUSH), earn a one-use signed voucher, and claim JOLT on-chain. No presale. No team allocation. 75% of the 100,000,000 supply was reserved for claimers; 25% waits for the launch pool.&lt;/p&gt;

&lt;p&gt;The season in numbers, live on-chain: 221 claims and counting. 2,820,000 JOLT already in claimers' wallets. 0.03094 BNB locked in the pool reserve.&lt;/p&gt;

&lt;p&gt;Every claim costs 0.0002 BNB. 70% of that fee locks straight into the pool reserve; 30% funds the project. A full six-claim path — two claims a day across the season — lands exactly 100,000 JOLT for 0.0012 BNB total.&lt;/p&gt;

&lt;p&gt;The final window: quotas reset one last time at 00:00 UTC on Monday. The season closes at 12:00 UTC, and launch fires right after — the pool reserve seeds a PancakeSwap V2 pair with half of everything distributed, undistributed claim stock is burned, and the LP is burned with it.&lt;/p&gt;

&lt;p&gt;After listing, trades carry a 2% tax in JOLT: 1% to the project, 0.5% to a challenge prize pool (the daily Arena on the site pays its winners from it), and 0.5% to buyback-and-burn.&lt;/p&gt;

&lt;p&gt;If you hold an Agent ID and have not claimed yet: the last window is the whole game. Two claims remain per wallet.&lt;/p&gt;

&lt;p&gt;Claim site:&lt;br&gt;
&lt;a href="https://jolt-2fe.pages.dev" rel="noopener noreferrer"&gt;https://jolt-2fe.pages.dev&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Telegram channel:&lt;br&gt;
&lt;a href="https://t.me/joltbnb" rel="noopener noreferrer"&gt;https://t.me/joltbnb&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Discussion group:&lt;br&gt;
&lt;a href="https://t.me/joltbnbchat" rel="noopener noreferrer"&gt;https://t.me/joltbnbchat&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;JOLT is a small, experimental agent token. Everything above is verifiable on BscScan — claim contract 0x63C9d73f09bb7CCD8E363510676Bd9ecD563f8e4. Do your own research.&lt;/p&gt;

</description>
      <category>bnbchain</category>
      <category>cryptocurrency</category>
      <category>airdrop</category>
      <category>web3</category>
    </item>
    <item>
      <title>JOLT: Final Claim Day — the Season Closes, the Pool Opens Monday</title>
      <dc:creator>Goatleaf</dc:creator>
      <pubDate>Sat, 07 Nov 2026 21:35:10 +0000</pubDate>
      <link>https://dev.to/goatleaf12/jolt-final-claim-day-the-season-closes-the-pool-opens-monday-3o6g</link>
      <guid>https://dev.to/goatleaf12/jolt-final-claim-day-the-season-closes-the-pool-opens-monday-3o6g</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on Medium: &lt;a href="https://medium.com/@joltbnb/jolt-final-claim-day-the-season-closes-the-pool-opens-monday-db101779499d" rel="noopener noreferrer"&gt;https://medium.com/@joltbnb/jolt-final-claim-day-the-season-closes-the-pool-opens-monday-db101779499d&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  JOLT: Final Claim Day — the Season Closes, the Pool Opens Monday
&lt;/h1&gt;

&lt;p&gt;The final claim day of the JOLT season is open.&lt;/p&gt;

&lt;p&gt;JOLT is a three-day claim season on BNB Chain. Players run the CORE RUSH route game on the site, receive a signed one-use voucher, and redeem it on-chain for a 0.0002 BNB fee. Claims are gated by Agent ID and capped at two per wallet per UTC day, resetting at 00:00 UTC.&lt;/p&gt;

&lt;p&gt;Today's claims are worth 16,000 and 19,000 JOLT. Wallets that complete all six claims across the three days also unlock a 24,000 JOLT completion bonus — the full path is exactly 100,000 JOLT for 0.0012 BNB in total fees. Claimed tokens land directly in the claimer's wallet. There is no vesting.&lt;/p&gt;

&lt;p&gt;At the time of writing: 120 claims, 1,134,000 JOLT distributed, and 0.0168 BNB locked in the pool reserve. Seventy percent of every claim fee is locked on-chain for the listing pool; the token side of the pool is half of everything distributed, and unclaimed allocation is burned.&lt;/p&gt;

&lt;p&gt;The season closes Monday, November 9 at 12:00 UTC, when the locked fees and pool tokens form the PancakeSwap pair and the LP is burned.&lt;/p&gt;

&lt;p&gt;Claim or follow the final day here: &lt;a href="https://jolt-2fe.pages.dev" rel="noopener noreferrer"&gt;https://jolt-2fe.pages.dev&lt;/a&gt;&lt;/p&gt;

</description>
      <category>web3</category>
      <category>bnbchain</category>
      <category>airdrop</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
