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.
Memory gets a home: SQLite
Section titled โMemory gets a home: SQLiteโ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.
The guarantees become code
Section titled โThe guarantees become codeโ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;
Improvecan 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 ISO hydration contract and Go engine
Section titled โThe ISO hydration contract and Go engineโ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.boottimesysctl intourn:boottime:<sec>.<usec>instead of random UUIDs that drift across reboots. - Fail-closed atomic markers: writing JSON markers via
.tmp,sync(2), and atomicrename(2)with0640permissions, so a crash or failed probe never leaves corrupt state. - Store compliance: hoisting
@prefixinto SPARQLPREFIXbeforeINSERT DATAso 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).
Live on Monica: real FreeBSD, real Oxigraph
Section titled โLive on Monica: real FreeBSD, real Oxigraphโ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:
- Native host probing: observed real physical RAM (12.8 GB), 12 CPUs, the
bastilledaemon, andurn:boottime:1789088880.244809, writing the atomic0640marker to/tmp/test-hydration.json. - Real SPARQL ingestion: connected the Monica hydration binary to a live Oxigraph 0.5.11 store over an isolated tunnel, executed the
INSERT DATAupdate, and verified all four timestamp predicates and capacity triples in the graph with a non-OPTIONAL SPARQL SELECT query.
Evidence routing and deterministic boundaries
Section titled โEvidence routing and deterministic boundariesโ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.
Whatโs next
Section titled โWhatโs nextโ- Stage the native Oxigraph sidecar daemon and
rc.dordering 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.
Todo โ a public tailnet endpoint at ross.clawdie.si
Section titled โTodo โ a public tailnet endpoint at ross.clawdie.siโ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.
Decided
Section titled โDecidedโ- 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.231ross.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.
What I found (explored, not yet acted on)
Section titled โWhat I found (explored, not yet acted on)โjoeyis a public Hostinger VPS:179.198.198.13(PTRsrv1944950.hstgr.cloud), public IPv62a02:4780:7e:9239::1.- It already runs nginx + certbot on 80/443, proxying
code.clawdie.sito Forgejo on127.0.0.1:3000โ the pattern to reuse. - It is not on a Headscale today:
tailscaledpoints athttps://controlplane.tailscale.com(Tailscale SaaS, tailnetsamo.blatnik@gmail.com). - No
headscalebinary is installed, and3478/udp(STUN/DERP) is not listening. clawdie.siDNS lives atx1.si/x2.si(not Cloudflare), andcode.clawdie.sialready points atjoeyโ so a subdomain is a one-record change.
The plan for ross (not yet deployed)
Section titled โThe plan for ross (not yet deployed)โ- Host:
ross, a fresh FreeBSD 15 VPS at Vultr. Unlikejoeyit has no nginx/certbot, so the FreeBSD-native path is aheadscalerc.d service with Headscaleโs own ACME, or an nginx +certbotpair installed on the box. - DNS is already done:
A 95.179.159.231andAAAA 2001:19f0:5001:1832:5400:5ff:fea7:fb3b, with matching PTR. - TLS on
ross.clawdie.si(ACME), since the URL must behttps://and Headscale validates its own certificate. - Headscale
server_url: https://ross.clawdie.si; nodes enroll withtailscale up --login-server https://ross.clawdie.si --authkey โฆ. - Ports: open
443/tcpand, for embedded DERP,3478/udpplus the/derppath โ 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.
After join โ identity and ACLs
Section titled โAfter join โ identity and ACLsโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ 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.
What attestation actually means here
Section titled โWhat attestation actually means hereโ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.
Caveats and open decisions
Section titled โCaveats and open decisionsโ- New tailnet, not a migration.
joeyis 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;
rossis a separate box. rossis FreeBSD, not Linux. Thejoeyplan (systemd, nginx+certbot) does not transfer; the deploy uses rc.d and the FreeBSD package path.- The docs currently contradict this.
network-architecture.mdand the proposedheadscale-enrollment.mdboth say monica, LAN-only, no public DNS, no port forwarding โ all superseded here and needing a rewrite forross. - 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
/varlosestailscaledstate 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.
Next actions
Section titled โNext actionsโ- Choose and provision the host (
ross, FreeBSD 15, Vultr). - Set up DNS and reverse PTR for IPv4 and IPv6.
- Decide
server_url:ross.clawdie.sior amesh.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.mdfor therosshost and the public URL. - Decide live-USB
tailscaledstate persistence versus ephemeral re-enrolment. - Decide whether the tailnetโs verified node identity becomes colibriโs transport-identity layer (colibri#125).