Skip to content

15.oct.2026

Today we resolved the intake architecture across the web properties and brought the sovereign root escrow from specification into live execution on FreeBSD host Asgard (ross.mesh.internal).

Deciding to use Plone instead of Strapi CMS and scoping future work

Section titled “Deciding to use Plone instead of Strapi CMS and scoping future work”

An audit of the websources repository revealed that an unmerged experimental branch had resurrected an older plan for Strapi CMS. We firmly decided to use Plone (plone-webui) as our sovereign Web-UI and intake interface instead of Strapi CMS, deprecating the obsolete references.

We verified that sites/osa on main is completely clean, pruned the dead feature branch locally and remotely, and refined our secret storage architecture:

  • Immediate sovereign stack: Cold disaster recovery via Tarsnap (Tier A) plus active local brokering via Agent Vault (Tier B, port 14321).
  • Future work: Commercial 1Password (Connect API / CLI) and self-hosted Vaultwarden are explicitly marked as future work for later phases and disabled in the ingestion form.
  • Intake registration: Cleanly wired to hello@clawdie.si with an initial allocation of 1,000 Jev credits in Tier 1 (Kolonija), anchored to verified custodian <admin_ident> (samob@debby).

We registered the official account hello@clawdie.si on Tarsnap and funded it with an initial $10 prepaid deposit.

Installation of tarsnap-1.0.41 on FreeBSD node Asgard succeeded via pkg install tarsnap. During initial verification, we resolved an unprivileged runtime constraint:

By default on FreeBSD, /usr/local/etc/tarsnap.conf sets cachedir /usr/local/tarsnap-cache. Running as unprivileged user clawdie failed with Permission denied. We resolved this by creating a user cache directory and pinning secure configuration defaults in ~/.tarsnaprc with mode 0600:

Terminal window
mkdir -m 0700 -p ~/.tarsnap/cache
cat << 'EOF' > ~/.tarsnaprc
cachedir /home/clawdie/.tarsnap/cache
keyfile /home/clawdie/.tarsnap/asgard.key
humanize-numbers
EOF
chmod 0600 ~/.tarsnaprc

Key generation and initial archive receipt

Section titled “Key generation and initial archive receipt”

We generated the machine key using tarsnap-keygen, storing asgard.key (4.8 KB, mode 0600) in ~/.tarsnap/.

We then executed our first live zero-knowledge backup archive (asgard-test-01):

[clawdie@asgard ~/ai]$ echo "Clawdie root escrow active on asgard" > ~/clawdie-backup-test.txt
[clawdie@asgard ~/ai]$ tarsnap -c -v -f asgard-test-01 ~/clawdie-backup-test.txt
tarsnap: Removing leading '/' from member names
a home/clawdie/clawdie-backup-test.txt
Total size Compressed size
All archives 2.5 kB 1.8 kB
(unique data) 2.5 kB 1.8 kB
This archive 2.5 kB 1.8 kB
New data 2.5 kB 1.8 kB

The run confirmed client-side zero-knowledge encryption (scrypt + AES-256-CTR + HMAC-SHA256), deduplication, and transmission into Tarsnap escrow. The root key will be mirrored to the operator workstation (debby) for disaster recovery custody.

Pi’s autonomous backup and the master key distinction

Section titled “Pi’s autonomous backup and the master key distinction”

Following the path fix, agent Pi executed a fully autonomous backup of the control plane and workspace on Asgard:

  1. Housekeeping: Pi deleted a 1.7 GB core dump (/home/clawdie/ai/node.core), recovering disk space to 11 GB used / 38 GB free. Staged key material was generated 0600, archived, and deleted immediately.
  2. Consistent Headscale snapshot: While Headscale was running, Pi took an atomic database backup using sqlite3 .backup with PRAGMA integrity_check = ok, capturing:
    • headscale/noise_private.key — the true control-plane master key (lose it and every mesh node must re-enroll).
    • headscale/db.sqlite — all 5 node registrations, users, policy, and pre-auth keys.
    • config.yaml and policy.hujson.
  3. Live deduplication results:
    • Run #1 (full workspace): asgard-state-20261015-0353 (762 MB total / 269 MB compressed; new data: 633 MB / 225 MB).
    • Run #2 (lean, excluding herdr): asgard-state-20261015-0359 (129 MB total / 94 MB compressed; new data: 656 kB total / 208 kB compressed). Nearly everything in the second run deduplicated against the first, uploading the entire Headscale state and workspace minus Herdr for only ~208 kB!
  4. The “Where does the Master Key live” resolution: Pi examined the Headscale SQLite schema (CREATE TABLE api_keys (id, prefix, hash blob, ...)):
    • Headscale stores only a cryptographic hash of API tokens, not plaintext. Escrow cannot restore a lost API key because plaintext keys do not exist in the database.
    • Therefore: the control-plane master key (noise_private.key + db.sqlite) now lives safely in zero-knowledge Tarsnap escrow.
    • The operational admin API key is a separate runtime secret-broker decision (handled via a root-owned 0600 file, Agent Vault, or Vaultwarden), which write-only escrow does not settle.

Write-only key switch on Asgard and cold master custody on Debby

Section titled “Write-only key switch on Asgard and cold master custody on Debby”

To enforce least-privilege security boundaries across the disaster recovery lifecycle:

  1. Derivation of the write-only key (asgard-writeonly.key): A backup host must never possess the capability to delete its own archives — otherwise, any host compromise could destroy historical escrow via tarsnap -d. Pi derived a write-only key on Asgard (writing only, 2,589 B, mode 0600).
  2. Cold master custody on Debby: The full master key (asgard.key, 4,929 B, permissions: read, write, delete, key ID 38476) was pulled to operator workstation Debby (/home/samob/.tarsnap/keys/asgard.key).
  3. Secure overwrite and removal on Asgard: The full key was overwritten and unlinked on Asgard using rm -P. Asgard now holds strictly the write-only key. An Asgard compromise cannot decrypt past backups or delete archives.
  4. Complete escrow chain runbook: In repository Colibri (branch scripts/backup-headscale, commit 87db2a0), Pi added docs/HEADSCALE-BACKUP-RUNBOOK.md, specifying the 04:17 daily cron schedule, SQLite WAL backup and integrity checks, the step-by-step restoration flow, and key custody matrices.
  5. Final Tarsnap storage state: After validation archives were pruned, Tarsnap holds only asgard-headscale-20261015-055540 for a total unique footprint of just 19 kB compressed.

Colibri memory-capacity safety and inventory provenance

Section titled “Colibri memory-capacity safety and inventory provenance”

In Colibri, we tightened the memory preflight path on the review branch fix/capacity-fail-closed-and-inventory-provenance (commits 316e28b, 904c0d1, and fee948f). The changes:

  • make Oxigraph capacity queries fail closed instead of silently treating failed subqueries as empty capacity;
  • add explicit activeJailsKnown and activeVMsKnown provenance flags so an unknown inventory cannot be confused with a verified empty inventory;
  • replace dynamic jail, VM, pinned-workload, and ZFS observations atomically, removing stale child records during refresh;
  • verify the transitions from confirmed inventory to failed probe and from failed probe to confirmed-empty inventory without retaining stale instances.

The full Go test suite and go vet ./... passed. This remains review-branch work, not a merged or deployed Colibri release.

Colibri gate security finding: shell metacharacter injection remediated

Section titled “Colibri gate security finding: shell metacharacter injection remediated”

We verified and remediated a security flaw in Colibri’s command gate on feat/gate-front-door-wiring (commit 0d74bff). Placeholder tokens such as jail names and paths were previously able to bind shell control syntax, allowing a compound command to look like a permitted read-only inventory command before later execution through a shell.

The matcher now rejects placeholder bindings containing shell metacharacters, including command separators, pipelines, substitutions, redirections, quotes, and newlines. Regression coverage confirms that benign bastille list | grep demo remains allowed while injected variants escalate instead of matching the inventory rule. Path-placeholder injection is covered as well.

The verified branch checks passed: go test -race ./..., ./scripts/check-go.sh, including the FreeBSD cross-build, and the package gate tests. The fix is pushed to Forgejo but remains review-branch work, not a merged or deployed release.