ARCH-5: Define LLM integration architecture #64

Merged
jwilger merged 2 commits from issue-5-llm-integration-architecture into main 2026-05-07 10:57:51 -07:00
Owner

Summary

  • Defines the LLM integration architecture, including provider adapters, deterministic test providers, prompt/template/context handling, structured outputs, streaming, retries, telemetry, retention, redaction, and invocation audit.
  • Establishes Gamelan as the concrete BEAM-oriented runtime architecture for sessions, transducers, sources, checks, product/gate/hold, replay, topology, channels, and verification.
  • Extends the event model schema and threat model for session metadata, safety-critical fail-closed checks, provider boundaries, artifacts, and generated-code safety.

Verification

  • mix format --check-formatted
  • Architecture reviewer re-check: no blocking findings
  • Security reviewer re-check: no blocking findings

Closes #5

## Summary - Defines the LLM integration architecture, including provider adapters, deterministic test providers, prompt/template/context handling, structured outputs, streaming, retries, telemetry, retention, redaction, and invocation audit. - Establishes Gamelan as the concrete BEAM-oriented runtime architecture for sessions, transducers, sources, checks, product/gate/hold, replay, topology, channels, and verification. - Extends the event model schema and threat model for session metadata, safety-critical fail-closed checks, provider boundaries, artifacts, and generated-code safety. ## Verification - `mix format --check-formatted` - Architecture reviewer re-check: no blocking findings - Security reviewer re-check: no blocking findings Closes #5
Sign in to join this conversation.
No description provided.