Skip to content

This release adds 3 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

agent-framework agent-orchestration ai-infra ai-interface context-engineering context-management
+4 more
go long-horizon-agents long-horizon-intelligence rust

Summary

AI summary

Host recovery now uses an explicitly bounded state machine with non-destructive defaults.

Full changelog

ContextLattice v4.0.4: Recovery Without Collateral Damage.

A self-healer should restore the service, not repeatedly stop the machine beneath it. v4.0.4 turns ContextLattice host recovery into a fail-closed, explicitly bounded state machine.

The CLI remains the primary interface. The dashboard, HTTP, and MCP remain companion surfaces.

What Changed

  • Periodic host supervision is non-destructive by default. Health-only failure and high CPU never stop OrbStack.
  • Every Docker probe and container action uses the configured explicit Docker context.
  • Gateway forward repair waits for three consecutive health failures, targets only the labeled gateway container, and runs once per health outage.
  • OrbStack VM restart remains disabled unless an operator explicitly opts in.
  • Opt-in VM recovery requires five consecutive Docker failures, startup grace, post-restart grace, a 15-minute cooldown, a one-attempt-per-outage latch, and a one-attempt-per-hour circuit breaker.
  • VM recovery uses only a graceful orb stop followed by orb start. Force-stop and process-kill paths no longer exist.
  • Concurrent triggers are single-flight, preventing competing state writes or duplicate recovery actions.
  • Health validation parses the root JSON ok boolean instead of substring-matching response text.
  • stop now verifies that launchd unloaded the exact job; failure preserves the plist and returns a real error.
  • Ordinary global-tool upgrades refresh the host helper and safely migrate an already-loaded supervisor without enabling one for users who never installed it.
  • The live supervisor no longer depends on Python for health, timeout, state, or JSON handling.

Safety Boundary

ContextLattice does not auto-enable periodic host supervision. Installing or upgrading the product copies the helper; an existing loaded runner is migrated to fail-closed defaults, while an absent runner remains absent.

Container shedding is also disabled by default. Enabling VM recovery does not remove the failure threshold, grace periods, outage latch, cooldown, circuit breaker, single-flight lock, or graceful-stop-only invariant.

What Did Not Change

  • The CLI-first agent contract.
  • Gateway, retrieval, storage, session, runner, inference, or memory semantics.
  • Public local mode remains account-free; hosted authentication remains opt-in through AUTH_REQUIRED=true.
  • The public Apache-2.0 and commercial BUSL-1.1 source boundary.
  • Aggregate Signal remains a controlled activation preview under its existing privacy and utility gates.

Upgrade

Existing v4 installations can update normally. No data migration or new required service is introduced.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track sheawinkler/ContextLattice

Get notified when new releases ship.

Sign up free

About sheawinkler/ContextLattice

Private-by-default memory and context layer for agents with Go/Rust runtime, staged retrieval across fused data backends, and long-horizon context continuity.

All releases →

Related context

Earlier breaking changes

  • v3.17.3 Agent guidance now mandates the `/agents/tasks` route family.
  • v3.17.3 Task worker now checks approval before any execution steps.

Beta — feedback welcome: [email protected]