From c387dba95f25a2875e99241ed6c06db1cfac97b1 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Thu, 1 Oct 2026 08:29:45 -0500 Subject: [PATCH] docs: rewrite README to match current status and standing rules Docs only. External review: Codex unavailable (usage limit), Gemini (agy) fact-check findings applied. Co-Authored-By: Drake Stapleton Co-Authored-By: Claude Sonnet 5.5 --- README.md | 88 ++++++++++++++++++++++--------------------------------- 1 file changed, 35 insertions(+), 53 deletions(-) diff --git a/README.md b/README.md index 6a32b2b..87b2862 100644 --- a/README.md +++ b/README.md @@ -1,67 +1,49 @@ # aien-protocols -Canonical specifications, wire protocols, data models, and reference ABI crates for the AIEN ecosystem. +Versioned specifications and reference crates for AIEN: what portable agent state, inference requests, actions, evaluation and provenance receipts mean. It holds contracts, never private implementations. -## Architectural Mandate +## Current state -`aien-protocols` defines what portable AIEN state and wire messages mean. It contains contracts, never private implementations. +Research-grade and pre-alpha. The specifications and reference Rust crates (Apache-2.0) in this repository predate the project's decision to target C. The reference crates are legacy: no new Rust is added, and the specifications are the durable part. Language-neutral C implementations will live with their owners (omega, aienos). Status of the whole system is owned by [aien-architecture](https://github.com/aien-dev/aien-architecture): [CURRENT_EXECUTION_PLAN.md](https://github.com/aien-dev/aien-architecture/blob/main/CURRENT_EXECUTION_PLAN.md). No protocol here is claimed as qualified on hardware. + +## Layout ```text - aien-protocols - ┌────────┼────────┐ - │ │ │ - ▼ ▼ ▼ - Agent State Inference Actions/ - ABI Protocol Provenance - ▲ ▲ ▲ - │ │ │ - ┌───────┘ │ └───────┐ - │ │ │ - aegis-runtime │ aien-sovereign-core - (AGPL-3.0-only) │ (MPL-2.0) - │ │ │ - └──── NO DIRECT CARGO EDGE ──────┘ +specs/ Normative specifications (Community Specification License 1.0): + agent-state, inference, evaluation +crates/ Reference Rust crates (Apache-2.0), legacy: + aien-protocol-types, aien-agent-state-abi, aien-inference-protocol, + aien-inference-client, aien-action-protocol, aien-event-protocol, + aien-evaluation-protocol, aien-provenance, aien-probe ``` -> **Inward Invariant**: Protocols point inward to nothing. Implementations point downward to protocols. AEGIS and Sovereign Core never point sideways at each other. Any deployment requiring both in one process is composed from above via `aien-local-stack`. +Governance and policy files: [GOVERNANCE.md](GOVERNANCE.md), [SCOPE.md](SCOPE.md), [VERSIONING.md](VERSIONING.md), [CHANGELOG.md](CHANGELOG.md), [CONSUMERS.md](CONSUMERS.md), [ANTI_ENCLOSURE.md](ANTI_ENCLOSURE.md), [NOTICES.md](NOTICES.md), [TRADEMARKS.md](TRADEMARKS.md). -## Repository Structure +## Rule of direction -```text -aien-protocols/ -├── LICENSE-SPEC Community Specification License 1.0 -├── LICENSE-CODE Apache-2.0 -├── ANTI_ENCLOSURE.md Anti-enclosure commitments and covenants -├── GOVERNANCE.md Specification development process -├── SCOPE.md Working group scope definition -├── NOTICES.md Patent notices and implementer registry -├── TRADEMARKS.md Conformance and trademark policy -│ -├── specs/ Normative specifications (Community-Spec-1.0) -│ ├── agent-state/ Agent State ABI specification -│ ├── inference/ Inference Protocol specification -│ ├── actions/ Action and capability specification -│ ├── evaluation/ Unified Evaluator Protocol specification -│ └── provenance/ Cryptographic attestation and receipt specification -│ -├── schemas/ JSON Schemas for language-neutral serialization -│ -├── crates/ Reference Rust ABI crates (Apache-2.0) -│ ├── aien-protocol-types -│ ├── aien-agent-state-abi -│ ├── aien-inference-protocol -│ ├── aien-inference-client -│ ├── aien-action-protocol -│ ├── aien-event-protocol -│ ├── aien-evaluation-protocol -│ └── aien-provenance -│ -├── bindings/ Cross-language bindings (Mojo, Python, C++) -└── conformance/ Test vectors and validation test suites +Protocols point inward to nothing. Implementations point downward to protocols. They never point sideways at each other: any deployment needing two implementations in one process is composed from above. + +## How this fits with the other repositories + +[omega](https://github.com/aien-dev/omega) and [aienos](https://github.com/aien-dev/aienos) implement the contracts in C; [aien-sovereign-core](https://github.com/aien-dev/aien-sovereign-core) is the earlier Rust consumer (legacy); [aien-architecture](https://github.com/aien-dev/aien-architecture) owns status. + +## Standing rules + +C is the target language, with assembly only where measured; no new Rust; no Python; no CUDA toolkit; no systemd; no outside dependencies in the trusted base. + +## Build and test + +The legacy reference crates need a Rust toolchain: + +```bash +cargo check --workspace --all-targets +cargo test --workspace ``` +## Contributing + +Open a pull request against `main` with the commands you ran and their output. Specification changes follow [GOVERNANCE.md](GOVERNANCE.md) and [VERSIONING.md](VERSIONING.md). Contact: aien@aienos.com. + ## Licensing -- **Specifications**: [Community Specification License 1.0](LICENSE-SPEC). -- **Code, Schemas, and Crates**: [Apache License 2.0](LICENSE-CODE). -- **Anti-Enclosure Commitments**: See [ANTI_ENCLOSURE.md](ANTI_ENCLOSURE.md). +Specifications: [Community Specification License 1.0](LICENSE-SPEC). Code and crates: [Apache License 2.0](LICENSE-CODE). Anti-enclosure commitments: [ANTI_ENCLOSURE.md](ANTI_ENCLOSURE.md).