Skip to content

02_OS v2026.11.21-rc1 (VM-Tested Prerelease)

Pre-release
Pre-release

Choose a tag to compare

@csy20 csy20 released this 21 Nov 14:37
· 0 commits to master since this release

02_OS v2026.11.21-rc1 — VM-Tested Security & LUKS2 Prerelease

Prerelease / Hardware Gate Notice: This image is a VM-tested prerelease built from clean commit a54ece1e48db86cf3d7b474ee386c6cc60859b1e. It has passed automated unit/integration suites, full UEFI + ext4 + systemd-boot VM regression checks, a live installed-guest Chrome/Brave update workflow, and a separate UEFI + ext4 on LUKS2 + systemd-boot VM validation. Bare-metal daily-driver status remains NO-GO until this exact ISO passes a supervised spare-drive hardware pilot (Wi-Fi, audio, graphics, suspend/resume, and development workflow).


Build Provenance & Checksum

Field Value
Tag v2026.11.21-rc1
Source Commit a54ece1e48db86cf3d7b474ee386c6cc60859b1e
Base (master) cf28641
ISO Filename 02_OS-2026.11.21-x86_64.iso (3.3 GiB)
ISO SHA-256 50bfbc97edc8a02ce6351f4e826f819d8c1ccf692a5e9468c8c58c9cc5ded250
Shipped Kernel linux 7.3.5-arch1-1
Shipped Desktop gnome-shell 51.1-1, mutter 51.1-1, gdm 51.1.1-1, plymouth 26.134.222-3
Shipped Installer archinstall 4.5-1
Shipped SQLite 3.54.1 (bundled via rusqlite 0.41.1 / libsqlite3-sys 0.39.1 in 02 & 02-agentd; system sqlite 3.54.1-1)
Shipped Browsers google-chrome 158.0.8127.36-1, brave-bin 1.100.58-1 (pinned GPG/SHA-256 verified vendor DEBs)

Security & Dependency Changes Included Since cf28641

  1. 6e29db8 — F1–F3 Security Fixes (fix(security): omit raw telemetry args, harden sudoers.d perms, and enforce 02agent mcp parity)
    • F1 (Telemetry & Approval Binding): Completed tool telemetry writes '' to tool_invocations.args_canonical (no raw tool arguments or secrets persisted in index.sqlite) while hashing exact canonical arguments into args_hash. Pending approvals bind strictly to exact intended args_hash + constant-time confirmation_nonce, rejecting mutated/redacted hashes and single-use replay, and scrubbing args_canonical on consume.
    • F2 (Live /etc/sudoers.d Hardening): Added ["/etc/sudoers.d"]="0:0:750" to profile/profiledef.sh, eliminating the mkarchiso/pacstrap permission drift warning and preventing unprivileged users from listing /etc/sudoers.d.
    • F3 (02 mcp / 02agent mcp Policy Parity): Hardened 02-agentd peer_is_mcp_server (SO_PEERCRED fail-closed on pid <= 0, /proc/<pid>/cmdline + /proc/<pid>/exe basename checks) so 02 mcp and 02agent mcp enforce identical stdio and daemon/decide security policies.
  2. a54ece1 — Bundled SQLite CVE-2026-119375 (fix(deps): upgrade bundled SQLite via rusqlite 0.41.1 for CVE-2026-119375)
    • Upgraded rusqlite to 0.41.1 (libsqlite3-sys 0.39.1, bundled SQLite 3.54.1), clearing RUSTSEC-2026-0459 / CVE-2026-119375.
    • Exposed sqlite_version in 02 --json doctor / 02 doctor and added regression tests.
    • Deferred item: os-release pacman hook remains deferred out of this release.

Verification Summary (All Run Against Exact SHA-256 50bfbc97...)

1. Pre-Build & Host Suites

  • cargo fmt --all --check: PASS
  • cargo clippy --offline --locked --workspace --all-targets -- -D warnings: PASS
  • cargo test --locked -p agent-index -p agent-memory: PASS (62 passed, 0 failed)
  • cargo test --locked --workspace: PASS (158 passed, 0 failed, 2 ignored documented timing samples)
  • AGENT_BINARY=.../02 python3 -m unittest discover -s scripts/tests: PASS (196 passed, 0 failed)
  • iso-manifest.py verify against a54ece1e48db86cf3d7b474ee386c6cc60859b1e: PASS
  • build.log check: 0 /etc/sudoers.d permission mismatch warnings; OSV audit on Cargo.lock reports 0 SQLite advisories.

2. VM Gate 1 — UEFI + ext4 + systemd-boot (Regression Baseline)

  • Live ISO Boot & Security Audit: PASS
    • /etc/sudoers.d is 750 root:root; /etc/sudoers.d/01-live is 440 root:root.
    • Unprivileged live user denied ls /etc/sudoers.d (Permission denied); live sudo -n id succeeded (uid=0(root)).
    • /usr/bin/02 --json doctor and /usr/bin/02agent --json doctor report "sqlite_version": "3.54.1", "host_kind": "live", "daemon_available": true; ldd confirms no dynamic libsqlite3; strings confirms 3.54.1 in both /usr/bin/02 and /usr/bin/02-agentd.
    • Zero Portal completed cleanly (2.6s); 0 failed system/user units; 02-agentd active; all 6 session GNOME extensions active; PipeWire audio active; 02os-install-browsers --verify-only passed with 4755 root:root sandboxes.
  • Guarded Install & Installed Disk Boot: PASS
    • systemd-boot 262.2-1-arch, entry 02_OS (linux), vda1 FAT32 /boot, vda2 ext4 /, zram0 swap (zstd).
    • /etc/sudoers.d 750 root:root, /etc/sudoers.d/00_02tester 440 root:root, root locked, live user removed, sshd disabled/inactive, live installer files absent.
    • Zero Portal completed cleanly; 02os-check-desktop verified gnome-shell 51.1-1 / mutter 51.1-1; 0 failed system/user units; 02-agentd active; all 6 session extensions (02-agent-status@02os, 02-index-phase@02os, pop-shell@system76.com, dash-to-dock@micxgx.gmail.com, flourish@orsso.github.io, compiz-windows-effect@hermes83.github.com) ACTIVE; PipeWire pw-play audio playback OK; 0600 socket & status.json, 0700 runtime dirs.
    • Installed /usr/bin/02 & /usr/bin/02agent report "sqlite_version": "3.54.1", "host_kind": "installed", no dynamic libsqlite3.
  • F1 Telemetry, F3 Policy Parity & Approval Binding (Installed Guest): PASS
    • F3 Stdio MCP parity: /usr/bin/02 mcp and /usr/bin/02agent mcp returned byte-identical JSON-RPC responses across all 7 test requests (rejecting approve/record_approval, .env reads, outside-workspace access, and executing searches).
    • F1 Completed telemetry: All 4 completed rows in tool_invocations stored args_canonical == '' with 64-hex args_hash; zero raw arguments, markers, tokens, passwords, or PEM data present anywhere in index.sqlite bytes.
    • Approval flow (fixture vs. shipped consumer clearly distinguished):
      • Shipped consumer pre-check: 02 --json approval reported clean initial state (count: 0, pending_count: 0).
      • Fixture test: Seeded a pending row in tool_invocations (since external agt acts as the pending-invocation producer outside 02_OS).
      • Shipped daemon/CLI/extension-contract consumer checks: Shipped 02-agentd daemon/status published the pending row (args_hash + confirmation_nonce, zero raw args) into 0600 status.json; shipped 02 --json approval listed pending_count: 1; shipped 02-agentd rejected daemon/decide identically from real kernel peer processes 02, /usr/bin/02, 02agent, and /usr/bin/02agent (F3); shipped daemon/decide rejected mutated secret hash, redacted hash, mismatched confirmed_hash, and wrong nonce (F1); exact intended args_hash + confirmation_nonce succeeded once (recorded: gnome-guest-1, source: gnome), rejected replay, updated 02 --json approval (pending_count: 0, count: 1), and left args_canonical == '' with zero raw args in index.sqlite.
  • Actual Chrome & Brave Update Workflow (Installed Guest): PASS
    • Resolved live vendor APT metadata via resolve_sources.py with pinned GPG fingerprints + SHA-256 (google-chrome 158.0.8127.36-1, brave-bin 1.100.58).
    • Mode: verified-vendor rebuild pkgrel bump (live upstream versions matched the newly built ISO, so native makepkg packages were rebuilt with incremented pkgrel, indexed with repo-add + manifest.json).
    • Fail-closed tamper check: Corrupting a SHA-256 entry in manifest.json caused /usr/local/bin/02os-install-browsers --repo to fail closed before invoking pacman.
    • Real upgrade transaction: /usr/local/bin/02os-install-browsers --repo upgraded google-chrome (158.0.8127.36-1 -> 158.0.8127.36-2 -> 158.0.8127.36-3) and brave-bin (1.100.58-1 -> 1.100.58-2 -> 1.100.58-3) and passed --verify-only.
    • Post-update & post-reboot verification (after graceful guest shutdown): pacman -Qkk google-chrome brave-bin reported 0 altered files (293 Chrome files, 480 Brave files); both chrome-sandbox binaries retained 4755 root:root; /etc/pacman.conf remained untouched (SigLevel = Required DatabaseOptional, LocalFileSigLevel = Optional, no [02os-browsers]); both upgraded Chrome and Brave launched and rendered in the live Wayland session without --no-sandbox; 0 failed system/user units and SQLite 3.54.1 confirmed after reboot.

3. VM Gate 2 — UEFI + ext4 on LUKS2 + systemd-boot (Separate Disposable VM)

  • Installation & Initramfs: PASS
    • Fresh isolated 32 GiB disposable VM with sole-disk /dev/vda serial guard, 02os-install --dry-run + real install + arch-chroot /mnt /usr/local/bin/02os-check-desktop.
    • /etc/mkinitcpio.conf: HOOKS=(base udev autodetect microcode modconf kms plymouth keyboard keymap consolefont block encrypt filesystems fsck) — plymouth properly ordered before encrypt, both verified inside /boot/initramfs-linux.img along with the 02-zero-portal theme and cryptsetup.
  • Two Consecutive Cold Encrypted Boots & Full Disk Audit: PASS
    • Both cold boots rendered the 02-zero-portal Plymouth passphrase prompt and unlocked /dev/vda2 on attempt 1.
    • cryptsetup luksDump /dev/vda2: Version: 2; cryptsetup status root: type: LUKS2, aes-xts-plain64, 512 [bits], key location: keyring.
    • lsblk -f / findmnt: /dev/vda1 FAT32 /boot, /dev/vda2 crypto_LUKS 2 -> /dev/mapper/root ext4 /, zram0 swap (zstd).
    • bootctl status: systemd-boot 262.2-1-arch, entry 02_OS (linux) with cryptdevice=PARTUUID=...:root root=/dev/mapper/root zswap.enabled=0 rw rootfstype=ext4 quiet splash.
    • Security & runtime: /etc/sudoers.d 750 root:root, root locked, live absent, sshd disabled/inactive, Zero Portal complete (2.6s), 0 failed system/user units, 02-agentd active, all 6 extensions active, 02 & 02agent SQLite 3.54.1 (host_kind: "installed"), PipeWire active, 02os-install-browsers --verify-only passed with 4755 root:root sandboxes.

Pending Before GA / Daily-Driver Sign-Off

  • Supervised spare-drive pilot on Acer hardware (firmware settings untouched):
    • Wi-Fi stability and throughput
    • Built-in audio / headphone jack / microphone
    • Hardware graphics acceleration & display scaling
    • Suspend / resume reliability
    • End-to-end daily development workflow

Joining Split Parts & Verification

Reassemble the full ISO image after downloading all split parts:

cat 02_OS-2026.11.21-x86_64.iso.part* > 02_OS-2026.11.21-x86_64.iso

Verify the split parts and the reassembled ISO:

sha256sum -c 02_OS-parts.sha256
sha256sum -c 02_OS.sha256