<?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: Kevin Saison</title>
    <description>The latest articles on DEV Community by Kevin Saison (@kevinsaison).</description>
    <link>https://dev.to/kevinsaison</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%2F4270091%2F3c03225c-abc3-47a8-91e5-cb6093f7a508.png</url>
      <title>DEV Community: Kevin Saison</title>
      <link>https://dev.to/kevinsaison</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kevinsaison"/>
    <language>en</language>
    <item>
      <title>Fuchikoma 0.0.2: a release you can check, for a gem that does nothing</title>
      <dc:creator>Kevin Saison</dc:creator>
      <pubDate>Sat, 28 Nov 2026 05:30:33 +0000</pubDate>
      <link>https://dev.to/kevinsaison/fuchikoma-002-a-release-you-can-check-for-a-gem-that-does-nothing-3f7d</link>
      <guid>https://dev.to/kevinsaison/fuchikoma-002-a-release-you-can-check-for-a-gem-that-does-nothing-3f7d</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://kevinsaison.wordpress.com/2026/11/27/fuchikoma-0-0-2/" rel="noopener noreferrer"&gt;my blog&lt;/a&gt;. Fuchikoma is a fiber-native, typed, one-process Ruby web framework, built in public. Version 0.0.2 contains no framework code yet.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Fuchikoma 0.0.2 is out. It is the first version on RubyGems.org, and it still contains no framework code: the gem exposes &lt;code&gt;Fuchikoma::VERSION&lt;/code&gt; and nothing else.&lt;/p&gt;

&lt;p&gt;What changed is everything around it. How a version travels from my laptop to your machine, and how you can check that what you downloaded is what I built.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fuchikoma in one sentence
&lt;/h2&gt;

&lt;p&gt;Fuchikoma aims to be the Ruby framework for one-process, fiber-native web applications with typed boundaries, secure-by-default data access and first-class agent support.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why start with the release pipeline
&lt;/h2&gt;

&lt;p&gt;A framework sits at the bottom of every application built on it, so whoever ships it is in a position of trust. The cheapest moment to build a trustworthy release process is when there is nothing to release: a mistake costs nothing, and every step is easy to read because the gem has no runtime dependencies.&lt;/p&gt;

&lt;p&gt;So 0.0.2 is plumbing. I would rather debug it now than on the day a real feature depends on it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a release does now
&lt;/h2&gt;

&lt;p&gt;Pushing a signed tag such as &lt;code&gt;v0.0.2&lt;/code&gt; starts a workflow with four jobs.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Verify.&lt;/strong&gt; The tag must be named &lt;code&gt;vX.Y.Z&lt;/code&gt;, match &lt;code&gt;Fuchikoma::VERSION&lt;/code&gt;, have a dated section in the changelog, be reported as verified by GitHub, and point to a commit on &lt;code&gt;main&lt;/code&gt;. Then RuboCop, Steep, the tests and &lt;code&gt;bundler-audit&lt;/code&gt; run.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build.&lt;/strong&gt; The gem is built twice, and the job fails if the two files differ by a single byte. It then writes a CycloneDX SBOM and a &lt;code&gt;SHA256SUMS&lt;/code&gt; file, and attests the gem and the SBOM with build provenance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Publish.&lt;/strong&gt; The job waits for me to approve a protected GitHub environment, then pushes to RubyGems.org with trusted publishing: GitHub proves to RubyGems which workflow is pushing, in exchange for a short-lived token. There is no API key anywhere, not in the repository and not on my laptop. The job then checks that the gem it pushed is the one that was attested.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub release.&lt;/strong&gt; The gem, the SBOM and the checksums are attached, the notes come from the changelog, and every 0.x release is marked as a pre-release.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Running the workflow by hand is a dry run: the first two jobs only, nothing published.&lt;/p&gt;

&lt;p&gt;Around it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Dependabot watches the gems and the GitHub Actions every week, and &lt;code&gt;bundler-audit&lt;/code&gt; runs on every pull request, on &lt;code&gt;main&lt;/code&gt; and every week.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/KevinSaison/fuchikoma/blob/main/DEPENDENCIES.md" rel="noopener noreferrer"&gt;&lt;code&gt;DEPENDENCIES.md&lt;/code&gt;&lt;/a&gt; sets the policy: fewer than 15 runtime gems, each one justified. Today there are none.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/KevinSaison/fuchikoma/blob/main/GOVERNANCE.md" rel="noopener noreferrer"&gt;&lt;code&gt;GOVERNANCE.md&lt;/code&gt;&lt;/a&gt; now requires every release manager to use multi-factor authentication and to sign tags.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/KevinSaison/fuchikoma/blob/main/RELEASING.md" rel="noopener noreferrer"&gt;&lt;code&gt;RELEASING.md&lt;/code&gt;&lt;/a&gt; is the runbook, step by step, including what to do when something fails.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Check it yourself
&lt;/h2&gt;

&lt;p&gt;require: GitHub CLI (gh) installed, sha256sum available&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gh release download v0.0.2 --repo KevinSaison/fuchikoma 
sha256sum -c SHA256SUMS
gh attestation verify fuchikoma-0.0.2.gem --repo KevinSaison/fuchikoma
gh attestation verify fuchikoma-0.0.2.cdx.json --repo KevinSaison/fuchikoma

mkdir from-rubygems &lt;span class="o"&gt;&amp;amp;&lt;/span&gt;amp&lt;span class="o"&gt;;&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;amp&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; from-rubygems &lt;span class="o"&gt;&amp;amp;&lt;/span&gt;amp&lt;span class="o"&gt;;&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;amp&lt;span class="o"&gt;;&lt;/span&gt; gem fetch fuchikoma -v 0.0.2&lt;span class="o"&gt;)&lt;/span&gt;
cmp fuchikoma-0.0.2.gem from-rubygems/fuchikoma-0.0.2.gem &lt;span class="o"&gt;&amp;amp;&lt;/span&gt;amp&lt;span class="o"&gt;;&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;amp&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="nb"&gt;echo&lt;/span&gt; identical
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&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%2Ftyier24kwfptrh7v4mkk.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%2Ftyier24kwfptrh7v4mkk.png" alt="terminal preview" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The gem served by RubyGems.org should be byte for byte the one that was attested. If it is not, please tell me.&lt;/p&gt;

&lt;h2&gt;
  
  
  What broke
&lt;/h2&gt;

&lt;p&gt;Three things, in the order I met them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The SBOM tool produced an empty SBOM and exited successfully.&lt;/strong&gt; I started with &lt;code&gt;cyclonedx-ruby&lt;/code&gt;. Its only published version, 1.1.0, answered &lt;code&gt;0 gems were written&lt;/code&gt; and generated an empty document, because it does not describe the gem itself. An SBOM that is empty and green is worse than none. I replaced it with about a hundred lines of Ruby and shell (&lt;code&gt;generate-sbom.sh&lt;/code&gt;). It resolves a throwaway Gemfile that contains only the gemspec, so the development tools never leak into the SBOM, and it fails if the gem is missing or if a development gem shows up.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A pinned patch version did not exist.&lt;/strong&gt; The audit workflow read &lt;code&gt;4.0.0&lt;/code&gt; from &lt;code&gt;.ruby-version&lt;/code&gt;. GitHub's new Ubuntu 26.04 runners only build the latest patch of each Ruby series, so the download was a 404. The workflows now ask for &lt;code&gt;"4.0"&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The first push failed.&lt;/strong&gt; The checks passed, and the publish job failed. To create a &lt;em&gt;new&lt;/em&gt; gem, RubyGems.org requires the workflow to name the account that will own it, as a numeric &lt;code&gt;owner&lt;/code&gt; when the OIDC token is exchanged. The two official actions I use had no input for it at the time I looked. Nothing was published. I wrote the token exchange myself, behind a repository variable that I remove once the gem exists, deleted the tag, merged the fix and pushed the tag again. One lesson went into the runbook: the pending trusted publisher on RubyGems.org expires after a few hours, so create it right before the first tag.&lt;/p&gt;

&lt;p&gt;Smaller things: Dependabot opened two pull requests within minutes, including a major bump of minitest to 6.1 that my single test survived, and the repository moved to another GitHub account along the way, so every link changed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this does not prove
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Not that the code is good.&lt;/strong&gt; Trusted publishing and attestations tell you which workflow built the gem and from which commit. They say nothing about the quality of that commit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Not that the build is reproducible everywhere.&lt;/strong&gt; The gem built by the dry run on main and the gem built by the v0.0.2 tag run have the same SHA-256, and both are attested. I still haven't asked anyone to rebuild it independently. If you try and get different bytes, I want to know.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Not much about dependencies yet.&lt;/strong&gt; With no runtime dependency, the SBOM lists a single component. It gets interesting when there is something to list.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Not that a second pair of eyes exists.&lt;/strong&gt; I am the only release manager for now. That changes at gate A, when three maintainers and a fiscal host are in place.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What this release is not
&lt;/h2&gt;

&lt;p&gt;It is not usable, and it does nothing. Don't depend on it. It exists so that the next releases are boring.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;0.0.3 is the first three RFCs: the fiber runtime and what blocks or yields (RFC 001), the schema DSL for params, bodies, responses and props (RFC 002), and the scope object with its explicit &lt;code&gt;unscoped&lt;/code&gt; escape hatch (RFC 003). Each one is accepted only after a 14-day public comment period. These are the decisions that are hardest to undo, so this is where outside opinions matter most.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to get involved
&lt;/h2&gt;

&lt;p&gt;Read &lt;code&gt;CONTRIBUTING.md&lt;/code&gt;, then open an issue or a discussion. Commits must carry a &lt;code&gt;Signed-off-by&lt;/code&gt; line (&lt;code&gt;git commit -s&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;Questions or comments? Join the discussion on GitHub: &lt;a href="https://github.com/KevinSaison/fuchikoma/discussions" rel="noopener noreferrer"&gt;lien&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/KevinSaison/fuchikoma/releases/tag/v0.0.2" rel="noopener noreferrer"&gt;Release v0.0.2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/KevinSaison/fuchikoma/blob/main/CHANGELOG.md" rel="noopener noreferrer"&gt;Changelog&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ruby</category>
      <category>buildinpublic</category>
      <category>opensource</category>
      <category>security</category>
    </item>
  </channel>
</rss>
