Repository navigation
fix(docs): align README crate-structure block with workspace (closes #704) - #705
Merged
Merged
Conversation
…704) The crates/ block and Binaries description in README.md had drifted from Cargo.toml / CLAUDE.md / AGENTS.md: - add the config-types leaf crate (9 members, split out in #578) - de-indent contracts/ — it lives at repo root, excluded from the workspace - relabel reputation as local EWMA now / gossip aggregation deferred (ADR 008) - add the wired `bundle {create}` CLI command to the binaries description Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request updates the README.md to document the new bundle {create} command for the decdn CLI and updates the crates directory structure description to reflect recent changes, including the addition of the config-types crate. The review feedback suggests formatting the reference to ADR 008 as a relative markdown link to maintain consistency with other ADR references in the documentation.
There was a problem hiding this comment.
Pull request overview
This PR updates README.md to re-align the documented crate layout and CLI surface with the current Rust workspace structure and implemented commands.
Changes:
- Add
config-types/to the documented workspace crate list and mark it as a leaf crate. - Move
contracts/out of thecrates/block and clarify it is repo-root and excluded from the Cargo workspace. - Update the README’s CLI and reputation descriptions (including adding
bundle {create}and describing reputation as local EWMA with deferred gossip aggregation).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- README: add the `node top` subcommand to the binaries CLI summary (NodeCommand::Top, issue #275) — same CLI-surface drift class as #704 - README: reword the Reputation design-decision bullet to match the current local-EWMA-only implementation (gossip aggregation deferred, ADR 008), resolving the contradiction with the crate description - CLAUDE.md (and AGENTS.md via symlink): add `bundle {create}` to both cli surface references so the canonical docs match the wired command documented in README Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
crates/block and Binaries description inREADME.mdhad drifted from the actual workspace (Cargo.toml) and the canonical descriptions inCLAUDE.md/AGENTS.md. This brings the README back in line.Four confirmed drifts fixed:
config-typescrate —Cargo.toml[workspace].memberslists 9 crates includingcrates/config-types(the leaf crate split out in CLI binary-split regression: publisher links cache crate (iroh-blobs/AWS SDK) #578); README listed 8.contracts/— it lives at the repo root and isexcluded from the workspace (Cargo.tomlexclude = ["contracts"]), not a workspace crate.bundleCLI command — thedecdnCLI has a wired top-levelBundlecommand (crates/common/src/cli/mod.rs:76, dispatched atcrates/cli/src/main.rs:30;bundle createperappendix-bundles.md, decdn bundle subcommand: pull and create directory bundles #391).Verification
Cargo.toml[workspace].members(9 members,contractsexcluded) and theAGENTS.md/CLAUDE.mdcrate blocks.bundle {create}matches the singleCreatevariant incrates/common/src/cli/bundle.rs— no over-claiming of unimplemented subcommands.Closes #704.
🤖 Generated with Claude Code