Repository navigation
1 Overview
Wiki Keeper (Grok Bot) edited this page Oct 26, 2026
·
11 revisions
corpus-ipc is the spike and neuromodulator wire protocol and IPC transports for Limen-Neural SNN runtimes (crate description, README and src/lib.rs docs as of 08d2f28). It ships wire models (IpcMessage and batches), fail-closed validation and wire-version envelopes, IpcBackend / RustBackend, optional ZeroMQ binary SUB readout and structured IpcMessage PUB/SUB (zmq, #55), and an optional Axum 0.8 REST binary (server) under the v0.2 contract.
Version 0.2.1 (#69; published on crates.io, 0.2.0 is yanked) · tip b12059f · MSRV 1.85 · edition 2024.
Sources: README.md, src/lib.rs, Cargo.toml
| Section | Focus |
|---|---|
| 1.1 Getting Started | Install, features, env, verify.sh |
| 1.2 Architecture Overview | Mermaid request paths (REST + structured ZMQ) |
| 1.3 Crate Exports and Module Map | Modules and re-exports |
| 2–3 | Traits and backends (incl. structured ZMQ #55) |
| 4–5 | Protocol, validation, canonical wire-v1 |
| 6 | v0.2 REST |
| 7 | Features, tests, CI |
| 8–9 | History, license, glossary |
-
08d2f28/ #55:ZmqMessagePublisher,ZmqMessageSubscriber,ZmqTransportConfig,ZmqHybridFlowBackend,ZmqMessageError,FramingFault,STRUCTURED_MAX_FRAME_BYTES,BackendError::Protocol/ProtocolError - Earlier (
fcad212era and before):encode_canonical_ipc_message,zmq_readout::parse_readout_packet,ZmqIpcBackendlatest-value drain + reconnect,corpus_ipc::server::router/AppState,test-vectors/wire-v1/,test-vectors/zmq/,scripts/verify.sh
- Home
- 1. Overview
- 1.1. Getting Started
- 1.2. Architecture Overview
- 1.3. Crate Exports and Module Map
- 2. Core Abstractions
- 2.1. IpcBackend Trait
- 2.2. HybridFlowBackend Trait
- 2.3. BackendFactory and BackendType
- 2.4. Error Handling
- 3. Backend Implementations
- 3.1. RustBackend
- 3.2. ZmqIpcBackend
- 3.3. ZMQ Readout Parsing and Golden Frames
- 3.4. Structured ZeroMQ IpcMessage Transport
- 4. IPC Protocol and Data Models
- 4.1. IpcMessage Protocol
- 4.2. Batch Data Types
- 4.3. NeuromodulatorSnapshot and Neuromodulator Packet
- 4.4. StimulusBatch and Runtime Ingress
- 4.5. Deserialization Hooks and Model Compat Aliases
- 5. Validation and Wire Compatibility
- 5.1. Validation Framework and ProtocolLimits
- 5.2. ValidationError and ValidationKind
- 5.3. WireCompatibility and Envelope Decoding
- 5.4. Canonical Wire-v1 Encoding
- 6. corpus_ipc_server HTTP Server
- 6.1. REST API Endpoints
- 6.2. Server Configuration and Deployment
- 7. Build, Dependencies, and Quality Gates
- 7.1. Cargo Features and Dependency Isolation
- 7.2. Testing Strategy
- 7.2.1. Wire-v1 Golden Test Vectors
- 7.2.2. Property-Based Wire Tests
- 7.3. CI, Coverage, and Release Qualification
- 8. Project History and Licensing
- 8.1. Naming History and Completed Renames
- 8.2. Licensing
- 9. Glossary