Skip to content

test: add SynaptProducer v1.1 validator specs#14

Merged
laynepenney merged 1 commit into
sprint-32from
sentinel/producer-v11-specs
Apr 27, 2026
Merged

test: add SynaptProducer v1.1 validator specs#14
laynepenney merged 1 commit into
sprint-32from
sentinel/producer-v11-specs

Conversation

@laynepenney
Copy link
Copy Markdown
Member

Summary

  • add Python validator/finalizer specs for dual-shape produced_by (string v1.0 compat or structured v1.1 producer object)
  • add Vitest mirror coverage for the same producer contract in packages/ts/tests/
  • add schema-surface assertions for schemas/producer/v1.json and extract/v1.json wiring

Verification

  • PYTHONPATH=packages/python/src pytest -q tests/python/test_validate.py tests/python/test_finalize.py
  • cd packages/ts && npm test

Current Red Boundary

Python is red on 12 cases and TS is red on 15 cases, at the intended producer boundary:

  • validators still require string-only produced_by
  • structured producer field-level validation paths do not exist yet
  • schemas/producer/v1.json does not exist yet
  • extract/v1.json does not reference the producer schema yet

This is the Sprint 31 contract-handoff PR for Apollo's read-before-implement process.

@laynepenney laynepenney merged commit 6724195 into sprint-32 Apr 27, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant