Skip to content

docs: refresh documentation after the migration - #3

Merged
mkotelnikov merged 3 commits into
mainfrom
docs/refresh
Oct 5, 2026
Merged

mkotelnikov merged 3 commits into
mainfrom
docs/refresh

Conversation

@mkotelnikov

@mkotelnikov mkotelnikov commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Refreshes the documentation to match the current code.

  • Root README is an operating manual: what the workspace is, the package layout (with a dependency diagram), how to work on it (Node 24, pnpm via corepack, commands from the root package.json), why it is shaped this way, what will surprise you (pnpm typecheck needs pnpm build first), and a reference of commands, CI checks and files.
  • Package READMEs (webrun-storage, webrun-content-store, webrun-content-transfer, webrun-merge, webrun-files-sync) follow What it is / Why it exists / How to use / Examples / Internals / License. Every named export and option was checked against src/. The examples were run against the built packages.
  • Fixed wrong content: the remote transfer example used an undefined drain; the files-sync copy example claimed an update that does not happen (both files had the same size and mtime); the merge README claimed a consumer that does not use it.
  • Current behaviour that the code shows but the old docs did not:
    • chunkTransfer fails with a remoteStore proxy as remote (remote proxy does not support "read"), and it does not verify chunks.
    • transfer verifies chunks only when hashContent is passed.
    • TransferCheckpoint only adds a resumed event. Resuming works by re-negotiating.
    • The verification modes collapse to two checks: size, or a full hash.

No code, config or lockfile changes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DAiZN6XrTAdQpNN3eXEz2U

mkotelnikov and others added 3 commits October 5, 2026 07:43
- Root README: purpose, package table with npm links, old package names,
  related repositories, requirements (Node 24, pnpm via corepack),
  development commands from package.json, CI, releases, license.
- Package READMEs: add entry points, install notes; check every example
  and export against src; fix stale short names (storage, content-store,
  merge-core, files-sync); document defaults (chunk threshold, CDC
  params, text merge limit, verify mode); fix the remote transfer example
  (undefined `drain`) and the merge example output shape; drop the claim
  that vcs-commands uses webrun-merge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DAiZN6XrTAdQpNN3eXEz2U
- Package READMEs now follow What it is / Why it exists / How to use /
  Examples / Internals / License, with the reasoning behind each design
  choice and the failure modes in the words the code uses.
- Root README is an operating manual: layout, how to work on it, why it
  is shaped this way, what will surprise you (typecheck needs a build),
  reference.
- Remove links to other repositories and any history (old names).
- Examples re-run against the built packages. The files-sync example now
  uses files of different sizes: equal size and mtime count as unchanged.
- Document current behaviour found while checking: chunkTransfer cannot
  use a remoteStore proxy as `remote`, and does not verify chunks;
  transfer verifies only when hashContent is passed; the checkpoint only
  adds a `resumed` event; verification modes collapse to size or hash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DAiZN6XrTAdQpNN3eXEz2U
@mkotelnikov
mkotelnikov merged commit 9c6c99c into main Oct 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant