OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
The persisted envelope for a single observed signal — the shared spine consumed by observability and billing.
•
Declared as the `EvidenceRecordModel` `SchemaModel`; `EvidenceRecord` is its
Zod-inferred TS shape.
•
`tenantId` is stored **raw**, never hashed: it is the row-level-security key.
•
`idempotencyKey` and `occurredAt` are required (at-least-once dedupe + time).
•
`value` or `quantities` carries the payload; `cost`/`usage` signals attach
`SignalCostEvidence`.
•
`redactionRef` points at the redaction policy applied to payload values.
This module is type-only + a validator. Persistence/DB wiring lives in the app adapter, not here.