{ "comment": "Response differences between zds and the pinned reference PDS that are understood. diff.py fails on any difference not listed here and on any entry that stops happening. Fields only zds returns are reported but never fail. nsid limits an entry to one method; a missing step or '*' matches every step; a path ending in '*' matches by prefix.", "differences": [ {"step": "describe server", "path": "blobUploadLimit", "kind": "only-in-reference", "reason": "optional field; zds does not advertise its upload limit here"}, {"step": "describe server", "path": "contact", "kind": "only-in-reference", "reason": "optional field; the reference sends an empty object"}, {"step": "describe server", "path": "links", "kind": "only-in-reference", "reason": "optional field; the reference sends an empty object"}, {"step": "create alice", "path": "didDoc.*", "reason": "zds builds the createAccount didDoc itself: one @context entry, fragment-relative ids (#atproto) and the atproto_kem key. All valid DID documents."}, {"step": "create bob", "path": "didDoc.*", "reason": "same as create alice"}, {"step": "alice signs in", "path": "emailAuthFactor", "kind": "only-in-reference", "reason": "optional field; zds has no email 2FA"}, {"step": "alice session", "path": "emailAuthFactor", "kind": "only-in-reference", "reason": "optional field; zds has no email 2FA"}, {"step": "duplicate rkey", "kind": "status", "reason": "the reference answers a duplicate rkey with a 500 (unique constraint); zds returns 400 InvalidRequest"}, {"nsid": "com.atproto.repo.deleteRecord", "path": "commit", "kind": "only-in-reference", "reason": "zds omits the optional commit meta on deleteRecord (todo: return it like createRecord does)"}, {"step": "alice changes handle", "kind": "content-type", "reason": "no output schema; zds sends {} as JSON, the reference an empty body"}, {"step": "alice changes handle", "kind": "type", "reason": "no output schema; zds sends {} as JSON, the reference an empty body"}, {"step": "bob deactivates", "kind": "content-type", "reason": "no output schema; zds sends {} as JSON, the reference an empty body"}, {"step": "bob deactivates", "kind": "type", "reason": "no output schema; zds sends {} as JSON, the reference an empty body"}, {"step": "bob reactivates", "kind": "content-type", "reason": "no output schema; zds sends {} as JSON, the reference an empty body"}, {"step": "bob reactivates", "kind": "type", "reason": "no output schema; zds sends {} as JSON, the reference an empty body"}, {"step": "alice describeRepo", "path": "didDoc.@context", "kind": "only-in-reference", "reason": "zds's describeRepo didDoc has no @context (todo: serve the resolved document)"}, {"step": "alice describeRepo", "path": "didDoc.verificationMethod", "kind": "only-in-reference", "reason": "zds's describeRepo didDoc has no signing key (todo: serve the resolved document)"}, {"step": "alice describeRepo", "path": "didDoc.service[0].id", "kind": "value", "reason": "zds uses a fragment-relative service id"}, {"step": "alice describeRepo", "path": "didDoc.alsoKnownAs[0]", "kind": "value", "reason": "the reference serves a DID document cached from before the handle change"}, {"step": "alice describeRepo", "path": "handleIsCorrect", "kind": "value", "reason": "the reference serves a DID document cached from before the handle change"}, {"step": "bob describeRepo", "path": "didDoc.@context", "kind": "only-in-reference", "reason": "zds's describeRepo didDoc has no @context (todo: serve the resolved document)"}, {"step": "bob describeRepo", "path": "didDoc.verificationMethod", "kind": "only-in-reference", "reason": "zds's describeRepo didDoc has no signing key (todo: serve the resolved document)"}, {"step": "bob describeRepo", "path": "didDoc.service[0].id", "kind": "value", "reason": "zds uses a fragment-relative service id"}, {"step": "unknown repo", "kind": "status", "reason": "zds answers RepoNotFound with 404, the reference with 400; the error name matches"} ] }