---
title: "5. Phased plan and owner questions · vortex"
description: "Sizes: S ≈ half a day, M ≈ 1–2 days, L ≈ 3–5 days of lane time. Vortex is the lowest priority on the machine: builds only when load < 30, never a release…"
canonical: "https://vortex.avarok.net/docs/design/05-plan/"
lastmod: "2026-11-27T17:37:04Z"
tokens: 1817
---

# 5\. Phased plan and owner questions

@avarok/vortex 0.1.0 · Updated 2026-11-27

Sizes: S ≈ half a day, M ≈ 1–2 days, L ≈ 3–5 days of lane time. Vortex is the lowest priority on the machine: builds only when load < 30, never a release lane's build slot or the hook lock; benchmarks only in a granted window.

| Phase | Content                                                                                                                                                                                                                 | Size | Exit criterion                                                                                                   |
| ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- | ---------------------------------------------------------------------------------------------------------------- |
| 1     | This design; reference clone; repo skeleton                                                                                                                                                                             | S    | Coordinator go                                                                                                   |
| 2a    | Toolchain (`nightly` + `wasm32-unknown-unknown` + `rust-src`, pinned in `rust-toolchain.toml`); piscina per-task cost breakdown (profile, not benchmark: no window needed for a breakdown by `--cpu-prof` sample share) | S    | Breakdown recorded; first wasm module with shared memory instantiated in two workers                             |
| 2b    | Rust core: `sync` facade, slot allocator, MPMC dispatch ring, MPSC completion ring, park/unpark, worker records, recovery; loom + death-injection models                                                                | L    | All models green with negative controls                                                                          |
| 2c    | JS shim, Node: pool, worker entry, loader, codec lanes 1 and 3, events, admission rules, close/destroy, abort, histograms                                                                                               | L    | piscina 5.3.2 suite green unmodified (4.1). Done: chapter 8, [COMPAT.md](https://vortex.avarok.net/docs/compat/) |
| 2d    | Codec lane 2 (`v8.serialize`) behind measurement; differential fuzz vs `structuredClone`                                                                                                                                | M    | Kept only if it measurably wins; fuzz green                                                                      |
| 3     | `bench/` harness, ablations, first report                                                                                                                                                                               | M    | Report with load < 15 beside each number                                                                         |
| 4     | Tuning from the report (spin budget, batch sizes, ring sizing)                                                                                                                                                          | M    | Each change justified by a before/after cell                                                                     |
| 5     | Browser target: Web Worker shim, COOP/COEP check, browser test page under Playwright (Chromium + WebKit)                                                                                                                | M    | Same core, browser suite green                                                                                   |
| 6     | Optional: piscina 6.x surface (`channels`, diagnostics messages) as an additive layer                                                                                                                                   | S–M  | 6.0 suite subset green                                                                                           |

Repository layout planned: `crates/vortex-core` (no\_std core), `crates/vortex-core-tests` (loom/proptest/stress, host only), `js/` (TypeScript shim, strict), `compat/` (vendored piscina tests + resolver shim), `bench/`, `docs/`. Files ≤ 250 lines throughout.

## Owner decisions (2026-11-27)

| \# | Decision                                                                                                                                                    |
| -- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Q1 | Licence **MIT OR Apache-2.0**; vendored piscina tests keep their MIT notice.                                                                                |
| Q2 | npm name **`@avarok/vortex`** (not published; publication is the owner's call).                                                                             |
| Q3 | Private repository `Avarok-Cybersecurity/vortex`; work on branches, coordinator decides what lands on `master`.                                             |
| Q4 | Match piscina **5.3.2** now; 6.x later as an additive layer.                                                                                                |
| Q5 | piscina's implicit defaults allowed in **exactly one** compat-table module, tested value by value against piscina 5.3.2; no implicit default anywhere else. |
| Q6 | `Piscina.version` reports vortex's own version; a separate static `compatibleWith = '5.3.2'`.                                                               |
| Q7 | Bounded spin on by default, decaying to zero when idle, with an option to disable it.                                                                       |

Context kept for the record: `npm view vortex` (2026-11-27) showed the unscoped name taken (`vortex` 1.0.12, a 2022 VM toolkit), as was `vortexjs`.

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@id": "https://thomaspbraun.com/#person",
      "@type": "Person",
      "name": "Thomas Braun",
      "sameAs": [
        "https://github.com/tbraun96"
      ],
      "url": "https://thomaspbraun.com",
      "worksFor": {
        "@type": "Organization",
        "name": "Avarok",
        "url": "https://avarok.net"
      }
    },
    {
      "@id": "https://vortex.avarok.net/docs/design/05-plan/",
      "@type": "WebPage",
      "author": {
        "@id": "https://thomaspbraun.com/#person"
      },
      "dateModified": "2026-11-27T17:37:04Z",
      "description": "Sizes: S ≈ half a day, M ≈ 1–2 days, L ≈ 3–5 days of lane time. Vortex is the lowest priority on the machine: builds only when load < 30, never a release…",
      "inLanguage": "en",
      "isPartOf": {
        "@id": "https://vortex.avarok.net/#website",
        "@type": "WebSite",
        "name": "vortex",
        "url": "https://vortex.avarok.net/"
      },
      "name": "5. Phased plan and owner questions · vortex",
      "url": "https://vortex.avarok.net/docs/design/05-plan/"
    }
  ]
}
```
