{"record":{"id":"5e89e24d7e0ced9c","repo":"MemPalace/mempalace","slug":"mempalace-transport-meshguard-is-reserved-for-the","errorCode":null,"errorMessage":"MEMPALACE_TRANSPORT=meshguard is reserved for the MeshGuard binding (RFC 004 transport seam); it has not shipped yet","messagePattern":"MEMPALACE_TRANSPORT=meshguard is reserved for the MeshGuard binding \\(RFC 004 transport seam\\); it has not shipped yet","errorType":"exception","errorClass":"NotImplementedError","httpStatus":null,"severity":"error","filePath":"mempalace/transport.py","lineNumber":165,"sourceCode":"        return load_peers(self._palace_path)\n\n    def request(self, peer: dict, path: str, params: Optional[dict] = None) -> dict:\n        return http_request(peer[\"url\"], peer.get(\"token\", \"\"), path, params)\n\n\ndef get_transport(palace_path: str) -> Transport:\n    \"\"\"The single swap point (MEMPALACE_TRANSPORT; default https).\n\n    ``meshguard`` is reserved: selecting it before the binding lands\n    fails loudly rather than silently degrading to bearer tokens —\n    a user who asked for mesh-identity auth must never unknowingly\n    run on the token model.\n    \"\"\"\n    selected = (os.environ.get(\"MEMPALACE_TRANSPORT\") or \"https\").strip().lower()\n    if selected == \"https\":\n        return HttpsBearerTransport(palace_path)\n    if selected == \"meshguard\":\n        raise NotImplementedError(\n            \"MEMPALACE_TRANSPORT=meshguard is reserved for the MeshGuard binding \"\n            \"(RFC 004 transport seam); it has not shipped yet\"\n        )\n    raise ValueError(f\"unknown MEMPALACE_TRANSPORT {selected!r} (expected: https, meshguard)\")\n","sourceCodeStart":147,"sourceCodeEnd":170,"githubUrl":"https://github.com/MemPalace/mempalace/blob/06cb6987f02610784fefbad4b2bd5d026d164ba6/mempalace/transport.py#L147-L170","documentation":"Error \"MEMPALACE_TRANSPORT=meshguard is reserved for the MeshGuard binding (RFC 004 transport seam); it has not shipped yet\" thrown in MemPalace/mempalace.","triggerScenarios":"Thrown at mempalace/transport.py:165 when the library encounters an invalid state.","commonSituations":"Reserved meshguard transport was selected but is not implemented yet.","solutions":["Use MEMPALACE_TRANSPORT=https until the MeshGuard binding ships"],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"06cb6987f02610784fefbad4b2bd5d026d164ba6","analyzedAt":"2026-08-15T03:03:36.213Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}