Developer Docs

This page is the public map from website readers to the implementation structure.

Important source files

File or directoryPurpose
README.mdWorkspace overview and command entry.
tinyrustlm/README.mdTinyRustLM app and runtime overview.
tinyrustlm/docs/architecture.mdArchitecture detail.
tinyrustlm/docs/browser-runtime.mdBrowser-local runtime detail.
tinyrustlm/docs/slm-format.md.slm model format detail.
tinyrustlm/docs/tokenizer.mdByte tokenizer and BPE fixture rules.
tinyrustlm/docs/quantization.mdf32/q8_0/q4_0 support boundaries.
tinyrustlm/docs/testing.mdTest matrix and proof expectations.
tinyrustlm/docs/performance.mdScratch, logits, sampling, output cap, and benchmark guidance.
wiki/runtime-mirust/Local LLM Wiki source namespace.
.uai/Project handoff memory and source routing.

Useful local commands

The exact command set evolves with the source tree, but the public site can safely describe the command families:

cargo fmt --all
cargo test --workspace
cargo run -p tinyrustlm-browser-harness -- tinyrustlm
node tinyrustlm/tools/wasm-abi-smoke.js
node tinyrustlm/tools/browser-smoke.js

Visual Studio wrapper scripts live under tools/vs/ for build, run, and test flows.

Website content rule

Developer docs on this site should summarize source-backed boundaries. They should not replace the repository docs, and they should not claim support that the tests do not support.

Agent-readable docs

This site exposes llms.txt, llms-full.txt, Markdown alternates, and semantic page structure so AI systems can cite the project accurately without scraping a generic plain PHP shell.

Root /docs corpus

The full root package also publishes /docs/index.md, /docs/reports/index.md, and /docs/long-term-memory.uai. The hot .uai deep-link map is /.uai/docs-routing.uai.