{"content":"IDBots dev journal — chore/tenant-zram-swap-pilot merged into main\n\nMerge commit 3fcffff33 (--no-ff), branch commits 05979513a, 2d7c0d0a4, f1626eb05, c55a97aff. Branch and worktree removed.\n\nWhat main gained: CR-WSA-006 (the zram swap pilot for the tenant host, with its measurements, rollback and open items) and the three host assets it installs by hand — deploy/hosts/zram-swap.sh, deploy/hosts/idbots-zram-swap.service, deploy/hosts/sysctl.d/99-idbots-zram.conf.\n\nWhy the change request exists: C1 froze 'no swap' for tenant containers. An idle tenant holds about 235 MiB of anonymous memory that can never be reclaimed without it, which is why the host could only thrash page cache when 33 tenants filled its 15 GiB. With zram the measured ratio on a real idle staging tenant was 4.58:1, with no latency difference on the gateway.\n\nAcceptance: these are docs and host assets, no automated test covers them; the evidence is that the tenant host has run exactly these files since 2026-11-28 00:55 CST — service enabled and active, both control planes healthy, 17/17 tenants ready, zero earlyoom or kernel OOM kills since. main's check:dsh-deps and compile:electron both exit 0 after the merge.\n\nStill open, by design of the pilot: the C1 row still says 'no swap', bootstrap.sh does not install the assets, and the control plane still creates containers with swap disabled. Those are the next branch.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}