<?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: Yue Pan</title>
    <description>The latest articles on DEV Community by Yue Pan (@yue_pan_9e10917b198b60962).</description>
    <link>https://dev.to/yue_pan_9e10917b198b60962</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%2F4266414%2F73430896-b25b-4a6f-8954-7442af4eaf6a.png</url>
      <title>DEV Community: Yue Pan</title>
      <link>https://dev.to/yue_pan_9e10917b198b60962</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yue_pan_9e10917b198b60962"/>
    <language>en</language>
    <item>
      <title>Resurrecting 1987 Apple HyperCard &amp; HyperTalk with Kiro Spec-Driven Development</title>
      <dc:creator>Yue Pan</dc:creator>
      <pubDate>Thu, 26 Nov 2026 08:55:56 +0000</pubDate>
      <link>https://dev.to/yue_pan_9e10917b198b60962/resurrecting-1987-apple-hypercard-hypertalk-with-kiro-spec-driven-development-7eg</link>
      <guid>https://dev.to/yue_pan_9e10917b198b60962/resurrecting-1987-apple-hypercard-hypertalk-with-kiro-spec-driven-development-7eg</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Built from scratch for **Kiroween 2026&lt;/em&gt;* (AWS Kiro Hackathon · Best Resurrection)*&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Live App (Zero Login)&lt;/strong&gt;: &lt;a href="https://hypercrypt.vercel.app" rel="noopener noreferrer"&gt;https://hypercrypt.vercel.app&lt;/a&gt;&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Open-Source Repository (MIT + &lt;code&gt;/.kiro&lt;/code&gt;)&lt;/strong&gt;: &lt;a href="https://github.com/pan609/hypercrypt" rel="noopener noreferrer"&gt;https://github.com/pan609/hypercrypt&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  1. The Lost Middle Ground of Personal Software
&lt;/h2&gt;

&lt;p&gt;Four years before the first web page went live at CERN, Bill Atkinson shipped &lt;strong&gt;HyperCard&lt;/strong&gt; on the 1987 Apple Macintosh. Its premise was radical in its simplicity: every document was a &lt;strong&gt;Stack&lt;/strong&gt; of crisp 512×342 1-bit &lt;strong&gt;Cards&lt;/strong&gt;. You could sketch artwork with pixel patterns, drop buttons and text fields onto a card, and attach plain-English &lt;strong&gt;HyperTalk&lt;/strong&gt; scripts like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;on mouseUp
  global floppyLoaded
  if floppyLoaded &amp;gt;= 1 then
    play "unlock"
    visual effect iris open
    go to card "Boot Floppy"
  else
    answer "Tap the smiling 1987 Mac first!" with "Got it"
  end if
end mouseUp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No servers, no package managers, no cloud lock-in—just tactile, self-contained personal software that engineers, writers, teachers, and kids could open, inspect, and remix in minutes.&lt;/p&gt;

&lt;p&gt;Apple discontinued HyperCard in 2004, and twenty-two years later we still suffer from the gap it left behind:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Static Markdown &amp;amp; slides&lt;/strong&gt; are immortal and version-controlled, yet lifeless—they cannot branch on user choices, roll dice, track state, or run an interactive incident checklist.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Modern web apps &amp;amp; SaaS tools&lt;/strong&gt; are richly interactive, yet heavy, login-walled, dependent on third-party clouds, and vulnerable to link rot the moment a server shuts down.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For &lt;strong&gt;Kiroween 2026&lt;/strong&gt;, I set out to resurrect HyperCard and HyperTalk—not as a hollow nostalgia skin, but as a modern &lt;strong&gt;4-view creative IDE&lt;/strong&gt; that bridges 1987 hypermedia with 2026 engineering workflows:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Play &amp;amp; Author&lt;/strong&gt; 512×342 1-bit stacks directly in the browser with warm &lt;strong&gt;1987 Cream&lt;/strong&gt; and playful &lt;strong&gt;Kiroween Dusk&lt;/strong&gt; dual skins (plus full EN / 简体中文 support).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inspect &amp;amp; Visualize&lt;/strong&gt; every script through a syntax-highlighted editor, a live &lt;strong&gt;AST Tree Inspector&lt;/strong&gt;, a &lt;strong&gt;Step Mode Debugger&lt;/strong&gt;, and a draggable &lt;strong&gt;Stack Flow Map&lt;/strong&gt; with broken-link radar.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compile Modern Markdown&lt;/strong&gt; into playable HyperCard decks in real time—both in-browser (&lt;code&gt;MD → Stack&lt;/code&gt;) and inside &lt;strong&gt;Kiro IDE&lt;/strong&gt; via our custom &lt;code&gt;hypercrypt-mcp&lt;/code&gt; server.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Export Immortal Single-File &lt;code&gt;.html&lt;/code&gt; Capsules&lt;/strong&gt; that bundle the exact TypeScript HyperTalk engine into one ~34 KB offline runtime that runs anywhere forever.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0d3pgsbu00lakzs25uqf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0d3pgsbu00lakzs25uqf.png" alt="HyperCrypt Browse Mode in 1987 Classic Cream" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Architecture: One Pure Engine Powering Three Runtimes
&lt;/h2&gt;

&lt;p&gt;Early in design, one trap stood out immediately: if the browser Studio, the exported offline &lt;code&gt;.html&lt;/code&gt; file, and the Kiro MCP server each ran slightly different script evaluators, subtle behavioral drift would creep in everywhere.&lt;/p&gt;

&lt;p&gt;Instead, we enforced a strict single-engine architecture directly inside &lt;code&gt;.kiro/steering/tech.md&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Kiro IDE / CLI (.kiro/: 4 Steering Docs + 3 EARS Specs + 2 v1 Hooks)
   │  stdio JSON-RPC
   ▼
mcp/server.ts  ──▶  dist-mcp/server.js (Zero-Install 376 KB Bundle)
   │
   ▼
src/engine/ (100% Pure Zero-DOM TypeScript)
 ├─ Lexer → Recursive-Descent Parser → Sandboxed Async Interpreter
 ├─ AST Stack Flow Graph + Static Validator + Highlighter
 ├─ 512×342 1-Bit RLE Codec + Bill Atkinson 6/8 Dithering
 └─ Markdown-to-Stack Compiler + Single-File HTML Exporter
   │
   ├──▶ src/studio/ (React 19 4-View IDE)
   └──▶ src/player/standalonePlayer.ts (~34 KB IIFE) ──▶ Offline-Forever .html
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Why Zero-DOM Purity Matters
&lt;/h3&gt;

&lt;p&gt;Nothing inside &lt;code&gt;src/engine/&lt;/code&gt; imports React or touches &lt;code&gt;window&lt;/code&gt; or &lt;code&gt;document&lt;/code&gt;. Every side effect—navigating cards, updating fields, popping classic Mac &lt;code&gt;ask&lt;/code&gt;/&lt;code&gt;answer&lt;/code&gt; modals, synthesizing retro audio, or pausing for Step Mode debugging—flows through a single &lt;code&gt;RuntimeHost&lt;/code&gt; interface.&lt;/p&gt;

&lt;p&gt;That strict boundary gave us three massive wins for free:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Browser Studio&lt;/strong&gt; (&lt;code&gt;src/studio/store/useStudioStore.tsx&lt;/code&gt;) implements &lt;code&gt;RuntimeHost&lt;/code&gt; over React state + Web Audio + CSS transitions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Standalone Offline Player&lt;/strong&gt; (&lt;code&gt;src/player/standalonePlayer.ts&lt;/code&gt;) implements &lt;code&gt;RuntimeHost&lt;/code&gt; over lightweight vanilla DOM + a singleton &lt;code&gt;AudioContext&lt;/code&gt;, compiled by &lt;code&gt;esbuild&lt;/code&gt; into a ~34 KB minified IIFE (&lt;code&gt;npm run build:player&lt;/code&gt;) and embedded straight into every exported &lt;code&gt;.html&lt;/code&gt; file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Headless MCP Runner&lt;/strong&gt; (&lt;code&gt;src/engine/headlessHost.ts&lt;/code&gt;) implements &lt;code&gt;RuntimeHost&lt;/code&gt; in pure Node memory with instant &lt;code&gt;fastWait&lt;/code&gt; and mock dialog queues—so Kiro IDE can execute and assert HyperTalk gameplay headlessly in milliseconds!&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All three runtimes share identical &lt;code&gt;closeCard&lt;/code&gt; and &lt;code&gt;openCard&lt;/code&gt; lifecycle semantics, identical live shared &lt;code&gt;global&lt;/code&gt; state across nested transitions, and identical sandbox safety limits.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4e5bjpqv5h7zo3o86o3z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4e5bjpqv5h7zo3o86o3z.png" alt="Starlight Cavern 1987 1-Bit Mini-RPG in Kiroween Dusk" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Deep Technical Highlights Under the Hood
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Zero-&lt;code&gt;eval()&lt;/code&gt; Sandboxed HyperTalk VM
&lt;/h3&gt;

&lt;p&gt;Many browser scripting demos cheat by transpiling strings into &lt;code&gt;new Function()&lt;/code&gt; or &lt;code&gt;eval()&lt;/code&gt;, creating XSS risks and allowing &lt;code&gt;while(true)&lt;/code&gt; to freeze the tab.&lt;/p&gt;

&lt;p&gt;HyperCrypt implements a genuine, hand-written pipeline:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;lexer.ts&lt;/code&gt;&lt;/strong&gt;: Case-insensitive tokenization with exact 1-based &lt;code&gt;line&lt;/code&gt; and &lt;code&gt;column&lt;/code&gt; offsets, &lt;code&gt;--&lt;/code&gt; comments, line continuation, and string escapes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;parser.ts&lt;/code&gt;&lt;/strong&gt;: Recursive-descent AST parser with operator precedence climbing (&lt;code&gt;or&lt;/code&gt; → &lt;code&gt;and&lt;/code&gt; → &lt;code&gt;not&lt;/code&gt; → comparisons/&lt;code&gt;is&lt;/code&gt;/&lt;code&gt;contains&lt;/code&gt; → &lt;code&gt;&amp;amp;&lt;/code&gt;/&lt;code&gt;&amp;amp;&amp;amp;&lt;/code&gt; → arithmetic → unary) plus careful disambiguation so &lt;code&gt;answer "Save?" with "Cancel" or "Save"&lt;/code&gt; never collides with boolean &lt;code&gt;or&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;interpreter.ts&lt;/code&gt;&lt;/strong&gt;: Async AST walker supporting &lt;code&gt;global&lt;/code&gt;, &lt;code&gt;put ... into/before/after&lt;/code&gt;, math mutations, &lt;code&gt;random(n)&lt;/code&gt;, &lt;code&gt;if/else if/else&lt;/code&gt;, &lt;code&gt;repeat times/with/while&lt;/code&gt;, &lt;code&gt;visual effect&lt;/code&gt;, &lt;code&gt;go to card&lt;/code&gt;, &lt;code&gt;show/hide&lt;/code&gt;, &lt;code&gt;set the label/text/checked&lt;/code&gt;, &lt;code&gt;ask&lt;/code&gt;/&lt;code&gt;answer&lt;/code&gt;, &lt;code&gt;play&lt;/code&gt;, &lt;code&gt;wait&lt;/code&gt;, custom handlers, and live step-by-step hooks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hard Resource Budgets&lt;/strong&gt;: Every event invocation caps at &lt;strong&gt;10,000 AST steps&lt;/strong&gt; (including empty-loop bounds) and &lt;strong&gt;32 call-stack frames&lt;/strong&gt;, throwing a clean &lt;code&gt;SandboxLimitError&lt;/code&gt; before an infinite loop can ever hang a browser tab or MCP process.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  True Bill Atkinson 1-Bit Error-Diffusion Dithering &amp;amp; Lossless RLE
&lt;/h3&gt;

&lt;p&gt;Bill Atkinson didn't just create HyperCard—he also invented the iconic &lt;strong&gt;Atkinson dithering algorithm&lt;/strong&gt; for the original Macintosh. Unlike Floyd–Steinberg dithering (which diffuses 100% of quantization error), Atkinson diffuses only &lt;strong&gt;6/8 (75%)&lt;/strong&gt; across six neighbors:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;        [ * ]  1/8   1/8
   1/8   1/8   1/8
         1/8
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Dropping 25% of the error intentionally preserves crisp paper highlights and airy midtones that look unmistakably like 1987 Macintosh printmaking. Because HyperCrypt stores every 512×342 card drawing as a lossless 1-bit Run-Length Encoded string (&lt;code&gt;rle1:...&lt;/code&gt;, typically 1–6 KB of clean ASCII), switching between &lt;strong&gt;1987 Cream&lt;/strong&gt; and &lt;strong&gt;Kiroween Dusk&lt;/strong&gt; instantaneously re-colors every pixel illustration without re-running dithering or shipping heavy PNGs.&lt;/p&gt;

&lt;h3&gt;
  
  
  Safe Single-File &lt;code&gt;.html&lt;/code&gt; Immortality
&lt;/h3&gt;

&lt;p&gt;When you click &lt;strong&gt;Export → Export Single-File .html&lt;/strong&gt;, &lt;code&gt;htmlExporter.ts&lt;/code&gt; embeds the stack JSON inside &lt;code&gt;&amp;lt;script id="hc-stack-data" type="application/json"&amp;gt;&lt;/code&gt; with &lt;code&gt;&amp;lt;&lt;/code&gt;, &lt;code&gt;&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;amp;&lt;/code&gt;, and Unicode line separators escaped to prevent script-tag breakout XSS, then appends our ~34 KB &lt;code&gt;standalonePlayer.bundle.txt&lt;/code&gt;. Double-clicking the resulting file works completely offline—even with zero internet access.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3i57rg04z6i4nwzii8nr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3i57rg04z6i4nwzii8nr.png" alt="Interactive AST Stack Flow Map" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  4. The Kiro Workflow and What We Verified
&lt;/h2&gt;

&lt;p&gt;The repository supplies specs, steering, hooks, and a custom MCP server for a repeatable Kiro workflow. On November 26, we verified all four tools and the save Hook inside Kiro IDE 1.5.44. This demonstrates the current integration; it is not a claim that all earlier implementation happened in Kiro. The &lt;a href="https://github.com/pan609/hypercrypt/blob/main/docs/KIRO_LIVE_CHECK.md" rel="noopener noreferrer"&gt;live evidence in GitHub&lt;/a&gt; records the precise boundary.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Steering as Living Guardrails (&lt;code&gt;.kiro/steering/&lt;/code&gt;)&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;product.md&lt;/code&gt;, &lt;code&gt;tech.md&lt;/code&gt;, and &lt;code&gt;structure.md&lt;/code&gt; (&lt;code&gt;inclusion: always&lt;/code&gt;) locked down architectural invariants: zero &lt;code&gt;eval()&lt;/code&gt;, zero DOM in &lt;code&gt;src/engine/&lt;/code&gt;, lifecycle parity, and clean-clone &lt;code&gt;pre*&lt;/code&gt; build hooks.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;hypertalk-grammar.md&lt;/code&gt; (&lt;code&gt;inclusion: fileMatch&lt;/code&gt; scoped to &lt;code&gt;src/engine/**&lt;/code&gt;) documents syntax such as &lt;code&gt;random(n)&lt;/code&gt; for the 6-card &lt;em&gt;Starlight Cavern 1987&lt;/em&gt; mini-RPG.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Three EARS Specs (&lt;code&gt;.kiro/specs/&lt;/code&gt;)&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;hypertalk-engine&lt;/code&gt;, &lt;code&gt;stack-studio&lt;/code&gt;, and &lt;code&gt;export-and-mcp&lt;/code&gt; each contain testable EARS requirements (&lt;code&gt;WHEN ... THE SYSTEM SHALL ...&lt;/code&gt;), explicit designs, and task checklists.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kiro v1 Agent Hooks (&lt;code&gt;.kiro/hooks/&lt;/code&gt;)&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;engine-guard.json&lt;/code&gt; triggers &lt;code&gt;npm run test:unit&lt;/code&gt; automatically on &lt;code&gt;PostFileSave&lt;/code&gt; for &lt;code&gt;src/engine/*.ts&lt;/code&gt; and prompts grammar-doc synchronization on parser/interpreter edits.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;stack-validator.json&lt;/code&gt; automatically runs &lt;code&gt;npm run validate:presets&lt;/code&gt; across all &lt;strong&gt;10 built-in EN + ZH stacks &amp;amp; templates&lt;/strong&gt; whenever a preset changes, catching broken &lt;code&gt;go to card&lt;/code&gt; links immediately.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Install Custom MCP Server (&lt;code&gt;.kiro/settings/mcp.json&lt;/code&gt; + &lt;code&gt;mcp/server.ts&lt;/code&gt;)&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;Instead of requiring &lt;code&gt;tsx&lt;/code&gt; or slow cold starts, &lt;code&gt;npm run build:mcp&lt;/code&gt; bundles &lt;code&gt;mcp/server.ts&lt;/code&gt; and its SDK dependencies into a single &lt;strong&gt;376 KB zero-install &lt;code&gt;dist-mcp/server.js&lt;/code&gt;&lt;/strong&gt; committed to git.&lt;/li&gt;
&lt;li&gt;In a trusted workspace, Kiro connects 4 domain-specific tools: &lt;code&gt;validate_hypertalk&lt;/code&gt;, &lt;code&gt;validate_stack&lt;/code&gt;, &lt;code&gt;run_hypertalk_script&lt;/code&gt;, and &lt;code&gt;compile_markdown_to_stack&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Even better: we dogfooded our own compiler to generate the built-in &lt;strong&gt;Prod 502 Triage Runbook&lt;/strong&gt; directly from Markdown!&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkxfhka9oolqcximw0wa9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkxfhka9oolqcximw0wa9.png" alt="Live Split-Screen Markdown Compiler" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  5. Three-Layer Verification (Including True Offline Proof)
&lt;/h2&gt;

&lt;p&gt;To guarantee a judge-proof experience on clean clones and in production:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Clean-Clone Automation&lt;/strong&gt;: &lt;code&gt;predev&lt;/code&gt;, &lt;code&gt;pretypecheck&lt;/code&gt;, &lt;code&gt;pretest&lt;/code&gt;, &lt;code&gt;pretest:unit&lt;/code&gt;, &lt;code&gt;pretest:integration&lt;/code&gt;, and &lt;code&gt;prepreview&lt;/code&gt; automatically build &lt;code&gt;src/player/generated/standalonePlayer.bundle.txt&lt;/code&gt; so &lt;code&gt;git clone &amp;amp;&amp;amp; npm install &amp;amp;&amp;amp; npm run dev&lt;/code&gt; never fails.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Layer 1 &amp;amp; 2 (Vitest — 36 Tests)&lt;/strong&gt;: Covers lexer/parser diagnostics, infinite-loop and empty-loop bounds, recursion guards, &lt;code&gt;openCard&lt;/code&gt;/&lt;code&gt;closeCard&lt;/code&gt; lifecycle parity with shared live globals, Atkinson dithering determinism, multi-row Markdown compilation, live stdio JSON-RPC calls against &lt;code&gt;dist-mcp/server.js&lt;/code&gt;, and React Testing Library user flows.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Layer 3 (Playwright Chromium E2E — 4 Tests)&lt;/strong&gt;: Plays through puzzles, toggles &lt;strong&gt;Kiroween Dusk&lt;/strong&gt;, verifies &lt;strong&gt;Stack Flow Map&lt;/strong&gt; and &lt;strong&gt;MD → Stack&lt;/strong&gt;, intercepts the downloaded single-file &lt;code&gt;.html&lt;/code&gt;, opens it in a fresh page with &lt;strong&gt;`page.route('&lt;/strong&gt;/&lt;em&gt;', route =&amp;gt; route.abort())`&lt;/em&gt;* (100% network blocked), toggles the dark theme on the standalone document, and asserts zero console or page errors.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  6. Try HyperCrypt Live
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live App (Zero Login)&lt;/strong&gt;: &lt;a href="https://hypercrypt.vercel.app" rel="noopener noreferrer"&gt;https://hypercrypt.vercel.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Public GitHub Repo (MIT)&lt;/strong&gt;: &lt;a href="https://github.com/pan609/hypercrypt" rel="noopener noreferrer"&gt;https://github.com/pan609/hypercrypt&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Use the top Showcase Dock to jump across &lt;strong&gt;1987 Tour&lt;/strong&gt;, &lt;strong&gt;1-Bit RPG&lt;/strong&gt;, &lt;strong&gt;SRE Runbook&lt;/strong&gt;, and &lt;strong&gt;Dither &amp;amp; Synth&lt;/strong&gt;; inspect the live &lt;strong&gt;Map&lt;/strong&gt; and &lt;strong&gt;AST&lt;/strong&gt; views; edit live Markdown in &lt;strong&gt;MD → Stack&lt;/strong&gt;; and export your own offline-forever &lt;code&gt;.html&lt;/code&gt; card stack. Happy Kiroween 2026!&lt;/p&gt;

</description>
      <category>kiro</category>
      <category>kiroween</category>
      <category>typescript</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
