Engram · Configuration & integration
Replicate facts and check conformance
Exchange facts only with authorized stores and hubs. JSONL CRDT export preserves stored wire bytes; import tolerates unknown future fact types and retains them for relay, while known invalid claims are not made trustworthy by transport. Inspect stored-unapplied, duplicate and rejection reports. Authored vocabulary remains strict even though wire relay is tolerant.
Hub synchronization uses JSON-RPC tools/call to sync_memory_facts / export_memory_facts, with per-URL watermarks. Push identifies source rig/seat; pull may filter a ring ID. Hydration additionally uses hub list_knowledge_compartments / read_knowledge_page. These are remote hub interfaces, not tools provided by the local MCP server.
HTTP and HTTPS are supported for hub sync, hydration and URL conformance. HTTPS validates certificate chains and hostname against platform roots; on Linux SSL_CERT_FILE / SSL_CERT_DIR can select a private CA store. Do not disable verification or transmit bearer credentials over public plaintext HTTP. Prefer environment-managed ENGRAM_HUB_TOKEN to tokens in examples or shell history; note the conformance command's different token handling in the catalog.
Run engram conformance DIRECTORY first on curated local fixtures. Directory checks cover pages and top-level streams; a URL adds remote hub checks. URL conformance replays the hub's own facts to its sync method, so use an authorized test hub, not a read-only production endpoint. Exit 0 means substantive checks that ran passed, not full coverage: inspect checks and not_checked. A parseable manifest or empty remote export/cursor alone is vacuous (3); exit 1 names first_failure.