02037c4f10b4afff60d6e10d1169d6df4e56b2b1
- src/error.rs: pub enum Error via thiserror with Registration (#[from] TemplateError) and Render (#[from] RenderError) variants; substrate errors stay reachable through the source chain - src/lib.rs re-exports alkgen::Error per convention 10 - six unit tests pin variant mapping, source-chain reachability, and operation-naming Display strings - no catch-all; no context-build arm in this scope (recorded interpretation, flagged for the wave-1 gate) Verification: cargo test, clippy -D warnings, fmt --check, cargo doc, wasm32-unknown-unknown release build, taskgraph validate (14 tasks) all green
alkgen
Template-based codegen engine for the alk* stack: handlebars-rust
templates rendered over alktype BAST (Binary Abstract Syntax Tree)
documents, producing code artifacts; binary readers, writers, and
validators for alkcall channels, and call-protocol handlers in the
shape of alkhttp's from_openapi / from_jsonschema adapters. Plus
plain HTML generation for alkforge's server-side rendering, the
first real consumer (family ADR-002).
Status: Phase 0 (exploration), unpaused 2026-11-06 for the alkforge
SSR use case. See docs/research/phase-0.md.
Languages
Rust
100%