Skip to content

docs: add per-crate READMEs and bump to 0.3.8#4

Merged
Tovli merged 3 commits into
masterfrom
docs-add-readme-crates
Jun 15, 2026
Merged

docs: add per-crate READMEs and bump to 0.3.8#4
Tovli merged 3 commits into
masterfrom
docs-add-readme-crates

Conversation

@Tovli

@Tovli Tovli commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a README.md to every crate in the workspace and bumps the workspace version 0.3.7 → 0.3.8 (docs-only patch).

Each README follows the style of apps/el-chat/README.md: a role summary, a public-API table, an accurate Rust usage example, workspace placement, status, and relative links to the ADRs / DDD bounded contexts the crate realizes.

Core crates (crates/)

  • el-core — shared dependency-free domain vocabulary; the three compile-time invariants (content-free events, air-gap default, redacted credentials)
  • el-memory — static memory planner, allocate-once arena, descriptor-only KV compaction (ADR-003)
  • el-telemetry — one-way content-free metrics collector (ADR-007)
  • el-provenance — the hard ED25519 load gate; LoadPermit as an unforgeable capability (ADR-006)
  • el-safety — tiered decoder-time safety; real vs. scaffolded tiers (ADR-005)
  • el-runtime — session lifecycle, ports, and the grammar → safety → sample → commit decode invariant (ADR-001/004)
  • el-grammar — pure-Rust DFA token masking

Adapters (crates/adapters/)

  • el-provenance-ed25519, el-engine-candle (toy seam + real Qwen2 chat + EL_BENCH), el-cloud, el-grammar-llguidance (standalone build), el-ffi (RN/Flutter/Web + Makefile targets)

Version bump

cargo set-version --workspace 0.3.8 — updates [workspace.package] and every [workspace.dependencies] entry; el-chat inherits via version.workspace = true; the excluded standalone el-grammar-llguidance (0.1.0) is untouched. Cargo.lock regenerated.

Note on a stale claim corrected here

el-cloud/el-ffi source comments and the root README's workspace map describe these as workspace-excluded, but cargo metadata confirms both are real members — only el-grammar-llguidance is excluded. The new READMEs describe the actual build (cloud egress is opt-in at CloudProvider construction + non-wasm32 dep gating, not by build exclusion). Cleaning up those stale source/README comments is left as a follow-up.

Out of scope

The pre-existing .gitignore change and untracked benchmarks/ directory are unrelated and intentionally left out of this PR.

🤖 Generated with Claude Code

Tovli and others added 3 commits June 15, 2026 17:11
Add a README.md to every workspace crate (7 core crates + 5 adapters),
each documenting the crate's role, public API, a usage example, workspace
placement, status, and links to the ADRs/DDD contexts it realizes — matching
the style of apps/el-chat/README.md.

Bump the workspace version 0.3.7 -> 0.3.8 via `cargo set-version --workspace`
(docs-only change; el-chat inherits, the excluded el-grammar-llguidance is
unaffected).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ayout

- Add an "Architecture and entry points" section: a three-layer table
  (el-ffi/EdgeLlm device facade → el-core/LlmProvider seam → el-runtime
  orchestrator) and a layered diagram, making the SDK entry point explicit.
- Restructure long sections into collapsible <details> blocks with a Contents
  TOC for readability (Why, decode pipeline, quick-start extras, chat client,
  workspace map, ADRs, domain model, roadmap).
- Fix the stale "workspace-excluded" label on the el-ffi row — el-ffi and
  el-cloud are regular workspace members; only el-grammar-llguidance is
  excluded. Link each crate to its new per-crate README.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Tovli Tovli merged commit fd3b635 into master Jun 15, 2026
@Tovli Tovli deleted the docs-add-readme-crates branch June 15, 2026 14:51
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