<?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: Shinobi Iwa</title>
    <description>The latest articles on DEV Community by Shinobi Iwa (@lksxyz).</description>
    <link>https://dev.to/lksxyz</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%2F4257559%2Fc552dcd7-1517-4758-ad2f-73021f260381.jpg</url>
      <title>DEV Community: Shinobi Iwa</title>
      <link>https://dev.to/lksxyz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lksxyz"/>
    <language>en</language>
    <item>
      <title>I built a browser museum of dead operating systems with Kiro</title>
      <dc:creator>Shinobi Iwa</dc:creator>
      <pubDate>Sat, 21 Nov 2026 15:43:53 +0000</pubDate>
      <link>https://dev.to/lksxyz/i-built-a-browser-museum-of-dead-operating-systems-with-kiro-2f00</link>
      <guid>https://dev.to/lksxyz/i-built-a-browser-museum-of-dead-operating-systems-with-kiro-2f00</guid>
      <description>&lt;p&gt;A 1985 GEM desktop, a multi-user DOS, Plan 9, a LISP in 512 bytes, and a roguelike that fits in a boot sector. All of them boot in a browser tab, on a page that takes one click.&lt;/p&gt;

&lt;p&gt;That is &lt;a href="https://necros.kuncen.workers.dev" rel="noopener noreferrer"&gt;NecrOS&lt;/a&gt;: a catalog of twenty operating systems running on &lt;a href="https://github.com/copy/v86" rel="noopener noreferrer"&gt;v86&lt;/a&gt;, an x86 emulator compiled to WebAssembly. The site is static SvelteKit, deployed to Cloudflare, and the whole thing was built in &lt;a href="https://kiro.dev" rel="noopener noreferrer"&gt;Kiro&lt;/a&gt; for Kiroween 2026.&lt;/p&gt;

&lt;p&gt;This post covers what the project is, how the emulator part works, how I picked machines that are safe to redistribute, and how the Kiro setup (steering, skills, hooks, a custom agent, and a spec) turned "make it look spooky" into something shippable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try it:&lt;/strong&gt; &lt;a href="https://necros.kuncen.workers.dev" rel="noopener noreferrer"&gt;https://necros.kuncen.workers.dev&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Source:&lt;/strong&gt; &lt;a href="https://github.com/lksxyz/necr-os" rel="noopener noreferrer"&gt;https://github.com/lksxyz/necr-os&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  What NecrOS is
&lt;/h2&gt;

&lt;p&gt;Twenty machines, oldest first:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;FreeGEM (1985), the GEM desktop on FreeDOS&lt;/li&gt;
&lt;li&gt;PC-MOS/386 (1987), a multi-user DOS&lt;/li&gt;
&lt;li&gt;MS-DOS 4 (1988), built from the source Microsoft published in 2024&lt;/li&gt;
&lt;li&gt;Oberon (1990), where any text on screen is a command&lt;/li&gt;
&lt;li&gt;FreeDOS (1998)&lt;/li&gt;
&lt;li&gt;NewOS (2001), the kernel Haiku forked&lt;/li&gt;
&lt;li&gt;Sanos (2001), a server kernel that runs Windows PE programs&lt;/li&gt;
&lt;li&gt;JX (2002), an operating system written in Java&lt;/li&gt;
&lt;li&gt;Plan 9 (2002), the Bell Labs successor to Unix&lt;/li&gt;
&lt;li&gt;Linux 2.6 (2003)&lt;/li&gt;
&lt;li&gt;KolibriOS (2004), a desktop in assembly on one floppy&lt;/li&gt;
&lt;li&gt;Mobius (2004)&lt;/li&gt;
&lt;li&gt;HelenOS (2006), a multiserver microkernel&lt;/li&gt;
&lt;li&gt;MikeOS (2007), a 16-bit teaching OS with its own BASIC&lt;/li&gt;
&lt;li&gt;bootOS, bootBASIC and bootRogue (2019), each in a 512-byte boot sector&lt;/li&gt;
&lt;li&gt;sectorforth (2020) and SectorLISP (2021), a Forth and a LISP in 512 bytes&lt;/li&gt;
&lt;li&gt;Linux 6.8 (2024), kept as a reference point for how far things have come&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every machine has a page that fills the window with no page scroll. Hit Boot and the tab downloads a disk image and starts the machine. A toolbar adds restart, Ctrl+Alt+Del, fullscreen, a serial console, screen effects (Sharp, CRT, green phosphor), a MIPS counter, synthesized drive noise, and save/restore of machine state in IndexedDB.&lt;/p&gt;

&lt;p&gt;The serial console is not decoration. Linux 6.8 runs its shell there, and NewOS, JX, Plan 9 and HelenOS write their boot logs to it.&lt;/p&gt;

&lt;p&gt;The stack is a pnpm monorepo:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;apps/web          SvelteKit app (adapter-static, prerendered)
apps/relay        Wisp relay Worker for networked machines
alchemy.run.ts    Deploys both Workers
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No application backend. The only server code is the relay.&lt;/p&gt;

&lt;h2&gt;
  
  
  The catalog is one TypeScript file
&lt;/h2&gt;

&lt;p&gt;The rule I set early: every fact about a machine comes from &lt;code&gt;apps/web/src/lib/os.ts&lt;/code&gt;. No facts hardcoded in templates. The catalog page, the home timeline, the licenses page, and the prerendered &lt;code&gt;/os/:slug&lt;/code&gt; pages all read the same array.&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="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;slug&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'freedos'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'FreeDOS'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'cli'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;year&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1998&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;maker&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'FreeDOS Project'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;license&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'GPL'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;source&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'https://www.freedos.org/'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;note&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'Open-source DOS that runs MS-DOS programs. Ships with vim and a few games.'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;hint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'Pick a language at the menu, or press Esc to reach the A:\&amp;gt; prompt.'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;engine&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'v86'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;boot&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;fda&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sb"&gt;`${IMAGES}freedos722.img`&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="mi"&gt;737280&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;memoryMB&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;32&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;That single source of truth matters more when an agent writes the UI. "Never invent years, makers, licenses, sizes, or statistics" is a steering rule, and it works because there is exactly one place to look. fast-check property tests guard the file: unique URL-safe slugs, plausible years, https source links, positive image sizes, and no em dashes in any text field.&lt;/p&gt;

&lt;h2&gt;
  
  
  Choosing machines that are safe to ship
&lt;/h2&gt;

&lt;p&gt;v86's demo page lists more than a hundred entries, including Windows 95, BeOS and QNX. Being hosted there does not make an image redistributable. Copying a disk image onto your own site makes you the distributor, and the license inside the image is what counts.&lt;/p&gt;

&lt;p&gt;So every machine went through the same checks before it went into &lt;code&gt;os.ts&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;An open license or an explicit release.&lt;/strong&gt; MS-DOS 4 is MIT since 2024, PC-MOS/386 GPLv3 since 2017, Plan 9 MIT since 2021. Windows, BeOS and the QNX demo stayed out.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The license file, not a summary of it.&lt;/strong&gt; House, an operating system written in Haskell, looked fine until its &lt;code&gt;LICENSE&lt;/code&gt; file described the GUI toolkit as "freeware for academic use only". It is not in the catalog.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The image itself.&lt;/strong&gt; Where upstream publishes the same file, I compared hashes. PC-MOS/386, HelenOS, bootOS, bootBASIC and bootRogue match byte for byte. The MS-DOS 4 floppy holds files dated May 2024, so it was built from Microsoft's MIT source, not copied from a 1988 retail disk.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPL source.&lt;/strong&gt; Each GPL machine links to its source on its label and on the licenses page.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Size.&lt;/strong&gt; Under 25 MB where possible, which is also Cloudflare's per-file limit for static assets. HelenOS lands at 24.6 MiB.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then each new image was booted headless in Node with the same v86 settings the site uses, reading the VGA text planes and the serial port to confirm the machine reaches the state its hint describes. That caught a real bug: JX panics with 64 MB of memory and boots with 128 MB.&lt;/p&gt;

&lt;h2&gt;
  
  
  Making a 200 MB machine feel instant
&lt;/h2&gt;

&lt;p&gt;FreeGEM's disk is 209,715,200 bytes. Downloading that before the desktop appears would kill the demo.&lt;/p&gt;

&lt;p&gt;v86 supports split hard disks: &lt;code&gt;partSize&lt;/code&gt; in &lt;code&gt;os.ts&lt;/code&gt; cuts the disk into independently fetched chunks. FreeGEM uses 256 KB parts, so the emulator downloads only the regions the system actually reads. The label says so: &lt;code&gt;200 MB disk&lt;/code&gt;, with &lt;code&gt;Only the parts it reads are downloaded.&lt;/code&gt; underneath. Everything else is small enough to load whole, down to the 512-byte boot sectors.&lt;/p&gt;

&lt;p&gt;Two of the Linux machines have networking. The guest's TCP/IP stack runs in the browser, and &lt;code&gt;apps/relay/worker.ts&lt;/code&gt; is a Wisp v1 relay that opens the outbound TCP sockets the guest asks for. It limits each connection to 16 streams, blocks ports 25, 465, and 587, and refuses private addresses and &lt;code&gt;.local&lt;/code&gt; hosts. The relay URL is baked into the static build at deploy time, and the relay checks the &lt;code&gt;Origin&lt;/code&gt; header against an allowlist.&lt;/p&gt;

&lt;h2&gt;
  
  
  The look: a Victorian mourning archive
&lt;/h2&gt;

&lt;p&gt;The brief was "spooky" for the Kiroween Resurrection category. The obvious read is Halloween: purple, green, ghosts, drips. That reads as a template, not a product.&lt;/p&gt;

&lt;p&gt;Instead I wrote &lt;a href="https://github.com/lksxyz/necr-os/blob/main/DESIGN.md" rel="noopener noreferrer"&gt;&lt;code&gt;DESIGN.md&lt;/code&gt;&lt;/a&gt;, a 361-line design direction with tokens, typography, motion, voice rules, and the reason behind each decision. The theme became a mourning archive:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Each machine is a memorial card: 3px black edge, a cross-ruled divider under the name, an italic epitaph, and a &lt;code&gt;Born&lt;/code&gt; field.&lt;/li&gt;
&lt;li&gt;No death date. The data has no such date, and inventing one to finish the design would be a lie.&lt;/li&gt;
&lt;li&gt;Amber is the only accent. It reads as candlelight and as amber phosphor at the same time.&lt;/li&gt;
&lt;li&gt;One animation: a single flicker when a machine starts, like a tube warming up. &lt;code&gt;prefers-reduced-motion&lt;/code&gt; lands on full opacity with no animation.&lt;/li&gt;
&lt;li&gt;Two registers of voice. Page intros and empty states speak as the archive keeper ("The oldest grave in the archive", "This grave is empty."). Buttons, errors, status, and legal pages stay literal, because nobody should have to decode a joke to restart a machine.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Era-wise the site borrows from early CSS design around 2001 to 2005: Georgia headings, Verdana body text, a centered column, dotted rules. Modern accessibility underneath: 16px body text, AA contrast, visible focus, keyboard support, light mode only.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Kiro was set up
&lt;/h2&gt;

&lt;p&gt;Everything Kiro used is committed in &lt;code&gt;.kiro/&lt;/code&gt;, so a clone reproduces the same environment.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Kiro feature&lt;/th&gt;
&lt;th&gt;What it does here&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Steering&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;product.md&lt;/code&gt; and &lt;code&gt;tech.md&lt;/code&gt; always load. &lt;code&gt;design.md&lt;/code&gt; loads only when a file under &lt;code&gt;apps/web/src&lt;/code&gt; is in play, and it pulls in &lt;code&gt;DESIGN.md&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Skills&lt;/td&gt;
&lt;td&gt;The antislop skills, vendored so the UI rules and contrast checker travel with the repo&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hooks&lt;/td&gt;
&lt;td&gt;Type-check on save, run the catalog property tests when &lt;code&gt;os.ts&lt;/code&gt; changes, block em dashes before finishing, block a deploy command that hangs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Custom agent&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;kiro-cli chat --agent necros&lt;/code&gt; starts with the steering, the design doc, and the skills preloaded; shell access is limited to check, build, and read-only git, with destructive commands denied&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Spec&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;.kiro/specs/mourning-archive/&lt;/code&gt; holds requirements, design, tasks, and a delivery gate for the redesign&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Steering: rules the agent cannot forget
&lt;/h3&gt;

&lt;p&gt;Steering is the highest-leverage part. &lt;code&gt;tech.md&lt;/code&gt; is short and absolute:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="k"&gt;- &lt;/span&gt;&lt;span class="sb"&gt;`apps/web`&lt;/span&gt; is SvelteKit 3 with Svelte 5 runes, &lt;span class="sb"&gt;`adapter-static`&lt;/span&gt;, every route prerendered. No backend or API.
&lt;span class="k"&gt;- &lt;/span&gt;Import local modules through the &lt;span class="sb"&gt;`#lib/*`&lt;/span&gt; alias with the file extension, for example &lt;span class="sb"&gt;`#lib/os.ts`&lt;/span&gt;.
&lt;span class="k"&gt;- &lt;/span&gt;Validate with &lt;span class="sb"&gt;`pnpm check`&lt;/span&gt;, &lt;span class="sb"&gt;`pnpm test`&lt;/span&gt; and &lt;span class="sb"&gt;`pnpm build`&lt;/span&gt;. Do not run lint.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;product.md&lt;/code&gt; holds the two fixed requirements: the machine page fills exactly 100vw by 100dvh with no scroll, and every machine fact comes from &lt;code&gt;os.ts&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;design.md&lt;/code&gt; is a file-matched steering doc, so it only loads when UI files are open:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;---
inclusion: fileMatch
fileMatchPattern: "apps/web/src/**"
---
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It points at &lt;code&gt;DESIGN.md&lt;/code&gt; with a file reference and requires the antislop skills for UI work. That is how "keeper lines come only from the table in DESIGN.md" and "no em dashes in UI text" stay true across dozens of edits.&lt;/p&gt;

&lt;h3&gt;
  
  
  Hooks: the three that earned their place
&lt;/h3&gt;

&lt;p&gt;Hooks are where Kiro stops being a chat window and starts behaving like a build system.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Type-check on save.&lt;/strong&gt; After the agent saves any &lt;code&gt;.svelte&lt;/code&gt;, &lt;code&gt;.ts&lt;/code&gt;, or &lt;code&gt;.css&lt;/code&gt; file under &lt;code&gt;apps/web/src&lt;/code&gt;, run svelte-check. Type and template errors surface on the edit that caused them, not thirty edits later.&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="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"v1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"hooks"&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;"Type-check the web app after edits"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"trigger"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"PostFileSave"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"matcher"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"apps/web/src/.*\\.(svelte|ts|css)$"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"action"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"pnpm --filter @hackathon/web check"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"timeout"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;180&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;A sibling hook does the same for data: saving &lt;code&gt;os.ts&lt;/code&gt; runs the property tests, so a bad slug or image size fails on the edit that introduced it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Block em dashes before finishing.&lt;/strong&gt; &lt;code&gt;DESIGN.md&lt;/code&gt; and the antislop rules ban the em dash in UI text and docs. On the &lt;code&gt;Stop&lt;/code&gt; trigger, a small script scans the source and docs, and if it finds one, sends the agent back with the file and line list. This is a copy rule enforced by a machine instead of by my memory.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Guard the deploy command.&lt;/strong&gt; &lt;code&gt;pnpm deploy&lt;/code&gt; waits for an approval prompt that a non-interactive agent shell cannot answer, so it hangs. Passing &lt;code&gt;--yes&lt;/code&gt; through pnpm does not reach Alchemy either. A &lt;code&gt;PreToolUse&lt;/code&gt; hook on shell calls inspects the command and blocks a real &lt;code&gt;pnpm deploy&lt;/code&gt; invocation, then tells the agent to run &lt;code&gt;pnpm exec alchemy deploy --yes&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The matcher matters: the script only fires when &lt;code&gt;pnpm deploy&lt;/code&gt; is an actual invocation (start of the command, or after &lt;code&gt;;&lt;/code&gt;, &lt;code&gt;&amp;amp;&amp;amp;&lt;/code&gt;, &lt;code&gt;||&lt;/code&gt;, &lt;code&gt;|&lt;/code&gt;, or a newline). A commit message or README line that merely mentions the command is left alone. A naive substring matcher would block the docs edit that quotes the command, and that kind of false positive is how people end up turning hooks off.&lt;/p&gt;

&lt;h3&gt;
  
  
  Spec-driven redesign
&lt;/h3&gt;

&lt;p&gt;The spooky redesign started as a design document, then became a spec in &lt;code&gt;.kiro/specs/mourning-archive/&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;requirements.md&lt;/code&gt; in EARS style&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;design.md&lt;/code&gt; mapping each requirement to a file and a change&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;tasks.md&lt;/code&gt; as a checklist, each task pointing back at its requirement&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;delivery-gate.md&lt;/code&gt; recording the antislop gate result&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A sample requirement:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;WHEN&lt;/strong&gt; a machine enters the Running state, &lt;strong&gt;THE SYSTEM SHALL&lt;/strong&gt; fade the screen in over the &lt;code&gt;boot&lt;/code&gt; duration (400ms) through opacity 0, 0.85, 0.55, and 1.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WHILE&lt;/strong&gt; &lt;code&gt;prefers-reduced-motion: reduce&lt;/code&gt; is set, &lt;strong&gt;THE SYSTEM SHALL&lt;/strong&gt; show the screen at full opacity with no fade and no flicker.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Written that precisely, the acceptance criteria are testable by reading code. The tasks file is just as concrete:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="k"&gt;- &lt;/span&gt;[x] 3. Apply the keeper voice
  &lt;span class="k"&gt;- &lt;/span&gt;[x] 3.1 Home page: intro, featured line, timeline heading, empty state
    &lt;span class="k"&gt;- &lt;/span&gt;_Requirements: 2.1, 2.4_
  &lt;span class="k"&gt;- &lt;/span&gt;[x] 3.2 Catalog page: intro and empty state
    &lt;span class="k"&gt;- &lt;/span&gt;_Requirements: 2.1, 2.4_
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The commit history follows the tasks: &lt;code&gt;task 3.1&lt;/code&gt;, &lt;code&gt;task 3.2&lt;/code&gt;, and so on. On a project with more than 80 commits, nearly all from one day, that trace is the difference between a reviewable history and a pile of vibes.&lt;/p&gt;

&lt;p&gt;The design spec also caught things I would have missed. The new 3px border is 2px thicker per side than the old 1px border, so the spec says to cut the label padding by 2px per side, otherwise the catalog grid reflows. The divider is a pseudo-element so screen readers skip it. &lt;code&gt;Born&lt;/code&gt; stays the &lt;code&gt;&amp;lt;dt&amp;gt;&lt;/code&gt; for the year, so it reads as "Born, 1985".&lt;/p&gt;

&lt;h3&gt;
  
  
  Skills: fixing generic AI design
&lt;/h3&gt;

&lt;p&gt;The first UI pass looked like generic AI output. The fix was not a better prompt, it was a written direction plus a checklist. The &lt;a href="https://github.com/miqdadbadjuber/anti-slop" rel="noopener noreferrer"&gt;antislop&lt;/a&gt; skills are vendored in &lt;code&gt;.kiro/skills/&lt;/code&gt; (MIT), and the design work runs through them: contrast checks, motion limits, no gradients or glows, no invented numbers, every element has a job.&lt;/p&gt;

&lt;p&gt;The delivery gate result for the redesign is in the repo: no FAIL, one PARTIAL waiting on my own browser check at 375px, 768px, and 1280px. That is a better review artifact than "looks good to me".&lt;/p&gt;

&lt;h2&gt;
  
  
  Deployment
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://alchemy.run" rel="noopener noreferrer"&gt;Alchemy&lt;/a&gt; v2 deploys both Workers from one file. The static site is built with &lt;code&gt;VITE_NET_RELAY&lt;/code&gt; injected, then uploaded as Worker static assets. The relay is deployed separately.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pnpm install
pnpm dev          &lt;span class="c"&gt;# local&lt;/span&gt;
pnpm check        &lt;span class="c"&gt;# svelte-check&lt;/span&gt;
pnpm &lt;span class="nb"&gt;test&lt;/span&gt;         &lt;span class="c"&gt;# property tests for os.ts&lt;/span&gt;
pnpm build        &lt;span class="c"&gt;# static output&lt;/span&gt;
pnpm &lt;span class="nb"&gt;exec&lt;/span&gt; alchemy deploy --yes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No lint step, on purpose. The steering file says so, and the hooks run the checks that actually catch breakage.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;A design document beats "make it clean".&lt;/strong&gt; "Clean" produces the average of everything. A document with decisions and reasons produces consistency, and it gives the agent something to be wrong against.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hooks are worth it for checks you would repeat by hand.&lt;/strong&gt; Type-check on save and the em dash gate removed two whole classes of cleanup.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Keep facts in one place.&lt;/strong&gt; &lt;code&gt;os.ts&lt;/code&gt; is the contract between the data, the pages, the labels, and the agent.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Read the license file, then hash the image.&lt;/strong&gt; "Open source" on a project page is a claim. The license text and a byte-for-byte match with upstream are evidence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Write requirements the code can satisfy literally.&lt;/strong&gt; EARS phrasing forces you to name the state, the trigger, and the observable result. Vague requirements produce vague UI.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enforce copy rules mechanically.&lt;/strong&gt; A style rule that only lives in a prompt decays. A hook that blocks the Stop event does not.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WebAssembly emulation is further along than I expected.&lt;/strong&gt; A 1985 desktop, Plan 9, and a 2024 Linux kernel in the same tab, with save and restore, on a static site.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try a machine
&lt;/h2&gt;

&lt;p&gt;The live site is &lt;a href="https://necros.kuncen.workers.dev" rel="noopener noreferrer"&gt;https://necros.kuncen.workers.dev&lt;/a&gt;. Start with bootBASIC: type &lt;code&gt;print 2+2&lt;/code&gt; and press Enter, in a language that fits in 512 bytes. Then open SectorLISP and type &lt;code&gt;(CONS (QUOTE A) (QUOTE B))&lt;/code&gt;. Finish with Linux 6.8 and run &lt;code&gt;udhcpc -i eth0&lt;/code&gt;, &lt;code&gt;wget&lt;/code&gt;, or &lt;code&gt;ip a&lt;/code&gt; to see a 2024 kernel use real TCP through the relay.&lt;/p&gt;

&lt;h2&gt;
  
  
  Credits
&lt;/h2&gt;

&lt;p&gt;NecrOS is MIT licensed. The emulator is &lt;a href="https://github.com/copy/v86" rel="noopener noreferrer"&gt;v86&lt;/a&gt; (BSD-2-Clause). Disk images are unmodified copies from v86's image collection, and each machine's license is shown on its label and on the licenses page with a source link. The project started from a SvelteKit and Alchemy static-site starter. Fonts: Gelasio and DM Mono (SIL OFL 1.1). Icons: Lucide (ISC). The antislop skills are MIT.&lt;/p&gt;

&lt;p&gt;Built for Kiroween 2026, Resurrection category.&lt;/p&gt;

</description>
      <category>kiro</category>
      <category>kiroween</category>
      <category>emulator</category>
    </item>
  </channel>
</rss>
