Skip to content

Releases: manasaranjanbehera/llm-structural-gate

v0.1.0 – Initial Structural Gate Prototype

01 Mar 18:11

Choose a tag to compare

v0.1.0 – Initial Structural Gate Prototype

First public release of llm-structural-gate.

This version introduces a minimal Structural Constraint Gate that enforces a deterministic contract boundary between probabilistic LLM output and downstream application logic.

Included

  • Single fixed-schema validation (SentimentResult).
  • Strict structural enforcement:
    • No type coercion (string/int → float rejected).
    • Exact enum matching (case-sensitive).
    • No additional properties allowed.
    • Required fields enforced.
    • Numeric bounds validated.
  • Deterministic accept/reject behavior.
  • Local validation path (no external LLM dependency).
  • FastAPI simulator with predefined failure modes.
  • Unit tests covering structural violations.

Design Principles

  • Structure over semantics.
  • Deterministic boundary enforcement.
  • No silent correction.
  • No semantic evaluation.
  • No retry or auto-repair inside the gate.

The Structural Gate enforces schema integrity only.
Semantic correctness, business rule validation, retry policies, and governance workflows are intentionally out of scope and belong outside this layer.


Prototype release (pre-1.0).