chadtmiller.com/monolith
An atproto PDS
0
0
Lay the Rust out as a flat workspace
Merged 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
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 rootCargo.tomlthat holds only the workspace, its shared package fields (version = "0.0.0", edition,publish = false) and its dependencies' versions.pds-repopds-storepds-serverpds-serverbinary the harness runsIt'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 saycrates/where they saidserver/.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-cliand apdsbinary.Checked:
just gates: all 10 harness runs and all 9 tests, the same as before the move.🤖 Generated with Claude Code