Ben Barclay
|
29fc746350
|
feat(conformance): vector generator — native renderers as executable spec (#71666)
* feat(conformance): vector generator — native renderers as executable spec
- scripts/generate_conformance_vectors.py: renders a 44-case corpus
(markdown grid + scar tissue + adversarial agent output) through the
NATIVE renderers (Telegram MarkdownV2 format_message, Slack mrkdwn,
WhatsApp, Discord) and emits per-platform JSON vectors stamped with the
oracle commit. Expect semantics: parity | semantic | divergent(note).
- tests/conformance/: committed vectors + 7 behavior-contract tests
(determinism, self-free oracle invocation, shape, scar-bug coverage,
committed-vectors-reproduce lockstep — the openapi.json discipline).
- Consumed by gateway-gateway's conformance runner (committed vectors +
sender-level vitest suite + weekly refresh workflow).
* fix(conformance): explicit utf-8 encoding on vector file I/O (Windows footguns gate)
|
2026-07-26 16:52:25 +10:00 |
|