Metadata-Version: 2.4
Name: opencoat-runtime-protocol
Version: 0.1.1
Summary: JSON Schemas + pydantic envelopes for the OpenCOAT Runtime data contracts
Project-URL: Homepage, https://github.com/HyperdustLabs/OpenCOAT
Project-URL: Repository, https://github.com/HyperdustLabs/OpenCOAT
Project-URL: Issues, https://github.com/HyperdustLabs/OpenCOAT/issues
Project-URL: Documentation, https://github.com/HyperdustLabs/OpenCOAT/tree/main/docs
Project-URL: Changelog, https://github.com/HyperdustLabs/OpenCOAT/releases
Author: HyperdustLabs
License-Expression: Apache-2.0
Keywords: agent-runtime,aop,concerns,dcn,joinpoint,opencoat,pointcut,weaving
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: jsonschema>=4.21
Requires-Dist: pydantic>=2.7
Description-Content-Type: text/markdown

# opencoat-runtime-protocol

Source-of-truth data contracts for the OpenCOAT Runtime.

This package owns:

- `opencoat_runtime_protocol/schemas/*.json` — JSON Schemas (Draft 2020-12) for every cross-process object
- `opencoat_runtime_protocol/openapi/runtime.yaml` — HTTP/JSON-RPC daemon API
- `opencoat_runtime_protocol/envelopes.py` — pydantic models that mirror the schemas

Schemas (one file per concept, mirrors v0.1 §6–§19):

| Schema | Concept |
| --- | --- |
| `concern.schema.json` | Concern (the unit) |
| `meta_concern.schema.json` | Meta Concern (Concern of Concern) |
| `joinpoint.schema.json` | Joinpoint event (8 levels) |
| `pointcut.schema.json` | Activation rule |
| `advice.schema.json` | Generated guidance (11 types) |
| `weaving.schema.json` | Weaving operation (11 ops × multiple targets) |
| `copr.schema.json` | Concern-Oriented Prompt Representation |
| `concern_vector.schema.json` | Sparse activation snapshot |
| `concern_injection.schema.json` | Output of weaving (host-consumable) |

Any change to a schema **must** bump `schema_version` and ship a migration note.
