<?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: kazunft</title>
    <description>The latest articles on DEV Community by kazunft (@kazunft).</description>
    <link>https://dev.to/kazunft</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%2F4269110%2Fbd4be316-9da9-4fed-98be-2db781cf6937.jpg</url>
      <title>DEV Community: kazunft</title>
      <link>https://dev.to/kazunft</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kazunft"/>
    <language>en</language>
    <item>
      <title>I Fed a Two-Endpoint API to Sourcey and Got a Docs Site Back</title>
      <dc:creator>kazunft</dc:creator>
      <pubDate>Fri, 27 Nov 2026 14:04:11 +0000</pubDate>
      <link>https://dev.to/kazunft/i-fed-a-two-endpoint-api-to-sourcey-and-got-a-docs-site-back-26lj</link>
      <guid>https://dev.to/kazunft/i-fed-a-two-endpoint-api-to-sourcey-and-got-a-docs-site-back-26lj</guid>
      <description>&lt;p&gt;I have a small trading agent with an HTTP dashboard, and its API lived in code comments. Two endpoints, GET /api/state and POST /api/chat, described nowhere except a header comment in server.js. That is fine until someone else needs to call it, and then the comment is not documentation. I wanted a docs site I could host anywhere, with no dashboard to keep alive, so I tried the Sourcey generator.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://sourcey.com" rel="noopener noreferrer"&gt;Sourcey&lt;/a&gt; is an open source documentation generator that turns OpenAPI, MCP, Doxygen, godoc, rustdoc, and Markdown into one static HTML site you own, with guides, changelog, roadmap, and llms.txt from the same build. The version I used is 3.9.5, released 8 November 2026, under the AGPL-3.0 license, and it installs through npm, Homebrew, Docker, or Nix. Those details are on the &lt;a href="https://sourcey.com/oss" rel="noopener noreferrer"&gt;Sourcey open source page&lt;/a&gt;, read 27 November 2026. The &lt;a href="https://github.com/sourcey/sourcey" rel="noopener noreferrer"&gt;repository&lt;/a&gt; has 1,381 stars and 707 commits across 32 releases, and it has been public since 12 January 2016, which told me this is a tool with a history.&lt;/p&gt;

&lt;p&gt;The first step was writing the spec. I did not invent endpoints. I read server.js and the agent code and wrote down what is actually there. GET /api/state returns the agent snapshot: tick count, uptime, spot and TWAP price, the vault position, PnL for the day, the latest signal and decision, the last 20 trades, the last 5 errors, model weights, config, the last 100 price history points, and the last transaction hash. Spot and TWAP are null before the first tick, and vault is null until the first vault read succeeds. POST /api/chat takes one field, message, and returns one field, reply. The commands are plain language: status, positions, pnl, pause, resume, set size, set risk, set stoploss, weights, history. Size and risk must sit between 100 and 2000 basis points. Pause and resume are on-chain admin actions, so the agent only explains how to do them and never pauses the vault itself. Writing the spec took longer than running the generator, and that is the honest ratio: the spec is the work, the build is the easy part.&lt;/p&gt;

&lt;p&gt;The build itself was one command, with no config file at all:&lt;br&gt;
    sourcey build openapi.yaml -o dist/&lt;br&gt;
It printed the spec name, Horizon Trader Agent API v1.0.0, then Operations 2, Schemas 0, Time 2.5s. Schemas 0 is correct, because my spec has no reusable component schemas, only inline descriptions. It also printed a warning I did not expect: the quick build uses the placeholder server URL &lt;a href="http://localhost:8080" rel="noopener noreferrer"&gt;http://localhost:8080&lt;/a&gt; from my spec, so the generated code samples target that host. That warning is the most useful line in the whole output, because a published docs site with code samples pointing at localhost is a trap you set for your own readers. The fix is to set the real server URL in the spec or add a config file before publishing. I checked the output, and localhost:8080 appears 9 times in api.html, all inside code samples and the try-it data.&lt;/p&gt;

&lt;p&gt;What came out of the build was a dist folder with 27 files. The main page is api.html at 61,743 bytes, with both operations rendered. Next to it sit a 404 page, an api.md mirror, llms.txt and llms-full.txt at 4,326 bytes, documents.json at 4,702 bytes, a search index split into shards, one Markdown file per operation, and one small JSON file per operation that powers the try-it console, with curl, JavaScript, and Python samples. The build also wrote a _redirects file and an Open Graph image.&lt;/p&gt;

&lt;p&gt;Then I checked whether the output was really static. The pages, styles, scripts, and search index are local files. I found one exception: the default theme loads the Inter font from Google Fonts, so the site is static and self-hosted apart from that font request. The try-it console and the search run from local JavaScript. Nothing in the output calls back to a Sourcey server to render a page, which matches the claim on the project page that everything renders at build time.&lt;/p&gt;

&lt;p&gt;Two things are worth knowing before you try this. First, the quick build needs nothing but the spec, which makes it a good first run, but a real site will want a config file for the name, navigation, and theme, and that is a second step, not a surprise. Second, the quality of the site tracks the quality of the spec. My spec describes vault as an object with a description, not a full schema, because the vault shape comes from the on-chain contract wrapper and I did not want to freeze fields I had not verified. The generated page shows exactly that: an honest description, with no invented fields. A sloppy spec gives you a sloppy site with nicer fonts.&lt;/p&gt;

&lt;p&gt;I would use this again for any small API where the docs need to live next to the code and survive without a server. The whole exercise, spec plus build plus checking the output, took under an hour, and most of that was reading my own server code carefully enough to describe it truthfully. If your API is bigger than two endpoints, the same steps apply, and the spec is still the part that takes the time.&lt;/p&gt;

</description>
      <category>documentation</category>
      <category>openapi</category>
      <category>api</category>
      <category>tools</category>
    </item>
    <item>
      <title>I built a trading agent on a testnet and let it trade</title>
      <dc:creator>kazunft</dc:creator>
      <pubDate>Fri, 27 Nov 2026 14:01:10 +0000</pubDate>
      <link>https://dev.to/kazunft/i-built-a-trading-agent-on-a-testnet-and-let-it-trade-36d7</link>
      <guid>https://dev.to/kazunft/i-built-a-trading-agent-on-a-testnet-and-let-it-trade-36d7</guid>
      <description>&lt;p&gt;Paper trading never felt real to me, because nothing is at stake and the numbers are easy to ignore. For the HSK Chain Horizon hackathon I built Horizon Trader, an AI agent that trades on a testnet, where the tokens are free and the mechanics are real.&lt;/p&gt;

&lt;p&gt;The contracts are written in Foundry: a constant-product AMM, a TWAP oracle, and a vault that holds the funds and enforces the risk limits on-chain. The agent runs in Node.js, scores the market with a multi-factor model, and gates every trade through a risk module that mirrors the vault's limits. The AI in the name is a statistical model, not an LLM.&lt;/p&gt;

&lt;p&gt;I deployed the whole thing to the HSK testnet. The faucet gave me 0.1 HSK, which was enough to deploy the contracts, seed the pool with 1000 mHSK and 2000 mUSDC, prime the oracle, and fund the vault. The forge tests pass 13 out of 13, and the agent unit tests pass 11 out of 11.&lt;/p&gt;

&lt;p&gt;The code is public at github.com/slowwwkiss/horizon-trader. The tokens are free, and the plumbing is the same as mainnet. That is the part worth getting right before anything real is on the line.&lt;/p&gt;

</description>
      <category>web3</category>
      <category>solidity</category>
      <category>trading</category>
      <category>hackathon</category>
    </item>
    <item>
      <title>I built a site that raises dead websites</title>
      <dc:creator>kazunft</dc:creator>
      <pubDate>Fri, 27 Nov 2026 13:54:29 +0000</pubDate>
      <link>https://dev.to/kazunft/i-built-a-site-that-raises-dead-websites-4mbn</link>
      <guid>https://dev.to/kazunft/i-built-a-site-that-raises-dead-websites-4mbn</guid>
      <description>&lt;p&gt;I clicked a link to a site I remembered from years ago and got nothing. The domain was gone, the content was gone, and the only thing left was a memory of what used to be there. I built Séance for the Kiroween hackathon because I wanted a way to see what a dead site actually looked like.&lt;/p&gt;

&lt;p&gt;You paste a dead URL and Séance asks the Wayback Machine two questions. The Availability API says whether a snapshot exists and which one is nearest. The CDX API lists the captures across the years, so you get a timeline instead of a single page. The result is a spirit card for the site, with its first and last captures and the years in between.&lt;/p&gt;

&lt;p&gt;The demo I kept coming back to is geocities.com. The first capture is from 22 October 1996, the last from 13 June 2019, with 1,641 captures in between. There is also a Graveyard with twelve famous dead services, for the ones everyone remembers. The tests pass 11 out of 11, and the whole thing is a static site with zero dependencies.&lt;/p&gt;

&lt;p&gt;The code is public at github.com/slowwwkiss/seance. Dead links are everywhere, and most of them still have a snapshot somewhere. Séance just makes it easy to find.&lt;/p&gt;

</description>
      <category>web</category>
      <category>javascript</category>
      <category>hackathon</category>
      <category>archive</category>
    </item>
    <item>
      <title>I built a release checklist that lives inside Jira</title>
      <dc:creator>kazunft</dc:creator>
      <pubDate>Fri, 27 Nov 2026 13:53:29 +0000</pubDate>
      <link>https://dev.to/kazunft/i-built-a-release-checklist-that-lives-inside-jira-3m24</link>
      <guid>https://dev.to/kazunft/i-built-a-release-checklist-that-lives-inside-jira-3m24</guid>
      <description>&lt;p&gt;I kept shipping releases and finding out too late that something had no owner, or a blocker was still open. The information was in Jira already, it just was not in one place. So for the Atlassian Codegeist hackathon I built ShipCheck, a Forge app that turns release readiness into a checklist inside Jira.&lt;/p&gt;

&lt;p&gt;It checks three things for a version: whether any issue blocks it, whether every issue has an owner, and whether each issue has test evidence. The project page runs the check for a whole version and lists every finding with the issue it came from, so you can open the issue and see for yourself. The issue panel runs the same check for one issue, right where the work happens.&lt;/p&gt;

&lt;p&gt;The engine is deterministic and makes no LLM calls. The same check is also exposed as three read-only MCP tools, get-release-readiness, get-issue-blockers, and list-open-blockers, so an assistant can ask the same question the panels answer. The tests pass 17 out of 17, and the manifest validates clean.&lt;/p&gt;

&lt;p&gt;One limit worth stating: this demo tenant runs Jira Free, and Rovo Studio is not included on the free plan, so I could not show a live Rovo call. The tools are declared and lint-clean, and they call the same engine as the panels.&lt;/p&gt;

&lt;p&gt;The code is public at github.com/slowwwkiss/shipcheck. If you run releases out of Jira, a checklist that reads the data you already have beats a spreadsheet you have to keep updating by hand.&lt;/p&gt;

</description>
      <category>jira</category>
      <category>forge</category>
      <category>atlassian</category>
      <category>hackathon</category>
    </item>
  </channel>
</rss>
