{
  "version": 1,
  "canonical": "https://ninth-signal.com/journal/asgard-and-the-space-between-ticks",
  "title": "Asgard Tveir and the space between ticks — Ninth Signal",
  "description": "Porting Rampart Zero meant deciding when an order becomes part of the world, who it belongs to, and what the browser can honestly say has happened.",
  "language": "en",
  "manifest": "https://ninth-signal.com/representations/index.json",
  "contentHtml": "<article class=\"longform studio-story\"><header class=\"story-header\"><a class=\"eyebrow\" href=\"/journal\">← FIELD NOTES / ENGINE DEVELOPMENT</a><h1>Asgard Tveir and the space between ticks</h1><p class=\"story-deck\">Porting Rampart Zero meant deciding when an order becomes part of the world, who it belongs to, and what the browser can honestly say has happened.</p><div class=\"story-meta\"><time datetime=\"2026-11-20\">NOVEMBER 20, 2026</time><span>UPDATED <time datetime=\"2026-11-25\">NOVEMBER 25, 2026</time></span><span>5 MIN READ</span><span>NINTH SIGNAL / RAMPART ZERO</span></div></header>\n <div class=\"story-layout\"><aside class=\"story-toc\"><span class=\"eyebrow\">IN THIS STORY</span><a href=\"#chapter-1\">01 / When did the Garage get its order?</a><a href=\"#chapter-2\">02 / Keep the old tests asking hard questions</a><a href=\"#chapter-3\">03 / Who gets credit for the Garage?</a><a href=\"#chapter-4\">04 / The microphone was a different kind of evidence</a><a href=\"#chapter-5\">05 / The original game was a reference throughout the port</a></aside>\n <div class=\"story-text\"><section id=\"chapter-1\" class=\"story-chapter\"><span class=\"chapter-number\">01</span><div><h2>When did the Garage get its order?</h2><p>One of the original Rampart Zero tests checks your materials at a very particular moment. The Garage has just been told to build a unit. The job is visible in the queue, but the game hasn’t started production or charged you for it yet. In the old browser game, I could look into the store between those two events. When I ran the test against Asgard Tveir, the first state I could inspect already showed the 150-material charge.</p><p>The old command changed the browser store immediately. The next simulation tick started the job. In Asgard, the command enters the world at the beginning of a tick, and that tick can also start production. The browser will see the result of both in the next snapshot. The test was asking to look into a moment the engine doesn’t expose.</p><p>That’s a small difference if you’re watching a Jeep come out of a Garage. It’s a consequential one if you’re trying to build an engine that an agent can drive and inspect. The game needs a clear answer about when an action took effect. A test, the HUD and a coding agent should be asking the same world.</p></div></section><section id=\"chapter-2\" class=\"story-chapter\"><span class=\"chapter-number\">02</span><div><h2>Keep the old tests asking hard questions</h2><p>I kept Rampart Zero’s browser presentation and its original Commander while moving authority for the battle into Asgard. The simulation runs in a WebAssembly worker at 60 ticks per second. The renderer gets snapshots. At that boundary, the temptation is to fill in anything the new engine doesn’t yet report. For a while, the browser was doing exactly that with some details of orders, squads and production.</p><p>Running the old tests against the new world forced me to look past what the screen could approximate. A plan can name a squad before any of its vehicles exist. If the player interrupts that plan, the jobs tied to it must still be identifiable in the production queue. Those facts now belong to the simulation, alongside the order details that the browser used to reconstruct.</p><p>The harness sets up its test worlds through Asgard’s commands and fixture operations, then drives the old test code against a real WebAssembly simulation. The development record reports 563 of the 566 selected UI, audio and Commander checks passing. The other three depend on the old window between a store write and a tick. Keeping the test expectations visible made it clear where I had a missing feature and where I had a different definition of when a change becomes observable.</p></div></section><section id=\"chapter-3\" class=\"story-chapter\"><span class=\"chapter-number\">03</span><div><h2>Who gets credit for the Garage?</h2><p>The browser had another tempting shortcut. While a Commander tool was working, the client marked its actions as coming from the Commander. That worked until a tool paused to await something and the player placed a Garage before it returned. Then an ordinary click could get the Commander’s name on it.</p><p>The regression starts a real Commander power task, holds it open, and places a Garage through the normal hotkey and click. The orders on either side belong to the Commander. The Garage in the middle belongs to the player. The client now assigns that identity where each action is submitted. The world also records the authority behind the order, so an explicit player instruction relayed by the Commander can still get the protection it would have had if you clicked it in yourself.</p><p>That provenance is part of the game. It can decide whether autonomy is allowed to override an order. I want it attached to the order that entered the world, where it can be read back alongside the decisions it affected.</p></div></section><section id=\"chapter-4\" class=\"story-chapter\"><span class=\"chapter-number\">04</span><div><h2>The microphone was a different kind of evidence</h2><p>The Commander scenario could load the model and stage game orders. Then I tried the microphone in a playtest and the browser refused to load the code that processes its audio. The local server’s policy allowed workers to load from generated URLs, while Chrome treated this audio worklet as a script. The development server rule was fixed, and the smoke test now tries loading that kind of worklet.</p><p>The engine can make a battle reproducible once the inputs reach it. Playing with the microphone exposed a failure before the first order. I need both kinds of evidence. The next time a Commander report says an order disappeared, I want to know whether the voice input failed, the client never submitted a command, or the world refused it. Each answer gives me a different place to start.</p></div></section><section id=\"chapter-5\" class=\"story-chapter\"><span class=\"chapter-number\">05</span><div><h2>The original game was a reference throughout the port</h2><p>The first Asgard workload was small enough to qualify carefully. The full campaign then gave the port harder evidence. I could keep the old interface, exercise airfields and research, and compare what happened when a plan outlasted the browser interaction that created it.</p><p>The Garage test belongs to that later stage of the work. It showed which facts needed to move into the new simulation along with the visible rules of production. A port earns its place when the same game decisions are available to the player and to a test.</p><p>Read the wider account in <a href=\"/journal/carry-the-rules-across-first\">Carry the rules across first</a>.</p></div></section><a class=\"text-link\" href=\"https://rampart-zero.com\">Explore the game <span aria-hidden=\"true\">↗</span></a><a class=\"text-link\" href=\"https://rampart-zero.com/devlog/rampart-zero-on-asgard\">The Rampart Zero Field Report <span aria-hidden=\"true\">↗</span></a></div></div>\n \n \n <section class=\"read-next\"><h2 class=\"eyebrow\">Keep exploring</h2><a class=\"story-row\" href=\"/journal/asgard-when-the-camera-turns\"><span class=\"story-index\">01</span><div><span class=\"eyebrow\">ENGINE DEVELOPMENT / 4 MIN</span><h3>The smoke changed when the camera turned</h3><p>A camera rotation exposed a lighting problem in Asgard. The same playtest sent me back through the frame budget, construction preview and the simulation’s record of paid research.</p></div><span class=\"circle-arrow\">↗</span></a><a class=\"story-row\" href=\"/journal/asgard-one-budget-for-the-whole-game\"><span class=\"story-index\">02</span><div><span class=\"eyebrow\">ENGINE DEVELOPMENT / 3 MIN</span><h3>One budget for the whole game</h3><p>A phone can draw the battlefield, refresh the HUD and listen for orders. Asking it to do all three at once changed how I think about performance in Asgard.</p></div><span class=\"circle-arrow\">↗</span></a></section>\n <div class=\"story-end-links\">\n  <a class=\"text-link\" href=\"/journal/the-two-lives-of-asgard\">Read the history of Asgard Tveir <span aria-hidden=\"true\">↗</span></a>\n  <a class=\"text-link\" href=\"/feed.xml\">Subscribe to Field Notes via RSS <span aria-hidden=\"true\">↗</span></a>\n </div></article>",
  "structuredData": {
    "@context": "https://schema.org",
    "@graph": [
      {
        "@type": "Organization",
        "@id": "https://ninth-signal.com/#organization",
        "name": "Ninth Signal",
        "url": "https://ninth-signal.com/",
        "description": "An independent game studio making games and browser-native research experiments.",
        "logo": {
          "@type": "ImageObject",
          "url": "https://ninth-signal.com/brand/ninth-signal-logo.png",
          "width": 1536,
          "height": 1024
        }
      },
      {
        "@type": "WebSite",
        "@id": "https://ninth-signal.com/#website",
        "url": "https://ninth-signal.com/",
        "name": "Ninth Signal",
        "publisher": {
          "@id": "https://ninth-signal.com/#organization"
        },
        "inLanguage": "en"
      },
      {
        "@type": "VideoGame",
        "@id": "https://rampart-zero.com/#game",
        "name": "Rampart Zero",
        "url": "https://rampart-zero.com/",
        "description": "A fortress-defense RTS with mechanized armies, repair and salvage, and an on-device AI Commander. In development with a private browser playtest.",
        "image": "https://rampart-zero.com/media/current/fortress.webp",
        "genre": [
          "Real-time strategy",
          "Fortress defense",
          "Science fiction"
        ],
        "gamePlatform": "Web browser",
        "creativeWorkStatus": "In development",
        "publisher": {
          "@id": "https://ninth-signal.com/#organization"
        },
        "inLanguage": "en"
      },
      {
        "@type": "WebPage",
        "@id": "https://ninth-signal.com/journal/asgard-and-the-space-between-ticks#webpage",
        "url": "https://ninth-signal.com/journal/asgard-and-the-space-between-ticks",
        "name": "Asgard Tveir and the space between ticks — Ninth Signal",
        "description": "Porting Rampart Zero meant deciding when an order becomes part of the world, who it belongs to, and what the browser can honestly say has happened.",
        "isPartOf": {
          "@id": "https://ninth-signal.com/#website"
        },
        "about": {
          "@id": "https://rampart-zero.com/#game"
        },
        "inLanguage": "en",
        "primaryImageOfPage": {
          "@type": "ImageObject",
          "url": "https://ninth-signal.com/brand/ninth-signal-logo.png",
          "width": 1536,
          "height": 1024
        },
        "breadcrumb": {
          "@id": "https://ninth-signal.com/journal/asgard-and-the-space-between-ticks#breadcrumbs"
        },
        "mainEntity": {
          "@id": "https://ninth-signal.com/journal/asgard-and-the-space-between-ticks#article"
        }
      },
      {
        "@type": "BreadcrumbList",
        "@id": "https://ninth-signal.com/journal/asgard-and-the-space-between-ticks#breadcrumbs",
        "itemListElement": [
          {
            "@type": "ListItem",
            "position": 1,
            "name": "Ninth Signal",
            "item": "https://ninth-signal.com/"
          },
          {
            "@type": "ListItem",
            "position": 2,
            "name": "Field Notes",
            "item": "https://ninth-signal.com/journal"
          },
          {
            "@type": "ListItem",
            "position": 3,
            "name": "Asgard Tveir and the space between ticks",
            "item": "https://ninth-signal.com/journal/asgard-and-the-space-between-ticks"
          }
        ]
      },
      {
        "@type": "Article",
        "@id": "https://ninth-signal.com/journal/asgard-and-the-space-between-ticks#article",
        "headline": "Asgard Tveir and the space between ticks",
        "description": "Porting Rampart Zero meant deciding when an order becomes part of the world, who it belongs to, and what the browser can honestly say has happened.",
        "image": [
          "https://ninth-signal.com/brand/ninth-signal-logo.png"
        ],
        "datePublished": "2026-11-20",
        "dateModified": "2026-11-25",
        "author": {
          "@id": "https://ninth-signal.com/#organization"
        },
        "publisher": {
          "@id": "https://ninth-signal.com/#organization"
        },
        "mainEntityOfPage": {
          "@id": "https://ninth-signal.com/journal/asgard-and-the-space-between-ticks#webpage"
        },
        "about": {
          "@id": "https://rampart-zero.com/#game"
        },
        "inLanguage": "en"
      }
    ]
  }
}
