From a3ac15360c50da858bb226039c8b63b8e3f512e5 Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Thu, 26 Feb 2026 13:22:25 -0600 Subject: [PATCH] fix: attribute directory structure to TypeScript SDK, not indigo the domain subdirectories (syntax/, crypto/, identity/, repo/, xrpc/) mirror bluesky-social/atproto packages, not indigo's layout. Co-Authored-By: Claude Opus 4.6 --- CHANGELOG.md | 2 +- devlog/003-trust-chain.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a995808..65a24f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## 0.2.0 - **feat**: end-to-end repo verification — `verifyRepo(allocator, identifier)` exercises the full AT Protocol trust chain: handle → DID → DID document → signing key → fetch repo CAR → verify commit signature → walk MST → rebuild tree → CID match -- **refactor**: organize `src/internal/` into domain subdirectories following bluesky-social/indigo: `syntax/`, `crypto/`, `identity/`, `repo/`, `xrpc/`, `streaming/`, `testing/` +- **refactor**: organize `src/internal/` into domain subdirectories following the [TypeScript SDK](https://github.com/bluesky-social/atproto/tree/main/packages): `syntax/`, `crypto/`, `identity/`, `repo/`, `xrpc/`, `streaming/`, `testing/` ## 0.1.9 diff --git a/devlog/003-trust-chain.md b/devlog/003-trust-chain.md index 6b78c68..88d2590 100644 --- a/devlog/003-trust-chain.md +++ b/devlog/003-trust-chain.md @@ -26,7 +26,7 @@ alongside that: ECDSA signing (`signSecp256k1`, `signP256` with RFC 6979 determi ### code organization (0.2.0) -22 files in a flat `src/internal/` was getting unwieldy. we reorganized into domain subdirectories following bluesky's own boundaries (from [bluesky-social/indigo](https://github.com/bluesky-social/indigo)): +22 files in a flat `src/internal/` was getting unwieldy. we reorganized into domain subdirectories following bluesky's own boundaries (from the [TypeScript SDK](https://github.com/bluesky-social/atproto/tree/main/packages)): ``` internal/ @@ -39,7 +39,7 @@ internal/ testing/ — interop_tests ``` -the groupings aren't arbitrary. in both indigo (Go) and the TypeScript SDK, `syntax` is pure parsing with zero deps, `identity` handles network resolution, `crypto` is P-256 + K-256, and `repo` contains the MST, CAR, and CBOR together (CBOR isn't a standalone package — it lives with the types that need it). +the groupings aren't arbitrary. the TypeScript SDK has `syntax`, `crypto`, `identity`, `repo`, and `xrpc` as distinct packages — `syntax` is pure parsing with zero deps, `identity` handles network resolution, `crypto` is P-256 + K-256, and `repo` contains the MST, CAR, and CBOR together (CBOR isn't a standalone package — it lives with the types that need it). ## the repo verifier -- 2.51.2