Skip to content

Document native ingestion and session contracts - #96

Draft
sam-bretz wants to merge 1 commit into
sam/met-543-typed-telemetryfrom
sam/met-544-ingestion-contracts
Draft

sam-bretz wants to merge 1 commit into
sam/met-543-typed-telemetryfrom
sam/met-544-ingestion-contracts

Conversation

@sam-bretz

Copy link
Copy Markdown
Collaborator

What Changed

Publish explicit native/session OpenAPI bodies, success envelopes and existing errors while preserving permissive SDK normalization and encoded transport.

How It Works

OSS session exchange is 201 with token/expiry and native ingestion is 202 with accepted/ignored counts. Body schemas preserve unknown future row fields, gzip transport and the existing content-dropping projection. No runtime models or validation/filtering changes.

Stack parent: #94, sam/met-543-typed-telemetry (26a3c3b). The paired managed/internal change is tracked separately in MET-544; distinct profiles remain intentional.

QA Overview

884 tests passed against disposable PostgreSQL with zero skips. Five live schema-validated session/native/error responses, gzip using exchanged session credentials and persisted token-count projection. Built schema file digest matches this checkout. OSS has no operational metrics exporter. Ruff/diff checks passed. Fresh headless Claude final review has no actionable findings. No provider calls or deployment.

This branch has not been deployed

No deployments
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