<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>News of modus</title>
<subtitle>What a reader can now see or use in modus, newest first.</subtitle>
<id>https://github.com/sachahjkl/modus/tree/master/news</id>
<updated>2026-11-23T00:00:00Z</updated>
<author><name>Sacha</name><uri>https://github.com/sachahjkl</uri></author>
<link rel="alternate" type="text/html" href="https://modus.systems/news/"/>
<link rel="self" type="application/atom+xml" href="https://modus.systems/news.xml"/>
<icon>https://modus.systems/pictures/icon_192.png</icon>
<entry>
<title>The scale of the desktop from 1 to 2</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-23-the-whole-range-of-the-scale.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-23-the-whole-range-of-the-scale"/>
<published>2026-11-23T00:00:00Z</published>
<updated>2026-11-23T00:00:00Z</updated>
<category term="Shown"/>
<summary>The principal sets the scale of the desktop to each eighth from 1 to 2: the track of the window of settings has nine stops, from 100 % to 200 %, and each stop changes the whole desktop at once.</summary>
<content type="html">&lt;p&gt;The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-principal&quot; title=&quot;A principal is a key pair and the root handles that the key unlocks: documents, grant records, settings.&quot;&gt;principal&lt;/a&gt; sets the scale of the desktop to each eighth from 1 to 2: the track of the window of &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-setting&quot; title=&quot;A setting is one choice of the principal of the machine that each process follows: the font, the order of the subpixel bands, the pointer theme, the grid fit, the layout of the keyboard, the appearance or the time zone.&quot;&gt;settings&lt;/a&gt; has nine stops, from 100 % to 200 %, and each stop changes the whole desktop at once.&lt;/p&gt;
&lt;p&gt;At 1 a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-logical-pixel&quot; title=&quot;A logical pixel is the unit in which a process places and sizes what it draws; the scale factor turns it into pixels of the screen.&quot;&gt;logical pixel&lt;/a&gt; is a pixel of the screen, 1920 x 1080. At 2 the logical screen is 960 x 540: a window taller than the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-work-area&quot; title=&quot;The work area is the part of the logical screen that the holder of the display gives the windows: the screen without the parts that the holder draws itself, such as a bar.&quot;&gt;work area&lt;/a&gt; keeps its title on the screen, and the principal moves it to see the rest.&lt;/p&gt;
&lt;p&gt;The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-budget&quot; title=&quot;A budget is an object that holds pages, process slots, thread slots and the log records of each second, and has one limit in time, processor time; it pays for each object that a process creates.&quot;&gt;budget&lt;/a&gt; of each window counts its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-picture&quot; title=&quot;A picture is one complete image in the memory of a surface; a surface has two pictures.&quot;&gt;pictures&lt;/a&gt; at 2, so each window pays its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-surface&quot; title=&quot;A surface is a memory object that one process draws into and the compositor shows as the content of a window.&quot;&gt;surface&lt;/a&gt; at each scale. A window whose budget still cannot pay a scale shows its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/devices/#term-frame&quot; title=&quot;In the group Devices, a frame is one Ethernet frame: the bytes from the destination hardware address to the end of the data, with no check sequence, 1514 bytes at most.&quot;&gt;frame&lt;/a&gt; only until another scale, and the window of settings says how many do.&lt;/p&gt;
&lt;p&gt;The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-tile&quot; title=&quot;A tile is a rectangle that stands for one thing of a set, with its name inside; its width can show a size.&quot;&gt;tile&lt;/a&gt; &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-appearance&quot; title=&quot;An appearance is one value of each color token: the desktop has two, dark and light.&quot;&gt;Appearance&lt;/a&gt; of the Control Center now sets the next appearance: auto, dark, light.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/settings.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The scale of the desktop from 1 to 2&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The software processor of a page keeps decoded blocks</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-23-the-software-processor-keeps-decoded-blocks.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-23-the-software-processor-keeps-decoded-blocks"/>
<published>2026-11-23T00:00:00Z</published>
<updated>2026-11-23T00:00:00Z</updated>
<category term="Measured"/>
<summary>A browser machine runs the x86-64 code of the processes on its software processor.</summary>
<content type="html">&lt;p&gt;A &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-browser-machine&quot; title=&quot;A browser machine is a machine that a page of a web browser gives: the kernel built for WebAssembly, its processors as workers on one shared memory, and its devices played by the code of the page.&quot;&gt;browser machine&lt;/a&gt; &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-run&quot; title=&quot;A run is a set of pages that follow each other in a page table with one protection (Mapping_Run).&quot;&gt;runs&lt;/a&gt; the x86-64 code of the processes on its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-software-processor&quot; title=&quot;The software processor is the part of the kernel of a browser machine that runs the x86-64 code of the processes: it decodes their instructions, keeps them as decoded blocks, runs them, compiles the hot blocks to WebAssembly, and translates each address through the page tables of the kernel.&quot;&gt;software processor&lt;/a&gt;. It now keeps each run of instructions that it decoded as a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-decoded-block&quot; title=&quot;A decoded block is a run of instructions inside one page that the software processor fetched and decoded once, and runs again from its cache with no fetch through the page tables and no decode of the prefixes.&quot;&gt;decoded block&lt;/a&gt;, and runs it again with no fetch through the page &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-table&quot; title=&quot;A table is a set of records of one record description that follow each other in memory, with their count.&quot;&gt;tables&lt;/a&gt; and no decode of its prefixes. At each &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-entry&quot; title=&quot;An entry is one name of a tree and what it names: an object or a tree.&quot;&gt;entry&lt;/a&gt; it compares the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-bytes&quot; title=&quot;Bytes is a parameter type: bytes with no description, in memory of the caller, with a direction.&quot;&gt;bytes&lt;/a&gt; of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/devices/#term-block&quot; title=&quot;A block is 4096 bytes of a disk at a number from 0: the unit of each read and write of the block contract.&quot;&gt;block&lt;/a&gt; with the memory, so a block never runs code that a write changed.&lt;/p&gt;
&lt;p&gt;In &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-node&quot; title=&quot;A node is one block of the B+ tree of a tree: a leaf of up to 24 entries, or a branch of up to 50 children.&quot;&gt;Node&lt;/a&gt;, with the same &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-boot-image&quot; title=&quot;The boot image is the one block of data that the boot program loads with the kernel: the modules of the first processes and the resources, each with its name and its hash.&quot;&gt;boot images&lt;/a&gt;, the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-processor&quot; title=&quot;A processor is one unit of the machine that executes instructions, and runs one thread at a time.&quot;&gt;processor&lt;/a&gt; time to the prompt of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-console&quot; title=&quot;The console is a normal process that calls commands, functions with typed parameters and a typed result, in Lex.&quot;&gt;console&lt;/a&gt; image fell from 4.6 s to 3.4 s, and to the first frame of the desktop image from 10.5 to 11.5 s to 8.6 s, over two runs each. The emulated &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-vector-form&quot; title=&quot;A vector form of a procedure computes several values with one instruction, in the 128-bit registers of SSE2, and gives the same bytes as its scalar form for every input.&quot;&gt;vector forms&lt;/a&gt; are now about 40 % of the start of the console.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The page of a public object cache</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-23-public-object-cache-page.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-23-public-object-cache-page"/>
<published>2026-11-23T00:00:00Z</published>
<updated>2026-11-23T00:00:00Z</updated>
<category term="Shown"/>
<summary>An object cache of modus now has a page.</summary>
<content type="html">&lt;p&gt;An &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-object-cache&quot; title=&quot;An object cache is a source of objects by hash, of realisations and of release pointers, reached by the cache protocol.&quot;&gt;object cache&lt;/a&gt; of modus now has a page. &lt;code&gt;modustool cache-serve --status-listen&lt;/code&gt; serves it beside the cache protocol, in the look of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-site&quot; title=&quot;The site is the documentation of the system as static pages, with their style sheet and their pictures, that modustool site writes in build/site from the files of the repository and the logs of the machine tests.&quot;&gt;site&lt;/a&gt;, with &lt;code&gt;status.json&lt;/code&gt; for a monitor.&lt;/p&gt;
&lt;p&gt;The page says what the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/network/#term-host&quot; title=&quot;The host is the computer that runs QEMU and the modus tool; the system does not run on it.&quot;&gt;host&lt;/a&gt; keeps: &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-object&quot; title=&quot;An object is bytes that never change, named by their hash: a new content is a new object.&quot;&gt;objects&lt;/a&gt; by their BLAKE3 hash, and signed &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-realisation&quot; title=&quot;A realisation is a signed record that says which output a recipe gave: the recipe hash, the output hash, the builder hash, and the key and the signature of its signer.&quot;&gt;realisations&lt;/a&gt; of &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-recipe&quot; title=&quot;A recipe is a builder hash, a table of the names and hashes of its inputs, and a typed argument record: it names how an output is made.&quot;&gt;recipes&lt;/a&gt;. It says that a client trusts a hash or a signer key, never the host. It &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-list&quot; title=&quot;A list is a value of Lex that holds values in order, written [a, b, …].&quot;&gt;lists&lt;/a&gt; the signer keys that the host accepts, the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/network/#term-endpoint&quot; title=&quot;An endpoint is what a process holds to send and receive datagrams or segments: a datagram ring and a datagram region, with a grant that names what it can reach.&quot;&gt;endpoint&lt;/a&gt; and its protocol, the counts of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-store&quot; title=&quot;A store is a cell that names one tree now: the one thing of storage that changes.&quot;&gt;store&lt;/a&gt;, the free space of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/devices/#term-disk&quot; title=&quot;A disk is a device that keeps blocks when the machine stops.&quot;&gt;disk&lt;/a&gt; and the last 10 realisations.&lt;/p&gt;
&lt;p&gt;The server counts the store once at its start, then at each write, so a view of the page reads no file.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/public_object_cache.png&quot; width=&quot;1280&quot; height=&quot;960&quot; alt=&quot;The page of a public object cache&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A recipe in a declaration has the hash that the service builds</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-23-a-recipe-has-one-hash.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-23-a-recipe-has-one-hash"/>
<published>2026-11-23T00:00:00Z</published>
<updated>2026-11-23T00:00:00Z</updated>
<category term="Decided"/>
<summary>In a declaration, here() now gives a tree reference: a value that holds the tree hash of the source of the project and says that it is a tree.</summary>
<content type="html">&lt;p&gt;In a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-declaration&quot; title=&quot;A declaration is a tree of a store whose root holds one text entry in Lex, with the extension .lex, whose value is one record.&quot;&gt;declaration&lt;/a&gt;, here() now gives a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-tree-reference&quot; title=&quot;A tree reference is a value of Lex that holds the tree hash of a tree and says that it is a tree.&quot;&gt;tree reference&lt;/a&gt;: a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-value&quot; title=&quot;A value is the BLAKE3 chaining value of a part of an object, as a subtree of the BLAKE3 tree of its bytes, with zero bytes past its size; a hole has the value zero.&quot;&gt;value&lt;/a&gt; that holds the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-tree-hash&quot; title=&quot;The tree hash is the BLAKE3 hash of the list of the entries of a tree, each its name, its kind and its hash, sorted by name.&quot;&gt;tree hash&lt;/a&gt; of the source of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-project&quot; title=&quot;A project is a tree that a principal shares: project.lex, its declaration, pins.lex, its pins, and its sources.&quot;&gt;project&lt;/a&gt; and says that it is a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-tree&quot; title=&quot;A tree is an object that names other objects and trees, each by an entry with a name.&quot;&gt;tree&lt;/a&gt;. &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-module&quot; title=&quot;A module is the one format of compiled code in the system: a file of position-independent machine code that exports functions and is named by the hash of its bytes.&quot;&gt;module&lt;/a&gt;(...) gives a module file.&lt;/p&gt;
&lt;p&gt;A recipe takes these two values as its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-input&quot; title=&quot;Input is the keys and the pointer, as the system receives them.&quot;&gt;inputs&lt;/a&gt;. A bare hash names no kind, so a recipe refuses it, and the evaluation says why.&lt;/p&gt;
&lt;p&gt;The evaluation and the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-service&quot; title=&quot;A service is a process that other processes call through rings, and that has no privilege of its own.&quot;&gt;service&lt;/a&gt; recipes read a recipe with one &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-conversion&quot; title=&quot;The conversion is the second of the two steps of the build of a module: the tool writes the module file from the linked file, with the description of the exports and the hash of the file of each import, then the debug object.&quot;&gt;conversion&lt;/a&gt;. So the hash of the recipe of a project is the hash under which recipes registers it.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The pointer of the host, and windows that fill the screen</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-22-the-pointer-of-the-host-and-whole-screen-windows.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-22-the-pointer-of-the-host-and-whole-screen-windows"/>
<published>2026-11-22T00:00:00Z</published>
<updated>2026-11-22T00:00:00Z</updated>
<category term="Fixed"/>
<summary>The machine of modustool run has a virtio tablet, and the root service now gives it to the input service: the pointer of the system is where the pointer of the host is, and the window of QEMU no longer holds the pointer of the host.</summary>
<content type="html">&lt;p&gt;The machine of &lt;code&gt;modustool run&lt;/code&gt; has a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/devices/#term-virtio&quot; title=&quot;Virtio is the standard of devices that work through queues in shared memory, which the first machine uses for its disks and its network device.&quot;&gt;virtio&lt;/a&gt; tablet, and the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-root-service&quot; title=&quot;The root service is the first process: the kernel gives it every handle that exists at boot, and it gives them out.&quot;&gt;root service&lt;/a&gt; now gives it to the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-input-service&quot; title=&quot;The input service is the device service of the keyboard and the mouse.&quot;&gt;input service&lt;/a&gt;: the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-pointer&quot; title=&quot;The pointer is the mark on the screen that the pointing device moves: a press acts at its place.&quot;&gt;pointer&lt;/a&gt; of the system is where the pointer of the host is, and the window of QEMU no longer holds the pointer of the host.&lt;/p&gt;
&lt;p&gt;The maximize button, a double press on a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-title-bar&quot; title=&quot;The title bar is the top part of the frame of a window, 24 pixels high: the title and the close button.&quot;&gt;title bar&lt;/a&gt; and Control+Shift+Up give a window the screen less the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-bar&quot; title=&quot;The bar is the line at the top or at the bottom of the screen that the compositor draws: the heron button, the button of the windows, the window plates, the tray, and the clock.&quot;&gt;bar&lt;/a&gt;, and ask its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-process&quot; title=&quot;A process is a module that runs: the realisation of that module in time, from its start to its stop.&quot;&gt;process&lt;/a&gt; for that size. While a window is maximized, its button shows two windows, the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-restore&quot; title=&quot;A restore is a commit that makes a version of an object its current version again; the current version before it becomes a version, so nothing is lost.&quot;&gt;restore&lt;/a&gt;: a second press, or a drag of its title, gives back its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-place&quot; title=&quot;A place is a number that a connection to the storage service holds: the names of a path from the root of the connection, and the right to change or read only.&quot;&gt;place&lt;/a&gt; and its size.&lt;/p&gt;
&lt;p&gt;Each corner of a window resizes it on the diagonal, the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-grip&quot; title=&quot;The grip is the four short lines in the middle of the thumb of a scroll bar, across it.&quot;&gt;grip&lt;/a&gt; at the bottom &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-right&quot; title=&quot;A right is one kind of operation that a handle permits on its object.&quot;&gt;right&lt;/a&gt; too.&lt;/p&gt;
&lt;p&gt;A &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-terminal&quot; title=&quot;A terminal is a process that shows the text records of one other process, keeps its lines, and gives its keys to that process.&quot;&gt;terminal&lt;/a&gt; has at most 192 columns and 54 rows: a maximized terminal on a screen of 1920 x 1080 fills its window.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The desktop with the keyboard only</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-22-the-desktop-with-the-keyboard-only.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-22-the-desktop-with-the-keyboard-only"/>
<published>2026-11-22T00:00:00Z</published>
<updated>2026-11-22T00:00:00Z</updated>
<category term="Shown"/>
<summary>Control+Shift+F7 moves the window in front with the arrow keys, 16 pixels at each key or 1 with Shift.</summary>
<content type="html">&lt;p&gt;Control+Shift+F7 moves the window in front with the arrow keys, 16 pixels at each key or 1 with Shift. Control+Shift+F8 resizes it the same way: an &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-outline&quot; title=&quot;An outline is the set of closed contours of line segments and quadratic curves that bound a glyph or a pointer shape, in units of its font or of its design size.&quot;&gt;outline&lt;/a&gt; shows the new size, and Enter asks its process for it. Escape gives back the old place and the old size. The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-palette&quot; title=&quot;The palette is the panel that the key super opens, where the input types a part of a name and chooses one entry of one list: a process to start, a window to bring to the front, or another operation.&quot;&gt;palette&lt;/a&gt; offers both as &amp;quot;move window&amp;quot; and &amp;quot;resize window&amp;quot;.&lt;/p&gt;
&lt;p&gt;Control+Shift+F10 gives the bar the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-focus&quot; title=&quot;The focus is the state of the window in front: its process receives the keys, and its title bar shows it in blue.&quot;&gt;focus&lt;/a&gt; of the keys. Left and Right go from the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-heron-button&quot; title=&quot;The heron button is the button at the left end of the bar that shows the mark of the system and opens the start menu.&quot;&gt;heron button&lt;/a&gt; to the button of the windows and to each &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-window-plate&quot; title=&quot;A window plate is the plate of the bar that stands for the windows of one name: its module icon, the name, and the count of the windows when there are several.&quot;&gt;window plate&lt;/a&gt;. Down opens a menu, Up and Down walk its lines, Enter starts the module or brings the window to the front, and Escape returns to the window.&lt;/p&gt;
&lt;p&gt;The thing with the focus has an outline of 2 pixels in the strong text, outside it: a button, a field or a list of a window, an item of the bar, a window that the arrows hold. A host test computes its contrast on each surface: 7.3 to 1 at the least, in the dark and the light appearance and in both high contrast sets.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The C compiler builds itself to the same bytes</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-22-the-c-compiler-builds-itself.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-22-the-c-compiler-builds-itself"/>
<published>2026-11-22T00:00:00Z</published>
<updated>2026-11-22T00:00:00Z</updated>
<category term="Measured"/>
<summary>chibicc, the C compiler of modus, now compiles its own 14 C sources, and the assembler of modus makes one module of their texts.</summary>
<content type="html">&lt;p&gt;&lt;code&gt;chibicc&lt;/code&gt;, the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-c-compiler&quot; title=&quot;The C compiler is the module c_compiler, which reads a C source and writes a text of assembly that the assembler takes, into a memory object that its caller lends.&quot;&gt;C compiler&lt;/a&gt; of modus, now compiles its own 14 C sources, and the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-assembler&quot; title=&quot;The assembler is the module assemble, which reads a text of x86-64 assembly and writes a module file into a memory object that its caller lends.&quot;&gt;assembler&lt;/a&gt; of modus makes one module of their texts.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;modustool c-self-host&lt;/code&gt; builds &lt;code&gt;chibicc&lt;/code&gt; with clang, which compiles the sources into &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-stage&quot; title=&quot;A stage is one part of the start of the machine, with a start time and a duration: the firmware, two parts of the boot program, and four parts of the kernel.&quot;&gt;stage&lt;/a&gt; 1. Stage 1 compiles the same sources again into stage 2. Stage 1 gives the same text as the build of clang for each source, and the two modules have one BLAKE3 hash: 354 972 bytes, on the host, in one run.&lt;/p&gt;
&lt;p&gt;The assembler takes a program of several sources as one text: each source is a unit, and &lt;code&gt;global&lt;/code&gt; joins the units.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The browser reads tables and keeps each origin apart</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-22-the-browser-reads-tables-and-keeps-origins-apart.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-22-the-browser-reads-tables-and-keeps-origins-apart"/>
<published>2026-11-22T00:00:00Z</published>
<updated>2026-11-22T00:00:00Z</updated>
<category term="Shown"/>
<summary>The browser window now parses a page after the insertion modes of the WHATWG.</summary>
<content type="html">&lt;p&gt;The browser window now parses a page after the insertion modes of the WHATWG. Misnested tags such as &lt;code&gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;text&amp;lt;/b&amp;gt;more&amp;lt;/i&amp;gt;&lt;/code&gt; give the tree that other browsers give, a table with no row group or a stray text is repaired, and a page of 2000 nested &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-element&quot; title=&quot;An element is a part of a window that one call of the interface package draws: a card, a line of a label and a value, a bar, a table, a button, a list with a choice, or a text input.&quot;&gt;elements&lt;/a&gt; stops at its bounds of 512 nodes and 64 open elements.&lt;/p&gt;
&lt;p&gt;The CSS of a page can now use descendant and child selectors, borders, text-align and tables, with the specificity of the standard.&lt;/p&gt;
&lt;p&gt;An address of HTTP or HTTPS now shows the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-request&quot; title=&quot;A request is the processor time that a thread asks for at each stint under EEVDF, in microseconds: 1 to 100 000, and 0 is 3000.&quot;&gt;request&lt;/a&gt; that the worker of its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-origin&quot; title=&quot;The origin of a holding is the handle that it came from.&quot;&gt;origin&lt;/a&gt; writes, with the cookies of that origin only. The window still has no network &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-grant&quot; title=&quot;A grant is the act that gives a handle to a process, and the record of that act.&quot;&gt;grant&lt;/a&gt;. The storage, the cookies, the form values and the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-style&quot; title=&quot;A style says what a run of text is and how to show it (8 bytes): a tone, flags (end of the line, own color, reverse), a code kind, a value kind and a color.&quot;&gt;style&lt;/a&gt; sheet of each origin cross a border of messages, and a request for the state of another origin is refused with no byte of it.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The window of settings in sections</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-22-settings-in-sections.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-22-settings-in-sections"/>
<published>2026-11-22T00:00:00Z</published>
<updated>2026-11-22T00:00:00Z</updated>
<category term="Shown"/>
<summary>The window of settings shows four sections: Display, Pointer, Keyboard, and Region and language.</summary>
<content type="html">&lt;p&gt;The window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/settings/&quot;&gt;&lt;code&gt;settings&lt;/code&gt;&lt;/a&gt; shows four sections: Display, Pointer, Keyboard, and Region and language. Each setting has one line that says what it does, and the value in force is the marked button.&lt;/p&gt;
&lt;p&gt;The scale is a track of seven stops, from 125 % to 200 %. The stops from 150 % are dim: they wait for windows that fit a smaller logical screen. A press on a stop changes the scale of the whole desktop at once.&lt;/p&gt;
&lt;p&gt;The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-time-zone&quot; title=&quot;The time zone is the fixed offset from UTC, in minutes, that the principal chooses with the setting time_zone: the local time is the date of UTC and this offset.&quot;&gt;time zone&lt;/a&gt; is a list of the 38 offsets that the earth uses, each with places that keep it as their standard time. The languages are a list of names in their order, with Up and Remove.&lt;/p&gt;
&lt;p&gt;The window resizes from 400 x 320 to 1024 x 800 logical pixels. Its sections take one column, or two from a width of 720, and a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-scroll-bar&quot; title=&quot;A scroll bar is the element beside a view that shows a part of a longer content: it shows where the view is in the content, and the pointer moves the view with it.&quot;&gt;scroll bar&lt;/a&gt; moves them when they do not fit.&lt;/p&gt;
&lt;p&gt;A press now reaches the element under the pointer at each scale: the window drew its frame with no scale, and at 1.25 a press on one button chose another.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/settings.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The window of settings in sections&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>Notes, with no save action</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-22-notes-for-the-principal.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-22-notes-for-the-principal"/>
<published>2026-11-22T00:00:00Z</published>
<updated>2026-11-22T00:00:00Z</updated>
<category term="Shown"/>
<summary>The program notes keeps the notes of a principal.</summary>
<content type="html">&lt;p&gt;The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/notes/&quot;&gt;&lt;code&gt;notes&lt;/code&gt;&lt;/a&gt; keeps the notes of a principal. The list at the left names each note by its first line. The text has the keys of the editor, the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-selection&quot; title=&quot;The selection is the part of a text between the caret and the anchor, the place where the selection started.&quot;&gt;selection&lt;/a&gt; and the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-clipboard&quot; title=&quot;The clipboard is the one slot of the compositor that holds the last text that the principal copied, until a process reads it at a paste of the principal.&quot;&gt;clipboard&lt;/a&gt;, and wraps by word at the width of the window.&lt;/p&gt;
&lt;p&gt;There is no save action. A change is one &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-commit&quot; title=&quot;A commit is one change of the stores that is on the disk completely or not at all: new blocks first, then a new root block.&quot;&gt;commit&lt;/a&gt; when the keys pause for one second, or when another note is shown. A sentence is one &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-version&quot; title=&quot;A version is the state of one object at one commit: its size, the root of its block tree, and the generation, the time and the date of that commit.&quot;&gt;version&lt;/a&gt;, not one version for each key.&lt;/p&gt;
&lt;p&gt;Ctrl+H lists the versions of a note by the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-date&quot; title=&quot;A date is a count of milliseconds since 1970-01-01 00:00:00 UTC.&quot;&gt;date&lt;/a&gt; of each commit. Down shows an older one, and Enter makes it the note again in a new commit: the note before it stays a version.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/notes.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The notes of a principal: the list of the notes by their first lines, the text wrapped at the width of the window, and no save action&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>Greek, Cyrillic and Latin Extended-A in every window</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-22-greek-cyrillic-and-latin-extended-a.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-22-greek-cyrillic-and-latin-extended-a"/>
<published>2026-11-22T00:00:00Z</published>
<updated>2026-11-22T00:00:00Z</updated>
<category term="Shown"/>
<summary>Each window and each cell of a terminal now draws every Greek letter, the 96 basic Cyrillic letters (U+0400 to U+045F) and the 128 letters of Latin Extended-A (U+0100 to U+017F).</summary>
<content type="html">&lt;p&gt;Each window and each cell of a terminal now draws every Greek letter, the 96 basic Cyrillic letters (U+0400 to U+045F) and the 128 letters of Latin Extended-A (U+0100 to U+017F). So a principal writes Greek, Russian, Polish or Czech in a label, a title or the console.&lt;/p&gt;
&lt;p&gt;The letters come from Noto Sans, the last &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-font&quot; title=&quot;A font is a set of glyphs of one design, with the measures that place them side by side.&quot;&gt;font&lt;/a&gt; of each &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-fallback-chain&quot; title=&quot;A fallback chain is the list of fonts, in order, that give the glyph of a character of a face: the first font of the list that has the character gives its glyph and its advance.&quot;&gt;fallback chain&lt;/a&gt;. A letter that B612 or Paper Mono has keeps its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-glyph&quot; title=&quot;A glyph is the form of one character in one font.&quot;&gt;glyph&lt;/a&gt;; Noto Sans gives only the others, such as Π, ρ, Ж and Ł. The process draws each one itself, at its first use, as it draws each other glyph past the 192 characters.&lt;/p&gt;
&lt;p&gt;The subset of Noto Sans holds 465 characters in 87 172 bytes of the boot image.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The C compiler takes float, double, atomics and tables of pointers</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-22-c-with-floating-point-and-tables.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-22-c-with-floating-point-and-tables"/>
<published>2026-11-22T00:00:00Z</published>
<updated>2026-11-22T00:00:00Z</updated>
<category term="Shown"/>
<summary>The assembler of modus now takes the scalar SSE2 instructions that chibicc writes for float and double, the atomic xchg and lock cmpxchg, and the numeric local labels 1:, 1f and 1b.</summary>
<content type="html">&lt;p&gt;The assembler of modus now takes the scalar SSE2 instructions that &lt;code&gt;chibicc&lt;/code&gt; writes for &lt;code&gt;float&lt;/code&gt; and &lt;code&gt;double&lt;/code&gt;, the atomic &lt;code&gt;xchg&lt;/code&gt; and &lt;code&gt;lock cmpxchg&lt;/code&gt;, and the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-numeric-local-label&quot; title=&quot;A numeric local label is a label of the assembler that is one digit, 0: to 9:, which a text can define many times, and which an operand names by its direction: 1f for the next definition of 1, 1b for the last one.&quot;&gt;numeric local labels&lt;/a&gt; &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-l&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;:&lt;/span&gt;&lt;/code&gt;, &lt;code&gt;1f&lt;/code&gt; and &lt;code&gt;1b&lt;/code&gt;. Each new form gives the bytes that &lt;code&gt;llvm-mc&lt;/code&gt; gives for the same line.&lt;/p&gt;
&lt;p&gt;A &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-global-table&quot; title=&quot;The global table is the table of a debug object that gives, for each global variable of the module, its name, its address in the memory of the module, and its type.&quot;&gt;global table&lt;/a&gt; of functions or of strings is now a &lt;code&gt;quad&lt;/code&gt; of each address. The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-module-record&quot; title=&quot;A module record is what the kernel keeps of one module in a process (op.Module_Record, 88 bytes): its base address, its size, its hash, the hash that a replacement put it in place of, and its module writer.&quot;&gt;module records&lt;/a&gt; a rebase there, and the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-loader&quot; title=&quot;The loader is the code in user space that builds a process or a module space from a module and its imports (src/library/modus/system/load.odin).&quot;&gt;loader&lt;/a&gt; adds the base of the load.&lt;/p&gt;
&lt;p&gt;So &lt;code&gt;compile&lt;/code&gt; and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/assemble/&quot;&gt;&lt;code&gt;assemble&lt;/code&gt;&lt;/a&gt; &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-turn&quot; title=&quot;A turn is the unit of each angle in the system: 1 is a whole circle, 0.25 a right angle.&quot;&gt;turn&lt;/a&gt; C with &lt;code&gt;float&lt;/code&gt;, &lt;code&gt;double&lt;/code&gt;, &lt;code&gt;alloca&lt;/code&gt;, the atomic builtins and calls through a table of functions into a module that runs. A floating constant such as &lt;code&gt;1.5&lt;/code&gt; and &lt;code&gt;long double&lt;/code&gt; are still refused, with their line and their column.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The C compiler reads floating constants</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-22-c-compiler-floating-constants.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-22-c-compiler-floating-constants"/>
<published>2026-11-22T00:00:00Z</published>
<updated>2026-11-22T00:00:00Z</updated>
<category term="Shown"/>
<summary>compile now takes floating constants in C: 3.141592653589793, .5, 2.5E+10, 1e-6, the hexadecimal 0x1.8p+1, and 1.5f for a float.</summary>
<content type="html">&lt;p&gt;&lt;code&gt;compile&lt;/code&gt; now takes floating constants in C: &lt;code&gt;3.141592653589793&lt;/code&gt;, &lt;code&gt;.5&lt;/code&gt;, &lt;code&gt;2.5E+10&lt;/code&gt;, &lt;code&gt;1e-6&lt;/code&gt;, the hexadecimal &lt;code&gt;0x1.8p+1&lt;/code&gt;, and &lt;code&gt;1.5f&lt;/code&gt; for a &lt;code&gt;float&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;strtold&lt;/code&gt; of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-thin-libc&quot; title=&quot;The thin libc is the C library that a ported C program compiles in: the procedures that the program calls, over memory that the caller lends and streams in memory, with no system call, no path and no clock.&quot;&gt;thin libc&lt;/a&gt; gives each constant the nearest &lt;code&gt;double&lt;/code&gt;, with integer arithmetic only. A host test compares its bits, its end and its &lt;code&gt;errno&lt;/code&gt; with the &lt;code&gt;strtod&lt;/code&gt; of glibc for 1 874 412 texts, with no difference.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;compile&lt;/code&gt; and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/assemble/&quot;&gt;&lt;code&gt;assemble&lt;/code&gt;&lt;/a&gt; also take a source of up to 256 KiB, in place of 64 KiB.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Alt+Tab</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-22-alt-tab.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-22-alt-tab"/>
<published>2026-11-22T00:00:00Z</published>
<updated>2026-11-22T00:00:00Z</updated>
<category term="Shown"/>
<summary>Alt+Tab opens a card of the windows in the middle of the screen, the one used last first, and chooses the window used before the one in front.</summary>
<content type="html">&lt;p&gt;Alt+Tab opens a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-card&quot; title=&quot;A card is the frame of one subject in a display: a title in its accent, a caption that names its record, and its content.&quot;&gt;card&lt;/a&gt; of the windows in the middle of the screen, the one used last first, and chooses the window used before the one in front. Each Tab chooses the next one, and Alt+Shift+Tab goes backward. The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-release&quot; title=&quot;A release is one section of the changelog, with a release number, a release time and the entries of its changes, on one commit of master that carries its release tag.&quot;&gt;release&lt;/a&gt; of Alt brings the chosen window to the front. Escape closes the card, and no key reaches a window while it is open.&lt;/p&gt;
&lt;p&gt;The plates of the bar now keep the order in which the windows opened. A press on the plate of the window in front minimizes it; a press on another plate brings its window to the front. The right button on a plate opens the menu of its window.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A light browser window</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-22-a-light-browser-window.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-22-a-light-browser-window"/>
<published>2026-11-22T00:00:00Z</published>
<updated>2026-11-22T00:00:00Z</updated>
<category term="Shown"/>
<summary>start(&quot;browser&quot;) opens a window with back, forward, an address field and the document origin of the page.</summary>
<content type="html">&lt;p&gt;&lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-start&quot;&gt;&lt;code&gt;start(&amp;quot;browser&amp;quot;)&lt;/code&gt;&lt;/a&gt; opens a window with back, forward, an address field and the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-document-origin&quot; title=&quot;A document origin is the principal, the scheme, the host and the port of the address of a page, which a parsed document is bound to.&quot;&gt;document origin&lt;/a&gt; of the page. Its four pages, modus://welcome, modus://properties, modus://&lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-guide&quot; title=&quot;A guide is a page of the site made from a document of docs/: how a part of the system is designed, and why.&quot;&gt;guide&lt;/a&gt; and modus://forms, are HTML and CSS. The contract package html_css parses each page into at most 512 nodes, applies its style rules, lays out block, inline and flex boxes, and paints them into the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-draw-table&quot; title=&quot;A draw table is the draw records of one frame of a window, the bytes of their texts, the cells of their text grids and the points of their paths, and the picture memories that they name, in the memory of the process.&quot;&gt;draw table&lt;/a&gt; of the window.&lt;/p&gt;
&lt;p&gt;A press on a link loads its page, and back and forward keep the scroll of each page. The form sends its fields in the query of its action, and the answer shows them. The origin modus://forms keeps the last query; a page of modus://welcome asks for it and is refused.&lt;/p&gt;
&lt;p&gt;The window has no grant but its window. An address of HTTP or HTTPS shows a page that says so: each origin will get its own process with its own network grant.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A clock and a paint program</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-22-a-clock-and-a-paint-program.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-22-a-clock-and-a-paint-program"/>
<published>2026-11-22T00:00:00Z</published>
<updated>2026-11-22T00:00:00Z</updated>
<category term="Shown"/>
<summary>The window clock is a clock now.</summary>
<content type="html">&lt;p&gt;The window &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/clock/&quot;&gt;&lt;code&gt;clock&lt;/code&gt;&lt;/a&gt; is a clock now. Its first section shows the local time in large digits, the date with the time zone of the settings, and the calendar of the month, with today in blue; Page Up and Page Down change the month. The second section is a stopwatch with laps, the third a countdown timer from 1 second to 99 hours. At the end of the timer the window shows 00:00 in the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-warning-color&quot; title=&quot;The warning color is the color token of a state that asks for attention and is not a failure.&quot;&gt;warning color&lt;/a&gt;, and the process asks the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-compositor&quot; title=&quot;The compositor is the service that owns the display: it combines the surfaces of the processes into the framebuffer and routes the input to the process that has the focus.&quot;&gt;compositor&lt;/a&gt; for a desktop notification. The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-check&quot; title=&quot;A check is 8 bytes of a hash of a block, kept in the pointer that names the block: a block that does not have its check is not used.&quot;&gt;checks&lt;/a&gt; and the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/trusted-boot/#term-measure&quot; title=&quot;The measure is the extension of a register of the TPM with the SHA-256 hash of the system description, which the firmware does at the request of the boot program before the kernel starts.&quot;&gt;measures&lt;/a&gt; of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-time-page&quot; title=&quot;The time page is one page that the kernel writes and that each process can only read, at a fixed address (TIME_ADDRESS).&quot;&gt;time page&lt;/a&gt;, which the window showed before, are the demonstration &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/time_page/&quot;&gt;&lt;code&gt;time_page&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/paint/&quot;&gt;&lt;code&gt;paint&lt;/code&gt;&lt;/a&gt; is a paint program now: a brush, an eraser, a line, a rectangle, an ellipse and a fill, eight sizes from 1 to 34 pixels, 16 colors and any other color by its red, green and blue. Ctrl+Z undoes a change and Ctrl+Shift+Z does it again, up to 64 changes. There is no save: the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-private-store&quot; title=&quot;A private store is the store of one process: the root service names it after the process and gives it a limit of blocks, and no other process sees it.&quot;&gt;private store&lt;/a&gt; keeps the open picture after each pause of a second, as the changed rows, and Ctrl+O lists, opens, names and deletes the pictures. The window is resizable, and a smaller window keeps the part of the picture that it does not show. The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-status&quot; title=&quot;A status is one line that a process replaces at any time, with a value and a total.&quot;&gt;status&lt;/a&gt; line says the tool, the size, the color and the place of the pointer.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The console writes functions, lists and map</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-21-functions-and-map-in-the-console.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-21-functions-and-map-in-the-console"/>
<published>2026-11-21T00:00:00Z</published>
<updated>2026-11-21T00:00:00Z</updated>
<category term="Shown"/>
<summary>A line of the console now writes a function: (x) =&gt; x * 2.</summary>
<content type="html">&lt;p&gt;A line of the console now writes a function: &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;x&lt;span class=&quot;c-p&quot;&gt;) =&amp;gt;&lt;/span&gt; x &lt;span class=&quot;c-p&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;2&lt;/span&gt;&lt;/code&gt;. A &lt;code&gt;let&lt;/code&gt; names it, and a call by that name runs it: &lt;code&gt;let double = (x) =&amp;gt; x * 2 in area({x = 0, y = 0, width = double(3), height = 4})&lt;/code&gt; gives 24.&lt;/p&gt;
&lt;p&gt;A list is &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;]&lt;/span&gt;&lt;/code&gt;, and &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-k&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;([&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;], (&lt;/span&gt;x&lt;span class=&quot;c-p&quot;&gt;) =&amp;gt;&lt;/span&gt; x &lt;span class=&quot;c-p&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; gives &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;]&lt;/span&gt;&lt;/code&gt;. With the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-pipe-operator&quot; title=&quot;The pipe operator |&amp;gt; of a line of the console gives the value on its left as the first argument of the call on its right: a |&amp;gt; f(b) is f(a, b).&quot;&gt;pipe operator&lt;/a&gt;: &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;] |&amp;gt;&lt;/span&gt; &lt;span class=&quot;c-k&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;((&lt;/span&gt;w&lt;span class=&quot;c-p&quot;&gt;) =&amp;gt;&lt;/span&gt; &lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/sample/#export-area&quot;&gt;area&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;({&lt;/span&gt;x &lt;span class=&quot;c-p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; y &lt;span class=&quot;c-p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;c-p&quot;&gt;=&lt;/span&gt; w&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; height &lt;span class=&quot;c-p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;}))&lt;/span&gt;&lt;/code&gt; gives &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;]&lt;/span&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;A line can end with a comment: &lt;code&gt;map([1, 2, 3], (x) =&amp;gt; x * 2) // doubles&lt;/code&gt; runs the call, and the console draws the comment in its own color.&lt;/p&gt;
&lt;p&gt;A function stays in its line. No module takes one and no variable keeps one, because its body reads the values of the line around it. &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-lex&quot; title=&quot;Lex is the language and runtime of modus: the one language that a principal writes for the line of the console and the text of a declaration.&quot;&gt;Lex&lt;/a&gt; has no &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-condition&quot; title=&quot;A condition is the argument of where in the console: a field of the record of a table, an operator and a value, as block = 12 or level = Warning.&quot;&gt;condition&lt;/a&gt; yet, so a function that calls itself never ends: the line stops when the evaluator has taken 512 KiB of stack, and says so.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The start list wires a stream between two of its rows</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-20-the-start-list-wires-its-rows.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-20-the-start-list-wires-its-rows"/>
<published>2026-11-20T00:00:00Z</published>
<updated>2026-11-20T00:00:00Z</updated>
<category term="Shown"/>
<summary>The list that starts the machine now joins processes as well as starting them.</summary>
<content type="html">&lt;p&gt;The list that starts the machine now joins processes as well as starting them. Besides its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-start-row&quot; title=&quot;A start row is one row of a start list: the name of a module, the parts of the machine that it needs, what an absent part does, the mark Needed, and the count of its restarts.&quot;&gt;start rows&lt;/a&gt;, it holds &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-wiring-row&quot; title=&quot;A wiring row is one row of a start list that joins a record output of a start row to a record input of an earlier start row.&quot;&gt;wiring rows&lt;/a&gt;: each joins a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-record-output&quot; title=&quot;A record output is a stream of records of one record type that a module declares and writes while it works, with no known end.&quot;&gt;record output&lt;/a&gt; of one row to a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-record-input&quot; title=&quot;A record input is a stream of records of one record type that a module declares and reads.&quot;&gt;record input&lt;/a&gt; of an earlier row. The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-start-policy&quot; title=&quot;The start policy is the one process that the root service starts to start the machine: it decides which processes start, in which order, and when the machine is usable.&quot;&gt;start policy&lt;/a&gt; gives the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-wiring&quot; title=&quot;A wiring is the act that joins one record output of one process to one record input of another process, and the record of that act in the root service.&quot;&gt;wiring&lt;/a&gt; with the start of the writer, so the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-ring&quot; title=&quot;A ring is a pair of queues of fixed records in shared memory, between two processes or between a process and the kernel: one queue carries command records, the other carries completion records.&quot;&gt;ring&lt;/a&gt; exists before the writer runs, and the reader reads every &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-record&quot; title=&quot;A record is a block of bytes of a fixed layout with typed fields, in which all-zero bytes are a valid value.&quot;&gt;record&lt;/a&gt; from the first one.&lt;/p&gt;
&lt;p&gt;The default list wires a demonstration pair at each start: &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/wired_writer/&quot;&gt;&lt;code&gt;wired_writer&lt;/code&gt;&lt;/a&gt; writes 16 numbers and their squares, and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/wired_reader/&quot;&gt;&lt;code&gt;wired_reader&lt;/code&gt;&lt;/a&gt; reads them from the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-serial&quot; title=&quot;A serial is a number of a slot of a kernel table (a thread, a process, a memory object) that changes for each new object in the slot.&quot;&gt;serial&lt;/a&gt; 0, in order, then the end. The build checks each row against the module files of its two rows: a stream that the writer does not declare, two records that differ, and a reader that starts after its writer are refused before an image is written.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The console reads the requests of the web server as they come</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-20-the-requests-of-server-as-a-stream.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-20-the-requests-of-server-as-a-stream"/>
<published>2026-11-20T00:00:00Z</published>
<updated>2026-11-20T00:00:00Z</updated>
<category term="Shown"/>
<summary>server, the web server of the system, now gives the record of each request that it answers to a reader, in place of a line of its log.</summary>
<content type="html">&lt;p&gt;&lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/server/&quot;&gt;&lt;code&gt;server&lt;/code&gt;&lt;/a&gt;, the web server of the system, now gives the record of each request that it answers to a reader, in place of a line of its log. The console reads them by name: after &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-connect&quot;&gt;&lt;code&gt;connect(&amp;quot;server&amp;quot;)&lt;/code&gt;&lt;/a&gt;, &lt;code class=&quot;code-inline&quot;&gt;server&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/modules/demonstrations/server/requests.odin#L35&quot;&gt;requests&lt;/a&gt; &lt;span class=&quot;c-p&quot;&gt;|&amp;gt;&lt;/span&gt; &lt;span class=&quot;c-k&quot;&gt;where&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;status &lt;span class=&quot;c-p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;404&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;) |&amp;gt;&lt;/span&gt; first&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; gives the next five requests that found no page, each with its status, its size, its time, its method, its target and its host.&lt;/p&gt;
&lt;p&gt;The log kept at most 100 of these lines in each second, and dropped the rest. A reader of &lt;a class=&quot;declaration-reference&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/modules/demonstrations/server/requests.odin#L35&quot; data-declaration-card=&quot;declaration-20690&quot; aria-describedby=&quot;declaration-20690-summary&quot;&gt;&lt;code class=&quot;value value-variable value-icon&quot;&gt;server.requests&lt;/code&gt;&lt;/a&gt; loses none in silence: its first row says how many requests came before it joined, and a reader too slow for the server gets a row that says how many records it missed.&lt;/p&gt;
&lt;p&gt;A reader chooses how it slows the server. A reader for an audit holds the server until it has read; any other reader never holds it. With one reader of each kind and one fast reader on one server, a test checks the counts exactly: the reader that holds lost nothing and held the server twice, the other missed one whole ring of 32 records and was told so, and the fast reader got all 80 records in order.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A starter keeps each log line of its child, and a reader follows the whole log</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-20-the-log-of-a-process-kept-whole.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-20-the-log-of-a-process-kept-whole"/>
<published>2026-11-20T00:00:00Z</published>
<updated>2026-11-20T00:00:00Z</updated>
<category term="Shown"/>
<summary>The log of the kernel keeps a fixed count of records for each process in each second, and drops the rest: it is for diagnostics.</summary>
<content type="html">&lt;p&gt;The log of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-kernel&quot; title=&quot;The kernel is the code that runs with processor privilege: it isolates the processes, schedules the processors, owns the handle tables and grants access to memory and devices.&quot;&gt;kernel&lt;/a&gt; keeps a fixed count of records for each process in each second, and drops the rest: it is for diagnostics. A starter that must keep every line of a child, for an audit, now wires the record output &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/log/&quot;&gt;&lt;code&gt;log&lt;/code&gt;&lt;/a&gt; of that child when it starts it. Each record also goes to the ring of that reader, and the child waits when the ring is full, so the reader loses none. In the test, the kernel log keeps none of the 602 log calls of a child whose budget is zero, and its starter reads all 605 records in order.&lt;/p&gt;
&lt;p&gt;The log service gives a second stream, &lt;a class=&quot;declaration-reference&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/modules/system/log/follow.odin#L70&quot; data-declaration-card=&quot;declaration-27133&quot; aria-describedby=&quot;declaration-27133-summary&quot;&gt;&lt;code class=&quot;value value-variable value-icon&quot;&gt;log.follow&lt;/code&gt;&lt;/a&gt;: each record of the whole log as it comes, to a reader that &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-acts-for-the-principal&quot; title=&quot;Acts for the principal is a grant of the root service (acts_for_principal): in each service that the process is connected to, it sees what the service holds for all callers, for the principal of its session.&quot;&gt;acts for the principal&lt;/a&gt;. The service never waits for a slow follower. If the kernel writes over records before the service passes them on, the follower reads one row that says how many it missed.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The first program that writes a program in modus</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-20-the-first-program-that-writes-a-program.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-20-the-first-program-that-writes-a-program"/>
<published>2026-11-20T00:00:00Z</published>
<updated>2026-11-20T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which each program is a module named by the hash of its file.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which each program is a module named by the hash of its file.&lt;/p&gt;
&lt;p&gt;Until now the build tool wrote each module file on another machine. The module &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/assemble/&quot;&gt;&lt;code&gt;assemble&lt;/code&gt;&lt;/a&gt; now writes one in modus. It reads x86-64 assembly, in the syntax that C compilers emit, and a line &lt;code&gt;export add(a: Integer, b: Integer) -&amp;gt; Integer&lt;/code&gt; that gives the types of an &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-export&quot; title=&quot;An export is a function that a module makes callable from outside the module, with a description of its parameters and its result.&quot;&gt;export&lt;/a&gt;. A text that it does not take whole is refused, with its line and its column.&lt;/p&gt;
&lt;p&gt;In the console, &lt;code class=&quot;code-inline&quot;&gt;assemble&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;&amp;quot;…&amp;quot;&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; f&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; writes the file into a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-memory-object&quot; title=&quot;A memory object is a set of pages that the kernel names by a handle; processes map it, and two processes that map the same one share its pages.&quot;&gt;memory object&lt;/a&gt;, and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-isolate-memory&quot;&gt;&lt;code&gt;isolate_memory(&amp;quot;adder&amp;quot;, f, n)&lt;/code&gt;&lt;/a&gt; runs that module in a sandboxed process with no &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-handle&quot; title=&quot;A handle is a number that a process holds to name one kernel object with a set of rights: a process can act only on the objects of its handles.&quot;&gt;handle&lt;/a&gt; of the console. &lt;code class=&quot;code-inline&quot;&gt;add&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; then gives 5.&lt;/p&gt;
&lt;p&gt;The assembler is the first native stage of the bootstrap: the stage after it, a C compiler, emits the assembly that it reads.&lt;/p&gt;
</content>
</entry>
<entry>
<title>An editor of text with no save action</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-20-the-editor-edit.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-20-the-editor-edit"/>
<published>2026-11-20T00:00:00Z</published>
<updated>2026-11-20T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which each program keeps its state in a private store with versions, and has no save action.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which each program keeps its state in a private store with versions, and has no save action.&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-start&quot;&gt;&lt;code&gt;start(&amp;quot;edit&amp;quot;)&lt;/code&gt;&lt;/a&gt; opens the editor of a text. It has no modes: a character goes in at the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-caret&quot; title=&quot;The caret is the mark in a text input of the place where the next typed character goes.&quot;&gt;caret&lt;/a&gt;, Shift with an arrow selects, and the pointer places the caret and selects with a drag. A line longer than the window goes on more rows, and a gutter numbers the lines.&lt;/p&gt;
&lt;p&gt;The editor writes the text to its store after each word, each line end, and each move to another line. Each write is a version of the object. Ctrl+Z restores the version before from the store, so it also works after a restart of the machine, and Ctrl+Y goes forward again.&lt;/p&gt;
&lt;p&gt;A text holds at most 32768 bytes. Copy and paste, the search and the edit of another text come next.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The desktop draws at a scale factor of 1.25</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-20-the-desktop-at-the-scale-factor.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-20-the-desktop-at-the-scale-factor"/>
<published>2026-11-20T00:00:00Z</published>
<updated>2026-11-20T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which each window is a process that describes its frame as a table of draw records.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which each window is a process that describes its frame as a table of &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-draw-record&quot; title=&quot;A draw record is one thing to draw, in 48 bytes: a rectangle or a pattern of rectangles, a gradient, a run of text, a clip, a picture, a text grid or a path, with its box and the fields of its kind.&quot;&gt;draw records&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Until now the desktop of the screen of 1920 × 1080 drew one pixel of the screen for each pixel of a layout, so its text was small. It now draws at a scale of 1.25 by default: the windows, the bar, the menus, the palette, the text and the pointer are a quarter larger, on a layout of 1536 × 864. The row &lt;code&gt;scale&lt;/code&gt; of the settings window sets 1.375.&lt;/p&gt;
&lt;p&gt;A process still places in logical pixels and never computes a pixel of the screen. The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-drawing-module&quot; title=&quot;The drawing module is the module drawing: the code that finds the damage between two draw tables and draws the records of a draw table into pixels, for each process that imports it.&quot;&gt;drawing module&lt;/a&gt; turns each place into the screen, with each edge rounded to the nearest pixel, so two boxes that &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-share&quot; title=&quot;A share is a connection to the storage service that the service itself makes for a caller, whose root is a tree of the store of the caller, with or without the right to change.&quot;&gt;share&lt;/a&gt; an edge meet with no gap. In a window built from the elements of the interface, each glyph is drawn at its size on the screen, not stretched. A few windows still draw their pixels by hand, as the log: they show a picture of their layout, whose text is less sharp until they move to the elements.&lt;/p&gt;
&lt;p&gt;The scales from 1.5 to 2 come when every window fits their smaller layout.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The console writes records by their fields, and names values with let</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-20-records-and-let-in-the-console.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-20-records-and-let-in-the-console"/>
<published>2026-11-20T00:00:00Z</published>
<updated>2026-11-20T00:00:00Z</updated>
<category term="Shown"/>
<summary>A line of the console now writes a record by its fields, in any order: area({x = 0, y = 0, width = 11, height = 3}) gives 33.</summary>
<content type="html">&lt;p&gt;A line of the console now writes a record by its fields, in any order: &lt;code class=&quot;code-inline&quot;&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/sample/#export-area&quot;&gt;area&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;({&lt;/span&gt;x &lt;span class=&quot;c-p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; y &lt;span class=&quot;c-p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;c-p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;11&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; height &lt;span class=&quot;c-p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;})&lt;/span&gt;&lt;/code&gt; gives 33. The record has no type of its own: the parameter of &lt;code&gt;area&lt;/code&gt; gives it, so a field with a wrong name, such as &lt;code&gt;widht&lt;/code&gt;, is refused with the fields of the record before the call runs.&lt;/p&gt;
&lt;p&gt;A call gives a parameter by its name: &lt;code class=&quot;code-inline&quot;&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/sample/#export-grow&quot;&gt;grow&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;r&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; by &lt;span class=&quot;c-p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt;. &lt;code&gt;r with {width = 10}&lt;/code&gt; is the record &lt;code&gt;r&lt;/code&gt; with one field changed. &lt;code&gt;let s = {x = 0, y = 0, width = 6, height = 7} in area(s) + area(s)&lt;/code&gt; names a value for one line and computes it once.&lt;/p&gt;
&lt;p&gt;After &lt;code&gt;|&amp;gt;&lt;/code&gt;, the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-placeholder&quot; title=&quot;The placeholder _ marks the argument of the call on the right of |&amp;gt; that takes the value on its left: a |&amp;gt; f(b, _) is f(b, a).&quot;&gt;placeholder&lt;/a&gt; &lt;code&gt;_&lt;/code&gt; puts the value on the left in another place of the call: &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-l&quot;&gt;3&lt;/span&gt; &lt;span class=&quot;c-p&quot;&gt;|&amp;gt;&lt;/span&gt; &lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/sample/#export-grow&quot;&gt;grow&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;r&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; _&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; is &lt;code class=&quot;code-inline&quot;&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/sample/#export-grow&quot;&gt;grow&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;r&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;These are the forms of Lex, the language of the console, that the declarations of a system will use.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The console reads the record streams of a process</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-20-record-streams-in-the-console.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-20-record-streams-in-the-console"/>
<published>2026-11-20T00:00:00Z</published>
<updated>2026-11-20T00:00:00Z</updated>
<category term="Shown"/>
<summary>A process that writes records while it works declares a record output: a stream of records of one type, which the root service gives to a reader through a ring that loses no record.</summary>
<content type="html">&lt;p&gt;A process that writes records while it works declares a record output: a stream of records of one type, which the root service gives to a reader through a ring that loses no record. The console now reads one by its name: &lt;a class=&quot;declaration-reference&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/modules/tests/output_counter/main.odin#L28&quot; data-declaration-card=&quot;declaration-21776&quot; aria-describedby=&quot;declaration-21776-summary&quot;&gt;&lt;code class=&quot;value value-variable value-icon&quot;&gt;output_counter.counts&lt;/code&gt;&lt;/a&gt; is a value of the kind &lt;a class=&quot;declaration-reference&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/library/modus/quic/streams.odin#L100&quot; data-declaration-card=&quot;declaration-11085&quot; aria-describedby=&quot;declaration-11085-summary&quot;&gt;&lt;code class=&quot;value value-type value-icon&quot;&gt;Stream&lt;/code&gt;&lt;/a&gt;, whose fields the console knows from the module file of the process.&lt;/p&gt;
&lt;p&gt;&lt;code class=&quot;code-inline&quot;&gt;output_counter&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/modules/tests/output_counter/main.odin#L28&quot;&gt;counts&lt;/a&gt; &lt;span class=&quot;c-p&quot;&gt;|&amp;gt;&lt;/span&gt; &lt;span class=&quot;c-k&quot;&gt;where&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;status &lt;span class=&quot;c-p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;404&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;) |&amp;gt;&lt;/span&gt; first&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; reads records until three of them pass the condition, then closes the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-record-stream&quot; title=&quot;A record stream is the records of one record output as one reader reads them, in order, up to the end record.&quot;&gt;record stream&lt;/a&gt; and draws a table. A record stream at the end of a line draws each row as it comes, in columns as wide as their fields can be, and Escape ends it at once.&lt;/p&gt;
&lt;p&gt;The condition goes to the writer: it writes into the ring of the console only the records that pass it. The console also joins two processes: &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-start&quot;&gt;&lt;code&gt;start(&amp;quot;output_count_reader&amp;quot;, wire(where(output_counter.counts, status = 404), output_count_reader.counts))&lt;/code&gt;&lt;/a&gt; starts a reader whose record input gets those records from its first instruction on.&lt;/p&gt;
&lt;p&gt;No text crosses between the two processes: the console checks each record against its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-record-description&quot; title=&quot;A record description is the part of the description of a module that gives the name, the size and the fields of one record type that the module names: in an export, a log fact, a record output or a record input.&quot;&gt;record description&lt;/a&gt;, and a name that the process does not declare fails the line before anything is wired.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Two programs that work on a stream of any record: merge and filter</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-20-merge-and-filter.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-20-merge-and-filter"/>
<published>2026-11-20T00:00:00Z</published>
<updated>2026-11-20T00:00:00Z</updated>
<category term="Shown"/>
<summary>merge joins several streams of records into one, and filter keeps the records of a stream that pass one condition.</summary>
<content type="html">&lt;p&gt;&lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/merge/&quot;&gt;&lt;code&gt;merge&lt;/code&gt;&lt;/a&gt; joins several streams of records into one, and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/filter/&quot;&gt;&lt;code&gt;filter&lt;/code&gt;&lt;/a&gt; keeps the records of a stream that pass one condition. Neither declares a record of its own: the first stream wired to it fixes its record, and the system refuses a later stream of another record before any record moves.&lt;/p&gt;
&lt;p&gt;In the console, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-start&quot;&gt;&lt;code&gt;start(&amp;quot;merge&amp;quot;, wire(alpha.requests, merge.sources) + wire(beta.requests, merge.sources))&lt;/code&gt;&lt;/a&gt; starts it with its two sources, and &lt;code class=&quot;code-inline&quot;&gt;merge&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/modules/libraries/merge/main.odin#L40&quot;&gt;merged&lt;/a&gt; &lt;span class=&quot;c-p&quot;&gt;|&amp;gt;&lt;/span&gt; &lt;span class=&quot;c-k&quot;&gt;where&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;status &lt;span class=&quot;c-p&quot;&gt;&amp;gt;=&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; reads the joined stream with the fields of that record. In the test, one list chains a writer, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/merge/&quot;&gt;&lt;code&gt;merge&lt;/code&gt;&lt;/a&gt; and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/filter/&quot;&gt;&lt;code&gt;filter&lt;/code&gt;&lt;/a&gt;: the reader gets each record that passes, each source in its order.&lt;/p&gt;
</content>
</entry>
<entry>
<title>An export takes a member of an enum</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-20-enum-parameters.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-20-enum-parameters"/>
<published>2026-11-20T00:00:00Z</published>
<updated>2026-11-20T00:00:00Z</updated>
<category term="Shown"/>
<summary>An export of a module can now take a value of a closed set: an enum, whose members the module file names.</summary>
<content type="html">&lt;p&gt;An export of a module can now take a value of a closed set: an enum, whose &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-member&quot; title=&quot;A member is one value of an enum that a module file describes: a name in lower case and the value that a call carries.&quot;&gt;members&lt;/a&gt; the module file names.&lt;/p&gt;
&lt;p&gt;The console completes the members after a dot and refuses a name that the enum does not have, before the call: &lt;code class=&quot;code-inline&quot;&gt;settings&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/settings/#export-set&quot;&gt;set&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;keyboard_layout &lt;span class=&quot;c-p&quot;&gt;= .&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;french&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The palette reads the same description. It shows one row of buttons for each such parameter, and &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-mark&quot; title=&quot;The mark is the picture that stands for the system: a heron on a grid of 24 by 24 square cells, each part filled with one gradient.&quot;&gt;marks&lt;/a&gt; the member in use, which it asks of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-getter&quot; title=&quot;A getter is the export that an Enum parameter names in its module file to give the member in use: it takes no parameter, gives no error record, and gives the same enum.&quot;&gt;getter&lt;/a&gt; that the parameter names.&lt;/p&gt;
&lt;p&gt;The settings are the first user: one optional argument for each setting, and one getter for each, &lt;code&gt;settings.font()&lt;/code&gt;.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Captions, headings and the number of a card at their own sizes</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-20-captions-and-headings.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-20-captions-and-headings"/>
<published>2026-11-20T00:00:00Z</published>
<updated>2026-11-20T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which each program draws its window into memory of its own, and the compositor shows it.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which each program draws its window into memory of its own, and the compositor shows it.&lt;/p&gt;
&lt;p&gt;The elements of a window now take the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-text-size&quot; title=&quot;A text size is the height of the line of a face, in 1/64 logical pixel, which a process gives to measure and draw a text.&quot;&gt;text sizes&lt;/a&gt; of the design rules. The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-caption&quot; title=&quot;A caption is a short text at the text size token text_caption, in the dim color, that says what a text or an element beside it is.&quot;&gt;caption&lt;/a&gt; of a card is at 14 pixels, on the baseline of its title. The one number of a card is at 32 pixels, and what it counts is a caption under it. Each page of the manual has its title at 24 pixels over its text, and the title stays when the text moves. The result of the palette stays at 48 pixels, and each other text at 16.&lt;/p&gt;
&lt;p&gt;The card &amp;quot;THE TEXT OF THE SYSTEM&amp;quot; of the window &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/settings/&quot;&gt;&lt;code&gt;settings&lt;/code&gt;&lt;/a&gt; shows each size, one under the other. A caption keeps a contrast of 4.5 to 1 on a card in the dark and in the light appearance.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/settings.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;Captions, headings and the number of a card at their own sizes&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A shorter serial line for a log fact</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-20-a-shorter-serial-line-for-a-log-fact.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-20-a-shorter-serial-line-for-a-log-fact"/>
<published>2026-11-20T00:00:00Z</published>
<updated>2026-11-20T00:00:00Z</updated>
<category term="Decided"/>
<summary>modus is an operating system with a small kernel.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel. A program writes a line of its log as a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-log-fact&quot; title=&quot;A log fact is a log record that carries the values of one record type of its writer, with no text: the hash of the writer&amp;#39;s module, a fact key, and the value bytes.&quot;&gt;log fact&lt;/a&gt;: a record of fields with no text, which a reader writes as a sentence from the module file of the program.&lt;/p&gt;
&lt;p&gt;The serial port writes a fact as bytes: &lt;code&gt;#1a2b3c4d:fa0adf 0cm1a23h1a2b&lt;/code&gt;. The first part names the module by the first 4 bytes of its hash, the second the fact type by the first 3 bytes of its key. A value byte is two hexadecimal digits, and a run of zero bytes is one letter, from &lt;code&gt;g&lt;/code&gt; for 1 byte to &lt;code&gt;z&lt;/code&gt; for 20: &lt;code&gt;m&lt;/code&gt; is the 7 zero bytes of the number 12 in a field of 8 bytes.&lt;/p&gt;
&lt;p&gt;The form before wrote the whole key and each zero byte, and took 1.9 times the bytes of the same lines as text. On the facts of three machines of one &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-full-check&quot; title=&quot;A full check is nix flake check and modustool screenshots, both passed.&quot;&gt;full check&lt;/a&gt;, the new form takes 0.94 to 0.98 times those bytes. A byte costs about 22 µs on the serial port under KVM, so a flood loses fewer lines.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A C compiler in modus</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-20-a-c-compiler-in-modus.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-20-a-c-compiler-in-modus"/>
<published>2026-11-20T00:00:00Z</published>
<updated>2026-11-20T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which each program is a module named by the hash of its file.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which each program is a module named by the hash of its file.&lt;/p&gt;
&lt;p&gt;The module &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/c_compiler/&quot;&gt;&lt;code&gt;c_compiler&lt;/code&gt;&lt;/a&gt; is &lt;code&gt;chibicc&lt;/code&gt;, a C11 compiler of about 9 000 lines, ported. It runs in a sandboxed process of the console, reads no file and no clock, and writes its assembly into a memory object. Each C function that is not &lt;code&gt;static&lt;/code&gt; becomes an export, with its types.&lt;/p&gt;
&lt;p&gt;In the console, &lt;code class=&quot;code-inline&quot;&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/c_compiler/#export-compile&quot;&gt;compile&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;&amp;quot;int add(int a, int b) { return a + b; }&amp;quot;&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; t&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; writes the text, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/assemble/&quot;&gt;&lt;code&gt;assemble&lt;/code&gt;&lt;/a&gt; turns it into a module file, &lt;code&gt;isolate_memory&lt;/code&gt; runs that module, and &lt;code class=&quot;code-inline&quot;&gt;add&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; gives 5.&lt;/p&gt;
&lt;p&gt;The source of &lt;code&gt;chibicc&lt;/code&gt; is not in the repository: the build fetches it at one commit and applies four small patches. The assembler takes only a part of what &lt;code&gt;chibicc&lt;/code&gt; emits today: each other instruction is refused with its line and its column.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Why a process stopped</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-19-why-a-process-stopped.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-19-why-a-process-stopped"/>
<published>2026-11-19T00:00:00Z</published>
<updated>2026-11-19T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which programs call each other&#39;s functions with typed values, and no text goes between processes.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which programs call each other&amp;#39;s functions with typed values, and no text goes between processes.&lt;/p&gt;
&lt;p&gt;The kernel records why each process stopped: the process itself, a holder of its process handle, a fault, the end of its last &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-thread&quot; title=&quot;A thread is one flow of execution inside a process: a register state, a thread record and a kernel ring.&quot;&gt;thread&lt;/a&gt;, or the close of its last handle. No other process can forge this &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-stop-cause&quot; title=&quot;A stop cause is the fact that the kernel records of who or what stopped a process (op.Stop_Cause): the process itself, a holder of its process handle, a fault, the end of its last thread or the close of its last handle.&quot;&gt;stop cause&lt;/a&gt;. The kernel decides it from the target of the stop, not from a number that the caller gives. The console says &amp;quot;the process calendar stopped: a fault, page fault&amp;quot;, the root service writes &amp;quot;root: net stopped: a holder&amp;quot; when a window is closed, and &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/monitor/#export-processes&quot; data-declaration-card=&quot;declaration-28665&quot; aria-describedby=&quot;declaration-28665-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;monitor.processes()&lt;/code&gt;&lt;/a&gt; has the column &lt;code&gt;cause&lt;/code&gt;. The demonstrations give their results through memory that they share with their parent, not in their stop.&lt;/p&gt;
</content>
</entry>
<entry>
<title>What a process says about its work when it stops</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-19-what-a-process-says-when-it-stops.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-19-what-a-process-says-when-it-stops"/>
<published>2026-11-19T00:00:00Z</published>
<updated>2026-11-19T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which programs call each other&#39;s functions with typed values, and no text goes between processes.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which programs call each other&amp;#39;s functions with typed values, and no text goes between processes.&lt;/p&gt;
&lt;p&gt;A process that stops itself now says what its work gave: done, failed, refused, or stopped on request. The kernel takes that word only from the process itself: a holder that stops another process cannot say it in its place, so a parent that reads &amp;quot;done&amp;quot; knows that the child said so. &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/monitor/#export-processes&quot; data-declaration-card=&quot;declaration-28665&quot; aria-describedby=&quot;declaration-28665-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;monitor.processes()&lt;/code&gt;&lt;/a&gt; has the column &lt;code&gt;outcome&lt;/code&gt;, and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-where&quot;&gt;&lt;code&gt;where(monitor.processes(), outcome = &amp;quot;refused&amp;quot;)&lt;/code&gt;&lt;/a&gt; lists the processes that refused their &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-context&quot; title=&quot;The context is the one typed record that a process receives when it starts: 20 handles and 24 values of 64 bits (op.Context).&quot;&gt;context&lt;/a&gt; or their input. The root service writes &amp;quot;root: settings stopped: itself, done&amp;quot;, and the start policy no longer starts a row again after a finished work or a refused input. The open stop code, a number that each reader decoded, is gone.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Typed log facts, record outputs of a module, and a twenty-second property</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-19-typed-log-facts-and-record-outputs.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-19-typed-log-facts-and-record-outputs"/>
<published>2026-11-19T00:00:00Z</published>
<updated>2026-11-19T00:00:00Z</updated>
<category term="Decided"/>
<summary>modus is an operating system with a small kernel, in which programs call each other&#39;s functions with typed values, and no text goes between processes.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which programs call each other&amp;#39;s functions with typed values, and no text goes between processes.&lt;/p&gt;
&lt;p&gt;Two designs are decided. A log fact is a record type that a process writes to the log in place of a formatted line: a reader filters the log by field, as in &lt;code class=&quot;code-inline&quot;&gt;log&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/log/#export-records&quot;&gt;records&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;) |&amp;gt;&lt;/span&gt; facts&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;storage&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;Bad_Block&lt;span class=&quot;c-p&quot;&gt;) |&amp;gt;&lt;/span&gt; &lt;span class=&quot;c-k&quot;&gt;where&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;block &lt;span class=&quot;c-p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt;, and a test waits for a fact and its fields. A record output is a stream of typed records that a module writes and another module reads, through a ring that loses no record; a starter wires the record outputs of a program it starts, its log included, for example to an append-only &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-audit-space&quot; title=&quot;An audit space is a collector space that keeps each record and removes none: append-only, in the store of the collector of the principal of the starter.&quot;&gt;audit space&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A twenty-second &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-property&quot; title=&quot;A property is one of the 25 fundamental concepts of the system, each with its rule, its reasons and its costs, in docs/PROPERTIES.md.&quot;&gt;property&lt;/a&gt; joins the list: each need has one general mechanism, and each frequent task is one expression that says what it does, with no trick and no hidden encoding.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The screen for a viewer on another machine</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-19-the-screen-for-a-viewer-on-another-machine.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-19-the-screen-for-a-viewer-on-another-machine"/>
<published>2026-11-19T00:00:00Z</published>
<updated>2026-11-19T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which programs call each other&#39;s functions with typed values, and no text goes between processes.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which programs call each other&amp;#39;s functions with typed values, and no text goes between processes.&lt;/p&gt;
&lt;p&gt;The service &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/remote_display/&quot;&gt;&lt;code&gt;remote_display&lt;/code&gt;&lt;/a&gt; sends the screen of the machine to a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-viewer&quot; title=&quot;A viewer is a program on another machine that proves a client key whose row holds the use View, and rebuilds the screen from the frames of the remote display.&quot;&gt;viewer&lt;/a&gt; on another machine over QUIC. It sends only the rectangles that changed, as &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-screen-piece&quot; title=&quot;A screen piece is a rectangle of at most 128 × 64 pixels of the screen that a viewer frame carries as one record, coded alone without loss by the screen piece coder.&quot;&gt;screen pieces&lt;/a&gt; that a lossless coder in the manner of QOI codes, and the next &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-viewer-frame&quot; title=&quot;A viewer frame is one update of the screen that the remote display sends to one viewer: Viewer_Frame_Start, its screen pieces, then Viewer_Frame_End.&quot;&gt;viewer frame&lt;/a&gt; goes only after the viewer took the last one. The compositor copies its damage into memory that the service gives, and never waits for it.&lt;/p&gt;
&lt;p&gt;A principal allows the key of a viewer in the console, with &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-remote-display-allow&quot;&gt;&lt;code&gt;remote_display_allow(key, &amp;quot;view&amp;quot;)&lt;/code&gt;&lt;/a&gt; for the screen, or &lt;code&gt;&amp;quot;view_and_input&amp;quot;&lt;/code&gt; to type too. While a viewer is connected, the bar shows the mark &lt;code&gt;viewer&lt;/code&gt; with the start of its key, which the service cannot hide. &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-remote-disallow&quot;&gt;&lt;code&gt;remote_disallow(key)&lt;/code&gt;&lt;/a&gt; ends the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-session&quot; title=&quot;A session is the tree of processes that started from the root handles of one principal.&quot;&gt;session&lt;/a&gt; at once.&lt;/p&gt;
&lt;p&gt;The machine test uses the tool as the viewer: the screen that it rebuilds from the screen pieces is the picture of QEMU of the same moment, pixel for pixel outside the pointer.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The pipe operator of the console</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-19-the-pipe-operator-of-the-console.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-19-the-pipe-operator-of-the-console"/>
<published>2026-11-19T00:00:00Z</published>
<updated>2026-11-19T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which programs call each other&#39;s functions with typed values, and no text goes between processes.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which programs call each other&amp;#39;s functions with typed values, and no text goes between processes.&lt;/p&gt;
&lt;p&gt;The console has the operator &lt;code&gt;|&amp;gt;&lt;/code&gt;: the value on its left is the first argument of the call on its right. &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-processes&quot;&gt;&lt;code&gt;processes() |&amp;gt; where(name = &amp;quot;server&amp;quot;) |&amp;gt; columns(&amp;quot;name slot&amp;quot;)&lt;/code&gt;&lt;/a&gt; is &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-columns&quot;&gt;&lt;code&gt;columns(where(processes(), name = &amp;quot;server&amp;quot;), &amp;quot;name slot&amp;quot;)&lt;/code&gt;&lt;/a&gt;, and reads in the order in which its calls run. The operator adds no meaning: the console writes the line with calls in calls before it runs it. A line with a fault of the operator runs nothing, and its error says what is wrong. After &lt;code&gt;|&amp;gt;&lt;/code&gt;, the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-completion-list&quot; title=&quot;A completion list is the names that can take the place of the name at the caret, best first, with one chosen row.&quot;&gt;completion list&lt;/a&gt; offers the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-command&quot; title=&quot;A command is an export that the console can call: it is not a separate kind of thing.&quot;&gt;commands&lt;/a&gt; whose first parameter can take the value on the left.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The log counts its records by process</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-19-the-log-counts-by-process.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-19-the-log-counts-by-process"/>
<published>2026-11-19T00:00:00Z</published>
<updated>2026-11-19T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which programs call each other&#39;s functions with typed values, and no text goes between processes.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which programs call each other&amp;#39;s functions with typed values, and no text goes between processes.&lt;/p&gt;
&lt;p&gt;A &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-log-record&quot; title=&quot;A log record is one entry of the log of the kernel (op.Log_Record, 256 bytes): a number, a time, a process (its name, its process slot and its process serial), the own number of the record among the records of its process, a thread, a level, its record form, and then a text with its value runs or one log fact.&quot;&gt;log record&lt;/a&gt; no longer carries a free name that its writer chooses to group it. The window of the log shows a card for each process with the count of its records, and the console groups the records of a line by process. A line of a process on the serial port starts with the name of the process in brackets. The text of one record grew from 152 to 168 bytes. This is the first &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-step&quot; title=&quot;A step is one tested commit on master that adds one capability to a system that works.&quot;&gt;step&lt;/a&gt; of log facts: the next steps give each record that matters a type, which a reader filters by field.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The last minute in the monitor</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-19-the-last-minute-in-the-monitor.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-19-the-last-minute-in-the-monitor"/>
<published>2026-11-19T00:00:00Z</published>
<updated>2026-11-19T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which programs call each other&#39;s functions with typed values, and no text goes between processes.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which programs call each other&amp;#39;s functions with typed values, and no text goes between processes.&lt;/p&gt;
&lt;p&gt;The window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/monitor/&quot;&gt;&lt;code&gt;monitor&lt;/code&gt;&lt;/a&gt; now draws three graphs of the last minute: the memory in use, the processor time of all the processes, and the kernel entries in one second. Each graph is a curve of the last 120 &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/network/#term-sample&quot; title=&quot;A sample is one read of all the reports that a developer tool shows, at one time.&quot;&gt;samples&lt;/a&gt;, one each 500 ms, over the grid of points of the desktop. The monitor computes the points of a curve once for each sample, not in each frame. The bar of the memory and the bar of each process take the color of what they measure, the warning color from 60 %, and an orange from 85 %. The number beside each bar says the same value.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/monitor_light.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The last minute in the monitor&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The console and the window of the log write the sentence of a log fact</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-19-the-console-writes-log-facts.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-19-the-console-writes-log-facts"/>
<published>2026-11-19T00:00:00Z</published>
<updated>2026-11-19T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which programs call each other&#39;s functions with typed values, and no text goes between processes.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which programs call each other&amp;#39;s functions with typed values, and no text goes between processes.&lt;/p&gt;
&lt;p&gt;A log fact is a record of typed values in the log, with no text. The console, under a line, and the window of the log now write its sentence from the module file that the fact names, each value in the color of its kind. A fact whose module the boot image does not hold shows its bytes in hexadecimal.&lt;/p&gt;
&lt;p&gt;In the console, &lt;code class=&quot;code-inline&quot;&gt;log&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/log/#export-records&quot;&gt;records&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;) |&amp;gt;&lt;/span&gt; facts&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;log_reader&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/modules/tests/log_reader/main.odin#L490&quot;&gt;Fact_Probe&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; gives the fields of one fact type as the columns of a table. &lt;code&gt;where&lt;/code&gt; takes a condition on a field: &lt;code class=&quot;code-inline&quot;&gt;log&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/log/#export-records&quot;&gt;records&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;) |&amp;gt;&lt;/span&gt; &lt;span class=&quot;c-k&quot;&gt;where&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;level &lt;span class=&quot;c-p&quot;&gt;=&lt;/span&gt; Warning&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt;. The console checks the fact name, the field and the member of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-level&quot; title=&quot;A level says how much a log record matters: Info, Debug, Warning or Error.&quot;&gt;level&lt;/a&gt; before any call, and completes them.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Each text is measured from its font file, at any size</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-19-text-measured-from-its-font-file.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-19-text-measured-from-its-font-file"/>
<published>2026-11-19T00:00:00Z</published>
<updated>2026-11-19T00:00:00Z</updated>
<category term="Decided"/>
<summary>modus is an operating system with a small kernel, in which each program draws its window into memory of its own, and the compositor shows it.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which each program draws its window into memory of its own, and the compositor shows it.&lt;/p&gt;
&lt;p&gt;The width of a text no longer comes from tables that the build wrote for three sizes. Each program reads the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-advance&quot; title=&quot;The advance of a glyph is the distance from its origin to the origin of the next glyph, before any pair adjustment.&quot;&gt;advance&lt;/a&gt; of each character and the adjustment of each pair from the font file, at the size that its layout asks for. At the three sizes of today the numbers are the same, so no text on the screen moves.&lt;/p&gt;
&lt;p&gt;A program that does not compile the text code in calls the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-library-module&quot; title=&quot;A library module is a module that holds code that many modules import, in place of a package that each module compiles into its own file.&quot;&gt;library module&lt;/a&gt; &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/text_rendering/&quot;&gt;&lt;code&gt;text_rendering&lt;/code&gt;&lt;/a&gt; with the font files as bytes, a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-face&quot; title=&quot;A face is a first font with its frame, its weight and its grid fit, from which each glyph of a text comes.&quot;&gt;face&lt;/a&gt; and a size. It places the glyphs of a text, measures many texts in one call, and breaks a text into the lines of a box.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Every glyph is drawn by the process that shows it</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-19-every-glyph-drawn-by-its-process.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-19-every-glyph-drawn-by-its-process"/>
<published>2026-11-19T00:00:00Z</published>
<updated>2026-11-19T00:00:00Z</updated>
<category term="Decided"/>
<summary>modus is an operating system with a small kernel, in which each program draws its window into memory of its own, and the compositor shows it.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which each program draws its window into memory of its own, and the compositor shows it.&lt;/p&gt;
&lt;p&gt;The boot image no longer holds glyphs drawn at build time. It held five &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-glyph-cache&quot; title=&quot;A glyph cache was a file that held the glyphs of one font already drawn, at each scale of the grid; it left the system.&quot;&gt;glyph caches&lt;/a&gt; of its two fonts, more than 1.3 MB, at three sizes of text only. Now it holds the font files, about 195 KB, and each window draws each glyph of its text from them once, into its own &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-private-glyph-cache&quot; title=&quot;The private glyph cache is the memory where a copy of the text rendering module keeps the glyphs that it drew, which no other process reads.&quot;&gt;private glyph cache&lt;/a&gt;, with the same pixels. The root service no longer checks the hash of five caches at each start.&lt;/p&gt;
&lt;p&gt;A text of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-interface-font&quot; title=&quot;The interface font is the proportional font of the titles, the labels, the buttons, the menus and the bar: B612.&quot;&gt;interface font&lt;/a&gt; at twice and three times its size now stands at the nearest third of a pixel, as at its first size. Each program that draws text states the pages of its glyphs in its budget: 354 pages for each copy of the text rendering that draws.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Each glyph past the glyph caches comes from the process that draws it</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-19-each-glyph-from-the-process-that-draws-it.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-19-each-glyph-from-the-process-that-draws-it"/>
<published>2026-11-19T00:00:00Z</published>
<updated>2026-11-19T00:00:00Z</updated>
<category term="Decided"/>
<summary>modus is an operating system with a small kernel, in which each program draws its window into memory of its own, and the compositor shows it.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which each program draws its window into memory of its own, and the compositor shows it.&lt;/p&gt;
&lt;p&gt;The font service is gone. It was a process of the system that drew the Greek letters and the box-drawing characters into a shared cache at each start, then stopped. Each start of the machine now has one process fewer, and the root service no longer pays 1 073 pages for that cache.&lt;/p&gt;
&lt;p&gt;Each window draws these characters itself, into its own private glyph cache, with the same pixels. The log of the compositor names, once at each start, the characters of each script that no font of the system has. The terminal writes one line for each font of its fallback chain from which it drew a cell.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A window takes the size that the principal drags</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-18-windows-that-the-principal-resizes.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-18-windows-that-the-principal-resizes"/>
<published>2026-11-18T00:00:00Z</published>
<updated>2026-11-18T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which each program draws its window into memory of its own, and the compositor shows it.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which each program draws its window into memory of its own, and the compositor shows it.&lt;/p&gt;
&lt;p&gt;The principal can now drag an edge or a corner of a window whose program declared it resizable. The pointer takes the resize shape over the edge, and an outline shows the new frame during the drag. At the release the program makes a surface of the new size, paid by its own budget, and draws its next frame in it. Until that frame, the window keeps its old size and picture, so the screen never shows a size that the program did not draw, and the compositor never waits for a slow program.&lt;/p&gt;
&lt;p&gt;The window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/clock/&quot;&gt;&lt;code&gt;clock&lt;/code&gt;&lt;/a&gt; is the first &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-resizable-window&quot; title=&quot;A resizable window is a window whose process states its size limits, so that the principal can drag its edges to give it another size.&quot;&gt;resizable window&lt;/a&gt;: its table takes the width that it gains.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/time_page_resized.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;A window takes the size that the principal drags&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The kernel operations run from operation sequences</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-18-the-kernel-operations-run-from-sequences.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-18-the-kernel-operations-run-from-sequences"/>
<published>2026-11-18T00:00:00Z</published>
<updated>2026-11-18T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel: a program asks for each of its 35 kernel operations with a command record.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel: a program asks for each of its 35 &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-kernel-operation&quot; title=&quot;A kernel operation is one request that a process makes to the kernel: a command record in the kernel ring of its thread.&quot;&gt;kernel operations&lt;/a&gt; with a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-command-record&quot; title=&quot;A command record is a record that asks the other side of a ring for one operation.&quot;&gt;command record&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A test machine now runs &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-operation-sequence&quot; title=&quot;An operation sequence is the fuzz input of the kernel operations: a list of sequence steps whose arguments follow the forms of OPERATIONS, which a child process runs in a test machine.&quot;&gt;operation sequences&lt;/a&gt;: lists of commands that the tool writes into the memory of the machine. A new program with a new budget runs each sequence on the kernel that ships, and the tool checks each answer. A refusal must have a status that the reference of its operation lists, an &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-error-detail&quot; title=&quot;An error detail is one thing that a call that failed has to say, as one record of the error form of the call: an error record for an export and a kernel command, a load error for the loader.&quot;&gt;error detail&lt;/a&gt; for each argument that the form of the operation refuses, and no change of the budget. After the program stops, its budget must hold what it held before.&lt;/p&gt;
&lt;p&gt;The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-test-part&quot; title=&quot;A test part is one row of the table of the machine test: one or more machines that share a data disk, a TPM state or a value from one machine to the next, and nothing with another test part.&quot;&gt;test part&lt;/a&gt; &lt;code&gt;operation_sequences&lt;/code&gt; runs a sequence for each operation and a few cases that must succeed. &lt;code&gt;modustool fuzz replay operations &amp;lt;file&amp;gt;&lt;/code&gt; runs one sequence. This machine is the first part of the fuzzing of the kernel operations.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The kernel operations are fuzzed on the kernel that ships</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-18-the-kernel-operations-are-fuzzed.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-18-the-kernel-operations-are-fuzzed"/>
<published>2026-11-18T00:00:00Z</published>
<updated>2026-11-18T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel: a program asks for each of its 35 kernel operations with a command record.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel: a program asks for each of its 35 kernel operations with a command record.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;modustool fuzz operations &amp;lt;executions&amp;gt;&lt;/code&gt; now writes generated operation sequences into a test machine of the kernel that ships, and checks each answer. A stop of the machine, a sequence that does not end, or an answer that breaks an &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-oracle&quot; title=&quot;An oracle is a condition that a fuzz target checks after each execution of a fuzz input.&quot;&gt;oracle&lt;/a&gt; is a fault of the kernel. The tool keeps each fault one time, minimizes it on new machines to the fewest sequences and steps that still give it, and boots a new machine to go on.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The desktop starts on a machine with no PS/2 controller</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-18-the-desktop-with-no-ps2-controller.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-18-the-desktop-with-no-ps2-controller"/>
<published>2026-11-18T00:00:00Z</published>
<updated>2026-11-18T00:00:00Z</updated>
<category term="Fixed"/>
<summary>modus is an operating system with a small kernel, in which the code of each device runs as a process.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which the code of each device runs as a process.&lt;/p&gt;
&lt;p&gt;On a machine with no PS/2 controller, the input service used to read the status port for ever on one processor. Now it reads a status of all ones as no controller, writes one line and stops, and the desktop comes up with no keyboard and no mouse.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The desktop at 1920 by 1080</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-18-the-desktop-at-1920-by-1080.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-18-the-desktop-at-1920-by-1080"/>
<published>2026-11-18T00:00:00Z</published>
<updated>2026-11-18T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which each program draws its window into memory of its own, and the compositor shows it.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which each program draws its window into memory of its own, and the compositor shows it.&lt;/p&gt;
&lt;p&gt;The test machines now show the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-reference-screen&quot; title=&quot;The reference screen is the screen for which the desktop is laid out and on which the test machines take their pictures: 1920 × 1080.&quot;&gt;reference screen&lt;/a&gt; of the system, 1920 by 1080 pixels, in place of 1024 by 768. Each picture of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-gallery&quot; title=&quot;The gallery is the page of the site, at /gallery/, that shows every picture of the screen of the gallery table, in groups, each with its caption and the link to its guide.&quot;&gt;gallery&lt;/a&gt; is a picture of that screen. The compositor shows each frame whole: it writes the frame into one of two &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-screen-page&quot; title=&quot;A screen page is one whole screen in the video memory of the display: the display shows one screen page at a time.&quot;&gt;screen pages&lt;/a&gt; in the video memory, then makes the display show that page. Two pages of 1920 by 1080 take 16 588 800 of the 16 777 216 bytes of the virtual display.&lt;/p&gt;
&lt;p&gt;The windows keep their sizes for now, so they take a smaller part of the screen. Next, a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-scale-factor&quot; title=&quot;The scale factor is the count of pixels of the screen for one logical pixel, in eighths: from 1 to 2 on the reference screen.&quot;&gt;scale factor&lt;/a&gt; from 1.25 to 2 draws them, their text and the pointer larger, on the same screen.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/desktop.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The desktop: console, life, monitor and plasma. The title bar of the window in front goes from blue to a darker blue; the others are quiet&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The boot display at the scale of the screen</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-18-the-boot-display-at-the-scale-of-the-screen.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-18-the-boot-display-at-the-scale-of-the-screen"/>
<published>2026-11-18T00:00:00Z</published>
<updated>2026-11-18T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel. While the machine starts, it shows the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-boot-display&quot; title=&quot;The boot display is the picture of how the machine started, drawn from the boot record and the other records of the kernel.&quot;&gt;boot display&lt;/a&gt;: the stages of the start with their times, the memory, the machine, the files of the boot image and the first processes.&lt;/p&gt;
&lt;p&gt;The boot display was 976 by 708 pixels, half of a screen of 1920 by 1080. Its font is Spleen, a bitmap font drawn for several sizes. It now takes the largest of the scales 1, 1.5, 2 and 4 at which it fits the screen with a margin of 8 pixels: each of them is a size of Spleen, so each letter fills its cell. On a screen of 1920 by 1080 the scale is 1.5, the text is Spleen 12 by 24, and the display is 1464 by 1062 pixels in the middle of the screen. It keeps its proportions: it is never stretched across. Each card, bar, gap and text is drawn again at that scale, not enlarged from a picture.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/boot.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The boot display: the stages of the start on a line of time, the memory, the machine, the boot image, the processes&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A program holds data with no known bound in an arena</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-18-memory-that-grows-with-the-data.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-18-memory-that-grows-with-the-data"/>
<published>2026-11-18T00:00:00Z</published>
<updated>2026-11-18T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which a budget pays for each page that a program uses.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which a budget pays for each page that a program uses.&lt;/p&gt;
&lt;p&gt;A program can now hold data whose size it cannot know before it reads it, such as the tree of a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-document&quot; title=&quot;A document is an object that belongs to the principal and not to one process, which a process reaches only through a grant of the document service.&quot;&gt;document&lt;/a&gt;, in an &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-arena&quot; title=&quot;An arena is an uncommitted object of a process that grows by an explicit commit and ends whole.&quot;&gt;arena&lt;/a&gt;. An arena reserves a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-range&quot; title=&quot;A range is a count of bytes from an offset of an object.&quot;&gt;range&lt;/a&gt; of addresses once and commits its pages as it grows. When the budget cannot pay the next pages, the push gives back the status &lt;code&gt;No_Budget&lt;/code&gt;: the program reads it and keeps running. An arena never moves, and its end gives every page back to the budget at once.&lt;/p&gt;
&lt;p&gt;The test program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/arena/&quot;&gt;&lt;code&gt;arena&lt;/code&gt;&lt;/a&gt; grows an arena one page at a time until its budget refuses, then checks that a reset takes the same pages again with no commit, and that its budget comes back whole after the end.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A text copied in one window is pasted in another</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-18-copy-and-paste-between-windows.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-18-copy-and-paste-between-windows"/>
<published>2026-11-18T00:00:00Z</published>
<updated>2026-11-18T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which a program sees nothing that no one handed to it, the clipboard included.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which a program sees nothing that no one handed to it, the clipboard included.&lt;/p&gt;
&lt;p&gt;The principal can now copy the text of a field with Control+C and paste it with Control+V into a field of another window, or into the line of the console. The compositor takes both keys: no program sees them, and no program can send them. A program reads the clipboard only at a paste of the principal, through a handle that the compositor lends for that paste and then revokes. The reader copies the text first, then checks it, so a paste never carries an Enter into the console.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/clipboard_paste.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;A text copied in one window is pasted in another&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A start policy from the disk, measured into PCR 12</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-18-a-start-policy-from-the-disk.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-18-a-start-policy-from-the-disk"/>
<published>2026-11-18T00:00:00Z</published>
<updated>2026-11-18T00:00:00Z</updated>
<category term="Shown"/>
<summary>The machine can now start with a start policy that a third party publishes, in place of the one of the boot image.</summary>
<content type="html">&lt;p&gt;The machine can now start with a start policy that a third party publishes, in place of the one of the boot image. On a machine whose &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-machine-key&quot; title=&quot;The machine key is a key of 32 random bytes of principal 0 that signs its disk grant table.&quot;&gt;machine key&lt;/a&gt; the TPM seals with no &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-passphrase&quot; title=&quot;A passphrase is the text that derives the key of the seal of a named principal: 8 to 128 bytes of UTF-8 with no control character.&quot;&gt;passphrase&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-start-policy-choose&quot;&gt;&lt;code&gt;start_policy_choose(&amp;quot;tiny&amp;quot;, hash)&lt;/code&gt;&lt;/a&gt; in the console of principal 0 chooses a module of the store &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/module_files/&quot;&gt;&lt;code&gt;module_files&lt;/code&gt;&lt;/a&gt; by its hash. At the next start, the root service reads the choice before any start policy runs, checks the hash of the bytes, and starts the module with the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-start-grant&quot; title=&quot;A start grant is one thing of the list of what the root service gives a process by its name: a service, a private store, a right of the machine.&quot;&gt;start grant&lt;/a&gt; &lt;code&gt;Start_Policy&lt;/code&gt; only: it can start and stop processes of the machine, and nothing more.&lt;/p&gt;
&lt;p&gt;Each start policy is now measured into PCR 12 before it runs, the default one and the rescue too, and the log gives the value of PCR 12. A &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/network/#term-remote&quot; title=&quot;A remote is the IPv4 address and the UDP port or TCP port at the other end of a datagram or of a connection.&quot;&gt;remote&lt;/a&gt; party can then see which start policy ran. The seal of the machine key still reads PCR 7 and PCR 11 only, so a new choice opens the machine key as before.&lt;/p&gt;
&lt;p&gt;A chosen module that is absent, has another hash, cannot be measured or fails gives way to the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-rescue-start-policy&quot; title=&quot;The rescue start policy is the module start_policy with the list rescue_list of the boot image: the start policy that the root service starts when the chosen one fails.&quot;&gt;rescue start policy&lt;/a&gt;. &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-start-policy-default&quot;&gt;&lt;code&gt;start_policy_default()&lt;/code&gt;&lt;/a&gt; ends the choice.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A rescue start policy takes over a failed console</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-18-a-rescue-start-policy.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-18-a-rescue-start-policy"/>
<published>2026-11-18T00:00:00Z</published>
<updated>2026-11-18T00:00:00Z</updated>
<category term="Shown"/>
<summary>The root service of modus no longer holds the order of the start.</summary>
<content type="html">&lt;p&gt;The root service of modus no longer holds the order of the start. It starts one process, the start policy, which reads the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-start-list&quot; title=&quot;A start list is a resource of the boot image that the default start policy reads: a header, start rows of a fixed size in the order of the start, then wiring rows.&quot;&gt;start list&lt;/a&gt; of the boot image in its order and says when the machine is usable. When the console does not start, the start policy stops before that point, and the root service starts the rescue start policy: the input, the compositor, the console and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/remote/&quot;&gt;&lt;code&gt;remote&lt;/code&gt;&lt;/a&gt;. The machine then shows its console in place of a failure on the boot display. Hold the key R while the machine starts, or choose the entry &amp;quot;modus (rescue)&amp;quot; in the boot menu of the firmware, to start the rescue at that start. The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-boot-program&quot; title=&quot;The boot program is the UEFI program that checks, measures and loads the system, then starts the kernel.&quot;&gt;boot program&lt;/a&gt; writes that entry at the end of the boot order when it is absent. Each list is a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-resource&quot; title=&quot;A resource is a file of the boot image that is not a module: data that a process reads in place, named by the hash of its bytes.&quot;&gt;resource&lt;/a&gt; of the signed boot image, and the build refuses a list that names no module of its image.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A stop of the boot program stays on the screen</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-18-a-readable-stop-of-the-boot-program.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-18-a-readable-stop-of-the-boot-program"/>
<published>2026-11-18T00:00:00Z</published>
<updated>2026-11-18T00:00:00Z</updated>
<category term="Fixed"/>
<summary>When the boot program cannot start the kernel, for memory, for the memory map of the firmware or for a kernel module that it cannot load, the boot display shows the reason in red and stays.</summary>
<content type="html">&lt;p&gt;When the boot program cannot start the kernel, for memory, for the memory map of the firmware or for a kernel module that it cannot load, the boot display shows the reason in red and stays. Before, the boot program wrote one line on the console of the firmware and powered the machine off at once, so the line was gone before anyone read it. The boot program turns the watchdog of the firmware off, as for a failed check of trust, so the machine waits until it is stopped by hand.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A program plays a sound at the time that it names</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-18-a-program-plays-a-sound-at-a-time.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-18-a-program-plays-a-sound-at-a-time"/>
<published>2026-11-18T00:00:00Z</published>
<updated>2026-11-18T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system with a small kernel, in which the code that drives a device is an ordinary program with the handles of that device only.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which the code that drives a device is an ordinary program with the handles of that device only.&lt;/p&gt;
&lt;p&gt;A program can now play sound. It writes its samples in memory of its own and sends records to the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/sound/#term-sound-service&quot; title=&quot;The sound service is the device service of the sound device: it plays the records of one timed stream, each at the time that it names, for one client through a stream ring.&quot;&gt;sound service&lt;/a&gt;, each with the time of its first sample by the clock of the system. The service plays each record at that time, and silence between the records. A record that comes too late plays nothing: the program gets a refusal with the earliest time that it could take.&lt;/p&gt;
&lt;p&gt;The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/tone/&quot;&gt;&lt;code&gt;tone&lt;/code&gt;&lt;/a&gt; plays a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-tone&quot; title=&quot;A tone is what a run of text means: default, dim, strong, good, warning, bad, accent or number.&quot;&gt;tone&lt;/a&gt; of 440 Hz half a second after the start of its stream. The test machine writes its sound output to a file, and the test finds the tone there at the sample of its time.&lt;/p&gt;
</content>
</entry>
<entry>
<title>What runs is a process, and the file is a module</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-18-a-process-in-place-of-a-program.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-18-a-process-in-place-of-a-program"/>
<published>2026-11-18T00:00:00Z</published>
<updated>2026-11-18T00:00:00Z</updated>
<category term="Decided"/>
<summary>modus is an operating system with a small kernel, in which each running piece of code holds only the handles that it was given.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which each running piece of code holds only the handles that it was given.&lt;/p&gt;
&lt;p&gt;The system had one word for two things: &amp;quot;program&amp;quot; named the file of code and that code as it runs. Now a module is the file, named by the hash of its bytes, and a process is a module that runs: the realisation of that module in time, from its start to its stop, with its own address space, its handles and its threads. The word is general: a chemical process runs in time too, and Unix took the word from common speech, as this system does. A process here has no parent that it inherits from, no fork, no global number and no environment: it has only the handles that its starter gave it. The kernel operations, the contract, the guides, the glossary and the lines of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-log-follow&quot; title=&quot;Log follow is the record output follow of the log service: one row for each record of the whole log, from the moment a reader wires it, written as the records come.&quot;&gt;log follow&lt;/a&gt; the two words. The menu of the bar that lists the modules to start is now &lt;code&gt;start&lt;/code&gt;.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A frame of 1920 × 1080 on the processor</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-18-a-frame-of-1920x1080-on-the-processor.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-18-a-frame-of-1920x1080-on-the-processor"/>
<published>2026-11-18T00:00:00Z</published>
<updated>2026-11-18T00:00:00Z</updated>
<category term="Measured"/>
<summary>modus is an operating system with a small kernel, in which each program draws its window into memory of its own, and the compositor shows it.</summary>
<content type="html">&lt;p&gt;modus is an operating system with a small kernel, in which each program draws its window into memory of its own, and the compositor shows it.&lt;/p&gt;
&lt;p&gt;The standard of quality of its desktop is 120 Hz at 1920 × 1080: a frame in less than 8.3 ms. The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/processor_frame/&quot;&gt;&lt;code&gt;processor_frame&lt;/code&gt;&lt;/a&gt; now measures, on the test machine and with no GPU, what such a frame costs on one processor, with the code of the system: a clear and a present take 269 us, a full frame of the compositor with four windows 954 us, a frame in its damage 86 us, and a draw table of 339 records that fills the screen, with text in two fonts, pictures and alpha, 2043 us (the medians of 21 frames). The heaviest part takes a quarter of a frame at 120 Hz, so a machine with no GPU keeps the resolution and the rate of the standard, and leaves out only the blur, which no measure gives yet.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The role of each program in one table</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-17-the-role-of-each-program-in-one-table.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-17-the-role-of-each-program-in-one-table"/>
<published>2026-11-17T00:00:00Z</published>
<updated>2026-11-17T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system in which a program reaches only what its starter gave it.</summary>
<content type="html">&lt;p&gt;modus is an operating system in which a program reaches only what its starter gave it. The root service starts each program of the system with the grants of its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-role&quot; title=&quot;A role is a place of the system that one process fills for the others, such as the display, the console, the storage or a device class, named by a member of the enum Role.&quot;&gt;role&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The role of each program is now one row of one table: its grants, the services that it can connect to, the size of its private store and of its terminal, and the reason of each. The page of the grants on the site shows each row, a program with no grant too, and the page of each program shows its grants and its other terms.&lt;/p&gt;
&lt;p&gt;The build of the system stops when a program has no row, so a new program never starts with a role that nobody wrote. Each program that the root service starts gets each handle and each value of its context through one check, and a start that would write one place twice does not run.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The diagrams of the guides are drawn</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-17-the-diagrams-of-the-guides-are-drawn.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-17-the-diagrams-of-the-guides-are-drawn"/>
<published>2026-11-17T00:00:00Z</published>
<updated>2026-11-17T00:00:00Z</updated>
<category term="Fixed"/>
<summary>modus is an operating system whose site publishes its guides.</summary>
<content type="html">&lt;p&gt;modus is an operating system whose site publishes its guides. The guide of the architecture holds five diagrams in the text form of mermaid: the layers of the system, the order of construction, and three flows in time. The site showed each one as its text.&lt;/p&gt;
&lt;p&gt;Now the tool draws each diagram as a picture in the page when it builds the site, with no script. The boxes, the lines and the labels take the colors of the site, so a diagram follows the light and the dark form. The tool measures each label with the font of the diagrams, so a long label wraps onto more lines and no text passes its box. The text of each diagram stays under its picture, for a screen reader and for the search. A diagram that the tool cannot draw stops the build of the site, with its file and its line.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Each program refuses a word that names nothing</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-17-each-program-refuses-a-word-that-names-nothing.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-17-each-program-refuses-a-word-that-names-nothing"/>
<published>2026-11-17T00:00:00Z</published>
<updated>2026-11-17T00:00:00Z</updated>
<category term="Fixed"/>
<summary>modus is an operating system whose programs talk through records in shared memory.</summary>
<content type="html">&lt;p&gt;modus is an operating system whose programs talk through records in shared memory. A record holds its choices as numbers: the command of a ring, the mode of a child, the tone of a line of text.&lt;/p&gt;
&lt;p&gt;Until now, some programs read a number that named no choice as a choice: an unknown role became the parent, an unknown command was ignored with no word. Now each program reads such a number at one place, which refuses it. A service answers with an &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-error-record&quot; title=&quot;An error record is the record of 56 bytes that a call that failed gives back to its caller (errors.Error_Record): what is wrong, which argument, the value that it had, the limit, and what the system found.&quot;&gt;error record&lt;/a&gt; that names the number, a program that a starter gave a wrong mode writes a line and stops, and the compositor and the terminal count the records of a window that they refuse and write the count on the log.&lt;/p&gt;
&lt;p&gt;The tables of the modules that &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/inspect/#export-modules&quot; data-declaration-card=&quot;declaration-23689&quot; aria-describedby=&quot;declaration-23689-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;inspect.modules()&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/manual/#export-running&quot; data-declaration-card=&quot;declaration-22326&quot; aria-describedby=&quot;declaration-22326-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;manual.running()&lt;/code&gt;&lt;/a&gt; and &lt;code&gt;program_modules()&lt;/code&gt; give no longer write &amp;quot;unknown&amp;quot; as the writer of a module record: a writer that names nothing leaves the field empty, with a line of the log.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The TPM service sets a lockout value that nobody keeps</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-tpm-service-closes-the-lockout-hierarchy.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-tpm-service-closes-the-lockout-hierarchy"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The TPM counts the wrong passphrases of a named principal, but a TPM with an empty lockout authorization value lets any system on the machine reset that count.</summary>
<content type="html">&lt;p&gt;The TPM counts the wrong passphrases of a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-named-principal&quot; title=&quot;A named principal is a principal with a number of 1 or more: a name for display, an Ed25519 key to sign grants, an X25519 key to unlock documents, and a passphrase.&quot;&gt;named principal&lt;/a&gt;, but a TPM with an empty &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/trusted-boot/#term-lockout-authorization-value&quot; title=&quot;The lockout authorization value is the authorization value of the lockout hierarchy of the TPM: the one secret that resets the count of the wrong authorization values, changes its limits, or clears the TPM through that hierarchy.&quot;&gt;lockout authorization value&lt;/a&gt; lets any system on the machine reset that count. With such a TPM, an attacker with the machine starts another system, resets the count, and guesses passphrases with no &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-limit&quot; title=&quot;A limit is a property of a budget for time: the microseconds of processor time that the budget can use in each second.&quot;&gt;limit&lt;/a&gt; of the TPM.&lt;/p&gt;
&lt;p&gt;Now the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/trusted-boot/#term-tpm-service&quot; title=&quot;The TPM service is the process tpm: the device service of the TPM of the machine, which seals 32 secret bytes to the values of PCR 7 and PCR 11 and unseals them only while those registers hold the same values.&quot;&gt;TPM service&lt;/a&gt; of modus reads the bit &lt;code&gt;lockoutAuthSet&lt;/code&gt; before the first use of a passphrase in a run. A start that uses no passphrase with the TPM changes nothing. When the bit is clear, the service sets 32 random bytes as the lockout value, then erases them. No program, file or store keeps the value, so no system can reset the count or change its limits, this one included. The service also writes the count limits of the TPM on the log: on the test machines, a lockout after 3 wrong passphrases, then one forgiven each 1000 seconds.&lt;/p&gt;
&lt;p&gt;In the test, a new TPM takes &lt;code&gt;TPM2_DictionaryAttackLockReset&lt;/code&gt; with the empty value from the host. The TPM of the test machines refuses it with &lt;code&gt;TPM_RC_AUTH_FAIL&lt;/code&gt;. A principal who reaches the lockout waits, or types the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/trusted-boot/#term-recovery-key&quot; title=&quot;A recovery key is a key of 20 random bytes, shown one time as 32 characters of base32 in 8 groups of 4, that opens a copy of the machine key, or of the keys of a named principal, when the TPM does not release them.&quot;&gt;recovery key&lt;/a&gt;.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The TPM refuses an older system and a revoked key</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-tpm-refuses-an-older-system.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-tpm-refuses-an-older-system"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system whose boot program checks a signed list of the hashes of the whole system before the kernel starts.</summary>
<content type="html">&lt;p&gt;modus is an operating system whose boot program checks a signed list of the hashes of the whole system before the kernel starts. Until now, each list that the key of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/trusted-boot/#term-publisher&quot; title=&quot;A publisher is a key pair whose private key signs release pointers and realisations, and which a principal can name as a key that it trusts.&quot;&gt;publisher&lt;/a&gt; signed stayed valid, an older one with a known flaw too.&lt;/p&gt;
&lt;p&gt;The TPM now keeps floors that only rise. Each &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-system-description&quot; title=&quot;The system description is the list of hashes that defines one version of the whole system: the kernel, then each module and each resource of the boot image, with its kind, its size and its BLAKE3 hash.&quot;&gt;system description&lt;/a&gt; carries a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/trusted-boot/#term-security-version&quot; title=&quot;The security version is the number from 1 to 64 in the header of a system description that the version floor of the TPM compares: the boot program refuses a description whose security version is below the floor.&quot;&gt;security version&lt;/a&gt;, and each boot program a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/trusted-boot/#term-key-number&quot; title=&quot;The key number is the number from 1 to 64 that the boot program holds beside the public key of the signing key, which the key floor of the TPM compares.&quot;&gt;key number&lt;/a&gt;. Before it measures a newer system, its boot program raises the floors to its numbers; after the measure, no kernel and no program can raise them. From then on, the boot program of an older system, or of a revoked &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/trusted-boot/#term-signing-key&quot; title=&quot;The signing key is the Ed25519 key pair of the principal that signs the system: its private key signs the system description, and the boot program holds its public key.&quot;&gt;signing key&lt;/a&gt;, stops before the kernel starts, and the screen names the floor.&lt;/p&gt;
&lt;p&gt;The publisher raises the security version only for a flaw that an older system would bring back, so a principal can still go back to the release before for any other fault. Six machines of &lt;code&gt;modustool test trusted_boot&lt;/code&gt; with a software TPM show both refusals, and the repair of an index that another system planted.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The TPM counts the wrong machine passphrases</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-tpm-counts-the-wrong-machine-passphrases.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-tpm-counts-the-wrong-machine-passphrases"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The machine passphrase of modus guards the machine key, which signs the disk grants of the machine.</summary>
<content type="html">&lt;p&gt;The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-machine-passphrase&quot; title=&quot;A machine passphrase is an optional passphrase of principal 0, the machine, that guards the machine key.&quot;&gt;machine passphrase&lt;/a&gt; of modus guards the machine key, which signs the disk grants of the machine. Its record held the key under Argon2id of the passphrase alone. With a copy of the disk, an attacker could try passphrases with no limit, and a changed system could open the key with the right passphrase.&lt;/p&gt;
&lt;p&gt;Now, on a machine with a TPM and Secure Boot on, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-machine-passphrase&quot;&gt;&lt;code&gt;machine_passphrase()&lt;/code&gt;&lt;/a&gt; gives the record the form of the keys of a named principal. The TPM seals a secret to the measure of the system and to a value that the passphrase gives. The TPM counts each wrong machine passphrase, and on another system it refuses even the right one. The window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/unlock/&quot;&gt;&lt;code&gt;unlock&lt;/code&gt;&lt;/a&gt; shows a recovery key one time. That key opens the machine key when the TPM refuses, and the window then asks for a new machine passphrase.&lt;/p&gt;
&lt;p&gt;In the test, a wrong machine passphrase is refused and counted on the system of the seal, and the right one opens the key. On another system, the right passphrase opens nothing, and the recovery key opens the key.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The tool fuzzes the readers of the system</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-tool-fuzzes-the-readers-of-the-system.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-tool-fuzzes-the-readers-of-the-system"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The readers of modus that take bytes from the network or from a disk now get inputs that nobody wrote by hand.</summary>
<content type="html">&lt;p&gt;The readers of modus that take bytes from the network or from a disk now get inputs that nobody wrote by hand. &lt;code&gt;modustool fuzz&lt;/code&gt; runs the real code of the system on the host: the module file, the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-debug-object&quot; title=&quot;A debug object is the file that names the procedures, the source lines, the types and the variables of the code of one module, so that a reader can turn an address of the module into a name and a line, and a debugger can show a variable.&quot;&gt;debug object&lt;/a&gt;, the storage format, QUIC and TLS, TCP and the head of an HTTP request.&lt;/p&gt;
&lt;p&gt;LLVM adds an &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-edge-counter&quot; title=&quot;An edge counter is a byte that instrumented code adds one to each time it passes one edge of its control flow.&quot;&gt;edge counter&lt;/a&gt; to the packages under test. The tool keeps each input that reaches new code, and makes the next inputs from it. Each input sits against a page with no access, so that a read one byte past it stops the run.&lt;/p&gt;
&lt;p&gt;A fault is minimized to its smallest input and printed as the bytes of a host test. After its fix, the input joins the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-corpus&quot; title=&quot;The corpus is the set of fuzz inputs of each fuzz target that the repository keeps, one file for each input, named by the BLAKE3 hash of its bytes.&quot;&gt;corpus&lt;/a&gt; of its target in the repository, and each &lt;code&gt;modustool check&lt;/code&gt; runs it again with a fixed count of new inputs.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The pointers of the system have smooth edges and two forms</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-system-pointers-have-smooth-edges.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-system-pointers-have-smooth-edges"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The pointer theme of the system is the pointer of each release image.</summary>
<content type="html">&lt;p&gt;The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-pointer-theme&quot; title=&quot;A pointer theme is the pointer pictures of each pointer shape, with a name, a license and an attribution.&quot;&gt;pointer theme&lt;/a&gt; of the system is the pointer of each &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/trusted-boot/#term-release-image&quot; title=&quot;The release image is the disk image that a release publishes: a GPT disk whose one partition, the EFI system partition, is the release volume, compressed with zstd.&quot;&gt;release image&lt;/a&gt;. Its 15 shapes were grids of squares of 2 pixels, with a staircase on each slanted side. They are now outlines in a text file of the repository, which the build draws at 24 and 48 pixels with the rasterizer of the fonts. The edge is 1 pixel at both sizes, so the larger pointer is finer, not heavier. Each shape has a dark form, white in a dark edge, for a dark desktop, and a light form, dark in a white edge, for a light desktop. A few parts have an &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-accent&quot; title=&quot;An accent is the color of the concept that a card is about.&quot;&gt;accent&lt;/a&gt; color: the arc that turns in &lt;code&gt;wait&lt;/code&gt; and the question mark of &lt;code&gt;help&lt;/code&gt; in the blue of the focus, the slash of &lt;code&gt;forbidden&lt;/code&gt; in red, the dot of &lt;code&gt;crosshair&lt;/code&gt; in amber. The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/pointers/&quot;&gt;&lt;code&gt;pointers&lt;/code&gt;&lt;/a&gt; shows both forms of each shape.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/pointers_system.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The pointer pictures: each shape of the pointer theme of the system, in the dark form and in the light form at 24 and 48 pixels, with the lines of its hot spot&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The screen shows each frame of the desktop whole</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-screen-shows-each-frame-whole.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-screen-shows-each-frame-whole"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system in which one program, the compositor, puts the windows of all the programs on the screen.</summary>
<content type="html">&lt;p&gt;modus is an operating system in which one program, the compositor, puts the windows of all the programs on the screen. Until now it copied the changed parts of each frame into the memory that the display showed, so the display could show the top of a new frame over the bottom of the frame before.&lt;/p&gt;
&lt;p&gt;The video memory of the display of the test machine holds two screens. The compositor now writes each frame into the screen that the display does not show, then one write of a display register makes the display show it, in one step. A window that changes many times a second then never shows a cut between two of its frames.&lt;/p&gt;
&lt;p&gt;The compositor counts the frames that it wrote into the screen that the display showed. The main machine test requires that count to be 0.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The manual shows a declaration that no module describes</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-manual-shows-a-declaration.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-manual-shows-a-declaration"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The documentation of a module can link a procedure of a support package, such as system.word_wait.</summary>
<content type="html">&lt;p&gt;The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-documentation&quot; title=&quot;The documentation of a module is the text that the module carries in its file for a reader: one line that says what the module is, a text for the module, and a text for each export.&quot;&gt;documentation&lt;/a&gt; of a module can link a procedure of a support package, such as &lt;a class=&quot;declaration-reference&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/library/modus/system/wait.odin#L226&quot; data-declaration-card=&quot;declaration-14119&quot; aria-describedby=&quot;declaration-14119-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;system.word_wait&lt;/code&gt;&lt;/a&gt;. No module file describes such a procedure, and the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/manual/&quot;&gt;&lt;code&gt;manual&lt;/code&gt;&lt;/a&gt; reads only the boot image. Now the build writes a page for each such link into the boot image, from the source: the file and the line, the one line of Odin, and the comment above the declaration. The link in the manual has a line under it and opens that page. A link to a module, an export or a record that a module describes still opens the page of the module. The picture shows the page of &lt;a class=&quot;declaration-reference&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/library/modus/system/wait.odin#L226&quot; data-declaration-card=&quot;declaration-14119&quot; aria-describedby=&quot;declaration-14119-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;system.word_wait&lt;/code&gt;&lt;/a&gt;, which the machine test opens with Tab and Enter from the page of the module &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/manual/&quot;&gt;&lt;code&gt;manual&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/manual_declaration.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The manual shows a declaration that no module describes&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The manual opens the links of a page</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-manual-opens-the-links-of-a-page.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-manual-opens-the-links-of-a-page"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The documentation of a module links terms of the glossary and headings of the guides.</summary>
<content type="html">&lt;p&gt;The documentation of a module links terms of the glossary and headings of the guides. The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/manual/&quot;&gt;&lt;code&gt;manual&lt;/code&gt;&lt;/a&gt; now opens them. The boot image carries the page of each term and each heading that a module links, with the headings under it. Tab moves the focus from link to link, and Enter opens the link with the focus. Backspace goes back to the page before, at the row where it was. A link to another host shows its address and does not open: the system has no browser. The picture shows the page of the module &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/manual/&quot;&gt;&lt;code&gt;manual&lt;/code&gt;&lt;/a&gt; with the focus on the link &amp;quot;the description tables&amp;quot;. The machine test opens that link with a press, opens the link of a term with Tab and Enter, and goes back each time.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/manual_link.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The manual opens the links of a page&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The log tells no program what the others wrote</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-log-tells-no-program-what-the-others-wrote.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-log-tells-no-program-what-the-others-wrote"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system in which a program sees no other program.</summary>
<content type="html">&lt;p&gt;modus is an operating system in which a program sees no other program. A program reads its own log records back, from a ring that only its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-own-records&quot; title=&quot;The own records of a process are the log records that the kernel wrote for the Log operations of that process: the records with its process slot and its process serial.&quot;&gt;own records&lt;/a&gt; fill.&lt;/p&gt;
&lt;p&gt;Two facts of the log still told it how much the other programs wrote. The kernel refused a record when a budget above the program was full, and a &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/operations/#operation-log&quot;&gt;&lt;code&gt;Log&lt;/code&gt;&lt;/a&gt; waited for the lines of the others on the serial port.&lt;/p&gt;
&lt;p&gt;Now the log records of each second are an amount of a budget, as its pages: a starter gives each child a part of its own, and each budget counts only its own records. A refusal says only that the program wrote its own amount. &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/operations/#operation-log&quot;&gt;&lt;code&gt;Log&lt;/code&gt;&lt;/a&gt; writes the records in memory only; the tick of the first processor writes their lines on the serial port after it, in their order.&lt;/p&gt;
&lt;p&gt;The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/log_reader/&quot;&gt;&lt;code&gt;log_reader&lt;/code&gt;&lt;/a&gt; checks it: its storm child takes 900 of its 1000 log records of each second, and gives them back at its stop.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The keyboard of France types the euro sign</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-euro-sign.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-euro-sign"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>With the setting keyboard_layout on french, AltGr with e types €, as on each AZERTY keyboard.</summary>
<content type="html">&lt;p&gt;With the setting &lt;code&gt;keyboard_layout&lt;/code&gt; on &lt;code&gt;french&lt;/code&gt;, &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-altgr&quot; title=&quot;AltGr is the right Alt key of the keyboard, which gives the third level of the layout of France: a third character of a key, after the character without Shift and the character with Shift.&quot;&gt;AltGr&lt;/a&gt; with &lt;code&gt;e&lt;/code&gt; types €, as on each AZERTY keyboard. The console prints &lt;code&gt;5 €&lt;/code&gt;. Each font of the system draws the sign: Paper Mono, its SemiBold, B612 and Spleen. € is U+20AC, past the Latin-1 Supplement. It is the first character of a short list of &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-added-character&quot; title=&quot;An added character is a character past U+00FF that each font of the system draws, named one by one in a list of the contract font_characters.&quot;&gt;added characters&lt;/a&gt;: each one is chosen, and each font must draw it.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/keys_french.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The keyboard of France types the euro sign&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The desktop has a light appearance</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-desktop-has-a-light-appearance.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-desktop-has-a-light-appearance"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The desktop has two appearances: dark and light.</summary>
<content type="html">&lt;p&gt;The desktop has two appearances: dark and light. The setting &lt;code&gt;appearance&lt;/code&gt; chooses one: &lt;code&gt;dark&lt;/code&gt;, &lt;code&gt;light&lt;/code&gt;, or &lt;code&gt;auto&lt;/code&gt;, the default, which gives the light appearance from 07:00 to 19:00 and the dark one at night. The system has no time zone yet, so these are the hours of UTC.&lt;/p&gt;
&lt;p&gt;Each color of the design rules has a value in each appearance, in one table. The light appearance has the colors of the light page of this site: dark text on a light background, white cards, each concept in a darker shade of its color. The blue of a title bar and the red of a close button are the same in both.&lt;/p&gt;
&lt;p&gt;A change draws each window once: the background, the bar, the windows, the palette, the console and its results. The boot display stays dark. In the console, &lt;code class=&quot;code-inline&quot;&gt;settings&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/settings/#export-set&quot;&gt;set&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;&amp;quot;appearance&amp;quot;&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;&amp;quot;light&amp;quot;&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; changes it at once, and the log says why the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-appearance-in-force&quot; title=&quot;The appearance in force is the appearance, dark or light, that each process draws now.&quot;&gt;appearance in force&lt;/a&gt; is what it is.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/desktop_light.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The desktop has a light appearance&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>Each build measures the deepest stack of the kernel</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-deepest-stack-of-the-kernel.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-deepest-stack-of-the-kernel"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>Each processor of modus runs the kernel on a stack of 16 pages, with a guard page under it.</summary>
<content type="html">&lt;p&gt;Each processor of modus runs the kernel on a stack of 16 pages, with a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-guard-page&quot; title=&quot;A guard page is a page of addresses with no memory, next to a stack: a use of it is a page fault, not a write on other memory.&quot;&gt;guard page&lt;/a&gt; under it. A chain of calls that is deeper stops the machine at that page.&lt;/p&gt;
&lt;p&gt;Each build now reads the frame of each procedure of the kernel, which LLVM writes, and the calls of the linked kernel. It prints the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-deepest-chain&quot; title=&quot;The deepest chain is the chain of calls of the kernel that uses the most bytes of a kernel stack, from a place where the kernel starts on it.&quot;&gt;deepest chain&lt;/a&gt; of calls on that stack, procedure by procedure, with the bytes that stay free. The chain counts the two frames of &lt;code&gt;execute&lt;/code&gt; of a command with a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-table-of-error-details&quot; title=&quot;A table of error details is an optional Append table of error details, in memory of the caller: the last parameter of an export that has an error record, or the table that a kernel command names in its last value.&quot;&gt;table of error details&lt;/a&gt;, and one interrupt that comes while the kernel waits idle.&lt;/p&gt;
&lt;p&gt;The build fails when less than 4 of the 16 pages stay free. A call that the tool cannot follow, or a recursion with no stated bound, also stops the build, with the name of the procedure.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The console colors each field by its value kind</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-console-colors-each-field-by-its-kind.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-console-colors-each-field-by-its-kind"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>A table of the console now shows each field in the color of its value kind, as the log and the site do.</summary>
<content type="html">&lt;p&gt;A table of the console now shows each field in the color of its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-value-kind&quot; title=&quot;A value kind is what a technical value is for a reader, such as a number, a size, a time, a handle, a status or a module, so that every place that shows the value can give it one look.&quot;&gt;value kind&lt;/a&gt;, as the log and the site do. A time is in the color of the boot program. A size and a number are in the color of memory. The unit of a size or a time is in the head of its column, one time: &lt;code class=&quot;code-inline&quot;&gt;resident &lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;pages&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt;, &lt;code class=&quot;code-inline&quot;&gt;time &lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;ms&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt;. A record writes the unit after each value: the field &lt;code&gt;used&lt;/code&gt; of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-memory&quot;&gt;&lt;code&gt;memory()&lt;/code&gt;&lt;/a&gt; shows &lt;code&gt;1204 pages&lt;/code&gt;. The description of the record states the kind: a field of the type &lt;a class=&quot;declaration-reference&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/library/modus/contract/value_kinds/value_kinds.odin#L275&quot; data-declaration-card=&quot;declaration-3704&quot; aria-describedby=&quot;declaration-3704-summary&quot;&gt;&lt;code class=&quot;value value-type value-icon&quot;&gt;value_kinds.Time_In_Milliseconds&lt;/code&gt;&lt;/a&gt; in the source of a module is a time in milliseconds, and a text is never classified by its look. &lt;code&gt;columns&lt;/code&gt; and &lt;code&gt;join&lt;/code&gt; keep the kind of each field. The picture shows a record with a handle, then &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-columns&quot;&gt;&lt;code&gt;columns(where(programs(), &amp;quot;name&amp;quot;, &amp;quot;console&amp;quot;), &amp;quot;name slot threads resident time started&amp;quot;)&lt;/code&gt;&lt;/a&gt;: a text, two numbers, a size and two times.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/console_value_kinds.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The console colors each field by its value kind&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The bytes of a module file, drawn from the code</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-bytes-of-a-module-file.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-bytes-of-a-module-file"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The guide of the module contract now draws each record of a module file byte by byte, as the header diagrams of the RFCs do.</summary>
<content type="html">&lt;p&gt;The guide of the module contract now draws each record of a module file byte by byte, as the header diagrams of the RFCs do. A row is 8 bytes. Each field is a rectangle over its bytes, with its name and its size; its type and its comment show under the pointer. The diagrams cover the header, the table directory and one record of each table: 12 layouts. The offsets and the sizes come from the compiler that builds the tool, so a diagram cannot differ from the code. The same layouts are in the Markdown of the guide as text, and the check of the repository fails when that text differs from the code.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The bar shows the local time</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-bar-shows-the-local-time.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-bar-shows-the-local-time"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The system has a time zone.</summary>
<content type="html">&lt;p&gt;The system has a time zone. The setting &lt;code&gt;time_zone&lt;/code&gt; is an offset from UTC, from &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-p&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;00&lt;/span&gt;&lt;/code&gt; to &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-p&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;14&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;00&lt;/span&gt;&lt;/code&gt; by quarters of an hour: &lt;code class=&quot;code-inline&quot;&gt;settings&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/settings/#export-set&quot;&gt;set&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;&amp;quot;time_zone&amp;quot;&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;&amp;quot;+08:00&amp;quot;&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; in the console, or the row &amp;quot;time zone&amp;quot; of the window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/settings/&quot;&gt;&lt;code&gt;settings&lt;/code&gt;&lt;/a&gt;, with four buttons that move it by an hour or by 15 minutes. The default is &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-p&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;00&lt;/span&gt;&lt;/code&gt;, UTC.&lt;/p&gt;
&lt;p&gt;The bar then shows the local date and time. The setting &lt;code&gt;appearance&lt;/code&gt; &lt;code&gt;auto&lt;/code&gt; turns light at 07:00 and dark at 19:00 of the local time, and no longer of UTC. A change of the zone takes effect at once, and the log says the zone that the date service now gives.&lt;/p&gt;
&lt;p&gt;The zone is a fixed offset: it has no summer time. A principal in a zone with summer time changes it twice a year, for example &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-p&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;01&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;00&lt;/span&gt;&lt;/code&gt; in winter and &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-p&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;02&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;00&lt;/span&gt;&lt;/code&gt; in summer in Paris. The date that the system keeps, in the store and on the network, stays in UTC.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/settings.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The bar shows the local time&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The keys of a window are an action bar</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-the-action-bar.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-the-action-bar"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>A window that the keyboard drives names its keys in an action bar at its bottom.</summary>
<content type="html">&lt;p&gt;A window that the keyboard drives names its keys in an &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-action-bar&quot; title=&quot;An action bar is the band at the bottom of a window that names its keys: each item is the keycaps of one key combination, then the name of its action.&quot;&gt;action bar&lt;/a&gt; at its bottom. Each item is a key combination drawn as &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-keycap&quot; title=&quot;A keycap is the small rectangle that shows one key of a key combination in an action bar, with the name of the key on it: Tab, Enter, Backspace, or a triangle for an arrow key.&quot;&gt;keycaps&lt;/a&gt;, then the name of the action. A press on an item runs the action, as its key does. When the items do not fit, the items of lowest priority go into a list behind a button &lt;code&gt;more&lt;/code&gt;. The list opens upward, inside the window, and Up, Down, Enter and Escape move in it. The picture shows the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-debugger&quot; title=&quot;A debugger is a process that holds the handle of another process with the right Debug, and that made one of its own threads the debug handler of that process.&quot;&gt;debugger&lt;/a&gt; window with its list open: detach has the lowest priority, so it is in the list. The machine test opens the list and detaches with a press on that row. The window &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/interface_elements/&quot;&gt;&lt;code&gt;interface_elements&lt;/code&gt;&lt;/a&gt; shows all its items in one row (&lt;code&gt;action_bar.png&lt;/code&gt;). Before, each window wrote its keys as one line of dim text, and the pointer could do nothing with it. Ten windows use the bar: &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/manual/&quot;&gt;&lt;code&gt;manual&lt;/code&gt;&lt;/a&gt;, the terminal, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/settings/&quot;&gt;&lt;code&gt;settings&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/notes/&quot;&gt;&lt;code&gt;notes&lt;/code&gt;&lt;/a&gt;, the debugger window, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/unlock/&quot;&gt;&lt;code&gt;unlock&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/interface_elements/&quot;&gt;&lt;code&gt;interface_elements&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/tally/&quot;&gt;&lt;code&gt;tally&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/rings/&quot;&gt;&lt;code&gt;rings&lt;/code&gt;&lt;/a&gt; and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/paint/&quot;&gt;&lt;code&gt;paint&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/action_bar_more.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The keys of a window are an action bar&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The devices behind an older PCI bridge work with the IOMMU on</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-one-domain-behind-a-conventional-bridge.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-one-domain-behind-a-conventional-bridge"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>An older bridge of PCI makes the requests of each device behind it with one requester, so the IOMMU cannot tell those devices apart.</summary>
<content type="html">&lt;p&gt;An older bridge of PCI makes the requests of each device behind it with one requester, so the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/devices/#term-iommu&quot; title=&quot;The IOMMU is the unit of the machine that translates each address that a device gives before the access reaches memory, through tables that the kernel writes.&quot;&gt;IOMMU&lt;/a&gt; cannot tell those devices apart. Until now the kernel refused each of their accesses. Now they have one domain. The kernel makes it only when one service holds the registers of each device behind the bridge, and ends it when that service lets one of them go. The root service gives them all to one service. The test machine with the IOMMU of AMD has a disk and an &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/randomness/#term-entropy-device&quot; title=&quot;The entropy device is the random device of virtio that the machine can have (virtio-rng-pci in QEMU): one more source of the seed of the system, never the only one.&quot;&gt;entropy device&lt;/a&gt; behind such a bridge: the disk reads and writes through the shared domain, and the kernel refuses the domain when the service gives back the registers of the entropy device.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The old file of a principal is erased after a change</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-old-versions-of-a-principal-are-erased.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-old-versions-of-a-principal-are-erased"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>Before, a change of the passphrase or of the recovery key of a named principal left the file from before as a version on the disk.</summary>
<content type="html">&lt;p&gt;Before, a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-change-of-the-passphrase&quot; title=&quot;A change of the passphrase is the act by which a named principal, in its session, proves its current passphrase in the window of unlock and has its keys sealed again under a new passphrase, or under a new recovery key.&quot;&gt;change of the passphrase&lt;/a&gt; or of the recovery key of a named principal left the file from before as a version on the disk. That version opened with the old secret.&lt;/p&gt;
&lt;p&gt;Now &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/unlock/&quot;&gt;&lt;code&gt;unlock&lt;/code&gt;&lt;/a&gt; asks the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-storage-service&quot; title=&quot;The storage service is the service that keeps the stores, their trees, their objects and their versions on the data disk, through the block service of that disk.&quot;&gt;storage service&lt;/a&gt; to erase the versions of the file after each change. The service ends the versions in one commit, writes its root a second time, and then writes zeros over each block that no other state names. A loss of power at any write leaves the versions or none, and no root names a block of zeros.&lt;/p&gt;
&lt;p&gt;In the test, the tool reads the file of the principal from the disk before a change. After the change, the disk holds none of its salt and none of its sealed keys.&lt;/p&gt;
&lt;p&gt;The erase reaches the blocks that the storage service reads. A flash disk or a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-snapshot&quot; title=&quot;A snapshot is the tree that a store named at one commit; the system does not keep it apart.&quot;&gt;snapshot&lt;/a&gt; of the host can still keep an old copy.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Greek letters drawn by a font service</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-glyphs-drawn-on-demand.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-glyphs-drawn-on-demand"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The window interface_font shows two lines of Greek letters in B612.</summary>
<content type="html">&lt;p&gt;The window &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/interface_font/&quot;&gt;&lt;code&gt;interface_font&lt;/code&gt;&lt;/a&gt; shows two lines of Greek letters in B612. The glyph caches of the boot image do not hold them: they hold 192 characters for each font.&lt;/p&gt;
&lt;p&gt;A new program, the font service &lt;code&gt;glyphs&lt;/code&gt;, holds the outlines of the 47 Greek letters of B612: the font has no capital pi and no small rho. At its start it draws each of them into one demand cache that each window maps read-only. So the cache is the same whatever the windows draw, and tells no window what another one draws. A window that starts before that work ends draws the letter itself, with the same pixels.&lt;/p&gt;
&lt;p&gt;A glyph drawn by the service has the same pixels as a glyph that the build draws from the same font file. A host test compares them word for word.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/interface_font.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;Greek letters drawn by a font service&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A running program gets fresh random bytes</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-fresh-bytes-for-a-running-program.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-fresh-bytes-for-a-running-program"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>A program gets one random seed at its start, and draws from its own generator.</summary>
<content type="html">&lt;p&gt;A program gets one &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/randomness/#term-random-seed&quot; title=&quot;A random seed is the 32 bytes from which a random generator starts.&quot;&gt;random seed&lt;/a&gt; at its start, and draws from its own generator. Now the root service also reads the entropy device every 30 seconds, mixes the bytes into its generator, and writes 32 bytes of its stream in a page that only one program reads. The generator of the program mixes them into its key at its next refill, or before it makes a key. A key that a program makes an hour after its start then has bytes from the last 30 seconds. The mix is never done for each draw: the page changes once in 30 seconds, and the same bytes mixed again add nothing. The window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/randomness/&quot;&gt;&lt;code&gt;randomness&lt;/code&gt;&lt;/a&gt; shows the count of the mixes in a new row.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/randomness.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;A running program gets fresh random bytes&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>Every window follows the light appearance</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-every-window-follows-the-light-appearance.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-every-window-follows-the-light-appearance"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>Twenty programs drew some colors of their own, and those colors stayed dark in the light appearance: the bars of monitor, the measures of clock, the levels of the log, the headings of manual, the states of rings.</summary>
<content type="html">&lt;p&gt;Twenty programs drew some colors of their own, and those colors stayed dark in the light appearance: the bars of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/monitor/&quot;&gt;&lt;code&gt;monitor&lt;/code&gt;&lt;/a&gt;, the measures of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/clock/&quot;&gt;&lt;code&gt;clock&lt;/code&gt;&lt;/a&gt;, the levels of the log, the headings of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/manual/&quot;&gt;&lt;code&gt;manual&lt;/code&gt;&lt;/a&gt;, the states of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/rings/&quot;&gt;&lt;code&gt;rings&lt;/code&gt;&lt;/a&gt;. Each window now takes each color from the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-color-token&quot; title=&quot;A color token is a named color of the design rules that has one value in each appearance: a surface, a concept or a part of the desktop.&quot;&gt;color tokens&lt;/a&gt;, by its meaning, so it changes with the appearance.&lt;/p&gt;
&lt;p&gt;A color keeps its meaning in both appearances. A kernel entry is in the kernel blue, a page in the color of memory, an answer that is not the expected one in the color of a failure. Each text keeps a contrast of at least 4.5 to 1, and host tests compute each pair.&lt;/p&gt;
&lt;p&gt;Three &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-token&quot; title=&quot;A token is the smallest part of a line of the console: a name, a number, a text, an operator, the arrow -&amp;gt;, the pipe operator |&amp;gt;, or one byte of no other token.&quot;&gt;tokens&lt;/a&gt; are new: a warning color, a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-link-color&quot; title=&quot;The link color is the color token of a link: a name in a page that leads to another page.&quot;&gt;link color&lt;/a&gt;, and eight &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-series-color&quot; title=&quot;A series color is one of eight color tokens that tell apart the members of one series: several things of one kind that no concept of the design rules tells apart.&quot;&gt;series colors&lt;/a&gt; that tell apart things of one kind, such as the threads of a program or the records of a ring. The boot display stays dark: it draws before any setting is read. The stage of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/heron/&quot;&gt;&lt;code&gt;heron&lt;/code&gt;&lt;/a&gt; stays dark too: it is a picture of the dark mark.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/monitor_light.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;Every window follows the light appearance&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>Every window draws the characters past its glyph cache</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-every-window-draws-past-its-glyph-cache.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-every-window-draws-past-its-glyph-cache"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>Each window now draws a character past the 192 of its glyph cache itself: its labels, its titles, its menus and its cells.</summary>
<content type="html">&lt;p&gt;Each window now draws a character past the 192 of its glyph cache itself: its labels, its titles, its menus and its cells. It reads the font files of the system, which the root service maps read-only in each window, and keeps the glyphs that it drew in its own memory. No other window reads that memory, so it tells no window what another draws.&lt;/p&gt;
&lt;p&gt;A character takes the first font of the chain of its script that has it. In the console, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-character&quot;&gt;&lt;code&gt;character(945)&lt;/code&gt;&lt;/a&gt; shows α in a cell: Paper Mono has no α, so the terminal draws the α of B612, on the baseline of Paper Mono and inside its cell. Π, ρ and the Cyrillic letters are in no font of the system: they draw a box, and the log names them.&lt;/p&gt;
&lt;p&gt;The first draw of a glyph costs 3 to 46 µs in each window, on an AMD Ryzen 7 5800X.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Each measure over the releases</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-each-measure-over-the-releases.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-each-measure-over-the-releases"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Measured"/>
<summary>The measure record held one run: the last full check, which the next run replaced.</summary>
<content type="html">&lt;p&gt;The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-measure-record&quot; title=&quot;The measure record is the file docs/measures/measures.txt: the measured numbers of the last full check, each as the whole line of its log, with the facts of its run.&quot;&gt;measure record&lt;/a&gt; held one run: the last full check, which the next run replaced. Each release now keeps its own copy of the record, so the numbers of a release stay. The page of the measured numbers draws one chart for each measure, such as the kernel entries in one second or the round trip of one UDP &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/network/#term-datagram&quot; title=&quot;A datagram is one UDP datagram: its header of 8 bytes and its data, 1472 bytes of data at most, what a process sends and receives through a datagram endpoint.&quot;&gt;datagram&lt;/a&gt;: the releases at equal steps, the number from zero, and a list of the number, the commit and the run of each release. Each point is one run on a host that runs other work, and the page says so: a step that is not larger than the spread of two runs says nothing. Of the 89 &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-release-tag&quot; title=&quot;A release tag is the annotated, signed git tag v&amp;lt;release number&amp;gt; on the commit of a release.&quot;&gt;release tags&lt;/a&gt;, one held a measure record, so the first chart appears with the next release that a full check measured.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Each export that fails says why</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-each-export-that-fails-says-why.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-each-export-that-fails-says-why"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>A call of a service or a module that fails now gives an error record, in every export.</summary>
<content type="html">&lt;p&gt;A call of a service or a module that fails now gives an error record, in every export. Before, some exports gave only -1: &lt;code class=&quot;code-inline&quot;&gt;manual&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/manual/#export-show&quot;&gt;show&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;&amp;quot;nothing&amp;quot;&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; printed &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-p&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;1&lt;/span&gt;&lt;/code&gt; in the console. Now the console prints &lt;code&gt;error: manual.show: the argument name names none of the modules (-1)&lt;/code&gt;. A refusal of the kernel inside an export, as the map of a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-lent-handle&quot; title=&quot;A lent handle is a handle that a caller gives to a callee for the time of one call.&quot;&gt;lent handle&lt;/a&gt;, names the argument of the export, not an argument of the kernel operation. The tool refuses a new export that gives a negative number with no error record.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Box-drawing characters in the terminal</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-box-drawing-characters-in-the-terminal.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-box-drawing-characters-in-the-terminal"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The terminal draws the box-drawing characters, the block elements and the five Greek letters of Paper Mono in its cells.</summary>
<content type="html">&lt;p&gt;The terminal draws the box-drawing characters, the block elements and the five Greek letters of Paper Mono in its cells. In the console, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-character&quot;&gt;&lt;code&gt;character(9472) + character(955)&lt;/code&gt;&lt;/a&gt; shows ─λ.&lt;/p&gt;
&lt;p&gt;The glyph caches of the boot image hold 192 characters for each font, and these 165 are past them. The font service draws them at its start, beside each glyph cache of the cells: Paper Mono with the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-grid-fit&quot; title=&quot;Grid fit is the move of the baseline, the x-height and the cap height of a font onto whole pixels, so that the tops of the letters are sharp.&quot;&gt;grid fit&lt;/a&gt;, Paper Mono with no grid fit, and Paper Mono SemiBold. Each glyph stays in its cell, as each glyph of a glyph cache of cells does.&lt;/p&gt;
&lt;p&gt;Paper Mono has no other Greek letter.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The seed of the system takes bytes from an entropy device</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-an-entropy-device.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-an-entropy-device"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The random seed of modus no longer depends on the processor alone when the machine has the entropy device of virtio.</summary>
<content type="html">&lt;p&gt;The random seed of modus no longer depends on the processor alone when the machine has the entropy device of virtio. At its start, the root service starts a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-device-service&quot; title=&quot;A device service is a service that owns the queues of one device class: block, network card, display, input.&quot;&gt;device service&lt;/a&gt; for it, the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/entropy/&quot;&gt;&lt;code&gt;entropy&lt;/code&gt;&lt;/a&gt;, and asks it for two reads of 32 bytes. It does not wait for them: when they come, it mixes them into the generator that gives each program its seed. The bytes add to the bytes of the processor and never replace them, so a device that lies cannot weaken the seed. A read of zeros, of one value, with no byte, or equal to the read before adds nothing and counts as refused. The strength that the system claims does not change. The log says &lt;code&gt;root: the entropy device gave 64 bytes in 2 reads: 64 bytes mixed into the random generator of the system; refused reads: 0&lt;/code&gt;, and the window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/randomness/&quot;&gt;&lt;code&gt;randomness&lt;/code&gt;&lt;/a&gt; shows the device. A machine with no such device starts as before, and its log says so.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The keyboard of France types braces with AltGr</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-altgr-on-the-keyboard-of-france.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-altgr-on-the-keyboard-of-france"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>With the setting keyboard_layout on french, AltGr, the right Alt key, gives the third level of the keys of the row of the digits: #, {, [, |, \, ^, @, ] and }.</summary>
<content type="html">&lt;p&gt;With the setting &lt;code&gt;keyboard_layout&lt;/code&gt; on &lt;code&gt;french&lt;/code&gt;, AltGr, the right Alt key, gives the third level of the keys of the row of the digits: &lt;code&gt;#&lt;/code&gt;, &lt;code&gt;{&lt;/code&gt;, &lt;code&gt;[&lt;/code&gt;, &lt;code&gt;|&lt;/code&gt;, &lt;code&gt;\&lt;/code&gt;, &lt;code&gt;^&lt;/code&gt;, &lt;code&gt;@&lt;/code&gt;, &lt;code&gt;]&lt;/code&gt; and &lt;code&gt;}&lt;/code&gt;. So the whole console language is typed with that layout. AltGr with the key of 2 is the dead tilde, and with the key of 7 the dead grave accent: &lt;code&gt;~&lt;/code&gt; then &lt;code&gt;n&lt;/code&gt; types ñ, and &lt;code&gt;&lt;/code&gt; &lt;code&gt; &lt;/code&gt;&lt;code&gt; then Shift &lt;/code&gt;a&lt;code&gt; types À. A space after them types the accent alone. AltGr with &lt;/code&gt;e` types no euro sign yet, because the fonts do not draw it.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A program reads the log records of the programs that it started</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-a-starter-reads-the-log-of-its-children.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-a-starter-reads-the-log-of-its-children"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system in which a program sees no other program, only the programs that it started.</summary>
<content type="html">&lt;p&gt;modus is an operating system in which a program sees no other program, only the programs that it started. Its log service gave a program its own records only.&lt;/p&gt;
&lt;p&gt;A program that starts programs now also reads what its children wrote. It lends the handle of a child to the log service for one call, and receives the records of that child, and of no other program. The handle is the proof: only the starter received it when it made the child. A grandchild is read only if the child gives its handle. In the machine test, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/log_reader/&quot;&gt;&lt;code&gt;log_reader&lt;/code&gt;&lt;/a&gt; starts two children and reads the one record of each, two times in a row, with no record of the first run in the second.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A program reads its own log records</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-a-program-reads-its-own-log-records.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-a-program-reads-its-own-log-records"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The log service gives a program its own records, with their times, levels, channels and value runs.</summary>
<content type="html">&lt;p&gt;The log service gives a program its own records, with their times, levels, channels and &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-value-run&quot; title=&quot;A value run is a part of the text of a log record that is one value: a start, a length and its value kind.&quot;&gt;value runs&lt;/a&gt;. It needs no right to read the whole machine: a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-connection&quot; title=&quot;A connection is one call ring and one call region between one caller and one service that serves its own exports.&quot;&gt;connection&lt;/a&gt; to the log service is enough. The kernel writes the program slot and the program serial in each record, and the root service writes the two numbers of the caller in the grant of its connection. So a program receives the records of its own run only, and not those of an earlier program in the same slot. The console and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/remote/&quot;&gt;&lt;code&gt;remote&lt;/code&gt;&lt;/a&gt; act for the principal, and still read the whole log. The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/log_reader/&quot;&gt;&lt;code&gt;log_reader&lt;/code&gt;&lt;/a&gt; checks it in the machine test: from the number 0, it receives its own record and no row of another program.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A program counts the cache misses of its own code</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-a-program-counts-the-cache-misses-of-its-code.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-a-program-counts-the-cache-misses-of-its-code"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>A thread can now count four events of the processor for its own code: the instructions retired, the cycles, the cache misses and the branch misses.</summary>
<content type="html">&lt;p&gt;A thread can now count four &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-event&quot; title=&quot;An event is a count in memory that several threads wait on (system.Event): a thread adds 1 to it and wakes all the threads that wait.&quot;&gt;events&lt;/a&gt; of the processor for its own code: the instructions retired, the cycles, the cache misses and the branch misses. It counts in user mode only, so no work of the kernel and no other thread is in its counts. The kernel keeps the counts of a thread when it leaves a processor. A developer measures with them what a data layout costs in cache misses, and not only in time. The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/counters/&quot;&gt;&lt;code&gt;counters&lt;/code&gt;&lt;/a&gt; reads the same 2 MiB of memory in order and one page apart, and writes the counts of each order on the log. A count of the misses of a shared cache also shows what other programs do, so the counters are a grant: the right &lt;code&gt;Counters&lt;/code&gt; of the machine handle. The kernel programs the counters of Intel and of AMD Zen; on a machine with neither, the commands say &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/errors/#kind-unsupported&quot;&gt;&lt;code&gt;Unsupported&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A program cannot change the module record of its starter</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-a-program-cannot-change-its-starter-module.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-a-program-cannot-change-its-starter-module"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The kernel keeps a module record for each module in a program: its addresses and its hash.</summary>
<content type="html">&lt;p&gt;The kernel keeps a module record for each module in a program: its addresses and its hash. The reports of a fault, the manual and the console name the code of a program with these records.&lt;/p&gt;
&lt;p&gt;Now the kernel marks each record with its writer: &lt;code&gt;starter&lt;/code&gt; when the program that started the program wrote it, &lt;code&gt;program&lt;/code&gt; when the program wrote it for itself. A program cannot remove or replace a record of its starter. It cannot unmap the code of that module or map other memory at its addresses either. So a record of the writer &lt;code&gt;starter&lt;/code&gt; names the code that really runs at those addresses.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;program_modules()&lt;/code&gt; in the console, &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/inspect/#export-modules&quot; data-declaration-card=&quot;declaration-23689&quot; aria-describedby=&quot;declaration-23689-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;inspect.modules()&lt;/code&gt;&lt;/a&gt; and &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/manual/#export-running&quot; data-declaration-card=&quot;declaration-22326&quot; aria-describedby=&quot;declaration-22326-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;manual.running()&lt;/code&gt;&lt;/a&gt; show the writer in a field &lt;code&gt;writer&lt;/code&gt;. In the main machine test, the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/imports/&quot;&gt;&lt;code&gt;imports&lt;/code&gt;&lt;/a&gt; tries the four changes, and the kernel refuses each one.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A named principal changes its passphrase and its recovery key</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-a-principal-changes-its-passphrase.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-a-principal-changes-its-passphrase"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>Before, a named principal got a new passphrase only after a recovery, when the TPM refused its keys.</summary>
<content type="html">&lt;p&gt;Before, a named principal got a new passphrase only after a recovery, when the TPM refused its keys. Its recovery key never changed.&lt;/p&gt;
&lt;p&gt;Now a console of the session asks for a change. &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-passphrase-change&quot;&gt;&lt;code&gt;passphrase_change()&lt;/code&gt;&lt;/a&gt; opens the window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/unlock/&quot;&gt;&lt;code&gt;unlock&lt;/code&gt;&lt;/a&gt;, which asks for the current passphrase first; the TPM counts a wrong one. The TPM then seals the keys to the new passphrase. &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-recovery-key-change&quot;&gt;&lt;code&gt;recovery_key_change()&lt;/code&gt;&lt;/a&gt; shows a new recovery key one time, and writes the file after Enter.&lt;/p&gt;
&lt;p&gt;The keys themselves do not change: they are the principal. The store keeps the file from before the change as a version on the same disk, and that version still opens with the old passphrase and the old recovery key. So today a change protects the keys only against a party who knows the old secret and never gets this disk. The erase of the old versions is planned.&lt;/p&gt;
&lt;p&gt;In the test, after a change the old passphrase is refused and counted, and the new one opens the session. On another system, the recovery key from before is refused, and the new one opens the keys.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A principal asks for its recovery key with no wrong try</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-a-principal-asks-for-its-recovery-key.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-a-principal-asks-for-its-recovery-key"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The TPM counts each wrong passphrase of a named principal, and of the machine, in one count.</summary>
<content type="html">&lt;p&gt;The TPM counts each wrong passphrase of a named principal, and of the machine, in one count. After three wrong tries on the test TPM, it refuses each try for a time. A principal who lost the passphrase had to type wrong tries until the TPM refused, and each one also counted against the machine passphrase.&lt;/p&gt;
&lt;p&gt;Now the window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/unlock/&quot;&gt;&lt;code&gt;unlock&lt;/code&gt;&lt;/a&gt; has the item Ctrl+R &amp;quot;recovery key&amp;quot; at the passphrase of a named principal, as it has at the machine passphrase. Ctrl+R asks for the recovery key at once, and nothing reaches the TPM. Enter with nothing goes back to the passphrase. The recovery key opens the keys. With Secure Boot on, the window then asks for a new passphrase, and the TPM seals the keys to it.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A thread that the share policy never saw gets a small part of its program</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-a-new-thread-gets-a-small-part-of-its-program.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-a-new-thread-gets-a-small-part-of-its-program"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Fixed"/>
<summary>The share policy of the program scheduler gives each program one program weight, whatever its count of threads.</summary>
<content type="html">&lt;p&gt;The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-share-policy&quot; title=&quot;The share policy is the rule of the process scheduler that gives each process one process weight, whatever its count of threads: each round, it writes to each thread the process weight divided by the count of the threads of its process that count.&quot;&gt;share policy&lt;/a&gt; of the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/scheduler/&quot;&gt;&lt;code&gt;scheduler&lt;/code&gt;&lt;/a&gt; gives each program one program &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-weight&quot; title=&quot;A weight is a number from 1 to 1024 of a thread: its share of a processor against the other threads of its queue, under a strategy with weights.&quot;&gt;weight&lt;/a&gt;, whatever its count of threads. A round runs each 100 ms. A program could create threads just after a round that ended before the next one: no round saw them, and each one had the whole program weight. Now each thread and each program have a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-new-thread-weight-limit&quot; title=&quot;A new-thread weight limit is the weight limit that one thread, or all the threads of one process, give to each thread that they create: a number from 1 to 1024, and for a thread at most its weight limit.&quot;&gt;new-thread weight limit&lt;/a&gt;, which only the holder of the machine writes, and a new thread gets the smaller of the two. Each round writes the program weight divided by 32 to each program before it reads its threads. A program has at most 32 threads, so after its first round the threads that no round saw sum to under one program weight, also for a program that knows the moments of the rounds. The machine test starts a program that keeps 6 short threads alive and, after one round, reads 24 of its threads that no round saw: each one has the weight 32. Without the policy, a new thread gets the limit of its creator, as before.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A name that names nothing gives an error</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-a-name-that-names-nothing.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-a-name-that-names-nothing"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Fixed"/>
<summary>Some calls answered a name that names nothing with an empty text or 0.</summary>
<content type="html">&lt;p&gt;Some calls answered a name that names nothing with an empty text or 0. &lt;code class=&quot;code-inline&quot;&gt;manual&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/manual/#export-about&quot;&gt;about&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;&amp;quot;nothing&amp;quot;&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; gave an empty line, as for a module with no documentation. &lt;code class=&quot;code-inline&quot;&gt;settings&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;get&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;&amp;quot;colour&amp;quot;&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; gave an empty text. &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/storage/#export-stores&quot; data-declaration-card=&quot;declaration-23237&quot; aria-describedby=&quot;declaration-23237-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;storage.stores()&lt;/code&gt;&lt;/a&gt; gave the text &amp;quot;no grant to see the stores&amp;quot; to a caller with no grant. &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/math/#export-next-prime&quot; data-declaration-card=&quot;declaration-17093&quot; aria-describedby=&quot;declaration-17093-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;next_prime&lt;/code&gt;&lt;/a&gt; above 2^40 gave 0. Each of these calls now fails with an error record, and the console writes its sentence: &amp;quot;error: manual.about: the argument name names none of the modules (-1)&amp;quot;. A program that calls them now tells an empty answer from a failure.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Each program keeps its own last log records</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-a-log-ring-for-each-program.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-a-log-ring-for-each-program"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>modus is an operating system in which a program sees no other program.</summary>
<content type="html">&lt;p&gt;modus is an operating system in which a program sees no other program. A program reads its own log records back through the log service, but until now all records shared one ring of 2047. A program that wrote many records pushed out the records of the others, and a reader that counted its lost records learned how much the others wrote.&lt;/p&gt;
&lt;p&gt;The kernel now also keeps the last 64 records of each program in a ring that only that program fills. The budget of the program pays its 4 pages, and they return to the budget when the last handle to the stopped program closes. The log service reads there, with one new kernel operation, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/operations/#operation-log-read&quot;&gt;&lt;code&gt;Log_Read&lt;/code&gt;&lt;/a&gt;, a caller&amp;#39;s own records and the records of a child whose handle a starter lends. The kernel now has 35 operations.&lt;/p&gt;
&lt;p&gt;In the machine test, a child of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/log_reader/&quot;&gt;&lt;code&gt;log_reader&lt;/code&gt;&lt;/a&gt; writes 2111 records after one record of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/log_reader/&quot;&gt;&lt;code&gt;log_reader&lt;/code&gt;&lt;/a&gt; and one record of each of its two other children. The whole log no longer holds those three records, but &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/log_reader/&quot;&gt;&lt;code&gt;log_reader&lt;/code&gt;&lt;/a&gt; still reads each one, as the first record of its program, with nothing lost. A reader that acts for the principal still reads every record of the whole log, in order.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A lock ends each window of unlock</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-a-lock-ends-each-window-of-unlock.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-a-lock-ends-each-window-of-unlock"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Fixed"/>
<summary>A console of a session can open the window of unlock to set the machine passphrase or to seal the machine key.</summary>
<content type="html">&lt;p&gt;A console of a session can open the window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/unlock/&quot;&gt;&lt;code&gt;unlock&lt;/code&gt;&lt;/a&gt; to set the machine passphrase or to seal the machine key. The window shows a recovery key one time. Before, the window stayed open after &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-lock&quot;&gt;&lt;code&gt;lock()&lt;/code&gt;&lt;/a&gt;: anyone at the locked machine could read that recovery key, or type a machine passphrase.&lt;/p&gt;
&lt;p&gt;Now the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-lock&quot; title=&quot;A lock is one word of memory that one thread holds at a time (system.Lock).&quot;&gt;lock&lt;/a&gt; stops the window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/unlock/&quot;&gt;&lt;code&gt;unlock&lt;/code&gt;&lt;/a&gt;, whatever it shows. The window writes its record only after Enter, when the recovery key is written down. So the stop loses nothing: the disk stays as it was, and the owner asks again. The creation of a principal follows the same rule: its file is written, and its session starts, after Enter on its recovery key.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A kernel command gives each wrong argument</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-a-kernel-command-gives-each-wrong-argument.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-a-kernel-command-gives-each-wrong-argument"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>A kernel command that the kernel refuses gave one error record: the first argument that was wrong.</summary>
<content type="html">&lt;p&gt;A kernel command that the kernel refuses gave one error record: the first argument that was wrong. A program can now give the command a table of error details. The kernel then writes the error record, and one more detail for each other argument that it finds wrong: a handle, a count above its limit, an unknown flag, a choice out of its range. The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/errors/&quot;&gt;&lt;code&gt;errors&lt;/code&gt;&lt;/a&gt; gives &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/operations/#operation-memory-create&quot;&gt;&lt;code&gt;Memory_Create&lt;/code&gt;&lt;/a&gt; a budget that names nothing and an unknown flag, and the log shows the two lines. A command with no table runs the same lines of the kernel as before. The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/errors/&quot;&gt;&lt;code&gt;errors&lt;/code&gt;&lt;/a&gt; prints the time of a command with a table and with none.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A dropped write is found at its own commit</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-a-dropped-write-is-found-at-its-commit.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-a-dropped-write-is-found-at-its-commit"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>A disk can answer Ok to a write and not keep it.</summary>
<content type="html">&lt;p&gt;A disk can answer Ok to a write and not keep it. Before, the storage service found such a write only at the next start of the machine. A commit made in the meantime could then damage the object for good.&lt;/p&gt;
&lt;p&gt;Now each commit reads back the blocks that it wrote before it writes its root, then reads back its root. If one block differs, the service refuses the commit, writes one line on the log, and serves the objects as they were before that commit, at once. The root of a refused commit never reaches the disk.&lt;/p&gt;
&lt;p&gt;In the test, the disk of the tool drops the block of data of a second version. The console gets the refusal, and reads the first version on the same machine.&lt;/p&gt;
&lt;p&gt;The read back costs one read for each block that a commit writes. &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/storage/#export-stores&quot; data-declaration-card=&quot;declaration-23237&quot; aria-describedby=&quot;declaration-23237-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;storage.stores()&lt;/code&gt;&lt;/a&gt; gives the count of these reads and their time. A disk that answers the read from the same cache that lost the write is not found this way: the check at the next start stays for that case.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A client key of remote lasts across a restart</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-a-client-key-of-remote-lasts-across-a-restart.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-a-client-key-of-remote-lasts-across-a-restart"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>A principal allows the key of a client of remote once.</summary>
<content type="html">&lt;p&gt;A principal allows the key of a client of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/remote/&quot;&gt;&lt;code&gt;remote&lt;/code&gt;&lt;/a&gt; once. The key now lasts across a restart of the machine, in the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-disk-grant-table&quot; title=&quot;A disk grant table is the table of the root service that binds each nickname of one principal to the hash of one module file, with the grants of that file.&quot;&gt;disk grant table&lt;/a&gt; of that principal, beside the grants of its disk programs and under the same tag.&lt;/p&gt;
&lt;p&gt;After the restart, the key holds again when the table is read: at the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-unlock&quot; title=&quot;The unlock is the act that starts the session of a named principal: Argon2id derives a key from its passphrase, and that key opens the seal of its secret keys.&quot;&gt;unlock&lt;/a&gt; of a named principal, or when principal 0 gets its machine key. A call of that client then acts for the principal, with no new &lt;a class=&quot;declaration-reference&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/modules/system/console/commands.odin#L3186&quot; data-declaration-card=&quot;declaration-24053&quot; aria-describedby=&quot;declaration-24053-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;remote_allow&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;declaration-reference&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/modules/system/console/commands.odin#L3217&quot; data-declaration-card=&quot;declaration-24055&quot; aria-describedby=&quot;declaration-24055-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;remote_disallow&lt;/code&gt;&lt;/a&gt; takes the key out of the table, and says when the disk did not take the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-revocation&quot; title=&quot;A revocation is the act that ends each holding that came from a handle, in one process or in each process (Handle_Revoke).&quot;&gt;revocation&lt;/a&gt;, so that the key can come back at the next start. &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-remote-clients&quot;&gt;&lt;code&gt;remote_clients()&lt;/code&gt;&lt;/a&gt; now also gives the state of each key: &lt;code&gt;holds&lt;/code&gt;, &lt;code&gt;locked&lt;/code&gt; while the session is locked, or &lt;code&gt;contested&lt;/code&gt; when another principal allowed the same key: such a key acts for neither principal until one of them revokes it.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A call from another machine acts for the principal that allowed its client</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-16-a-call-from-another-machine-acts-for-a-principal.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-16-a-call-from-another-machine-acts-for-a-principal"/>
<published>2026-11-16T00:00:00Z</published>
<updated>2026-11-16T00:00:00Z</updated>
<category term="Shown"/>
<summary>The program remote takes calls from another machine over QUIC.</summary>
<content type="html">&lt;p&gt;The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/remote/&quot;&gt;&lt;code&gt;remote&lt;/code&gt;&lt;/a&gt; takes calls from another machine over QUIC. Each client now proves a key of its own in the handshake, and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/remote/&quot;&gt;&lt;code&gt;remote&lt;/code&gt;&lt;/a&gt; takes only a key that a principal allowed.&lt;/p&gt;
&lt;p&gt;A principal allows a key in a console that acts for it: &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-remote-allow&quot;&gt;&lt;code&gt;remote_allow(&amp;quot;&amp;lt;64 hexadecimal digits&amp;gt;&amp;quot;)&lt;/code&gt;&lt;/a&gt;. Each call of that client then acts for that principal, and sees what a console of that principal sees. A key that no principal allowed is refused in its handshake, before any call, with one line on the log.&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;declaration-reference&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/modules/system/console/commands.odin#L3217&quot; data-declaration-card=&quot;declaration-24055&quot; aria-describedby=&quot;declaration-24055-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;remote_disallow&lt;/code&gt;&lt;/a&gt; ends the grant. The open connection of the client ends at once with the code Revoked, and the next handshake of the key is refused. A lock of the session of the principal ends the grant in the same way, until the unlock. &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-remote-clients&quot;&gt;&lt;code&gt;remote_clients()&lt;/code&gt;&lt;/a&gt; lists the keys that a principal allowed.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;modustool run&lt;/code&gt; prints the key of the client of its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/network/#term-peer&quot; title=&quot;The peer is the part of the modus tool that is the gateway and the echo server of the network of the test machine, a TCP client that the tool drives, and the QUIC client of the remote service.&quot;&gt;peer&lt;/a&gt; for each run, with the line to type in the console.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The wheel moves a view</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-the-wheel-moves-a-view.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-the-wheel-moves-a-view"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>The wheel of the mouse now moves the view under the pointer.</summary>
<content type="html">&lt;p&gt;The wheel of the mouse now moves the view under the pointer. One notch moves it by three lines. This works over the lines of a terminal and its completion list, the text of the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/manual/&quot;&gt;&lt;code&gt;manual&lt;/code&gt;&lt;/a&gt;, the cards of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/hall_of_fame/&quot;&gt;&lt;code&gt;hall_of_fame&lt;/code&gt;&lt;/a&gt;, a list, and the rows of the palette. A view shorter than three lines moves by its own height, so a notch never skips a line that the view did not show. Only the window in front gets the wheel, as it gets the keys: a window behind does not move. The input service asks the mouse for its wheel at the start, and the log says &lt;code&gt;input: ok, the mouse has a wheel&lt;/code&gt;. The machine test turns the wheel over the console, a list and the palette, and waits for the line of each view that moved.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The TPM seals the keys of a named principal and counts its wrong passphrases</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-the-tpm-counts-the-passphrases-of-a-principal.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-the-tpm-counts-the-passphrases-of-a-principal"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>On a machine with a TPM and Secure Boot on, principal_create(&quot;alice&quot;) now has the TPM seal the keys of alice to the measure of the system and to her passphrase together.</summary>
<content type="html">&lt;p&gt;On a machine with a TPM and Secure Boot on, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-principal-create&quot;&gt;&lt;code&gt;principal_create(&amp;quot;alice&amp;quot;)&lt;/code&gt;&lt;/a&gt; now has the TPM seal the keys of alice to the measure of the system and to her passphrase together. Another system, another machine, or a copy of the disk opens nothing. The TPM counts each wrong passphrase. After three on the test machines, it refuses each try for a time, the right passphrase too. This count holds only while the lockout hierarchy of the TPM has an &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/trusted-boot/#term-authorization-value&quot; title=&quot;An authorization value is the secret that a sealed object needs beside its policy: the TPM compares it at each unseal, counts each wrong one, and refuses each try for a time after too many.&quot;&gt;authorization value&lt;/a&gt; that an attacker does not know, and modus does not set one yet.&lt;/p&gt;
&lt;p&gt;The window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/unlock/&quot;&gt;&lt;code&gt;unlock&lt;/code&gt;&lt;/a&gt; shows a recovery key one time, at the creation. When the TPM refuses, or when alice loses her passphrase, the recovery key opens her keys. The window then asks for a passphrase, and the TPM seals the keys again to it and to the system that runs.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The tool counts the budget of a module</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-the-tool-counts-the-budget.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-the-tool-counts-the-budget"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Decided"/>
<summary>The budget that a program asks for is now mostly counted, not guessed.</summary>
<content type="html">&lt;p&gt;The budget that a program asks for is now mostly counted, not guessed. Its source states only what no file shows: its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-working-memory&quot; title=&quot;The working memory is the pages that a process chooses to use: its tables, its caches, the budgets of its children, a stack of another size, its page tables.&quot;&gt;working memory&lt;/a&gt;, its programs, its threads and the size of its window.&lt;/p&gt;
&lt;p&gt;The build adds three parts that are facts: the pages of the module and of each module that it &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-import&quot; title=&quot;An import is the name of another module inside a module: its hash, with the exports that the importing module calls.&quot;&gt;imports&lt;/a&gt;, a stack and a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-thread-area&quot; title=&quot;A thread area is the memory that the kernel makes for one thread in the address space of its process: the thread record, the kernel ring of the thread, and one page with no memory.&quot;&gt;thread area&lt;/a&gt; for each thread, and the two pictures of the window. A window of 1000 x 704 is 1375 pages. When a module grows, its request grows with it, with no change of its source.&lt;/p&gt;
&lt;p&gt;The page of each program on the site shows the parts of its budget, and each build prints the request of each module once.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The same object is kept one time</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-the-same-object-is-kept-one-time.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-the-same-object-is-kept-one-time"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>A program that keeps the same bytes under two names now pays their blocks one time.</summary>
<content type="html">&lt;p&gt;A program that keeps the same bytes under two names now pays their blocks one time. The storage service finds an object of a store by its hash. When a commit gives an entry the bytes of an object that the store holds already, the entry names the blocks of that object, and no block of it is written.&lt;/p&gt;
&lt;p&gt;In the machine test, the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/ranges/&quot;&gt;&lt;code&gt;ranges&lt;/code&gt;&lt;/a&gt; writes an object of 1 MiB under two names. The store holds 261 blocks for both: 256 blocks of data, 4 &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-object-node&quot; title=&quot;An object node is one block of a block tree above the blocks of data: 64 children, each an object node of the level below, a block of data, or a hole.&quot;&gt;object nodes&lt;/a&gt; and the root. A change of one block of the second name writes 3 blocks, and the first name keeps its bytes. After a new start of the machine, a third name of the same bytes takes no block.&lt;/p&gt;
&lt;p&gt;The index is in the memory of the service, and the open of the disk makes it from the entries. So a loss of power leaves nothing of it to repair. The service never trusts the hash of an entry alone: it computes the hash again from the blocks before an entry names them.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The palette shows the unit of a number</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-the-palette-shows-a-unit.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-the-palette-shows-a-unit"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>A field of a command in the palette now shows what its number counts.</summary>
<content type="html">&lt;p&gt;A field of a command in the palette now shows what its number counts. Type &lt;code&gt;&amp;gt;buffer&lt;/code&gt; and Enter: the band shows &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-buffer&quot;&gt;&lt;code&gt;buffer(count:  pages)&lt;/code&gt;&lt;/a&gt;, and the unit stays after the number while it is typed. The command &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/debugger/#export-wait-stop&quot; data-declaration-card=&quot;declaration-22979&quot; aria-describedby=&quot;declaration-22979-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;wait_stop&lt;/code&gt;&lt;/a&gt; shows &lt;code&gt;ms&lt;/code&gt; after its number. The unit is in the color of a size or of a time, as in the log. The number is typed in the unit that the command reads; the palette converts nothing.&lt;/p&gt;
&lt;p&gt;The buttons of a field now take the pointer. The command &lt;code&gt;strategy&lt;/code&gt; shows its three strategies as buttons in the band: a press on one takes it, as Tab takes the one that Left and Right chose.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A program from a disk shows which file runs under its name</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-the-nickname-of-a-disk-program-in-the-windows.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-the-nickname-of-a-disk-program-in-the-windows"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>A program from a disk runs under a nickname that the principal chose.</summary>
<content type="html">&lt;p&gt;A program from a disk runs under a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-nickname&quot; title=&quot;A nickname is the name that the principal gives a disk process: the name of the entry of its module file in the store module_files.&quot;&gt;nickname&lt;/a&gt; that the principal chose. The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-menu-of-the-windows&quot; title=&quot;The menu of the windows is the menu of the bar with one line for each window: a press on a line brings the window to the front and gives it the focus.&quot;&gt;menu of the windows&lt;/a&gt;, the palette and the monitor now show that nickname with the first 16 digits of the hash of the file faded beside it, so a reader sees which file runs under the name. A nickname that only looks like the name of a program of the system, such as consoIe, has its digits beside it too.&lt;/p&gt;
&lt;p&gt;Both come from the root service, which checked the bytes before the start. The program does not choose them: a program that asks for the title console still gets a window with its own nickname. The title bar of the window shows the nickname without the digits.&lt;/p&gt;
&lt;p&gt;The monitor finds each program from a disk on a page that the root service writes, by the place of the program in the kernel. A program from a disk cannot start a child, so no child of it can take the name of another program in the monitor.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/disk_process_windows.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;A program from a disk shows which file runs under its name&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The grants of the machine survive a restart under a machine passphrase</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-the-machine-passphrase.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-the-machine-passphrase"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>The machine can now have a passphrase.</summary>
<content type="html">&lt;p&gt;The machine can now have a passphrase. In the console, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-machine-passphrase&quot;&gt;&lt;code&gt;machine_passphrase()&lt;/code&gt;&lt;/a&gt; opens the window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/unlock/&quot;&gt;&lt;code&gt;unlock&lt;/code&gt;&lt;/a&gt;, which asks for it two times. The passphrase is never a line of the console.&lt;/p&gt;
&lt;p&gt;With a machine passphrase, the grants that the console gives to a disk program are kept on the disk, in a table signed by the machine key. At the next start, the window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/unlock/&quot;&gt;&lt;code&gt;unlock&lt;/code&gt;&lt;/a&gt; asks for the passphrase, and the grants come back. Until it is typed, the machine runs, and its disk programs start with no grant.&lt;/p&gt;
&lt;p&gt;A table that another key signed is refused, with a line of the log, and gives no grant. So a reader of the disk who has no passphrase cannot give a program a store. With no machine passphrase, nothing is typed, and the grants last until the machine stops, as before.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The TPM releases the machine key to the measured system only</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-the-machine-key-sealed-by-the-tpm.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-the-machine-key-sealed-by-the-tpm"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>A machine with no machine passphrase and with Secure Boot on can now keep its disk grants across a restart.</summary>
<content type="html">&lt;p&gt;A machine with no machine passphrase and with Secure Boot on can now keep its disk grants across a restart. &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-machine-seal&quot;&gt;&lt;code&gt;machine_seal()&lt;/code&gt;&lt;/a&gt; in the console makes a machine key, and the new TPM service seals it to PCR 7 and PCR 11: the state of Secure Boot and the measure of the system description. At each start of the same system, the TPM gives the key back and nothing is typed. An older or a changed system, or a copy of the disk on another machine, gets nothing from the TPM. Before each unseal the TPM proves that it made the sealed object under those PCR values, so a record that another system wrote is refused.&lt;/p&gt;
&lt;p&gt;The window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/unlock/&quot;&gt;&lt;code&gt;unlock&lt;/code&gt;&lt;/a&gt; shows a recovery key one time, as 32 characters in groups of 4. When the TPM refuses, for example after an update of the system, that key opens the machine key, and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/unlock/&quot;&gt;&lt;code&gt;unlock&lt;/code&gt;&lt;/a&gt; seals it again to the system that runs. The TPM service is a program: it builds each command of the TPM itself, and its one client cannot send it a raw command.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The IOMMU of AMD holds a device in the memory of its service</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-the-iommu-of-amd.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-the-iommu-of-amd"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>The kernel programs the IOMMU of AMD when the firmware lists one, as it programs the IOMMU of Intel.</summary>
<content type="html">&lt;p&gt;The kernel programs the IOMMU of AMD when the firmware lists one, as it programs the IOMMU of Intel. One boot image runs on both. A device reads and writes only the pages that its service declared, and sends only the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/devices/#term-message-interrupt&quot; title=&quot;A message interrupt is an interrupt that a device sends as a write of a value to an address of the interrupt controller of a processor (MSI-X).&quot;&gt;message interrupts&lt;/a&gt; that its service was given. A device with no service reaches no memory and sends no interrupt. A refused access is one line on the log with the device, the address and a count, and no program stops. The test machine with the IOMMU of AMD starts the whole system with translation and &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/devices/#term-interrupt-remapping&quot; title=&quot;Interrupt remapping is the check by the IOMMU of each message interrupt of a device against an interrupt table that the kernel writes, so a device sends only the message interrupts that its service was given.&quot;&gt;interrupt remapping&lt;/a&gt; on. A test device service then gets its message interrupt through the interrupt table of its device, and reads a block into a page that it no longer declares: the page keeps its bytes, and the line of the fault names the device. The emulated unit records no refused interrupt, so the refusal of a forged interrupt is tested on the IOMMU of Intel only.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The IOMMU takes the form of a real machine</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-the-iommu-of-a-real-machine.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-the-iommu-of-a-real-machine"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>A machine of Intel has more than one remapping unit, devices behind bridges, and memory that the firmware keeps for a device.</summary>
<content type="html">&lt;p&gt;A machine of Intel has more than one &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/devices/#term-remapping-unit&quot; title=&quot;A remapping unit is one part of the IOMMU, with its own registers and tables, that translates the accesses of the devices that the table DMAR or IVRS gives it.&quot;&gt;remapping unit&lt;/a&gt;, devices behind bridges, and memory that the firmware keeps for a device. The kernel now programs up to 4 units, and gives each device the unit that the firmware names for it. A device behind a bridge of PCI Express has its own domain. A device behind an older bridge of PCI gets none, and the log says why: every device behind such a bridge has the same name for the IOMMU. The memory that the firmware keeps for a device stays mapped for that device, and no program gets it. On a machine with the IOMMU, the memory of an endpoint of the network no longer needs 512 KiB in one run: the device sees its pages in one run through the IOMMU. The test machine with the IOMMU puts its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/devices/#term-disk-of-the-measures&quot; title=&quot;The disk of the measures is a disk that holds no data that a process keeps: the process disk measures the block service on it.&quot;&gt;disk of the measures&lt;/a&gt; behind a bridge, and the device of that disk still reaches only the memory of its service.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The hash of a disk program in the table of the programs</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-the-hash-of-a-disk-program-in-a-table.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-the-hash-of-a-disk-program-in-a-table"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>The table of the programs that run has a new column, hash.</summary>
<content type="html">&lt;p&gt;The table of the programs that run has a new column, &lt;code&gt;hash&lt;/code&gt;. For a program that the root service started from a disk, it holds the whole hash of the file that the root service checked: 64 hexadecimal digits. For each program of the system, it is empty.&lt;/p&gt;
&lt;p&gt;The window of the monitor shows the first 16 digits under the nickname. The console and the host now read all 64 digits from the same source: &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-columns&quot;&gt;&lt;code&gt;columns(where(programs(), &amp;quot;name&amp;quot;, &amp;quot;visitor&amp;quot;), &amp;quot;name hash&amp;quot;)&lt;/code&gt;&lt;/a&gt;. A reader can compare that hash with the hash of a file, or join the table with the modules that run.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The fault of an outside module names its procedures and its lines</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-the-fault-of-an-outside-module-has-names.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-the-fault-of-an-outside-module-has-names"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>A module built outside the repository runs on a machine from its data disk.</summary>
<content type="html">&lt;p&gt;A module built outside the repository runs on a machine from its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/devices/#term-data-disk&quot; title=&quot;The data disk is the disk of the storage service: it holds the private stores of each process.&quot;&gt;data disk&lt;/a&gt;. When it stops on a fault, the root service now keeps its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-stop-report&quot; title=&quot;A stop report is the record that the kernel keeps of a process that stopped on a fault (op.Stop_Report): the stop cause, the vector, the instruction, the address, the module record of the module that ran, and the stack trace.&quot;&gt;stop report&lt;/a&gt;: before, the report left the machine with the program.&lt;/p&gt;
&lt;p&gt;Type &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-stop-report&quot;&gt;&lt;code&gt;stop_report(&amp;quot;outsider_fault&amp;quot;)&lt;/code&gt;&lt;/a&gt; in the console. No attach is needed. The debugger reads the debug object of the module from the disk, and gives one row for each frame of the stack: the procedure, the source file by the name of the folder of the developer, and the line.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;outsider_fault  visitor::fault_three  outsider/main.odin   169&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The report holds only the frames that a module of the program holds, so no word of the memory of the program leaves it. The caller must act for the principal of the program.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The window of the debugger takes a typed place and a click</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-the-debugger-window-takes-a-place.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-the-debugger-window-takes-a-place"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>The window of the debugger now does each act of the debugger without the console.</summary>
<content type="html">&lt;p&gt;The window of the debugger now does each act of the debugger without the console.&lt;/p&gt;
&lt;p&gt;A developer types a place in one field: a procedure, a file and a line, an address or a global. Three buttons put a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-breakpoint&quot; title=&quot;A breakpoint is one of the four places where a thread stops with a fault of the kind Debug: an instruction that it reaches, or bytes that it writes or reads.&quot;&gt;breakpoint&lt;/a&gt; there, a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-watch&quot; title=&quot;A watch is a data breakpoint that the debugger service sets on 1, 2, 4 or 8 bytes of the debugged process: a thread that writes one of them stops after the instruction of the write.&quot;&gt;watch&lt;/a&gt; on its bytes, or show 128 bytes of the memory of the program from it. The memory card shows each row as an address, 16 bytes and their characters, and the window reads it again each half second.&lt;/p&gt;
&lt;p&gt;A click on a row does what a key does: it chooses a thread or a frame, puts a breakpoint at a source line, or removes a breakpoint.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The debugger names the procedures of an outside module</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-the-debugger-names-an-outside-module.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-the-debugger-names-an-outside-module"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>A module built outside the repository runs on a machine from its data disk, with no new boot image.</summary>
<content type="html">&lt;p&gt;A module built outside the repository runs on a machine from its data disk, with no new boot image. Its debug object now goes beside it on the disk, under the hash of the module, and the module file keeps its hash.&lt;/p&gt;
&lt;p&gt;When the debugger attaches to such a program, it reads that debug object through the storage service, with a connection that reads only and that ends after the read. It uses the object only when the object names the hash of the module that runs.&lt;/p&gt;
&lt;p&gt;The stack of the program then shows its procedures, its source files by the name of the folder of the developer, and its lines: &lt;code&gt;entry      outsider/main.odin    81&lt;/code&gt;.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Text is UTF-8 in every contract</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-text-is-utf-8-in-every-contract.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-text-is-utf-8-in-every-contract"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Decided"/>
<summary>Each text that two programs share is now UTF-8: an entry of the palette, a result, a record of the terminal, a line of the log, the name of an object of a store.</summary>
<content type="html">&lt;p&gt;Each text that two programs share is now UTF-8: an entry of the palette, a result, a record of the terminal, a line of the log, the name of an object of a store. Before, each of these contracts took the bytes 32 to 126 only.&lt;/p&gt;
&lt;p&gt;One rule checks each text at its border. It refuses an overlong form, a surrogate, a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-code-point&quot; title=&quot;A code point is the number of one character of Unicode, from 0 to 0x10FFFF.&quot;&gt;code point&lt;/a&gt; above U+10FFFF, a broken sequence and a control character. The kernel applies it to each line of the log, so no program can write an escape sequence to the serial port.&lt;/p&gt;
&lt;p&gt;In the console, &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-l&quot;&gt;&amp;quot;caf&amp;quot;&lt;/span&gt; &lt;span class=&quot;c-p&quot;&gt;+&lt;/span&gt; &lt;a class=&quot;declaration-link&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/library/modus/graphics/text.odin#L277&quot;&gt;character&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;233&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; gives café, and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-length&quot;&gt;&lt;code&gt;length(character(233))&lt;/code&gt;&lt;/a&gt; gives 2. The fonts have no glyph for é yet: the terminal draws a box in its cell, one cell for one character, never a raw byte.&lt;/p&gt;
&lt;p&gt;The names of modules, exports, settings and programs stay ASCII: each keyboard types them, and each has one form only.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The terminal and the compositor use the shared drawing code</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-terminal-and-compositor-share-the-drawing-code.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-terminal-and-compositor-share-the-drawing-code"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>The terminal and the compositor now draw with the drawing module, as 32 other programs did before.</summary>
<content type="html">&lt;p&gt;The terminal and the compositor now draw with the drawing module, as 32 other programs did before. The system holds one copy of that code for 34 programs, and one correction reaches each of them, the screen of the desktop too.&lt;/p&gt;
&lt;p&gt;The text of a terminal is a grid of up to 104 by 32 cells. Its cells now travel with the texts of the frame, so the module compares and draws them with no new argument. A frame of the terminal crosses into the module at most 9 times, whatever the count of colors in its lines.&lt;/p&gt;
&lt;p&gt;Each window on the desktop shows the memory of another program. The compositor now draws each window with a call of its own. With 17 windows, a frame of 8 changed rectangles makes at most 144 calls: about 0.35 microseconds, against about 1.3 milliseconds for the whole screen.&lt;/p&gt;
&lt;p&gt;The screen shows the same pixels as before.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The programs that show a picture use the shared drawing code</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-programs-that-show-a-picture.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-programs-that-show-a-picture"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>The programs heron, life, paint, plasma and temple, and the three programs that compute a picture with several threads, now draw their windows with the drawing module, as 24 other programs did before.</summary>
<content type="html">&lt;p&gt;The programs heron, life, paint, plasma and temple, and the three programs that compute a picture with several threads, now draw their windows with the drawing module, as 24 other programs did before. The system then holds one copy of that code for 32 programs, and one correction reaches each of them.&lt;/p&gt;
&lt;p&gt;A picture of a program used to be named by an address, which an export of a module cannot carry. It is now named by values: the place of its first pixel in one run of pixels of the program, and the pixels from one line to the next. The module reads those pixels where the program has them, with no copy.&lt;/p&gt;
&lt;p&gt;The screen shows the same pixels as before. The terminal and the compositor still hold their own copy of the drawing code.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The keyboard of France types é</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-keys-that-type-characters-outside-ascii.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-keys-that-type-characters-outside-ascii"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>With the setting keyboard_layout on french, the key of 2 types é, and the other keys of the row of the digits type è, ç and à.</summary>
<content type="html">&lt;p&gt;With the setting &lt;code&gt;keyboard_layout&lt;/code&gt; on &lt;code&gt;french&lt;/code&gt;, the key of 2 types é, and the other keys of the row of the digits type è, ç and à. The key right of P is a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-dead-key&quot; title=&quot;A dead key is a key of a layout of the keyboard that gives no character itself, and puts its accent on the character of the next key.&quot;&gt;dead key&lt;/a&gt;: &lt;code&gt;^&lt;/code&gt; then &lt;code&gt;e&lt;/code&gt; types ê, and with Shift it gives the diaeresis of ë, ï and ü. The console keeps the line in UTF-8, and Left, Right and Backspace move over or remove a whole character. Each font of the system draws the 96 characters of the Latin-1 Supplement, so é shows as a letter and not as a box. A passphrase can hold them too.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/keys_french.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The keyboard of France types é&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A device sends only the interrupts that its service was given</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-interrupt-remapping.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-interrupt-remapping"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>A message interrupt is a write of 4 bytes to the interrupt addresses, and a device can make that write as any other.</summary>
<content type="html">&lt;p&gt;A message interrupt is a write of 4 bytes to the interrupt addresses, and a device can make that write as any other. Before, a device service could give those addresses to its device as a buffer, and make it send any interrupt of the machine. The kernel now turns interrupt remapping on in the IOMMU of Intel. Each message interrupt that the kernel makes has an entry that names its device, and the IOMMU refuses the message to every other device. A refused interrupt writes one line on the log with the device, the entry and the reason, and nothing stops. The test machine with the IOMMU runs the whole system with remapping on. A test device service reads a block into the interrupt addresses, and the log shows that the IOMMU refused its messages. The IOMMU of AMD is not built yet.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The temple of Jon is now a Hall of fame</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-hall-of-fame.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-hall-of-fame"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>The program hall_of_fame shows the people whose work inspired modus: the language that it is written in, the emulator that runs its tests, the immediate-mode interface, game engines, browser engines, and streams that build programs from scratch.</summary>
<content type="html">&lt;p&gt;The program hall_of_fame shows the people whose work inspired modus: the language that it is written in, the emulator that runs its tests, the immediate-mode interface, game engines, browser engines, and streams that build programs from scratch. It replaces the temple of Jon, which showed one turning portrait.&lt;/p&gt;
&lt;p&gt;Each person has a card with the name and one line on what they made. Five cards have a portrait, with the author and the license of the picture under it. A person with no picture under a free license has a card with no picture: the system invents no face.&lt;/p&gt;
&lt;p&gt;The arrows, Home, End and the pointer choose a card. The view moves by whole rows, so no card and no text is cut at its edge. The page of the licenses of the site lists each portrait with its source.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/hall_of_fame.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The hall of fame: the people whose work inspired modus, each on a card with a portrait and its credit, or with no picture&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The disk grants of a named principal survive a restart</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-grants-of-a-named-principal-persist.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-grants-of-a-named-principal-persist"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>A named principal now gives a grant to a program from a disk in its own session.</summary>
<content type="html">&lt;p&gt;A named principal now gives a grant to a program from a disk in its own session. A console that the desktop starts during the session of alice acts for alice: &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-allow&quot;&gt;&lt;code&gt;allow(&amp;quot;visitor&amp;quot;, &amp;quot;store&amp;quot;)&lt;/code&gt;&lt;/a&gt; gives the nickname &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/visitor/&quot;&gt;&lt;code&gt;visitor&lt;/code&gt;&lt;/a&gt; a store of its own for alice.&lt;/p&gt;
&lt;p&gt;The grant lasts across a restart of the machine. The table of alice is on the disk, in her store of module files, with a tag under a key that only her passphrase opens. When alice unlocks her session again, the root service reads the table, and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/visitor/&quot;&gt;&lt;code&gt;visitor&lt;/code&gt;&lt;/a&gt; starts with its store and finds its data.&lt;/p&gt;
&lt;p&gt;A table that another key signed gives no grant. A reader of the disk with no passphrase cannot add a grant to alice.&lt;/p&gt;
</content>
</entry>
<entry>
<title>An export takes more than six parameters</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-an-export-takes-more-than-six-parameters.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-an-export-takes-more-than-six-parameters"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Decided"/>
<summary>An export of a module takes up to 12 arguments: its parameters, the buffer of its result and its error record.</summary>
<content type="html">&lt;p&gt;An export of a module takes up to 12 arguments: its parameters, the buffer of its result and its error record. The first six go in the registers of the processor, the others on the stack, as the C convention of the machine passes them, so each language that writes a C function writes an export.&lt;/p&gt;
&lt;p&gt;The limit was six arguments, one for each register. It made a module take some of its work in pieces: the drawing module draws one &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-damage-rectangle&quot; title=&quot;A damage rectangle is a rectangle of the screen or of a surface that changed and that the next frame draws again.&quot;&gt;damage rectangle&lt;/a&gt; in each call. The description of a module states each parameter of each export, at each count, so the console, a call from another machine and the manual call and show such an export.&lt;/p&gt;
&lt;p&gt;The module format is version 2. A module of an earlier release does not load.&lt;/p&gt;
</content>
</entry>
<entry>
<title>An export states the unit of a number</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-an-export-states-the-unit-of-a-number.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-an-export-states-the-unit-of-a-number"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>An export of a module now says what its number counts.</summary>
<content type="html">&lt;p&gt;An export of a module now says what its number counts. Type &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-load&quot;&gt;&lt;code&gt;load(&amp;quot;cryptography&amp;quot;)&lt;/code&gt;&lt;/a&gt; in the console, then &lt;code&gt;&amp;gt;hkdf_sha256_expand&lt;/code&gt; and Enter in the palette: the field of the length shows &lt;code&gt;bytes&lt;/code&gt; after the number, as the field of &lt;code&gt;buffer&lt;/code&gt; shows &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/pages/&quot;&gt;&lt;code&gt;pages&lt;/code&gt;&lt;/a&gt;. The exports &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/debugger/#export-memory&quot; data-declaration-card=&quot;declaration-22976&quot; aria-describedby=&quot;declaration-22976-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;debugger.memory&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/debugger/#export-watch&quot; data-declaration-card=&quot;declaration-22965&quot; aria-describedby=&quot;declaration-22965-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;debugger.watch&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/debugger/#export-wait-stop&quot; data-declaration-card=&quot;declaration-22979&quot; aria-describedby=&quot;declaration-22979-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;debugger.wait_stop&lt;/code&gt;&lt;/a&gt; and &lt;code&gt;storage.set_size&lt;/code&gt; state their units too.&lt;/p&gt;
&lt;p&gt;The unit is in the description of the export, so the palette needs no code for one program. The unit is also part of the meaning of the export. A &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-replacement&quot; title=&quot;A replacement is a record {hash, hash} that the starter of a process gives to the loader: where a module imports the first module, the loader loads the second one.&quot;&gt;replacement&lt;/a&gt; whose export takes bytes where the import took pages fails the check of the loader, and the sentence names both units. A program that declares the import with another unit does not build.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A Subscribe menu on the releases and the news</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-a-subscribe-menu-on-the-site.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-a-subscribe-menu-on-the-site"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>The pages Releases and News of the site now have a button &quot;Subscribe&quot; under their heading.</summary>
<content type="html">&lt;p&gt;The pages Releases and News of the site now have a button &amp;quot;Subscribe&amp;quot; under their heading. It opens a small menu with two links: the Atom &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-feed&quot; title=&quot;A feed is a file of the site in the Atom format (RFC 4287), for a program that follows a site: news.xml has the news entries and releases.xml the releases, newest first.&quot;&gt;feed&lt;/a&gt; of the page, and the releases of the repository on GitHub, where the button &amp;quot;Watch&amp;quot; sends a notification at each release.&lt;/p&gt;
&lt;p&gt;The menu opens and closes with no script, with the pointer or with Enter. With the script, Escape or a click outside closes it. The menu is as wide as its longest line, so no label is cut.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The network device reads the data of a send where the program wrote it</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-a-send-with-no-copy.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-a-send-with-no-copy"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>A program writes a datagram or a TCP segment in its own datagram region.</summary>
<content type="html">&lt;p&gt;A program writes a datagram or a TCP &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/network/#term-segment&quot; title=&quot;A segment is one TCP segment: its header, its options and its data, 1480 bytes at most, what a process sends and receives through a segment endpoint.&quot;&gt;segment&lt;/a&gt; in its own &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/network/#term-datagram-region&quot; title=&quot;The datagram region is the memory of an endpoint, 512 KiB, where the process writes the data to send and the network service writes the data that arrives.&quot;&gt;datagram region&lt;/a&gt;. The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/devices/#term-network-device&quot; title=&quot;A network device is a device that sends and receives frames on a link.&quot;&gt;network device&lt;/a&gt; now reads the data from there.&lt;/p&gt;
&lt;p&gt;The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/network/#term-network-service&quot; title=&quot;The network service is the one client of the frame service: it gives each process with a network grant one endpoint, and it checks each datagram and segment against that grant.&quot;&gt;network service&lt;/a&gt; copies only the first 8 bytes of the header, to check the ports against the grant of the program. It writes the headers of IPv4 and Ethernet before them. It reads no byte of the data.&lt;/p&gt;
&lt;p&gt;The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/devices/#term-frame-service&quot; title=&quot;A frame service is the device service of one network device: it sends and receives frames for one client through a frame ring, and it does not read a frame.&quot;&gt;frame service&lt;/a&gt; holds each datagram region with the right Read only. On a machine with the IOMMU, the device can read the region and cannot write it.&lt;/p&gt;
&lt;p&gt;A program gets the completion of its send when the device has read the datagram. It writes the same place again only after that.&lt;/p&gt;
&lt;p&gt;When a program stops, the log of the network service gives the bytes of the data that it read on send: 0.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A release publishes a disk image for a USB key</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-a-release-publishes-a-disk-image.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-a-release-publishes-a-disk-image"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Decided"/>
<summary>Each release can now publish the system as one file: a disk image that dd writes to a USB key.</summary>
<content type="html">&lt;p&gt;Each release can now publish the system as one file: a disk image that &lt;code&gt;dd&lt;/code&gt; writes to a USB key. The image is a GPT disk whose one partition holds the boot program of the system, signed for Secure Boot.&lt;/p&gt;
&lt;p&gt;Beside it are &lt;code&gt;SHA256SUMS.txt&lt;/code&gt; and its signature by the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/trusted-boot/#term-release-signing-key&quot; title=&quot;The release signing key is the Ed25519 key pair of the publisher of the system whose private key signs the checksum list of the files of a release.&quot;&gt;release signing key&lt;/a&gt; of the publisher. &lt;code&gt;modustool verify&lt;/code&gt; checks both, and OpenSSL and &lt;code&gt;sha256sum&lt;/code&gt; do the same check with no tool.&lt;/p&gt;
&lt;p&gt;A published image is never a test image. The release command refuses the test keys, whose private keys are in the repository, and every boot image of a test.&lt;/p&gt;
&lt;p&gt;With Secure Boot on, the firmware starts the image after a principal enrolled the certificate of the publisher, which the site publishes. The guide says how, and what a start with Secure Boot off loses: the seal of the machine key by the TPM.&lt;/p&gt;
&lt;p&gt;The first image comes with the first release that the keys of the publisher sign.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A release gives its time</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-a-release-gives-its-time.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-a-release-gives-its-time"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>Each release on the page of the releases now gives its time, to the minute, in UTC: 2026-11-15 18:48 UTC.</summary>
<content type="html">&lt;p&gt;Each release on the page of the releases now gives its time, to the minute, in UTC: &lt;code&gt;2026-11-15 18:48 UTC&lt;/code&gt;. Several releases can come out on one day, and the time keeps them in order. The feed of the releases gives the same time, so a feed reader shows when a release came out, not midnight.&lt;/p&gt;
&lt;p&gt;A release is now also a signed git tag, &lt;code&gt;v&lt;/code&gt; and its number, on the commit of the release. The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-changelog&quot; title=&quot;The changelog is the file CHANGELOG.md: the releases of the system, newest first, each with the changes that a reader of the system notices.&quot;&gt;changelog&lt;/a&gt; links each release to its tag. One command makes the release, the commit and the tag, and sends the commit and the tag together, or neither.&lt;/p&gt;
&lt;p&gt;Some old releases were written together, after the fact, and no record holds their time. They keep their day alone.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A module replacement needs a signature</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-a-module-replacement-needs-a-signature.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-a-module-replacement-needs-a-signature"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>A replacement gives one module in place of another to every program that imports it.</summary>
<content type="html">&lt;p&gt;A replacement gives one module in place of another to every program that imports it. The drawing module is imported by the compositor, which holds every window and every key, and by the terminal. So a replacement now needs the consent of the key that signs the system.&lt;/p&gt;
&lt;p&gt;The boot image holds a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-replacement-list&quot; title=&quot;The replacement list is the resource replacement_list of the boot image: the replacement rows that the tool signed when it wrote the boot image.&quot;&gt;replacement list&lt;/a&gt;: each row names the two modules and the programs that it reaches, and the key signs the three together. The console still types &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-replace&quot;&gt;&lt;code&gt;replace(&amp;quot;calendar&amp;quot;, &amp;quot;calendar_fixed&amp;quot;)&lt;/code&gt;&lt;/a&gt;, and the root service accepts it because a signed row names that pair.&lt;/p&gt;
&lt;p&gt;Type &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-replace&quot;&gt;&lt;code&gt;replace(&amp;quot;calendar&amp;quot;, &amp;quot;math&amp;quot;)&lt;/code&gt;&lt;/a&gt;: the console says &amp;quot;error: the root service refused the replacement of calendar by math: no signed row names it&amp;quot;, and the log has the same reason. A row that another key signed is refused too. In both cases &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/calendar/&quot;&gt;&lt;code&gt;calendar&lt;/code&gt;&lt;/a&gt; stays in place, with its fault.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A program runs a guest</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-a-guest.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-a-guest"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>A program can now run another system on the processor, in a guest, with the virtualization support of AMD processors.</summary>
<content type="html">&lt;p&gt;A program can now run another system on the processor, in a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-guest&quot; title=&quot;A guest is a machine that a process of the system runs on the processor, with the virtualization support of the processor, and with its own kernel and its own processes.&quot;&gt;guest&lt;/a&gt;, with the virtualization support of AMD processors.&lt;/p&gt;
&lt;p&gt;A guest is a program that no thread runs: the memory that its holder maps in it is the memory of the guest. The holder runs the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-guest-processor&quot; title=&quot;A guest processor is the processor of a guest, as the kernel keeps it between two runs: its registers, its segments, its control registers and its extended state.&quot;&gt;guest processor&lt;/a&gt; with one new kernel operation, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/operations/#operation-guest-run&quot;&gt;&lt;code&gt;Guest_Run&lt;/code&gt;&lt;/a&gt;. Each time the guest does what it may not do alone, such as a write to a port, the operation ends, and its result says what the guest did. The holder answers, then runs the guest again.&lt;/p&gt;
&lt;p&gt;The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/guest_demo/&quot;&gt;&lt;code&gt;guest_demo&lt;/code&gt;&lt;/a&gt; shows it. Its guest is seven bytes of 16-bit code: it writes 42 to the port 0x80, then halts. The log says &amp;quot;guest_demo: the guest wrote 42 to the port 0x80, then halted after it&amp;quot;. The kernel has 34 operations now.&lt;/p&gt;
&lt;p&gt;Linux in a guest is the work that comes after this one.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A program from the disk imports a library from the same store</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-a-disk-program-imports-a-module-of-the-store.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-a-disk-program-imports-a-module-of-the-store"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>A program and its library modules can now reach a machine that runs, with no new boot image.</summary>
<content type="html">&lt;p&gt;A program and its library modules can now reach a machine that runs, with no new boot image. Put both files in the store of the programs, under any names. &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-start-from-disk&quot;&gt;&lt;code&gt;start_from_disk(&amp;quot;store_importer&amp;quot;, hash)&lt;/code&gt;&lt;/a&gt; then starts the program with its library.&lt;/p&gt;
&lt;p&gt;The import of the program names the hash of the library, not a name. The root service reads each file of the store, computes the hash of its bytes, and gives the loader the file whose hash the import names. The imports of that library are found the same way.&lt;/p&gt;
&lt;p&gt;A file with other bytes under the name of the library does not run: the start is refused, and the log names the hash that no file has.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A program comes over the network to a machine that runs</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-15-a-disk-program-from-the-network.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-15-a-disk-program-from-the-network"/>
<published>2026-11-15T00:00:00Z</published>
<updated>2026-11-15T00:00:00Z</updated>
<category term="Shown"/>
<summary>A module file can now reach a machine that runs, with no new disk.</summary>
<content type="html">&lt;p&gt;A module file can now reach a machine that runs, with no new disk. In the console, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-connect&quot;&gt;&lt;code&gt;connect(&amp;quot;programs&amp;quot;)&lt;/code&gt;&lt;/a&gt; opens the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-module-file-service&quot; title=&quot;The module file service is the module module_files: it stores a module file that a web server gives in the store module_files of its principal, and lists the files of that store with the hash of their bytes.&quot;&gt;module file service&lt;/a&gt;. &lt;code&gt;programs.receive(&amp;quot;visitor&amp;quot;, &amp;quot;/visitor&amp;quot;)&lt;/code&gt; fetches the file from a web server, stores it in the store of the programs, and gives the hash of its bytes. &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-start-from-disk&quot;&gt;&lt;code&gt;start_from_disk(&amp;quot;visitor&amp;quot;, hash)&lt;/code&gt;&lt;/a&gt; then starts it.&lt;/p&gt;
&lt;p&gt;&lt;code class=&quot;code-inline&quot;&gt;programs&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;list&lt;span class=&quot;c-p&quot;&gt;()&lt;/span&gt;&lt;/code&gt; shows each file of that store with the hash of its bytes, which the service reads again.&lt;/p&gt;
&lt;p&gt;The service only carries the bytes. The root service checks them against the hash at each start, so a file with other bytes never runs under that hash. The service writes only the store of the programs, and only for a caller that acts for the principal.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The scroll bar takes the pointer</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-the-scroll-bar.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-the-scroll-bar"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Shown"/>
<summary>A scroll bar of the system was a flat rectangle that showed a place.</summary>
<content type="html">&lt;p&gt;A scroll bar of the system was a flat rectangle that showed a place. It is now a control. It has an &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-arrow-button&quot; title=&quot;An arrow button is the square at each end of a scroll bar, with a triangle that points to that end: a press on it moves the view by one line.&quot;&gt;arrow button&lt;/a&gt; at each end, a track, and a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-thumb&quot; title=&quot;The thumb is the part of a scroll bar that lies on its track and stands for the view: its length is the share of the content that the view shows, and its place is the place of the view.&quot;&gt;thumb&lt;/a&gt; with a border, a gradient across it and a grip of four lines. With the pointer over it, the bar takes blue tones. A press on an arrow button moves the view by one line, and again while the button is held. A press on the track moves the view by one page. The thumb follows the pointer while it is held. The window of a terminal and the window of the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/manual/&quot;&gt;&lt;code&gt;manual&lt;/code&gt;&lt;/a&gt; have this scroll bar; the lists and the palette show it. Every scroll bar is one element of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-interface-package&quot; title=&quot;The interface package is src/library/modus/interface: the code that builds the window of a process as a draw table at each frame, lays it out with the spacing tokens, takes the pointer and the keys, finds the damage, and draws.&quot;&gt;interface package&lt;/a&gt;, 17 pixels thick. The scroll bars of the site are written from the same table of sizes and colors, in the dark and in the light form.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/scroll_bar.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The scroll bar takes the pointer&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The site shows the planned work</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-the-roadmap.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-the-roadmap"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Shown"/>
<summary>The site has a new page, Roadmap, beside the page Releases.</summary>
<content type="html">&lt;p&gt;The site has a new page, &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-roadmap&quot; title=&quot;The roadmap is the file ROADMAP.md: the planned work of the system, in three sections, Now, Next and Later, then an optional section Maybe.&quot;&gt;Roadmap&lt;/a&gt;, beside the page Releases. The page Releases lists the work that is done. The page Roadmap lists the work that is planned. It has three parts. Now is the work that is in progress. Next is the work that is decided and comes after. Later is the work that is wanted and has no order. Each entry is a card with a short summary and one or two sentences that say what the work gives a user of the system. An entry gives no date. When a work is done, its entry leaves the page, and the work is a change of a release. The search of the site finds each entry by its summary. The page is made from one file of the repository, &lt;a href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/ROADMAP.md&quot;&gt;&lt;code&gt;ROADMAP.md&lt;/code&gt;&lt;/a&gt;, which a reader understands with no tool.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A program of the system plays the animations of the heron</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-the-program-heron.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-the-program-heron"/>
<link rel="enclosure" type="video/webm" href="https://modus.systems/films/heron.webm" length="360649"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Shown"/>
<summary>The system has a program named heron.</summary>
<content type="html">&lt;p&gt;The system has a program named &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/heron/&quot;&gt;&lt;code&gt;heron&lt;/code&gt;&lt;/a&gt;. Its window shows the heron of the mark, drawn large from its square cells, in its water. The heron plays its fifteen animations by the rule of the home of the site: each one once in a round, in an order that chance gives, and it is still for about 40 percent of the time. In the dash the heron runs out of the window by the right and comes back by the left. A squash or a stretch is one of the drawn forms of the heron, in whole square cells, the same drawings as on the site, and the heron travels by whole cells. The key &lt;code&gt;g&lt;/code&gt; draws the same moves in a free way, where the frame is stretched and its cells become rectangles, so a reader can compare the two. The keys &lt;code&gt;1&lt;/code&gt; to &lt;code&gt;9&lt;/code&gt; and &lt;code&gt;a&lt;/code&gt; to &lt;code&gt;f&lt;/code&gt; play one animation at once. Space pauses, and the dot shows the next frame. The key &lt;code&gt;l&lt;/code&gt; shows the lines between the cells and a white outline around each cell that a frame changes: an animation changes a few cells. The picture shows the dash held at its third frame, in the form of the run. The window draws again only the part that changed, and the log gives the time and the damage of a picture as measures.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/heron.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The process heron: the heron of the mark held at a frame of its dash, in the form of the run, in whole square cells, with the lines of the cells and the cells that the frame changed&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://modus.systems/films/heron.webm&quot;&gt;Film&lt;/a&gt; (WebM with AV1, 0.3 MiB)&lt;/p&gt;</content>
</entry>
<entry>
<title>The palette sets the scheduling strategy</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-the-palette-sets-the-strategy.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-the-palette-sets-the-strategy"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Shown"/>
<summary>The palette now reaches the scheduling strategy of the machine.</summary>
<content type="html">&lt;p&gt;The palette now reaches the scheduling &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-strategy&quot; title=&quot;A strategy is the rule that orders the ready threads of each run queue: six procedures of the kernel over fixed fields of the thread and of the run queue.&quot;&gt;strategy&lt;/a&gt; of the machine. Type &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-p&quot;&gt;:&lt;/span&gt;strat&lt;/code&gt; and the list shows one entry for each strategy of the kernel: round robin, fair and EEVDF. The one that the machine uses now says &lt;code class=&quot;code-inline&quot;&gt;setting&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;c-k&quot;&gt;in&lt;/span&gt; use&lt;/code&gt;. Enter sets the chosen one, and the machine changes its strategy with no stop. The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/scheduler/&quot;&gt;&lt;code&gt;scheduler&lt;/code&gt;&lt;/a&gt; does the change, because it is the one program with that right; it must run. The console has the same act as a command, &lt;code class=&quot;code-inline&quot;&gt;strategy&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;&amp;quot;eevdf&amp;quot;&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The pointer does more in the panel. A press in a field of the form of a command puts the caret there, and a press on a candidate takes it. The scroll bar of the list moves the rows: the arrow buttons, the track and the thumb work as in a terminal. The completion list of the console has the same scroll bar.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/palette_strategy.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The palette sets the scheduling strategy&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The palette shows a setting as one row, and goes to the window of a setting</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-the-palette-builds-its-form.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-the-palette-builds-its-form"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Shown"/>
<summary>Type :font in the palette, and the font is one row: its name, then one button for each value, with a line under the font in use.</summary>
<content type="html">&lt;p&gt;Type &lt;code class=&quot;code-inline&quot;&gt;&lt;span class=&quot;c-p&quot;&gt;:&lt;/span&gt;font&lt;/code&gt; in the palette, and the font is one row: its name, then one button for each value, with a line under the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-font-in-use&quot; title=&quot;The font in use is the font that actually draws a text of a draw table: the interface font when the table can draw it, else the font of the cells.&quot;&gt;font in use&lt;/a&gt;. Right chooses the next value, and Enter sets it behind the open panel. The scheduling strategy is one row of three buttons too.&lt;/p&gt;
&lt;p&gt;The input band now says what the chosen entry does: &lt;code class=&quot;code-inline&quot;&gt;enter&lt;span class=&quot;c-p&quot;&gt;:&lt;/span&gt; run&lt;/code&gt;, or &lt;code&gt;enter enter: destroy&lt;/code&gt; for an entry that asks for a second Enter. When a window of the desktop acts on the same setting, it adds &lt;code&gt;shift enter: go to&lt;/code&gt;. Shift and Enter bring the window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/settings/&quot;&gt;&lt;code&gt;settings&lt;/code&gt;&lt;/a&gt; to the front, with the focus on the button of that setting. A program names its buttons for this in one call, and the palette finds them.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/palette_setting_row.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The palette shows a setting as one row, and goes to the window of a setting&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A device reaches only the memory of its service</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-the-iommu.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-the-iommu"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Shown"/>
<summary>The kernel programs the IOMMU of Intel when the firmware lists one.</summary>
<content type="html">&lt;p&gt;The kernel programs the IOMMU of Intel when the firmware lists one. A device then reads and writes only the pages that its device service declared, at the moment it asked the kernel for their &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/devices/#term-physical-address&quot; title=&quot;A physical address is the number that the memory and the devices use for a byte of memory, before the page tables translate anything.&quot;&gt;physical address&lt;/a&gt;. A device service with a fault can no longer make its device write the memory of another program. An access to another page is refused: the kernel writes one line on the log with the device, the address and the count of such faults, and no program stops. The test machine with the IOMMU starts the whole system with translation on. Then a test device service reads a block of the disk into a page that it did not declare: the page keeps its bytes, the line of the fault comes, and the service still answers. A machine with no IOMMU writes one line at its start and runs as before. The IOMMU of AMD and interrupt remapping are not built.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The home shows where the time of a start goes</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-the-home-shows-where-the-start-goes.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-the-home-shows-where-the-start-goes"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Shown"/>
<summary>The home of the site has a line of time of the start of the machine.</summary>
<content type="html">&lt;p&gt;The home of the site has a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-line-of-time-of-the-start&quot; title=&quot;The line of time of the start is the part of the home of the site that shows each stage of the start of the machine as a segment of a bar whose width is the time of the stage.&quot;&gt;line of time of the start&lt;/a&gt; of the machine. One bar shows the whole start on one scale: the firmware takes most of it. A second bar shows the stages of the boot program and of the kernel on a larger scale, and a sentence says how much larger. Each stage has a row with its name and its time. Point at a stage, or give it the focus, and a card says what the stage does, which code runs it, and where its guide is. The measures of the home are now charts: bars of one unit, from zero. A measure that is not such a chart is on the page of the measured numbers. The newest release shows its number, its counts and its first changes. A press on the heron plays an animation at once. Each button of the site now shows the pointer, the focus and a press, in the colors of the buttons of the desktop.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The heron squashes and stretches on its grid</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-the-heron-on-the-grid.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-the-heron-on-the-grid"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Decided"/>
<summary>The heron of the home is pixel art: a grid of square cells.</summary>
<content type="html">&lt;p&gt;The heron of the home is pixel art: a grid of square cells. When it squashed before a dash or stretched in a hop, the page made its whole picture wider or higher, and the cells became rectangles. That is gone. A cell of the heron is now a square of one size in every picture. A squashed heron is another drawing of the heron in the same cells: the crouch before the dash is 28 cells wide and 19 high, where the heron at rest is 24 by 22. Four columns of the body are drawn two times, and two rows of the neck and one of the legs are left out. The head, the eye, the beak and the crest are the same cells in each of the ten forms. The leg that the heron stands on stays above its foot. Two forms are corrected by hand, cell by cell: a leg of the run that was two cells thick, two feet that joined, a tail too far from the body. The heron also travels by whole cells. In the dash it goes more than ten cells between two pictures of the screen, and it is never between two cells. The page changes the size of no picture.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The heron of the home has fifteen animations</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-the-heron-moves.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-the-heron-moves"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Decided"/>
<summary>The heron at the head of the home of the site had seven animations and stood still most of the time.</summary>
<content type="html">&lt;p&gt;The heron at the head of the home of the site had seven animations and stood still most of the time. It now has fifteen, and it is still for about 40 percent of the time. In the dash, the heron squashes, runs out of the window by its right edge, comes back by its left edge, goes past its place, squashes on the stop and stands again. The water stays where it is. The other new animations: a hop, a fish that jumps in front of the heron, a doze with a letter z of squares, a stretch, the wind in the crest, a change of the leg it stands on, and a flap of the wing. Each animation plays once before one plays again, in an order that chance gives, and none plays two times in a row. The page keeps what was played for the length of the visit, so a reader who comes back to the home sees another animation. A reader whose system asks for reduced motion sees a heron that does not move at all. Nothing plays in a hidden tab or while the reader types in the search. Each frame is still made of the square cells of the mark: a squash or a stretch changes the width and the height of the whole picture, with sharp pixels.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The site has a gallery of every picture of the screen</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-the-gallery.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-the-gallery"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Shown"/>
<summary>The site has a page named Gallery.</summary>
<content type="html">&lt;p&gt;The site has a page named Gallery. It shows 109 pictures of the screen of the system, in 11 groups: the desktop and the palette, the console, the mark, the rights and the faults, the modules, the memory and the threads, the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/network/#term-developer-tool&quot; title=&quot;A developer tool is a process that shows how the system runs: what a process holds in memory and how its threads run; it reads reports of the kernel with a grant and changes nothing.&quot;&gt;developer tools&lt;/a&gt;, the fonts, the network, the storage and the boot. Each picture has a caption of one sentence that says what it shows, and a link to the guide of its subject. A picture on the page is at one half of its size. Its link opens it at its full size, where one pixel of the picture is one pixel of the screen of the system.&lt;/p&gt;
&lt;p&gt;The home now shows 8 of these pictures in one row, one picture in view. A numbered link above the row shows each picture, and the row also scrolls sideways. The row never changes its picture by itself. The picture of the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/heron/&quot;&gt;&lt;code&gt;heron&lt;/code&gt;&lt;/a&gt; is one of the 8.&lt;/p&gt;
&lt;p&gt;The pictures and their captions come from one table. A new picture of a machine test that the table does not name stops the build of the site, so no picture is left out.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/heron.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The process heron: the heron of the mark held at a frame of its dash, in the form of the run, in whole square cells, with the lines of the cells and the cells that the frame changed&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The bar of the site has three buttons and one menu</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-the-bar-of-the-site.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-the-bar-of-the-site"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Decided"/>
<summary>The site has six sections, and six buttons do not fit the one line of its bar on a small window.</summary>
<content type="html">&lt;p&gt;The site has six sections, and six buttons do not fit the one line of its bar on a small window. The bar now has three buttons: &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-docs&quot; title=&quot;The docs is the section of the site that holds the guides and the reference: the bar names it &amp;quot;Docs&amp;quot;, and the addresses of its pages start with /docs/.&quot;&gt;Docs&lt;/a&gt;, Gallery and News. They are what a first reader looks for: what the system is, what it looks like, and what is new. A fourth button, Project, opens a small panel under it with three more pages: Status, Releases and Roadmap. They report how the project goes. The pictures of the system are one click from each page. The panel opens and closes with no script. On a phone, the menu of the site lists the six sections one under the other.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A program starts from the data disk</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-programs-from-a-disk.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-programs-from-a-disk"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Shown"/>
<summary>Until now, each program of the system was a file of the boot image.</summary>
<content type="html">&lt;p&gt;Until now, each program of the system was a file of the boot image. A new program needed a new boot image. A program can now be an object of the storage service, in a store named &lt;code&gt;programs&lt;/code&gt;. In the console, the command &lt;a class=&quot;declaration-reference&quot; href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/modules/system/console/commands.odin#L3014&quot; data-declaration-card=&quot;declaration-24045&quot; aria-describedby=&quot;declaration-24045-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;start_from_disk&lt;/code&gt;&lt;/a&gt; takes the name of the program and the hash of its file. The root service reads the bytes from the storage service and computes their hash. It starts the program only when that hash is the hash of the command. So the storage service carries the bytes and does not choose what runs. Bytes with another hash are refused, and the log shows both hashes. A program from the disk receives the log and a window, and no grant. Its name gives it nothing: a file named &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/notes/&quot;&gt;&lt;code&gt;notes&lt;/code&gt;&lt;/a&gt; does not get the store of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/notes/&quot;&gt;&lt;code&gt;notes&lt;/code&gt;&lt;/a&gt;, because the root service refuses that name. The root service does not wait for the storage service: it serves each other program while the bytes come, and a load ends after 30 seconds at most. The tool writes the data disk of the test and prints the hash of each file.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A program names the system by one name, modus</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-one-source-library-modus.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-one-source-library-modus"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Decided"/>
<summary>Everything that becomes the system is now in one folder of the repository, src: the kernel, the boot program, the programs, the modules, and the code that the programs share.</summary>
<content type="html">&lt;p&gt;Everything that becomes the system is now in one folder of the repository, &lt;code&gt;src&lt;/code&gt;: the kernel, the boot program, the programs, the modules, and the code that the programs share. That &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-shared-code&quot; title=&quot;Shared code is the pages of a prepared module that each process of the module maps without Write: its code, its constants and its data that is read-only after the rebase.&quot;&gt;shared code&lt;/a&gt; is one &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-source-library&quot; title=&quot;A source library is a named folder of source packages that a module compiles in.&quot;&gt;source library&lt;/a&gt;. Its name is &lt;code&gt;modus&lt;/code&gt;, and its folder is &lt;a href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/src/library&quot;&gt;&lt;code&gt;src/library&lt;/code&gt;&lt;/a&gt;. A source imports a package of it with one line, such as &lt;code&gt;import &amp;quot;modus:support/system&amp;quot;&lt;/code&gt; or &lt;code&gt;import &amp;quot;modus:contract/ring&amp;quot;&lt;/code&gt;. The first word after the name says what the package is: &lt;code&gt;contract&lt;/code&gt; is what two parties agree on, and &lt;code&gt;support&lt;/code&gt; is what a program compiles in to use the contracts. The compiler gets the library with one flag, &lt;code&gt;-collection:modus=src/library&lt;/code&gt;. A program in another repository writes the same lines and gives the same flag. The kernel imports the contract packages only. The tool reads each import of the kernel and of the contract packages before each build, and a build stops on an import that this rule refuses.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Each row of the palette has the icon of its kind</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-kind-icons-in-the-palette.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-kind-icons-in-the-palette"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Shown"/>
<summary>Each row of the palette now starts with a small picture that says what the row is: a window, a program, a command, an export of a module, a setting, or an act that stops something.</summary>
<content type="html">&lt;p&gt;Each row of the palette now starts with a small picture that says what the row is: a window, a program, a command, an export of a module, a setting, or an act that stops something. A reader tells a window from a program before the reader reads a word. The word of the kind stays at the right of the row, so no picture stands alone. The color of the picture says one fact. A program that has a window is green, and a program that has none is dim. The window that has the focus is blue. The value of a setting that the machine uses is in the color of the text. On the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-chosen-row&quot; title=&quot;The chosen row is the one line of a list, a menu or a completion list that Enter or a press takes.&quot;&gt;chosen row&lt;/a&gt; the picture is white, as the text is. Each picture is a grid of 12 by 12 square cells, drawn as whole pixels: it has no curve and no blur. The pictures are one table of the system. The site draws the same table for its kinds of values, so a module or a command has one picture on the site and on the desktop.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/palette_open.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;Each row of the palette has the icon of its kind&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>Keyboard layouts</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-keyboard-layouts.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-keyboard-layouts"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Shown"/>
<summary>The keyboard has a layout.</summary>
<content type="html">&lt;p&gt;The keyboard has a layout. The window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/settings/&quot;&gt;&lt;code&gt;settings&lt;/code&gt;&lt;/a&gt; has a row for it, with two values: &lt;code&gt;us&lt;/code&gt;, the QWERTY layout, and &lt;code&gt;french&lt;/code&gt;, the AZERTY layout. The input service reads the setting at each key, so a change holds from the next key, with no restart.&lt;/p&gt;
&lt;p&gt;The test of the machine types the same key under each layout: it gives &lt;code&gt;a&lt;/code&gt; with the layout of France, then &lt;code&gt;q&lt;/code&gt; with the layout of the United States.&lt;/p&gt;
&lt;p&gt;A character of the system is one byte of ASCII today. A key whose character is outside ASCII, such as é or ç, gives no character yet; a program still gets its key code.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/settings.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;Keyboard layouts&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A disk program gets a store by its nickname</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-grants-for-a-disk-program.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-grants-for-a-disk-program"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Shown"/>
<summary>A program that comes from a disk can now get a grant.</summary>
<content type="html">&lt;p&gt;A program that comes from a disk can now get a grant. Its nickname is the name of its file in the store &lt;code&gt;programs&lt;/code&gt;, and the principal chooses it. In the console, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-allow&quot;&gt;&lt;code&gt;allow(&amp;quot;visitor&amp;quot;, &amp;quot;store&amp;quot;)&lt;/code&gt;&lt;/a&gt; gives the program of that nickname a store of its own, &lt;code&gt;disk-visitor&lt;/code&gt;, from its next start.&lt;/p&gt;
&lt;p&gt;The grant names the file by its hash. A start of the nickname with another file is refused before a byte is read. &lt;code&gt;nickname_move&lt;/code&gt; points the nickname to a new version of the file, and the store follows: the new version finds the data of the old one.&lt;/p&gt;
&lt;p&gt;No command gives a disk program the ring of the root service, a right over the machine or a device, or the right to act for the principal. The grants of principal 0 last until the machine stops, because principal 0 has no passphrase to sign them; the data of the store stays on the disk.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A window for the debugger</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-a-window-for-the-debugger.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-a-window-for-the-debugger"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Shown"/>
<summary>The debugger has a window.</summary>
<content type="html">&lt;p&gt;The debugger has a window. Start &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/debugger_window/&quot;&gt;&lt;code&gt;debugger_window&lt;/code&gt;&lt;/a&gt; from the menu of the programs, type the name of a program that runs and press Enter: the window attaches to it. Four cards show what the console showed as tables: the threads, the stack of the chosen thread, and the variables and the source line of the chosen frame.&lt;/p&gt;
&lt;p&gt;A key does each act. &lt;code&gt;h&lt;/code&gt; holds a thread and &lt;code&gt;r&lt;/code&gt; lets it run. &lt;code&gt;s&lt;/code&gt; runs one instruction and &lt;code&gt;l&lt;/code&gt; one source line. &lt;code&gt;o&lt;/code&gt; runs one line over each call: the thread does not stop inside a procedure that the line calls. The console has that step too, as &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-step-over&quot;&gt;&lt;code&gt;step_over(thread)&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The window holds no right over a program. It calls the service &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/debugger/&quot;&gt;&lt;code&gt;debugger&lt;/code&gt;&lt;/a&gt;, as the console does, through a connection of its own, and the root service decides which program a caller can debug.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/debugger_window.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;A window for the debugger&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A window never shows a picture that is being drawn</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-a-whole-frame-in-every-window.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-a-whole-frame-in-every-window"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Fixed"/>
<summary>A film of the program heron showed, in one picture of the screen, the head of the heron with no body.</summary>
<content type="html">&lt;p&gt;A &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-film&quot; title=&quot;A film is the pictures of the screen of a test machine, taken 30 times in one second while a scenario of the tool sends its keys, as one file that a player shows at the speed of the machine.&quot;&gt;film&lt;/a&gt; of the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/heron/&quot;&gt;&lt;code&gt;heron&lt;/code&gt;&lt;/a&gt; showed, in one picture of the screen, the head of the heron with no body. The program had cleared a part of its window and had not drawn the heron in it yet, and the compositor read the window at that time. Three programs had a correction of their own. The 48 other programs with a window could show the same mix: a part of a new picture with a part of the old one.&lt;/p&gt;
&lt;p&gt;The correction is now a rule of the system. The surface of every window has two pictures. A program draws one picture while the compositor reads the other, and the compositor shows a picture only when its program says that it is complete. A program that stops in the middle of a draw leaves its last complete picture on the screen. A new window shows its first picture whole, and nothing before it.&lt;/p&gt;
&lt;p&gt;A program writes no code for the rule. The compositor never waits for a program, and it counts, for each window, the pictures that a program drew while the screen showed them: &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/compositor/#export-windows&quot; data-declaration-card=&quot;declaration-25804&quot; aria-describedby=&quot;declaration-25804-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;compositor.windows()&lt;/code&gt;&lt;/a&gt; gives the count, and the main test of the system checks that it is 0 for each window. The cost is memory: one picture more for each window, 2.8 MiB for the largest window.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A text wider than its place takes more lines</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-a-text-wider-than-its-place.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-a-text-wider-than-its-place"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Fixed"/>
<summary>Several windows drew a text over another text, or stopped a text at the edge of a panel.</summary>
<content type="html">&lt;p&gt;Several windows drew a text over another text, or stopped a text at the edge of a panel. The &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-stack-trace&quot; title=&quot;A stack trace is the list of the return addresses of the calls that led to a fault, from the frame pointers, each with the module record that holds it.&quot;&gt;stack trace&lt;/a&gt; of a stop report ended in the middle of a path. A long name of a module ran over the page beside it. The interface package now has one rule for a text that is wider than its place. The text goes on more lines. A line ends at a space. A path or a long name has no space, so its line ends after a &lt;code&gt;/&lt;/code&gt;, a &lt;code&gt;:&lt;/code&gt; or a &lt;code&gt;_&lt;/code&gt;. No character is left out, and the text under it starts lower. Each of the 112 pictures of the screen was read for this fault, and 17 programs and the boot display were corrected: among them &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/manual/&quot;&gt;&lt;code&gt;manual&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/errors/&quot;&gt;&lt;code&gt;errors&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/inspect/&quot;&gt;&lt;code&gt;inspect&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/notes/&quot;&gt;&lt;code&gt;notes&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/fetch/&quot;&gt;&lt;code&gt;fetch&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/net/&quot;&gt;&lt;code&gt;net&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/imports/&quot;&gt;&lt;code&gt;imports&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/tables/&quot;&gt;&lt;code&gt;tables&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/server/&quot;&gt;&lt;code&gt;server&lt;/code&gt;&lt;/a&gt; and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/log/&quot;&gt;&lt;code&gt;log&lt;/code&gt;&lt;/a&gt;. In &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/errors/&quot;&gt;&lt;code&gt;errors&lt;/code&gt;&lt;/a&gt;, a page now holds the cases that fit in its height, each with its whole sentence. The window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/log/&quot;&gt;&lt;code&gt;log&lt;/code&gt;&lt;/a&gt; shows each text whole, where it cut it at 80 characters. A card that cannot show each of its rows ends with a line that counts the rows that it does not show.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/inspect_stopped.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The same tool on a process that stopped on a fault: each frame of the stack trace with its procedure and its source line, from the debug image&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A share of the processors for each program</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-a-share-for-each-program.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-a-share-for-each-program"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Shown"/>
<summary>A weight belongs to a thread, so a program with 8 threads that compute had 8 times the weight of a program with one.</summary>
<content type="html">&lt;p&gt;A weight belongs to a thread, so a program with 8 threads that compute had 8 times the weight of a program with one. The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/scheduler/&quot;&gt;&lt;code&gt;scheduler&lt;/code&gt;&lt;/a&gt; now has a share policy. The command &lt;code class=&quot;code-inline&quot;&gt;scheduler&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/scheduler/#export-policy&quot;&gt;policy&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; turns it on. Each program then has one program weight, and the policy divides it between the threads of the program that are ready or that ran. Four programs with 1, 2, 4 and 8 threads that compute get the thread weights 1024, 512, 256 and 128: each program has 1024 in all. The command &lt;code class=&quot;code-inline&quot;&gt;scheduler&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;&lt;a class=&quot;declaration-link&quot; href=&quot;../docs/reference/modules/scheduler/#export-share&quot;&gt;share&lt;/a&gt;&lt;span class=&quot;c-p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;c-l&quot;&gt;&amp;quot;paint&amp;quot;&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;256&lt;/span&gt;&lt;span class=&quot;c-p&quot;&gt;)&lt;/span&gt;&lt;/code&gt; gives the programs with one name another program weight. A program that lowered the weight of a thread keeps it. The kernel is not changed: the program reads the reports of the threads each 100 ms and writes the weights with its right to schedule. The key S of its window opens the view of the shares, with one row and one bar for each program. The policy is off when the program starts. It does not yet see threads that a program creates and ends between two rounds.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/scheduler_shares.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;A share of the processors for each program&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The tool builds a module of another project</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-a-module-of-another-project.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-a-module-of-another-project"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Shown"/>
<summary>A module for the system can now be written in a folder of another project.</summary>
<content type="html">&lt;p&gt;A module for the system can now be written in a folder of another project. The folder holds one Odin package and one small file, &lt;code&gt;module.txt&lt;/code&gt;. The file gives the name of the module, the modules that it imports, and two more fields, one &lt;code class=&quot;code-inline&quot;&gt;key&lt;span class=&quot;c-p&quot;&gt;:&lt;/span&gt; value&lt;/code&gt; on each line. The sources import the packages of the system from one source library, &lt;code&gt;modus&lt;/code&gt;, with the lines of a program of the system.&lt;/p&gt;
&lt;p&gt;One command builds the module: &lt;code&gt;modustool module-build .&lt;/code&gt;, with the folder of the system in the variable &lt;code&gt;MODUS_SYSTEM&lt;/code&gt;. The build runs the steps of a module of the system, with the same checks. It writes the module file and its debug object in the folder of the project, and prints the hash of the module file, which is its identity.&lt;/p&gt;
&lt;p&gt;The full check of the system builds two modules in this way, from copies of the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/tally/&quot;&gt;&lt;code&gt;tally&lt;/code&gt;&lt;/a&gt; and of the module &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/agenda/&quot;&gt;&lt;code&gt;agenda&lt;/code&gt;&lt;/a&gt;, and compares each with the module of the system.&lt;/p&gt;
&lt;p&gt;The tool does not yet put such a module in the boot image of a machine, so it does not yet run there.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A module asks for its budget</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-14-a-module-asks-for-its-budget.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-14-a-module-asks-for-its-budget"/>
<published>2026-11-14T00:00:00Z</published>
<updated>2026-11-14T00:00:00Z</updated>
<category term="Decided"/>
<summary>A program now says what it needs.</summary>
<content type="html">&lt;p&gt;A program now says what it needs. The source of a module states one constant, &lt;code&gt;MODULE_BUDGET&lt;/code&gt;: the pages, the programs and the threads that it asks for, with the reasons in its comment. The build writes it in the module file, so the hash of the module names it.&lt;/p&gt;
&lt;p&gt;The root service decides. It gives a program its request up to 16384 pages, 8 programs and 32 threads, and writes a line on the log when it gives less. Two programs have an exception, each with its reason. A module with no request gets 2048 pages, one program and one thread. A program from a disk, or from another project, gets its request up to 8192 pages, one program and 4 threads, from one budget that pays all such programs, so a new program needs no change of the root service, and a file of a disk cannot take what the programs of the system need.&lt;/p&gt;
&lt;p&gt;The page of each program on the site shows the budget that it asks for, beside its grants.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A program stops a thread and writes its registers</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-thread-control.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-thread-control"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Shown"/>
<summary>A program can now stop one of its threads, read and write its registers, and resume it.</summary>
<content type="html">&lt;p&gt;A program can now stop one of its threads, read and write its registers, and resume it. A debugger, a garbage &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-collector&quot; title=&quot;The collector is a module that reads the record outputs that a wiring gives it, and keeps their records in its private store, one collector space for each pair of a source and a record output.&quot;&gt;collector&lt;/a&gt;, a sampling profiler and the program that runs a guest need this. A stop is a count: two stops need two resumes. A thread of another program can be stopped only with a thread handle that the program received. The kernel checks each write: a frame of the kernel, interrupts off, an address that is not canonical, or an &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-extended-state&quot; title=&quot;The extended state is the registers of a thread that are not general registers and that the processor saves and restores as a block: the x87 registers, the SSE registers and MXCSR, and, when the kernel enables them, the AVX and AVX-512 registers.&quot;&gt;extended state&lt;/a&gt; that the processor would refuse is refused, and the thread runs on unchanged. A &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-fault-handler&quot; title=&quot;A fault handler is the thread of a process that Fault_Handler_Set named, with the fault kinds that it takes: the faults of these kinds of the other threads of the process become records in its thread record.&quot;&gt;fault handler&lt;/a&gt; can now move a thread past the instruction that faulted: the test skips a divide error, and the thread goes on with the result that the handler wrote. The test program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/fault_ring/&quot;&gt;&lt;code&gt;fault_ring&lt;/code&gt;&lt;/a&gt; has 35 cases.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The palette: one panel for the programs and the windows</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-the-palette.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-the-palette"/>
<link rel="enclosure" type="video/webm" href="https://modus.systems/films/palette.webm" length="2138283"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Shown"/>
<summary>The key super now opens the palette, which replaces the launcher.</summary>
<content type="html">&lt;p&gt;The key super now opens the palette, which replaces the launcher. It is one panel with one list: the programs that the system can start, the windows that are open, and the commands of the console. Each typed letter narrows the list. The match is the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/communication/#term-fuzzy-match&quot; title=&quot;A fuzzy match is a match where the characters of a query appear in a name in their order, with gaps allowed, lower and upper case equal.&quot;&gt;fuzzy match&lt;/a&gt; of the console: the letters appear in a name in their order, not always side by side, and a line marks each matched letter. Each row says what it is in words. Enter starts the chosen program or brings the chosen window to the front. A command with no argument runs from the panel, which shows a short result; a table opens in the console. A command with arguments turns the band into a form with one field for each argument, and the list proposes values: programs, modules, grants. Each value of each setting is an entry too. The close of a window and a command such as shutdown ask for a second Enter, on a red row that says what stops. The typed text is at twice the size of the font, in a band that touches the top, the left and the right edge of the panel, with no frame around it. The panel has no right of its own: a command runs in the console, with the grants of the console.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/palette_arguments_two.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The palette: one panel for the programs and the windows&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://modus.systems/films/palette.webm&quot;&gt;Film&lt;/a&gt; (WebM with AV1, 2.0 MiB)&lt;/p&gt;</content>
</entry>
<entry>
<title>The log shows each value in the color of its kind</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-the-log-in-color.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-the-log-in-color"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Shown"/>
<summary>The window of the log now draws each value of a line in the color of what it is: a number or an address in teal, a size with its unit (the free memory in MiB) in teal, a time with its unit in amber, the name of a program in green, the head of a hash in amber, a status in red.</summary>
<content type="html">&lt;p&gt;The window of the log now draws each value of a line in the color of what it is: a number or an address in teal, a size with its unit (the free memory in MiB) in teal, a time with its unit in amber, the name of a program in green, the head of a hash in amber, a status in red. These are the colors of the same kinds on the site. The program that writes a line says what each value is, and the log keeps it beside the text: no text is read for its look. The head of the column of the text is the legend. A line of the kernel in the channel boot, &amp;quot;kernel: boot: firmware: ...&amp;quot;, shows from &amp;quot;firmware&amp;quot;: its program and its channel are in their own columns. The text on the serial port is the same as before.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/log.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The log: records with a time, a process and a level, each value of a text in the color of its kind&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The drawing of a window is one module that 23 programs import</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-the-drawing-module.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-the-drawing-module"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Shown"/>
<summary>Each program with a window held its own copy of the code that draws a frame: the damage, the fills, the text and the blends, about 20 KiB in each file.</summary>
<content type="html">&lt;p&gt;Each program with a window held its own copy of the code that draws a frame: the damage, the fills, the text and the blends, about 20 KiB in each file. That code is now the module &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/drawing/&quot;&gt;&lt;code&gt;drawing&lt;/code&gt;&lt;/a&gt;. 23 programs import it, and the system holds one copy.&lt;/p&gt;
&lt;p&gt;A window calls the module two times for a frame. The first call gives the rectangles that changed since the frame before. The second call draws the records of the frame in these rectangles. Each call passes the tables of the program and the pixels of its surface by address: nothing is copied.&lt;/p&gt;
&lt;p&gt;The parts that a program calls many times for a frame stay in the program: the buttons, the lists, the layout, the input. One such call through a module cost about 100 ns more in a measure of one run; a frame has 30 to 200 of them.&lt;/p&gt;
&lt;p&gt;The manual and the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-module-graph&quot; title=&quot;The module graph is the set of modules as nodes and their imports as edges: one edge goes from the module that imports to the module that it imports.&quot;&gt;module graph&lt;/a&gt; now show an edge from each of these programs to &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/drawing/&quot;&gt;&lt;code&gt;drawing&lt;/code&gt;&lt;/a&gt;. The programs that show a picture or a grid of text cells, and the compositor, still hold the drawing code: their turn needs a way to name a picture in the description of an export.&lt;/p&gt;
&lt;p&gt;A test draws the same frames with the old code path and through the module, in each font, and compares the bytes of the two canvases.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The console debugs a program</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-the-debugger-in-the-console.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-the-debugger-in-the-console"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Shown"/>
<summary>The console can now debug a program that runs.</summary>
<content type="html">&lt;p&gt;The console can now debug a program that runs. The command debug with the name of a program attaches the debugger. A breakpoint is set at a procedure by its name, or at a line of a source file. When a thread stops there, the console shows the frames of its stack with the procedure and the line of each one, its local variables with their types and their values, and one variable by a path such as &lt;code class=&quot;code-inline&quot;&gt;pair&lt;span class=&quot;c-p&quot;&gt;.&lt;/span&gt;next&lt;span class=&quot;c-p&quot;&gt;^.&lt;/span&gt;first&lt;/code&gt;. A thread runs one instruction, or one source line, at a time. A watch stops a thread at the instruction that writes some bytes. Each result is a table, so the commands of the console filter it as any table. The debugger is a service of the system, not code of the console: a developer on another machine calls the same commands with &lt;code&gt;kerneltool call&lt;/code&gt;, and reads the source line from the repository. Not each program can be debugged: a program with no grant can, and a service cannot, because a debugger gets each access of the program that it debugs.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The share of a thread changes while it runs</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-schedule-of-a-live-thread.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-schedule-of-a-live-thread"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Shown"/>
<summary>A weight and a request of a thread can now change while the thread runs.</summary>
<content type="html">&lt;p&gt;A weight and a request of a thread can now change while the thread runs. The weight is the share of the thread on a processor. The request is the length of the turns that it asks for. Before, a program gave both only when it created the thread. Someone outside the kernel chooses the values, and the kernel applies them with its own scheduling strategy: no code of a program runs when the kernel picks a thread. A program only lowers the weight and the request of its own threads. Only the machine handle with the right Schedule, which the system gives to the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/scheduler/&quot;&gt;&lt;code&gt;scheduler&lt;/code&gt;&lt;/a&gt; only, raises them, for any thread; a thread with a raised weight starts again as a new thread. That handle also sets a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/running-code/#term-weight-limit&quot; title=&quot;A weight limit is the most that the weight of one thread can be: a number from 1 to 1024, and 1024, the full weight, for a thread that nobody limited.&quot;&gt;weight limit&lt;/a&gt;: the thread, and each thread that it creates, then stays at or under that weight. The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/scheduler/&quot;&gt;&lt;code&gt;scheduler&lt;/code&gt;&lt;/a&gt; writes the weights 1, 2 and 4 to 12 threads that run, and checks that the heavier weight gets more time under the fair strategy and EEVDF. It also checks that the kernel refuses each raise by the program.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A thread can be kept on chosen processors</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-placement-of-a-thread.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-placement-of-a-thread"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Shown"/>
<summary>Each thread now has a placement: the set of the processors that can run it.</summary>
<content type="html">&lt;p&gt;Each thread now has a placement: the set of the processors that can run it. A thread with no placement runs on each processor, as before. A program can only narrow the set of its own threads. Only the machine handle with the right Schedule, which the system gives to the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/scheduler/&quot;&gt;&lt;code&gt;scheduler&lt;/code&gt;&lt;/a&gt; only, writes any set, for any thread. That handle also writes a limit: the thread, and each thread and each program that it creates, then stay on the processors of the limit. So two programs whose limits share no processor never run on the same processor, which takes away the side channels of one processor between them. It does not take away all of them: the kernel does not know which processors are two halves of one core, and the cache that all the cores share stays shared. A thread that changes its queue for a placement keeps what it owes to the other threads. The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/scheduler/&quot;&gt;&lt;code&gt;scheduler&lt;/code&gt;&lt;/a&gt; checks, on the 4 processors of the test machine, that a thread that keeps one processor is then reported only there, that the kernel refuses each write that widens a set, and that two groups of threads with no common processor stay apart in 200 reports.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A stop report names the procedure and the line</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-names-in-a-stop-report.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-names-in-a-stop-report"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Shown"/>
<summary>When a program stops on a fault, the console, the test program errors and the developer tool inspect now name each frame of its stack trace with its procedure and its source line: fault::three + 0x8 in fault (programs/fault/main.odin:15), where they showed fault + 0x1478.</summary>
<content type="html">&lt;p&gt;When a program stops on a fault, the console, the test program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/errors/&quot;&gt;&lt;code&gt;errors&lt;/code&gt;&lt;/a&gt; and the developer tool &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/inspect/&quot;&gt;&lt;code&gt;inspect&lt;/code&gt;&lt;/a&gt; now name each frame of its stack trace with its procedure and its source line: &lt;code&gt;fault::three + 0x8 in fault (programs/fault/main.odin:15)&lt;/code&gt;, where they showed &lt;code class=&quot;code-inline&quot;&gt;fault &lt;span class=&quot;c-p&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;c-l&quot;&gt;0x1478&lt;/span&gt;&lt;/code&gt;. The names come from a debug object that the build writes for each module, a small table of procedures and lines that a program reads with a binary search. The debug objects are one file on the boot volume, beside the boot program: the boot image does not grow, and a module has the same bytes, so the same hash, with and without them. The kernel still writes offsets on its log. A debugger in the console is designed, not built.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The module graph, on the site and in the running system</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-module-graph.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-module-graph"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Shown"/>
<summary>The reference of the site has a page for the module graph: each module and program of the build is a bar as long as its bytes, and each import is a line from the importer to the module that it imports.</summary>
<content type="html">&lt;p&gt;The reference of the site has a page for the module graph: each module and program of the build is a bar as long as its bytes, and each import is a line from the importer to the module that it imports. The columns follow the depth of the imports; the modules with no import and no importer are in a band under them. A pointer or the focus on a module marks its lines and its neighbours and shows its &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-identity-card&quot; title=&quot;An identity card is what the site states of one module: its name, its kind, its hash, its size, the counts of its exports, its imports and the modules that import it, its license, and the first sentence of its documentation.&quot;&gt;identity card&lt;/a&gt;: its hash, its size, its counts of exports and imports, its license and its purpose. A table under the picture gives every import. Each &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-module-page&quot; title=&quot;A module page is the reference page of the site for one module of the build: its documentation, its exports, its imports and, for a process, its grants and its budget.&quot;&gt;module page&lt;/a&gt; shows its own card and a small figure of its neighbours. In the running system, &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/manual/#export-edges&quot; data-declaration-card=&quot;declaration-22327&quot; aria-describedby=&quot;declaration-22327-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;manual.edges()&lt;/code&gt;&lt;/a&gt; gives the same graph for what is loaded now: which program holds which module, which module imports it, and which import a replacement changed.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The manual shows bold, lists, code and links</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-manual-reads-markdown.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-manual-reads-markdown"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Shown"/>
<summary>The program manual shows the documentation that each module carries in its file.</summary>
<content type="html">&lt;p&gt;The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/manual/&quot;&gt;&lt;code&gt;manual&lt;/code&gt;&lt;/a&gt; shows the documentation that each module carries in its file. That text is the comments of the source of the module, written in a small part of Markdown. The manual now reads the marks. A bold word is in the bold weight. A word in italics has a thin line under it, because the system has no italic face. A name of code is in the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-monospace-font&quot; title=&quot;A monospace font is a font whose characters all have one advance, so that a text is a row of equal cells.&quot;&gt;monospace font&lt;/a&gt;, in the color of code. A list item has its mark and its indentation. An example is a block of rows. A link is a colored name. When a link names a module of the boot image, or one of its exports, it has a line under it, and a click on it shows that page. A row ends between two words, never inside one, unless one word is longer than the row. The help that the console prints for a command is the same plain line as before.&lt;/p&gt;
</content>
</entry>
<entry>
<title>An object of 8 GiB that holds 13 blocks, and a commit that hashes what changed</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-large-objects.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-large-objects"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Shown"/>
<summary>An object of a store is now a tree of blocks, and can hold 4 TiB.</summary>
<content type="html">&lt;p&gt;An object of a store is now a tree of blocks, and can hold 4 TiB. A block of zero bytes is a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/storage/#term-hole&quot; title=&quot;A hole is a part of an object whose bytes are all zero: nothing names it, it costs no block, and it reads as zero bytes.&quot;&gt;hole&lt;/a&gt;: it costs no block and reads as zero bytes. The machine test makes an object of 8 GiB with three writes; it holds 13 blocks. A program writes ranges of an object, then commits them in one step. The commit hashes the blocks that changed and the nodes above them, never the whole object: 1000 small writes spread over the object of 8 GiB, then one commit, hash 1001 blocks and 1018 nodes, and the test checks that bound. An old version still reads its old bytes, and shares its other blocks with the new state. A loss of power in a loop of range commits leaves the last commit or the commit in flight, never a mix.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The glossary has a page for each group</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-glossary-pages-by-group.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-glossary-pages-by-group"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Decided"/>
<summary>The glossary of the site is now one page for each group of terms, as Code, Access or Network, and an index.</summary>
<content type="html">&lt;p&gt;The glossary of the site is now one page for each group of terms, as Code, Access or Network, and an index. The single page had 1 301 073 bytes once each of its 460 terms had its explanation. No page of the glossary is larger than 1 MB now. The index lists every term from A to Z, with its group and its short definition. A link to a term on any page opens the page of its group. An address of an entry at the index still works: the index sends it to the page of the group.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The name of the mark is a font</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-font-of-the-name-of-the-mark.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-font-of-the-name-of-the-mark"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Decided"/>
<summary>The letters of the name of the mark are now a font file, resources/logo/modus_mark.ttf.</summary>
<content type="html">&lt;p&gt;The letters of the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-name-of-the-mark&quot; title=&quot;The name of the mark is the word &amp;quot;modus&amp;quot; drawn in letters of square cells, 5 columns by 7 rows each, under or beside the heron.&quot;&gt;name of the mark&lt;/a&gt; are now a font file, &lt;a href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/resources/logo/modus_mark.ttf&quot;&gt;&lt;code&gt;resources/logo/modus_mark.ttf&lt;/code&gt;&lt;/a&gt;. Its glyphs are the square cells of the five letters of &amp;quot;modus&amp;quot;, from the same table as the pictures of the mark: each letter is one outline around its cells. One em is 8 cells, so a text at 16 pixels has cells of 2 pixels. The site writes the name of the system in this font in its bar, in its foot and in the title of the home. The name is text there: a reader can select it, and a screen reader says it. The pictures of the mark on a page now show the heron alone. The heron of the home also moves more often: an animation starts each 2.4 seconds on average, in place of each 4.7 seconds. Nothing moves for a reader who asks for reduced motion.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A command of the console gives a result</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-console-commands-give-results.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-console-commands-give-results"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Shown"/>
<summary>No command of the console prints text now.</summary>
<content type="html">&lt;p&gt;No command of the console prints text now. A command gives a result, and the console draws the result by its kind: a number, a text, a record, a table, a handle, bytes or an error.&lt;/p&gt;
&lt;p&gt;A command that lists things gives a table. So one line filters the grants of a program, as it filters the table of any service: &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-where&quot;&gt;&lt;code&gt;where(grants(&amp;quot;notes&amp;quot;), &amp;quot;state&amp;quot;, &amp;quot;held&amp;quot;)&lt;/code&gt;&lt;/a&gt;. The same works for &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-help&quot;&gt;&lt;code&gt;help()&lt;/code&gt;&lt;/a&gt;, &lt;code&gt;programs()&lt;/code&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-modules&quot;&gt;&lt;code&gt;modules()&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-principals&quot;&gt;&lt;code&gt;principals()&lt;/code&gt;&lt;/a&gt; and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-variables&quot;&gt;&lt;code&gt;variables()&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Each kind has one drawer. A value has the color of its kind, as in the window of the log. The console draws 20 rows of a table, then says how many rows it does not show. No value is cut in its middle.&lt;/p&gt;
&lt;p&gt;An error shows its sentence, then the values that the sentence was made from: the kind, the operation, the argument.&lt;/p&gt;
&lt;p&gt;While a line calls a program, the log records of that program show under the line.&lt;/p&gt;
&lt;p&gt;A number that does not fit in 64 bits is now an error of the line.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The reference pages read as documentation</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-comment-markdown.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-comment-markdown"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Shown"/>
<summary>The reference pages of the site come from the comments of the code, and those comments are now Markdown: bold, italics, lists, examples in code and links.</summary>
<content type="html">&lt;p&gt;The reference pages of the site come from the comments of the code, and those comments are now Markdown: bold, italics, lists, examples in code and links. Each kernel operation has its arguments, its results and its statuses as lists, with the rights that it needs in bold and links to its records and to its guide. A link names a place of the site: an operation, an export of a module, a declaration with its card, a term or a heading of a guide. A link that names nothing stops the build of the site. In the running system, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/manual/&quot;&gt;&lt;code&gt;manual&lt;/code&gt;&lt;/a&gt; shows the same text as plain lines.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The test checks by count, a measure run measures by time</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-13-checks-by-count-measures-by-time.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-13-checks-by-count-measures-by-time"/>
<published>2026-11-13T00:00:00Z</published>
<updated>2026-11-13T00:00:00Z</updated>
<category term="Shown"/>
<summary>The programs that show a rate (clock, flow, crowd, disk, locks, scheduler) no longer measure for a fixed time at each start.</summary>
<content type="html">&lt;p&gt;The programs that show a rate (&lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/clock/&quot;&gt;&lt;code&gt;clock&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/flow/&quot;&gt;&lt;code&gt;flow&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/crowd/&quot;&gt;&lt;code&gt;crowd&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/disk/&quot;&gt;&lt;code&gt;disk&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/locks/&quot;&gt;&lt;code&gt;locks&lt;/code&gt;&lt;/a&gt;, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/scheduler/&quot;&gt;&lt;code&gt;scheduler&lt;/code&gt;&lt;/a&gt;) no longer measure for a fixed time at each start. In a test, each one checks a fixed count of work: 200 000 records through a ring with none lost, one million reads of the time with no kernel entry. The window shows these counts. The rates in one second come from a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-measure-run&quot; title=&quot;A measure run is a machine whose boot image holds the resource measure_run, in which each process measures its rates over a duration.&quot;&gt;measure run&lt;/a&gt;, which &lt;code&gt;kerneltool measure&lt;/code&gt; starts with the same modules and with no other load. The machine test also takes each picture when the screen is settled, with no fixed time before it.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The boot verifies the system before the kernel starts</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-trusted-boot.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-trusted-boot"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Shown"/>
<summary>A signed system description lists the hash of the kernel and of each file of the boot image.</summary>
<content type="html">&lt;p&gt;A signed system description lists the hash of the kernel and of each file of the boot image. The boot program verifies the signature and each hash before the kernel starts. With one byte of one module changed, the boot stops, and the boot display names the file and both hashes. With a TPM, the boot program measures the description into PCR 11. With Secure Boot on, the firmware starts only the signed boot program. The system of the repository is signed with a test key whose private part is public, and the boot display says so.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/boot_fails_changed_module.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The boot verifies the system before the kernel starts&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A store holds trees of a hundred thousand objects</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-trees-in-a-store.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-trees-in-a-store"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Shown"/>
<summary>The store of a program now holds trees: a tree names objects and other trees, and has no limit of entries but the disk.</summary>
<content type="html">&lt;p&gt;The store of a program now holds trees: a tree names objects and other trees, and has no limit of entries but the disk. Before, a store held 39 objects. A program reaches a tree through a place of its connection, and a name is one step down: no name reaches the tree above. A program can give a part of its store to another program, read only or not, and revoke it. The machine test makes 100000 objects in 1100 trees, lists them in pages of 16, moves a tree of 1000 objects in one commit, removes a tree of 1001 objects, and finds every count and every content again after a new start of the machine. The guide gives the model behind it: objects named by their hash, trees, and stores.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The zero of Paper Mono has a slash</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-slashed-zero.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-slashed-zero"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Decided"/>
<summary>The zero of the system is now the slashed zero of Paper Mono.</summary>
<content type="html">&lt;p&gt;The zero of the system is now the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-slashed-zero&quot; title=&quot;The slashed zero is a zero with a stroke at an angle inside it, so that it does not look like the capital O.&quot;&gt;slashed zero&lt;/a&gt; of Paper Mono. The tool reads the form from the feature table of the font file, so the form is the one that the font designer drew. A zero and a capital O are now different on every &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-text-grid&quot; title=&quot;A text grid is a grid of text cells of a process (a character, reverse, a color, or a fill), drawn by one draw record.&quot;&gt;text grid&lt;/a&gt; of the system. The system can also draw B612, a font with letters of different widths, from a cache that the tool builds ahead.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/font_vector.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The text of the system is a vector font with subpixel bands (Paper Mono by default); the process settings changes it to Spleen 8x16 and back while every window runs&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The calls of the host go over QUIC</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-remote-over-quic.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-remote-over-quic"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Shown"/>
<summary>A person at the host can call a command of the running system with kerneltool call.</summary>
<content type="html">&lt;p&gt;A person at the host can call a command of the running system with &lt;code&gt;kerneltool call&lt;/code&gt;. These calls now go over QUIC: one stream for each call, up to 8 at one time. The host checks the public key of the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/remote/&quot;&gt;&lt;code&gt;remote&lt;/code&gt;&lt;/a&gt;, which its window shows. The program accepts the address of the host only, and it proves that address before it runs a call. The earlier transport, with datagrams of its own, is removed.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/remote.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;A call from the host: modustool call reaches the process remote on one QUIC stream, which makes the isolated call and writes the typed result back; the counts, the public key, the connections that the root service made, and the last calls&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A QUIC connection carries several streams</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-quic-streams.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-quic-streams"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Shown"/>
<summary>A QUIC connection of the system now carries several streams at one time.</summary>
<content type="html">&lt;p&gt;A QUIC connection of the system now carries several streams at one time. The caller gives a table of &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/quic/#term-stream-record&quot; title=&quot;A stream record is one quic.Stream in the table that the caller of a QUIC connection gives: the state and the buffers of one open QUIC stream.&quot;&gt;stream records&lt;/a&gt;, and each stream has its own limit of bytes. The server keeps a table of 1024 addresses and gives each address a budget of new connections. An independent read found that a reset stated a wrong count of bytes sent. This is corrected, with a test.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/quic_echo.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;A QUIC connection carries several streams&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A QUIC server answers on the network</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-quic-server.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-quic-server"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Shown"/>
<summary>The program quic_echo listens on the UDP port 4433 and writes back each stream that a client sends.</summary>
<content type="html">&lt;p&gt;The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/quic_echo/&quot;&gt;&lt;code&gt;quic_echo&lt;/code&gt;&lt;/a&gt; listens on the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/network/#term-udp-port&quot; title=&quot;A UDP port is the 16-bit number of UDP that names one endpoint at an address.&quot;&gt;UDP port&lt;/a&gt; 4433 and writes back each stream that a client sends. QUIC is a library in the program. &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/quic_echo/&quot;&gt;&lt;code&gt;quic_echo&lt;/code&gt;&lt;/a&gt; makes its key at its start and shows its public key in its window: a client &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/code/#term-pin&quot; title=&quot;A pin is the tree hash that a declaration input resolved to, with the identity of its state in its format, kept in pins.lex of the source tree of a project or in a plan.&quot;&gt;pins&lt;/a&gt; that key. &lt;code&gt;kerneltool test quic&lt;/code&gt; runs a client of the host against it: 1 MiB each way, the same with loss, 8 clients, a wrong &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/quic/#term-pinned-key&quot; title=&quot;The pinned key is the one public key that the caller of a TLS client gives it as the key of the server: the client refuses any other key.&quot;&gt;pinned key&lt;/a&gt; and a flood of 1000 forged packets. &lt;code&gt;kerneltool test quic-real&lt;/code&gt; runs the QUIC client of OpenSSL 3.6.5, &lt;code&gt;openssl s_client -quic&lt;/code&gt;, against &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/quic_echo/&quot;&gt;&lt;code&gt;quic_echo&lt;/code&gt;&lt;/a&gt;, and checks the echo and the pinned key. In the machine tests of the step, the first test made 19 checks and the second 9.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/quic_echo.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;A QUIC server answers on the network&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A named principal, unlocked by its passphrase</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-principals.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-principals"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Shown"/>
<summary>The machine is principal 0, and the record of the root service holds the measure of the system when the boot program measured it.</summary>
<content type="html">&lt;p&gt;The machine is principal 0, and the record of the root service holds the measure of the system when the boot program measured it. The console now creates a named principal with &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-principal-create&quot;&gt;&lt;code&gt;principal_create(&amp;quot;alice&amp;quot;)&lt;/code&gt;&lt;/a&gt;. Its passphrase is typed two times in the window of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/unlock/&quot;&gt;&lt;code&gt;unlock&lt;/code&gt;&lt;/a&gt;, as dots, and never in the console. Argon2id with 19 MiB derives the key that seals its two secret keys. A wrong passphrase gives another key, and the seal does not open. A program that the desktop starts during the session belongs to the principal, and &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/notes/&quot;&gt;&lt;code&gt;notes&lt;/code&gt;&lt;/a&gt; there has a store of its own, apart from the store of &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/notes/&quot;&gt;&lt;code&gt;notes&lt;/code&gt;&lt;/a&gt; of the machine. &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/console/#command-lock&quot;&gt;&lt;code&gt;lock()&lt;/code&gt;&lt;/a&gt; stops the programs of the session, and the note is there again after the unlock and after a restart. No TPM seals the key yet: the passphrase alone protects it.&lt;/p&gt;
</content>
</entry>
<entry>
<title>An unmap gives its page tables back</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-page-tables-return.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-page-tables-return"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Fixed"/>
<summary>A page table that a mapping made now returns to the budget that paid for it when the last mapping in it ends.</summary>
<content type="html">&lt;p&gt;A page table that a mapping made now returns to the budget that paid for it when the last mapping in it ends. Before, the table stayed until the program ended. A program that maps at many addresses, as the loader that starts each child does, lost one page for each 2 MiB that it ever used. The budget of a parent is now the same before the start of a child and after its end. An &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-uncommitted-object&quot; title=&quot;An uncommitted object is a memory object made with the flag Uncommitted: its budget pays only its frame list, and each page is paid when it is committed.&quot;&gt;Uncommitted object&lt;/a&gt; of 1 GiB keeps 0 pages after its unmap, where it kept 513. The program address_space checks it at three levels of the table, for a reservation, for a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/access/#term-large-page&quot; title=&quot;A large page is a page of 2 MiB: one entry of the second level of a page table.&quot;&gt;large page&lt;/a&gt;, and while another thread uses a page of the same table.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The mark of the system is a heron</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-mark.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-mark"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Decided"/>
<summary>The system has a mark: a heron of square cells on a grid of 24 by 24, each part filled with one gradient, and the name modus under it.</summary>
<content type="html">&lt;p&gt;The system has a mark: a heron of square cells on a grid of 24 by 24, each part filled with one gradient, and the name modus under it. The mark is data in &lt;code&gt;support/mark&lt;/code&gt;, and &lt;code&gt;kerneltool logo&lt;/code&gt; writes its files in &lt;a href=&quot;https://github.com/sachahjkl/modus/blob/54b63fbd8d6d2f5ddbb5a2600c0a5bc4822de816/resources/logo&quot;&gt;&lt;code&gt;resources/logo&lt;/code&gt;&lt;/a&gt;, on a dark and on a light background. The file of the mark at 1024 by 1024 pixels has 16 KiB with its compression, in place of 3 MiB with none.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/modus.png&quot; width=&quot;1024&quot; height=&quot;1024&quot; alt=&quot;The mark of modus: a heron of square pixels that stands on one leg in water, a blue body, a pale neck, an orange beak and a violet crest and tail, above the name modus in square letters&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>Windows name things in B612 and show values in Paper Mono</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-interface-two-fonts.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-interface-two-fonts"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Shown"/>
<summary>The elements of the interface now draw in two fonts.</summary>
<content type="html">&lt;p&gt;The elements of the interface now draw in two fonts. A text that names or explains is in B612: a card title, a label, a button, a line of a list. A value is in Paper Mono: a number, a typed text, a cell of a table. Each window that uses the interface library takes the rule with no change of its code. Measured in the machine, one &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/desktop/#term-whole-frame&quot; title=&quot;A whole frame is a picture of a window that reaches the screen complete: the screen never shows a picture that a process is drawing.&quot;&gt;whole frame&lt;/a&gt; of the window of the elements: 264 us in one font, 328 us in two, at a host load above 10. The bar, the menus and the title bars stay in Paper Mono for now.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/interface_elements.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The interface package: each element live, the draw table of the last frame, the damage by difference&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The heron is in the bar and on the boot display</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-heron-in-the-bar.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-heron-in-the-bar"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Shown"/>
<summary>The mark of the system is a heron of square pixels.</summary>
<content type="html">&lt;p&gt;The mark of the system is a heron of square pixels. The bar of the desktop now shows it at its left end. The boot display shows it in its head, beside the name. The picture is drawn from one table of 24 by 24 cells, the same table that &lt;code&gt;kerneltool logo&lt;/code&gt; reads.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/desktop.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The desktop: console, life, monitor and plasma. The title bar of the window in front goes from blue to a darker blue; the others are quiet&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>Programs can use AVX, and a kernel entry is faster</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-extended-state.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-extended-state"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Measured"/>
<summary>The kernel now saves the vector registers of a program with xsave, so a program can use AVX.</summary>
<content type="html">&lt;p&gt;The kernel now saves the vector registers of a program with &lt;code&gt;xsave&lt;/code&gt;, so a program can use AVX. The kernel saves and restores them only when a processor changes thread. The kernel itself holds no vector instruction, and the build disassembles the kernel to prove it. Measured under QEMU with KVM on a Ryzen 7 5800X, one thread that enters the kernel in a loop, two runs: 8 063 360 and 8 359 466 entries in one second. The step before made 5 669 546 and 5 613 013. AVX-512 is not tested: the host has none.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/extended_state.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The extended state of each thread: more threads than processors hold every ymm or zmm register, the x87 stack and MXCSR across kernel entries, one square for each register; and the cost of one empty kernel entry with xmm, ymm and zmm in use&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A fault handler gets every kind of fault, not page faults only</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-every-fault-kind.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-every-fault-kind"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Shown"/>
<summary>A program can name a fault handler thread for the kinds of fault that it wants: a divide error, an invalid opcode, a protection fault, a breakpoint, a floating-point error, a page fault.</summary>
<content type="html">&lt;p&gt;A program can name a fault handler thread for the kinds of fault that it wants: a divide error, an invalid opcode, a protection fault, a breakpoint, a floating-point error, a page fault. A fault of such a kind of another thread becomes a record with its kind and its error code, and the thread waits for an answer. After a breakpoint, the answer Resume lets the thread go on after the int3. After a fault other than a page fault, the kernel refuses Resume: the thread would run the same instruction again and fault again forever. The answer Stop stops the program with the report of the fault. A handler that names no kind gets page faults only. The test program fault_ring has 19 cases now, each in its own child program.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/fault_ring.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The fault ring: a fault of a thread becomes a record for a handler thread of the process, which commits the page or gives Write back and lets the thread go on, lets it go on after a breakpoint, or stops the process with the report of a divide error; then a thread stopped, its registers read and written, and resumed; 36 cases, in child processes&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The documentation has one door</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-docs-home.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-docs-home"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Shown"/>
<summary>The site has one section Docs.</summary>
<content type="html">&lt;p&gt;The site has one section Docs. Its first page has a &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-search-field&quot; title=&quot;The search field is the one field of a page of the site where a reader types a search.&quot;&gt;search field&lt;/a&gt; over the whole site, the list of every guide with one line that says what it holds, and the list of every &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/project/#term-reference-table&quot; title=&quot;A reference table is a page of the site that the tool generates from the code or the files that define a thing: what exists in this build, each row with a link to its source line.&quot;&gt;reference table&lt;/a&gt; with its count. A chart shows how many entries of each kind the search can find. While a person types, the chart shows how many entries of each kind match, and a press on a row keeps the results to that kind. Each old address of the site leads to its new one.&lt;/p&gt;
</content>
</entry>
<entry>
<title>The console shows code in colors</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-console-code-colors.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-console-code-colors"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Shown"/>
<summary>The console now colors the code that a person types.</summary>
<content type="html">&lt;p&gt;The console now colors the code that a person types. Functions, types, texts, numbers and punctuation each have a color, from one table of the system. The completion list colors its signatures in the same way. A name that the console does not know is marked once the person has typed past it. The chosen row of a list has a stronger background, so its text stays readable.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/console_completion.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The completion list of the console: &amp;quot;mcnt&amp;quot; matches monitor.count by a fuzzy match, the matched letters lit, each name with what it is and its signature&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The boot display names the files of the boot image</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-12-boot-image-card.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-12-boot-image-card"/>
<published>2026-11-12T00:00:00Z</published>
<updated>2026-11-12T00:00:00Z</updated>
<category term="Shown"/>
<summary>The card of the boot image on the boot display now names files.</summary>
<content type="html">&lt;p&gt;The card of the boot image on the boot display now names files. A strip shows the size of each file, grouped by kind. Under it, each kind has its count, its size and the names of its largest files, each name whole. A line says how many files the boot program verified. When a file fails its check, the card names that file in red.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/boot_secure_boot.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The boot display names the files of the boot image&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The text of the system is a vector font</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-11-vector-font.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-11-vector-font"/>
<published>2026-11-11T00:00:00Z</published>
<updated>2026-11-11T00:00:00Z</updated>
<category term="Shown"/>
<summary>Every window, the console, the terminal and the boot display draw their text with a vector font, with subpixel bands, blended in linear light.</summary>
<content type="html">&lt;p&gt;Every window, the console, the terminal and the boot display draw their text with a vector font, with &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-subpixel-band&quot; title=&quot;A subpixel band is one of the three color stripes of a pixel of the screen, red, green and blue side by side, for which the vector font has a coverage of its own.&quot;&gt;subpixel bands&lt;/a&gt;, blended in linear light. The first font was JetBrains Mono. The font is monospace on the grid of 8 by 16 pixels, so no window changes its size. The build draws each character 32 to 126 at three scales into one glyph cache of 390 624 bytes in the boot image. One glyph from the cache takes 309 ns, against 35 ns for Spleen 8x16, in the machine of the test. The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/settings/&quot;&gt;&lt;code&gt;settings&lt;/code&gt;&lt;/a&gt; changes the font to Spleen 8x16 and back while every program runs. The picture compares six candidate fonts.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/font_candidates.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;Six candidate fonts beside Spleen 8x16, each drawn in fixed point through the face of the cells, and a word of each enlarged&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>Every program gets versions of its data</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-11-storage-versions.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-11-storage-versions"/>
<published>2026-11-11T00:00:00Z</published>
<updated>2026-11-11T00:00:00Z</updated>
<category term="Shown"/>
<summary>The storage service keeps the state of an object before each change, with no save action and no code in the program.</summary>
<content type="html">&lt;p&gt;The storage service keeps the state of an object before each change, with no save action and no code in the program. In &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/notes/&quot;&gt;&lt;code&gt;notes&lt;/code&gt;&lt;/a&gt;, Up and Down step through the versions of the note, with the date of each, and Enter restores the version shown. The note before a restore stays a version. From the console or from the host, a person lists the versions of an object, reads one, compares two and restores one. In the main machine test, one commit of the note took 3778 us in the mean of 8. When a store reaches its limit of blocks, the service removes the oldest versions first.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/notes_versions.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;Every program gets versions of its data&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The settings are kept across a stop</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-11-settings-kept.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-11-settings-kept"/>
<published>2026-11-11T00:00:00Z</published>
<updated>2026-11-11T00:00:00Z</updated>
<category term="Shown"/>
<summary>The font, the order of the color stripes, the pointer theme and the grid fit of the text are kept in the store of the program settings.</summary>
<content type="html">&lt;p&gt;The font, the order of the color stripes, the pointer theme and the grid fit of the text are kept in the store of the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/settings/&quot;&gt;&lt;code&gt;settings&lt;/code&gt;&lt;/a&gt;. They come back at the next boot. A loss of power during a change gives the old settings or the new ones, never a mix. The settings are one record of 48 bytes, and a change writes the record in one commit before it changes the &lt;a class=&quot;term&quot; href=&quot;../docs/reference/glossary/text/#term-settings-page&quot; title=&quot;The settings page is the one page of memory that holds the current value of each setting, which each process with a surface reads.&quot;&gt;settings page&lt;/a&gt;. Before this release, a stop of the machine lost the settings.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/settings_kept.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The settings are kept across a stop&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The same source gives the same bytes on all threads of the compiler</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-11-same-bytes.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-11-same-bytes"/>
<published>2026-11-11T00:00:00Z</published>
<updated>2026-11-11T00:00:00Z</updated>
<category term="Measured"/>
<summary>The hash of a module is its identity, so one source must give one module.</summary>
<content type="html">&lt;p&gt;The hash of a module is its identity, so one source must give one module. In the release 0.59.0, the threads of the compiler changed the order of the declarations, and a module could differ from one build to the next; a patch of the compiler corrected it. With the release dev-2026-11a of Odin, the compiler runs on all its threads with no patch. &lt;code&gt;kerneltool repeat all 20&lt;/code&gt; built each module 20 times, with one compiler thread for each of the 16 processors of the host, at a host load of 24 to 42. Each of the 64 modules gave one module, one LLVM IR file and one object, and the boot program gave one file. Each &lt;code&gt;kerneltool check&lt;/code&gt; builds everything two times and compares the bytes.&lt;/p&gt;
</content>
</entry>
<entry>
<title>Paper Mono is the font of the system</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-11-paper-mono.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-11-paper-mono"/>
<published>2026-11-11T00:00:00Z</published>
<updated>2026-11-11T00:00:00Z</updated>
<category term="Decided"/>
<summary>Paper Mono is now the monospace font of the system.</summary>
<content type="html">&lt;p&gt;Paper Mono is now the monospace font of the system. The console, the terminal and every window now draw their text in Paper Mono, in place of JetBrains Mono. The grid stays 8 by 16 pixels. The titles of the cards are in Paper Mono SemiBold. Paper Mono is under the SIL OFL 1.1. In the same release, a glyph of the vector font over a plain background takes 109 ns in place of 181 ns on the host, the least of many runs, with the same pixels.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/font_vector.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The text of the system is a vector font with subpixel bands (Paper Mono by default); the process settings changes it to Spleen 8x16 and back while every window runs&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>An HTTP server in the system answers the host</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-11-http-server.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-11-http-server"/>
<published>2026-11-11T00:00:00Z</published>
<updated>2026-11-11T00:00:00Z</updated>
<category term="Shown"/>
<summary>The program server is an HTTP/1.1 server.</summary>
<content type="html">&lt;p&gt;The program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/server/&quot;&gt;&lt;code&gt;server&lt;/code&gt;&lt;/a&gt; is an HTTP/1.1 server. Its TCP is a library in the program, since the release 0.48.0. It keeps connections open, answers pipelined requests in order, and answers &lt;code&gt;HEAD&lt;/code&gt;. Its pages are in its private store, and &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/server/#export-put&quot; data-declaration-card=&quot;declaration-20717&quot; aria-describedby=&quot;declaration-20717-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;server.put&lt;/code&gt;&lt;/a&gt; and &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/server/#export-remove&quot; data-declaration-card=&quot;declaration-20718&quot; aria-describedby=&quot;declaration-20718-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;server.remove&lt;/code&gt;&lt;/a&gt; change them from the console. The machine test fetches its pages with the TCP of the host, through QEMU user networking, a stack that this project did not write. In the machine test of the release, with a new connection for each request, &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/server/&quot;&gt;&lt;code&gt;server&lt;/code&gt;&lt;/a&gt; answered 239 to 250 requests in one second, and &lt;code&gt;GET /hello&lt;/code&gt; from the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/fetch/&quot;&gt;&lt;code&gt;fetch&lt;/code&gt;&lt;/a&gt; took 2.7 ms.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/server_real.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;A simple HTTP/1.1 server: keep-alive, pipelining, HEAD and each refusal status, the pages of its private store that the console puts with server.put; the connections and the last requests, live&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>A failed call names each thing that went wrong</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-11-error-details.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-11-error-details"/>
<published>2026-11-11T00:00:00Z</published>
<updated>2026-11-11T00:00:00Z</updated>
<category term="Shown"/>
<summary>An export can now give each thing that went wrong in a call, not only the first.</summary>
<content type="html">&lt;p&gt;An export can now give each thing that went wrong in a call, not only the first. The caller gives an optional table of error records, and the export writes one record for each fault. A caller with no table gets the one error record of before. &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/monitor/#export-counts-named&quot; data-declaration-card=&quot;declaration-28668&quot; aria-describedby=&quot;declaration-28668-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;monitor.counts_named&lt;/code&gt;&lt;/a&gt; names each row of its argument that names no count. The console and &lt;code&gt;kerneltool call&lt;/code&gt; print each detail on its own line after the error. In the check of the step, a call from the host printed &amp;quot;detail 2 of 2: monitor.counts_named: row 3 of the argument names names nothing that exists&amp;quot;. The cost for a caller is not measured.&lt;/p&gt;
</content>
</entry>
<entry>
<title>A module of cryptography for every program</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-11-cryptography-module.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-11-cryptography-module"/>
<published>2026-11-11T00:00:00Z</published>
<updated>2026-11-11T00:00:00Z</updated>
<category term="Shown"/>
<summary>The module cryptography gives ChaCha20-Poly1305, AES-128-GCM, SHA-256, HMAC, HKDF, X25519 and Ed25519 to each program.</summary>
<content type="html">&lt;p&gt;The module &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/cryptography/&quot;&gt;&lt;code&gt;cryptography&lt;/code&gt;&lt;/a&gt; gives ChaCha20-Poly1305, AES-128-GCM, SHA-256, HMAC, HKDF, X25519 and Ed25519 to each program. Its code is taken from &lt;code class=&quot;code-inline&quot;&gt;core&lt;span class=&quot;c-p&quot;&gt;:&lt;/span&gt;crypto&lt;/code&gt; of Odin, and &lt;code&gt;kerneltool cryptography-origin&lt;/code&gt; proves that each taken file is its origin with the listed changes only. A tag or a signature that does not verify is an error, and the caller gets no byte of the text. On the machine, the program &lt;a class=&quot;reference&quot; href=&quot;../docs/reference/modules/cryptography_vectors/&quot;&gt;&lt;code&gt;cryptography_vectors&lt;/code&gt;&lt;/a&gt; runs the vectors of the standards through the module: 7 of 7 pass. The seal of 1200 bytes with ChaCha20-Poly1305 takes 2.4 us, about 490 MB/s, in the mean of 100 calls at a host load of about 20.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/cryptography_vectors.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;A module of cryptography for every program&quot;&gt;&lt;/p&gt;</content>
</entry>
<entry>
<title>The console completes names with a fuzzy match</title>
<id>https://github.com/sachahjkl/modus/blob/master/news/2026-11-11-console-completion.md</id>
<link rel="alternate" type="text/html" href="https://modus.systems/news/#news-2026-11-11-console-completion"/>
<published>2026-11-11T00:00:00Z</published>
<updated>2026-11-11T00:00:00Z</updated>
<category term="Shown"/>
<summary>While a person types in the console, a list under the line shows the names that match: the commands, the exports, the services, the variables and the modules.</summary>
<content type="html">&lt;p&gt;While a person types in the console, a list under the line shows the names that match: the commands, the exports, the services, the variables and the modules. The match is fuzzy: the typed characters appear in the name in their order, so &lt;code&gt;mcnt&lt;/code&gt; finds &lt;a class=&quot;declaration-reference&quot; href=&quot;../docs/reference/modules/monitor/#export-count&quot; data-declaration-card=&quot;declaration-28667&quot; aria-describedby=&quot;declaration-28667-summary&quot;&gt;&lt;code class=&quot;value value-procedure value-icon&quot;&gt;monitor.count&lt;/code&gt;&lt;/a&gt;. The list lights the matched characters and gives the signature of each name at its right. Tab or Enter takes a name. The history of the console keeps 256 lines, and Control-R searches them with the same match. One key reads at most 4096 names, with at most 320 steps for each name. The time of one key is not measured in this release.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://modus.systems/pictures/console_completion.png&quot; width=&quot;1920&quot; height=&quot;1080&quot; alt=&quot;The completion list of the console: &amp;quot;mcnt&amp;quot; matches monitor.count by a fuzzy match, the matched letters lit, each name with what it is and its signature&quot;&gt;&lt;/p&gt;</content>
</entry>
</feed>
