Builds providers and router from configuration; the caller passes env,
a missing key fails only on call.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Calls stream through the SDK; DeadlineTransport checks the clock before each byte chunk (also pings) so a call ends within its limit.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Key is a hash of step, prompt and output schema, so recordings
survive profile changes. Broken recordings raise MissingRecordingError
with the path of the affected file.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A profile resolves to exactly one provider and model; unmapped profiles,
unknown providers and model mismatches fail loudly.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Domain enum for step profiles and the LlmPort protocol with request,
response, usage and the LlmError hierarchy. Step names are validated
because they later become part of file paths.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
architecture.md now carries the ADR table, both diagrams, scaling, risks
and the table of inputs from the legacy stack. Tests check contiguous ADR
numbers, that every ADR is linked, and that relative links resolve.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Checks frontmatter, template sections, placeholders, source line for
ADR 0003-0025 and issue references under 'Bewusst offen'.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The layers contract does not check chemenu/__init__.py itself, so an import
there would load a layer for every importer without any check failing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Scores each case against its recorded response, prints one line per case plus a summary, and exits 0, 1 or 2 (load error).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
load_eval_set turns a set directory into an EvalSet; every load
failure becomes an EvalSetError naming the file. RecordedResponses
returns raw response text or None.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Pure grading of recorded responses: equals and contains checks over
JSON Pointers, strict output-model validation, score per case.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Establish the src layout, the four Ports & Adapters layers and a smoke
test. Dependencies are locked with hashes and a relative 7 day cooldown.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>