<?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: Ian</title>
    <description>The latest articles on DEV Community by Ian (@ianwieds).</description>
    <link>https://dev.to/ianwieds</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%2F384278%2F61b90b66-d678-4b60-b1a2-a008abb006d0.jpg</url>
      <title>DEV Community: Ian</title>
      <link>https://dev.to/ianwieds</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ianwieds"/>
    <language>en</language>
    <item>
      <title>Codex is a top-4 harness for GLM-5.3-Flash. On real repos it's 10th of 11.</title>
      <dc:creator>Ian</dc:creator>
      <pubDate>Fri, 20 Nov 2026 19:00:00 +0000</pubDate>
      <link>https://dev.to/ianwieds/codex-is-a-top-4-harness-for-glm-53-flash-on-real-repos-its-10th-of-11-56nn</link>
      <guid>https://dev.to/ianwieds/codex-is-a-top-4-harness-for-glm-53-flash-on-real-repos-its-10th-of-11-56nn</guid>
      <description>&lt;p&gt;Two public leaderboards published rankings this week for OpenAI's Codex CLI wrapped around the same open model, GLM-5.3-Flash.&lt;/p&gt;

&lt;p&gt;One ranks it 4th of 22 harnesses by pass rate. The other ranks it 10th of 11.&lt;/p&gt;

&lt;p&gt;Neither board is wrong. They asked different questions, and the gap between them is the most useful thing I found in either one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two boards, one question
&lt;/h2&gt;

&lt;p&gt;The first is Runta's &lt;a href="https://runta.com/blog/introducing-frontierharness-eval-v1-1/" rel="noopener noreferrer"&gt;FrontierHarness Eval v1.1&lt;/a&gt;, which hit the Hacker News front page on Tuesday (344 points). It ran 22 harness configurations around 5 open models on Baseten, 62 tasks, 4 attempts each: 27,280 runs. For each model it names a best-value harness, the lowest cost per pass unless another one passes at least 5 points more often for at most 30% more money. The &lt;a href="https://frontierharness.org/leaderboard/v1.1/" rel="noopener noreferrer"&gt;live leaderboard&lt;/a&gt; lets you pick your model and read the answer.&lt;/p&gt;

&lt;p&gt;The second is Joel Niklaus's &lt;a href="https://huggingface.co/spaces/joelniklaus/harness-leaderboard" rel="noopener noreferrer"&gt;Harness Leaderboard&lt;/a&gt; on Hugging Face, trending there the same day. It runs 11 harnesses around 4 open models, 3 attempts each (two of the models at both low and high reasoning effort), and it puts harnesses it can't separate from the leader into one tied group.&lt;/p&gt;

&lt;p&gt;Two models appear on both: GLM-5.3-Flash and DeepSeek-V4.1-Flash. So I pulled both boards' numbers and lined them up. Runta's per-model figures ship as data inside the post's own page; the Hugging Face board has an open JSON endpoint. No account needed for either.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where they agree
&lt;/h2&gt;

&lt;p&gt;Pi, the small four-tool harness, is the cheapest harness per pass on GLM-5.3-Flash on both boards: $0.223 per pass on Runta's, $0.132 at low effort and $0.184 at high on the Hugging Face one. The dollars don't compare (different providers, different prices), but the order does. Pi's pass rate is middle of the pack on Runta's board (8th of 22) and inside the tied first group on the other.&lt;/p&gt;

&lt;p&gt;With DeepSeek-V4.1-Flash, both boards say the same thing about Pi from the other side: cheap, but behind on passes. It's 15th of 22 on Runta's board and sits in the second group at both efforts on Hugging Face's.&lt;/p&gt;

&lt;p&gt;That's the kind of answer I'd act on. Two teams, two setups, two task lists, one conclusion.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where they split
&lt;/h2&gt;

&lt;p&gt;Now Codex with GLM-5.3-Flash. On Runta's board it passes 59.3% of attempts, 4th of 22, and it's the second cheapest per pass. On the Hugging Face board it's 10th of 11 at both efforts, ahead of only OpenClaw.&lt;/p&gt;

&lt;p&gt;The Hugging Face board scores two benchmarks, so I split the score:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;GLM-5.3-Flash, Hugging Face board v0.1.8 (Nov 17)
                 Terminal-Bench 2.1   DeepSWE v1.1
codex   low         60.2%  (8th)      26.7%  (10th)
codex   high        67.4%  (5th)      35.1%  (10th)
top     low         64.7%             55.9%
top     high        71.3%             63.4%
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On terminal tasks Codex is fine: middle of the pack, close to the top. On DeepSWE, long feature and bug-fix work in real Go, Python, TypeScript and Rust repos, it falls 28 to 29 points behind the leader.&lt;/p&gt;

&lt;p&gt;Then I counted Runta's task list. All 62 tasks are Terminal-Bench: 45 from version 2.1 and 17 from version 4. There is no repo work in it at all. Runta's board never asked Codex the question it fails on the other board.&lt;/p&gt;

&lt;p&gt;It isn't Codex everywhere, either. With DeepSeek-V4.1-Flash, Codex scores 61.3% and 64.0% on DeepSWE, 6th of 11, and sits in the tied top group. The weak spot is this harness, this model, this kind of task.&lt;/p&gt;

&lt;h2&gt;
  
  
  Same name, different harness
&lt;/h2&gt;

&lt;p&gt;I can't tell you why from what's published. But the two boards didn't run quite the same Codex.&lt;/p&gt;

&lt;p&gt;Runta's suite file pins Codex 0.164.0, tells it the model's window is 1,048,576 tokens, and caps tool output at 10,000 tokens. The Hugging Face board ran 0.162.1, and its settings doc says the trials now on the board used Codex's fallback for a model it doesn't recognize: a 272,000-token window, tool output cut at 10,000 bytes, and no built-in patch tool (the prompt tells the model to run &lt;code&gt;apply_patch&lt;/code&gt; through the shell). Codex speaks only OpenAI's Responses format, so each board puts a translator in front of the model: a LiteLLM proxy on Runta's, a responses.js bridge on Hugging Face's.&lt;/p&gt;

&lt;p&gt;Whether any of that explains a 28-point gap on repo work is my guess, not a finding. It does show that "Codex" in a leaderboard row is Codex plus somebody's adapter. The Hugging Face changelog makes the same point in public: when OpenClaw moved to a new version and started receiving each model's context window, reply limit and image input, its DeepSeek scores rose 16 to 21 points in one release.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd actually do with these boards
&lt;/h2&gt;

&lt;p&gt;Runta's headline advice is to rethink your harness when you change models. I'd go one step further. A row on a harness leaderboard ranks a model, a harness, a kind of task and an adapter, all at once. The best harness for your model is the one two boards agree on for the kind of work you do.&lt;/p&gt;

&lt;p&gt;Runta's own numbers back the caution. When they redrew the 62 tasks 4,000 times, only Codex with GLM-5.3 (the larger GLM) stayed the best-value pick nearly every time, 99.6%. The other four winners held in 25% to 53% of the draws, and the post puts a 95% interval of about plus or minus 10 points on each pass rate. Majromax made the same point in the HN thread: a second sample might not keep these conclusions.&lt;/p&gt;

&lt;p&gt;On HN, andai wrote that benchmarks crossing models with harnesses find models doing far better in their "own" harness. Runta's page carries the data for that test too, though the post doesn't chart it. Z.ai's ZCode with GLM-5.3 is the one clear case: 4.6 points above the other harnesses' average (their p = 0.03). Moonshot's KimiCode with Kimi-K3 ranks 14th of 22 by pass rate. DeepSeek's four harness profiles land 7th to 14th with their own model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it gets shaky
&lt;/h2&gt;

&lt;p&gt;Runta builds the runtime these trials ran on, and its founder said so at the top of the HN thread. You can read the data and the task list, but rerunning the eval needs a Runta login and a Baseten key. Every model is open, served by one provider, so closed models and other caches could reorder everything.&lt;/p&gt;

&lt;p&gt;The Hugging Face board moves under you. It's at v0.1.8, and its changelog is a long run of cells re-run after plumbing fixes. That's honest, and it means a rank from last week may not be today's.&lt;/p&gt;

&lt;p&gt;And neither board is your codebase.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;The Hugging Face board answers from the terminal, no key:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s https://joelniklaus-harness-leaderboard.hf.space/api/index &lt;span class="o"&gt;|&lt;/span&gt; jq -r &lt;span class="s1"&gt;'
  .leaderboard["zai-org/GLM-5.3-Flash"].stages.full.efforts.high.harnesses
  | to_entries | sort_by(-.value.macro)[]
  | [.key, .value.benchmarks["terminal-bench-2.1"].rate, .value.benchmarks["deep-swe"].rate, .value.cost_per_pass]
  | @tsv'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Swap in &lt;code&gt;deepseek-ai/DeepSeek-V4.1-Flash&lt;/code&gt; or &lt;code&gt;low&lt;/code&gt; effort. Then open Runta's &lt;a href="https://frontierharness.org/leaderboard/v1.1/" rel="noopener noreferrer"&gt;leaderboard&lt;/a&gt;, pick the same model, and see which names show up near the top of both.&lt;/p&gt;

&lt;p&gt;Which harness do you run your open model in, and did you pick it for the model or for the kind of work you give it?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>programming</category>
      <category>discuss</category>
    </item>
    <item>
      <title>The Java4Shell fix lives in the fourth version number</title>
      <dc:creator>Ian</dc:creator>
      <pubDate>Thu, 19 Nov 2026 19:00:00 +0000</pubDate>
      <link>https://dev.to/ianwieds/the-java4shell-fix-lives-in-the-fourth-version-number-3p26</link>
      <guid>https://dev.to/ianwieds/the-java4shell-fix-lives-in-the-fourth-version-number-3p26</guid>
      <description>&lt;p&gt;My laptop has two JDKs on Oracle's list of builds hit by Java4Shell: 27.0.1.0.3 and 21.0.13.0.3. Neither one can be hit.&lt;/p&gt;

&lt;p&gt;The builds that fix it are 27.0.1.1 and 21.0.13.1. Read those twice. The difference is one digit, in a slot a lot of version checks throw away.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://calif.io/java4shell/" rel="noopener noreferrer"&gt;Java4Shell&lt;/a&gt; (CVE-2026-114938) went public on Tuesday from the security shop Calif, and it climbed to 623 points on &lt;a href="https://news.ycombinator.com/item?id=50538240" rel="noopener noreferrer"&gt;Hacker News&lt;/a&gt;. It's a heap overwrite in HotSpot's hand-written AVX-512 Base64 decoder. Once the JIT has compiled the fast path, 64 &lt;code&gt;A&lt;/code&gt; characters and one &lt;code&gt;=&lt;/code&gt; make the stub compute a negative output length, store a full 64-byte vector anyway, and land 62 bytes past the end of a 50-byte array. Calif says it turned that into remote code execution in Keycloak, Jira, Jenkins and others, and it is holding those chains back for now.&lt;/p&gt;

&lt;p&gt;I didn't run their trigger program. You don't need it for the question that matters today: is the JVM in front of you exposed, and what do you move to?&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix is four lines
&lt;/h2&gt;

&lt;p&gt;The patch is public in the main JDK repo as &lt;a href="https://github.com/openjdk/jdk/commit/5177a70b385c16f26ede191fdac7aaba0bed0f8b" rel="noopener noreferrer"&gt;commit 5177a70&lt;/a&gt;, under the carefully dull title "8393212: Base64 optimization improvements". It was committed on October 13 and merged into the public repo on November 17, the day of the advisory. Here is all of it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight diff"&gt;&lt;code&gt;     __ BIND(L_finalBit);
     // Now have 1 to 63 bytes left to decode

&lt;span class="gi"&gt;+    // A padded Base64 tail shorter than one complete block is handled by Java.&lt;/span&gt;
&lt;span class="gi"&gt;+    __ cmpl(length, 4);&lt;/span&gt;
&lt;span class="gi"&gt;+    __ jcc(Assembler::less, L_bruteForce);&lt;/span&gt;
&lt;span class="gi"&gt;+&lt;/span&gt;
     // I was going to let Java take care of the final fragment
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When fewer than four characters are left, the assembly now steps aside and the plain decoder finishes the job. The comment right under the new lines is my favorite part of the file. The original author explains that they meant to leave the final fragment to Java, but Java would call the routine again for every four bytes, so they handled the tail in assembly instead. That speed choice on the last few bytes is the bug, and the fix gives back exactly that much.&lt;/p&gt;

&lt;p&gt;The fast path arrived with JDK-8268276 in June 2021 and was backported to the 17 line in November 2022, which is why Calif puts the floor at 17.0.6. The &lt;a href="https://openjdk.org/groups/vulnerability/advisories/2026-11-17" rel="noopener noreferrer"&gt;OpenJDK advisory&lt;/a&gt; marks 17, 21, 25 and 27 as affected and leaves 8 and 11 clear.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the fix landed
&lt;/h2&gt;

&lt;p&gt;I resolved the newest GA tag in each OpenJDK update repo and checked that the 8393212 commit is in its history:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;jdk17u  jdk-17.0.21.1-ga  has 8393212
jdk21u  jdk-21.0.13.1-ga  has 8393212
jdk25u  jdk-25.0.5.1-ga   has 8393212
jdk27u  jdk-27.0.1.1-ga   has 8393212
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://openjdk.org/jeps/322" rel="noopener noreferrer"&gt;JEP 322&lt;/a&gt; explains the shape. A JDK version is &lt;code&gt;$FEATURE.$INTERIM.$UPDATE.$PATCH&lt;/code&gt;, and the fourth number is the patch counter, raised for a release that fixes a few critical issues. A fifth number belongs to whoever builds the JDK. So 21.0.13.0.3 is patch 0, vendor respin 3: vulnerable. 21.0.13.1 is patch 1: fixed. Amazon's fixed Corretto is 21.0.13.1.2. As K0IN put it in the HN thread: "Ofc they needed 5 version numbers."&lt;/p&gt;

&lt;p&gt;Semver habits read three numbers: major, minor, patch. On a JDK, the third one is the update, and the real patch number falls off the end.&lt;/p&gt;

&lt;p&gt;I found that habit in a real scanner. Semgrep published free &lt;a href="https://github.com/semgrep/detection-scripts/tree/main/CVE-2026-114938" rel="noopener noreferrer"&gt;detection scripts&lt;/a&gt; the same day, and they are careful work: five checks, CPU features read from the JVM itself, read-only cloud probes. Its version key keeps only the first three numbers, though. I retyped that rule in Python to see what it does with this week's strings:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;21.0.13.0.3  -&amp;gt; 21000013   vulnerable
21.0.13.1    -&amp;gt; 21000013   fixed
21.0.13.1.2  -&amp;gt; 21000013   fixed (Corretto)
27.0.1.0.3   -&amp;gt; 27000001   vulnerable
27.0.1.1     -&amp;gt; 27000001   fixed
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Same key on both sides of the fix. In the copy I read, written about an hour before disclosure when no fix was public, that only makes a patched 21.0.13.1 show as impacted. Noisy, but safe. The quiet failure comes next. Its README says to add a version to the fixed list once a release ships with the fix. Add 21.0.13.1, and an unpatched 21.0.13.0.3 compares equal and reads as fixed.&lt;/p&gt;

&lt;p&gt;Java already compares these the right way, so let Java do it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ jshell -q
jshell&amp;gt; Runtime.version()
$1 ==&amp;gt; 27.0.1.0.3
jshell&amp;gt; Runtime.Version.parse("21.0.13.1").compareTo(Runtime.Version.parse("21.0.13.0.3"))
$2 ==&amp;gt; 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The version isn't the exposure either
&lt;/h2&gt;

&lt;p&gt;That's why my laptop is fine. All of these have to be true at once:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;an x86-64 JVM on a CPU with AVX-512 VBMI (Calif names Intel Ice Lake and later server chips, and AMD Zen 4 and later);&lt;/li&gt;
&lt;li&gt;HotSpot, with C2 compiling the decoder so the stub actually runs;&lt;/li&gt;
&lt;li&gt;a version from 17.0.6 up to the fix.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My M1 Max fails the first one. What surprised me was the flag people grep for. &lt;code&gt;UseBASE64Intrinsics&lt;/code&gt; reads &lt;code&gt;true&lt;/code&gt; on all three of my JDKs, ARM and JDK 11 included. On x86 it is on by default whenever AVX2 is there, too. In the source, the stub decides on the AVX-512 path once, when HotSpot generates it, and only if the CPU reports VBMI, BW and BMI2. So "intrinsic on" tells you nothing by itself.&lt;/p&gt;

&lt;p&gt;Ask the JVM what it sees, since a hypervisor can hide CPU features from a guest:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ java -Xlog:os+cpu=info -version 2&amp;gt;&amp;amp;1 | grep -o avx512_vbmi
$ java -XX:+PrintFlagsFinal -version | grep -E 'UseAVX|UseBASE64Intrinsics'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On x86, the bad combination is &lt;code&gt;avx512_vbmi&lt;/code&gt; in the CPU line, &lt;code&gt;UseAVX&lt;/code&gt; at 3 and the intrinsic on. Semgrep's README adds one I wouldn't have guessed: AWS Lambda's Java bootstrap stops the JIT at tier 1 by default, so C2 never compiles the decoder there unless you change the tiering.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd do today
&lt;/h2&gt;

&lt;p&gt;Move to a build that carries the fix: OpenJDK 17.0.21.1, 21.0.13.1, 25.0.5.1 or 27.0.1.1, or your vendor's build on top of them. Corretto shipped Tuesday. Homebrew moved &lt;code&gt;openjdk&lt;/code&gt;, &lt;code&gt;openjdk@21&lt;/code&gt; and &lt;code&gt;openjdk@17&lt;/code&gt; the same evening. Temurin hadn't when I checked late Tuesday: Adoptium's API still listed 21.0.13+9, from October 22, as the newest 21. JDK 26 gets nothing. Its update repo is archived and its last tag dates from August, so the way out is 27.0.1.1.&lt;/p&gt;

&lt;p&gt;Where you can't upgrade yet, Calif offers two flags. I tried both on my ARM JDK:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ java -XX:UseAVX=2 -version
Unrecognized VM option 'UseAVX=2'
Error: Could not create the Java Virtual Machine.

$ java -XX:-UseBASE64Intrinsics -version
openjdk version "27.0.1.0.3" 2026-10-24
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Calif's page does warn about the first one, but seeing it fail is different. Roll &lt;code&gt;UseAVX=2&lt;/code&gt; out to every JVM in a fleet that has ARM hosts in it and you take down the ARM half yourself. The HN thread spent a long subthread on exactly that. &lt;code&gt;-XX:-UseBASE64Intrinsics&lt;/code&gt; starts everywhere.&lt;/p&gt;

&lt;p&gt;Whichever you do, read the version the running process reports, all of it, and compare with Java's rules rather than a three-number key.&lt;/p&gt;

&lt;h2&gt;
  
  
  Thinner than the headline
&lt;/h2&gt;

&lt;p&gt;Calif scores it 9.2 under CVSS 4.0. OpenJDK and Oracle score it 8.1 under CVSS 3.1, with attack complexity marked High. Calif's own limitations section shows why. There is no universal payload, each app needs its own heap-grooming profile, the timing is touchy enough that they rented a VM in the target's region, and a proxy that buffers whole request bodies (nginx does by default) breaks some chains, though not the Elasticsearch one. On HN, tptacek called a memory corruption bug in Java's core Base64 handling wild, and still not as bad as Log4Shell. I agree with both halves.&lt;/p&gt;

&lt;p&gt;The part I'd watch is the client side. Calif says a Java program that merely opens a TLS connection to a malicious server can be compromised too. As I read it, that pulls in anything making outbound calls: CI jobs, build tools, crawlers. Not just servers.&lt;/p&gt;

&lt;p&gt;How does your inventory store a JDK version: the full string the JVM reports, or three numbers parsed out of it?&lt;/p&gt;

</description>
      <category>programming</category>
      <category>webdev</category>
      <category>opensource</category>
      <category>discuss</category>
    </item>
    <item>
      <title>A test run that can hang forever is broken</title>
      <dc:creator>Ian</dc:creator>
      <pubDate>Wed, 18 Nov 2026 20:00:00 +0000</pubDate>
      <link>https://dev.to/ianwieds/a-test-run-that-can-hang-forever-is-broken-3lk2</link>
      <guid>https://dev.to/ianwieds/a-test-run-that-can-hang-forever-is-broken-3lk2</guid>
      <description>&lt;p&gt;This one covers November 10 to 17. It was a week about tests that finish: my workflow kit moved onto Node's own test runner and learned to end a run that has stopped doing anything. The rest went into a new engine for my awesome lists, a deploy fix in my framework, and how my machines upgrade Node.&lt;/p&gt;

&lt;h2&gt;
  
  
  A hung &lt;code&gt;npm test&lt;/code&gt; is not a slow one
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/ITW-Creative-Works/workkit" rel="noopener noreferrer"&gt;workkit&lt;/a&gt; is my workflow kit for Claude Code: GitHub issues as the work list, labels as the pipeline, hooks that enforce the rules. Agents run most of my test suites now, usually in the background. A suite that waits on a socket that never closes does not fail. It just sits there, and so does the agent waiting on it.&lt;/p&gt;

&lt;p&gt;Version 0.94 puts every root &lt;code&gt;npm test&lt;/code&gt; and every &lt;code&gt;workkit prove&lt;/code&gt; under a supervisor. It checks the run every five minutes (&lt;code&gt;tests.check&lt;/code&gt; changes that), and each check asks two questions. Was the run's log written since the last check? Did any of its processes use the processor? Processor time counts as work once it reaches 1 percent of one core over the check.&lt;/p&gt;

&lt;p&gt;The verdicts are simple:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Output or work: alive. Nothing happens.&lt;/li&gt;
&lt;li&gt;Neither, two checks in a row: frozen. The evidence goes in the log, one line per process, then the run is ended with exit code 124.&lt;/li&gt;
&lt;li&gt;No output for six checks, but working: a look. The run keeps going, and the call attached to it prints the evidence and exits 125.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A busy run is never ended, however long it takes. A frozen one ends with a line that says why:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;detach: no output and no processor use for &amp;lt;N&amp;gt; minutes, so the run was ended (exit 124)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Inside a run there is a second bound. The runner ends a suite file's whole process group after 600 seconds (&lt;code&gt;TEST_DEADLINE=&amp;lt;seconds&amp;gt;&lt;/code&gt; sets another) and reports one timed-out failure, so one stuck file costs a line in the report instead of the whole run.&lt;/p&gt;

&lt;p&gt;Why it matters: "it's still running" used to be a guess. Now it is a measurement, and the two exit codes tell an agent whether to wait or to go look.&lt;/p&gt;

&lt;h3&gt;
  
  
  The runner is Node's now
&lt;/h3&gt;

&lt;p&gt;The other half of the week was the runner itself. Since version 0.95, a workkit suite is plain &lt;code&gt;node:test&lt;/code&gt;: &lt;code&gt;describe&lt;/code&gt;, &lt;code&gt;test&lt;/code&gt;, the usual hooks, and an &lt;code&gt;expect&lt;/code&gt; with Jest's matchers, exported from &lt;code&gt;workkit-core/test&lt;/code&gt;. Any suite runs alone with &lt;code&gt;node &amp;lt;file&amp;gt;&lt;/code&gt;. The kit's own case engine, with its &lt;code&gt;group&lt;/code&gt;, &lt;code&gt;assertEq&lt;/code&gt; and &lt;code&gt;selfRun&lt;/code&gt;, is gone.&lt;/p&gt;

&lt;p&gt;Removing an API means migrating everyone on it, so the release shipped &lt;code&gt;workkit convert&lt;/code&gt;. It rewrites an old-shape suite in place and maps each statement one for one: &lt;code&gt;group('x')&lt;/code&gt; becomes &lt;code&gt;describe('x', ...)&lt;/code&gt;, &lt;code&gt;assertEq(actual, wanted)&lt;/code&gt; becomes &lt;code&gt;expect(actual).toBe(wanted)&lt;/code&gt;. It only rewrites a file it fully understands. Cases made in a loop, a whole-file skip or a setup line between cases leave the file byte for byte, with one line saying where and why:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;converted &amp;lt;path&amp;gt; (&amp;lt;n&amp;gt; cases)
left &amp;lt;path&amp;gt;:&amp;lt;line&amp;gt; &amp;lt;why&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A file already on Node's functions is left alone, so a second run changes nothing. My own machine-setup repo moved over the same week.&lt;/p&gt;

&lt;p&gt;The next release built on that base: &lt;code&gt;--filter=&amp;lt;text&amp;gt;&lt;/code&gt; runs only the cases whose full name, &lt;code&gt;describe&lt;/code&gt; path included, holds the text, and a bare run at a monorepo root also runs each workspace member's own &lt;code&gt;npm test&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Why it matters: Node's runner is the one every JavaScript developer can already read. The kit stops maintaining a test framework and keeps only the parts that are its job: finding suites, bounding them, and recording proof.&lt;/p&gt;

&lt;h2&gt;
  
  
  24 copies of the same bots, now one engine
&lt;/h2&gt;

&lt;p&gt;I maintain 24 public awesome lists. Each one had its own copy of the same three jobs: a pull request check that judges a new entry, a weekly sweep for dead links and archived repos, and a daily sync of the shared text. Each copy had its own scripts and tests. A fix meant 24 commits.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/ianwieds/awesome-kit" rel="noopener noreferrer"&gt;awesome-kit&lt;/a&gt; is new this week, and it holds that code once. A list now carries three short workflow files, each calling the kit's composite action with one command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;sweep&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt;
    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ianwieds/awesome-kit@v2&lt;/span&gt;
        &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;sweep&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;GitHub fetches the kit at the tag the list names, so a kit release reaches every list without a commit to any of them. Moving a list onto it deleted 1,628 lines from each one, about 39,000 lines across all 24.&lt;/p&gt;

&lt;p&gt;The 2.0 release added &lt;code&gt;awesome-kit setup&lt;/code&gt;. Run in a fresh repo, it scaffolds every missing file a list needs, writes the three workflows, runs sync, and sets the repo's description and topics through &lt;code&gt;gh&lt;/code&gt;. It never overwrites a file the list owns, and since 2.0.1 it fails before any write when the config names a different repo than &lt;code&gt;origin&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Two details I like. The pull request check runs on &lt;code&gt;pull_request_target&lt;/code&gt;, so it can comment on a fork's PR, but it checks out only the base branch and reads the head README as data, never code. And the daily job keeps one empty commit on a &lt;code&gt;maintenance&lt;/code&gt; branch, so GitHub never pauses the Monday sweep after 60 quiet days.&lt;/p&gt;

&lt;p&gt;Why it matters: a new list starts with one command, and a fix reaches every list at its next run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Deploys that stop growing the repo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/omegajs-dev/omega" rel="noopener noreferrer"&gt;omega&lt;/a&gt; is my framework for shipping a website, backend, desktop app and browser extension from one project. Each deploy pushes a snapshot to a deploy ref, and every snapshot chained on the one before, so the mirror grew by a full copy per deploy.&lt;/p&gt;

&lt;p&gt;A change now on main (not in a release yet) re-roots that chain on GitHub's side before each deploy. Through the git data API, the deploy ref's tip becomes a parentless copy of its own tree, the push waits until the ref reads that root, and the new snapshot chains on it. The ref then holds one root, the latest snapshot, and any admin publish since. Nothing older.&lt;/p&gt;

&lt;p&gt;Why it matters: a deploy mirror should cost the same on deploy 500 as on deploy 5.&lt;/p&gt;

&lt;h2&gt;
  
  
  Node upgrades that cannot strand a terminal
&lt;/h2&gt;

&lt;p&gt;One private story, from the scripts that set up my machines. They used to move the default Node to the newest release as soon as it installed. If a global package then failed to install, every new terminal opened on a Node with missing tools.&lt;/p&gt;

&lt;p&gt;Now a new release becomes the default only once its global packages are in. A failed install leaves new terminals on the release that worked. Globals install only when missing or behind, so the package firewall I route npm through keeps its 133 MB binary between runs.&lt;/p&gt;

&lt;p&gt;Why it matters: an upgrade is stage first, then flip the pointer. Flip it first and a half-finished upgrade is the default.&lt;/p&gt;

&lt;p&gt;Next week I want the supervisor's two exit codes wired into how my agents react to a stuck run. What does your test runner do when a test never returns? Comments are open.&lt;/p&gt;

</description>
      <category>testing</category>
      <category>node</category>
      <category>opensource</category>
      <category>devops</category>
    </item>
    <item>
      <title>Dialogs don't need JavaScript anymore. Tabs still do.</title>
      <dc:creator>Ian</dc:creator>
      <pubDate>Wed, 18 Nov 2026 19:00:00 +0000</pubDate>
      <link>https://dev.to/ianwieds/dialogs-dont-need-javascript-anymore-tabs-still-do-1ip2</link>
      <guid>https://dev.to/ianwieds/dialogs-dont-need-javascript-anymore-tabs-still-do-1ip2</guid>
      <description>&lt;p&gt;I turned JavaScript off, opened a demo built to work without it, and went looking for the one thing that broke.&lt;/p&gt;

&lt;p&gt;I found it in the sidebar. The user's email address reads "[email protected]". The copy of the same page in its GitHub repo says &lt;code&gt;alex@example.com&lt;/code&gt;. Cloudflare rewrote the address on its way out and added the page's only &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; tag to decode it again.&lt;/p&gt;

&lt;p&gt;Everything else on the page worked. The demo is the example page for &lt;a href="https://github.com/alloyhtml/css" rel="noopener noreferrer"&gt;Alloy CSS&lt;/a&gt;, a stylesheet that hit 181 points on Show HN yesterday with a simple pitch: dialogs, menus and tabs that keep working with scripts off. The author, Fandy Pradana, ended his post with "Tell me where it breaks." So I did what he asked, and I think the answer draws a line every server-rendered app can use.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I clicked, with scripts off
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://alloyhtml.com/example.html" rel="noopener noreferrer"&gt;example&lt;/a&gt; is one screen of a made-up invoicing app: a sidebar, a table of invoices, a "New invoice" modal, five popover menus and drawers, tabs over four lists, a bulk action bar and a toast. I drove it with headless Chromium 151 through Playwright, JavaScript disabled for the whole session, and logged what each click did:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;script requests with JS off: 0
dialog open after click: true
page scroll locked: hidden
dialog open after Esc: false
range menu open: true
row ticked: true
bulk bar visible after tick: true
toast open: true
toast open after its close button: false
panels visible after Overdue: [false,true,false,false]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Zero script requests, so Cloudflare's decoder never loaded either. That's why the email stayed scrambled.&lt;/p&gt;

&lt;p&gt;None of this is a trick. The browser does the work, and the stylesheet styles it. A button opens a real &lt;code&gt;&amp;lt;dialog&amp;gt;&lt;/code&gt; with two attributes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"button"&lt;/span&gt; &lt;span class="na"&gt;commandfor&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"confirm"&lt;/span&gt; &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"show-modal"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Delete&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;dialog&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"confirm"&lt;/span&gt; &lt;span class="na"&gt;closedby&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"any"&lt;/span&gt; &lt;span class="na"&gt;class&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"dialog"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;...&lt;span class="nt"&gt;&amp;lt;/dialog&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The menus are &lt;code&gt;popover&lt;/code&gt; elements placed under their button with CSS anchor positioning (&lt;code&gt;position-area&lt;/code&gt;). The page stops scrolling behind the modal because of one rule, &lt;code&gt;html:has(dialog:modal)&lt;/code&gt;. The bulk bar appears because its wrapper matches &lt;code&gt;:has(input:checked)&lt;/code&gt; once you tick a row. The open animations come from &lt;code&gt;@starting-style&lt;/code&gt;. The whole kit is 164,694 bytes minified, about 23.5 KB gzipped by my measure, close to the 24 KB the README quotes.&lt;/p&gt;

&lt;h2&gt;
  
  
  The line is who owns the state
&lt;/h2&gt;

&lt;p&gt;Here's the part I think matters beyond this one library.&lt;/p&gt;

&lt;p&gt;Look at what each working part rests on. A dialog's &lt;code&gt;open&lt;/code&gt;. A popover's &lt;code&gt;:popover-open&lt;/code&gt;. A checkbox's &lt;code&gt;:checked&lt;/code&gt;. That's state the browser owns. It changes the state when you click, and it tells the accessibility tree about it, because those are native elements with native meaning. CSS only reads the state and paints.&lt;/p&gt;

&lt;p&gt;When HTML has no element for the job, CSS can still paint the right picture. What it can't do is change what the page &lt;em&gt;means&lt;/em&gt;. Meaning lives in roles and ARIA attributes, and a stylesheet can't write an attribute.&lt;/p&gt;

&lt;p&gt;So the rule I'd take from Alloy is this: &lt;strong&gt;if the browser owns the state, you don't need JavaScript anymore. If only ARIA can describe the state, you still do.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Dialogs, menus, drawers and disclosures fall on the first side now. Tabs fall on the second.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a screen reader gets
&lt;/h2&gt;

&lt;p&gt;Alloy's tabs are labels wrapped around radio buttons that share a name. Twelve generated &lt;code&gt;:has()&lt;/code&gt; rules show the panel at the same position as the checked radio, so a tab bar tops out at 12 tabs. It works with a mouse, and the arrow keys move between radios. Here's the accessibility tree Chromium built for the tab row after I clicked "Overdue":&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- radio "All 24"
- radio "Review them Overdue 3" [checked]
- radio "Paid 10"
- radio "Drafts 2"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Radios, not tabs. The author raised that one himself in the HN thread as the weak spot he knows about. The name on the second radio is one I haven't seen anyone mention. The "Review them" button in the overdue alert above the table isn't a button. It's a &lt;code&gt;&amp;lt;label for="tab-overdue"&amp;gt;&lt;/code&gt; styled to look like one, since a label can check a radio from elsewhere on the page with no script. So the button reads as plain text, and its words get glued onto the tab's name.&lt;/p&gt;

&lt;p&gt;The bulk bar has a related gap. In the thread, lopis pointed out that a screen reader user never learns the "Selected invoices" bar appeared. I checked: the bar carries no &lt;code&gt;role&lt;/code&gt; and no &lt;code&gt;aria-live&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;A real tab pattern needs &lt;code&gt;role="tab"&lt;/code&gt; and &lt;code&gt;aria-selected&lt;/code&gt; flipping as you move. Nothing in CSS can flip it. That's why tabs still need a script, however clever the stylesheet gets. Keithamus, who works on &lt;a href="https://open-ui.org/" rel="noopener noreferrer"&gt;Open UI&lt;/a&gt;, noted in the thread that &lt;code&gt;popover&lt;/code&gt; itself came out of that group. The fix for tabs looks the same: another native element, not a better hack.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where else it gets shaky
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Your browser floor is higher than the README's headline.&lt;/strong&gt; It lists Chrome 123, Firefox 125 and Safari 17.5 for the interactive parts, then says dialogs need &lt;code&gt;commandfor&lt;/code&gt;, which means Chrome 135, Firefox 144 and Safari 26.2. On older browsers the button that opens a dialog does nothing. The menus lean on &lt;code&gt;position-area&lt;/code&gt;, which MDN's compatibility data puts at Chrome 129, Firefox 147 and Safari 26. I didn't test where a menu lands in a browser without it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The checker checks names, not wiring.&lt;/strong&gt; Alloy's pitch for AI is a fixed class scale, an &lt;code&gt;llms.txt&lt;/code&gt; file, a Claude skill and &lt;code&gt;alloy-check&lt;/code&gt;, which lists every class the kit doesn't define. I wrote a test page using only kit classes, by my own tally against &lt;code&gt;alloy.css&lt;/code&gt;, with two wiring mistakes: a menu button with &lt;code&gt;popovertarget="sort-menu"&lt;/code&gt; pointing at &lt;code&gt;id="sort"&lt;/code&gt;, and a &lt;code&gt;&amp;lt;div class="dialog"&amp;gt;&lt;/code&gt; where a &lt;code&gt;&amp;lt;dialog&amp;gt;&lt;/code&gt; belongs. With scripts off, the menu never opened, and the fake dialog sat in plain view from the start. By its source, the checker only scans &lt;code&gt;class&lt;/code&gt; attributes, so it would pass that page. I read it; I didn't run it. An AI that writes valid classes on broken markup gets a pass.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The public tests cover the checker, not the CSS.&lt;/strong&gt; The repo's test folder holds one file with six tests, all for &lt;code&gt;alloy-check&lt;/code&gt;. Nothing in the public repo tests that a dialog opens or a panel shows.&lt;/p&gt;

&lt;p&gt;And the class names are plain (&lt;code&gt;.button&lt;/code&gt;, &lt;code&gt;.dialog&lt;/code&gt;, &lt;code&gt;.flex&lt;/code&gt;, &lt;code&gt;.hidden&lt;/code&gt;), so dropping it into an app with its own CSS will collide, which the README admits and the author confirmed in the thread. It's built for new projects.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;Open the &lt;a href="https://alloyhtml.com/example.html" rel="noopener noreferrer"&gt;example&lt;/a&gt;, then turn scripts off: in Chrome DevTools, press Cmd+Shift+P (Ctrl+Shift+P on Windows), type "Disable JavaScript" and reload. Click everything. Then open the accessibility pane on the tab row and see what it calls them.&lt;/p&gt;

&lt;p&gt;To use it, link one file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;link&lt;/span&gt; &lt;span class="na"&gt;rel&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"stylesheet"&lt;/span&gt; &lt;span class="na"&gt;href&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"https://cdn.jsdelivr.net/npm/@alloyhtml/css@1/dist/alloy.min.css"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If your app is server-rendered (Rails, Django, Laravel, htmx), the native parts are worth taking as they are. Spend your script, or at least your screen reader testing, where the browser has no element yet: tabs, and anything that should be heard when it appears.&lt;/p&gt;

&lt;p&gt;If browsers shipped one more native element next year, which one would delete the most JavaScript from your app?&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>opensource</category>
      <category>programming</category>
    </item>
    <item>
      <title>Agent ready isn't a docs folder. It's a scoreboard.</title>
      <dc:creator>Ian</dc:creator>
      <pubDate>Fri, 13 Nov 2026 19:00:00 +0000</pubDate>
      <link>https://dev.to/ianwieds/agent-ready-isnt-a-docs-folder-its-a-scoreboard-2nf4</link>
      <guid>https://dev.to/ianwieds/agent-ready-isnt-a-docs-folder-its-a-scoreboard-2nf4</guid>
      <description>&lt;p&gt;For 126 nights between March and September, a script at Meta handed the same UI tasks to fresh AI agents four ways (three on some nights): with Meta's open source design system, with that system plus Tailwind, with shadcn, and with plain HTML. Then it type-checked and scored what came back.&lt;/p&gt;

&lt;p&gt;Shadcn came out ahead on 67 of those nights.&lt;/p&gt;

&lt;p&gt;The design system is &lt;a href="https://github.com/meta/astryx" rel="noopener noreferrer"&gt;Astryx&lt;/a&gt;, and it was number one on GitHub trending on Tuesday (3,111 stars that day) with "agent ready" in its one-line pitch. The scores sit on its own public wiki. I think that ledger is the most agent-ready thing in the repo, and it's the reason I trust the rest of it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What "agent ready" looks like on disk
&lt;/h2&gt;

&lt;p&gt;In a &lt;a href="https://news.ycombinator.com/item?id=48793776" rel="noopener noreferrer"&gt;July HN thread&lt;/a&gt;, ildon asked the question I had: what makes this design system agent ready, compared to a traditional one? Their guess was the heavy commenting. So I installed it in a throwaway folder (version 0.7.12) and read the files.&lt;/p&gt;

&lt;p&gt;Every component carries a typed doc file. &lt;code&gt;Button.doc.mjs&lt;/code&gt; is 435 lines: props with types and defaults, do and don't rules, WCAG contrast targets for each state, a full example, and two overlays, one in Chinese and one called &lt;code&gt;docsDense&lt;/code&gt; that says the same things in fewer tokens. The core npm package ships 262 of these files, about 2.4 MB, inside &lt;code&gt;node_modules&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The CLI is what reads them. Nearly every command has a &lt;code&gt;--json&lt;/code&gt; mode, and an error comes back with a stable code and a guess:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="err"&gt;$&lt;/span&gt; &lt;span class="n"&gt;npx&lt;/span&gt; &lt;span class="n"&gt;astryx&lt;/span&gt; &lt;span class="n"&gt;component&lt;/span&gt; &lt;span class="n"&gt;Buttn&lt;/span&gt; &lt;span class="err"&gt;--&lt;/span&gt;&lt;span class="n"&gt;json&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"apiVersion"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"error"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"No component named \"Buttn\""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"code"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"ERR_UNKNOWN_COMPONENT"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"suggestions"&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="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Button"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"reason"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"similar name (distance 1)"&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="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"IconButton"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"reason"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"keyword \"button\" (distance 1)"&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 README promises those codes are append-only, so an agent can branch on them safely. &lt;code&gt;astryx manifest --json&lt;/code&gt; describes all 17 commands (43 counting subcommands) in one 90 KB payload. A &lt;code&gt;gap-report&lt;/code&gt; command even lets an agent draft an issue for the package that owns a missing feature; nothing gets filed without &lt;code&gt;--confirm-public&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Then &lt;code&gt;astryx init --features agents&lt;/code&gt; wrote two files into my project: a 29-line block between &lt;code&gt;ASTRYX:START&lt;/code&gt; and &lt;code&gt;ASTRYX:END&lt;/code&gt; markers in &lt;code&gt;AGENTS.md&lt;/code&gt;, and a &lt;code&gt;GEMINI.md&lt;/code&gt; that only imports it. (With a &lt;code&gt;CLAUDE.md&lt;/code&gt; in the project, it writes there too, since Claude Code skips &lt;code&gt;AGENTS.md&lt;/code&gt; in that case.) The block is a short workflow (start every page from a template), two setup imports, and six rules: no raw &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt;, no hex or px values, and so on.&lt;/p&gt;

&lt;p&gt;My favorite detail is a code comment in the generator, above the last rule. That rule is a "SELF-CHECK" telling the agent to re-read its file and swap raw markup for components. Per the comment, the other rules alone still left raw CSS in roughly 11 to 13% of complex runs, and the re-read pass cut that about four times. A line of prompt, with a measured effect written next to it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The test that grades the agent
&lt;/h2&gt;

&lt;p&gt;That measurement comes from &lt;code&gt;internal/vibe-tests&lt;/code&gt;. The default battery holds 70 prompts, things like a delete confirmation dialog with a destructive button. Each prompt lists the components a good answer should use, and the agent never sees that list. Every prompt gets a fresh agent with no prior context, and every target gets the same task text; only the system's name and the project folder change. Scoring is a script, not a model: five dimensions averaged with equal weight, where correctness starts at 100 and loses 15 points per TypeScript error.&lt;/p&gt;

&lt;p&gt;The wiki's &lt;a href="https://github.com/meta/astryx/wiki/Vibe-Test-Scores" rel="noopener noreferrer"&gt;score ledger&lt;/a&gt; has one row per nightly run. I tallied it with my own script:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;126 nightly runs, 2026-03-20 to 2026-09-01
best Astryx setup ahead of shadcn    46
shadcn ahead of both Astryx setups   67
level                                13

mean overall: Astryx 90.9, shadcn 94.6, plain HTML 81.3
Astryx ahead of plain HTML on 115 of 126 nights
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Astryx clearly beats raw HTML. Against shadcn it loses more often than it wins, and the losses are about correctness. Since late June the ledger also breaks Astryx's score into its five parts: on the 32 nights shadcn came out ahead, Astryx's correctness averaged 69, against 92 on the other 35. Its other four scores barely moved.&lt;/p&gt;

&lt;h2&gt;
  
  
  Docs can't outvote the training data
&lt;/h2&gt;

&lt;p&gt;The failure lists are the part worth reading. The nightly debugger posts them to one rolling issue, &lt;a href="https://github.com/meta/astryx/issues/3164" rel="noopener noreferrer"&gt;#3164&lt;/a&gt;. Agents wrote &lt;code&gt;onPress&lt;/code&gt; where Astryx wants &lt;code&gt;onClick&lt;/code&gt;. They wrote &lt;code&gt;gap="md"&lt;/code&gt; where it wants &lt;code&gt;gap={2}&lt;/code&gt;. They wrote &lt;code&gt;&amp;lt;Button&amp;gt;Save&amp;lt;/Button&amp;gt;&lt;/code&gt; where Astryx requires a &lt;code&gt;label&lt;/code&gt; prop, and &lt;code&gt;justify="space-between"&lt;/code&gt; where the value is &lt;code&gt;"between"&lt;/code&gt;. On August 29, the spacing strings and &lt;code&gt;onPress&lt;/code&gt; alone made 40 of the night's 44 type errors. The verdict in that entry, as in many others: the docs were correct.&lt;/p&gt;

&lt;p&gt;So the agents weren't missing the docs. They were writing the API they had seen everywhere else. Shadcn never has to teach an agent anything, because the model already knows it.&lt;/p&gt;

&lt;p&gt;A May issue, &lt;a href="https://github.com/meta/astryx/issues/2182" rel="noopener noreferrer"&gt;#2182&lt;/a&gt;, hit the same wall from the other side. A core contributor reported that agents who read the 12.5 KB dense theme doc scored 20% and 45% compliance on a separate benchmark, while one that skipped it and guessed scored 94%. The same issue noted that MUI and Ant Design score well there because their theme APIs are already in training data. Another contributor later couldn't reproduce the collapse (in his runs, no docs at all did worst), but a 3 KB version did the same job with about 80% fewer tokens. Today &lt;code&gt;astryx docs theme --dense&lt;/code&gt; prints 2.6 KB, with the depth moved to separate pages.&lt;/p&gt;

&lt;p&gt;Here's my claim. "Agent ready" can't just mean "we wrote docs for agents." Astryx's agent docs are more thorough than any I've read, and agents still type &lt;code&gt;onPress&lt;/code&gt;. It has to mean you know the distance between your API and what models already expect, prop by prop, and you pick a side each time: bend toward the habit, or keep your API and let the type checker teach. On the prop I checked, Astryx keeps its own: &lt;code&gt;label&lt;/code&gt; is still required on Button in 0.7.12. A scoreboard is the only honest way to see what that choice costs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it gets shaky
&lt;/h2&gt;

&lt;p&gt;The ledger's last row is September 1, and the newest nightly issue I found is from September 2. I can't tell from the repo whether the runs moved somewhere else or stopped.&lt;/p&gt;

&lt;p&gt;The scoring also cuts against strictness. Astryx's date input takes a string type shaped like &lt;code&gt;YYYY-MM-DD&lt;/code&gt;, so an agent's plain &lt;code&gt;string&lt;/code&gt; state fails the compile. A library typed with plain strings would accept the same code. Some of the gap is Astryx catching mistakes the other targets let through, and a score built on type errors counts both the same way.&lt;/p&gt;

&lt;p&gt;And the global install reaches into your agent setup. By its docs, it writes a skill file in the background on first run and links it into &lt;code&gt;~/.claude/skills&lt;/code&gt; and up to six other agents' folders; &lt;code&gt;astryx init --user --remove-agents&lt;/code&gt; turns that off. I only ran the CLI from inside a project, with &lt;code&gt;HOME&lt;/code&gt; pointed at a scratch folder, and no skill file showed up there.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @astryxdesign/cli search button
npx @astryxdesign/cli component Button --dense
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use the scoped name. The README warns that a bare &lt;code&gt;npx astryx&lt;/code&gt; resolves to an unrelated npm package until the CLI is installed.&lt;/p&gt;

&lt;p&gt;When an agent keeps writing &lt;code&gt;onPress&lt;/code&gt; against your component, is that a docs bug or an API bug?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>opensource</category>
      <category>javascript</category>
    </item>
    <item>
      <title>The best file in Topcoat is a list of its own bugs</title>
      <dc:creator>Ian</dc:creator>
      <pubDate>Thu, 12 Nov 2026 19:00:00 +0000</pubDate>
      <link>https://dev.to/ianwieds/the-best-file-in-topcoat-is-a-list-of-its-own-bugs-4l7l</link>
      <guid>https://dev.to/ianwieds/the-best-file-in-topcoat-is-a-list-of-its-own-bugs-4l7l</guid>
      <description>&lt;p&gt;Six entries. Each one is a bit of Rust that gives one answer on the server and a different answer in the browser.&lt;/p&gt;

&lt;p&gt;The file is &lt;code&gt;known-mismatches.toml&lt;/code&gt;, and it lives in the test suite of &lt;a href="https://github.com/tokio-rs/topcoat" rel="noopener noreferrer"&gt;Topcoat&lt;/a&gt;, the full-stack Rust framework from the Tokio project. It was on GitHub trending this week, 192 stars in one day. I read through its source, and that small file is why I'd trust it more than most tools that promise "write it once, run it on both sides".&lt;/p&gt;

&lt;h2&gt;
  
  
  What Topcoat does
&lt;/h2&gt;

&lt;p&gt;Topcoat renders every page on the server. A component is an async Rust function, so it can hit your database itself, with no API layer in the middle. Interactivity comes from signals and &lt;code&gt;$(...)&lt;/code&gt; expressions: plain, type-checked Rust that the server evaluates for the first render and that also gets translated to JavaScript, so the browser can run it again without a round trip. Nothing compiles to wasm, and there's no separate client build.&lt;/p&gt;

&lt;p&gt;This is the counter from the runtime docs, trimmed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight rust"&gt;&lt;code&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;count&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;signal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cx&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="mi"&gt;0usize&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kc"&gt;Ok&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;view!&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;button&lt;/span&gt; &lt;span class="nd"&gt;@click&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;$&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;_e&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="n"&gt;count&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;count&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="s2"&gt;"+1"&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="n"&gt;button&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="s2"&gt;"Count: "&lt;/span&gt; $&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;count&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&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="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="o"&gt;&amp;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 click never reaches the server. When you do need the server, you mark a component &lt;code&gt;#[shard]&lt;/code&gt; and it re-renders there whenever its arguments change, with the new HTML patched in place. It's MIT licensed, 0.12.0 shipped on November 9, and the README is upfront that it's experimental and the API will keep breaking. Getting started is &lt;code&gt;cargo install topcoat-cli&lt;/code&gt;, then &lt;code&gt;topcoat new&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I did not install it. This Mac has no Rust toolchain and the releases ship no binaries, so everything below about Topcoat comes from reading its source, docs and issues. The JavaScript I ran is my own.&lt;/p&gt;

&lt;h2&gt;
  
  
  One expression, two compilers
&lt;/h2&gt;

&lt;p&gt;Here's what happens to a &lt;code&gt;$(...)&lt;/code&gt; at build time. The macro walks the Rust syntax tree and writes two programs side by side: the Rust you wrote, typed against stand-in "surrogate" types, and a string of JavaScript that calls a matching set of TypeScript surrogates in the browser. &lt;code&gt;count.get() + 1&lt;/code&gt; stays a &lt;code&gt;+&lt;/code&gt; in Rust and becomes &lt;code&gt;.add(...)&lt;/code&gt; in the JavaScript. A Rust block becomes an arrow function that is called on the spot, since JavaScript has no block expressions. In the browser, the runtime turns the string into a function with &lt;code&gt;new Function&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;So every operation exists twice, and each browser copy has to fight JavaScript's defaults. &lt;code&gt;len()&lt;/code&gt; on a string can't use &lt;code&gt;.length&lt;/code&gt;, which counts UTF-16 units, so the browser encodes the string with &lt;code&gt;TextEncoder&lt;/code&gt; and counts bytes like Rust does. &lt;code&gt;trim()&lt;/code&gt; gets a hand-written whitespace class, because, as a comment in its source says, JavaScript's trim strips U+FEFF and keeps U+0085, the reverse of Rust. String comparison walks code points instead of UTF-16 units.&lt;/p&gt;

&lt;p&gt;I checked the JavaScript side of that in Node:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"\u{1f980}".length (plain JS):       2
UTF-8 bytes via TextEncoder:         4
"\uFEFFhi".trim().length (plain JS): 2
"\u0085hi".trim().length (plain JS): 3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A crab emoji is 2 long in plain JavaScript and 4 bytes in Rust. On the July launch thread on Hacker News, jdw64 guessed that &lt;code&gt;len()&lt;/code&gt; would come out different on the two sides. Today it doesn't, and a test pins it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The harness that keeps them honest
&lt;/h2&gt;

&lt;p&gt;That test lives in a crate called &lt;code&gt;coherence&lt;/code&gt;. You write &lt;code&gt;coherent!(text.len())&lt;/code&gt;. The harness compiles the expression once, runs the Rust in the test process and the generated JavaScript in V8 with the real browser runtime, then compares the two results down to float bits and negative zero. A panic in Rust has to be matched by a panic in JavaScript.&lt;/p&gt;

&lt;p&gt;The string tests push 22 awkward inputs (empty, a NUL byte, a combining accent, U+10FFFF, the crab) through every method and every pairwise comparison. By my count that is 4,488 cases from one test function, out of 68 test functions in the crate.&lt;/p&gt;

&lt;p&gt;The timeline is worth a look. In July, a user opened &lt;a href="https://github.com/tokio-rs/topcoat/issues/275" rel="noopener noreferrer"&gt;issue #275&lt;/a&gt; arguing that the two implementations could drift apart with no compiler error, and listed five bugs where they had. AmeinEskinder, who was behind four of the five, replied that one only surfaced under a differential test: a float that sits exactly between two short decimal spellings, a tie Rust and ECMAScript break in opposite directions. It turned up 3 times in the first 20,027 random doubles tested. The coherence crate landed on September 15.&lt;/p&gt;

&lt;h2&gt;
  
  
  Six things that still disagree
&lt;/h2&gt;

&lt;p&gt;A harness that only ever passes would be a nice badge. This one also records what fails. A known mismatch is a named case with the exact Rust result and the exact JavaScript result. If the two sides ever start agreeing, the test fails and tells you to delete the entry. The six today:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A captured &lt;code&gt;NaN&lt;/code&gt;, or a captured infinity, reaches the browser as unit, since JSON has no non-finite numbers (two entries).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Some(())&lt;/code&gt; reads as &lt;code&gt;None&lt;/code&gt; in JavaScript, which uses &lt;code&gt;undefined&lt;/code&gt; for both.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;return&lt;/code&gt; inside an &lt;code&gt;if&lt;/code&gt; returns from the wrong function.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;break&lt;/code&gt; or &lt;code&gt;continue&lt;/code&gt; inside an &lt;code&gt;if&lt;/code&gt; doesn't compile in the browser at all (two entries).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;code&gt;return&lt;/code&gt; case is the one I'd watch, because it fails quietly. &lt;code&gt;{ if true { return 1.0; } 2.0 }&lt;/code&gt; is 1.0 in Rust and 2.0 in the browser. The &lt;code&gt;if&lt;/code&gt; and the block each become an arrow function, so &lt;code&gt;return&lt;/code&gt; leaves the inner one and the outer one carries on. I rebuilt that shape by hand, with plain values in place of the surrogates:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;lowered&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;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;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="mf"&gt;1.0&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;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="k"&gt;return&lt;/span&gt; &lt;span class="mf"&gt;2.0&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="nf"&gt;lowered&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="c1"&gt;// 2&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;break&lt;/code&gt; version throws &lt;code&gt;SyntaxError: Illegal break statement&lt;/code&gt; in Node, the same string the baseline file records. A known bug in a file beats a known bug in someone's head: the next person to touch the compiler trips over it on purpose.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the harness can't see
&lt;/h2&gt;

&lt;p&gt;The harness docs are clear about its limits. It compares final values, not clicks, rendered HTML or side effects. And since both sides run surrogate types, agreement proves the server and browser match each other, not that either one matches ordinary Rust.&lt;/p&gt;

&lt;p&gt;Some bugs fall outside it. &lt;a href="https://github.com/tokio-rs/topcoat/issues/543" rel="noopener noreferrer"&gt;Issue #543&lt;/a&gt;: capture a &lt;code&gt;&amp;amp;i32&lt;/code&gt; in a click handler and it compiles fine, then throws in the browser, because numbers there have no &lt;code&gt;deref&lt;/code&gt;. &lt;a href="https://github.com/tokio-rs/topcoat/issues/484" rel="noopener noreferrer"&gt;Issue #484&lt;/a&gt;: &lt;code&gt;new Function&lt;/code&gt; counts as eval, so a page needs &lt;code&gt;'unsafe-eval'&lt;/code&gt; in its Content Security Policy, and a strict policy blocks every reactive expression. Both are open. The vocabulary is also small on purpose. There's no &lt;code&gt;match&lt;/code&gt;, and the operator list in the macro source has no &lt;code&gt;&amp;amp;&amp;amp;&lt;/code&gt; or &lt;code&gt;||&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;pikaju, who wrote most of the commits, was blunt in #275: the current system is flawed, and "In my opinion we shipped it prematurely." The goal described there is a small language for flipping a class, setting a signal or calling a procedure, not client-side Rust. That is the bar to judge it by, and the coherence suite is how they hold it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ask for the mismatch list
&lt;/h2&gt;

&lt;p&gt;Every tool that runs one source in two places makes the same promise. Topcoat is the first one I've read that ships the receipts: a test that runs both sides, and a file that names where they still split. If you're choosing a layer like that, for Rust or anything else, ask to see its list. No list doesn't mean no mismatches.&lt;/p&gt;

&lt;p&gt;Have you hit a case where your server and your browser computed the same thing differently, and how long did it take you to notice?&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>opensource</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Your CI should cut the release, not your laptop</title>
      <dc:creator>Ian</dc:creator>
      <pubDate>Wed, 11 Nov 2026 20:00:00 +0000</pubDate>
      <link>https://dev.to/ianwieds/your-ci-should-cut-the-release-not-your-laptop-9li</link>
      <guid>https://dev.to/ianwieds/your-ci-should-cut-the-release-not-your-laptop-9li</guid>
      <description>&lt;p&gt;This one covers November 3 to 10. The week was about one question: can an AI agent on a throwaway cloud machine ship the way I do from my desk? Most of the answer landed in my workflow kit. The rest went into a Windows bug class in a CLI I maintain, and into a new private tool that designs shirts with exactly one language-model call.&lt;/p&gt;

&lt;h2&gt;
  
  
  A cloud session hit three walls on the way to a release
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/itw-creative-works/workkit" rel="noopener noreferrer"&gt;workkit&lt;/a&gt; is my workflow kit for Claude Code: GitHub issues as the work list, labels as the pipeline, hooks that enforce the rules. On my Mac, "ship" means a work commit, a release commit, a push to main, green CI, then a GitHub release.&lt;/p&gt;

&lt;p&gt;Then I ran the same loop in a Claude Code cloud session, and it stopped halfway. It hit three walls:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The branch.&lt;/strong&gt; The session is pinned to its own &lt;code&gt;claude/&amp;lt;name&amp;gt;&lt;/code&gt; branch and may not push anywhere else. So the commits never reached main, and CI, which runs on pull requests and on pushes to main, never started.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GraphQL.&lt;/strong&gt; The session's GitHub proxy answered REST calls but refused a GraphQL check with a 403.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Releases.&lt;/strong&gt; The proxy refuses every release write. I probed a tag push later: also a 403.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The first two were plumbing. Version 0.91 ships cloud work through one pull request carrying the work commit and the release commit, merged with a merge commit, so the CHANGELOG's commit links still resolve on main. The kit's &lt;code&gt;gh&lt;/code&gt; shim already answered issue commands over REST in the cloud; now it answers &lt;code&gt;gh pr&lt;/code&gt; and &lt;code&gt;gh release view&lt;/code&gt; the same way.&lt;/p&gt;

&lt;p&gt;The third wall changed the design. My first answer was a queue: a cloud ship leaves its release waiting, and the next ship from a machine cuts every version that is missing one. It worked, but it meant two paths, and a release that waited on me opening a laptop.&lt;/p&gt;

&lt;p&gt;So in 0.92, no machine makes the release. CI does.&lt;/p&gt;

&lt;p&gt;Each repo's &lt;code&gt;checks.yml&lt;/code&gt; is now a short caller the kit owns, pointing at one reusable workflow in the kit. Its &lt;code&gt;release&lt;/code&gt; job runs on a push to the default branch. It reads every commit the push brought, finds each &lt;code&gt;chore(release): x.y.z&lt;/code&gt; subject with no release yet, builds the notes from the CHANGELOG at that commit with the old cut's own code, and creates the &lt;code&gt;vx.y.z&lt;/code&gt; release there. Because it reads the whole pushed range, a pull request merge whose second parent holds the release commit counts too. &lt;code&gt;workkit ship cut&lt;/code&gt; now only waits for the release to appear. That is a read, and the cloud allows reads.&lt;/p&gt;

&lt;p&gt;One detail I did not see coming: a release created with the Actions token starts no other workflow. So after it creates one, the job dispatches every workflow in the repo that listens for releases and accepts a manual run, and it warns about any that does not.&lt;/p&gt;

&lt;p&gt;Why it matters: a laptop and a cloud agent now release through the same door, and neither one creates the release anymore.&lt;/p&gt;

&lt;p&gt;One more piece made cloud runs honest. A suite can declare the commands it needs with &lt;code&gt;needs('hugo', 'ffmpeg')&lt;/code&gt;. In a cloud session missing one, the suite is skipped with a line naming the tool; anywhere else, it fails. &lt;code&gt;workkit tools&lt;/code&gt; prints the list, so a cloud setup knows what to install.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quoting is a loop you never win
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/itw-creative-works/node-power-user" rel="noopener noreferrer"&gt;node-power-user&lt;/a&gt; (npu) is my npm wrapper; it routes installs through Socket Firewall. It had two Windows bugs this week, and the second taught me something.&lt;/p&gt;

&lt;p&gt;The first was a hang. In Git Bash's terminal, the command npu ran through the firewall got a stdin pipe that never closed, so it waited forever. Now it gets npu's stdin only when that is a terminal or a redirected file.&lt;/p&gt;

&lt;p&gt;The second was arguments. Version 2.3.1 fixed a path with a backslash, tilde or space by double-quoting it for cmd.exe instead of single-quoting it. About five hours later I threw that approach out. Any quoting scheme is a guess about how cmd.exe will read &lt;code&gt;%VAR%&lt;/code&gt;, &lt;code&gt;&amp;amp;&lt;/code&gt;, &lt;code&gt;|&lt;/code&gt;, &lt;code&gt;&amp;lt;&lt;/code&gt;, &lt;code&gt;&amp;gt;&lt;/code&gt; and inner quotes, and every guess has an edge. Version 2.3.2 stops building a shell string at all. npu spawns the binary with an argument array, so each argument arrives exactly as typed.&lt;/p&gt;

&lt;p&gt;The same class was hiding in &lt;code&gt;npu sync&lt;/code&gt;, which commits and pushes for you. It ran &lt;code&gt;git commit&lt;/code&gt; as one shell string, so a commit message with a quote, a &lt;code&gt;$&lt;/code&gt;, a backtick or a &lt;code&gt;&amp;amp;&lt;/code&gt; could run a command. Version 2.3.3 hands git an argument list instead.&lt;/p&gt;

&lt;p&gt;workkit got the same kind of fix on Windows the same week. Every program its Node code starts now goes through one launcher: &lt;code&gt;gh&lt;/code&gt; through the shim, bash through Git Bash and never WSL, no argument globbing.&lt;/p&gt;

&lt;p&gt;Why it matters: escaping fixes one input. Not having a shell in the path fixes the class.&lt;/p&gt;

&lt;h2&gt;
  
  
  The model picks, the scripts finish
&lt;/h2&gt;

&lt;p&gt;The private story this week is a new design engine for print-on-demand shirts. It has no public page yet, so no link. It landed as one commit of 96 files.&lt;/p&gt;

&lt;p&gt;It runs as a short pipeline: research a keyword, plan a collection, generate the artwork, finish the print files, build a review gallery. Exactly one language-model call happens, in the plan step. It picks the subjects, a style, a brand name and all the listing copy in one reply, which is checked before anything is saved: every product exists, the copy fits its limits, the keyword came from the research and is not a trademark hit. A bad reply gets one retry with the errors attached; a second stops the run with every error listed. Then an image model draws one picture per design, with no text in it.&lt;/p&gt;

&lt;p&gt;Everything after that is deterministic. The finish step strips the background, snaps the colors to a small flat palette, traces the result to SVG, and composes the print file on a page sized to the product's canvas. Any words on a shirt are typeset by a template, never drawn by the model, so the spelling is exact. A trademark register the check cannot reach reads &lt;code&gt;unchecked&lt;/code&gt;, never &lt;code&gt;clear&lt;/code&gt;. Uploads stay by hand.&lt;/p&gt;

&lt;p&gt;Why it matters: the model does the part that needs taste. The scripts do the part that has to be right every time, and they can be tested like any other code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Small but satisfying
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Deploys that carry only the diff.&lt;/strong&gt; &lt;a href="https://github.com/omegajs-dev/omega" rel="noopener noreferrer"&gt;omega&lt;/a&gt; 0.57.0 shipped. Its deploy snapshot is now parented on the deploy ref's remote tip and pushed without force, so a deploy push carries only what changed since the last one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A copy button with no JavaScript.&lt;/strong&gt; The same release makes any element with &lt;code&gt;data-omega-copy&lt;/code&gt; a copy control, and its &lt;code&gt;llms.txt&lt;/code&gt; is now an llmstxt.org-style brand summary.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Next week I want to watch a cloud session take a real release all the way through the new CI job. If you let an agent ship software, who creates the release in your setup: the agent, a person, or CI? Comments are open.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>github</category>
      <category>devops</category>
      <category>opensource</category>
    </item>
    <item>
      <title>I fed one tarball to 8 tar readers and got 5 different folders</title>
      <dc:creator>Ian</dc:creator>
      <pubDate>Wed, 11 Nov 2026 19:00:00 +0000</pubDate>
      <link>https://dev.to/ianwieds/i-fed-one-tarball-to-8-tar-readers-and-got-5-different-folders-2me2</link>
      <guid>https://dev.to/ianwieds/i-fed-one-tarball-to-8-tar-readers-and-got-5-different-folders-2me2</guid>
      <description>&lt;p&gt;The file is 4,096 bytes. Eight blocks of 512.&lt;/p&gt;

&lt;p&gt;I extracted it with the &lt;code&gt;tar&lt;/code&gt; that ships on my Mac, and a two-byte file came out 512 bytes long. Its first eight characters spell &lt;code&gt;smuggled&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The archive comes from Harmen Stoppels, who wrote up &lt;a href="https://stoppels.ch/2026/11/07/the-hardest-tarball.html" rel="noopener noreferrer"&gt;The Hardest Tarball?&lt;/a&gt; last week and collects cases like it in a test suite called &lt;a href="https://github.com/haampie/tar-minefield" rel="noopener noreferrer"&gt;tar-minefield&lt;/a&gt;. I ran his case through every tar reader I had on hand. None of them crashed. They just disagreed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's inside the 4 KB
&lt;/h2&gt;

&lt;p&gt;The case is F35 in the suite, and its page on &lt;a href="https://stoppels.ch/tar/F35.html" rel="noopener noreferrer"&gt;the project site&lt;/a&gt; lays out every block. In order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A regular file &lt;code&gt;a&lt;/code&gt; holding &lt;code&gt;a\n&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;A pax extended header with one record: &lt;code&gt;size=512&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;A hardlink &lt;code&gt;h&lt;/code&gt; pointing at &lt;code&gt;a&lt;/code&gt;. Its own header says size 0, but the pax record before it says 512.&lt;/li&gt;
&lt;li&gt;A header for an empty file named &lt;code&gt;smuggled&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The two zero blocks that end the archive.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So the whole fight is over block 4. If a hardlink can carry data, those 512 bytes belong to &lt;code&gt;h&lt;/code&gt;. If it can't, they're the header of a third file. POSIX says data for a hardlink "may be included" (Stoppels quotes that line in his post), and stops there. It doesn't say what the data should do.&lt;/p&gt;

&lt;p&gt;His post builds a cousin of this archive with a single GNU tar command. I don't have GNU tar on this Mac, so I used the suite's own file and checked it against the hash on the case page: &lt;code&gt;9cda45a9...07760&lt;/code&gt;, a match.&lt;/p&gt;

&lt;h2&gt;
  
  
  Eight readers, one Mac
&lt;/h2&gt;

&lt;p&gt;Each reader got its own empty folder. For Python I used &lt;code&gt;tarfile&lt;/code&gt; with &lt;code&gt;filter="data"&lt;/code&gt;, the mode the project's matrix lists for pip. For Go I wrote a 39-line extractor on top of the standard &lt;code&gt;archive/tar&lt;/code&gt; reader, so the framing is Go's and the file writing is mine. node-tar and tar-fs went into a throwaway folder through npm. The rest were already installed.&lt;/p&gt;

&lt;p&gt;Here's what landed on disk:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;reader                      a       h          smuggled
macOS tar (bsdtar 3.5.3)    512 B   512 B      -
Python tarfile 3.15.2       2 B     2 B        0 B
Perl Archive::Tar 2.38      2 B     2 B        0 B
Go archive/tar 1.23.5       2 B     2 B        0 B
node-tar 7.5.22             2 B     2 B        -
tar-fs 3.1.3                2 B     2 B        -
PHP PharData 8.5.12         2 B     0 B (*)    0 B
RubyGems 4.0.3              2 B     -          0 B
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(*) PHP made &lt;code&gt;h&lt;/code&gt; a separate empty file, not a link.&lt;/p&gt;

&lt;p&gt;Five different trees. The macOS one is the strangest, so I looked inside:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ xxd x-bsdtar/a | head -1
00000000: 736d 7567 676c 6564 0000 0000 0000 0000  smuggled........
$ cmp &amp;lt;(dd if=F35.tar bs=512 skip=5 count=1 2&amp;gt;/dev/null) x-bsdtar/a &amp;amp;&amp;amp; echo same
same
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;bsdtar took the pax size at its word, read the next 512 bytes as the hardlink's content, and wrote them through the link. Since &lt;code&gt;h&lt;/code&gt; and &lt;code&gt;a&lt;/code&gt; are one file, the original &lt;code&gt;a\n&lt;/code&gt; is gone. In its place: the header block of a file that, for bsdtar, never existed.&lt;/p&gt;

&lt;p&gt;One detail surprised me more than the table. Python and Go both report &lt;code&gt;h&lt;/code&gt; with a size of 512. Then they read the very next block as a header anyway. They see the claim and set it aside.&lt;/p&gt;

&lt;p&gt;My results match the site's matrix for the readers we share, though my bsdtar (3.5.3), Perl module (2.38) and RubyGems (4.0.3) are older than the versions listed there. Go is the exception: the site tests containerd's extractor, and I used the bare standard library. The site has 24 rows for this case, and four reject it outright: .NET's &lt;code&gt;System.Formats.Tar&lt;/code&gt;, Julia's &lt;code&gt;Tar.jl&lt;/code&gt;, uv's &lt;code&gt;tar-codec&lt;/code&gt;, and live-bootstrap's &lt;code&gt;untar&lt;/code&gt; (unless it's run with &lt;code&gt;--non-strict&lt;/code&gt;).&lt;/p&gt;

&lt;h2&gt;
  
  
  The bug lives between two readers
&lt;/h2&gt;

&lt;p&gt;Here's the claim I want to make. Most of these readers aren't broken in a way you could file a clean bug about. Each picks a reading of a loose spec, and most of the readings are defensible. The danger shows up when two of them sit in the same pipeline.&lt;/p&gt;

&lt;p&gt;Picture an upload service that scans archives with Python's &lt;code&gt;tarfile&lt;/code&gt;, hashes each member, and approves the bundle. Then a build step on a Mac unpacks it with the system &lt;code&gt;tar&lt;/code&gt;. The scanner approved an &lt;code&gt;a&lt;/code&gt; holding two bytes. The disk has 512 bytes it never hashed. Flip the pair and a node-based tool never sees &lt;code&gt;smuggled&lt;/code&gt;, while a Python installer writes it.&lt;/p&gt;

&lt;p&gt;The project README names exactly this: a scanner and an extractor built on different implementations can be looking at different files. Its catalogue of ambiguities also files this case's family next to real advisories for tokio-tar, tar-rs and node-tar.&lt;/p&gt;

&lt;p&gt;So the question for your own stack isn't "is my tar library correct?" It's "do all the places that read this archive agree?"&lt;/p&gt;

&lt;h2&gt;
  
  
  Strict is cheaper than it sounds
&lt;/h2&gt;

&lt;p&gt;Stoppels thinks rejecting is the best outcome, even if it bends POSIX. Not everyone in the &lt;a href="https://news.ycombinator.com/item?id=50441338" rel="noopener noreferrer"&gt;HN thread&lt;/a&gt; agreed. One commenter (molticrystal) said they'd always rather get something out of a damaged archive than nothing. Another (rwmj) suggested two modes: refuse anything odd from untrusted uploads, salvage what you can from your own corrupted backup. A third (stabbles) described tar as a format with two jobs, backup and software distribution, that want opposite threat models.&lt;/p&gt;

&lt;p&gt;That split feels right to me. If you're installing software or accepting uploads, reject. And the cost is measured, not guessed. The case page says this shape turned up in none of the 82,586 release tarballs scanned from Spack, nixpkgs, Guix, PyPI, crates.io, RubyGems and live-bootstrap. The README says the project's whole default policy still accepts 99.80% of them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check your own pipeline today
&lt;/h2&gt;

&lt;p&gt;The suite ships a checker that takes any extract command. The README shows it like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python -I suite/check.py -- tar -xf &lt;span class="s1"&gt;'{archive}'&lt;/span&gt; -C &lt;span class="s1"&gt;'{dest}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I didn't run it. It's code from a clone, and for a post I only run my own scripts. I read it instead: it extracts each case into its own temp folder and flags anything written outside it.&lt;/p&gt;

&lt;p&gt;What I did run is a stopgap for this one case, in eleven lines:&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;import&lt;/span&gt; &lt;span class="n"&gt;sys&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;tarfile&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;check&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;tarfile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getmembers&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="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;islnk&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;issym&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="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"reject: {m.name!r} is a link that claims {m.size} bytes of data"&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"ok"&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;sys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;argv&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&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="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{p}: {check(p)}"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;in/F35.tar: reject: 'h' is a link that claims 512 bytes of data
in-own/clean.tar: ok
in-npm/tar-7.5.22.tgz: ok
in-npm/tar-fs-3.1.3.tgz: ok
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;clean.tar&lt;/code&gt; is one I made with macOS tar from a file, a hardlink to it and an empty file. It works because Python reports the 512 even while ignoring it. It's a tripwire for one of the suite's 134 cases, not a policy. For real coverage, run the checker, or put a strict reader at the front of the pipeline.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rough edges
&lt;/h2&gt;

&lt;p&gt;This is a working draft, and it says so: verdicts carry a "draft" label, and new cases are still landing (an open PR adds 54). The repo is heavy, about 127 MB by GitHub's count. My shallow clone stalled, so I pulled the files I needed through the API. I also couldn't test GNU tar, BusyBox, 7-Zip, Java, .NET, Rust or Julia here; for those, the numbers above are the site's, not mine.&lt;/p&gt;

&lt;p&gt;Which tar reader unpacks things in your deploy path, and is it the same one your scanner uses?&lt;/p&gt;

</description>
      <category>programming</category>
      <category>opensource</category>
      <category>javascript</category>
      <category>discuss</category>
    </item>
    <item>
      <title>AI agents don't see your page. They read its accessibility tree.</title>
      <dc:creator>Ian</dc:creator>
      <pubDate>Tue, 10 Nov 2026 19:00:00 +0000</pubDate>
      <link>https://dev.to/ianwieds/ai-agents-dont-see-your-page-they-read-its-accessibility-tree-2me8</link>
      <guid>https://dev.to/ianwieds/ai-agents-dont-see-your-page-they-read-its-accessibility-tree-2me8</guid>
      <description>&lt;p&gt;My product's homepage carries 105,866 bytes of HTML in its &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; once the browser has built it.&lt;/p&gt;

&lt;p&gt;An AI agent got 81 lines of it. Each line is a role, a name in quotes, and a short ref like &lt;code&gt;e29&lt;/code&gt; to act on. No colors, no layout, no hero animation.&lt;/p&gt;

&lt;p&gt;That is what &lt;a href="https://github.com/vercel-labs/agent-browser" rel="noopener noreferrer"&gt;agent-browser&lt;/a&gt; hands a model instead of a screenshot, and it changed what I think "making a site work for agents" means. It mostly means the accessibility work we were already supposed to be doing.&lt;/p&gt;

&lt;h2&gt;
  
  
  A browser driven one shell command at a time
&lt;/h2&gt;

&lt;p&gt;agent-browser is a Rust CLI from Vercel Labs, Apache-2.0. It was #6 on GitHub trending on November 10 with 775 stars that day, and the GitHub API showed 49,056 stars when I checked that morning. Version 0.42.0 shipped the day before.&lt;/p&gt;

&lt;p&gt;The model works in a loop: open a page, take a snapshot, act on a ref, snapshot again. A background daemon starts on the first command and keeps Chrome open over the DevTools Protocol, so every step is one short call:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm install -g agent-browser
agent-browser open example.com
agent-browser snapshot -i
&lt;span class="c"&gt;# - link "Learn more" [ref=e1]&lt;/span&gt;
agent-browser click @e1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The snapshot is Chrome's accessibility tree, trimmed. The &lt;code&gt;-i&lt;/code&gt; flag keeps the interactive elements plus named headings and landmarks; the full tree adds the text. The 0.42.0 changelog says the bundled skill now tells agents to prefer snapshots and take a screenshot only when asked, or when the DOM can't represent what's on screen. So the default view of your site is built from the tree Chrome builds for screen readers.&lt;/p&gt;

&lt;h2&gt;
  
  
  What my two sites look like to it
&lt;/h2&gt;

&lt;p&gt;I ran the binary from the 0.42.0 release (its SHA-256 matched the release digest) in a throwaway folder, pointed at my installed Chrome instead of letting it download Chrome for Testing. Then I opened my own sites.&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;Body HTML&lt;/th&gt;
&lt;th&gt;Full snapshot&lt;/th&gt;
&lt;th&gt;&lt;code&gt;snapshot -i&lt;/code&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;somiibo.com&lt;/td&gt;
&lt;td&gt;105,866 bytes&lt;/td&gt;
&lt;td&gt;10,431 bytes&lt;/td&gt;
&lt;td&gt;3,425 bytes, 81 refs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ianwiedenman.com&lt;/td&gt;
&lt;td&gt;35,557 bytes&lt;/td&gt;
&lt;td&gt;1,861 bytes&lt;/td&gt;
&lt;td&gt;900 bytes, 28 lines&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That is roughly a thirtieth of the markup for the interactive view, which is the real pitch for an agent: fewer tokens per step, and a handle it can act on without guessing a CSS selector.&lt;/p&gt;

&lt;p&gt;Both sites passed the test I cared about. Every button and link had a name. The nav reads &lt;code&gt;button "Platforms"&lt;/code&gt;, &lt;code&gt;link "Pricing"&lt;/code&gt;, &lt;code&gt;button "Download"&lt;/code&gt;. The platform cards read as one link each, with the card's whole text as the name. The 13 project logos on my personal site came through as &lt;code&gt;link "Somiibo"&lt;/code&gt;, &lt;code&gt;link "Slapform"&lt;/code&gt; and so on, because each &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; carries alt text.&lt;/p&gt;

&lt;p&gt;Two small blemishes showed up. The whitespace beside an inline SVG icon survives into the name (&lt;code&gt;link " Download free"&lt;/code&gt;, &lt;code&gt;button "Language "&lt;/code&gt;). And the agent sees a heading written as "My projects" as &lt;code&gt;"MY PROJECTS"&lt;/code&gt;, because CSS uppercases it.&lt;/p&gt;

&lt;p&gt;I clicked Pricing by its ref. The click returned in 0.03 seconds and &lt;code&gt;get url&lt;/code&gt; said &lt;code&gt;/pricing&lt;/code&gt;. The snapshot I took right after said &lt;code&gt;(no interactive elements)&lt;/code&gt;: the new page hadn't finished loading. After &lt;code&gt;wait --load networkidle&lt;/code&gt; it had 109 refs. The README says to snapshot again after navigation, and the 0.42.0 skill tells agents to wait and retry when an expected element is missing. Now I know why.&lt;/p&gt;

&lt;h2&gt;
  
  
  Then I wrote the page I was afraid of
&lt;/h2&gt;

&lt;p&gt;Two clean pages tell you little about the failures. I wrote a nine-line checkout page with mistakes that are common on real sites, and took the same snapshot:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- heading "Checkout" [level=1, ref=e111]
- button "Add to cart" [ref=e112]
- button [ref=e113]
- generic "Pay now" [ref=e114] clickable [onclick]
- link [ref=e115]
- textbox "Email" [ref=e116]
- textbox "Email" [ref=e117]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Line by line:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An icon button with an &lt;code&gt;aria-label&lt;/code&gt; reads "Add to cart". The same button without one reads &lt;code&gt;button&lt;/code&gt;, and nothing else. A model can click it. It can't know what it is without a screenshot.&lt;/li&gt;
&lt;li&gt;A cart icon linked as &lt;code&gt;&amp;lt;a&amp;gt;&amp;lt;img&amp;gt;&amp;lt;/a&amp;gt;&lt;/code&gt; with no alt text reads &lt;code&gt;link&lt;/code&gt;. Same problem.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;&amp;lt;div onclick&amp;gt;&lt;/code&gt; that says "Pay now" got a ref anyway. agent-browser runs its own scan for things that look clickable (pointer cursor, &lt;code&gt;onclick&lt;/code&gt;, &lt;code&gt;tabindex&lt;/code&gt;, editable) and adds them as &lt;code&gt;clickable&lt;/code&gt;. That's a patch over the page's semantics.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;&amp;lt;span&amp;gt;&lt;/code&gt; with only &lt;code&gt;cursor: pointer&lt;/code&gt;, labeled "Apply coupon", didn't make it. The text shows up in the full tree, but it has no ref.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;&amp;lt;details&amp;gt;&lt;/code&gt; toggle, "Shipping options", got no ref either. That one is a known bug, &lt;a href="https://github.com/vercel-labs/agent-browser/issues/2294" rel="noopener noreferrer"&gt;issue #2294&lt;/a&gt;: &lt;code&gt;&amp;lt;summary&amp;gt;&lt;/code&gt; shows as a disclosure triangle with no handle.&lt;/li&gt;
&lt;li&gt;An input with only a placeholder and one with a real label read the same, &lt;code&gt;textbox "Email"&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The audit and the agent disagree
&lt;/h2&gt;

&lt;p&gt;agent-browser bundles axe-core, so I ran &lt;code&gt;agent-browser a11y&lt;/code&gt; on the same page. It found 7 violations, and the two critical ones were exactly the unnamed button and the image link. Good overlap.&lt;/p&gt;

&lt;p&gt;The differences are the interesting part. Axe raised nothing about the &lt;code&gt;&amp;lt;div onclick&amp;gt;&lt;/code&gt;, which a keyboard user can't reach, while the agent got a ref for it through the cursor scan. Axe raised nothing about the &lt;code&gt;&amp;lt;summary&amp;gt;&lt;/code&gt;, a native HTML control, while the agent had no ref for it. A clean audit doesn't mean a clean agent view, and the reverse holds too.&lt;/p&gt;

&lt;p&gt;Here's my claim. The accessible name is the interface. A button's name is what a screen reader says, what Playwright's &lt;code&gt;getByRole&lt;/code&gt; matches, and now what a model reads before it decides where to click. agent-browser's heuristics will paper over some gaps, but each patch has an edge: &lt;a href="https://github.com/vercel-labs/agent-browser/issues/2246" rel="noopener noreferrer"&gt;issue #2246&lt;/a&gt; points out that its clickable scan doesn't look inside shadow roots, so a &lt;code&gt;&amp;lt;div onclick&amp;gt;&lt;/code&gt; in a web component gets nothing. Semantic HTML has no such edge. If you expect agents to book, buy or file a ticket on your site, the cheapest step isn't an "agent API". It's a name on every control.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rough edges I hit
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;open&lt;/code&gt; timed out after 25 seconds on both of my sites while waiting for the load event. The page was usable anyway and the snapshots worked. I'd guess a slow third-party script, but I didn't trace it.&lt;/li&gt;
&lt;li&gt;My first command failed: the session socket path would have been 174 bytes, past the 103-byte limit the error named, because my scratch folder sits deep in &lt;code&gt;/private/tmp&lt;/code&gt;. The error said so and named &lt;code&gt;AGENT_BROWSER_SOCKET_DIR&lt;/code&gt; as the fix, which worked.&lt;/li&gt;
&lt;li&gt;The npm package unpacks to 133 MB by npm's own count. My install crawled, so I stopped it once the macOS binary had landed and checked that file against the release digest.&lt;/li&gt;
&lt;li&gt;Refs are numbered per session and never reused, so mine started at &lt;code&gt;e83&lt;/code&gt; on the second site. That's by design (the docs say ids are never recycled within a session), but it reads oddly in a transcript.&lt;/li&gt;
&lt;li&gt;Open issues and PRs stand at 558. One filed on November 10, &lt;a href="https://github.com/vercel-labs/agent-browser/issues/2540" rel="noopener noreferrer"&gt;#2540&lt;/a&gt;, reports the daemon hanging on every command under 0.42.0 on Linux. I didn't hit it on macOS.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it on your own page
&lt;/h2&gt;

&lt;p&gt;The no-install route is &lt;code&gt;npx agent-browser open &amp;lt;your-url&amp;gt;&lt;/code&gt;, then &lt;code&gt;snapshot -i&lt;/code&gt;. &lt;code&gt;agent-browser install&lt;/code&gt; fetches Chrome for Testing, or point &lt;code&gt;AGENT_BROWSER_EXECUTABLE_PATH&lt;/code&gt; at a Chrome you already have, as I did. Read the output as if it were all you knew about your site. Every bare &lt;code&gt;button&lt;/code&gt; or &lt;code&gt;link&lt;/code&gt; is a control a model has to guess at.&lt;/p&gt;

&lt;p&gt;When you ran it, what was the first control on your page that came back with no name?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>opensource</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Taste can't be linted. The tells can.</title>
      <dc:creator>Ian</dc:creator>
      <pubDate>Fri, 30 Oct 2026 18:00:00 +0000</pubDate>
      <link>https://dev.to/ianwieds/taste-cant-be-linted-the-tells-can-1ah4</link>
      <guid>https://dev.to/ianwieds/taste-cant-be-linted-the-tells-can-1ah4</guid>
      <description>&lt;p&gt;My product's homepage has six top-level headings. Every one has a small pill or a line of capitals above it, and every one ends on a word set in italic serif.&lt;/p&gt;

&lt;p&gt;I didn't notice until I pointed a design lint's rules at the page. Two of the pills say phrases that appear word for word in the lint's source code.&lt;/p&gt;

&lt;p&gt;The lint ships inside &lt;a href="https://github.com/Nutlope/hallmark" rel="noopener noreferrer"&gt;Hallmark&lt;/a&gt;, and it changed how I think about the "AI slop" complaint. You can't write a test for taste. You can write one for the tells.&lt;/p&gt;

&lt;h2&gt;
  
  
  A design skill with a script behind it
&lt;/h2&gt;

&lt;p&gt;Hallmark is an MIT-licensed skill for Claude Code, Codex, Cursor and OpenCode, made by Hassan El Mghari (Nutlope) at Together AI. Version 2 (2.0.0 in its package.json) was merged on October 22. It was #1 on GitHub trending on Tuesday with 2,830 stars that day, and the GitHub API showed 39,048 stars when I checked that evening.&lt;/p&gt;

&lt;p&gt;Most design skills are a long prompt. This one is a prompt plus machinery. &lt;code&gt;SKILL.md&lt;/code&gt; opens with a 16-rule Floor no build may break, then a flow: read the project, ask once for real material, deal three themes, build and review the hero alone, then sweep the page. There are 50 themes (I counted 50 files and 50 preview images). The rules live in &lt;code&gt;references/gates.md&lt;/code&gt;, and the checker is &lt;code&gt;scripts/sloplint.mjs&lt;/code&gt;: 4,422 lines, zero dependencies, Node 18 and up.&lt;/p&gt;

&lt;p&gt;Install is one line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx skills add nutlope/hallmark &lt;span class="nt"&gt;-g&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The tells, written down as rules
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;gates.md&lt;/code&gt; is the file worth reading. It lists 90 numbered gates, each with a tier and a class. Floor gates never ship. Reflex gates are a model's defaults, and a build may waive one in a CSS comment with a real reason. Class M means the static script can settle it from CSS and markup; R needs a real browser; J is judgment at review time. I counted 45 M gates and 9 judged only.&lt;/p&gt;

&lt;p&gt;The named tells read like things most of us have shipped: the eyebrow (a short line announcing the heading under it), the tracked-caps label, one coloured word in a headline, middle dots between meta items, a form that says "Thanks" while sending nothing. Four are "house rules" (the eyebrow, tracked caps, an 80-words-per-screen budget, template punctuation), which sit in the Floor with no waiver.&lt;/p&gt;

&lt;p&gt;What sold me is how literal the script gets. This is how it decides a gradient is purple-to-blue:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;purple&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;stops&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;some&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;h&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;hueIn&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;h&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;265&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;330&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;blue&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;stops&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;some&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;h&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;hueIn&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;h&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;264&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
&lt;span class="c1"&gt;// ...&lt;/span&gt;
&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;purple&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nx"&gt;blue&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;purple-to-blue&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each stop is converted to OKLCH first, and only counts with chroma above 0.04, so a grey wash passes. &lt;code&gt;transition: all&lt;/code&gt; is one regex. A tracked-caps label is uppercase, small caps or letter-spacing past 0.03em on anything named like a label (&lt;code&gt;badge&lt;/code&gt;, &lt;code&gt;meta&lt;/code&gt;, &lt;code&gt;nav&lt;/code&gt;, &lt;code&gt;caption&lt;/code&gt; and about twenty more) or set at 15px or under. An eyebrow is a short line before a heading with a class like &lt;code&gt;kicker&lt;/code&gt; or &lt;code&gt;badge&lt;/code&gt;, two style signals, or one of a fixed list of announcing phrases. It reads Tailwind class strings in &lt;code&gt;.jsx&lt;/code&gt;, &lt;code&gt;.tsx&lt;/code&gt;, &lt;code&gt;.vue&lt;/code&gt;, &lt;code&gt;.svelte&lt;/code&gt; and &lt;code&gt;.astro&lt;/code&gt; files too, including &lt;code&gt;cn()&lt;/code&gt; and &lt;code&gt;clsx()&lt;/code&gt; calls.&lt;/p&gt;

&lt;h2&gt;
  
  
  I ran five of the rules on my own homepage
&lt;/h2&gt;

&lt;p&gt;I didn't run sloplint. It's downloaded code, and I don't execute that for a post. I read the functions, ported five checks to about 100 lines of Python, and ran them on the HTML and CSS of somiibo.com, my product's homepage. The CSS is one 217 KB bundle: Bootstrap 5.3.6, then the site's own layer. My scripts print one line per finding; here is the tally:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;transition: all          16 rules (15 site layer, 1 inline)
animated height/width     2 (Bootstrap's own .collapsing)
purple-to-blue gradient   7 rules, 2 in use (hero, pills)
tracked capitals          0
middle-dot strings        0
eyebrows                  6 above 6 headings
accented word             6 of 6 headings
focus styles              present (passes)
overflow-x: clip          missing on html and body
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The headings stung. Each h1 and h2 wraps its last word or two in &lt;code&gt;&amp;lt;span class="text-accent"&amp;gt;&lt;/code&gt;, an italic serif: "Grow your social media on &lt;em&gt;autopilot&lt;/em&gt;", "Unlock your growth &lt;em&gt;potential&lt;/em&gt;". Each also has an eyebrow: capitals over the h1, a pill over every h2. Two pills say "How it works" and "Get started", both on the lint's list.&lt;/p&gt;

&lt;p&gt;The gradient is less clear-cut. The hero uses an eight-stop rainbow with &lt;code&gt;#a166ab&lt;/code&gt; (hue 322 by my conversion) and &lt;code&gt;#5073b8&lt;/code&gt; (263) in it, so the rule calls it purple-to-blue, though no person would. The textbook case, &lt;code&gt;#5b47fb&lt;/code&gt; to &lt;code&gt;#00d4ff&lt;/code&gt;, sits in the same stylesheet, unused on this page. The static tier reads rules, not usage.&lt;/p&gt;

&lt;p&gt;The passes were real: no positive letter-spacing anywhere, no text joining items with two middle dots, and focus styles exist.&lt;/p&gt;

&lt;p&gt;I tried ianwiedenman.com too. Above my name sits "Hello, I'm" in a &lt;code&gt;&amp;lt;p class="text-uppercase tracking-widest"&amp;gt;&lt;/code&gt;, an eyebrow asking for tracked caps. But &lt;code&gt;tracking-widest&lt;/code&gt; is a Tailwind class on a Bootstrap site, and neither of its stylesheets defines it, so the browser draws plain capitals. The glow behind it is three radial gradients whose custom properties are named &lt;code&gt;--grad-purple-x&lt;/code&gt;, &lt;code&gt;--grad-cyan-x&lt;/code&gt; and &lt;code&gt;--grad-pink-x&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a lint beats a paragraph of taste
&lt;/h2&gt;

&lt;p&gt;Here's my claim. "Make it look premium" in a prompt is a wish. A model can agree with it and has no way to check its output against it. "No stop between hue 265 and 330 beside one between 200 and 264" is a test. It fails a build, names a line, and doesn't get tired.&lt;/p&gt;

&lt;p&gt;There's evidence this matters. In September a user, ktlesr, posted &lt;a href="https://github.com/Nutlope/hallmark/issues/74" rel="noopener noreferrer"&gt;a measurement in issue #74&lt;/a&gt; on an earlier version: four landing-page briefs built with and without the skill, scored by pattern checks. Pure black or white appeared on 40 of 40 pages without it and 14 of 28 with it. &lt;code&gt;transition: all&lt;/code&gt; didn't drop (14 of 40 against 16 of 28). Their reading: that rule lived in a reference file the model never opened.&lt;/p&gt;

&lt;p&gt;Version 2 reads like the answer. &lt;code&gt;transition: all&lt;/code&gt; is now rule 2 of the Floor, in the file that always loads, and rule 16 tells the agent to run sloplint, when Node is available, and fix every FAIL before handing back. A rule in prose can be skipped. A script with an exit code can't, as long as something runs it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where a lint stops
&lt;/h2&gt;

&lt;p&gt;A lint on tells is a floor, not a design. Strip the eyebrows and italic words from my homepage and it avoids a dozen mistakes, but it still has no idea of its own. Builds pushed away from the same defaults can also converge on a new shared look. In a &lt;a href="https://news.ycombinator.com/item?id=49058547" rel="noopener noreferrer"&gt;July HN thread&lt;/a&gt;, mstkllah said design skills like this all end up in the same place unless you are very explicit. Hallmark's answer sits outside the lint: themes dealt from fifty, a log of past builds the deal avoids, and a reviewer subagent that reads the page cold. That part is judgment, and I didn't test it.&lt;/p&gt;

&lt;p&gt;Some rules are opinions. "Never an eyebrow" and "never tracked caps" are house rules, so no waiver. A magazine that sets section labels in spaced small caps on purpose is breaking the Floor.&lt;/p&gt;

&lt;p&gt;One rough edge in the source: &lt;code&gt;--tier&lt;/code&gt; isn't validated. Pass &lt;code&gt;--tier Floor&lt;/code&gt; with a capital F and the filter matches nothing, so the run prints clean and exits 0. &lt;a href="https://github.com/Nutlope/hallmark/pull/93" rel="noopener noreferrer"&gt;PR #93&lt;/a&gt; reported it and was closed unmerged; the commit I read (6033bab) still does it. My own checks were static only. The fold and anything measured on the rendered page need the render tier, which needs Chrome and &lt;code&gt;puppeteer-core&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it on a page you already have
&lt;/h2&gt;

&lt;p&gt;After the install, &lt;code&gt;/hallmark audit ./index.html&lt;/code&gt; reports without redesigning anything. From a clone, the bare lint is &lt;code&gt;node skills/hallmark/scripts/sloplint.mjs index.html&lt;/code&gt;. I haven't run either; I read the source and reproduced a few checks by hand.&lt;/p&gt;

&lt;p&gt;One detail I liked: the photo library is 755 openly licensed pictures on Wikimedia Commons, credited on the page. The README says it skips Unsplash, Pexels and Pixabay because their terms bar AI tools from picking their images.&lt;/p&gt;

&lt;p&gt;Which of these tells is on your own homepage right now, and is it there on purpose?&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>opensource</category>
      <category>discuss</category>
    </item>
    <item>
      <title>A spec is only ground truth if the agent can grep it</title>
      <dc:creator>Ian</dc:creator>
      <pubDate>Thu, 29 Oct 2026 18:00:00 +0000</pubDate>
      <link>https://dev.to/ianwieds/a-spec-is-only-ground-truth-if-the-agent-can-grep-it-i70</link>
      <guid>https://dev.to/ianwieds/a-spec-is-only-ground-truth-if-the-agent-can-grep-it-i70</guid>
      <description>&lt;p&gt;Most of my repos have an AGENTS.md. It tells the agent how the project works, what not to touch, and why.&lt;/p&gt;

&lt;p&gt;On any given turn, I could not tell you whether the agent read it.&lt;/p&gt;

&lt;p&gt;That is the quiet problem with "spec-driven" setups. The spec is usually one big markdown file, and the agent may or may not open it. JetBrains has a project out with a different bet, and it is the most interesting part of a launch most people are arguing about for other reasons.&lt;/p&gt;

&lt;h2&gt;
  
  
  What ThinkRail is
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/JetBrains/thinkrail" rel="noopener noreferrer"&gt;ThinkRail&lt;/a&gt; is an agentic IDE from a JetBrains incubator, Apache-2.0, written in TypeScript. It wraps the &lt;code&gt;pi&lt;/code&gt; coding agent (version 1.4.0, pinned in the root &lt;code&gt;package.json&lt;/code&gt;) in a desktop or browser app. Each workspace is a git worktree, you can run several pi sessions per workspace, and there is a Monaco editor, diffs and review comments around them.&lt;/p&gt;

&lt;p&gt;The repo was created on July 8 and had 4,038 stars when I checked on Tuesday evening. It was on GitHub trending with 1,204 stars in a day, and the HN thread "JetBrains Thinkrail" had 239 points and 174 comments. The latest stable release is v0.2.0 from October 18; nightlies have reached 0.3.0-nightly.7.&lt;/p&gt;

&lt;p&gt;Worktrees and tabs are not new. The README calls the other part "living specs", and that is the part I read closely.&lt;/p&gt;

&lt;h2&gt;
  
  
  A spec with an address
&lt;/h2&gt;

&lt;p&gt;In ThinkRail, a spec is a &lt;code&gt;SPEC.md&lt;/code&gt; file that sits beside the code it describes. Every one starts with a small YAML header. Here is the real header of the module that implements the whole feature, &lt;code&gt;packages/spec-graph/SPEC.md&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="nn"&gt;---&lt;/span&gt;
&lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;module-spec-graph&lt;/span&gt;
&lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;module-design&lt;/span&gt;
&lt;span class="na"&gt;status&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;active&lt;/span&gt;
&lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Spec-Graph pi extension&lt;/span&gt;
&lt;span class="na"&gt;parent&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;architecture&lt;/span&gt;
&lt;span class="na"&gt;depends-on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[]&lt;/span&gt;
&lt;span class="na"&gt;tags&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;spec-graph&lt;/span&gt;&lt;span class="pi"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;pi-extension&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
&lt;span class="nn"&gt;---&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;id&lt;/code&gt; is the address. &lt;code&gt;parent&lt;/code&gt; points one level up, &lt;code&gt;depends-on&lt;/code&gt; points sideways. The types run from &lt;code&gt;goal-and-requirements&lt;/code&gt; at the root down through &lt;code&gt;architecture-design&lt;/code&gt;, &lt;code&gt;module-design&lt;/code&gt; and &lt;code&gt;submodule-design&lt;/code&gt;, plus a temporary &lt;code&gt;task-spec&lt;/code&gt;. Maciej Gorywoda's &lt;a href="https://thinkrail.ai/blog/thinkrail-sdd/" rel="noopener noreferrer"&gt;post on the ThinkRail blog&lt;/a&gt; lays out the same header and suggests starting with nothing more than that and a paragraph in AGENTS.md.&lt;/p&gt;

&lt;p&gt;The agent gets seven tools for this graph: &lt;code&gt;spec_grep&lt;/code&gt;, &lt;code&gt;spec_get&lt;/code&gt;, &lt;code&gt;spec_graph&lt;/code&gt;, &lt;code&gt;spec_create&lt;/code&gt;, &lt;code&gt;spec_update&lt;/code&gt;, &lt;code&gt;spec_delete&lt;/code&gt; and &lt;code&gt;spec_validate&lt;/code&gt;. &lt;code&gt;spec_get&lt;/code&gt; returns a node's header, its resolved links and its path, but not the body; the agent reads the body with the normal &lt;code&gt;read&lt;/code&gt; tool. &lt;code&gt;spec_graph&lt;/code&gt; returns a bounded slice: a subtree, the ancestors, or the neighbors of one node.&lt;/p&gt;

&lt;p&gt;There is no database behind it. The spec says the filesystem is the source of truth. Each read re-scans the tree, re-parses only the files whose modification time or size changed, and skips folders like &lt;code&gt;.claude&lt;/code&gt; and &lt;code&gt;.superpowers&lt;/code&gt;, where other assistants leave plans with spec-shaped headers that are not this project's specs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lookup beats loading
&lt;/h2&gt;

&lt;p&gt;Here is the claim I want to argue. A spec is only ground truth if the agent can look it up the same way it looks up code. A README is something you hope gets loaded. A graph with ids and a grep tool is something the agent can query.&lt;/p&gt;

&lt;p&gt;The difference shows up as soon as a project gets big. ThinkRail's own spec graph is about 290,000 words. Nobody wants that in every prompt. But the agent never needs all of it. It needs the spec next to the file it is editing, that spec's parent, and whatever the parent says it depends on. With ids and &lt;code&gt;spec_graph&lt;/code&gt;, that is one or two calls, and the rest stays out of context.&lt;/p&gt;

&lt;p&gt;That is also how it gets the rule in front of the agent. The extension hooks pi's &lt;code&gt;before_agent_start&lt;/code&gt; event and adds a short named section to the system prompt on every run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nx"&gt;pi&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;on&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;before_agent_start&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;event&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;event&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;systemPromptOptions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;sections&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;SPEC_SECTION&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;SPEC_RULE&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 rule opens with "Specs are this project's ground truth." What surprised me is the next line. It does not say "read the specs first." It says to consult the relevant spec when the work touches a documented boundary, contract or decision, and that localized work need not read unrelated specs. The repo's own AGENTS.md says the same under the heading "Read context proportionally." The blog post's sample AGENTS.md paragraph is stricter and says to read specs before code. The shipped tool picked cheap lookup over a forced read.&lt;/p&gt;

&lt;h2&gt;
  
  
  It uses it on itself
&lt;/h2&gt;

&lt;p&gt;The best evidence for the idea is that the ThinkRail repo is built this way. I counted the files ending in &lt;code&gt;SPEC.md&lt;/code&gt; through the GitHub API on Tuesday at 6:28 PM PT: 105, plus the two root docs, &lt;code&gt;goal-and-requirements.md&lt;/code&gt; and &lt;code&gt;architecture.md&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I downloaded all 107 and ran a short Python script over their headers, a rough version of what &lt;code&gt;spec_validate&lt;/code&gt; checks. These are my script's numbers, laid out by hand:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;specs with id + type        107 of 107
duplicate ids               0
dangling parent links       0
depends-on links            124, 0 dangling
types                       75 submodule, 30 module, 1 architecture, 1 goal
status                      93 active, 14 draft
deepest parent chain        5 links
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A clean graph is one thing. Is it current? For each of the 89 specs with no other spec below them, I asked GitHub for the spec's last commit and then for every later commit that touched its folder. For 64 of them, nothing in the folder has changed since the spec did. 24 had one to four later commits, and one, &lt;code&gt;apps/web/scripts&lt;/code&gt;, had ten. A commit count is a rough proxy (a dependency bump may need no spec change, and a fresh spec can still be wrong), but it says the team edits specs in the same change as the code, most of the time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it bends
&lt;/h2&gt;

&lt;p&gt;The graph only keeps context small if the nodes stay small. The project's own writing-specs skill says a spec should be readable in one sitting. Its median spec is about 10 KB. Its largest, &lt;code&gt;apps/web/src/panels/SPEC.md&lt;/code&gt;, is 212 KB and 30,640 words under three headings, and 176 of the 593 commits on main have touched it. Seven specs are over 50 KB, which matters because pi's &lt;code&gt;read&lt;/code&gt; tool returns at most 2,000 lines or 50 KB per call (I checked that in pi's published &lt;code&gt;read.js&lt;/code&gt;, not in a session). So "the nearest spec is one call away" is true for most of the graph and false for the parts that change most.&lt;/p&gt;

&lt;p&gt;The tools also stop at the header. &lt;code&gt;spec_update&lt;/code&gt; edits frontmatter only, and the prose is still written with the agent's ordinary &lt;code&gt;write&lt;/code&gt; and &lt;code&gt;edit&lt;/code&gt;. Nothing checks that the prose still matches the code.&lt;/p&gt;

&lt;p&gt;And the HN pushback is fair. One commenter on HN argued that agents don't really read anything: a spec gets pulled into context at random and dropped again at random. Another dismissed the specs themselves as machine-written filler. I can't tell who wrote them. A rule in the system prompt makes reading likely, not certain, and ThinkRail's own rule tells the agent it can skip specs for local work. That is a sensible trade, but it is a trade.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it today
&lt;/h2&gt;

&lt;p&gt;The README's install for macOS and Linux is one line, &lt;code&gt;curl -fsSL https://raw.githubusercontent.com/JetBrains/thinkrail/main/install.sh | bash&lt;/code&gt;, then &lt;code&gt;thinkrail ~/code/my-repo&lt;/code&gt;. There is also a DMG on the releases page. I did not install it. The README says you need git and a model provider, that the macOS CLI is signed but not yet notarized, and that basic usage events and error reports are always sent. Once a repo is open, the Specs tool on the right rail shows the graph as a tree.&lt;/p&gt;

&lt;p&gt;You don't need the IDE to try the idea, though. Give each module a &lt;code&gt;SPEC.md&lt;/code&gt; with an &lt;code&gt;id&lt;/code&gt;, a &lt;code&gt;type&lt;/code&gt;, a &lt;code&gt;title&lt;/code&gt; and a &lt;code&gt;parent&lt;/code&gt;, and add a paragraph to AGENTS.md saying where the specs live and when to read them. Plain &lt;code&gt;grep -r "^id:"&lt;/code&gt; gets you a crude index today.&lt;/p&gt;

&lt;p&gt;So here is what I want to know. How do you keep the agent reading the spec after the first session: a rule in every prompt, a tool it has to call, or a check that fails when the spec and the code disagree?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
      <category>opensource</category>
    </item>
    <item>
      <title>On macOS, your terminal's bottleneck is a 1 KiB read</title>
      <dc:creator>Ian</dc:creator>
      <pubDate>Wed, 28 Oct 2026 21:00:00 +0000</pubDate>
      <link>https://dev.to/ianwieds/on-macos-your-terminals-bottleneck-is-a-1-kib-read-27no</link>
      <guid>https://dev.to/ianwieds/on-macos-your-terminals-bottleneck-is-a-1-kib-read-27no</guid>
      <description>&lt;p&gt;I asked macOS for a megabyte. It gave me a kilobyte. Then it did that 4,095 more times.&lt;/p&gt;

&lt;p&gt;That was a twelve-line Python script on my Mac last night, reading from a pseudo-terminal: the same device every terminal app reads your shell's output from. No terminal app involved, just the kernel.&lt;/p&gt;

&lt;p&gt;I ran it because of &lt;a href="https://ghostty.org/docs/install/release-notes/1-4-0" rel="noopener noreferrer"&gt;Ghostty 1.4&lt;/a&gt;, released Oct 27 (753 points and 226 comments on HN at 6:30 PM PT that day). Its release notes credit this ceiling for the biggest speed win. I didn't install Ghostty, so every Ghostty number below is the maintainers' benchmark. The kernel part I checked myself.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 1 KiB ceiling, reproduced
&lt;/h2&gt;

&lt;p&gt;A child process writes 4 MiB to a pty in one call. The parent reads with a 1 MiB buffer and counts what each read returns:&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="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;pty&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;collections&lt;/span&gt;
&lt;span class="n"&gt;N&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;1024&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;1024&lt;/span&gt;                &lt;span class="c1"&gt;# 4 MiB
&lt;/span&gt;&lt;span class="n"&gt;pid&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;fd&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;pty&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;fork&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;pid&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;                       &lt;span class="c1"&gt;# child: one big write to the pty
&lt;/span&gt;    &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;write&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sa"&gt;b&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;x&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;N&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;_exit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;sizes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;collections&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Counter&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt; &lt;span class="n"&gt;t0&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;time&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="bp"&gt;True&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;try&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;read&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fd&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1024&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;1024&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;# parent: ask for 1 MiB at a time
&lt;/span&gt;    &lt;span class="k"&gt;except&lt;/span&gt; &lt;span class="nb"&gt;OSError&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;break&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;break&lt;/span&gt;
    &lt;span class="n"&gt;sizes&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sizes&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;values&lt;/span&gt;&lt;span class="p"&gt;()),&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;reads; sizes&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sizes&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;; %.2fs&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;time&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;t0&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;What I got on macOS 26.7.1, Apple Silicon, Python 3.15, three of five runs in a row (the other two matched):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;4096 reads; sizes {1024: 4096} ; 0.04s
4096 reads; sizes {1024: 4096} ; 0.03s
4096 reads; sizes {1024: 4096} ; 0.04s
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every read, exactly 1,024 bytes. The buffer size doesn't matter. Then I swapped the pty for a plain pipe (&lt;code&gt;os.pipe()&lt;/code&gt; plus &lt;code&gt;os.fork()&lt;/code&gt;, same loop): 64 reads, every one 65,536 bytes. Same data, same machine, 64 times fewer trips into the kernel.&lt;/p&gt;

&lt;p&gt;The read counts never moved, run after run. The timings did: 0.03 s on a quiet machine, up to 0.47 s while other work was running. So trust the counts, not my clock.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a small read costs more than it looks
&lt;/h2&gt;

&lt;p&gt;A kilobyte per read is not slow by itself. My script did 4,096 of them in a few hundredths of a second. The cost shows up when you do real work after each one.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://github.com/ghostty-org/ghostty/pull/13209" rel="noopener noreferrer"&gt;pull request behind the fix&lt;/a&gt; spells out what Ghostty used to do: one loop that read from the pty, then processed what it read, then read again. Each pass paid fixed costs (taking the terminal lock, waking the renderer) no matter how few bytes came in. And while the loop was busy parsing, nobody was draining the pty, so the program producing the output, &lt;code&gt;cat&lt;/code&gt; say, had to wait for room in the kernel's queue.&lt;/p&gt;

&lt;p&gt;Two problems, one cause: a single thread doing two jobs.&lt;/p&gt;

&lt;p&gt;I wanted to feel that, so I wrote a toy. The child writes 4 MiB and reports how long its write was stuck. The parent fakes a "parse" with a 100 microsecond sleep. In one mode it parses after every read, on the same thread. In the other, a reader thread only drains the pty into a queue, and a second thread takes whatever has piled up and parses it as one batch. Seven runs each:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;one 4096 reads; 4096 parses; writer blocked 0.599s; all parsed 0.60s
two 4096 reads;  253 parses; writer blocked 0.041s; all parsed 0.04s
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That pair is typical. Across the seven pairs, one thread kept the writer stuck for 0.59 to 1.15 s. Two threads freed it in 0.04 to 0.11 s, with 233 to 443 batches instead of 4,096 parses.&lt;/p&gt;

&lt;p&gt;Don't read 15x into that. My fake parse costs the same per call no matter the size, so batching erases it. Real parsing costs something per byte too, which is why Ghostty measured 25% to 55% more I/O throughput on macOS (M4 Max, against 1.3.x), not 15x. Combined with a much faster parser in the same release, the maintainers report &lt;code&gt;cat&lt;/code&gt; of a 150 MB file going from 1.5 s to 566 ms.&lt;/p&gt;

&lt;h2&gt;
  
  
  The claim: suspect the read loop first
&lt;/h2&gt;

&lt;p&gt;Here is what I take from it. When a terminal chokes on heavy output, the instinct is to blame the terminal: its renderer, its parser, its language. On macOS, look at the read loop first. The PR says the Ghostty team had been happy to find 2% gains in this subsystem in recent years. Then 25% to 55% turned up in how the loop met a 1 KiB pipe.&lt;/p&gt;

&lt;p&gt;The cap belongs to the kernel, so it hits anything that reads a pty on macOS: multiplexers, test runners that capture output through a pty, &lt;code&gt;expect&lt;/code&gt;-style scripts, editor terminals. I haven't checked how any of those read. But any loop that reads, does real work, then reads again pays its overhead every kilobyte and keeps the writer waiting. The fix is not clever. Split the draining from the processing.&lt;/p&gt;

&lt;p&gt;In the PR, Mitchell Hashimoto says he chose the old design in 2023 believing reads are usually small. They are, he writes now, because the kernel cuts them that way.&lt;/p&gt;

&lt;h2&gt;
  
  
  The other half: memory
&lt;/h2&gt;

&lt;p&gt;The second change is scrollback. Ghostty 1.4 compresses scrollback pages you aren't looking at, while the terminal is idle, and decompresses them when you scroll or search. The notes claim 70% to 90% less resident memory for text-heavy history, so the default scrollback limit went from 10 MB to 50 MB per terminal.&lt;/p&gt;

&lt;p&gt;Smaller numbers from the same notes: an empty terminal's page memory on macOS is about 16 KiB, down from 128 KiB. Hidden tabs now give back their GPU resources. With 20 hidden tabs and one visible, GPU memory went from about 385 MiB to 18 MiB.&lt;/p&gt;

&lt;p&gt;Two caveats: compression only runs on macOS and 64-bit Linux, and it lowers resident memory, not virtual, so measure the right one.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to try today
&lt;/h2&gt;

&lt;p&gt;Install from &lt;a href="https://ghostty.org/download" rel="noopener noreferrer"&gt;ghostty.org/download&lt;/a&gt;. On a Mac, an existing install picks up the update through its built-in updater. Homebrew's cask still listed 1.3.1 when I checked on the evening of Oct 27.&lt;/p&gt;

&lt;p&gt;Two commands worth a minute:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ghostty +ssh user@host               &lt;span class="c"&gt;# installs Ghostty's terminfo on the remote, forwards COLORTERM and friends&lt;/span&gt;
ghostty +explain-config font-size    &lt;span class="c"&gt;# prints the docs for one option, paged&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;+ssh&lt;/code&gt; targets the usual cause of odd behavior over SSH, a complaint repeated in the HN thread: the remote doesn't know &lt;code&gt;xterm-ghostty&lt;/code&gt;. If the terminfo install fails, it falls back to &lt;code&gt;xterm-256color&lt;/code&gt;. The &lt;a href="https://ghostty.org/docs/features/ssh" rel="noopener noreferrer"&gt;SSH docs&lt;/a&gt; show how to alias plain &lt;code&gt;ssh&lt;/code&gt; to it.&lt;/p&gt;

&lt;p&gt;The breaking change that will bite Mac users: &lt;code&gt;copy-on-select&lt;/code&gt; now defaults to &lt;code&gt;none&lt;/code&gt; on macOS, so selecting text copies nothing, and middle-click paste of a selection stops working. To get 1.3's behavior back:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="n"&gt;copy&lt;/span&gt;-&lt;span class="n"&gt;on&lt;/span&gt;-&lt;span class="n"&gt;select&lt;/span&gt; = &lt;span class="n"&gt;primary&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use &lt;code&gt;clipboard&lt;/code&gt; if you want selections to land on the system clipboard instead. Also on macOS, &lt;code&gt;cmd+up&lt;/code&gt; and &lt;code&gt;cmd+down&lt;/code&gt; jump between prompts again rather than scrolling to the top and bottom.&lt;/p&gt;

&lt;p&gt;Update even if you don't care about speed. The release fixes 10 security advisories. The one I'd flag: with zsh shell integration, a crafted directory name could make the shell send arbitrary escape sequences when you &lt;code&gt;cd&lt;/code&gt; into it, for example quietly replacing your clipboard (&lt;a href="https://github.com/ghostty-org/ghostty/security/advisories/GHSA-2r63-vmw6-3m3c" rel="noopener noreferrer"&gt;GHSA-2r63-vmw6-3m3c&lt;/a&gt;). Cloning a repo is enough to get such a directory.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it falls short
&lt;/h2&gt;

&lt;p&gt;Linux users on older distros lose out. The GTK app now needs GTK 4.18 and libadwaita 1.7, which rules out Ubuntu 24.04 LTS. The notes point those users to the Flatpak or an older Ghostty.&lt;/p&gt;

&lt;p&gt;Commenters on HN pushed back, too. One won't leave Kitty until Ghostty has something like Kitty's hints mode. One on NixOS said launch takes seconds, and the launch gains in this release are macOS only. One iTerm2 user on an M1 MacBook Pro tested 1.4 and saw no difference. That one is fair: the pty win shows up under heavy output, and most terminal days aren't that. The thread's recurring question, why build another terminal at all, has an answer in Mitchell Hashimoto's own comment: the reusable core, libghostty, is the point.&lt;/p&gt;

&lt;h2&gt;
  
  
  Your turn
&lt;/h2&gt;

&lt;p&gt;The 1 KiB number is a macOS fact. The PR says Linux still needs checking. If you run the script above on Linux, what read sizes does your pty give you?&lt;/p&gt;

</description>
      <category>programming</category>
      <category>productivity</category>
      <category>opensource</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
