glm-5.3-flash 22f32e6fc5 feat(registry): the set builder per ADR-002/005/008
- TemplateSet: one strict handlebars registry per template set; strict
  mode forced at construction, unparameterizable; enforcement test pins
  missing-variable renders as Error::Render, never empty output
- EscapePolicy::{Html, NoOp}: explicit per-set escaper choice; Html
  leaves the substrate default html_escape, NoOp registers
  handlebars::no_escape; both postures pinned by golden render tests
- typed fallible registration of templates and partials; malformed
  text is Error::Registration, never a panic; failed registration
  leaves bookkeeping untouched
- set-level bookkeeping of template vs partial names (decision 1,
  flagged for the gate): the substrate's register_partial is identical
  to template registration, so the render-name rule cannot delegate to
  it; TemplateSet::is_template exposes the tracking for the
  w1-render-entry rejection
- per-set helper registration seam; zero custom helpers by default,
  pinned by test (unknown helper is a typed render error)
- naming conveventions enforced by tests only, not at registration
  (decision 2, flagged for the gate): consumer-facing engine API
  stays naming-neutral per ADR-001/008

Verification: cargo test (15 pass), clippy -D warnings, fmt --check,
wasm32-unknown-unknown release build

Verification: cargo test (15 pass), clippy --all-targets -D warnings, cargo fmt --check, wasm32-unknown-unknown --release
2026-11-06 19:59:19 +00:00

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.

S
Description
No description provided
Readme
527 KiB
0 Stars 6 Watchers 0 Forks
Languages
Rust 100%