{
  "schema": "semios-node-discovery/v0.1",
  "spec": "https://github.com/Walsh-Karra-Holdings-Global/semios-canon/blob/main/canon/2026-05-21_living_substrate_doctrine.md",
  "node_type": "edge_bridge",
  "substrate": "semios",
  "doctrine": {
    "living_substrate": "WKH-C-021",
    "emit_terminator": "WKH-C-018",
    "six_layer_immune": "WKH-C-007",
    "respiratory_settlement": "CANON-036",
    "standing_wave_identity": "SWI 2026-05-19",
    "mycelial_substrate": "v0.2 L1 (SEC-E ratified V1-V10)",
    "canonical_form": "RFC 8785 JCS",
    "merkle": "Semios Merkle v0.1 (RFC 6962 + BLAKE3 + 0x00/0x01)",
    "clock": "HLC (Kulkarni-Demirbas 2014)",
    "epsilon_floor": "Π.5",
    "boundary_preservation": "Π.10"
  },
  "primitives": {
    "wallet": {
      "algorithms": ["ed25519", "p256-ecdsa"],
      "non_extractable_private": true,
      "vendor_wallet": false
    },
    "transport": {
      "http": true,
      "iroh_l0": "opt-in"
    },
    "storage_tier_note": "Implementation detail; the substrate is the primitive."
  },
  "endpoints": {
    "health":   "/v0/health",
    "presence": "/v0/presence",
    "schema":   "/v0/schemas/thick_edge_v0_2.json",
    "session_open":     "/v0/session/open",
    "session_close":    "/v0/session/close",
    "edge_write":       "/v0/edge/write",
    "edge_get":         "/v0/edge/{edge_id}",
    "resolver_query":   "/v0/resolver/query",
    "attribution_verify": "/v0/attribution/verify",
    "telemetry_snapshot": "/v0/telemetry/snapshot"
  },
  "agent_onboarding": {
    "mode": "operator-mediated",
    "prerequisites": [
      "Generate a keypair (P-256 ECDSA for browser, Ed25519 for native).",
      "Private key MUST be non-extractable on the agent side.",
      "Submit your pubkey to the operator out-of-band for inclusion in bootstrap_pubkeys.",
      "Operator restarts the Bridge; your principal is then session-eligible."
    ],
    "session_open_payload_shape": {
      "principal_pubkey": "<64-hex Ed25519 | 130-hex P-256 SEC1 (leading 04)>",
      "surface_id":       "<your agent identifier>",
      "capability":       "read | write | read_write",
      "intent_scope":     "<free-text scope label, <= 256 chars>",
      "nonce":            "<32-hex>",
      "timestamp_iso":    "<ISO 8601 UTC>",
      "signature":        "hex(sign(JCS({fields above without signature})))"
    }
  },
  "self_honesty_note": "This node may report mode=thin_network_day_1 at /v0/health.recognition. The substrate is honest about its own thinness. Cross-attestation graph and biometric standing-wave envelopes are held pending SEC-E sensor protocol review (CANON-NEW-47)."
}
