AGENTS.md files as they were on 2026-11-13, before they were simplified.
Sources (this repository, working tree at 15260ce07): tools/AGENTS.md, tools/vmbuild/AGENTS.md, .claude/AGENTS.md, www/AGENTS.md, ext/AGENTS.md, docs/AGENTS.md, docs/reference/AGENTS.md, docs/logo/AGENTS.md, refs/AGENTS.md.
The old texts are kept whole and verbatim; the rules are in the new files.

################ tools/AGENTS.md

# tools/ -- scripts around the build

All tools are POSIX `sh` (see the root `AGENTS.md`).  Check a script with
`dash -n` before it is used.  You may rewrite anything here freely.  The Python
that is left is `vmctl.py` and `vmmon.py`, used by `vmbuild/`; they go when
`vmbuild/` is moved to `vmsh.sh`.

## Build (keep, fix where noted)

- `build-stamp.sh` -- called by `make build|release|iso`.  Hashes the
  repository HEAD, the names of modified/untracked files, and
  `tools/pkgsrc-cross.mk.conf`.  With `-c` (used by `make iso`) it only checks
  and exits 1 with a message when the key changed.  Without it, if the key
  changed it deletes the derived artefacts (releasedir, instkernel, ramdisks,
  kmods).  Consequence: after a source change, `make release` is needed, not
  just `make build` (root `AGENTS.md`, "Building").
- `makronix-set.sh` -- generates the `makronix` set list and METALOG records
  from the installed `/usr/pkg` tree.
- `pkgsrc-cross.mk.conf` -- the pkgsrc cross configuration (mk fragment),
  `X11_TYPE=modular` since 2026-11-09.
- `claude-build-gate.sh` -- PreToolUse hook for Claude Code, wired in
  `.claude/settings.json`.  Refuses the forbidden commands listed in the root
  `AGENTS.md`.  Its pattern match is textual (`claude-build-gate.sh:33-37`):
  a command that names `releasedir` and also contains `rm `, `mv `, `cp `,
  `touch `, `chmod `, `sed -i` or `>` is refused, so a read-only command with
  `2>&1` is refused too.  Defect: it parses the hook's JSON with an inline
  `python3 -c` (lines 11-14), against the `sh` rule; to be rewritten.

## MCDE on the build host

- `mcde-host.sh` (`make mcde-host`, `MCDE_DIRS=install`) -- MCDE for this
  host's own desktop in /usr/mdt, configuration /etc/mdt: the tree copied
  to `build/mcde-host` with the path step of the pkgsrc recipe
  (`/usr/dt`, `/etc/dt`, `/usr/bin/X11` replaced, as its pre-configure
  does -- without it dtsearchpath points the session at /usr/dt and dtwm
  finds no front panel), configure, make; with install `make install` into
  `build/mcde-host-stage` and that over / with sudo rsync.  Replaces the
  hand-run build of 2026-11-11 (`build/logs/mcde-host-install2-2026-11-11.log`).
  `mcde-linux.sh` (`make mcde-linux`) stays the development build into
  `build/mcde-root` for screenshots on Xvfb.

`overlay.sh` and `apply-patches.sh` are deleted: `src/` is tracked, so there is
nothing to sync or patch in.

## VM drivers

- `vm-boot-iso.sh` -- boot an install CD once under QEMU (BIOS or UEFI), keep
  the serial console in a log, stop after N seconds.  Read-only attach.  It
  types nothing.
- `vmsh.sh` (`-c` cpus, `-p` ssh port on localhost) -- a QEMU machine on a serial console, driven from `sh`: `start`
  (CD with `-I`, a raw install image as a USB stick with `-U`, a qcow2 disk, BIOS
  or UEFI, KVM when `/dev/kvm` is writable), `send` (printf format, so `\r`
  works), `wait REGEX [s]` (only output after the last `send`), `since`, `show`,
  `stop`.  The console is a pair of named pipes.  State in `build/vmsession/`.
  sysinst's menus need the letter, a pause, then RETURN.  `VMSH_AHCI=yes`
  selects AHCI instead of PIIX IDE for the BIOS (QEMU 11 lost IDE interrupts
  under heavy writes).  BIOS tested; the `uefi` path has not been run.
- `vm-screendump.sh` -- boot a CD or disk once, with a VGA card, and save the
  screen as a PPM after N seconds; for "the serial console is silent".
- `install-cgd.sh` -- like `install-simple.sh` but encrypts: answers the
  encryption question, types the passphrase at the install and at boot, checks
  `login:`, the set, CDE, root on cgd0a, and that no root file name is readable
  in the raw disk image.  `-f bios|uefi`.
- `install-simple.sh` -- the end-to-end test of the simple installation mode:
  installs from the CD (or, with `-U`, from the USB stick image of `make usb`,
  raw or `.gz`, attached as a USB stick) onto an empty disk with the keys a
  person would press, prints every prompt it had to answer, reboots the disk on
  its own and checks `login:`, the `makronix` set, CDE and the GPT.  Logs in
  `build/logs/`.
- `cd2.sh` -- build the second install CD (`make iso` calls it): `makronix.tar.xz`, its checksums and `cgdroot.kmod`, label MAKRONIX_CD2.
- `cd-com0.sh` -- make a copy of an install CD whose loader talks on `com0`
  (adds `consdev=com0` to `/boot.cfg` with xorriso); everything else, including
  the boot images, stays as built.  For the test VM, where the UEFI loader takes
  a serial port only after a key on it and no key from qemu's serial pipe
  reached it.
- `cd3.sh` -- (no packages on the media while `packages.binary*.list` name none: paused 2026-11-10, X from pkgsrc does not fit the project's binaries) the install CDs after the second (`make iso` calls it): the binary packages, first-fit onto as many CDs as they need (CD 3, CD 4, ...; `CDPKG_LIMIT` to try a smaller CD), and `cd3.sh stage` for the DVD (`build/cd3`, taken in by patch 0008 through `CDBUILDEXTRA`).
- `userland.sh` -- the userland of the `makronix` set in one command: cross-builds `packages.list` here, builds `packages.vm.list` (MCDE, git, X) natively in the build VM; MCDE's archive (`mcde-dist.sh`) and the `ext/` recipes (`ext-sync.sh`) are made and copied into the VM first, packs and unpacks them into the sysroot, writes the set list (`make userland`).  Stops at the first failing step.  Checks that the VM has the same pkgsrc commit (`PINS`).
- `pkg-binaries.sh` -- fetch the NetBSD project's binary packages (firefox, thunderbird, qemu and what they need) for a platform, the lists are `packages.binary*.list` (`docs/BUILD-VM.md`).  Since 2026-11-10 those binaries do not fit (they need X in the base); `userland.sh binaries` (`make binaries`) builds the same lists in the build VM instead, `vm-pkgbuild.sh repo` packs the closure with its `pkg_summary.gz`.  The lists name PKGPATHs now; readers take the last part as the name.
- `vm-pkgbuild.sh`, `vm-pkgcollect.sh` -- build pkgsrc packages natively in the build VM (guest side) and bring them into the sysroot and the `makronix` set (host side).  `vm-pkgbuild.sh` removes an installed package the new one `CONFLICTS` with, and builds the forks of `ext/` (`REBUILD` from `userland.sh`) from a clean work directory every time, replacing the installed version (their archive changes without a new version); `vm-pkgcollect.sh` removes from the sysroot what the previous pack had and this one has not (its list: `build/vmsession/usrpkg.tar.gz.files`).
- `devvm.sh` -- start, stop (cleanly), ssh and scp for the kept build VM (`docs/BUILD-VM.md`).  Hazard: the VM's clock stops while qemu is paused (on 2026-11-10 the host disk ran full and the VM stood "paused (io-error)"); it then lags, the archives unpacked in it are "in the future", and automake regenerates configure in a loop (`build/logs/x-userland-2026-11-11-mcde6.log`: "Makefile.am has modification time 7036 s in the future").  Set it from the host: `DEVUSER=root tools/devvm.sh ssh "date -u $(date -u +%Y%m%d%H%M.%S)"`.  The key `build/vm/id_vm` was made anew on 2026-11-10 (the old one was deleted with the disk); it is in root's and tester's authorized_keys.
- `vmctl.py`, `vmmon.py` -- drive the NetBSD build host VM over its serial
  console and the qemu monitor.  Used by `vmbuild/`.  Replace with `sh`:
  `vmsh.sh` above is the same mechanism (named pipe on the serial line);
  `vmbuild/` has to be moved over to it.
- `vm-boot.cfg` -- `boot.cfg` for the build host's live image, console on
  `com0`.  Not part of the distribution.

## Deleted on 2026-11-06

The Python drivers of the manual cgdroot procedure (`fde-manual.py`,
`fde-test.py`, `fde-console.py`, `fde-key.py`), `install-test.py`,
`boottimeout-probe.py` and the `fde-*.seq` key sequences: the goal is a sysinst
that encrypts by itself (`GOAL.md`), and `install-simple.sh` / `install-cgd.sh`
drive that in `sh`.  They stay in git history.

## Subdirectory

- `vmbuild/` -- see its `AGENTS.md`.

## The source set (msrc)

`docs/OFFLINE-BUILD.md` explains what the set is.  The tools:

- `makronix-distfiles.sh` -- `list`, `fetch`, `check`, `stage DIR`: the
  distfiles of the Makronix packages only (`packages.list` -> closure ->
  `distfiles.lst`), kept in `build/distfiles`.
- `makronix-pins.sh` -- `write`, `check`: `PINS`, the upstream base in
  `src/BASE` and the pkgsrc commit.
- `msrc-stage.sh DIR` -- assembles the content of the set (the tree, pkgsrc
  with its `.git`, the distfiles, the link `src`); `src` itself comes from
  NetBSD's source sets.  `make sourcesets` runs the three and then
  `build.sh sourcesets`.

## Images raw, packed on request (2026-11-08)

`images.sh unpack|pack|sums` keeps the install images of the release directory raw
(`make usb` unpacks after the build; `make compress` packs them) and renews their
lines in `MD5` and `SHA512`.`test.sh`/`install-simple.sh -U` take a raw image as it is.  `mediacheck.sh`,
`test.sh` (`make test`): see their headers.  Writing a stick is not in the tree:
check `lsblk` first (a name that is not a block device makes `dd` write a plain
file into /dev), and read the stick back twice before it goes to a machine; a
flaky USB port gave different sums on every read (2026-11-08).

################ tools/vmbuild/AGENTS.md

# tools/vmbuild/ -- the NetBSD build host

## What this is for

`wm/cde` cannot be cross-built from a Linux host: pkgsrc refuses
`USE_TOOLS+=awk:run` when `OPSYS != NATIVE_OPSYS` (`mk/tools/replace.mk:142`,
root `AGENTS.md`, "Where a Linux build host stops").  So CDE is built inside a
NetBSD amd64 VM that this tree produces itself (`build.sh ... live-image`),
driven over its serial console.  Nothing in pkgsrc and no recipe changes.

`README` here is the step-by-step record of how the host image is built and
booted; read it before running anything.

## What is in it

- `stage1-fetch.sh` .. `stage6-pack.sh` -- run inside the VM, in order: (1)
  take pkgsrc and `mk.conf` from the host's http server (10.0.2.2), (2) the X
  sets from this tree's release directory, (3) bootstrap pkgsrc into
  `/usr/pkg`, (4) the rest of `mk.conf` and the build directories, (5) build
  and install `wm/cde`, (6) pack CDE's runtime closure out of `/usr/pkg`
  (walked over the `@pkgdep` lines in `+CONTENTS`).
- `vm-mk.conf`, `mk-cde.conf` -- `mk.conf` fragments for the build host.
  `mk-cde.conf` is scoped to `wm/cde` (C dialect `gnu11`, GCC 14 diagnostics).

## Rules

- Do not patch pkgsrc to get a package through; a package that cannot build
  here is a finding for the report (root `AGENTS.md`).
- The stage scripts talk to the VM through `tools/vmctl.py`, which is to be
  replaced by `sh`.  Keep the stage interfaces stable when you do.
- `stage6-pack.sh` writes the closure to `/var/tmp/usrpkg.tar.gz` inside the
  VM (line 63).  A copy sits at `build/usrpkg.tar.gz`; how it gets out of the
  VM is not documented here and has not been checked.  Results belong in
  `build/`, never in the tree.
- None of this was re-run in the session of 2026-11-06; the log names in
  `README` point into `build/logs/` and were not checked.

################ .claude/AGENTS.md

# .claude/ -- Claude Code configuration for this tree

- `settings.json` -- permission allow/deny lists and the PreToolUse hook
  (`tools/claude-build-gate.sh`) that enforces the forbidden commands of the
  root `AGENTS.md`.

Rules: this file decides what an AI session may do here.  Change it only when
the user asks, and say what you changed.  Do not weaken the hook to get a
command through; if a legitimate read is refused, put it in a script under
`tools/` instead (root `AGENTS.md`, "Forbidden").  The allow-list entry for
`python3 tools/fde-manual.py` was removed on 2026-11-06 together with the
script (the user asked to delete the leftovers).

2026-11-08: Konrad lifted the sudo ban.  `Bash(sudo:*)` is gone from the deny list
of `settings.json` and sits in the allow list of `~/.claude/settings.json`.  What
stays as a rule, not as a hook: `rpcbind` is never restarted or stopped (his CDE
desktop depends on it), and sudo is for installing host packages and the like,
not for touching the build output.

################ www/AGENTS.md

# www/ -- the website, makronix.hiddenbox.org

## What it is for

The public pages about Makronix.  Static HTML 4.01 Strict and one CSS 2.1
style sheet; no scripts, no generator, no server-side code.  Not deployed yet
(Konrad, 2026-11-09: "erstmal nur lokal").

## What is in it

- `index.html` (home), `download.html` (media, writing a stick),
  `install.html`, `desktop.html` (MCDE), `source.html` (building it yourself).
- `style.css` -- the release palette (Camouflage) as Motif windows and bevels.
- `img/` -- the logo (`docs/logo/camouflage`) and screenshots taken with
  `tools/mcde-shot.sh` (`build/mcde-shots/`).

## Rules

- Every statement on a page is something the tree has measured (a log, a
  test, a file); what is planned says so ("being built").  Media sizes come
  from the release directory of the build the page describes.
- No page names a product that inspired a part of Makronix.
- Check a changed page with `xmllint --html --noout`; keep HTML 4.01 Strict.
- Deploying is a decision of Konrad's; nothing here uploads anything.

################ ext/AGENTS.md

# ext/ -- third-party sources that Makronix ships and changes

## What it is for

`ext/src/<name>/` is an upstream source tree that Makronix owns as a fork,
`ext/src/<name>/pkgsrc/` its pkgsrc recipe, `ext/src/<name>/IMPORT` the record of
where it came from (root `AGENTS.md`, "What belongs where").  A second package
built from the same tree has its recipe in `ext/src/<name>/pkgsrc-<part>/` and
becomes `<category>/<name>-<part>` (`tools/ext-sync.sh`): MCDE's Motif,
`ext/src/mcde/pkgsrc-motif`, is `x11/mcde-motif`.

## What is in it

- `src/mcde/` -- MCDE, the Makronix fork of CDE 2.5.3 (`src/mcde/AGENTS.md`).

## Rules

- The first commit of a tree is the upstream archive and recipe, unchanged, so that
  every change after it is a visible diff.  Import with `git add -f`: upstream
  `.gitignore` files hide files that are in the archive (CDE: 612 of 17826).
- An update to a newer upstream is a merge of that upstream onto the fork, with
  `IMPORT` renewed -- never a silent overwrite.
- Nothing here is built by `build.sh`; it is built by pkgsrc from the recipe.
- Makronix/Linux (since 2026-11-11, `mobile/docs/NETBSD-USERLAND.md`): what
  neither `src/` nor pkgsrc has -- glibc, kmod, udev, the Qualcomm daemons
  -- is built LFS-style from upstream.  Such a tree has `ext/src/<name>/mx/`
  instead of `pkgsrc/`: our recipe, a NetBSD-style Makefile that the
  Makronix/Linux build runs (no pkgsrc).  `IMPORT` says `recipe mx/` and
  names the LFS chapter it follows, if any.  The import rules above hold
  the same: the archive unchanged first, its signature checked and named.

################ docs/AGENTS.md

# docs/ -- binding rules and saved reading

## What is in it

- `BUILD-CONTRACT.md` -- binding (German).  The one way to build, the three
  sections every task card needs (measurable done, evidence, sources), the
  reviewer's duty to rerun, "docs before code", no status prose.
- `reference/` -- what upstream documentation says, saved with source and
  date (see its `AGENTS.md`).

## Rules

- `BUILD-CONTRACT.md` is a contract, not a log.  Change it only when the user
  asks.  Known stale parts, to be rewritten with the user:
  - section 6 defines "done" by the encrypted-root chain through
    `boot-com.iso`; the goal is now in `GOAL.md` (a sysinst that encrypts);
  - sections 1 and 6 name `make release` followed by the ISO; the measured
    order for a medium is `make release ARCH=amd64`, `make iso`
    (root `AGENTS.md`, "Building").
- Status, handoffs and "state of the world" documents do not live here.  They
  go stale within a day and then mislead; one such file (a handoff dated
  2026-11-05) held three wrong claims and was deleted on 2026-11-06.  What is
  durable goes into the `AGENTS.md` of the directory it concerns, with a log
  line as evidence.

- `UPDATING.md` -- how a Makronix system is updated: packages, base, the gap for an encrypted system (the kernel on the boot partition).  What is set up and what is not measured.
- `BUILD-VM.md` -- the kept build VM (made from the DVD with sources, `tools/devvm.sh`), how to stop it, what was measured about it.
- `OFFLINE-BUILD.md` -- the source sets (`make sourcesets`, `make isosrc`), what
  `msrc` carries, where it lands, which distfiles, what is proven.

- `NEXT.md` -- a dated work plan for the next session (written 2026-11-09 for a hand-over).  It is
  an exception to the rule above because it carries a date and a delete-when-done rule: whoever
  finishes an item strikes it, and an empty file is removed.

################ docs/reference/AGENTS.md

# docs/reference/ -- documentation read before changing something

The rule from the root `AGENTS.md`: read the documentation first, save what
you read here, with source and date, and quote the sentence that settled the
question.  One topic per file, `<topic>.txt`.

## Files

- `boot-cfg-timeout.txt` -- how the `boot.cfg` timeout reaches a medium
  (source: tree, import `e523df740`, read 2026-11-04).  Basis of patch 0007.
- `install-image-boot.txt` -- what the amd64 install image writes into itself
  at boot (tree, read 2026-11-04).
- `installcd-console-and-cgd-boot.txt` -- `installboot(8)` console option and
  the cgd boot path (tree, read 2026-11-05).  Basis of patch 0008.
- `cgdroot-guide.txt` -- the NetBSD wiki page on encrypted root, text
  extracted (wiki.netbsd.org/security/cgdroot, fetched 2026-11-05).
- `make-release-build.md` -- `src/BUILDING` on `release` (read 2026-11-05).
- `qbootctl.txt` -- where a Qualcomm ABL phone keeps its A/B slot state in
  the GPT, from linux-msm/qbootctl (GitHub, commit 39a6e6d, fetched
  2026-11-07).  Basis of `mobile/soc/sm8150/rootfs/usr/bin/qcom-ab-slot`.
- `cgdroot-tree.txt` -- the encrypted-root machinery the NetBSD tree already
  carries (cgdroot.rc, the miniroot module, what is on the CD), tree and ISO
  read 2026-11-06; its last section lists what is still unread.
- `cgdroot-design.txt` -- boot.cfg `load`, the `NAME=cgd.conf` mount, the
  gpt/cgdconfig calls, and the design of the encrypted install in sysinst
  (tree, read 2026-11-06); its last section lists what the test must decide.
- `cde-colours.txt` -- slot 5 of Default.dp is the window colour, measured on a
  running CDE (2026-11-06); the other slots are not mapped.
- `sysinst-survey.txt` -- what sysinst already does about colours, whole-disk
  install and cgd, with file:line (tree, read 2026-11-06; a first pass with
  grep, the "Not yet read" list at its end is what is still open).

## Caveats

- These are records of what was read, not of what is true now.  A conclusion
  that went into a patch no longer in `patches/src/` (the cgdroot ones) is
  history; the quoted sentences from upstream remain valid.
- The cgdroot guide says sysinst does not support an encrypted root.  That is
  a statement about the wiki on its date, to be checked against
  `src/usr.sbin/sysinst` before the sysinst fork designs around it
  (`GOAL.md`, "Offen").
- Add a file for every area before you change it; do not paraphrase from
  memory.

################ docs/logo/AGENTS.md

# docs/logo -- the Makronix logo

- `makronix.svg` -- the logo (2026-11-08, Konrad: "oldschool 90s"): a bevelled
  Motif tile in CDE blue-violet with a chrome M, a perspective grid, an orange
  swoosh and a sparkle; the word MAKRONIX in chrome italic; "BASED ON NETBSD  ·  0.99.9".
- `makronix.png` -- the same, 1140x420, rendered by Firefox headless.

The letters are text in the SVG, set in Arial Black (fallbacks Helvetica Neue,
Impact): a machine without those fonts draws another bold sans.  Turn the text
into outlines before the logo goes on a medium or a web page.

Render: `firefox --headless --no-remote --profile <empty dir> --screenshot out.png
--window-size=1140,420 file://.../makronix.svg` (ImageMagick's own SVG renderer
ignores `fill="none"` and is not used; chromium crashed here).

May be changed: the colours, the layout.  The word stays "Makronix", and the
logo does not carry the NetBSD flag: "based on NetBSD" is text.

## The other forms (2026-11-08)

- `makronix-square.svg` -- the tile alone, 340x340, no drop shadow: where the
  logo must be a square.  PNGs of it: `makronix-square-340.png` (as rendered),
  `-239.png`, `-128.png`, `-64.png` (Lanczos from the 340), and
  `-1080.png`, rendered from the SVG at 1080x1080 by Firefox headless (an
  HTML page with the SVG as an <img> of 1080x1080, `--window-size=1080,1080`)
  -- the boot logo of the phone (`mobile/devices/hotdogb/device.conf`
  KERNEL_LOGO; the kernel build quantises it to 224 colours).
- `Makronix.pm` -- the 239x239 square as XPM, 182 colours, made for CDE's
  `dtlogin`: the same size as the `Dtlogo.pm` that CDE installs in
  `/usr/pkg/dt/appconfig/icons/C/`.  NOT wired in yet: dtlogin takes its logo
  from the resource `Dtlogin*logoFilename` of its Xresources; the file has to go
  into the `makronix` set and the resource has to be set.  Not tested.
- `makronix.txt` -- the logo in 7-bit ASCII, 64 columns, 7 lines; `makronix-small.txt`
  -- one line.  Both are the output of `tools/logo-ascii.sh` (`-s` for the small
  one); not carried by any medium yet.

## Release themes (2026-11-08)

A release is named after a CDE palette and looks like it (GOAL.md).  The files
above are the reference in the house blue-violet and the template of the
theming: `tools/theme-logo.sh PALETTE.dp NAME OUTDIR` swaps the tile, bevel,
grid, chrome, outline and swoosh colours for ones derived from the palette
(slot 5 the window colour, slot 3 the accent).  `camouflage/` is the logo of
0.99.9 "Camouflage": the wide logo, the square one as SVG, a 239x239 PNG and
`Makronix.pm` (XPM for dtlogin).  "BASED ON NETBSD" carries no version number: the
number is the Makronix version, and it is not on the logo.

################ refs/AGENTS.md

# refs/ -- upstream sources to read and port from

## What is in it

- `openbsd/src/` -- the OpenBSD source tree (official GitHub mirror), shallow,
  one commit.  For reading and porting drivers and kernel code.
- `netbsd/src/` -- the NetBSD source tree, trunk, shallow.  Upstream, to
  compare against our `src/` fork; never a build input.
- `linux/7.0.0/` -- the one shared Linux tree; `mobile/kernel/PIN` names its
  commit (`KERNEL_REF`), and `mobile/tools/fetch-kernel.sh` clones it locally
  and applies `mobile/kernel/patches/` on top.  Shallow, detached at the pin.
  For reading and porting drivers and filesystems (ext4, jbd2).

Both are git submodules, pinned by the parent repository's gitlink.  The
`.gitmodules` entries carry `shallow = true`.

## Rules

- These trees are **read-only sources**.  The desktop build never reads them;
  `mobile/` clones the Linux tree into `mobile/build/` (hardlinks, no network)
  and applies its patches there, so the source of truth stays here.
- **Do not edit them.**  An imported change is a patch under `patches/src/`
  (desktop) or `mobile/kernel/patches/` (phone); the reference tree stays at
  the upstream commit.  `git -C refs/... status` must stay clean.
- **Do not commit inside the submodules.**  A pin is moved by updating the
  gitlink in the parent repository, together with the `PIN`/`IMPORT` record
  and the measurement that justifies it.
- Licences stay as upstream: OpenBSD ISC/BSD, Linux GPL-2.0.  Every import
  taken from here is recorded in `docs/LICENSING.md` and `docs/IMPORTS.md`
  (see the plan `.hermes/plans/2026-11-09_225400-ext4-nativ-im-netbsd-kernel.md`,
  sections 10 and 11).
- The Linux tree is the **mobile** pin.  It is not a second kernel for the
  desktop; it exists so a driver or format can be read in the version the
  phone actually runs.
