Roadmap and production release gates
ThreadOne 0.19.0 is a Developer Preview with native MongoDB typed documents, source formatting, nominal enums and bounded HTTP routing/response headers. A public website, downloadable SDK and passing local tests are useful deliverables; they do not complete the language or establish production readiness. The release stays marked Developer Preview until the required gates below have evidence.
MongoDB document binding — 4 December 2026
SDK 0.19.0 introduces native exact-string-ID find/insert/replace/delete, strict flat scalar/Optional BSON records and shared verified-TLS client configuration. Source evidence includes 159 compiler tests and seven generated-language methods on an owned MongoDB 7.0.48 TLS/SCRAM fixture: malformed BSON, exact byte bounds, cumulative arena failures, authentication/trust/hostname rejection, timeout and cancellation/recovery. Final archive installation and execution are separate gates in the 0.19.0 report. Browser execution rejects MongoDB. No MongoDB8, sessions/transactions, clean-OS, additional platform, production or performance claim.
The SDK remains complete and offline-vendored. Distribution can use ordered SHA-256 verified byte parts to meet the host's per-file limit; they reassemble into one canonical ordinary ZIP. Tests must verify every part and the complete archive, install the reconstructed artifact, and preserve all vendor/internal checksums.
Read the project master plan for implementation order and the parallel learning/platform tracks.
Library completion priority — 3 December 2026
The current user priority is to finish the listed runtime/library capabilities. Follow Library completion plan: close concrete Redis gaps, then expose and validate PostgreSQL, MySQL/MariaDB, MongoDB, SQL Server and Dragonfly in bounded native milestones. Playground execution and single-thread explanation are complete. Do not substitute tooling expansion for this queue. Retain all platform, transaction, pool, codec and failure gates below.
Source formatting — 3 December 2026
0.14.0 adds fmt, --check, --stdout and --entry for a reachable library. Complete original/replacement graphs must compile to identical Rust with unchanged imports and within the aggregate source budget. Single-file replacement preserves basic permissions and checks snapshots; it is not a concurrent-writer lock or extended-metadata guarantee. Current Linux formatter source tests pass; Windows replacement behavior remains unverified.
Nominal enums — 3 December 2026
The enum implementation adds closed enum types with qualified case values, same-type equality, functions, records, lists, Optional/fallible results and exact case-name print/str behavior. Acceptance requires positive and negative native/WASM conformance, strict JSON-string decoding with redacted errors, preserved collection limits and installed-artifact execution. Pure browser enum execution does not validate native JSON or HTTP. Payload enums, numeric discriminants, match expressions and exhaustive-branch checking remain future work. The versioned release report identifies the validated artifact and platforms.
HTTP routing and response headers — 3 December 2026
The routing implementation adds bounded path captures and immutable custom response headers. Acceptance requires native HTTP evidence for static/parameter precedence, method selection, HEAD/Allow, strict once-only path decoding, invalid captures, header injection/duplicates/limits, framing and values retained across concurrent suspended handlers. Native/WASM compiler behavior, browser HTTP rejection, an executable English/Thai example and installation from the exact frozen ZIP must agree. Current Linux source validation includes these behaviors; exact-artifact evidence remains a separate release gate.
Request metadata — 3 December 2026
0.11.0 adds native request query/header lookup with separate error and Optional absence results. Release evidence must cover actual generated HTTP handlers, case/decoding rules, missing and empty values, duplicate rejection, size limits, UTF-8 failures, redacted errors and request-arena lifetime across suspension. Browser Check compatibility is separate from native execution: browser Run still does not execute HTTP. These checks do not establish complete protocol conformance, authentication or production readiness.
Developer Trial bundle — 3 December 2026
0.10.0 adds a native Redis cache API project template, shared validation tests, HTTP smoke checks, request examples, English/Thai project guides and a start-building walkthrough. Real loopback HTTP/Redis tests must verify successful operations, missing keys, malformed input, expiry and redacted failure responses. The example is unauthenticated and uses expiring keys; it is not a durable user database. Current artifact/platform results belong in the versioned validation report.
The browser comparison evaluator also counts recursive equality traversal and string-comparison chunks toward its execution budget. Native equality and cooperative scheduling are unchanged; the browser safeguard does not provide native CPU preemption.
Record-valued collections — 3 December 2026
0.9.0 extends immutable lists to nonrecursive record values, supporting User[], typed empty lists, Optional-returning access and native JSON fields. Pure record-list execution uses the same bounded browser interpreter. Recursive record graphs, nested list types, list mutation and Optional/fallible list types remain excluded. Platform and behavioral evidence is recorded separately in the versioned validation report.
Bounded scalar collections — 3 December 2026
0.8.0 added immutable scalar lists, limited to 1,024 elements, with typed literals, len, Optional-returning list_get, function parameters/returns and record fields. Native JSON codecs support scalar-list fields; the browser interpreter supports pure list operations, with its existing allocation/step/output limits. Record lists followed in 0.9.0. Nested lists, list mutation and Optional/fallible list types remain pending. See the versioned release report for actual validation evidence.
Browser execution — 3 December 2026
0.7.1 adds real bounded Rust AST execution in WASM using the native parser/type checker, inside a terminable Web Worker. Run captures output/errors; Check remains Rust emission, not execution. Browser limits exclude host I/O, DB/network, timers, JSON and filesystem imports. Native SDK execution remains AOT. Actual native/WASM stdout parity and Worker/controller tests are distinct from browser rendering or production security certification. See the versioned validation report.
Local imports — 3 December 2026
0.7.0 adds native SDK local source imports with a shared namespace, deterministic deduplication, file diagnostics, cycle detection, source/output protection and bounded graph size. Installed-artifact tests exercise a multi-file native application and JSON API. This is not a package manager or namespaced module system. The browser Playground remains single-file and explicitly rejects filesystem imports. Broader collections, private exports and package contracts remain pending.
Listener recovery — 3 December 2026
0.6.5 retries accept errors with a cooperative 100 ms delay. Existing clients, completed-task cleanup and shutdown remain active. Linux child-only RLIMIT_NOFILE fixtures exercise actual descriptor exhaustion and recovery; parent/OS limits are untouched. Persistent errors keep retrying until shutdown. This does not establish health/readiness behavior, cross-platform error coverage or production reliability.
Successful recovery — 3 December 2026
0.6.4 implements or return value inside fallible functions as success, with checked enclosing return type and lazy, once-only evaluation. Native fixtures cover Optional, scalar, record and HTTP Response results. This implementation was made against the current Linux source from the user's described semantics; the inaccessible Mac patch was not merged and its test counts are not claimed. Current artifact/platform evidence is in the validation report. The HEAD and vendor fixes remain included.
HEAD correction — 3 December 2026
0.6.3 retained the vendor repair and corrected error-response framing for parsed HEAD requests after leading empty lines. Its versioned validation report records exact ZIP installation, compiler/native HTTP and isolated Redis results. The regression first failed against 0.6.2 before being corrected. Linux evidence does not establish macOS/Windows or Linux arm64 compatibility. This historical release did not change recovery semantics; the subsequent 0.6.4 implementation is described above.
Packaging repair and Linux evidence — 3 December 2026
0.6.2 restores ten vendor source files omitted from 0.6.1. All 6,060 upstream vendor hashes and 6,198 SDK manifest entries pass. The exact new ZIP passes 35 installed SDK tests on Debian 13 Linux x86_64, using fresh installation prefixes and empty application caches with a separately provisioned Rust 1.100.1 backend. Compiler (86), native records/Optional (14), typed HTTP (27), legacy HTTP (17) and isolated Redis 8.4.0 (13) tests pass. This does not establish clean-OS automatic setup, macOS/Windows compatibility, full Redis compatibility or production readiness.
Evidence available
- Published 0.11.0 has macOS arm64 evidence for 108 compiler tests, 44 exact-ZIP installed SDK tests, 12 request-access TCP methods, 22 typed HTTP/JSON tests and 17 legacy TCP tests. The tested source/artifact commit and individual results are recorded in docs/validation/2026-12-03-http0110/. These results do not validate changes in the 0.12 or 0.13 candidates.
- Implemented preview features include scalar/fallible/Optional values, immutable records, scalar and record lists, local imports, Request/Response, typed JSON and request query/header lookup. Path/response-header and enum evidence is recorded separately from earlier releases. Compiler, generated native applications, WASM and isolated runtime harnesses are separate scopes.
- Both isolated runtime TCP tests and generated .one integration tests cover bounded POST bodies, malformed framing, route methods, status handling and JSON failures. Isolated harness results must not be reported as compiled-language integration results.
- The 0.10.0 Developer Trial recorded 22 actual HTTP checks against an isolated Redis 8.4.8 fixture. They cover the cache example's round-trip, errors, expiry and connection-loss handling. These are historical results for later candidates and do not establish Redis Cluster, Sentinel, pub/sub, transactions or Dragonfly compatibility.
- All five native adapter groups compile: PostgreSQL, Redis/Dragonfly protocol, MySQL/MariaDB, MongoDB and SQL Server. Redis and PostgreSQL are callable from the language; PostgreSQL typed/pool live evidence is recorded separately in0.15/0.16. Compilation and unit tests do not establish real-server compatibility for the other groups.
- Current Linux x86_64 source validation covers 138 unit tests, 25 formatter CLI tests and 66 native TCP tests. Current Windows, macOS and Linux arm64 release execution remains unverified. The 0.11.0 macOS arm64 install used fresh prefixes and caches with existing native build tools and separately provisioned Rust, not a clean OS. Use the 0.14.0 artifact/platform report for the exact distribution results.
- Docker was unavailable in this environment. An attempted isolated MySQL fixture crashed during initialization; no MySQL integration pass is claimed. MongoDB, SQL Server and Dragonfly live integration remain unverified; current PostgreSQL17.6 TLS evidence is recorded in the newer versioned reports.
- Historical 0.3 benchmark results do not measure the current compiler/runtime. No current claim of a performance advantage over Node.js is supported by them.
Installer and final SDK archive results belong in the versioned validation report. Test counts describe named suites only, not a security audit, conformance certification or production soak. Historical 0.4/0.5/0.6.0 compiler/HTTP results are recorded separately in the SDK validation notes.
Next implementation milestones
| Order | Deliverable | Acceptance evidence |
|---|---|---|
| 1 | Verify the distributed SDK on real Linux and Windows machines | Fresh install, compiler invocation, native executable, HTTP tests, Redis binding tests, uninstall/upgrade preservation and captured CI logs |
| 2 | Validate and extend the application data model | Nominal enum conformance and exact-artifact validation, then payload enums, match expressions, maps/nested collections, namespaced modules and richer typed error contracts; positive/negative conformance and lifetime/escape tests |
| 3 | Harden backend APIs beyond bounded routing/headers | Native precedence/decoding/header/framing evidence and exact-artifact example validation; then streaming, a TLS deployment contract and broader malformed-input campaigns |
| 4 | Expose the other native database adapters safely | Typed codecs and language bindings, pool/transaction ownership, real-server compatibility/failure tests, secret handling and migration tooling |
| 5 | Stabilize task and memory semantics | Structured spawn/join, cancellation propagation, arena lifetime and cross-request escape checks, fairness and saturation tests |
| 6 | Evaluate io_uring and multi-core execution | Linux completion backend with fallback; isolated runtime shards, bounded messages and measured benefit under representative load |
| 7 | Harden and release | Fuzzing, security review, long-running failure/load tests, operations tools, signed artifacts, support and upgrade policy |
The io_uring and thread-per-core experiments must not block correctness work. A backend is accepted because it improves measured behavior while preserving semantics, not because the mechanism appears in a pitch.
Gates for a stable production release
| Gate | Required evidence | Present state |
|---|---|---|
| Language semantics | Versioned specification, conformance suite, deterministic diagnostics, compiler fuzzing, sound region/task escape rules | Scalar/fallible/Optional, immutable records and scalar/record lists, local imports; nominal enums; payload enums, match expressions, namespaced modules, broader collections and ownership rules pending |
| Async and tasks | Partial I/O, overload, cancellation, deadlines, fairness, resource reclamation and structured task tests | Implicit async lowering plus timer/Redis I/O; HTTP deadline and panic isolation; public spawn/join pending |
| HTTP and security | Protocol conformance, typed bodies/JSON, router, TLS contract, malformed-input campaign and independent review | Bounded Content-Length bodies, strict record JSON, query/header lookup; bounded path parameters and immutable response headers with Linux source TCP evidence; chunked transfer, built-in TLS and full conformance pending |
| Data access | Real database/version matrix, typed parameter/row codecs, bounded pools, transactions, fault injection, migration and rollback tests | Five experimental adapter groups compile; Redis basic-key binding verified locally; remaining live tests/bindings pending |
| Operating systems | Native Linux/Windows/macOS CI, supported-version policy, clean-machine install and upgrade evidence | Current Linux source evidence; exact-artifact results in the release report; prior macOS evidence is historical; other platforms remain unverified |
| Performance | Reproducible throughput, latency percentiles, errors, CPU, RSS and startup for equivalent workloads on current binaries | Historical 0.3 microbenchmarks only; no current performance claim |
| Operations | Sustained overload/soak tests, tracing/metrics, readiness, graceful rollout, rollback and runbooks | Runtime limits and bounded shutdown exist; operational coverage incomplete |
| Supply chain | Locked dependencies, SBOM, advisory review, reproducible build checks and signed release artifacts | Vendored runtime dependencies and checksums; signing and full review pending |
| Developer experience | Executable docs, formatter/LSP, package workflow, compatibility and upgrade policy | CLI, checker, bounded browser execution, JSON/Redis API templates, examples and source SDK; context-validated formatter; editor/LSP and broader package/upgrade contracts pending |
How to report progress
Report each feature as implemented, experimentally verified, or planned, and name its platform and test scope. Record failed and skipped integration runs alongside passes. A skipped live test is not a successful live test. Correctness tests do not substitute for performance measurements; an old benchmark does not validate a new runtime.
No stable or production-ready badge should be used until the required gates pass and the remaining supported-use limitations are documented.