Skip to content

08.oct.2026

Today was about turning architecture decisions into enforced code, verifying the contracts against live hardware, and establishing an evidence-grounded routing fixture for Jev.

Settling the โ€œsplit-brainโ€ name โ€” with evidence

Section titled โ€œSettling the โ€œsplit-brainโ€ name โ€” with evidenceโ€

The naming had flip-flopped for months, so I stopped arguing and asked Jev โ€” a small, fast classifier I use as a second opinion, never as the decider โ€” to score the options across several runs.

The answers were stable and nuanced: the positive name reads as coherent (0.75) and safe (0.63) only with an explicit line contrasting it with the distributed-systems failure mode. A purely positive definition scored identically to having no definition at all (0.44 / 0.25).

With that boundary clear, I landed the rebased architecture page (PR #142): split-brain remains the reader-facing name (meaning System 1 / Jev and System 2 / reasoning LLM running over one shared memory layer โ€” split in roles, never in truth), while internal schemas use Tri-Tier Cognitive Gate and Dual-Plane Storage Fabric.

I also cleaned up documentation contradictions across the repository: the store-schema page still claimed the store was undecided; PR #141 updated it to reflect SQLite and recorded the status of the store decision.

I evaluated whether SQLite was the right anchor for the canonical memory store once BGE vector embeddings and OpenViking are in the picture. Rather than trust summaries, I re-ran the probes: keep the canonical record in a deterministic store, and keep the vector index as a derived, rebuildable projection (unanimous, 1.00). For airgapped nodes, vectors embed directly in SQLite with sqlite-vec instead of running a second daemon.

This landed as a decision record with raw probe evidence attached. What makes SQLite easy to defend: Colibri already ships a pure-Go SQLite driver for the task board, so it requires no C compiler and links statically on FreeBSD.

A decision that nothing enforces is just a paragraph. PR #145 made three core memory guarantees real in code:

  • a second write that disagrees is preserved as a conflict instead of overwriting the first โ€” both candidates are kept until an operator chooses;
  • Improve can no longer silently rewrite a recordโ€™s provenance or authority;
  • freshness is read from the graph, and a stale projection fails closed.

15 tests, clean under the race detector and FreeBSD cross-build.

Alongside this, I audited the review queue to ensure claims matched evidence. Two documents failed that check: a line claiming validation on native FreeBSD 15 without a run, and an acceptance note claiming satisfaction from fixture values. Both were corrected in PR #128 before they could harden into false history. Finally, I closed the Step 2b execution gate after re-running the live model dispatch on joey and verifying the FreeBSD receipt on monica down to an exact 18-column schema match.

The Step 4 memory architecture needed an engine to observe host state and hydrate the knowledge graph on boot.

Before writing the Go code, I established the ISO hydration contract and its standing corrections ledger: specifying the four timestamps (bootEpoch, topologyObservedAt, dynamicHeadroomObservedAt, hydrationCompletedAt), strict write authorities, and the fail-closed rule that a pending required gate is never a pass.

In PR #148, I implemented colibri-hydrate and the System-0 hydration layer in Go:

  • Deterministic boot epochs: parsing FreeBSDโ€™s kern.boottime sysctl into urn:boottime:<sec>.<usec> instead of random UUIDs that drift across reboots.
  • Fail-closed atomic markers: writing JSON markers via .tmp, sync(2), and atomic rename(2) with 0640 permissions, so a crash or failed probe never leaves corrupt state.
  • Store compliance: hoisting @prefix into SPARQL PREFIX before INSERT DATA so Oxigraph does not reject the query, and accounting for FreeBSDโ€™s reclaimable inactive pages in headroom.

All repository gates passed (check-go.sh, ci-checks.sh, wiki-lint --strict with 803 clean pages, and FreeBSD cross-compilation), and the PR merged into main (commit 9ee5b20). A follow-up (PR #149) then unified the preview with the ingest path: --print-update prints the exact SPARQL update and --print-turtle the exact Turtle document, both from the same Hydrate() pass, so the preview cannot drift from what the store receives.

Alongside the implementation, I completed the ISO documentation verification batch: historical records now have an explicit freshness exemption, changed-document checks pass, and the current requirements, first-boot, and flashing guides were rechecked against their sources. The ISO hydration contract PR then merged as PR #8 (main commit 78b7699).

Decisions and mock tests only take you so far. With SSH access to monica.clawdie.si (FreeBSD 15.1-RELEASE-p2, dual Xeon E5-2620), I ran colibri-hydrate natively:

  1. Native host probing: observed real physical RAM (12.8 GB), 12 CPUs, the bastille daemon, and urn:boottime:1789088880.244809, writing the atomic 0640 marker to /tmp/test-hydration.json.
  2. Real SPARQL ingestion: connected the Monica hydration binary to a live Oxigraph 0.5.11 store over an isolated tunnel, executed the INSERT DATA update, and verified all four timestamp predicates and capacity triples in the graph with a non-OPTIONAL SPARQL SELECT query.

To route evidence reliably, I built a read-only evidence snapshot fixture for PR #148 (still on its review branch). Each claim carries two orthogonal labels:

  • evidence_state: observed-current, proposed, historical, stale-or-contradicted, unknown
  • verification: deterministic, ci, live, none

A deterministic Python script reduces the snapshot into a Jev routing packet with a known-answer control. When tested without live evidence (the fixed negative control in pr148.snapshot.json), Jev scored live_verification_state: absent ($P=1.00$) and routed to request_more_evidence. In live testing with real Monica observations and the store receipt, the score flipped cleanly to live_verification_state: present ($P=1.00$, confidence 1.0) in 344 ms.

Crucially, routing is not authorization: Jev suggests the next action (proceed_to_next_stage, request_more_evidence), but cannot unilaterally grant permission or skip gates. Because the Forgejo FreeBSD CI runner remained queued and unserved, required_gate_status: pending held firm.

Regarding Zotโ€™s new Codemode support on Forgejo main: it can currently run isolated JavaScript calculations without tool access, but cannot yet collect or filter tool results for Jev. Treating the prospective guide as shipped capability would be mistaking design for evidence.

I also checked the local memory path: OpenViking and the BGE-M3 embedding worker were healthy, while VLM extraction was failing through the configured Ollama cloud routes. That is an infrastructure issue separate from Zotโ€™s Codemode work.

  • Stage the native Oxigraph sidecar daemon and rc.d ordering on Monica for PR3.
  • Settle the local transport boundary for the Oxigraph endpoint (Unix socket, a Colibri-owned proxy, or loopback) before PR3 stages the sidecar.
  • Give Zot a deterministic way to collect evidence once Codemode tool filtering lands.
  • Retarget generic CI workflows so merges do not block on unserved FreeBSD runner queues.

Tomorrowโ€™s open thread: moving the tailnet control plane onto a stable public host and giving it a name that cannot rot. The host and its DNS are now live; the control plane itself is not deployed yet.

  • Not joey. Running the network control plane on the CI host blends it with the build plane (the blast-radius problem), so it moves off.
  • ross โ€” a fresh FreeBSD 15 VPS at Vultr โ€” hosts the control plane.
  • DNS and reverse PTR are set up for both address families:
    • ross.clawdie.si โ†’ A 95.179.159.231
    • ross.clawdie.si โ†’ AAAA 2001:19f0:5001:1832:5400:5ff:fea7:fb3b
    • PTR for both resolves back to ross.clawdie.si.
  • Next: deploy the Headscale plan on ross.

The earlier mesh. name was the tailnet name; the record that exists is ross.clawdie.si. Because server_url is baked into every node, settle whether it uses ross.clawdie.si or a mesh. alias before enrolling anyone.

What I found on joey (and why the control plane moved off it)

Section titled โ€œWhat I found on joey (and why the control plane moved off it)โ€

The current docs put Headscale on monica, a local dev box reachable only on the LAN. That is fine for a demo but not for nodes that live elsewhere โ€” and Headscaleโ€™s URL is baked into every nodeโ€™s registration, so it must be chosen once and kept.

  • joey is a public Hostinger VPS: 179.198.198.13 (PTR srv1944950.hstgr.cloud), public IPv6 2a02:4780:7e:9239::1.
  • It already runs nginx + certbot on 80/443, proxying code.clawdie.si to Forgejo on 127.0.0.1:3000 โ€” the pattern to reuse.
  • It is not on a Headscale today: tailscaled points at https://controlplane.tailscale.com (Tailscale SaaS, tailnet samo.blatnik@gmail.com).
  • No headscale binary is installed, and 3478/udp (STUN/DERP) is not listening.
  • clawdie.si DNS lives at x1.si/x2.si (not Cloudflare), and code.clawdie.si already points at joey โ€” so a subdomain is a one-record change.
  1. Host: ross, a fresh FreeBSD 15 VPS at Vultr. Unlike joey it has no nginx/certbot, so the FreeBSD-native path is a headscale rc.d service with Headscaleโ€™s own ACME, or an nginx + certbot pair installed on the box.
  2. DNS is already done: A 95.179.159.231 and AAAA 2001:19f0:5001:1832:5400:5ff:fea7:fb3b, with matching PTR.
  3. TLS on ross.clawdie.si (ACME), since the URL must be https:// and Headscale validates its own certificate.
  4. Headscale server_url: https://ross.clawdie.si; nodes enroll with tailscale up --login-server https://ross.clawdie.si --authkey โ€ฆ.
  5. Ports: open 443/tcp and, for embedded DERP, 3478/udp plus the /derp path โ€” or use an external DERP.

How a fresh host joins (and what I authenticate as operator)

Section titled โ€œHow a fresh host joins (and what I authenticate as operator)โ€
OPERATOR HEADSCALE (ross.clawdie.si) FRESH LIVE FreeBSD
โ”‚ โ”‚ โ”‚
โ”‚ 1. preauthkey create โ”‚ โ”‚
โ”‚ (1h, tag) โ”‚ โ”‚
โ”‚โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€>โ”‚ โ”‚
โ”‚<โ”€โ”€ tskey-auth-XXXX โ”€โ”€โ”€โ”€โ”‚ โ”‚
โ”‚ โ”‚ โ”‚
โ”‚ 2. deliver key (firstboot / Colibri / USB) โ”‚
โ”‚โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€>โ”‚
โ”‚ โ”‚ 3. tailscale up --login-server โ”‚
โ”‚ โ”‚ https://ross.clawdie.si โ”‚
โ”‚ โ”‚ --authkey tskey-auth-XXXX โ”‚
โ”‚ โ”‚<โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”‚
โ”‚ โ”‚ 4. bind nodeโ†’user+tag, 100.x.y.zโ”‚
โ”‚ โ”‚โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€>โ”‚
โ”‚ โ”‚ 5. WireGuard tunnel up โ”‚
โ”‚ โ”‚<========= 100.x overlay =======>โ”‚

My job as operator is to mint a scoped, short-lived, tagged pre-auth key; the host proves possession of its node key, and Headscale binds the two. For the ISO that scriptable path is the only practical one โ€” firstboot cannot drive a browser handshake โ€” so the key is delivered out-of-band and never baked into the image, the same rule as the provider keys.

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ HEADSCALE policy (ACLs โ€” network authorization) โ”‚
โ”‚ โ”‚
โ”‚ tag:colibri-control โ†’ runs colibri (tsnet), listens RPC โ”‚
โ”‚ tag:colibri-client โ†’ agents / dashboard that may call it โ”‚
โ”‚ tag:build-host โ†’ Forgejo / CI โ”‚
โ”‚ tag:operator-usb โ†’ live USB hosts (this image) โ”‚
โ”‚ โ”‚
โ”‚ accept src:[colibri-client] dst:[colibri-control:PORT] โ”‚
โ”‚ accept src:[operator-usb] dst:[colibri-control:PORT] โ”‚
โ”‚ accept src:[build-host] dst:[colibri-control:PORT] โ”‚
โ”‚ ... everything else DENIED by default โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚ distributed to each node
โ–ผ
operator-usb-1 โ”€โ”€โ”
colibri-client โ”€โ”€โ”ผโ”€โ”€ only these may open the colibri RPC socket
build-host โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ–ผ
colibri-daemon (tsnet node)
on each connection:
WhoIs(remoteAddr) โ†’ verified node ID + tag
+ caller_attribution (self-declared)

This is where the tailnet threads into the deferred attestation work (colibri#125): once it gives a verified node identity, the โ€œauthenticated cross-host RPC transportโ€ prerequisite is met, and payload signing shrinks to non-repudiation and high-privilege defense. I logged the full argument as a comment on the issue.

Attestation is a claim that arrives with proof, so the receiver does not have to believe it. Today caller_attribution is a name written on the note; attestation would be a signature that can be checked.

  • Transport (tailnet): proves which machine connected โ€” it held its node key. Proposed.
  • Payload (Ed25519): proves which key produced this exact payload and that it was not edited. Deferred (colibri#125).

It buys verifiable provenance, tamper detection, non-repudiation, and a hedge if the control plane is ever compromised. It is not authorization (the ACLs decide that), not a human identity, not Jev (Jev output is never a signature), and not the self-declared string itself.

It stays deferred because it forces hard key questions โ€” ownership, storage, issuance, rotation, revocation โ€” that are pointless to answer before there is a trusted way for hosts to reach each other. The tailnet clears that prerequisite, so attestation becomes a smaller problem rather than a blocker.

  • New tailnet, not a migration. joey is a Tailscale SaaS client today, so standing up Headscale creates a second tailnet and every node re-enrols. Confirm that is intended.
  • Blast radius โ€” resolved. The control plane stays off the Forgejo/CI host; ross is a separate box.
  • ross is FreeBSD, not Linux. The joey plan (systemd, nginx+certbot) does not transfer; the deploy uses rc.d and the FreeBSD package path.
  • The docs currently contradict this. network-architecture.md and the proposed headscale-enrollment.md both say monica, LAN-only, no public DNS, no port forwarding โ€” all superseded here and needing a rewrite for ross.
  • IPv6 inbound is still unproven. Forward and reverse records exist, but that does not prove the host is reachable over IPv6; verify before relying on it.
  • Only DNS is live. The host record and PTR are set; no Headscale service is installed and no nodes are enrolled yet.
  • Live-USB identity is unresolved. A live system with a tmpfs /var loses tailscaled state on reboot, so the node either persists its state to a data partition or re-enrols with ephemeral keys each boot. That decision changes the join flow above.
  • Choose and provision the host (ross, FreeBSD 15, Vultr).
  • Set up DNS and reverse PTR for IPv4 and IPv6.
  • Decide server_url: ross.clawdie.si or a mesh. alias (baked in, so decide before enrolling).
  • Deploy Headscale on ross: rc.d service, TLS/ACME, and the required ports.
  • Decide: fresh tailnet versus migrating off Tailscale SaaS.
  • Decide: embedded DERP versus external.
  • Rewrite headscale-enrollment.md for the ross host and the public URL.
  • Decide live-USB tailscaled state persistence versus ephemeral re-enrolment.
  • Decide whether the tailnetโ€™s verified node identity becomes colibriโ€™s transport-identity layer (colibri#125).