Skip to content

release(types): openadapt-types 0.24.3 (post-save screen bases for Flow 4.1.0) - #2897

Merged
abrichr merged 2 commits into
mainfrom
release/openadapt-types-0.24.3
Dec 2, 2026
Merged

abrichr merged 2 commits into
mainfrom
release/openadapt-types-0.24.3

Conversation

@abrichr

@abrichr abrichr commented Dec 1, 2026

Copy link
Copy Markdown
Member

Summary

Releases openadapt-types 0.24.3. Everything in packages/types on main since 0.24.2 is already in the tree; this PR changes only the version and the CHANGELOG heading. packages/types on main is identical to openadapt-flow-v4.1.0.

Why now. openadapt-flow 4.1.0, which is on PyPI, accepts openadapt-types>=0.24.2,<0.25.0. PyPI's 0.24.2 predates the post-save screen bases, so Flow 4.1.0 names no screen basis. It then lowers the signed receipt record for a tier-3/4 VERIFIED run to UNKNOWN, and OpenAdapt Cloud's managed callback drops receipt_record for those runs (openadapt-cloud#628). Publishing 0.24.3 fixes that for every new install of Flow 4.1.0.

Why 0.24.3 and not 0.25.0. The package's rule is that a breaking change bumps the minor. 0.25.0 would never reach Flow 4.1.0; it would need a Flow 4.1.1 pin bump plus launcher and Desktop bumps. I measured the change instead of assuming it:

  • outcome_word (216 inputs) and build_evidence_scope (432 inputs), over every level × 0.24.2 basis × confirmed × attested × minimum (default, separate_session, same_screen). Only 12 outputs change. Each is a confirmed level 1–2 check with no basis, where SHOWN becomes RECORDED, or ATTESTED when attested. No word gets stronger and there are no new exceptions.
  • 0.24.2's EvidenceScopeV1 accepts RECORDED and ATTESTED at levels 1–2, and _PREDICATE_OUTCOMES gives them the same outcome set as SHOWN (UNKNOWN/STOPPED/FAILED). Validators written against 0.24.2, Cloud's included, accept the new words.
  • Flow 4.0.0's evidence, receipt, check-level and readback tests (43 files, 1607 tests) give identical results with 0.24.2 and with this tree. Each run has 15 failures, which come from the local environment (empty-result guard, tx boundaries) and appear in both runs.

Every consumer that accepts 0.24.x gets the relabel: Flow 4.0.x and 4.1.0, Desktop (>=0.24.0,<0.25.0) and the launcher. The CHANGELOG states it at the top of the entry.

Order against openadapt-cloud#628

The managed sandbox resolves openadapt-types from PyPI when its image is built, and Modal caches that image until its definition changes. #628 changes the definition (a new Flow wheel URL). Publish 0.24.3 before deploying #628, so the rebuilt staging image gets the screen bases.

Checks

  • packages/types tests: 1112 passed.
  • The release planner publishes once this merges and the merge commit's Packages run passes: the version is new, the CHANGELOG starts with ## v0.24.3, and no tag exists yet.

Merging publishes, and a version is never republished. Don't queue this without the go-ahead.

Publishes the post-save screen bases (post_save_screen, reopened_record),
VERIFIED at check levels 1-4, fresh_reload, the strict evidence matcher and
the agent_used / verifier_adapter fields that are on main since 0.24.2.
openadapt-flow 4.1.0 accepts >=0.24.2,<0.25.0 and needs these to name a
screen basis on its receipts.

Measured against 0.24.2 over every input it accepts: the only output change
is a confirmed level 1-2 check with no basis, SHOWN -> RECORDED (or
ATTESTED when attested), both valid in 0.24.2 with the same outcome set.
Flow 4.0.0's evidence and receipt tests give identical results with 0.24.2
and with this tree.
…tions

- Desktop's overlay contract sync pins the in-tree types version; move it
  and the generated header to 0.24.3 (the contract itself is unchanged), as
  #2558 did for 0.24.1, so desktop-test and the nightly stay green.
- CHANGELOG: a new basis fails to validate under 0.24.2 or earlier, not
  0.24.x; a reopen without fresh-reload proof is RECORDED, not SHOWN; list
  agent_used and verifier_adapter (#2650); rewrap stray long lines.
- evidence_scope comment: SHOWN is kept for receipts written before 0.24.3.
@abrichr

abrichr commented Dec 1, 2026

Copy link
Copy Markdown
Member Author

Independent review: approve, no blockers.

  • Mechanics: the planner will publish. 0.24.3 is new on PyPI, the CHANGELOG starts with ## v0.24.3 (2026-12-01), no tag exists, and the only dependency is pydantic.
  • Compatibility, re-measured independently (with read_back_at set and unset):
    • outcome_word: 24 of 864 outputs change. build_evidence_scope: 56 of 2,016.
    • Every change is a confirmed level 1–2 check with no basis, where SHOWN becomes RECORDED or ATTESTED. Nothing that worked now raises.
    • EvidenceScopeV1 and predicate_evidence_scope_problem give identical verdicts on 240 old-basis blocks.
    • Flow 4.0.x's one use of VERIFIED_LEVELS (verify_run.py:3577) is also gated by a level 3–4 minimum, so it is unchanged.

Fixed in f5408a8:

Left as follow-ups:

  • the platform manifest and the Flow/launcher locks still name 0.24.2 (the post-release reconcile updates them);
  • raising Flow's floor to >=0.24.3 is the lasting fix for existing installs;
  • receipt.py _has_url no longer refuses the Unicode case-folding variants ſ:// / ı://.

@abrichr

abrichr commented Dec 1, 2026

Copy link
Copy Markdown
Member Author

Independent adversarial review: APPROVE

From: Grok
Reviewed-Head: f5408a8

Merging this publishes openadapt-types 0.24.3 to PyPI. I am not merging it. It needs Richard's explicit go-ahead, and the Packages CI at this head has to finish green first.

  • Diff. Against main, three of the files change content: packages/types/CHANGELOG.md, pyproject.toml (0.24.2 to 0.24.3) and uv.lock (same). One comment in evidence_scope.py changes ("before 0.25" to "before 0.24.3"). The two Desktop files change only the pinned-version string and the generated header. No behaviour changes in this PR. Everything shipped is already on main, and packages/types on main is identical to the openadapt-flow-v4.1.0 tag apart from the CHANGELOG.
  • Compatibility claim, measured independently. I installed PyPI openadapt-types==0.24.2 into a clean venv and ran check_level.outcome_word over every level, every basis 0.24.2 knows, confirmed and attested on and off, and the same_screen and separate_session minimums. Against this tree, 288 shared inputs give 8 changes. All 8 are SHOWN becoming RECORDED (4) or ATTESTED (4), on a confirmed level 1 or 2 check with no basis. Nothing gets stronger and nothing that worked now raises. That matches the CHANGELOG paragraph. The tree adds the bases post_save_screen, reopened_record and fresh_reload, which 0.24.2 does not have, and that is stated in the CHANGELOG as well.
  • Why a patch and not 0.25.0. The reasoning in the body holds up: Flow 4.1.0 pins openadapt-types>=0.24.2,<0.25.0, so only a 0.24.x release reaches it. The relabel is the only behavioural difference for existing inputs and is disclosed at the top of the entry. I don't see an unlabelled breaking change.
  • Tests. packages/types tests: 1111 passed, 1 skipped, with cryptography installed. A bare environment fails 1 receipt-callback test, verifier_unavailable, because it has no signature library. That is my environment, not the PR.
  • Release mechanics. PyPI shows 0.24.2 as the latest, 0.24.3 does not exist, and there is no openadapt-types-v0.24.3 tag. The CHANGELOG starts with ## v0.24.3, so the planner's conditions are met.
  • CI at this head. review-verdict, gitleaks, dependency-review, platform-manifest and the GTK check are green. The Python, Rust and npm locked-dependency jobs, freerdp and the Windows replay were still pending when I looked.
  • Order. The body is right that 0.24.3 has to be on PyPI before openadapt-cloud#628 is deployed, so that the rebuilt image gets the screen bases. Performance improvements #628 itself has merged, but deploying it is a separate step that needs its own go.

Nothing to change. I did not push or dispatch anything.

@abrichr
abrichr added this pull request to the merge queue Dec 1, 2026
Merged via the queue into main with commit 7c30a43 Dec 2, 2026
65 checks passed
@abrichr
abrichr deleted the release/openadapt-types-0.24.3 branch December 2, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant