Skip to content

docs(id): align crate docs and architecture notes with the split (LIB-1..LIB-15) - #13661

Merged
dezren39 merged 1 commit into
mainfrom
lane-oc-code-03-13364
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
lane-oc-code-03-13364

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

What

Fixes the ID-book survey library group LIB-1..LIB-15 from #13364: each stale claim in pkgs/id/ARCHITECTURE.md, the facade/crate doc comments, crate Cargo.toml comments and the example docs was checked against current code and corrected. Book content is unchanged except one book page whose inline code span produced an unclosed-HTML-tag warning.

Per-item changes

Item Fix
LIB-1 ARCHITECTURE.md entry point: start_node() no longer exists; dispatch lives in id-cli and the facade re-exports it.
LIB-2 Lead description: id is a platform + facade, not a file-sharing CLI.
LIB-3 Facade header and module list in src/lib.rs rewritten to describe the re-export surface.
LIB-4 Crate table: root is facade + binary; id-core no longer a 10-dependent "public core"; id-config dev-dependency only; native shells depend on the facade.
LIB-5 id-config docs note that negotiation.rs is included by path, not a module.
LIB-6 id-render / id-import-notion documented as maintained internal libraries, not removal candidates.
LIB-7 Example docs point at crates/id-worlds/src/sandbox.rs instead of src/sandbox.rs.
LIB-8 id-worlds docs + manifest: directory cluster is owned by id-directory, re-exported here.
LIB-9 id-groups docs + manifest: FoldedWorlds is implemented in id-worlds.
LIB-10 id-sync docs + manifest: MetaClient composition is in id-cli.
LIB-11 ARCHITECTURE.md module map matches current layout.
LIB-12 Crate classifications corrected (render/import/notion, native shells).
LIB-13 Facade crate description updated in Cargo.toml and README.md.
LIB-14 id-caps module list covers gates and MCP/policy modules.
LIB-15 dht feature comment: implementation in id-sync, wiring in id-cli; no src/dht.rs.

Verification

  • cd pkgs/id && mdbook build — builds with zero warnings (the pre-existing unclosed HTML tag <error> warning in book/reference/cli-worlds-admin.md was fixed with a double-backtick code span).
  • Oracle greps over every touched file return no matches for: start_node(), src/dht.rs, until step 5, until step 7, step 6's, Candidates for removal, pkgs/id/src/sandbox.rs, ../../src/sandbox.rs.
  • Docs/comments only: no code, API or behaviour change.

Notes

Per the task, this PR is not to be merged by the worker and carries no closing keyword.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-23T19:50:23Z",
    "session_id": "ses_e5df67fe01effe2O70qZPiVSyD",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code/.agent-worktrees/oc-code-03-13364",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code/.agent-worktrees/oc-code-03-13364",
      "repo": "developing-today/code",
      "branch": "lane-oc-code-03-13364",
      "sha": "a19cf431870b8cd60eb806a1063ebd465d225e76"
    },
    "auth_subject": "oc-code-03",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Show it working
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Correct stale claims across the id facade, crate docs and architecture
notes after the workspace split: the facade is a re-export surface and
id-cli owns command dispatch; directory cluster ownership is id-directory;
FoldedWorlds lives in id-worlds; MetaClient composition is in id-cli;
id-render and id-import-notion are maintained internal libraries rather
than removal candidates; the DHT implementation is in id-sync. Also fixes
the sandbox runner paths in the example docs and an unclosed HTML tag in
the worlds-admin book page (mdbook now builds with zero warnings).

Refs #13364
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 47 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 25ea6530-cce3-4880-93f8-152a75c12f80
Commits

Reviewing files that changed from the base of the PR and between 0a6ca03 and a19cf43.

Files selected for processing: 19

  • pkgs/id/ARCHITECTURE.md
  • pkgs/id/Cargo.toml
  • pkgs/id/README.md
  • pkgs/id/book/reference/cli-worlds-admin.md
  • pkgs/id/crates/id-caps/src/lib.rs
  • pkgs/id/crates/id-cli/src/lib.rs
  • pkgs/id/crates/id-cli/src/meta_client.rs
  • pkgs/id/crates/id-config/src/lib.rs
  • pkgs/id/crates/id-groups/Cargo.toml
  • pkgs/id/crates/id-groups/src/blob_gate.rs
  • pkgs/id/crates/id-groups/src/lib.rs
  • pkgs/id/crates/id-sync/Cargo.toml
  • pkgs/id/crates/id-sync/src/lib.rs
  • pkgs/id/crates/id-worlds/Cargo.toml
  • pkgs/id/crates/id-worlds/src/lib.rs
  • pkgs/id/examples/roc-world/ABI.md
  • pkgs/id/examples/rust-counter/README.md
  • pkgs/id/examples/rust-world/README.md
  • pkgs/id/src/lib.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

audit:partial PR partially implemented; gap filed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant