Title: chore(types): schema sync against 3.1.0-beta.3 + drop obsolete handrolled aliases · Issue #807 · adcontextprotocol/adcp-client-python · GitHub
Open Graph Title: chore(types): schema sync against 3.1.0-beta.3 + drop obsolete handrolled aliases · Issue #807 · adcontextprotocol/adcp-client-python
X Title: chore(types): schema sync against 3.1.0-beta.3 + drop obsolete handrolled aliases · Issue #807 · adcontextprotocol/adcp-client-python
Description: Why The 3.1.0-beta.3 schema cache now contains 663 schema files. Several types in src/adcp/types/ were handrolled in the 3.0.x era because upstream didn't provide a schema — many of those gaps are now filled. Cleaning these up before #74...
Open Graph Description: Why The 3.1.0-beta.3 schema cache now contains 663 schema files. Several types in src/adcp/types/ were handrolled in the 3.0.x era because upstream didn't provide a schema — many of those gaps are ...
X Description: Why The 3.1.0-beta.3 schema cache now contains 663 schema files. Several types in src/adcp/types/ were handrolled in the 3.0.x era because upstream didn't provide a schema — many of those gaps ...
Opengraph URL: https://github.com/adcontextprotocol/adcp-client-python/issues/807
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"chore(types): schema sync against 3.1.0-beta.3 + drop obsolete handrolled aliases","articleBody":"## Why\n\nThe 3.1.0-beta.3 schema cache now contains 663 schema files. Several types in `src/adcp/types/` were handrolled in the 3.0.x era because upstream didn't provide a schema — many of those gaps are now filled. Cleaning these up before #741 lands gives canonical-formats a clean type baseline to extend instead of one littered with `FormatId = str`-style stubs.\n\nThis is a baseline-hygiene PR. No semantic changes — just regenerate from current schemas, drop aliases whose target type is now generated upstream, and update CLAUDE.md to match the actual type-module layout (it still references a `stable.py` that no longer exists).\n\n## Scope\n\n1. Run `scripts/sync_schemas.py` against `3.1.0-beta.3` and verify the cache is current\n2. Run `scripts/generate_types.py` and inspect the diff in `src/adcp/types/generated_poc/`\n3. Audit `src/adcp/types/aliases.py` and any `_forward_compat.py` / `_ergonomic.py` entries — delete aliases whose target type now has a real generated schema\n4. Update CLAUDE.md's \"Import Architecture for Generated Types\" section to match reality (stable.py reference is stale)\n5. Confirm `ruff check src/`, `mypy src/adcp/`, `pytest tests/ -v` all pass\n\n## Out of scope\n\n- Adding new types (that's #741's job)\n- Schema source changes (upstream concern)\n- Renaming generated classes (would be breaking)\n\n## Acceptance\n\n- [ ] Schema cache is current against `3.1.0-beta.3`\n- [ ] Regenerated `generated_poc/` either has no diff (already in sync) or the diff is purely additive / matches a documented upstream change\n- [ ] At least the `FormatId`, `PackageRequest`, and any other stubs called out in CLAUDE.md are evaluated; aliases that now have schemas are removed\n- [ ] CLAUDE.md type-architecture section matches the actual file layout\n- [ ] All three pre-commit checks pass\n\n## Refs\n\n- #802 (6.0-beta line cut — this lands on that line)\n- #741 (canonical-formats — depends on clean type baseline)","author":{"url":"https://github.com/bokelley","@type":"Person","name":"bokelley"},"datePublished":"2026-05-22T17:55:35Z","url":"https://github.com/adcontextprotocol/adcp-client-python/issues/807"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:90bc66d1-416c-4c0c-9602-2601602bef18 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D030:FC5BE:D0B16B:11611EC:6B00FEC0 |
| html-safe-nonce | c8b2fcb48fd6226c1a9351433c1d6bcd2f4c2be5c63cf30485308bc54751044e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDMwOkZDNUJFOkQwQjE2QjoxMTYxMUVDOjZCMDBGRUMwIiwidmlzaXRvcl9pZCI6Ijc0NjU0NTEzMDQ2MDU3Nzc2MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ce0a48379b622145f8748603a4d3179cf670f736fd0f0a59400ef8712bda3f2a |
| hovercard-subject-tag | issue:4504617371 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/adcontextprotocol/adcp-client-python/807/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0ae4d9df2b7b46be55fc4fcc4dd72ed282e00e8135f9058a22d900ddd70f6031/adcontextprotocol/adcp-client-python/issues/807 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0ae4d9df2b7b46be55fc4fcc4dd72ed282e00e8135f9058a22d900ddd70f6031/adcontextprotocol/adcp-client-python/issues/807 |
| og:image:alt | Why The 3.1.0-beta.3 schema cache now contains 663 schema files. Several types in src/adcp/types/ were handrolled in the 3.0.x era because upstream didn't provide a schema — many of those gaps are ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bokelley |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/adcontextprotocol/adcp-client-python git https://github.com/adcontextprotocol/adcp-client-python.git |
| octolytics-dimension-user_id | 221690821 |
| octolytics-dimension-user_login | adcontextprotocol |
| octolytics-dimension-repository_id | 1090305973 |
| octolytics-dimension-repository_nwo | adcontextprotocol/adcp-client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1090305973 |
| octolytics-dimension-repository_network_root_nwo | adcontextprotocol/adcp-client-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width