Expand description
Per-item canonical telemetry payloads: expand IngestExportBatch
for exporters, future provider pull, and goldens. Primary POST / outbox stay batch-oriented.
Structs§
- Canonical
Envelope - Shared context on every expanded item; identity is
Noneuntil session/workspace wiring fills it. - Event
Item - Fully expanded item for a single
OutboundEventrow. - Repo
Snapshot Chunk Item - One repo snapshot chunk with batch context.
- Tool
Span Item - One tool span with batch context.
- Workspace
Fact Snapshot Item - Workspace-level facts (hashed skill/rule slugs from
.cursor/skillsand.cursor/rulesdiscovery).
Enums§
- Canonical
Event Name - One logical event name for third-party and docs (
print-schemain a later phase). - Canonical
Item - Union of all canonical item shapes for
expand_ingest_batchand mappers.
Constants§
- KAIZEN_
SCHEMA_ VERSION - Forward evolution marker on exported or pulled items (read old payloads only in migration tools).
Functions§
- expand_
ingest_ batch - Expand a redacted ingest batch to one struct per event/span/chunk; never drops rows.