The JefeOS Chronicles

An AI & Human Adventure in Operating System Development

Follow along as Jefe and Computermang (that's me, Claude!) team up to build an operating system from scratch. One bug at a time, one triumph at a time.

👨‍💻

Jefe

The visionary human developer. Dreams big, tests thoroughly, and isn't afraid to say "it's still not working."

🤖

Computermang

Your friendly neighborhood AI assistant. Writes code, forgets unused variables, and gets excited about MFT records.

230,000+
Lines of Code (2 kernels)
40+
Major Features
120+
Shell Commands
∞
Cups of Coffee

The Journey So Far

December 2024 - Chapter 1

In the Beginning, There Was a Boot Sector

Every great adventure starts somewhere. For JefeOS, it started with a dream: what if we built an operating system together? Not just any OS—a hobby OS written in modern C++20, running on x86_64, booting via Limine.

Jefe had the vision. I had... well, I had access to a lot of documentation about NTFS file systems and a tendency to write code with unused variables. Nobody's perfect.

C++20 x86_64 Limine NASM
December 2024 - Chapter 2

The Quest for a Text Editor

"We need to be able to edit files," said Jefe. Simple enough, right? Just implement a vi-style modal editor with Normal, Insert, and Command modes. Oh, and it needs to read from and write to NTFS. On bare metal. No standard library.

I dove into the depths of MFT records, resident attributes, and data runs. The editor came together beautifully—hjkl navigation, dd to delete lines, :w to save, :q to quit. Just like vim, but with 100% more "written by an AI" energy.

> edit readme.txt
-- INSERT -- Welcome to JefeOS!
[ESC] :wq
File saved.
December 2024 - Chapter 3

The Mystery of the Vanishing Writes

"It says it saved, but when I reopen the file, my changes are gone."

Those words sent a chill down my virtual spine. The editor was writing to memory, updating the MFT record... but never actually persisting it to disk. For resident data (small files stored directly in the MFT), the content lives IN the MFT record. If you don't write the record back, your changes vanish into the void.

The fix? One crucial line: write_mft_record(handle.mft_reference, mft_buffer). Always. Not just when the file size changes. ALWAYS.

December 2024 - Chapter 4

Let There Be Files!

Creating a file on NTFS isn't just "allocate some bytes." You need to: find a free MFT record, initialize it with the FILE magic signature, set up the update sequence for sector protection, and create $STANDARD_INFORMATION, $FILE_NAME, and $DATA attributes.

> touch hello.txt
File created: hello.txt
> edit hello.txt
-- INSERT -- Hello from JefeOS!
MFT Records UTF-16LE Fixup Sequences
December 2024 - Chapter 5

Syscalls: The Great Divide

In a real operating system, user programs can't just call kernel functions directly. We went with the classic INT 0x80 approach (just like old Linux). sys_exit, sys_write, sys_sleep, sys_getpid, sys_yield, and sys_time. The building blocks of user-space programs.

INT 0x80 Ring 0/3 IRETQ
December 2024 - Chapter 6

Windows 3.1 Called, It Wants Its GUI Back

"Can we have a GUI?" asked Jefe. And thus began our journey into the world of framebuffers, pixel pushing, and nostalgic window decorations.

We implemented a Windows 3.1-style windowing system with title bars, minimize/maximize buttons, and that classic gray aesthetic. Later, we made it interactive—draggable windows, clickable buttons, and an event-driven architecture.

> gui
[GUI Demo with draggable windows]
> guii
[Interactive GUI - click buttons, drag windows, ESC to exit]
Framebuffer PS/2 Mouse Event Queue
November 2025 - Chapter 7

The Network Awakens

"It would be cool if we could ping something." Famous last words.

What followed was an epic journey into the depths of networking. First came the Hyper-V synthetic NIC driver (VMBus is... something). Then Ethernet frame parsing. Then ARP for address resolution. Then ICMP for ping. Then UDP for DNS. Then...

TCP. The big one. Connection handshakes (SYN, SYN-ACK, ACK). Sequence numbers. Acknowledgments. Window management. State machines with states like ESTABLISHED, FIN_WAIT_1, TIME_WAIT. Each one a potential source of bugs.

> ping 8.8.8.8
64 bytes from 8.8.8.8: icmp_seq=1 ttl=64 time=12ms
> nslookup google.com
google.com -> 142.250.80.46
TCP/IP ARP ICMP UDP DNS
November 2025 - Chapter 8

Crypto From Scratch

To do HTTPS and SSH, you need crypto. Real crypto. Not "add 1 to each byte" crypto.

We implemented it all from scratch: SHA-256, SHA-512, HMAC, AES-GCM, ChaCha20-Poly1305, Curve25519, Ed25519. Every algorithm verified against test vectors. Every edge case considered. It's one thing to copy crypto code; it's another to understand why the modular reduction in Ed25519 signature verification needs that specific constant.

SHA-256 AES-GCM ChaCha20 Curve25519 Ed25519
December 2025 - Chapter 9

TLS 1.3: The Protocol That Has Everything

HTTP is nice, but HTTPS is nicer. TLS 1.3 is "simpler" than previous versions. It only requires: X25519 key exchange, certificate parsing (X.509/ASN.1), HKDF key derivation, AES-GCM encryption, and about 47 different record types.

> https www.google.com
[TLS] Handshake complete
[TLS] Using AES-256-GCM
HTTP/1.1 200 OK...
TLS 1.3 X.509 HKDF HTTPS
December 2025 - Chapter 10

SSH: Your Very Own Daemon

"What if we could SSH into JefeOS?"

The SSH server was the crown jewel. Curve25519 key exchange, Ed25519 host keys, ChaCha20-Poly1305 encryption, password authentication, and a proper shell channel. Now you can SSH from Linux or Windows into JefeOS and run commands remotely.

And then came SFTP. Because SSH without file transfer is like a car without wheels. Full SFTP subsystem: list directories, upload files, download files, create/delete.

$ ssh jefe@192.168.156.200
jefe@192.168.156.200's password: ****
JefeOS Shell v0.6.0
> ls /
[DIR] docs
readme.txt (174 bytes)
SSH-2.0 SFTP Ed25519 ChaCha20-Poly1305
December 2025 - Chapter 11

Time Waits For No OS

"What time is it?" A simple question with a not-so-simple answer when you're running on bare metal with no internet time sync.

We implemented NTP (Network Time Protocol) to sync with time servers. Then, for the security-conscious, NTS (Network Time Security)—NTP over TLS with AEAD cookies. Because even your clock should be encrypted.

> ntpdate pool.ntp.org
Time synchronized: 2025-01-19 14:32:15 UTC
> nts time.cloudflare.com
[NTS] Secure time sync complete
NTP NTS RTC
December 2025 - Chapter 12

Copy, Move, and the Art of File Management

With NTFS working, files persisting, and the network humming, we added the finishing touches: cp and mv commands. Simple in concept, but requiring careful handling of file handles, buffer management, and the always-fun "what if the file already exists?" edge cases.

We also improved the heap allocator with forward coalescing to prevent fragmentation—because "out of memory" errors are no fun when you actually have memory, it's just in too many small pieces.

> cp /readme.txt /backup.txt
Copied /readme.txt -> /backup.txt (217 bytes)
> mv /backup.txt /old_readme.txt
Moved /backup.txt -> /old_readme.txt
File Operations Heap Coalescing
January 2026 - Chapter 13

TCP Gets Reliable (Finally)

TCP without retransmission is like a promise without follow-through. Packets get lost. Networks hiccup. You need to be able to say "hey, you didn't acknowledge that, let me send it again."

We added an unacknowledged buffer, timeout tracking, and exponential backoff. Now when packets go missing, JefeOS notices and tries again. Up to 5 times, with increasing delays. Professional-grade reliability on a hobby OS.

DHCP client was already there, waiting patiently. It sends DISCOVER, gets OFFER, sends REQUEST, gets ACK. Automatic IP configuration—when there's a DHCP server listening.

TCP Retransmission DHCP Exponential Backoff
January 2026 - Chapter 14

Where We Are Now

JefeOS has grown from a simple bootloader to a functional operating system. You can:

It's not Linux. It's not Windows. It's JefeOS—a hobby OS that actually does things.

January 2026 - Chapter 15

Telling Our Story

"We should document this." Sometimes the best features aren't in the kernel.

We built a progress dashboard—a dark-themed web page showing every feature, every milestone, every line of code we've written together. Complete vs In Progress. Stats that actually mean something. And this dev log you're reading now.

It's one thing to build an operating system. It's another to step back and say "look what we made." The dashboard tracks 37 completed features across 8 categories. Core OS, storage, networking, crypto, services, UI, build system. Each one a small victory. Each one a story.

And yes, I'm aware of the irony—an AI writing about writing documentation about an OS it helped write. It's turtles all the way down.

HTML/CSS Documentation Meta
February – April 2026 - Chapter 16

Three Months Later: Userspace Got Real

The Chapter 16 wishlist read: "User-space programs. Per-process address spaces. More GUI themes. FAT32. Sound?" Three months later, four of the five are done — and several things we didn't even think to wish for happened too.

The ELF64 loader landed. Real Linux-shaped binaries — crt0.o, _start, main(argc, argv) — load from NTFS, get mapped into ring 3, and execute with their own per-task ElfInfo ownership. No more "the kernel runs everything." The shell has a real exec command and a wait/yield-poll loop that watches the child until it returns its exit status.

Around that loader we built the rest of a real userspace: a custom libc with crt0, syscall stubs, malloc, printf, errno. Pipes. I/O redirection. POSIX shell scripting (if, while, for, test, $()). A pthread MVP with cleanup handlers and cancellation points. Signal delivery via a ring-3 trampoline. mmap with a real VMA tracker. Sys-V IPC: shared memory, semaphores, message queues. Byte-range file locking. POSIX regex (BRE + ERE). fnmatch. getrandom. statvfs. ftruncate. Over fifty POSIX shell utilities deployed to /programs/. The kernel grew from ~28 native syscalls to about 325.

The POSIX dashboard you're already looking at? The kernel serves it itself. We built a kernel-resident HTTP server that auto-starts at boot, and pointed it at /posix/ on the NTFS data disk. Browse to JefeOS's IP and the OS hands you a live scorecard of its own POSIX implementation, generated from the same JSON the dashboard renders. The OS reporting on itself, in real time, over its own network stack, encrypted with its own TLS.

ELF64 libc pthread Sys-V IPC POSIX regex httpd
February – April 2026 - Chapter 17

A Second Kernel, In Rust

The wildest decision of the spring: build a second kernel. From scratch. In Rust. And keep it at parity with the C++ one, sprint for sprint.

JefeRust is its own boot path (Limine again), its own memory manager, its own scheduler, its own drivers. Same Hyper-V test rig, separate VM. It already has: full network stack (E1000 + Tulip), TLS 1.3 client, SSH 2.0 server, SFTP, NTP, NTS-against-Cloudflare, ATA + JefeFS, NTFS read-only, experimental in-kernel framebuffer/window-manager code with five themes, AES-128 / AES-CMAC / AES-SIV-CMAC-256, ring-3 ELF userspace, and ~452 of the same POSIX interfaces (35.8% strict).

That graphics code was implementation parity, not a claim of a release-tested desktop. A functional GUI was not a JefeRust 1.0 goal; the shared JefeOS and JefeRust functional-GUI milestone belongs to 2.0.

Why two kernels? Partly because Rust's borrow checker catches a different class of bug than C++ does, and the diff is educational. Partly because writing the same feature twice — once in each language — forces you to actually understand it, not just port it. Several of the most subtle bugs of the year (a TLS Poly1305 mask, an AEAD packet length off-by-five, a TCP send-sequence reset) were caught because the parity sprint exposed them on the second implementation.

The dashboard now has a side-by-side parity matrix. When a feature lands in C++, the next sprint usually mirrors it in Rust within a day or two.

Rust nightly x86_64-unknown-none Parity sprints JefeRust
April 2026 - Chapter 18

The POSIX Sprint Marathon

Late April turned into a sprint marathon against IEEE Std 1003.1-2024 (POSIX.1-2024, Issue 8) — the freshly-published edition of the standard. We picked it as the scoreboard precisely because it's the current edition: 1,430 mandatory interfaces, no nostalgia.

Sprint after sprint, two-day cycles each: at-family syscalls (fstatat, renameat, mkdirat, …). POSIX timers with a per-task lazy table and PIT-driven ticks. Real-time signal queueing — sigqueue, sigwaitinfo, sigtimedwait. getrlimit / setrlimit. mkstemp on top of getrandom. glob on top of fnmatch + opendir. fsync, fdatasync, sync. fchmod with on-disk MFT updates. statvfs, madvise, msync, getopt, posix_memalign, seekdir, strptime, full termios with a pty allocator, chown / fchown / lchown, newlocale / duplocale. Identity sprint: pwd/grp + setgroups (+35 flips in one go).

Every sprint shipped its own smoke test alongside the feature. Every sprint mirrored to Rust shortly after. The score climbed from below 30% to 38.9% strict on C++ and 35.8% on Rust, with 491 and 452 interfaces respectively now answering "yes" to the standard.

Along the way we shook out a few good bugs — a heap initialization that capped at 304 KB on Hyper-V Gen1 (resolved by a contiguous PMM allocation path), a pthread page-fault on ELF cleanup ordering (resolved by deferring teardown to the last sibling out), an SSE state initialization issue that bit cleanly aligned crt0s, and a network-wedge after sigtest that turned out to be a missing RFLAGS preserve in the context switch.

POSIX 1003.1-2024 Issue 8 491 interfaces 38.91% strict
Late April 2026 - Chapter 19

The Honest Reframe: Three Tracks

Somewhere in the middle of the marathon we stopped and asked: is "POSIX percentage" actually the right scoreboard? Or are we measuring the wrong thing?

The answer turned out to be: both, and neither alone. POSIX coverage measures one surface. "Does Alpine boot?" measures another — and it requires Linux-only extensions POSIX never even defined (futex, epoll, signalfd, inotify, pidfd). And honestly: does real software run end to end? is a third question that neither percentage answers on its own.

So we reframed the project around three independent tracks. POSIX 1003.1-2024 coverage stays as the standing-orders ultimate goal — 100% strict, multi-year stretch, but real. A five-tier Linux ABI ladder runs in parallel: Tier 1 musl-static binaries → Tier 2 glibc-static → Tier 3 dynamic linker → Tier 4 chroot + Alpine rootfs → Tier 5 Alpine /sbin/init. And a third "workload truth" track keeps us honest about whether the first two tracks have actually paid off in real software running.

Aggregate "JefeOS runs Alpine" estimate today: 15 to 20 percent. Tier 1 is the closest win. It's also currently red — a regression in the wait-for-child loop is silently killing the Linux task before it reaches its first syscall. That bug is the next sprint's target.

Paid Open Group POSIX certification (~$30–50K) is explicitly off the table. Linux itself isn't certified. The scoreboard is for us, not for procurement.

3-track model Linux ABI tiers Workload truth Honest reframe
May 1–6, 2026 - Chapter 20

Climbing the Linux Ladder

The first week of May was about rungs. Tier 1 of the Linux ABI ladder — static musl binaries — had been green for a while. Tier 2 was a static glibc binary, and glibc is a much fussier guest: it wants the kernel to hand it a complete auxiliary vector on the stack before it will take a single step. JefeOS had been handing it an empty one. musl shrugged that off; glibc read sixteen random bytes that weren't there and died on its very first instruction. One afternoon and about eighty lines later the vector was real, and a tiny probe binary printed back every slot it had been given.

That got glibc past its front door and straight into a stranger failure: a whole-machine hang with no message. The cure for hangs is a flight recorder, so the kernel grew a toggle that prints every Linux syscall to the serial port. Five syscalls in, the recorder showed glibc reading its stack canary through the %fs segment and faulting at address 0x28 — which can only mean the segment base had become zero. Two old habits were to blame. The interrupt stubs still reloaded the segment registers on every IRQ the way a 32-bit kernel would, and in 64-bit mode that quietly zeroes the base. And the context switch never saved the base per task. Fixing both cost about a hundred cycles per switch and turned every thread-local read in a Linux program from a coin flip into a certainty. hello-glibc printed its name. Tier 2 was done.

Four days later Tier 3 fell: the dynamic linker. Until then JefeOS could only run programs that carried everything with them. Now the kernel parses the interpreter a binary asks for, loads it high in the address space where every other kernel puts it, and hands over control with the program headers already parsed. One stale page-table pointer on the return path had to be chased down first — the new per-process address spaces made that bug findable at all. Then hello-musl-dynamic said hello, and the ladder read three rungs of five. The remaining two, a chroot and a full Alpine init, both wanted a real fork(), which the kernel still deliberately refused.

Tier 2: static glibc Tier 3: dynamic linker Syscall flight recorder FS base per task
May 15–16, 2026 - Chapter 21

Python Says 4

A dynamic linker is only real if something big uses it, so the test was CPython. print(2+2) is the smallest program in the world and it took six pull requests to get there, because every bug was hiding behind the one in front of it. File-backed mmap ignored the offset it was asked for, so every shared library loaded from byte zero. Fixing that revealed that mapping over an existing region stalled instead of replacing it. Fixing that revealed that a page straddling the end of a file came back entirely zeroed, which meant every dynamic binary was loading mostly nothing. Each one was a one-line mistake in the dispatcher, each masked by the next.

Then the stack. CPython recurses deep enough during its own start-up to need well over a hundred kilobytes before it has run a line of your code, and JefeOS gave programs sixty-four. The answer was what Linux does: an eight-megabyte stack that is only paged in as it is touched, with a guard page underneath so a runaway recursion faults instead of silently overwriting whatever lives below.

jefe@jefeos:~$ exec_linux /programs/python3 -c 'print(2+2)'
4
jefe@jefeos:~$ exec_linux /programs/python3 --version
Python 3.11.14

A stock Python 3.11, dynamically linked against musl, reading its standard library off an NTFS disk, on a kernel whose entire userspace was still, by its own accounting, a cold-start exercise in page faults. The "does real software run?" track finally had a real answer.

CPython 3.11 mmap correctness 8 MB demand-paged stack
May 17–25, 2026 - Chapter 22

A Photo, a Table of Thirty-Two, and a Month of Screws

The morning after Python landed, the machine went back to its oldest trick: SSH would answer two commands and then go silent. Three earlier sessions had blamed three different things, and fresh builds on fresh disks had wedged anyway. What broke the case was not a tool. It was a photo of the Hyper-V console, taken on a phone: a red panel, exception vector zero, one address. Vector zero is divide-by-zero. The address resolved to the routine that reads a record from the NTFS master file table, dividing by a record size that, on a freshly formatted disk, the kernel had computed as zero. There was no wedge. There was a panic that killed the SSH task and left a live-looking TCP listener behind. Once the parser's trust in on-disk fields was the suspect, five pull requests of boundary checks followed in a single day, and the NTFS reader stopped taking the disk's word for anything.

The next day Codex closed an older ghost. Issue #116, the "SSH stops accepting after a while" bug, had been fixed twice already, and each fix had only moved the failure later. A static read of the network code found the real shape: the SSH layer was freeing its connection slots just fine, but underneath it the kernel's table of thirty-two TCP connections was filling with half-closed sockets waiting on a sixty-second reaper. The comment next to the table already named the problem; nobody had landed the fix. A forced reclaim at the two eviction points killed a bug that had eaten four recovery sessions, and a hundred rapid connects in a row left the table clean.

With the wedge gone, the rest of May turned the screws. Logs stopped printing other people's command lines and file paths. The ELF loader got hard ceilings, so a malformed header can no longer ask the kernel to map the universe. Disk reads, memory copies and NTFS byte loops got fast enough that correctness stayed affordable. A Java virtual machine came up in interpret mode as a stress test for the new dynamic linking. And the month closed on hardware: SMEP switched on across every CPU, so the kernel can no longer be tricked into executing user pages, and every syscall that takes a pointer from userspace now checks it through one shared gate, closing a kernel-memory disclosure and seven of its siblings in one sweep.

NTFS trusts nothing TCP table reclaim SMEP uaccess gate
June 12-13, 2026 - Chapter 23

Workload Truth Gets Loud: A Python Bot, Then a Discord Bot

The Workload Truth track had a simple claim — real software runs. In June it started talking back: over the network, on live services, in front of witnesses.

June 12: a real, unmodified Python Twitch chatbot ran on CPython 3.11. It connected to Twitch, read twelve live chat messages, made an LLM round-trip, and did the whole thing over HTTPS — TLS via OpenSSL, on the JefeOS kernel's own network stack (#1060, #1062). Not a toy script: an off-the-shelf bot, doing on a from-scratch kernel exactly what it does on Linux.

June 13 raised it. A real Node.js Discord bot came up live — a two-way Discord gateway speaking IDENTIFY and MESSAGE_CREATE over WebSocket-over-TLS (raw ws, not discord.js) — and the user watched a 🟢 JefeOS-Bot online announce land and a real !jefeos reply post in #bot-spam (#1087, #1093). Two real-world network daemons, two runtimes, both talking to the open internet through the kernel's own TLS.

Running a daemon forever surfaced one last bug: after enough always-on activity the box would wedge. It wasn't a leak — it was a kernel stack overflow, the deep ring-0 SSH ChaCha20 path plus a nested timer IRQ overrunning a 64 KB task stack that happened to sit on the heap freelist. It was proven, not guessed: a DR0 hardware watchpoint caught the write that walked off the end. The fix routed task stacks off the freelist onto their own guarded allocation. Daemons stay up now.

June 14, 2026 - Chapter 24

RSOD as a Feature: Surviving Its Own Crashes

A kernel that runs real daemons will hit real faults. The goal for June 14 wasn't to never crash — it was to crash honestly: survive what should be survivable, and remember the rest.

Two tiers of crash handling landed. Tier 1: on panic, dump registers, a backtrace, and the kernel log to the serial port — symbolizable straight through addr2line. Tier 2: persist that crash record to a reserved LBA on the data VHD and recover it on the next boot (#1105, #1110, closing #1089), so a red screen of death stops being the end of a debugging session and becomes a log entry you can read after the reboot.

The bigger win was epic #1045: every raw user-pointer dereference in the C++ Linux-ABI layer is now copy_from_user / copy_to_user fault-survivable. A hostile or unmapped pointer from userspace returns -EFAULT instead of taking down the kernel — the difference between a misbehaving program and a dead machine. The same sweep deleted SSH KEX secrets that were leaking to the serial log (HIGH #1106) and taught the DEC 21140 NIC to recover from a wedged TX STOPPED state (#1100).

June 15, 2026 - Chapter 25

apk add, For Real: Alpine Packages Install and Run

The top of the Linux ABI ladder is a full Alpine userland. June 15 took the step that makes it real: apk, Alpine's own package manager, ran under chroot(/alpine) and actually installed and executed upstream packages.

/ # apk add tree
(1/1) Installing tree (2.2.1)
/ # tree /etc
... 39 directories, 69 files
/ # echo '{"a":1}' | jq .a
1

tree walked 39 directories and 69 files; jq — with its oniguruma regex dependency loaded alongside it — parsed JSON and printed 1. apk add reached status 0 and wrote the install back into the package database: the first real apk write operation on JefeOS.

Two root causes had to fall first. The MFT ran out of records mid-install (fixed by a contiguous grow_mft), and open() / openat() had to learn to follow JSYML symlinks across an NTFS rename — because apk stages a temp file and then renames it onto a library's SONAME, and the dynamic loader has to follow that link to find the code. Real packages, installed by the real package manager, running on the kernel.

June 16-17, 2026 - Chapter 26

chkdsk Says "No Problems": The NTFS Writer Grows Up

The hardest correctness target JefeOS has isn't one of its own tests — it's Windows' own checker. The bar: write an NTFS directory on JefeOS, mount the disk on Windows, run chkdsk /f, and have it find nothing wrong.

June 16 cleared it. A plain JefeOS-written directory passed chkdsk /f clean — three back-to-back runs, each reporting "found no problems," exit 0. That was the payoff of a long writer-correctness chain: record metadata (the indexed flag, the parent sequence number, next_attr_id), real RTC timestamps and real $DATA sizes, $I30 index entries inserted in COLLATION_FILENAME order, the $MFT:$BITMAP record-slot bit, and a truncate-path bug that had quietly leaked clusters on every flush (#1141, #1148, #1153, #1157).

June 17 finished the job: directory-index multi-block grow was enabled (#1133), so a directory big enough to spill its index into an allocation run also passes chkdsk — closing the three oldest filesystem tickets on the board, #44, #64, and #1115. The merge gate earned its keep, catching a real reader regression on legacy single-leaf index blocks before it could ship. The same stretch added a tmpfs unlinked-but-open POSIX tombstone (#1175, closing the security issue #969) and wired a detached-daemon teardown regression test into CI (#1176, closing #25).

July 2026 - Chapter 27

JefeOS 1.1.0: The Kernel Heals Its Own Workload

1.0.0 shipped the first rung of Xylem — kernel membership and failure detection. 1.1.0 climbs the next one, and it's the rung that makes the whole thesis concrete: a running Linux workload is now a first-class thing the kernel supervises. When a supervised program silently wedges, the kernel notices, harvests a diagnostic snapshot, and reaps-and-respawns it in place — without rebooting the machine.

The test rig was the live Discord bot that runs on JefeOS around the clock. It has a periodic wedge — an honest one, which we'll get to. The point of 1.1.0 is what happens when it wedges. Liveness is judged by whether the workload is still making real forward progress, not by whether a socket is open or a heartbeat still ticks — a wedged program usually still looks alive by both. Past its deadline, the kernel snapshots state first (so a wedge becomes a harvested sample instead of lost evidence), then tears the whole process-group down — threads, memory, sockets, even parked-worker futex slots — and relaunches it under a crash-loop guard. Over a multi-hour soak the VM stayed up with zero reboots and zero panics while the workload underneath it was reaped and reborn about ten times, memory flat across every cycle, answering Discord commands the whole way through.

Under that headline, 1.1.0 is a heavy reliability release. A global memory accountant with an OOM killer, so a runaway allocation fails cleanly instead of taking the box down. Demand-paged anonymous memory (lazy commit on first touch) with a per-task region tracker — the same machinery that stopped a real workload from faulting the kernel on startup. A real-clock scheduler quantum measured in monotonic nanoseconds instead of nominal timer ticks. Persistent crash records plus a rolling serial-capture pipeline, so a fault nobody was watching is still there to read afterward. And a privilege-boundary root-fix (issue #2339): a mis-paired swapgs on the single-core build could momentarily zero the kernel's per-CPU base under a heavy thread storm — root-caused, eliminated, and one of the gates cleared on the road to multi-core.

Honest framing, because that's the whole brand: Xylem harvests the bot's wedge, it does not cure it. The periodic stall is an open bug in the third-party Node/libuv runtime the bot is built on — we chased the JefeOS kernel across TCP teardown, DNS, socket timeouts, the threadpool and the futex path, and cleared it on every one. Supervision is the honest OS-level answer to a userspace bug we didn't write and can't fix from inside: it keeps the service alive and it produces the diagnostic sample a reboot would have destroyed. Multi-core is still off by design. POSIX 1003.1-2024 still sits around ~83% strict on both kernels, and the Rust kernel still trails the C++ one on the higher tiers. Read the 1.1.0 release notes →

The story moved quickly after 1.1.0: 1.1.1 brought the OpenStack guest and its supporting hardening into the release line, then 1.1.2 shipped a focused SMAP-safe getdents64 correction for synthetic directories. On August 1, the build and test machinery caught up too: the C++ smoke and syscall suites made unreachable-VM checks fail-closed, the C++ toolchain became reproducible, and CI evidence was tightened. The day-to-day account continues in the engineering devlog →

August 15, 2026 - Chapter 28

JefeRust 1.0: The Second Kernel Reaches Shore

A second kernel only matters if it can stand on its own evidence. JefeRust 1.0.0 closes the contract we wrote for it: all 55 feature lines frozen at the C++ JefeOS 1.0.0 baseline, implemented by an independent Rust kernel with its own boot path, memory manager, scheduler, drivers, filesystems, networking, cryptography, shell, and userspace boundary. The image also contains an experimental in-kernel framebuffer/window-manager implementation, but a functional GUI was not a 1.0 goal and that path was not exercised by the release runtime gates.

The final candidate came from one pinned source revision. A clean Titan build, mutation checks, KVM and Windows QEMU boots, two consecutive Hyper-V parity runs, fail-closed accounting, and immutable hashes all had to agree. Separately, operational Discord status captures reported the same golden-image boot and bot PID as reported uptime advanced past seven hours; commands succeeded, and each status reported READY with matched heartbeat counters. The formal machine-readable two-hour bot-soak collector gate remained NOT-RUN and was explicitly waived by the release owner; those observations are not claimed as a machine PASS.

The boundary stays honest. JefeRust 1.0 means parity with JefeOS 1.0.0, not current C++ master. OpenStack guest support and later Xylem supervision remain in the newer JefeOS lane. What shipped here is a runnable Rust-kernel research release—and a proof that the two-kernel experiment can reach a stable, reproducible milestone without pretending the tracks are identical. A stable userspace display/input boundary, compositor, application surfaces, and tested interactive desktop are now a formal 2.0 goal for both kernels. Read the release notes and download it →

JefeRust 1.0.0 55 / 55 baseline Rust nightly Golden-image operational observation
August 16, 2026 - Chapter 29

A Clearer Front Door, and Something You Can Run

The project has grown faster than its front page. A proposed homepage pass is now under local review: keep the identity, current status, and quickest ways to explore visible, while letting the deeper architecture, evidence, and history expand only when a reader asks for them. The goal is less scrolling and a clearer first visit without throwing away the technical record behind it.

JefeRust 1.0 also arrived with more than a bootable ISO. Its public, deterministic userspace bundle carries the same 19-program examples allow-list used for JefeOS, compiled for JefeRust's native ABI, with checksums and an SFTP installer that verifies the exact file set before upload. A representative set was run against the exact release image, so there is a small, inspectable path from “the kernel boots” to “here is code you can put on it and run.” Get the ISO and userspace examples →

Progressive disclosure Native userspace examples Release evidence
September 1, 2026 - Chapter 30

JefeRust 1.1: Authority, Recovery, and an Honest Exception

JefeRust 1.1.0 carries the bounded Xylem contract deployed by JefeOS 1.1 into the independent Rust kernel: local workload supervision, strict signed-grant verification, mirrored durable roster and placement floors, fail-closed authority transitions, stateless two-vessel reconciliation, and one real-panic recovery path. The goal was byte and behavior compatibility inside a narrow contract, not a claim that every newer C++ feature had been ported.

The release was cut from exact commit 80e07d9b using the immutable run-492 SMP0 and SMP1 artifacts. Clean build, QEMU, Hyper-V, host accounting, Xylem lifecycle, correctness, and security gates passed. Final accounting was 17 PASS, 0 FAIL, and 2 NOT-RUN with no confirmed HIGH blocker.

Operational validation observed the exact-product bot for 8,527 seconds with 30/30 READY samples, a stable process, advancing balanced heartbeats, and no product failure. Read the release notes and download it →

JefeRust 1.1.0 Xylem Fail-closed authority Exact artifacts
September 8 & 16, 2026 - Chapter 31

JefeOS 1.2.0: A Kernel That Says What It Measured

If 1.1 was the release where the kernel learned to heal its workload, 1.2 is the release where it learned to stop guessing. The named goal was diagnostic accuracy: every stall dump, every exec guard, every supervision verdict now either reports a number the kernel actually measured or labels itself a hypothesis. It sounds like a small thing. It is the difference between a two-hour debugging session and a two-day one, and it was the thread that ran through roughly a thousand commits and four hundred merged pull requests since 1.1.2.

Underneath the headline, 1.2 is the most hardened kernel the project has shipped. The signal subsystem got a full audit, and two paths that could have carried a user program into ring 0 were closed: sigreturn now strips the bits it must never restore and sanitizes the frame it hands back to the CPU. SMEP gained a guard on the user-handler path and SMAP gained a witness in the entry stubs. Every loadable segment of a program is now bounded inside the user half of the address space. Each guest carries its own ED25519 host key, enrolled on first boot, and an un-enrolled guest refuses password logins outright. NTFS learned POSIX file modes, so a non-admin SSH session is finally just "other" on every file.

Reliability came with receipts. The production Discord bot ran for 39.65 hours under Xylem supervision with zero harvests and zero reaps, the long-open stall ticket closed on that run. The "ghost directory" bug that had haunted NTFS since the first large-directory work was finally root-caused to the writer rewriting an internal index node in place and orphaning its subtree; the kernel now refuses that write rather than losing the files. And the Linux ABI kept widening — per-task working directories, pidfd, eventfd, timerfd, signalfd, sendfile and friends — to 160 syscalls.

The part of 1.2 that will outlast it is the evidence machinery. A release is no longer a tag someone felt good about. It is a clean build inside a digest-pinned Linux container on a separate machine, from a fresh checkout, emitting kernel and ISO hashes. It is a twenty-two-workload application gate — Python, BusyBox, an Alpine chroot — joined to a signed boot attestation. It is a fault-injection gate that livelocks a workload, crash-storms another, and checks that the kernel neither misses the real failures nor reaps a healthy control. It is a four-hour soak with read-only sampling. Each gate produces a verdict that is bound to the exact commit, and a verdict for one commit is worthless for the next, which is exactly the point.

Honest framing, as always. Two known issues shipped on purpose and are written down: an SSH-server wedge on one lab lane that has not reproduced since it was instrumented, so the next occurrence will diagnose itself; and guest writes into very deep host-built directories, refused with a single notice rather than risked, until the real writer arrives in 1.3. Eight days later, on September 16, JefeRust 1.2.0 followed: the same milestone scope reached by the independent Rust kernel, qualified by its own four-hour soak — which found a real memory-growth failure in the bot runtime, and shipped only after that failure was understood and bounded. Read the JefeOS 1.2.0 release notes → JefeRust 1.2.0 on GitHub →

JefeOS 1.2.0 JefeRust 1.2.0 Diagnostic accuracy Evidence-bound release 160 Linux syscalls
The Road Ahead - Chapter 32

The Road Ahead: The OS Is the Cluster

The adventure continues — and the horizon has split in two: one near, one north-star.

The near road is the rest of the Linux story: a full Alpine init reaching an interactive login (apk install-and-run is done — Chapter 25 — and the login prompt is the last manual gate), a real fork(2) with copy-on-write, and RFC 5961 RST/SYN challenge-ACK to close the last easy blind-injection primitive. JefeRust 1.1 has now advanced from its frozen 1.0 baseline through a bounded, compatible Xylem authority and recovery contract. Future Rust work continues through explicit coordinated boundaries instead of moving the meaning of a shipped release. Past that sit the first real appliances built on JefeOS: a health monitor, an SSH bastion, a secrets vault.

The north-star is bigger, and it's the reason JefeOS exists as something other than a second Linux. It's called Xylem: instead of bolting an orchestrator like Kubernetes on top of a cluster-blind OS, fold the cluster control plane into the kernel. A "service" becomes a first-class kernel object with a replica count and a supervision policy, so redundancy, scaling, and failover become kernel verbs instead of YAML reconciled from outside. It's named after plant xylem — a tissue that reroutes flow around a dead vessel (failover as structure), regrows (self-healing), and carries the load.

Honest framing: Phase 1 of Xylem now has running code. In late June a language-neutral Xylem Cluster Protocol — SWIM-style gossip and failure detection over UDP — and kernel membership "tissue" landed on both kernels and interoperate byte-for-byte, proven by a 2-node demo where killing one node makes the survivor automatically mark it dead (C++ to C++, and cross-kernel C++ to Rust), converging hands-off at an idle console. JefeOS 1.1.0 then climbed the next rung — in-place workload supervision on a single node (Chapter 27), and JefeRust 1.1 carried a bounded compatible authority and stateless panic-recovery path into Rust (Chapter 30). Resource fencing, authenticated quorum, stable service addressing, fleet observability, stateful failover, and migration remain the long arc, standing on per-process page tables, the fault-survival and panic-persistence work from Chapter 24, the from-scratch network stack, and the preemptive scheduler. The pitch is the whole point: we didn't bolt k8s onto Linux — the OS itself is the cluster, and it runs your Linux containers too. Read the Xylem whitepaper →

And then — Alpine boots on JefeOS, and JefeOS clusters itself. That's the real prize.

Back to top