Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
ROOT = Path(__file__).resolve().parents[1]
OUTPUT = ROOT / "src" / "overlay" / "generated" / "contract.ts"
SCHEMA_DIR = ROOT / "src" / "overlay" / "generated" / "schemas"
PINNED_TYPES_VERSION = "0.24.2"
PINNED_TYPES_VERSION = "0.24.3"
SCHEMA_NAMES = (
"control-overlay-frame-v2.json",
"control-overlay-timeline-v2.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/desktop/src/overlay/generated/contract.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from openadapt-types 0.24.2. Do not edit by hand.
// Generated from openadapt-types 0.24.3. Do not edit by hand.

export const CONTROL_OVERLAY_FRAME_VERSION = "openadapt.control-overlay-frame/v2" as const;
export const CONTROL_OVERLAY_TIMELINE_VERSION = "openadapt.control-overlay-timeline/v2" as const;
Expand Down
35 changes: 25 additions & 10 deletions packages/types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
# CHANGELOG


## Unreleased
## v0.24.3 (2026-12-01)

Compatibility: for every input 0.24.2 accepts, `outcome_word` and
`build_evidence_scope` return the same word except for a confirmed level 1
or level 2 check with no basis. That check was `SHOWN` and is now `RECORDED`,
or `ATTESTED` when an operator attested it. Both words were already valid at
those levels in 0.24.2, and they are consistent with the same `record/run/v1`
outcomes as `SHOWN`. No word becomes stronger and no call that worked now
raises. `SHOWN` blocks written earlier still validate. openadapt-flow 4.1.0, which accepts
`>=0.24.2,<0.25.0`, needs this release to name the `post_save_screen` and
`reopened_record` bases on its receipts; with 0.24.2 it names none.

- `check_level`: the post-save screen check earns `VERIFIED`. New bases
`post_save_screen` (level 1) and `reopened_record` (level 2) are handed out
Expand All @@ -27,15 +37,15 @@
A block that names a screen basis and lists `fields_not_read` does not
validate, whatever its word. A `record/run/v1` receipt with a screen basis
is refused unless every line is confirmed and none lists `field_values` as
not checked.
A block with a new basis does not validate under openadapt-types 0.24.x.
not checked. A block with a new basis does not validate under
openadapt-types 0.24.2 or earlier.
- Test vectors: `valid-evidence-scope-post-save-screen` (a signed
`VERIFIED` receipt with basis `post_save_screen`) and
`older-evidence-scope-shown` (an older `SHOWN` receipt that still
verifies), `evidence-scope-screen-with-unread-fields` and
`evidence-scope-screen-with-unchecked-write` (both refused), plus `vectors/screen-check/cases.json`, shared by the types,
Flow, kernel and launcher tests.

`evidence-scope-screen-with-unchecked-write` (both refused), plus
`vectors/screen-check/cases.json`, shared by the types, Flow, kernel and
launcher tests.
- `evidence`: one strict matcher for deciding whether text on a screen or
page proves a value or a commit. `match_field` returns `MATCH`, `MISMATCH`
or `AMBIGUOUS`, and only `MATCH` may pass. A value bound to its label is
Expand All @@ -44,7 +54,8 @@
is not in `2026-11-29`. A label binds only at the start of a line or after
`|`, `;` or a tab, with only punctuation between, so `Previous Patient
ID:`, `Error: Claim ID:` and `Name: Jane Doe Previous MRN:` don't bind,
and neither does `DOB` in a single-line `Patient: X DOB: Y`. A bound value may hold only unit words beside the value:
and neither does `DOB` in a single-line `Patient: X DOB: Y`. A bound
value may hold only unit words beside the value:
`CLM-1 not found`, `Dose: <5`, `250.00 CR` and `Jane Sample (not this
patient)` are `AMBIGUOUS`. Numbers compare as whole numeric tokens by value,
so `250` never matches `$1,250.00` and `5` never matches `50 mg`. One
Expand All @@ -53,15 +64,19 @@
before, a question, a modal or future form, a negation, or a control
label next to it, and a failure word (`Error`, `rolled back`, `draft`,
`0 records`) on any line new since the first frame.
`has_negation_or_modal` exposes the word check. The module is standard library only. The launcher and
the kernel carry byte-identical copies, and a test fails when the copies
`has_negation_or_modal` exposes the word check. The module is standard
library only. The launcher and the kernel carry byte-identical copies, and a test fails when the copies
drift. `tests/evidence_corpus.json` pins the verdicts on adversarial
cases and true positives. `docs/evidence-migration.md` lists which
callers use it.
- `check_level`: a `fresh_reload` basis at level 3. It is a new navigation in
the acting session that is proven to have fetched from the server (cache
bypassed, the request kept as evidence). With it a level 3 check is
`VERIFIED`; a reopen without that proof stays level 2, `SHOWN`.
`VERIFIED`; a reopen without that proof stays level 2, `RECORDED`.
- `evidence_scope`: optional `agent_used` and `verifier_adapter` labels name
the agent or compiled plan that produced a run and the verifier stack that
checked it (#2650). Each is a short label and may not contain a URL. A
block that carries either does not validate under openadapt-types 0.24.2.
- Test vectors only, no code change: six `record/run/v1` vectors
(`evidence-scope-null`, `evidence-scope-null-basis`,
`evidence-scope-null-read-back-at`, `evidence-scope-null-recheck-window`,
Expand Down
2 changes: 1 addition & 1 deletion packages/types/openadapt_types/evidence_scope.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def _consistent(self) -> "EvidenceScopeV1":
if self.word == "SHOWN" and not (
CheckLevel.SAME_SCREEN <= level <= CheckLevel.REOPENED
):
# The older word, kept so receipts written before 0.25 verify.
# The older word, kept so receipts written before 0.24.3 verify.
raise ValueError("SHOWN is a level 1 or 2 re-read of the acting screen")
if self.word == "SHOWN" and self.basis is not None:
raise ValueError("an older SHOWN block names no basis")
Expand Down
2 changes: 1 addition & 1 deletion packages/types/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "openadapt-types"
version = "0.24.2"
version = "0.24.3"
description = "Pydantic models for computer-use agents: screen state (ComputerState, UINode), actions (Action), and results (ActionResult)"
readme = "README.md"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion packages/types/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading