Skip to content

docs: refresh documentation after the migration - #4

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

Documentation-only refresh. No code, config, lockfile or CHANGELOG changes. READMEs describe the current state only, without references to other repositories.

  • Root README (operating manual): what the repo is; layout with the internal dependency diagram and package table (npm links); how to run it (Node 24, pnpm via corepack, build before typecheck/test, CI steps, changesets publishing); why it is built this way (dist exports with a source condition, unbundled ESM, logger split from pino, pnpm catalog, root biome config); what will surprise you (TS2307 when typechecking before building, lint/format write files, frozen lockfile, publish-all bypasses changesets); commands and file reference. Removed the nonexistent shared-intents package and the history/* branches section (those branches do not exist).
  • Package READMEs (What it is / Why it exists / How to use / Examples / Internals / License): entry point and export lists checked against each src/index.ts; examples for each main export; failure modes with the real error text (checked against the built dist). Corrections:
    • shared-ids: Crockford alphabet, Node version, all parse/convert exports, parseSnowflake format-detection pitfalls.
    • shared-logger: adapter key app.logger, no parent lookup, default level info from LOG_LEVEL, invalid LOG_LEVEL throws; removed the nonexistent OpenTelemetry backend.
    • shared-logger-pino: rewritten; documents newPinoLogger (stderr destination, browser mode), the ctx.logger side effect, argument mapping; removed the claim that init awaits an async transport.
    • shared-commands: removed the nonexistent Commands.composed/filtered factories; documented passthrough, policy presets, builder and registry errors, output-validation details.
    • shared-slots: keyed getSnapshot overload, plain-slot dispose semantics, observer arrays.
    • shared-adapters / baseclass / generators / registry: API lists, getAdapter default (no parent lookup), new examples.
  • Root package.json description: dropped "intents".

🤖 Generated with Claude Code

https://claude.ai/code/session_01DAiZN6XrTAdQpNN3eXEz2U

mkotelnikov and others added 3 commits October 5, 2026 07:43
- Root README: list the nine actual packages (drop the nonexistent
  shared-intents, add shared-commands and shared-slots) with npm links;
  describe consumers, requirements (Node 24, pnpm via corepack), the real
  root scripts, CI, and the changesets/Renovate release flow with a link to
  statewalker/.github; remove the stale workspace:* cross-repo note and the
  history/* branches that do not exist on the remote.
- Package READMEs: add entry point and export lists verified against
  src/index.ts; fix stale or wrong statements (shared-ids alphabet and Node
  version, shared-logger adapter key/default level, shared-logger-pino
  newPinoLogger/destination/browser mode, shared-commands nonexistent
  Commands.composed/filtered factories, shared-slots keyed getSnapshot).
- Root package.json description: drop "intents".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DAiZN6XrTAdQpNN3eXEz2U
- Root README becomes an operating manual: layout with dependency
  diagram, how to run it, why it is built this way (dist with a source
  condition, unbundled ESM, split logger, catalog), what will surprise
  you (typecheck before build fails with TS2307, write vs check scripts,
  frozen lockfile, publish-all), and a command/file reference. No
  references to other repositories.
- Package READMEs use What it is / Why it exists / How to use / Examples
  / Internals / License; entry point and API lists move into How to use.
- Add examples for getAdapter, waitFor/waitForSettled, extractTime and
  Crockford encoding; add failure modes with the real error text
  (adapter not found, unknown log level, slot and registry RangeErrors,
  CommandError messages, builder errors, pino invalid level).
- shared-commands: restore What it is / Why it exists without history.
- shared-logger-pino: rewritten in the package shape.
- Describe current behaviour only (no past versions or migrations).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DAiZN6XrTAdQpNN3eXEz2U
@mkotelnikov
mkotelnikov merged commit 0ccf422 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