Heliodex project update – October 2026
Updated 13 November 2026 at 04:33
Finally, I was just about able to find time to write this one. I seem to always talk about the seasons in the starts of monthly updates, I guess because it's a somewhat natural-feeling unit of grouping for months.
Winter is coming. If you live somewhere where it gets cold (and somewhere in the northern hemisphere), make sure to wrap up warm and enjoy this month's update!
Mercury
The ledgertests branch has been merged, and Mercury's Economy service migration is complete. For real now. Last time I said it was "ready to merge soon", it actually ended up needing a fair amount more security updates and better invariants. Though now, all asset ownership is specified in the Economy service (legacy database relations for such have been removed), packages work, the previous ledger has been migrated over (all currency values rounded to Units), and there are no more fees or NaN currency values. We'll see how the no-fee environment plays out for Mercurian economic development.
The migration of all assets was successful, though we did end up removing all assets in some categories (hats, faces, gear, packages) after the migration.
Game joining wasn't working for me on the launcher, so that's fixed now.
Some more epic trailer sections were filmed in-game in the 2013 client, with plenty of banter in calls and chat.
Uh, what else... we have 159 users on site, which beats Mercury 2's record!!
Defector
Defector's website has been replaced with a static page showing the leaderboard and final battles, so I can finally stop hosting the server and its database, which consume an awful lot of RAM and storage space. The server is finally no longer constantly swapping, at a cost of breaking some people's tools which were relying on the Defector API.
Hopefully this will help me avoid security bounties by not hosting dynamic services in front of databases containing PII for now-static content.
Half Life
Half Life just finished up Week 4, and its incredible code is now accessible at github.com/hackclub/halflife.
Managing drop-off for programme users is tough. Each time we budget for prize costs, we set a limit for how much user drop-off is the maximum required to make the economics still work, and each time that maximum is exceeded. Now I joke that the programme itself has a half-life, due to how the user count decays over time.
We introduced incentives for reviewers for completing project reviews, such as giving out merchandise as prizes. The review queue is reaching difficult lengths despite this, so we're planning a restructure of the review team.
The primary review tool for Half Life is Ari. Ari's API tends to be rather cagey about the information it gives to users, and since it's 3 separate services (the review tool, the webhooks service, and the SDK), any changes I make to it in PRs seem to cause everything to break. We've been working around these issues by building an impressive battery of migration scripts, which can be deployed any time to fill in any missing data, and sync jobs, which do the same on the regular. Some of the migration scripts have to do crazy stuff like log in with my user cookie and click the 'Resend' button on all ships in the 'Decided' section, or use SvelteKit form action endpoints as undocumented APIs.
I ended up introducing oxlint to the Half Life codebase and tightening its lint rules to make sure it catches as much as it can and doesn't conflict with Biome. Implementing its recommendations resulted in a significant code consistency boost, similarly as to when I used Biome for the 1st time in Mercury. I don't see it as a replacement for Biome, more as as complement. oxc also has a formatting tool, oxfmt, which I didn't use since I prefer Biome's formatting style (same reason I didn't take a deeper look at Bun's formatter). However, I'd be happy to take another look at it once I understand the configuration options more deeply.
Fixes still need to be made to the website regularly, usually due to workarounds like strange Ari behaviours duplicating time. I still can't figure out Ari's interface is cagey about its information too. Like, it's unclear what the last review action for a project was from the project page. Why can't you just tell me, Ari?? Maybe I should give up and build my own review platform instead (EPIC FORESHADOWING).
The admin panel continues to be updated with more awesome analytics, or at least pretty-looking charts. They look pretty nice in screenshots if I do say so myself (...which I do).
better-deploy
This is a little (big) experiment in seeing if I can build a better deployment system for basic web apps, instead of relying on MicroVMs or containers though still providing sandboxing.
I got interested in durable objects recently, especially with self-hostable implementations like celld. I realised that, while they're capable of running Javascript with V8 isolates, they also can run WebAssembly. This prompted my brain to go "hmm, sounds a lot like Spin", which prompted me to take another look at Spin and compare it with celld. Both are excellent, though celld isn't that simple to deploy outside of development, since it requires a hosted S3 bucket, and Spin doesn't support remote deployments via CLI for anything outside of their own Fermyon Cloud platform.
The solution I came up with for this is a custom supervisor, deployment tool, SDK, and set of libraries built around the Wasmtime CLI (Spin is built upon wasmtime too). Everything is written in Go (or as I call it, "all systems Go"), so while theoretically any language that compiles to WASM could be deployed on it, the SDK, libraries, and every application backend I've built so far have all been in Go too.
The best part of the system is a contract generation tool that starts with a set of TypeScript Standard Schemas, generates a set of JSON schemas which are used to produce Go structs, and also generates a set of methods that call defined API routes. I wouldn't call it entirely type-safe, though it's a huge step up from nothing, and with a runtime cost nowhere near that of GraphQL or similar.
There's also an admin panel to manage stuff (UI ~~inspired by~~ stolen from Peaks) and a set of cute little example apps to demonstrate its features.
I ended up with an interesting flow where I asked an agent to create an example app, then find out which pain points it ran into, then simplify those or introduce libraries to abstract often-used functionality. This flow 1st sparked my interest when I was setting up my agent sandbox and watched as it ran into issues with tools it was expecting to exist and didn't in its bare container environment, then adding more tools for it to use.
I don't have a name for the system yet. I've been calling it by the codename "wt", though I'd better come up with something soon or that's what it's going to be called (it'll end up like TSBB).
This project serves different goals than other VM/deployment-related projects I have, such as xc, Coputer, or VM. xc is a simple management tool for native binaries of any kind, and has no sandboxing; Coputer focusses primarily on the decentralised/collaborative aspect, only aims to support a subset of Luau, and doesn't have APIs for network access or data persistence (both difficult to design in a collaborative way); VM is brutally simple, has no focus on external APIs or compatibility whatsoever, and won't be complete for a long time yet.
It could have been implemented by linking Wasmtime to the supervisor with a small Rust shim, except for the fact that I'd do almost anything to avoid touching Rust. You know your codebase is too vibecoded when your agent suggests "rewrite it in rust" as a serious option. At least if it's written in Go then I can actually look at it and understand what it's doing, even if I don't have a map of the codebase in my mind. If it's written in Rust, the probability of anyone ever understanding it entirely disappears.
What was I on about? Yes, I did look into the Go API they have, which doesn't expose some of the necessary methods for orchestrating separate WASM processes. Yes, I did consider using my beloved Wazero, though at this point in the project, the consistent WASI interfaces are more important to me than running on WASM itself. The only big WASM-only runtime I didn't seriously evaluate was Wasmer, which I'll look into. For the time being I'll stick with the Wasmtime CLI and eat the 30-50 MB memory cost, managing it with auto-sleeping services instead, since the cold start time is still only ~15ms.
Coputer
Coputer! How could I nearly forget about you? The formatting experiments have advanced a little further. I also ended up running a few benchmarks and optimising some areas of the Litecode VM, including implementing Val, the default Luau value type, as a struct rather than as an alias for any as it has been for so long!! Well, actually, it's just a struct containing a number and an any. Basically, numbers are the fast path now, and it's worth making every other type the default slow path. It's faster, though I'm not happy about it.
This fast-path treatment was also applied to my epic pattern matching implementation, with a fast path on the . wildcard. The remaining performance/memory optimisations were mostly minor loop issues being fixed. I'm glad Litecode has enough tests for me to be able to do such optimisations relatively safely.
I used golangci-lint as a linter runner for the code in wt, and it produces pretty nice linting output, so I'll probably add it to Coputer and some of my other Go projects too, similarly to what I discovered with oxlint in Half Life.
You'll see more tools in the near future built on top of whatever comes out of wt. As someone wise might have said, "you need wonderful tools to build wonderful tools".
Ad time! Go check out Soap! It's ORC x Hack Club programme that the whole world was waiting for. Probably. You can run scripts in a RCCService instance and win free Robux.
Anyway, that's everything I have for now. I hope to see you in December!