#Ranvier Manual — Core Runtime and Boundary Guide
Version: 0.51.0 Updated: 2026-10-02 Applies to: ranvier (facade), ranvier-core, ranvier-runtime Category: Product Manuals
Use this page when you need explicit rules for Axon, Outcome, and adapter boundaries.
#Layer Model
- Core: Protocol-agnostic contracts (Transition, Outcome, Bus, Schematic).
- Runtime: Axon executes typed decision flow.
- Adapter: Ingress/egress maps protocols to state and back.
#Core Types
| Type | Description |
|---|---|
| Transition | Async state transform contract |
| Outcome | Next, Branch, Jump, Emit, Fault |
| Bus | Typed resource container with explicit reads |
#Product Crates
| Crate | Role |
|---|---|
ranvier |
Facade crate re-exporting the primary developer surface |
ranvier-core |
Transition, Outcome, Bus, Schematic, timeline contracts |
ranvier-runtime |
Axon execution, retry, timeout, saga, persistence runtime |
ranvier-http |
HTTP ingress, routing, extraction, responses, static serving |
ranvier-std |
Standard reusable transitions |
ranvier-guard |
CORS, access log, security headers, rate limits, request policy |
ranvier-macros |
Transition and streaming transition macros |
ranvier-test |
TestBus, TestAxon, assertion helpers |
ranvier-openapi |
OpenAPI generation and validation integration |
ranvier-inspector |
Inspector REST/WebSocket, traces, metrics, breakpoints |
ranvier-audit |
Audit sinks, hash chains, Merkle support |
ranvier-compliance |
Compliance helper contracts |
#Structural Guarantees
- Ingress parses requests into typed input state.
- Schematic is static and non-executable.
- Run diff/validate/visualize before runtime.
- LLM suggestions require explicit human review.
#Quickstart
cargo check --workspace
cargo run -p typed-state-tree
cargo run -p basic-schematic#Workflows
- Define explicit transition flow with Axon and Outcome.
- Keep core protocol-agnostic; connect HTTP at adapter boundaries.
- Export Schematic and validate structure before rollout.
#Related Documents
- CLI Manual — Commands and artifact flows
- VSCode Manual — Circuit view and diagnostics
- HTTP Deep Dive — HTTP ingress builders, body handling, and middleware
- Standard Library — Built-in Logic, Flow, and Data nodes
- Persistence Deep Dive — Crash recovery, durable adapters, saga pattern
- Observability Deep Dive — Inspector, Prometheus metrics, OTLP tracing
- Auth Deep Dive — Guard nodes, IAM framework, session management
- Operations Deep Dive — Configuration, health probes, structured logging
- Deployment Deep Dive — Docker multi-stage builds, Kubernetes manifests
- Ranvier Samples — Official example track and reference apps