Skip to content

Kūhaku 0.3.0

Choose a tag to compare

@rudolfkrcmar rudolfkrcmar released this 14 Nov 22:58
· 126 commits to main since this release

New

  • Dropbox and Google Drive in Miru (Kumo). Sign in from Miru, tick the folders to keep on this computer; only those are copied, and kept the same both ways with rclone bisync. Several accounts of each.
  • Claude's safety net (kuhaku-guard.py). A Claude Code hook that stops only what cannot be undone or would send secrets away — wiping disks, deleting whole folders outright (they go to the Trash instead), force-pushing main, sending keys or cookies — whoever asked, including text hidden in a page or email.
  • Voice conversation on the home screen; the microphone can talk with Claude or dictate offline (Whisper, best model for the computer).
  • ThinkPad Fn keys, notifications panel, microphone mute, the lid while Claude works.
  • Battery shows a bolt while plugged in; the sign-in window closes itself once signed in.

Fixed

  • The computer could fall asleep while Claude worked (keepawake lost its power-manager call).
  • The guard could be bypassed with sudo -u, nice -n or bash -c, and missed the whole ~/.ssh folder and /dev/tcp; harmless key commands were taken for sending keys.
  • Miru: a cloud folder did not refresh after a sync; copying a folder named like v1.0 gave v1 2.0.
  • Adding a second account of the same kind returned one that was never listed.
  • Password screens stay dark in daytime; Tegami's buttons are readable at night.

For developers

  • dev/check: ruff format and lint, mypy on the core modules, 208 unit tests, a script-error check of every page, and 19 UI tests that click through the pages and compare screenshots. Runs before every commit and on GitHub Actions.
  • dev/install: the project is the only place Kūhaku changes; installing is one step and never overwrites changes made in the running copy (--adopt brings them back).
  • Errors are never swallowed silently: kuhaku_log.report() writes each fault once to ~/.local/state/kuhaku/logs/.
  • Large files divided by subject: the home screen (kuhaku_config, kuhaku_claude, kuhaku_panels, kuhaku_voice, kuhaku_settings, kuhaku_system), its page (home/), Miru's page, the touch keyboard (tablet_*), mail (tegami_store, tegami_sync). Messages from the pages go through lookup tables.
  • ARCHITECTURE.md, CONTRIBUTING.md, this changelog.

Install instructions: https://github.com/rudolfkrcmar/kuhaku-linux/blob/main/INSTALL.md