notes

Session handoff (2026-07-29)

Superseded, and kept as a record rather than as instructions (2026-09-05, milestone 259). This page said of itself: "Delete or overwrite once its contents are stale." Thirty-eight days went by and neither happened, and notes/README.md was still advertising it as what a fresh session needs. Do not follow the process in it. Every rule it states has since been replaced, and following one would now do harm rather than nothing:

What is still worth reading is the account of what landed on 2026-07-29 and why, which is the only place several of those decisions are narrated. Read it in the past tense throughout.

A restart point, written so a fresh session resumes without re-deriving state. Delete or overwrite once its contents are stale; this is a working note, not a permanent record. The permanent records are design/decisions/, design/roadmap/, and the notes/ they point to.

Why this exists

The session that wrote this ran a large parallel push (agents in worktrees, one milestone each, merged to main per proven piece). It is being restarted to pick up Opus 5 for the agent fleet: Opus 5 shipped 2026-07-24, after that session launched, so its Agent-tool model map was stale and its opus alias resolved to Opus 4.8. A fresh session should have Opus 5 available. Re-point new agents at it.

What landed this push (all on main, green both ISAs)

Decision trail (this session)

DECISIONS §24 (two-tier, shell-held), with ThreadControlBlock::SUSPEND deferred and its triggers recorded; §25 (socket identity); §26 (the fault endpoint) and its five sub-decisions, §27 (FS service), §28 (SMP placement) + amendment, §16 amendment (SPLIT rights inheritance). Milestone 35 added. Read those sections for the reasoning; each records the fork and why.

Wave-3: what's next, roughly in order

  1. ^C implementation (§24 decided, not built): two-tier, shell-held. line_editor detects ^C, shell holds the interrupt endpoint, cooperative then forcible (DESTROY force-kill). Ready to schedule; needs no new kernel surface.
  2. Milestone 22 phase B (trusted init). DONE 2026-07-29 (DECISIONS §26's phase B.1 and B.2 blocks, notes/trusted-init.md). B.1: the build hashes the boot program and the kernel refuses to enter anything else (SHA-256 in crates/measured_boot, digest compiled into the kernel image, fails closed on a missing measurement too). B.2: a four-program tree where construction moves to a sub-server holding one program image, the supervisor holds no memory at all, and init deletes its budget. Proven by authority on both ISAs. The interactive boot is migrated too (2026-08-03): system_initializer and hello's init role keep the ELF loader (moving it out would relocate the authority rather than reduce it, because the loader is the archive). Instead they delete the root untyped for a bounded job pool and give back the UART and its interrupt. They build every job in a region that job_undertaker returns when the job ends, so a bounded budget is affordable. Proven by a control-and-claim pair in system_tests/src/user/job_undertaker_tests.rs and by script/swish-check, which reads init's own dropped-authority sentence and runs thirteen jobs through a six-job pool. Both design forks recorded here were since closed by DECISIONS §32 (a supervisor may collect a corpse). This work also found and fixed a real pre-existing race in the exception-return path on both ISAs (notes/exceptions.md).
  3. Milestone 27 phase 2 completion: std::fs binding to the FS server. DONE 2026-07-29 (DECISIONS §22 phase-two amendment, notes/std.md): std::fs binds to the §27 contract through a directory capability at slot 4, escapes refused as un-nameable, Unsupported without the grant. It also settled the question this note left open: the on-device write path works, and the recorded "loops in RedoxFS's allocator commit" blocker was stale (§27 amended, host-tool reopen of the image now in the gate). What is left there is a contract gap, no CREATE/TRUNCATE verb, so std::fs::write stays Unsupported; that is a decision for calef, not a bug.
  4. Milestone 31 phase 2: per-file grants pointing at FS-server directory caps.
  5. Milestone 23 (the flagship): capability-routed component OS with live replacement. All prerequisites now exist (revocation, supervision, dedicated binaries, components with real state: net_stack under open connections, the FS server). Console hot-swap is instance one.
  6. The display ladder (design/display-ladder.md): 29 (VT terminal over virtio-gpu) -> 33 (compositor component) -> apps on the std PAL -> 34 (virtio-gpu 3D). calef's stated destination is "something like COSMIC driving a GPU." Rung 5 (bare-metal BXE 3D) is struck.

Standing defaults (nod-or-veto; currently in force)

Atom OS (peer project) note

fpedrolucas95/Atom is a capability microkernel in the same space, further along on visible breadth (browser/JS/TLS, compositor, audio), behind on assurance (partial capability enforcement, CI security gate removed, cert-less TLS). Apache-2.0. Its userspace is not reusable for us (ABI-locked / POSIX-shaped / upstream-vendored); the one clean lesson is its compositor windowing protocol as prior art for milestone 33. A design-fork response to its three questions was drafted (scratchpad) if calef chooses to engage.

Mechanics for the fresh session