The Single Source of Truth for Harmonic Coordination Theory signals.
The full semantic specification, including signal definitions, protocol bindings, and usage guides, is available at:
👉 HCT Signal Specification (stefanwiest.de)
This repository defines the canonical data structures for HCT. It serves as the build root for the entire ecosystem.
flowchart LR
Spec[spec.yaml] -->|Generate| Gen[Generated Code]
Gen -->|Sync| Py[Python SDK]
Gen -->|Sync| TS[TypeScript SDK]
Gen -->|Sync| Go[Go SDK]
Gen -->|Sync| Rust[Rust SDK]
Gen -->|Extension| A2A[A2A Proto]
| File | Purpose |
|---|---|
spec.yaml |
Master Definition. Edit this file to change the spec. |
schema.json |
JSON Schema (Draft 2020-12), auto-generated. |
generated/ |
Polyglot type definitions (do not edit manually). |
scripts/ |
Generation logic (Python). |
When spec.yaml is modified, CI automatically regenerates and pushes to downstream repositories:
- Python:
hct-mcp-signals(Pydantic models) - TypeScript:
@hct-mcp/signals(Interfaces & Enums) - Go:
hct-mcp-signals(Structs) - Rust:
hct-mcp-signals(Enums) - Protobuf:
hct-a2a(gRPC definitions)
- Modify
spec.yaml. - Run
Justfileorpython scripts/generate.py. - Commit changes.
- Open a PR.
Note: Do not manually edit files in generated/ or schema.json. They will be overwritten.
Apache 2.0