Skip to content

Almanac 2.1.5

Choose a tag to compare

@twodxme twodxme released this 24 Oct 07:19
· 105 commits to main since this release

Hardening and cleanup after repeated rounds of independent, adversarial review. Settings, history and caches carry over as before.

Scheduled updates hold more of what can stop a boot

  • Core now covers every kernel flavour and its headers (linux-hardened, -rt, -lts66, cachyos, xanmod, omarchy, …), firmware splits, CPU microcode, DKMS modules, the NVIDIA driver with its matching userspace, and what builds the initramfs or unlocks the root (dracut, booster, cryptsetup, lvm2, mdadm, plymouth, mkinitcpio-busybox, kmod, sbctl, limine-snapper-sync, …). The Updates page and almanac-autorun --core-holds use the same rules.

Plugin setup: what runs is what you saw

  • A setup line is offered only if it is plain words, and it runs as exactly those words — the shell gets nothing it could expand into something else.
  • Every file a step runs is shown, and so are the build files a build tool reads (Makefile, package.json's scripts, pyproject.toml, Cargo.toml, go.mod, …). Before every command Almanac checks that each shown file is unchanged, that each path still points at the same file, and that no build file that was absent has appeared.
  • A build runs code beyond what can be shown (a recipe's script, a postinstall, the sources it compiles); the confirmation now says so for every build.
  • Package tools (npm, pnpm, yarn, bun, pip, pipx, uv) are offered only their installing commands, with plain flags and package names. Steps that run a program rather than set one up (uv run, pipx run, npm exec, pnpm/yarn dlx, bun x, npm init), options that point a tool at another file or interpreter (--python ./x, --script-shell, --userconfig), and arguments that are a path, an archive or a URL are not offered; lockfiles are shown, and a plugin that ships node_modules or .venv gets no npm or uv steps. Build tools (make, cmake, meson, ninja, cargo, go, just, gcc) take only options whose files are shown — no cargo --config, cmake toolchain, meson native file, gcc @file or make CC=./x; neither are units given by path, shell constructs, cd, a .python-version that names a path, or a tool that is not understood.

More robust

  • Opening a row with a corrupted cache value can no longer crash the window; background work runs on 8 MiB stacks instead of 512 MiB, with deeply nested JSON stopped where it is read.
  • Errors read as plain English ("Permission denied: /etc/x", "No such file: kitty") instead of Python exception text; a command's own output is still shown as printed.
  • A package installed from a GitHub release is told truthfully how it updates, with Open the release when a newer one is out.
  • Every subprocess goes through one runner whose timeout covers the output too, so no step can hang on a child that keeps a pipe open.

For builders

  • Minimum Rust is 1.92 (what the GTK bindings require). The largest modules are split into focused files; cargo clippy is clean.

Install

curl -LO https://github.com/twodxme/almanac/releases/latest/download/almanac-x86_64.pkg.tar.zst
sudo pacman -U almanac-x86_64.pkg.tar.zst