~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

Lay the Rust out as a flat workspace

Merged
Merged chadtmiller.com asked to merge into main from chadtmiller.com/monolith:layout

The Rust becomes a flat workspace, as is usual for multi-crate projects (rust-analyzer's layout): every crate one level down in crates/, its directory named as the crate, under a root Cargo.toml that holds only the workspace, its shared package fields (version = "0.0.0", edition, publish = false) and its dependencies' versions.

CrateIs
pds-repothe data model, MST, signed commits and CAR files, with no I/O, checked by atproto's test vectors
pds-storethe append-only log
pds-serverXRPC and the firehose over those two, still built as the pds-server binary the harness runs

It's a move, not a change: no behaviour or spec changes. The only edits in the code are imports, and the test fixtures' paths, now anchored to CARGO_MANIFEST_DIR. AGENTS.md, the README and the review guidance say crates/ where they said server/.

Crate boundaries are builder boundaries: a slice names the crates its builder may change. Every method as an MCP tool and a CLI command comes next, stacked on this, as pds-lexicon, pds-cli and a pds binary.

Checked: just gates: all 10 harness runs and all 9 tests, the same as before the move.

🤖 Generated with Claude Code

Approved

This moves server/ into a flat workspace of pds-repo, pds-store and pds-server. It is a pure move: the code edits are imports and fixture paths anchored to CARGO_MANIFEST_DIR, so nothing needs to change in spec/. The gates check passed on the head commit, covering the build, tests and harness. AGENTS.md, the README and review.md now say crates/. The README describes what is built, not its history, and the harness is untouched. I found no new atproto crates, and the dependencies are the same ones as before, now declared once at the workspace root. I found no server/ directory path left in the repo outside the MCP spec's server/discover and similar protocol paths.

Merged as d679a06