Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
22ddf05
feat(seal-view): make the Seal page one screen, like an app, with lig…
abrichr Nov 21, 2026
de9662d
fix(seal-view): keep the top bar's height fixed, keep the map pane ou…
abrichr Nov 21, 2026
e792cf9
fix(seal-view): lay out split or stacked from CSS, and inherit the th…
abrichr Nov 21, 2026
f779014
fix(seal-view): accept only a relative path or https URL for host fil…
abrichr Nov 21, 2026
be9defa
Merge origin/main into feat/seal-page-app
abrichr Nov 21, 2026
f760f00
feat(types): record/run/v1 receipts in a DSSE envelope, signer roles,…
abrichr Nov 21, 2026
513888d
feat(flow): write receipt.json (record/run/v1) for every run; flow en…
abrichr Nov 21, 2026
fb725b5
feat(cli): openadapt verify and openadapt receipt; seal stays a hidde…
abrichr Nov 21, 2026
fc16125
chore(desktop): label the encrypt action Encrypt version
abrichr Nov 21, 2026
b6b8f0a
feat(seal-view): say receipt, always show the signer line, try changi…
abrichr Nov 21, 2026
d54ed48
docs: receipts replace Seals; one record per run
abrichr Nov 21, 2026
4b42bd0
fix(flow): read the run summary from run-summary.json; the tutorial w…
abrichr Nov 21, 2026
79582b8
build(seal-view): rebuild the offline receipt viewer
abrichr Nov 21, 2026
d0eec11
fix(cli): send a path-like argument to openadapt verify, even a missi…
abrichr Nov 21, 2026
25ff771
fix(cli): quickstart and verify tests for receipt wording; verify fin…
abrichr Nov 21, 2026
99d3439
fix(cli): verify fails closed on a broken receipt, keeps verify opera…
abrichr Nov 21, 2026
46b0630
fix(flow): encrypt is a renamed leaf; setup encrypt still routes to s…
abrichr Nov 21, 2026
e3d8edf
refactor(flow): register encrypt and the after-run receipt outside __…
abrichr Nov 21, 2026
84a3c7a
feat(seal-view): match openadapt-web's viewer: the failed-copy headli…
abrichr Nov 21, 2026
70bdde9
style(flow): import order in public_seal
abrichr Nov 21, 2026
5a70434
fix(flow): write receipt files through open_binary, every byte
abrichr Nov 21, 2026
b48e861
Merge remote-tracking branch 'origin/main' into feat/seal-page-app
abrichr Nov 21, 2026
6c8b6cb
fix(seal-view): refuse https links with userinfo after the host
abrichr Nov 21, 2026
adef5a4
fix(flow): a receipt never says VERIFIED over writes it left out
abrichr Nov 21, 2026
678b569
fix(receipts): refuse revoked public-seal keys and run folders withou…
abrichr Nov 21, 2026
99dcc78
fix(receipts): close the round-3 fail-opens in verify and the viewer
abrichr Nov 21, 2026
ee30ed0
fix(verify): pin a hosted link's signer here; forward options on the …
abrichr Nov 21, 2026
af70c50
Merge remote-tracking branch 'origin/main' into feat/seal-page-app
abrichr Nov 21, 2026
b38fb4f
chore(ci): refresh head for clean protected-safety-review author decl…
abrichr Nov 21, 2026
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
1 change: 1 addition & 0 deletions .github/workflows/quickstart-lifecycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,5 @@ jobs:
runs/launcher-lifecycle/artifacts/**/REPORT.md
runs/launcher-lifecycle/artifacts/**/report.json
runs/launcher-lifecycle/artifacts/**/receipt.json
runs/launcher-lifecycle/artifacts/**/run-summary.json
if-no-files-found: warn
9 changes: 6 additions & 3 deletions CAPABILITIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,11 +349,13 @@ improvising or retrying when something is off.
| Named sections for every compiled program ("Who: title, first name, last name", "Contact", "Create New Patient"), found without a model from the save, the recorded form structure, the fields and any narration; a person can rename, merge or split them on the review screen | Released | Unit tests; the certified OpenEMR referral bundle and a real recording of it on a local test copy with made-up patients | `openadapt-flow sections`; [SECTIONS.md](packages/flow/docs/SECTIONS.md) |
| Encrypt PHI at rest: every bundle file that can hold patient data under one sealed index (unknown files refused), web recordings from the first frame, and the run directories of sealed bundles; compile, induce, scaffold-verifier, qualify, admit, run, resume, undo, visualize, explain, emit-skill, for-each, sections, check mark, compose, process, variants, route, teach and push read them in memory through one artifact reader and refuse without the key; teach keeps its skill library and taught bundle sealed, and push keeps its sanitized review copy and approved archive encrypted until the upload | On main | Synthetic (no-plaintext audit-hook test over record, compile and a VERIFIED run; per-frame cost measured) | `openadapt-flow seal`, `record`; [phi_at_rest.md](packages/flow/docs/phi_at_rest.md) |
| Encryption at rest under a configured or locally generated key (0600): durable checkpoints and attended state by default; with `OPENADAPT_FLOW_AT_REST=strict`, every recording, bundle and run directory too. Each plaintext write is logged on stderr and in a ledger that Desktop shows as a notice | On main | Synthetic (key, opt-out, strict-mode, run-directory and attended-state audit-hook tests) | `openadapt_flow.at_rest`; [phi_at_rest.md](packages/flow/docs/phi_at_rest.md#default-opt-out-and-strict-mode) |
| Signed receipts (Seals), countersigned and timestamped, offline by default | Released | Unit tests, real TSA tokens | `openadapt-flow seal`, `countersign`, `local-seal` |
| Receipts: one signed record per run, with any outcome (`receipt.json`, a DSSE envelope over an in-toto `record/run/v1` statement): one line per write with its check, strength and what it didn't check; digests, enums, counts and salted commitments only, never screenshots, typed values, URLs or page text; the outcome copied, never upgraded; signer roles from a pinned registry (this computer, customer key, OpenAdapt Cloud countersignature, public log, demo), unknown key, role or schema fails closed; a public card is the same envelope with only allow-listed values opened (`openadapt.public-disclosure/v1`) | Branch ([#2394](https://github.com/OpenAdaptAI/OpenAdapt/pull/2394)) | Unit tests with synthetic runs (stopped runs, tampered report and payload, unknown signer, embedded image refused); 15 shared vectors for the Python, Cloud and web verifiers | `openadapt verify <file\|folder\|link>`, `openadapt receipt verify\|view\|publish\|unpublish`; [RECEIPTS.md](packages/flow/docs/RECEIPTS.md); [vectors](packages/types/tests/vectors/record-run-v1/README.md) |
| Older signed formats still verify, labelled "older format": offline and public Seals (`local-seal/v1`, `public-seal/v1`), Cloud-signed Execute receipts (`seal-signature/v1`), run summaries (`run-receipt/v2`), write and transaction receipts; Seals countersigned and timestamped | Released | Unit tests, real TSA tokens | `openadapt verify`; `openadapt-flow countersign`, `local-seal`; [OFFLINE_SEALS.md](packages/flow/docs/OFFLINE_SEALS.md) |
| Encrypt a bundle at rest under one encrypted index | Released | Unit tests | `openadapt-flow encrypt` (`seal` is a hidden alias for one release) |
| Offline Seals signed with a key the customer holds: a key file, the OS keychain, or a PKCS#11 token or HSM; pinned keys with rotation and revocation; no fallback to a generated key | On main ([#1392](https://github.com/OpenAdaptAI/OpenAdapt/pull/1392)) | Unit tests with synthetic data (keychain and PKCS#11 through stand-ins) | `openadapt-flow local-seal --key`, `local-seal key create`, `pin`, `revoke`; `openadapt seal verify FOLDER` checks every sealed run in a folder; [OFFLINE_SEALS.md](packages/flow/docs/OFFLINE_SEALS.md#customer-held-keys) |
| Anchor an offline Seal in the public Sigstore Rekor transparency log (opt-in; sends one digest and the public key), and verify the anchor offline from the stored inclusion proof | Released ([#1394](https://github.com/OpenAdaptAI/OpenAdapt/pull/1394)) | Unit tests against a simulated Rekor log; real public Rekor entries and Sigstore TSA tokens for the landing demo's referral runs, verified offline in tests; Ed25519ph matches the RFC 8032 test vector | `openadapt-flow local-seal anchor`, `local-seal verify --require-anchor`; [OFFLINE_SEALS.md](packages/flow/docs/OFFLINE_SEALS.md#optional-anchor-a-seal-in-a-public-transparency-log) |
| Signed write receipts: a verifier verdict with its scope (stores read, window, strength) and a plain not-checked list, signed as a COSE_Sign1 (IETF SCITT shape) and logged in a local Merkle transparency log; checked offline against pinned keys; a receipt that claims more than its scope is neither issued nor accepted; optional Rekor anchor | On main | Unit tests on the real verifier (SQLite) and shadow proxy; COSE checked through python-cwt | `openadapt-flow receipt verify`, `receipt keys export`, `receipt anchor`; `verify_write(..., write_receipt=True)`; `shadow --receipts`; [WRITE_RECEIPTS.md](packages/flow/docs/WRITE_RECEIPTS.md) |
| See a run's Seal offline: one HTML page that checks the Ed25519 signature over the run's exact report in the browser, draws the Seal from it, replays the run over its program map, and lets the reader tamper with a copy; no network requests; the quickstart ends on the person's own | On main ([#1566](https://github.com/OpenAdaptAI/OpenAdapt/pull/1566)) | A real quickstart run's Seal opened from `file://` in Chromium (valid, tampered, no requests); RFC 8032 test vectors; a published OpenEMR Seal's Rekor entry and timestamp | `openadapt seal view RUN_DIR`; `openadapt quickstart`; [`@openadapt/seal-view`](packages/seal-view/README.md) |
| See a run's Seal offline: one HTML page that checks the Ed25519 signature over the run's exact report in the browser, draws the Seal from it, replays the run over its program map, and lets the reader tamper with a copy; no network requests; the quickstart ends on the person's own. One screen: map left, Seal and verdict top right, Summary, Steps, Evidence and Raw tabs; light and dark | On main ([#1566](https://github.com/OpenAdaptAI/OpenAdapt/pull/1566)) | A real quickstart run's Seal opened from `file://` in Chromium (valid, tampered, no requests; a link to one step, keyboard tabs and steps, theme switch, phone layout); RFC 8032 test vectors; a published OpenEMR Seal's Rekor entry and timestamp | `openadapt seal view RUN_DIR`; `openadapt quickstart`; [`@openadapt/seal-view`](packages/seal-view/README.md) |
| Sign in to OpenAdapt Cloud from the terminal: `openadapt login` with no token prints a sign-in link (opened only with `--open`), listens on 127.0.0.1 for the browser's redirect, and redeems Cloud's one-use code with an S256 PKCE verifier that never leaves the process. A first-time user gets a workspace on the way. The credential goes to the OS keychain entry `push` and `report-run` read; a stored token is re-validated as before, and `--token` and `--no-browser` keep the token path | On main | Unit tests with a real loopback listener (state mismatch, refusal, malformed code, timeout, browser opened only on request); end to end against Cloud's `/auth/loopback` and pairing routes in mock mode, both Connect and Cancel | `openadapt login`; [browser_login.py](packages/flow/openadapt_flow/browser_login.py) |
| Publish a run's Seal online: a signed public card (counts, outcomes, each step's check, digests; the program name only with `--names` or for the tutorial; never inputs, intents, screenshots, URLs or halt text) shown in full and uploaded only after a yes, with a delete token; check a hosted link here. The quickstart offers its checked and its stopped run's Seals in one question, showing every public field and the full path to each file; `--show` prints the exact upload | On main ([#2266](https://github.com/OpenAdaptAI/OpenAdapt/pull/2266)) | Unit tests with synthetic reports: planted values absent from the file, 64-step card within 4,096 bytes, stopped runs, mock uploads with real sockets blocked; 29 golden vectors shared with Cloud's verifier | `openadapt-flow local-seal public`; `openadapt seal publish`, `unpublish`, `seal verify <link>`; [OFFLINE_SEALS.md](packages/flow/docs/OFFLINE_SEALS.md#public-seals-a-summary-you-can-post) |
| Run authorizations signed with the authorizer's GitHub SSH key (`ssh-keygen -Y sign`, after a summary of what it allows), naming the signing key and bound to the bundle digest, items, profile and Seal keys, and referenced by each Seal; the identity checked against github.com (`--live`) or pinned allowed signers; a pseudonymous operator profile counted from anchored Seals only | Released ([#1401](https://github.com/OpenAdaptAI/OpenAdapt/pull/1401)) | Unit tests with synthetic data; signatures checked against OpenSSH's `ssh-keygen` both ways | `openadapt-flow local-seal authorize`, `local-seal run --authorization`, `local-seal profile`; [OFFLINE_SEALS.md](packages/flow/docs/OFFLINE_SEALS.md#run-authorizations-who-authorized-the-runs) |
Expand Down Expand Up @@ -448,10 +450,11 @@ A test fails when a command has no file or this list is out of date.

- `attach-seal`
- `countersign`
- `encrypt`
- `local-seal`: Offline Seals: customer-held keys, pinned verification, Rekor anchoring, run authorizations, operator profiles, public cards.
- `receipt`: Signed write receipts (COSE, SCITT shape): check one offline against pinned keys and print what it did not check; export the public keys; anchor in Rekor.
- `redact-report`: Strip session tokens from an existing run's report so it can be sealed again; the original stays local
- `seal`
- `seal`: Hidden alias of `encrypt` for one release.

**Run on premises:**

Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@

## Unreleased

### Features

- **Receipts replace Seals.** A receipt is a signed, itemized record of one run:
what it changed, how each change was checked, and who signed it. It doesn't
grade the run. Every run, with any outcome, now writes `receipt.json` (a DSSE
envelope over an in-toto `record/run/v1` statement) and a private
`receipt.private.json`. `openadapt verify <file|folder|link>` checks any
receipt, prints who signed it ("Signed by this computer", "Countersigned by
OpenAdapt Cloud", "Demo key: checks only in this demo"), fails closed on an
unknown key, schema or role, and still verifies every older format, labelled
"older format". `openadapt receipt verify|view|publish|unpublish` replaces
`openadapt seal`, which stays as a hidden alias. A receipt never holds
screenshots, typed values, URLs or page text.
- `openadapt flow encrypt` replaces `flow seal` (a hidden alias for one release).
Desktop's "Seal and encrypt version" is now "Encrypt version".
- The run summary (`run-receipt/v2`) moves from `receipt.json` to
`run-summary.json`, `.md` and `.png`. Older run folders still read.

### Fixes

- `openadapt quickstart` keeps the browser hidden and shows each step in the
Expand Down
Loading
Loading