cmn-substrate 0.1.1

CMN protocol core — Ed25519 signatures, BLAKE3 tree hashing, JSON schema validation, URI parsing, and JCS canonicalization. Zero I/O, WASM-compatible.
Documentation
{
  "$schema": "https://cmn.dev/schemas/v1/spore-core.json",
  "id": "cmn-substrate",
  "name": "CMN Substrate",
  "version": "0.1.1",
  "domain": "cmn.dev",
  "key": "ed25519.7BmCWmBb2YeUWR7pmHvwAvi9wRm96VpZsJvZFSTfc2Uu",
  "synopsis": "Shared Rust library for CMN — data models, cryptographic verification, tree hashing, URI parsing, and JSON schema validation used by both Hypha and Synapse",
  "intent": [
    "Provide the common foundation shared between Hypha (client) and Synapse (indexer): spore/mycelium data models, Ed25519 signature verification, BLAKE3 content hashing, CMN URI parsing, and spore.core.json schema validation"
  ],
  "license": "MIT",
  "mutations": [
    "Add serde defaults for all optional array fields — previous_keys, endpoints, nutrients, spores, tastes, mutations, bonds default to empty Vec when absent in JSON, matching the relaxed schema requirements",
    "Change post_synapse_pulse to return the synapse response body (Result<Value> instead of Result<()>) so callers can display pulse results"
  ],
  "bonds": [
    {
      "relation": "depends_on",
      "uri": "cmn://cmn.dev/b3.G3T2oFzktN7E4UJwwSSdXeTewpBaiXbo2FbRYfYLTijk",
      "id": "cmn-spec",
      "reason": "Implements core CMN data structures and verification logic per the specification"
    },
    {
      "relation": "spawned_from",
      "uri": "cmn://cmn.dev/b3.GTmriE48Nm5LksaWQ9PrAfWEm5XrV3mdSPcnFYUZCkBU"
    }
  ],
  "tree": {
    "algorithm": "blob_tree_blake3_nfc",
    "exclude_names": [
      ".git"
    ],
    "follow_rules": [
      ".gitignore"
    ]
  }
}