ContextLattice v3.4.1 - Runtime Hardening + Security Patch
ContextLattice v3.4.1 - Runtime Hardening + Security Patch
Release date: 2026-06-06
This patch release tightens the v3.4 agent runtime contract after real local operator pressure: storage governance now measures the mounted memory lane, Codex session-store failures are diagnosed before they look like corruption, and the public LanceDB adapter clears the open PyArrow security alert.
v3.4.1 keeps the v3.4 public boundary intact. No external memory API break. No v4 tuning-lane promotion. This is the patch that makes the new runtime contract safer to run on real machines.
What Changed
1) Storage governance follows the data lane
gateway-gonow receivesORCH_STORAGE_GOVERNANCE_DISK_ROOT=${ORCH_STORAGE_GOVERNANCE_DISK_ROOT:-/data}from Compose.- The storage-governance status path now defaults to the mounted memory lane instead of the container overlay filesystem.
scripts/verify_storage_mounts.shnow checks that the gateway storage-governance root is/dataor under/data.- The verifier rejects unset, relative,
/, or overlay-oriented roots when the mounted data lane is the intended storage root.
This matters for local-first installs with external drives: ContextLattice should not claim the memory store is under internal-disk pressure when the live memory data is mounted elsewhere.
2) Codex session-store doctor hardening
- Added a Codex session-store audit that resolves
the default Codex sessions directoryrealpaths before blaming visible local paths. - Detects symlinked session directories and transcript samples that cross into
/Volumesor TCC/cloud-managed locations. - Reports read/list/write/traverse status and concrete failing paths.
- Wires the check into agent context audits and startup policy so advanced transcript storage does not look like mysterious resume corruption.
Default local the default Codex sessions directory remains the safe path. External or symlinked transcript storage is treated as advanced mode that deserves explicit doctor output.
3) PyArrow security fix for LanceDB adapter
- Bumped
services/lancedb_spike_adapter/requirements.txtfrompyarrow==21.0.0topyarrow==23.0.1. - Resolves Dependabot alert #66 / GHSA-rgxp-2hwp-jwgg / CVE-2026-25087.
- Vulnerable range was
>=15.0.0,<23.0.1.
Public Position
v3.4.1 is the hardening patch for ContextLattice as the local memory spine under agent work.
The product story stays simple: durable memory, scoped recall, checkpoints, handoffs, objective state, behavior provenance, and runtime policy belong behind one local contract. This release makes that contract harder to misread and safer to install.
Validation
Recommended release validation:
scripts/verify_storage_mounts.sh
scripts/agent/audit-codex-session-store --pretty
scripts/agent/audit-agent-runtime-contract --pretty
scripts/agent/audit-universal-agent-adapter --pretty
scripts/agent/audit-agent-output-contracts --pretty
python3 -m py_compile scripts/agent/contextlattice-session scripts/agent/contextlattice-agent-adapter
git diff --check
python3 scripts/submission_preflight.pyFor live local validation when the gateway is running:
curl -fsS http://127.0.0.1:8075/status | jq '.ok, .serviceHealth, .storageGovernance.diskRoot, .storageGovernance.pressureBand'
scripts/agent_hooks/native_endpoint_smoke.sh --project context-lattice-private --softExpected live storage-governance output for the full local stack:
diskRoot=/data
pressureBand=healthy
Version Boundary
- Public
v3.4.1: patch-level runtime hardening, security fix, and local install diagnostics. - Public
v3.4.0: stable public agent runtime contract and universal adapter surface. - Private
v4: tuning, experiments, and promotion candidates that still require benchmark, recall, and soak gates.