Metadata-Version: 2.5
Name: probe-contracts
Version: 0.1.0
Summary: Probe Research's shared contracts: domain records, their generated client views, and the vocabularies every surface reads.
Author-email: Probe <team@prbe.ai>
License: Apache-2.0
License-File: LICENSE
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.10
Requires-Dist: pydantic>=2.9
Description-Content-Type: text/markdown

# probe-contracts

What Probe Research's server, SDK/CLI and dashboard must agree on, defined once:

- `probe_contracts.records`: the shared domain concepts as classes (`Run`, `Experiment`,
  `Project`, `Artifact`, `MetricPoint`, `Span`) and the vocabularies their fields use.
  Wire shapes are named projections of a record (`Run.project(...)`), never the record itself.
- `probe_contracts.analytics`: the one product-analytics event catalog (`events.json`) and its
  checked loader (`EventCatalog`).
- `probe_contracts.codegen`: draws every client view of the records and each runtime's `Event`
  enum (`python -m probe_contracts.codegen [--check]`).
- `probe_contracts.transcripts` and `probe_contracts.knowledge`: what the CLI's tap, this server and
  the knowledge engine must build and name the same way (ATIF fragments, graph vocabulary).

Licensed Apache-2.0. The research-os server installs it from this folder; the
`probe-research` wheel vendors it at build time until it is published on PyPI.
