axon-emcp 0.3.0

axon-emcp — the official ℰMCP (Epistemic Model Context Protocol) server for AXON. A stdio JSON-RPC 2.0 MCP server that exposes the AXON language to AI coding agents (Claude Code, Codex, Cursor, …): every primitive's grammar + semantic constraints + idiomatic examples, plus live validation via the same `axon-frontend` lexer/parser/type-checker the `axon` CLI uses. Hydrated from a diff-reviewable markdown knowledge base under `src/knowledge/`.
Documentation
---
name: dataspace_basic
title: "A `dataspace` as a logical reference target"
summary: "`dataspace` declares a logical grouping for cross-store consistency proofs. Today the body is open; the declaration itself is the citable reference name that `axonstore` declarations under this dataspace point to."
topic: data
primitives:
  - dataspace
  - axonstore
---

// `dataspace` is the logical grouping primitive — per-domain
// (`ClinicalData`, `BillingData`), per-region (`USData`, `EUData`),
// or per-tenant. Future Fase increments will land typed fields
// (retention, cross-store policies); today the dataspace is a
// reference target: axonstore declarations cite it.

dataspace ClinicalData {
}

axonstore PatientLedger {
    backend:     postgresql
    connection:  "postgres://clinical.internal/patient_ledger"
    isolation:   serializable
    on_breach:   raise
    capability:  "clinical.write"
    schema {
        patient_id:  Text primary_key
        diagnosis:   Text not_null
        recorded_at: Timestamp not_null
    }
}