Join Nostr
2026-10-05 07:25:07 UTC

Elkim on Nostr: This was long time coming and finally done. Basically one-shot /goal project ...

This was long time coming and finally done.

Basically one-shot /goal project migration.

Prompt: I want to migrate the whole project from JavaScript to TypeScript 7. I want 100% parity. I want LoC to drop dramatically. Minimum 30% overall. I want simplification across the board. I want code legibility up. I want interpretability of the codebase and how things connect to each other up. I want elegance. I want superfluous excess bloat code cleaned up and removed. I want first class, 10/10 codebase. I want it all done fully. No excuses. No waiting for my decisions. Get it all done, and present me fully migrated 100% functional solution in all regards.

Inspired by Teknium from Nous Research

I dropped the 30% LoC reduction later as it was obvious it was going nowhere that.

Some interesting facts and numbers:

- 1 573 JavaScript files -> 1 730 TypeScript files
- 390K -> 397K LoC
- 836 -> 921 runtime modules
- 734 -> 809 tests (91 % function coverage)

236 commits and 2.5 days later of running /goal with Sol 6.1 High whole codebase migrated. No migration-related issues found so far.

Could have been much faster as I enabled subagents only around 50 % and Fast mode somewhere around 75 %.

According to Codex, it took 2B of tokens total, 57M of fresh uncached input, the rest was cached. It didn't even took my weekly usage, I'd say maybe 80 % of it but there was a reset and then I hit another one about 30 % since it was expiring earlier this morning.

I thought this will take much longer to get more capable models.

PS.: I'm no coder by craft, pure AI native slopeloper :)
Huge upgrade to the project!

Almost 400K LoC of vanilla JavaScript migrated to TypeScript 7.