28.oct.2026
Illustrative framing scene (fictional motif): a short exchange about why a shell script cannot be its own gatekeeper, and why a Linux mock is not a FreeBSD host.
Operator: Why did the shell script grow so many flags?
Clawdie: Because we asked it to decide whether a jail is disposable from its name and a confirmation flag.
Jev: An agent can pass --confirm-destroy just as easily as a human. A flag is syntax, not authorization.
Agy: And when we wrapped bastille in doas -n env ASSUME_ALWAYS_YES=yes, real doas.conf rejected env outright.
Clawdie: So the script goes back to being a reliable runner, and Colibri collects the real jail and ZFS facts into Oxigraph.
Operator: Then test the collector on a real FreeBSD host. Record which observations are live and which scenarios use fixtures.
Receipt · 28.oct.2026
Section titled “Receipt · 28.oct.2026”| Workstream | Claim scope | Verification status | Canonical evidence |
|---|---|---|---|
Websources Astro 6 target (PR #30) | Squashed the Astro 6 monorepo documentation target and jail-run.sh cross-links into a single commit (01e89c0), deleted superseded remote branches, and merged PR #30 to main. | Merged (09a48d9) | Websources PR #30 · 01e89c0 |
jail-run.sh & doas.conf alignment | Removed env ASSUME_ALWAYS_YES=yes so jail-run.sh invokes doas -n bastille "$@" directly (matching permit nopass clawdie cmd bastille), added --action clone [--live], and reframed the script as a non-interactive execution and typo-guard helper rather than an enforced security boundary. | Merged (c1e3a9a, 6aa78d1) | clawdie-iso PR #21 c1e3a9a · agent-skills 6aa78d1 |
agent-skills 6-branch Jev triage & sweep | Merged the six reviewed branches through PRs #50–#55. Jev supplied advisory triage; execution and merge authority remained outside the model. | Merged (031df33) | agent-skills PR #50–#55 (031df33) |
Colibri jail hydration (PR #227/#228) | Hydrates running and stopped Bastille jails, verified ZFS dataset ownership, clawdie:lifecycle tags (value/status/source), dataset creation timestamps, and inventory uncertainty into https://clawdie.si/graphs/host-capability and reads them back into StateEnvelope. | Merged (1d4d9bb) | Colibri PR #228 · 1d4d9bb · Forgejo CI runs 1677–1683 |
| Valhala native verification & Oxigraph build | The live unprivileged probe identified the exact root dataset and preserved discovery failures. Installed Bastille source and controlled fixtures covered table formats, stopped/unmounted storage and lifecycle tags. A real isolated Oxigraph 0.4.9 store verified readback and removal. | Native collection + source inspection + fixtures | Privacy-redacted Valhala btop capture · Privacy-redacted Valhala Pi session capture |
1. Keep the shell helper simple and honest
Section titled “1. Keep the shell helper simple and honest”Our first pass at clawdie-iso/scripts/jail-run.sh tried to turn a shell wrapper into a policy boundary by checking jail names and requiring flags like --confirm-destroy. That failed two separate reality checks:
- Flags do not prove operator intent. An agent invoking a wrapper can supply
--confirm-destroyor environment overrides by itself. Security decisions belong in the harness and daemon policy gate—backed by verified host facts and task context—not in shell argument parsing. - Real
doas.confmatches the binary path, notenv. Bothbuild.shandfirstboot/shell-system.shgrantpermit nopass clawdie cmd bastille. Wrapping the call indoas -n env ASSUME_ALWAYS_YES=yes bastille ...passed a naiveexec "$@"test shim on Linux, but fails immediately under realdoasbecause the command being elevated isenv, notbastille.
Commit fa60e2a on feat/jail-run-guardrails (paired with 1aa329e in agent-skills) strips out env ASSUME_ALWAYS_YES=yes, invokes doas -n bastille "$@" directly, adds --action clone [--live], and updates jail-run-test.sh with a policy-aware doas shim that rejects doas -n env ....
2. Step 2: Hydrating jail facts and uncertainty into Oxigraph (PR #227)
Section titled “2. Step 2: Hydrating jail facts and uncertainty into Oxigraph (PR #227)”Before Jev and the deterministic policy gate (Step 3) can evaluate a proposed jail lifecycle command, Colibri has to know what actually exists on the FreeBSD host—including stopped jails and incomplete or unverified state.
Colibri PR #227 (feat/jail-hydration-lifecycle-metadata, reviewed at 3a5f878) extends internal/memory/probe.go, hydrator.go, and oxigraph.go to collect and read back:
- Both running (
jls) and stopped (bastille list//usr/local/bastille/jails/*/root) jails. - Exact ZFS dataset ownership (
mounted,origin,creationepoch) andclawdie:lifecycleproperty value, status, and inheritance source (local,inherited,default,none). - Provenance-gated lineage stamps (
readJailLineageStampWithStatus), preventing an underlying parent dataset’s files from spoofing lineage when a child jail root dataset is unmounted. - Explicit inventory uncertainty (
JailInventoryKnown,JailDiscoveryError) carried all the way through Oxigraph readback intoStateEnvelope.
An independent review and Jev triage on 3a5f878 verified that all six Forgejo CI jobs passed (run 1672 and run 1673) and identified one remaining P2 parser edge case plus the need for native FreeBSD runtime evidence: if bastille list returned one valid jail row alongside one malformed row (such as a jail path containing whitespace), parseBastilleList silently skipped the broken row (continue) and still reported JailInventoryKnown=true.
3. What live FreeBSD on Valhala caught that Linux fixtures missed
Section titled “3. What live FreeBSD on Valhala caught that Linux fixtures missed”The follow-up combined a real unprivileged probe on Valhala (FreeBSD 15.1, Bastille 1.4.4, ZFS, go1.27.3), installed-source inspection, and controlled fixtures. These establish different kinds of evidence:

Figure 1: A privacy-redacted capture of the Pi agent session on Valhala at 21:59 on 28.oct.2026. The session log shows the agent verifying parseBastilleList error paths, noting that unprivileged bastille list all exits with Bastille: Permission Denied (triggering the directory and ZFS fallback), and polling the background build of oxigraph-0.4.9 in /var/tmp/oxigraph-0.4.9/bin.
- The unprivileged collector preserves permission failures. Live
jlsand ZFS metadata queries succeeded, but Bastille refused the account anddfand the directory scan could not read the mode-0700 jail root. The collector identified the exactcms/rootdataset while reportingJailInventoryKnown=falseand the discovery error. A directory fallback is useful only when its paths are readable. - Installed Bastille source defines two table formats. Source and help inspection established that the default 1.4.4 table omits
Path, whilebastille list allincludes it. Successful live Bastille listing was not exercised. Its JSON writer also splits paths throughawk, so-jwas not treated as a reliable whitespace-preserving alternative. - The final parser preserves facts without claiming completeness. Commit
53c535bretains valid rows alongside parse errors and tries another complete discovery source. Failed fallback leaves inventory unknown. Padded table offsets preserve whitespace paths; ambiguous unpadded rows are rejected. VNET address continuation lines and exact-root dataset precedence have regression coverage.
4. When Cargo meets RocksDB on a 12-thread Xeon E5-2620
Section titled “4. When Cargo meets RocksDB on a 12-thread Xeon E5-2620”To verify Step 4 of the review contract (collection → hydration → Oxigraph query → StateEnvelope → Jev-state JSON) against an isolated store on FreeBSD without touching any shared database, the Valhala agent built oxigraph-0.4.9 from source into /var/tmp/oxigraph-0.4.9/bin.

Figure 2: The redacted btop capture at 21:56:12 on 28.oct.2026 shows parallel RocksDB C++ compilation for Oxigraph, hardware threads C0–C11 at 99–100%, and load averages 12.74 8.38 4.07. The host memory panel reports 1.07 GiB used out of 11.9 GiB at this instant. This snapshot does not measure memory attributable to the build or performance over time.
5. What the final evidence proves
Section titled “5. What the final evidence proves”The hydration work entered main through Colibri PR #228, merging reviewed head 53c535b as 1d4d9bb. PR #227 was the earlier review thread. Its exact-head CI run 1676 and guard run 1677 succeeded.
The native Oxigraph 0.4.9 exercise carried the actual incomplete-inventory observation through hydration, graph queries, StateEnvelope, and Jev-state JSON. An explicitly injected fixture then changed the observation to stopped with a local temp tag; removing that fixture left zero current observation links and preserved inventory uncertainty. Those injected states were not live jail operations.
No privileged Bastille collection or live stopped/unmounted/tagged ZFS test matrix was completed. Those scenarios used controlled command fixtures on FreeBSD. The native probe was rerun on the final head; the native Oxigraph packet preceded the final padded-path parser refinement. Independent tests on the final head also exercised a real PyOxigraph store. The verification scope receipt records these boundaries.
Step 3, binding task grants and proposed commands to deterministic authorization with Jev advisory checks, remains future work. Hydrated tags and model confidence do not grant execution permission.