Packages

openadapt-flow 4.0.0 & openadapt 1.24.0: Default HPKE Encryption at Rest, Fail-Closed Verdict Kernel, and Upgrade Guide

OpenAdaptAI released openadapt-flow 4.0.0, openadapt 1.24.0, openadapt-agent 2.2.4, openadapt-types 0.24.2, and OpenAdapt Desktop 0.33.1 on November 24, 2026. The major 4.0.0 bump enables sealed-set v3 HPKE encryption at rest by default for recordings, bundles, and run directories, introduces a unified fail-closed verdict kernel and zero-log 2FA handling, and tightens dependency floors. Here is what changed, what breaks on older launchers, and how to upgrade safely.

By 0xScorPionSon

8 min read

openadapt-flow 4.0.0 & openadapt 1.24.0: Default HPKE Encryption at Rest, Fail-Closed Verdict Kernel, and Upgrade Guide

openadapt-flow 4.0.0 and openadapt 1.24.0 HPKE encryption at rest architecture

Executive Summary

On November 24, 2026, OpenAdaptAI published a coordinated monorepo release on GitHub Releases and PyPI: openadapt-flow 4.0.0, openadapt 1.24.0, openadapt-agent 2.2.4, openadapt-verify 0.2.1, openadapt-types 0.24.2, and OpenAdapt Desktop 0.33.1. Targeting Python 3.11 and 3.12 GUI/browser automation and EHR/payer-portal agent workflows (MIT license for core packages, with separately licensed media/vision components downloaded on first use in Desktop), openadapt-flow 4.0.0 introduces two major breaking changes alongside deep verification and security hardening.

First, encryption at rest is now enabled by default (#2423): recordings, compiled bundles, and run directories (including report, step screenshots, crops, frames, evidence, and REPORT.md) are written as sealed-set v3 encrypted containers using cryptography>=50 HPKE (P-256, HKDF-SHA256, AES-256-GCM) and Tink AES-256-GCM-HKDF 1 MiB streams. Second, openadapt-flow 4.0.0 tightens its dependency floor to openadapt-types>=0.24.2,<0.25.0 because earlier 0.24.0 installs lacked newly imported modules (evidence_scope, run_ledger, receipt, exception_card) and caused import-time crashes. Teams upgrading from openadapt 1.23.0 / Flow 3.4.0 must update launcher, agent, and types packages together—and configure recovery keys or --no-encrypt flags before running unattended CI pipelines.


Adoption Telemetry & Version Changelog

OpenAdapt operates as a modular Python monorepo (OpenAdaptAI/OpenAdapt) spanning CLI launchers, a deterministic compiler/governed runtime (openadapt-flow), an AI agent layer (openadapt-agent with Official MCP Registry auto-syndication and A2A protocol support), and native Tauri/React desktop installers:

  • Coordinated November 24, 2026 Package Matrix (Verified on GitHub Releases):
    • openadapt-flow: 4.0.0 (major breaking release; pairs with openadapt 1.24.0 via >=4.0.0,<5.0.0).
    • openadapt (launcher): 1.24.0 (replaces 1.23.0, which remains pinned to openadapt-flow<4 / 3.4.0 because 1.23.0 reads run files via plain paths).
    • openadapt-agent: 2.2.4 (widens openadapt-flow[vision] and tutorial extras to >=2.2.0,<5 so 1.24.0 resolves with Flow 4.0.0 on PyPI; follows 2.2.3 on Nov 22 adding serve --a2a Agent2Agent support).
    • openadapt-verify: 0.2.1 (widens openadapt-flow and openai/claude/mcp extras from <4 to <5, #2535).
    • openadapt-types: 0.24.2 (0.24.1 was tagged on main but never published; 0.24.2 is the first published release with receipt, run_ledger, exception_card, evidence_scope, and check_level).
    • OpenAdapt Desktop: 0.33.1 (freezes openadapt-flow[browser,console]==2.4.1 and playwright==1.61.0 inside its sidecar, shipping macOS DMG, Windows MSI/NSIS, and Linux DEB/AppImage).
  • Runtime & Dependency Footprint: Core Python packages target Python 3.11 or 3.12 (OpenAdapt Desktop GitHub); openadapt-flow 4.0.0 adds cryptography>=50 (for HPKE) as a core dependency, while pip install openadapt bundles keyring for OS keychain storage (a bare openadapt-flow install without the keychain extra falls back to a 0600 key file with a warning).

Security Patches, Breaking Changes & Internals

Sealed-Set v3 Encryption at Rest (#2423)

Prior to 4.0.0, OpenAdapt stored desktop and browser recordings, step screenshots, and run reports as plaintext directories. In openadapt-flow 4.0.0, every recording, compiled bundle, and run directory is encrypted at rest by default with zero configuration:

  • Cryptographic Envelope: Each set generates a per-set data key wrapped via HPKE (P-256, HKDF-SHA256, AES-256-GCM) to a per-set bucket key, encrypting files as Tink AES-256-GCM-HKDF 1 MiB streams.
  • Key Wrapping & Lifecycle: The bucket key is wrapped to the device runtime key (while the set is written; compiled bundles retain it), a device viewer key, optional organization keys (P-256 or RSA-OAEP-3072 via MDM, Group Policy, or /etc/openadapt/policy.json), and a recovery key (openadapt-flow at-rest recovery create). Note that Secure Enclave, TPM, Touch ID, and Windows Hello providers are currently interface stubs with test doubles—not yet backed by hardware keys.
  • Organization Fail-Closed Policy: In organization mode, an archive directory is accepted only if it contains a .openadapt-key-archive marker; recording aborts if organization recipients or the archive are missing. openadapt-flow at-rest shred authenticates headers first and reports complete only once every tracked bucket-key copy and store file is deleted.
  • Plaintext Receipts & Opt-Out: Receipts (seal.json, receipt.*, public-seal.json) remain plaintext, with digests computed over the plaintext report.json (and note: the receipt page embeds the report, logging it as a plaintext copy beside an encrypted run). Version 1 and 2 sets and legacy plaintext folders remain readable, and passing OPENADAPT_ENCRYPT_AT_REST=0 or --no-encrypt on record, compile, run, or replay disables encryption for that command with a warning and ledger entry.
flowchart LR
    A[Recording / Compiled Bundle / Run Dir] --> B[Tink AES-256-GCM-HKDF<br/>1 MiB Encrypted Streams]
    B --> C[Per-Set Bucket Key<br/>HPKE P-256 + HKDF-SHA256]
    C --> D[Device Key via keyring / 0600 File]
    C --> E[Org Key + .openadapt-key-archive]
    C --> F[Recovery Key<br/>at-rest restore DIR --yes]
    G[openadapt_flow.verdict Kernel] -->|15 Fail-Open Mutations Tested| H[Held / Refuted / Not Checked]

Fail-Closed Verdict Kernel, Verification Ladder & Zero-Log 2FA

Alongside encryption at rest, openadapt-flow 4.0.0 overhauls how agents verify side effects and handle multi-factor authentication:

  • Unified Verdict Kernel (openadapt_flow.verdict): Every check that converts evidence into held, refuted, or not_checked now runs through one kernel. It locks plan obligations up front and refuses to pass empty sets, truncated/short reads, raising probes, cross-run mismatched results, or disagreeing results. A dedicated fail-open test harness (tests/failopen) runs 15 generic mutations against @verdict_site functions—catching 14 historical fail-open bugs and one live connector site—while scripts/check_verdict_folds.py fails CI if hand-written except fall-throughs or partial-read "nothing else changed" checks increase.
  • One Verification Ladder (openadapt_types.check_level): verify-run, runtime reports, and the tx engine now map every check to VERIFIED (levels 3–4 only, paired with separate_session, system_api, activity_log, db_frame, or owned_connection), SHOWN, CONFIRMED, ATTESTED, or RECORDED, carrying an additive openadapt.evidence-scope/v1 block.
  • Zero-Log Second-Factor (second_factor) Steps: When a sign-in flow hits an autocomplete="one-time-code" input (SMS, email, authenticator, or push approval), Flow 4.0.0 pauses for human input via OPENADAPT_SECOND_FACTOR_URL, OPENADAPT_SECOND_FACTOR_COMMAND, or a non-echoing interactive terminal (msvcrt.getwch on Windows). Before typing, it verifies the focused element is still empty and masked as dots; the code is filled once, never retried, and never written to model page listings, screenshots, logs, receipts, or recordings.
  • Network Capture Hashing: record --capture-network, dump_har, and save_har no longer write raw HTTP bodies by default; they store only declared --param and --identifier values plus per-capture keyed hashes of HTML, text, binary bodies, and undeclared query parameters.

Effect Locations & GUI Step Semantics (openadapt_flow.gui.steps)

Two additional runtime additions in openadapt-flow 4.0.0 tighten how desktop and browser agents verify outcomes without hardcoding brittle application strings:

  • Effect Locations (openadapt.effect-location/v1): Stored inside openadapt_flow/effect_location/ as pack data, an effect location defines where a careful human reviewer would look again to confirm an intended write—capturing the demonstration path, start condition (same_screen, fresh_navigation, new_session, or other_channel), locator (label, row key, or region), expected value, and codec (including a template codec for multi-value summary rows and a split_date codec). evaluate_all grades every planned value as held, refuted, or not_checked; any unreachable or unreadable location defaults to not_checked, never a pass. Notably, the engine carries no built-in application vocabulary—month names, currency signs, and yes/no tokens live in the pack itself.
  • Commit vs. Navigation Steps (openadapt_flow.gui.steps): Links, tabs, and menu items now qualify as first-class steps, and each demonstrated click is classified by what the backend observed: a commit when a write occurred, versus a navigation when the screen changed without a write. openadapt_flow.gui exposes a neutral screen view (role, name, state, containers) across browser pages, OS accessibility trees, and form_tx snapshots.

CLI & Recovery Commands (v4.0.0)

# Upgrade launcher, flow, agent, and types together
uv add "openadapt>=1.24.0" "openadapt-flow>=4.0.0,<5.0.0" "openadapt-agent>=2.2.4" "openadapt-types>=0.24.2,<0.25.0"

# Create a recovery key and inspect at-rest encryption status
openadapt-flow at-rest recovery create
openadapt-flow at-rest status

# Restore an encrypted backup using the recovery key
openadapt-flow at-rest restore ./run_dir --yes

# Temporarily disable encryption at rest for a single local debug run
openadapt-flow run --no-encrypt ./bundle

Ecosystem Comparison & Upgrade Checklist

How does openadapt-flow 4.0.0 compare to other Python browser/GUI agent packages and the standalone OpenAdapt Desktop installer?

Package / Distribution Latest Verified Version Encryption & Secrets Posture Verification & Eval Model Dependency / Runtime Notes
openadapt-flow + openadapt 4.0.0 / 1.24.0 (Nov 24, 2026) Default HPKE sealed-set v3; zero-log 2FA; hashed HAR bodies Fail-closed verdict kernel + check_level + EffectBench (SWER) Python 3.11–3.12; cryptography>=50; openadapt-types>=0.24.2,<0.25.0
OpenAdapt Desktop 0.33.1 (Nov 24, 2026) Sidecar freezes openadapt-flow[browser,console]==2.4.1; CycloneDX SBOM + GitHub OIDC attestation Attended decision console + mobile pairing (openadapt://connect) macOS (adhoc DMG), Windows (unsigned MSI/NSIS), Linux (DEB/AppImage)
pydantic-ai-harness 0.74.0 (Nov 24, 2026) PlaywrightBrowser IPv6/NAT64 SSRF blocks + WebRTC/FedCM egress guard pydantic-evals OTel trajectory & online evals Python >=3.11; general LLM/browser agent SDK

Safe Upgrade & Pinning Checklist

  1. Do Not Mix openadapt 1.23.0 with openadapt-flow 4.0.0: Because openadapt 1.23.0 reads run directories via plain filesystem paths, keep 1.23.0 pinned to openadapt-flow<4 (3.4.0), or upgrade openadapt to 1.24.0 alongside openadapt-agent>=2.2.4 and openadapt-verify>=0.2.1.
  2. Enforce openadapt-types>=0.24.2,<0.25.0: If your lockfile pins openadapt-types==0.24.0, Flow 4.0.0 will fail on import (evidence_scope, run_ledger, receipt, exception_card). Upgrade openadapt-types to 0.24.2 first.
  3. Provision keyring and Recovery Keys in CI/Headless Containers: Bare openadapt-flow installs without the keychain extra store device keys in a 0600 file; in ephemeral containers, either generate and mount recovery keys (openadapt-flow at-rest recovery create) or set OPENADAPT_ENCRYPT_AT_REST=0 for non-sensitive synthetic runs.
  4. Verify Native Desktop Checksums: When distributing OpenAdapt Desktop 0.33.1, verify SHA256SUMS with gh attestation verify and verify-openadapt-native-release.py --channel openadapt-desktop-channel.json rather than trusting release-note text.

Frequently Asked Questions

What breaks when upgrading from openadapt-flow 3.4.0 to 4.0.0?

Recordings, compiled bundles, and run directories are now encrypted at rest by default as sealed-set v3 containers, which breaks openadapt 1.23.0 (which expects plain paths). You must upgrade to openadapt 1.24.0, openadapt-agent 2.2.4, openadapt-verify 0.2.1, and openadapt-types>=0.24.2,<0.25.0.

Can I still read older v1/v2 or plaintext OpenAdapt runs in 4.0.0?

Yes. openadapt-flow 4.0.0 still reads version 1 and 2 sets as well as legacy plaintext folders, and you can opt out of encryption for individual commands using --no-encrypt or OPENADAPT_ENCRYPT_AT_REST=0.

Does openadapt-flow 4.0.0 use hardware TPM or Secure Enclave keys yet?

Not yet. The release notes explicitly state that Secure Enclave, TPM, Touch ID, and Windows Hello providers are currently interface stubs with test doubles; the device key is a software P-256 key stored via keyring (or a 0600 file if keyring is absent).

How does openadapt-flow 4.0.0 handle 2FA prompts without leaking OTP codes?

When a focused autocomplete="one-time-code" field is detected, Flow 4.0.0 pauses for human entry via OPENADAPT_SECOND_FACTOR_URL, OPENADAPT_SECOND_FACTOR_COMMAND, or a non-echoing terminal, fills the code once, and omits it from screenshots, page listings, logs, receipts, and recordings.

Why is OpenAdapt Desktop 0.33.1 still bundling openadapt-flow==2.4.1?

OpenAdapt Desktop native releases are unadmitted release candidates whose sidecar freezes openadapt-flow[browser,console]==2.4.1 and playwright==1.61.0 for local authoring and pairing, separate from the 4.0.0 PyPI engine release.


Sources

  1. OpenAdaptAI GitHub Releases (openadapt-flow 4.0.0, openadapt-agent 2.2.4, openadapt-types 0.24.2, OpenAdapt Desktop 0.33.1) — OpenAdaptAI/OpenAdapt (November 24, 2026): https://github.com/OpenAdaptAI/OpenAdapt/releases
  2. PyPI (openadapt-flow) — EffectBench & Package Metadata (Updated November 24, 2026): https://pypi.org/project/openadapt-flow/1.33.0/
  3. OpenAdaptAI GitHub (openadapt-desktop) — Python 3.11/3.12 Runtime & Monorepo Docs (November 2026): https://github.com/OpenAdaptAI/openadapt-desktop
  4. OpenAdapt Official Download Page — Desktop Installers & PyPI Instructions (November 2026): https://openadapt.ai/download

More on Packages

Packages

LiteLLM v1.111.0 and LTS 1.108.17: Rust /v1/messages Path, MCP DCR Opt-In, and Standalone UI Security Updates

LiteLLM shipped v1.111.0 alongside maintenance patches v1.110.4, v1.109.5, and v1.108.17 LTS on November 23–24, 2026. The updates introduce a native Rust /v1/messages execution path, opt-in MCP dynamic client registration, Gemini pass-through file ownership checks, and nginx 1.31.10 / zlib 1.4 upgrades for the standalone UI image, alongside breaking billing and RAG changes.

10 min read

Packages

datasette-charts 0.2a1 & datasette-agent 0.7a1: Full-Table SQLite Charts, URL Fragment Sync, and Plugin Architecture

Simon Willison released datasette-charts 0.2a0/0.2a1 and datasette-agent 0.7a1 on November 24, 2026, wiring natural-language chart generation into Datasette's SQLite explorer. Unlike legacy plugins such as datasette-vega that charted only the first 100 paginated rows, datasette-charts compiles every visualization to a full-table SQL GROUP BY query capped at 5,000 output rows and syncs chart state via URL #fragments. Here is how the plugin works, its permission model, and its alpha limitations.

8 min read

Packages

Pydantic AI v2.74.0: 6 Security Patches (SSRF, OTel), ComputerUse Sandboxes, and Upgrade Guide

Pydantic AI v2.74.0, pydantic-ai-harness v0.74.0, and pydantic-evals v2.74.0/v1.107.11 shipped on November 24, 2026, resolving six security advisories across PlaywrightBrowser SSRF/egress policies, ElevenLabs OpenTelemetry secret logging, and inbound OTel baggage injection. The release also introduces a unified ComputerUse capability across 11 sandbox backends and changes GPT-6.2 prompt caching behavior. Here is what broke, what was patched, and how to upgrade safely.

8 min read

Tell us what is not working

A thirty-minute call, no deck and no obligation. You will leave with a straight answer about whether this is worth building - including if that answer is no.

Start a project

Direct line

hello@codebumble.net
Dhaka, Bangladesh  :   local timeCalls in English or Bangla