A zero-dependency AT Protocol Personal Data Server written in JavaScript forked from chadtmiller.com/pds.js

fix: correct MST layer ordering (root at highest layer, not layer 0) master

ATProto MST spec: "Layers are counted from the bottom of the tree, starting with zero." This means: - Layer 0 is at the BOTTOM - Root is at the HIGHEST layer (max depth of any key) - Subtrees go DOWN to lower layers Previous implementation had this inverted, causing "depths are out of order" validation errors in pdsls. Also includes: - MST nodes must include l and t fields (even when null) per ATProto schema - handleGetRepo now only includes blocks reachable from current commit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>


+81 -17
1 changed file