Skip to content

feat(compat): add legacy purchase continuation coordinator - #1059

Merged
bokelley merged 4 commits into
mainfrom
feat/legacy-purchase-coordinator
Aug 21, 2026
Merged

feat(compat): add legacy purchase continuation coordinator#1059
bokelley merged 4 commits into
mainfrom
feat/legacy-purchase-coordinator

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • update the SDK to the signed AdCP 3.2.0-beta.4 schema bundle, generated models, exports, and conformance vectors
  • add a durable legacy purchase continuation coordinator with exact 2.5.3, 3.0.18, and 3.1.15 source-schema validation
  • add SQLite atomic claim, idempotent replay, fail-closed ambiguity, reconciliation, safe retention, and concurrent migration handling
  • preserve beta.4 coordinator-input constraints in both Pydantic runtime validation and emitted JSON Schema

Safety

  • stores only hashes of continuation bearer tokens
  • binds principal, account, target, source version, observed payload, selection, pricing, and accepted losses before mutation
  • retains unresolved operations and permits only explicitly safe reconciliation outcomes
  • requires private SQLite file permissions and serializes schema migration across processes

Validation

  • 6795 passed, 40 skipped, 9 deselected, 1 xfailed
  • make lint
  • make typecheck-all
  • make validate-generated
  • pre-commit Black, Ruff, mypy, Bandit, JSON, conflict, and private-key checks
  • independent code and security expert reviews: no remaining merge blockers

Closes #1057

Comment thread src/adcp/compat/sqlite_continuation_store.py Outdated
Comment thread src/adcp/compat/sqlite_continuation_store.py Outdated
Comment thread src/adcp/compat/sqlite_continuation_store.py Outdated
@bokelley
bokelley merged commit f2f1dc0 into main Aug 21, 2026
26 of 27 checks passed
@bokelley
bokelley deleted the feat/legacy-purchase-coordinator branch August 21, 2026 05:34
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.

feat: implement durable legacy purchase continuation coordinator for AdCP 3.2

1 participant