<?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: Aman Kumar Sahani</title>
    <description>The latest articles on DEV Community by Aman Kumar Sahani (@amankumarsahani).</description>
    <link>https://dev.to/amankumarsahani</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%2F967536%2F6467bade-6c32-45dc-acad-bca32e7a48c7.jpeg</url>
      <title>DEV Community: Aman Kumar Sahani</title>
      <link>https://dev.to/amankumarsahani</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amankumarsahani"/>
    <language>en</language>
    <item>
      <title>The Unmerged: every repo is a record of what didn't get built</title>
      <dc:creator>Aman Kumar Sahani</dc:creator>
      <pubDate>Wed, 28 Oct 2026 13:15:39 +0000</pubDate>
      <link>https://dev.to/amankumarsahani/the-unmerged-every-repo-is-a-record-of-what-didnt-get-built-24ja</link>
      <guid>https://dev.to/amankumarsahani/the-unmerged-every-repo-is-a-record-of-what-didnt-get-built-24ja</guid>
      <description>&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The Unmerged&lt;/strong&gt; reads a public repository's history, finds the work that was abandoned in it, and has an open-weight model — running inside your browser tab — say what each piece of that work was trying to do.&lt;/p&gt;

&lt;p&gt;A repository is read as a record of what got built. It is equally a record of what didn't, and that half never gets read. There is a pull request somebody wrote, pushed, and watched go quiet until it was closed. A branch nobody ever deleted. A commit that shipped and then got taken back. All of it is in the history right now and none of it was looked at again.&lt;/p&gt;

&lt;p&gt;So it reads that half back to you, in four passes:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The Unmerged&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pull requests closed without ever being merged — finished work that went nowhere&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The Forsaken&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Branches still standing, never merged back into the main line&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Revenants&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Commits shipped and then reverted — the only ghosts a history admits to making&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The Erased&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Commits whose whole purpose was to delete something&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Point it at &lt;code&gt;facebook/react&lt;/code&gt; and it finds eighteen of them, including branches named &lt;code&gt;0.3-stable&lt;/code&gt; through &lt;code&gt;0.9-stable&lt;/code&gt; — each still pointing at a commit, each still waiting. Nobody deleted them. Somebody just stopped.&lt;/p&gt;

&lt;p&gt;How I read the theme: a séance is a room where you ask the dead to account for themselves. The dead here aren't deleted files, they're &lt;em&gt;decisions&lt;/em&gt; — the quiet ones nobody announced. A closed pull request is the most human artifact in a repository. Someone finished something and it didn't matter.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://amankumarsahani.github.io/the-unmerged/" rel="noopener noreferrer"&gt;amankumarsahani.github.io/the-unmerged&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Type any public repository as &lt;code&gt;owner/name&lt;/code&gt;. Nothing to install, no account. The model downloads into the tab on first visit (~260 MB on WebGPU, ~370 MB on the WASM fallback) and is cached after.&lt;/p&gt;

&lt;p&gt;Unauthenticated GitHub allows 60 API requests an hour and one reading costs four, so there's an optional token field if you hit the wall.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&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/amankumarsahani" rel="noopener noreferrer"&gt;
        amankumarsahani
      &lt;/a&gt; / &lt;a href="https://github.com/amankumarsahani/the-unmerged" rel="noopener noreferrer"&gt;
        the-unmerged
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Every repo is a record of what got built — and equally of what didn't. Finds abandoned PRs, forsaken branches and reverted commits, and has an open-weight model running in your browser speak for them.
    &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;The Unmerged 🕯️&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;A repository is read as a record of what got built. It is equally a record of &lt;strong&gt;what didn't&lt;/strong&gt; —
and that half never gets read.&lt;/p&gt;
&lt;p&gt;The Unmerged reads any public repository's history, finds the work that was abandoned in it, and
has an open-weight language model restate what each one was trying to do — &lt;strong&gt;running entirely inside
your browser tab.&lt;/strong&gt; No install, no server, no API key, no account.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="https://amankumarsahani.github.io/the-unmerged/" rel="nofollow noopener noreferrer"&gt;Open it →&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;What it finds&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Rite&lt;/th&gt;
&lt;th&gt;What it exhumes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The Unmerged&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pull requests closed without ever being merged — finished work that went nowhere&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The Forsaken&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Branches still standing, never merged back into the main line&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Revenants&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Commits shipped and then reverted — the only ghosts a history admits to making&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The Erased&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Commits whose whole purpose was to delete something&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;Point it at &lt;code&gt;facebook/react&lt;/code&gt; and it finds branches named &lt;code&gt;0.3-stable&lt;/code&gt; through &lt;code&gt;0.9-stable&lt;/code&gt;, each…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/amankumarsahani/the-unmerged" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;Three static files and a licence. No build step, no dependencies, no backend.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;The model is &lt;strong&gt;&lt;a href="https://huggingface.co/HuggingFaceTB/SmolLM2-360M-Instruct" rel="noopener noreferrer"&gt;SmolLM2-360M-Instruct&lt;/a&gt;&lt;/strong&gt; — Apache-2.0 weights, openly published training data — running through &lt;strong&gt;&lt;a href="https://github.com/huggingface/transformers.js" rel="noopener noreferrer"&gt;Transformers.js&lt;/a&gt;&lt;/strong&gt; on WebGPU where the browser offers it and WASM where it doesn't.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reading&lt;/strong&gt; is four calls to the GitHub REST API: repository metadata, the last hundred commits, the last hundred closed pull requests, the branch list. The Unmerged are closed PRs with a null &lt;code&gt;merged_at&lt;/code&gt;. The Forsaken are every branch that isn't the default. Revenants are commits whose first line starts with &lt;code&gt;revert&lt;/code&gt;. The Erased match a verb of destruction. Four calls, no pagination, no server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Then the part I got wrong twice.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;My first design asked the model to write an epitaph in the voice of the dead code. It is a lovely idea and it does not work. Here is SmolLM2-135M on a real closed React pull request:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Repository: twitter/1170753516 - never merged into the main feed
Reply this in one short sentence, in its own voice, as an epitaph.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It leaked my instruction back into its own output and invented a repository that does not exist. I added few-shot examples, which made it worse — "The Stallion did a great job of it getting through this... issue", "Ummmph". So I went up to 360M, and got fluent, confident, &lt;em&gt;completely generic&lt;/em&gt; mysticism with no connection to the input at all:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Echoes of lost time. Somewhere long ago, a firestorm burst forth
with unyielding force. They'll eventually join you: in whispers
and smoke you feel it
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is the actual failure mode of a small model asked to be evocative. It doesn't write badly — it writes beautifully about nothing.&lt;/p&gt;

&lt;p&gt;What a 360M model &lt;em&gt;can&lt;/em&gt; do is restate a sentence. So I stopped asking for a voice and asked only for intent: two worked examples, temperature 0.3, under eight words. Same model, same page, real rows from &lt;code&gt;facebook/react&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#38019 for test only docs: fix typo in README
   -&amp;gt; Correct the typo in the README.

#37818 [ci] bump CI Node.js version to 24.22.0
   -&amp;gt; Upgrade Node.js to the latest version.

#37947 [Experiment] Flight Result: expand into a model for the serializer
   -&amp;gt; Expand the flight result into a regular serializer measurement.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The mood is now carried by the page — the typography, the four names, the order they appear in — and the model only does the one job it is actually capable of. That reads to me as the real lesson of building on small open weights: they are not tiny versions of large models with worse prose. They are good at different work, and the design has to go find that work.&lt;/p&gt;

&lt;p&gt;It still gets things wrong, and it is guessing from a title alone. The page says so.&lt;/p&gt;

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

&lt;p&gt;I want to make a narrower claim than "open is good."&lt;/p&gt;

&lt;p&gt;This project could not exist on a closed API. Not "would be worse" — could not exist.&lt;/p&gt;

&lt;p&gt;Three static files on GitHub Pages, served to an unknown number of strangers, each typing repository names in and getting generated text back. On a hosted API that's a key I have to protect, a bill that scales with other people's curiosity, and a rate limiter I must build before I dare post the link. The honest version of this on closed infrastructure is a signup form and a free tier. Almost nobody would use it, and whoever did would hand a third party a log of which repositories they were curious about.&lt;/p&gt;

&lt;p&gt;Open weights move the computation to where the data already is. Your browser reads the history; your browser reasons about it. Nothing is uploaded because there is nowhere to upload it to. That privacy isn't a feature I implemented carefully — it's a property of having no server, which I got for free by running an open model locally.&lt;/p&gt;

&lt;p&gt;There's a second thing, and the failure above is the evidence for it. I swapped the model twice and rewrote the prompt three times in an afternoon, because the weights were sitting on disk and nothing was metered. On a closed API I'd have been iterating against someone else's rate limit and someone else's idea of what the model should refuse. Being able to &lt;em&gt;fail cheaply and specifically&lt;/em&gt; is most of what open weights buy you, and it never shows up in the benchmark tables.&lt;/p&gt;

&lt;p&gt;And it doesn't rot. The weights are downloadable and Apache-2.0. No deprecation email switches this off. In five years someone can clone the repo and it still runs.&lt;/p&gt;

&lt;p&gt;The theme this year is that AI belongs to everyone. The test I'd apply is whether a person with no budget, no key and no account can run the thing &lt;em&gt;and keep changing it&lt;/em&gt;. Open weights are what make that answer yes.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Spirit of It
&lt;/h2&gt;

&lt;p&gt;The uncomfortable thing I found is that the busiest, healthiest repositories have the &lt;em&gt;most&lt;/em&gt; unmerged pull requests. React has dozens. That isn't dysfunction — it's what a project looks like when lots of people care enough to try. Every one of them is somebody's finished work, with review comments on it, that went nowhere.&lt;/p&gt;

&lt;p&gt;We measure repositories by what merged. The unmerged half is a record of effort that was real, and spent, and is now only visible if you go looking. This started as a Halloween joke and turned into the only part I actually care about.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Open Weights&lt;/strong&gt; — SmolLM2-360M-Instruct (Apache-2.0) is the only inference anywhere in the project. There is no closed model in it, and the post documents what the open model could and could not do.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Local-First / On-Device AI&lt;/strong&gt; — all inference runs in the visitor's browser via WebGPU or WASM. No server exists.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;AI disclosure&lt;/p&gt;

&lt;p&gt;Built in an agent session with Claude (Opus 5). I set the direction — the four passes, the decision to stop asking for a voice after seeing the output above, and the local-first argument — and I reviewed and ran the code before publishing.&lt;/p&gt;

&lt;p&gt;What was actually verified, rather than assumed: the GitHub mining was run against live data (18 abandoned things in &lt;code&gt;facebook/react&lt;/code&gt;, across all four passes); the page was driven end to end in a real headless browser, which rendered every pass correctly; and the generation step was run against the deployed prompt and real repository rows, which is where the quoted outputs above come from — both the failures and the working ones.&lt;/p&gt;

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