Commit graph ModelConnector/crates/model-connector/tests
Author SHA1 Message Date
Meta Vens
d281343dc9 Golden fixture README: Ghostlight pins CodexConnector 68fe94b; src/lib.rs is identical in both
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 05:33:02 +01:00
Meta Vens
ae28dbedfd Golden v2 wire fixtures replace the CodexConnector dev-dependency; pin envelope validation and frame bounds
wire_parity_v2 linked CodexConnector (PolyForm Noncommercial) into the kit's
test build. The v2 bytes it compared against are now committed, generated once
from fd7cec4 (generator and command beside them): invocations for both
tool-choice values, a completed, a failed and a refused result for every
refusal, canonical bytes, the provider digest and v2-sealed envelopes the kit
must decrypt. envelope.rs tests pin the outer-identity match on each field,
envelope validation, and the inclusive, never-empty frame bounds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 05:09:03 +01:00
Meta Vens
af99b3423f wire_v2 fixtures: the generator source, run once against CodexConnector fd7cec4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 05:06:59 +01:00
Meta Vens
76f1c41cff Add the v2 wire parity test against CodexConnector fd7cec4
A kit-encrypted invocation and result decrypt and validate under codex-connector
fd7cec4 and the reverse; canonical invocation bytes, canonical provider request
bytes, the provider digest and the five schema ids are equal. The dev-dependency
and this test are deleted by connector-contract-v3, which changes the wire.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 04:41:40 +01:00