# Conformance suite design

The Media Discussions alpha has an HTTP interface for docs and pilot reads, plus records that independent software can read or write through AT Protocol. Record-level interoperability requires the relevant PDS, publisher, and account capabilities. The HTTP profiles provide a repeatable starting point while network acceptance remains separately observable. [Public reference](https://media.experiments.verylittlegravitas.com/docs) · [Pilot acceptance guide](https://github.com/danhon/atproto-media/blob/9c2ae4d0edbde152ea46276cfa17937a924e298c/docs/PILOT.md)

## Source findings

| Area | What the primary sources establish | Evidence in this suite |
| --- | --- | --- |
| Reproducible suites | Web Platform Tests recommends self-contained tests with clear results. The AT Protocol interoperability project keeps reusable, implementation-neutral vectors and defers to specifications in a conflict. [WPT general guidelines](https://web-platform-tests.org/writing-tests/general-guidelines.html) · [AT Protocol interoperability vectors](https://github.com/bluesky-social/atproto-interop-tests) | Run the same fixed pilot inputs against any HTTP implementation. The runner is a single standard-library file. It checks status, content type, and decoded content, names each check, and offers machine-readable results. |
| HTTP schemas and network discovery | Lexicons define record schemas with a version-1 schema format. Network publishing uses namespace-controlled DNS and `com.atproto.lexicon.schema` records. [Lexicon specification](https://atproto.com/specs/lexicon) · [Publishing Lexicons](https://atproto.com/guides/publishing-lexicons) | Check the seven HTTP schema IDs and baseline definitions, plus version and index consistency. Confirm namespace publication with separate DNS and repository reads. |
| Media identity | AT URIs identify repository records; handle-based locators can become stale or refer to another account. AT Protocol record keys are case-sensitive. The pilot uses DID-based episode, season, and series links and attributable mapping claims. [AT URI scheme](https://atproto.com/specs/at-uri-scheme) · [Record keys](https://atproto.com/specs/record-key) · [Episode identity decision](https://github.com/danhon/atproto-media/blob/9c2ae4d0edbde152ea46276cfa17937a924e298c/docs/adr/0001-episode-records-are-portable-identifiers.md) | Check fixture identity, provider link variants, unresolved inputs, and the graph generated by the catalog manifest. Independently confirm publication with PDS reads. |
| Confidential OAuth | AT Protocol OAuth requires DPoP and checks that bind the authenticated subject to the authorization server and PDS. Client metadata and public keys are published for authorization server lookup. [AT Protocol OAuth](https://atproto.com/specs/oauth) | The optional HTTPS check validates the pilot’s public confidential client metadata and JWKS shapes. Exercise authorization, callback, refresh, and protected operations with a test account. |
| Directory visibility | Bluesky exposes a logged-out visibility preference. Blacksky-Only posts are limited to an authorized audience. The pilot rechecks source visibility on display. [Bluesky visibility preferences](https://bsky.network/docs/about-bluesky-content/visibility-preferences/) · [Blacksky-Only posts](https://docs.blacksky.community/using-blacksky/posts-and-feed/blacksky-only-posts) · [Visibility decision](https://github.com/danhon/atproto-media/blob/9c2ae4d0edbde152ea46276cfa17937a924e298c/docs/adr/0002-directory-entries-preserve-source-visibility.md) | Check fixture source links and guest share metadata. Test moderation, deletions, restrictions, and all potential public outputs separately with local fixtures and controlled live accounts. |
| Private watch data | AT Protocol Personal Spaces support owner-scoped private data access. The pilot defines its watch collection and a stable key for each episode. Migration is a separate account operation. [Spaces data guide](https://atproto.com/guides/spaces-data) · [Watch implementation](https://github.com/danhon/atproto-media/blob/9c2ae4d0edbde152ea46276cfa17937a924e298c/src/watch.mjs) · [Account migration](https://atproto.com/guides/account-migration) | Check the watch and watch Space schema definitions. Use authorized fixture and live tests for data isolation, cross-client access, and migration. |

The official AT Protocol interoperability vectors are useful when implementing protocol primitives such as AT URI parsing, Lexicon validation, or repository storage. Use those vectors against the relevant primitives and this suite against the project-specific HTTP interface. The HTTP fixture uses only known pilot data because third-party links, account permissions, and deployed PDS capabilities can change. [Official AT Protocol vectors](https://github.com/bluesky-social/atproto-interop-tests) · [One-pass guide and verification commands](https://media.experiments.verylittlegravitas.com/docs/conformance/agents.md)
