Overview of the traces/ directory
mainThe traces/ directory provides the infrastructure for public trace schemas, data-plane curation, dataset adapters/discovery, distillation pipelines, redaction, and sharing/publishing workflows. It is organized into several functional domains that map to specific Python implementations.
Key Domains:
- Production Traces (
production_traces/): Handles contracts, taxonomy, emission, and redaction/validation. Key files includepublic-schema*.ts,redaction*.ts, andtrace-ingest-workflow.ts. - Sharing (
sharing/): Manages attestation, bundling, manifests, publishers, and review processes. Key files includepublishers*.ts,publishing-workflow.ts, andexport-*-workflow.ts. - Training & Autoresearch (
training/autoresearch/): Manages data selection, augmentation, and distillation. Key files includedistillation-*.tsanddataset-*.ts.
Note on Directory Structure:
This directory is distinct from ts/src/production-traces/. While ts/src/production-traces/ is a direct TypeScript mirror of the Python production_traces/ (covering contract, ingest, redaction, dataset, and CLI layers), the traces/ directory covers a broader surface area including sharing and training workflows.