Skip to content

fix(docs): README.md crate-structure block has drifted from Cargo.toml / CLAUDE.md / AGENTS.md #704

Closed

Description

@thiras

Problem

The crates/ block in README.md (lines ~48-62) has drifted from the actual workspace and from the canonical descriptions in CLAUDE.md / AGENTS.md:

  1. Omits the config-types crate. Cargo.toml [workspace].members lists 9 crates including crates/config-types (the leaf crate split out in CLI binary-split regression: publisher links cache crate (iroh-blobs/AWS SDK) #578). README lists 8 and drops it.

  2. Lists contracts/ as a workspace crate. README shows contracts/ indented inside crates/, but contracts lives at the repo root and is excluded from the workspace (Cargo.toml exclude = ["contracts"]).

  3. Describes reputation as "gossip-based". README.md says reputation/ — gossip-based reputation scoring, but the crate is in-memory local EWMA today; gossip aggregation is explicitly deferred per ADR 008 §14a (see CLAUDE.md: "local EWMA now, gossip aggregation deferred"). The "gossip-based" label is the pre-deferral description.

  4. Omits the bundle CLI command. The decdn CLI has a wired top-level Bundle command (crates/common/src/cli/mod.rs:76, dispatched at crates/cli/src/main.rs:30; bundle {create} per appendix-bundles.md, decdn bundle subcommand: pull and create directory bundles #391) that the README binaries description doesn't mention.

Source of truth

Cargo.toml, CLAUDE.md:7, and AGENTS.md:76 all agree on the 9-crate structure and the local-EWMA reputation description. README should be brought in line with them.

Found during a repository audit.

Activity

  1. added
    kind:docs
    prio:medium
    on May 29, 2026
  2. github-actions commented on May 29, 2026

    @github-actions

    🎯 Triage report

    The README.md crate-structure block has four concrete drift items relative to Cargo.toml, CLAUDE.md, and AGENTS.md: missing config-types crate, spurious contracts/ workspace entry, a stale "gossip-based" reputation description, and an undocumented bundle CLI command. All four are well-sourced with exact file/line references, making this immediately actionable without further investigation.

    📊 Assessment

    Dimension Value Reasoning
    Type Task Documentation correction with no design ambiguity; purely mechanical updates
    Labels documentation, medium (already applied), good first issue All four fixes are self-contained edits to README.md with clear sources of truth
    Coding agent Suitable Requirements are fully specified, sources of truth are named, success criteria are unambiguous

    🔗 Similar issues

    💡 Notes and suggestions

    Exact changes needed in README.md:

    1. Add config-types crate entry — leaf crate split out in CLI binary-split regression: publisher links cache crate (iroh-blobs/AWS SDK) #578; holds RetryPolicy, DecompressMode, OriginUrl, OriginKind, Hash, PinnedHashes; serde + url only, no iroh-blobs/AWS.
    2. Remove contracts/ from the workspace crates block — contracts/ lives at the repo root and is excluded in Cargo.toml; it should be described separately (e.g. in its own "Contracts" section or a note that it's a standalone Foundry project).
    3. Fix reputation description — change "gossip-based reputation scoring" → "local EWMA reputation scoring (ADR 008); gossip aggregation deferred" (matching CLAUDE.md wording).
    4. Add bundle to CLI command listing — bundle {create} is wired at crates/cli/src/main.rs:30, dispatched from crates/common/src/cli/mod.rs:76, and documented in appendix-bundles.md (decdn bundle subcommand: pull and create directory bundles #391).

    Sub-task checklist:

    • Update crate count from 8 → 9 crates
    • Add config-types entry with correct description
    • Relocate/reframe contracts/ out of the workspace crates list
    • Correct reputation description to local EWMA
    • Add bundle {create} to the decdn CLI command summary

    Each fix is a targeted line edit; the whole change should be under ~15 lines diff.

    Generated by Agentic Triage for issue #704 · sonnet46 399.9K · ◷

    Add this agentic workflows to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/issue-triage.md@94ec5db57374c5b04a4b8eef8b4413f9af44d63f
    
  3. added
    good first issue
    on May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

good first issuekind:docsprio:medium

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions