02.nov.2026
Illustrative framing scene (fictional motif): a short exchange on why V8 heap flags alone cannot protect a
2 GiBappliance from child-process memory spikes, and why hypervisor teardown must never chainkillandbhyvectl --destroy.
Operator: We have our modified clawdie-quindecim ISO booted inside a 2 GiB (1,998 MiB) bhyve guest on valhala in window 5:2gb-bhyve. How does the resource watchdog hold up when a child tool tries to allocate past the tier envelope?
Clawdie: Under an inherited limits -v 1536m, an unwrapped python3 child inherits the full 1,536 MiB virtual address space needed by Node/V8 and balloons to 1,070.2 MiB RSS. Once wrapBashWithChildEnvelope prepends the per-tier ulimit -c 0; ulimit -v envelope, child RSS caps cleanly at 492.5 MiB on small-2g (≤ 524 MiB) and 251.9 MiB on nano-512m (≤ 267 MiB).
Jev: My 3×3 1.14.0 evaluation rejected chained kill; sleep 1; bhyvectl --destroy; rm pidfile commands in favor of a 4-step verified state machine (3.60 / 4.00, choice = 0.99) and scored the calibrated <Requested, Allocated, Available> watchdog at 3.99 / 4.00.
Agy: We also merged sync/upstream-v0.9.5 (#26 → 1543e3b6) on clawdie/herdr, pruned four zero-patch-ID branches, and updated check-dates.sh with full calendar and leap-year validation for Slovenian and Croatian DD.MM.YYYY[.] prose dates.
Receipt · 02.nov.2026
Section titled “Receipt · 02.nov.2026”| Workstream | Result | Status and evidence |
|---|---|---|
Live 2 GiB bhyve Resource Watchdog Verification (5:2gb-bhyve) | Verified small-2g (1 subagent slot) and nano-512m (0 subagent slots, 1 sequential tool slot), child virtual-memory envelopes (492.5 MiB vs. 1,070.2 MiB unfixed), and protected-tree crawl blocking (dummy64MbBytesRead = 0) on usb.clawdie.home.arpa (1,998 MiB RAM, 14/14 unit tests) | Verified on Valhala: 2 GiB bhyve Report JSON · Jev Row 2 JSON |
Stepwise bhyve, bastille, and tmux Teardown Discipline (3×3 Jev 1.14.0) | Replaced chained kill; sleep 1; bhyvectl --destroy with a 4-step state machine (poweroff/ACPI SIGTERM → poll kill -0 <pid> → disconnect cu → bhyvectl --destroy → verify /dev/vmm/<vm> absent), literal tmux send-keys -l (<= 60 chars/line), and #{pane_in_mode} == 0 checks | Codified: Jev Row 1 JSON · Jev Row 3 JSON |
clawdie/herdr Branch Triage & Cleanup | Merged sync/upstream-v0.9.5 (#26 → 1543e3b6, P = 1.00), deleted 4 zero-patch-ID branches (feat/freebsd-port-15.1, sync/upstream-0.9.1, docs/wiki, issue/3798-selection-host-colors), and rebased docs/documentation-workflow-clawdie (f026f921) | Merged & Pruned: herdr 1543e3b6 · herdr Triage JSON |
Calendar-Validated sl/hr Date Gate (check-dates.sh) | Added full month-length and leap-year validation (4/4 --self-check assertions); explicitly Slovenian and Croatian prose in samob accepts valid 4-digit dotted DD.MM.YYYY[.] (31.10.2026.) alongside DD.mmm.YYYY, while English and shared prose keep strict DD.mmm.YYYY | Verified in CI: samob 17819fd |
1. Live 2 GiB FreeBSD 15.1 bhyve Verification & Child-Process Memory Envelopes
Section titled “1. Live 2 GiB FreeBSD 15.1 bhyve Verification & Child-Process Memory Envelopes”On valhala, we booted the clawdie-quindecim image inside a 2 GiB (-m 2048, 1,998 MiB guest RAM) bhyve VM (3:root running bhyve and 5:2gb-bhyve attached via cu -l /dev/nmdm2gB):

While the verification suite ran inside usb.clawdie.home.arpa, btop on valhala tracked bhyve: clawdie-2g-test (PID 80657, 12 threads, 182 MiB host resident memory alongside the active cu serial connection):

Running the live probe (2gb-bhyve-verification.json) caught and fixed three concrete resource-boundary bugs in hooks/resource-watchdog.ts:
- Per-child
ulimitenvelope (T2_childEnvelope): Because Node.js/V8 on FreeBSD requires ~1,536 MiBof virtual address space (RLIMIT_AS) for its pointer-compression cage, an unwrappedpython3subprocess inheritinglimits -v 1536mgrew to1,070.2 MiBRSS. Wrapping non-Node tool commands viawrapBashWithChildEnvelope(ulimit -c 0; ulimit -v 786432onsmall-2gand450560onnano-512m) deterministically capped child RSS at492.5 MiB(≤ 524 MiB) and251.9 MiB(≤ 267 MiB). - Separating
usableNodeRssCeilingMbfrom the tier budget (T1_rlimit1536m): Underlimits -v 1536m, the tier downgrades tonano-512m(usableNodeRssCeilingMb = 323 MiB,availableSubagentSlots = 0), while a98 MiBparent retains350 MiBof tier headroom for1sequential tool slot (267 MiB). - Pre-execution scope gate (
T4_scopeGate): Recursive scans (find,rg,grep -R) targeting~/.config,~/.gemini,~/.pi,~/ai/**, ortranscript_full.jsonlare blocked before reading a single byte (dummy64MbBytesRead = 0), while direct single-file access to~/.config/clawdie/jev.envremains permitted.
2. Stepwise Hypervisor Teardown (3×3 Jev 1.14.0) & clawdie/herdr Branch Triage
Section titled “2. Stepwise Hypervisor Teardown (3×3 Jev 1.14.0) & clawdie/herdr Branch Triage”Tearing down the bhyve test instance exposed the same failure mode we previously eliminated in Bastille jail && chains: chaining kill $(cat pid); sleep 1; bhyvectl --destroy; rm -f pid assumes hypervisor exit completes within one second. Three parallel subagents evaluated a 3×3 matrix with Jev 1.14.0 (jev-3x3-row1-lifecycle.json, jev-3x3-row2-watchdog.json, jev-3x3-row3-merge-iso.json) and codified a strict 4-step state machine (3.60 / 4.00, choice = 0.99):
- Step 1: Initiate guest
poweroff(or a single unchained ACPISIGTERM). - Step 2: Poll
kill -0 <pid>until hypervisor process exit is proven. - Step 3: Disconnect
cu(~.) and runbhyvectl --vm=<name> --destroy. - Step 4: Verify
/dev/vmm/<name>is absent before removing the PID file.
We then triaged the seven open branches on clawdie/herdr (jev-herdr-post-merge-triage.json):

After merging sync/upstream-v0.9.5 (herdr PR #26 → 1543e3b6), we deleted four branches with zero unique patch-IDs against master and rebased docs/documentation-workflow-clawdie (f026f921, +1 / -0).
3. Calendar-Validated sl/hr Date Gate & Continuation Plan
Section titled “3. Calendar-Validated sl/hr Date Gate & Continuation Plan”To resolve the CI failure on the Croatian diary heading (### Potvrda · 31.10.2026.) without rewriting existing prose, we updated scripts/check-dates.sh and AGENTS.md (samob 17819fd):
- Shared and English prose (
src/content/docs/en/**) continues to requireDD.mmm.YYYY(02.nov.2026) and rejects all numeric dates. - Explicitly Slovenian (
src/content/docs/{diary,cv,guides,projects}/**) and Croatian (src/content/docs/hr/**) prose insamobaccepts bothDD.mmm.YYYYand calendar-validated 4-digit dottedDD.MM.YYYY[.]dates (checking month lengths and leap years across4/4--self-checkassertions).
Continuation Plan (Next Steps)
Section titled “Continuation Plan (Next Steps)”- Bottom-Up 5-Repo Merge Sequence:
agent-skills: commit and merge the<Requested, Allocated, Available>resource watchdog (hooks/resource-watchdog.ts+14/14unit tests) andtest-harness-isolationlifecycle rules.herdr: merge the rebaseddocs/documentation-workflow-clawdie(f026f921) PR.zot(feat/openviking-extension-ovcli,d51157b) →colibri(feat/sysctl-posture-oxy-hydration-0.15.1andfeat/node-island-origin-and-rcorder) →clawdie-iso(feat/asgard-vaultwarden-mesh-server).
- Fresh
clawdie-quindecimISO Build onvalhala: Rebuild the ISO from cleanmainso the image embeds the signed15.1-RELEASEpackages (zot,colibri,openviking,agent-vault) and updated watchdog hooks. - Live
2 GiBbhyvezotvs.piBenchmark: Boot the fresh ISO in5:2gb-bhyveand compare live RSS and latency measurements against our pre-recorded Jev1.14.0baseline predictions (jev-zot-vs-pi-predictions.json).