@floegence/flowersec-core 6.1.0 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (713) hide show
  1. package/README.md +101 -170
  2. package/THIRD_PARTY_NOTICES.md +10 -3075
  3. package/dist/browser/connectSessionV3.d.ts +44 -0
  4. package/dist/browser/connectSessionV3.js +261 -0
  5. package/dist/browser/directWebSocketProfileV1.d.ts +14 -0
  6. package/dist/browser/directWebSocketProfileV1.js +71 -0
  7. package/dist/browser/httpDirectV1.d.ts +30 -0
  8. package/dist/browser/httpDirectV1.js +52 -0
  9. package/dist/browser/index.d.ts +10 -15
  10. package/dist/browser/index.js +4 -5
  11. package/dist/browser/privateLoopbackV1.d.ts +30 -0
  12. package/dist/browser/privateLoopbackV1.js +70 -0
  13. package/dist/cli.d.ts +1 -24
  14. package/dist/cli.js +129 -91
  15. package/dist/cliSpendMarker.js +8 -0
  16. package/dist/defaults.d.ts +23 -1
  17. package/dist/defaults.js +23 -1
  18. package/dist/facade.d.ts +21 -104
  19. package/dist/facade.js +8 -45
  20. package/dist/framing/jsonframe.d.ts +21 -0
  21. package/dist/framing/jsonframe.js +107 -0
  22. package/dist/node/acceptor.d.ts +1 -0
  23. package/dist/node/acceptor.js +1 -0
  24. package/dist/node/acceptorV3.d.ts +70 -0
  25. package/dist/node/acceptorV3.js +296 -0
  26. package/dist/node/byteStreamDuplex.d.ts +4 -0
  27. package/dist/node/byteStreamDuplex.js +69 -0
  28. package/dist/node/connectSessionV3.d.ts +33 -0
  29. package/dist/node/connectSessionV3.js +99 -0
  30. package/dist/node/connectionPath.d.ts +0 -2
  31. package/dist/node/connectionPath.js +0 -18
  32. package/dist/node/index.d.ts +16 -52
  33. package/dist/node/index.js +6 -24
  34. package/dist/node/listenerIngress.d.ts +5 -0
  35. package/dist/node/listenerIngress.js +12 -0
  36. package/dist/node/nativeTransportAddon.d.ts +138 -0
  37. package/dist/node/nativeTransportAddon.js +233 -0
  38. package/dist/node/proxyServer.d.ts +4 -30
  39. package/dist/node/proxyServer.js +169 -600
  40. package/dist/node/rawQuicAdapterV3.d.ts +11 -0
  41. package/dist/node/rawQuicAdapterV3.js +83 -0
  42. package/dist/node/rawQuicServerV3.d.ts +36 -0
  43. package/dist/node/rawQuicServerV3.js +64 -0
  44. package/dist/node/runtimeAuthorizationV3.d.ts +41 -0
  45. package/dist/node/runtimeAuthorizationV3.js +156 -0
  46. package/dist/node/tunnelRuntimeV3.d.ts +60 -0
  47. package/dist/node/tunnelRuntimeV3.js +838 -0
  48. package/dist/node/webSocketServerV3.d.ts +28 -0
  49. package/dist/node/webSocketServerV3.js +223 -0
  50. package/dist/proxy/fetch.d.ts +2 -3
  51. package/dist/proxy/fetch.js +29 -96
  52. package/dist/proxy/index.d.ts +1 -5
  53. package/dist/proxy/index.js +0 -2
  54. package/dist/proxy/integration.d.ts +8 -12
  55. package/dist/proxy/integration.js +16 -23
  56. package/dist/proxy/policy.d.ts +0 -5
  57. package/dist/proxy/policy.js +22 -60
  58. package/dist/proxy/runtime.d.ts +1 -3
  59. package/dist/proxy/runtime.js +186 -404
  60. package/dist/proxy/scope.js +2 -2
  61. package/dist/proxy/serviceWorker.d.ts +0 -3
  62. package/dist/proxy/serviceWorker.js +176 -634
  63. package/dist/proxy/serviceWorkerRuntime.js +1 -26
  64. package/dist/proxy/stream.d.ts +6 -17
  65. package/dist/proxy/stream.js +40 -9
  66. package/dist/proxy/types.d.ts +11 -50
  67. package/dist/proxy/windowBridge.d.ts +3 -11
  68. package/dist/proxy/windowBridge.js +31 -70
  69. package/dist/proxy/wsPatch.js +26 -34
  70. package/dist/public/contract.d.ts +74 -1
  71. package/dist/public/contract.js +8 -0
  72. package/dist/public/sessionHandlers.d.ts +47 -0
  73. package/dist/public/sessionHandlers.js +151 -0
  74. package/dist/public/streamHandlers.d.ts +20 -0
  75. package/dist/public/streamHandlers.js +127 -0
  76. package/dist/public/streamMetadata.d.ts +2 -34
  77. package/dist/public/streamMetadata.js +13 -206
  78. package/dist/rpc/client.d.ts +34 -0
  79. package/dist/rpc/client.js +244 -0
  80. package/dist/rpc/server.d.ts +59 -0
  81. package/dist/rpc/server.js +255 -0
  82. package/dist/rpc/validate.d.ts +4 -0
  83. package/dist/{application/rpcJSON.js → rpc/validate.js} +1 -1
  84. package/dist/rpc/wire.d.ts +15 -0
  85. package/dist/v3/admissionError.d.ts +4 -0
  86. package/dist/v3/admissionError.js +8 -0
  87. package/dist/v3/artifact.d.ts +145 -0
  88. package/dist/v3/artifact.js +1180 -0
  89. package/dist/v3/artifactLease.d.ts +19 -0
  90. package/dist/v3/artifactLease.js +128 -0
  91. package/dist/v3/browserRuntime.d.ts +37 -0
  92. package/dist/v3/browserRuntime.js +197 -0
  93. package/dist/v3/browserSessionRuntime.d.ts +2 -0
  94. package/dist/v3/browserSessionRuntime.js +21 -0
  95. package/dist/v3/capability.d.ts +32 -0
  96. package/dist/v3/capability.js +345 -0
  97. package/dist/v3/carrier.d.ts +86 -0
  98. package/dist/v3/carrier.js +414 -0
  99. package/dist/v3/connectionController.d.ts +101 -0
  100. package/dist/v3/connectionController.js +888 -0
  101. package/dist/v3/contract.d.ts +70 -0
  102. package/dist/v3/contract.js +3 -0
  103. package/dist/v3/controller.d.ts +45 -0
  104. package/dist/v3/controller.js +316 -0
  105. package/dist/v3/handshake.d.ts +81 -0
  106. package/dist/v3/handshake.js +471 -0
  107. package/dist/v3/jcs.d.ts +6 -0
  108. package/dist/v3/jcs.js +69 -0
  109. package/dist/v3/jsonPreflight.d.ts +1 -0
  110. package/dist/v3/jsonPreflight.js +251 -0
  111. package/dist/v3/nodeRuntime.d.ts +43 -0
  112. package/dist/v3/nodeRuntime.js +437 -0
  113. package/dist/v3/nodeSessionRuntime.d.ts +2 -0
  114. package/dist/v3/nodeSessionRuntime.js +13 -0
  115. package/dist/v3/protocol.d.ts +100 -0
  116. package/dist/v3/protocol.js +715 -0
  117. package/dist/v3/publicApi.d.ts +12 -0
  118. package/dist/v3/publicApi.js +46 -0
  119. package/dist/v3/publicSession.js +316 -0
  120. package/dist/v3/runtimeAdapters.d.ts +9 -0
  121. package/dist/v3/runtimeAdapters.js +109 -0
  122. package/dist/v3/security.d.ts +36 -0
  123. package/dist/v3/security.js +113 -0
  124. package/dist/v3/serverAdmission.d.ts +42 -0
  125. package/dist/v3/serverAdmission.js +242 -0
  126. package/dist/v3/session.d.ts +339 -0
  127. package/dist/v3/session.js +2399 -0
  128. package/dist/v3/sessionConnector.d.ts +46 -0
  129. package/dist/v3/sessionConnector.js +534 -0
  130. package/dist/v3/streamLifetimeLedger.d.ts +32 -0
  131. package/dist/v3/streamLifetimeLedger.js +146 -0
  132. package/dist/v3/streamMetadata.js +7 -0
  133. package/dist/v3/transportConstants.d.ts +56 -0
  134. package/dist/v3/transportConstants.js +59 -0
  135. package/dist/v3/tunnelIngress.d.ts +8 -0
  136. package/dist/v3/tunnelIngress.js +21 -0
  137. package/dist/v3/unreliableMessage.d.ts +44 -0
  138. package/dist/v3/unreliableMessage.js +287 -0
  139. package/dist/v3/webSocketCarrier.d.ts +33 -0
  140. package/dist/v3/webSocketCarrier.js +380 -0
  141. package/dist/v3/webTransportCarrier.d.ts +27 -0
  142. package/dist/v3/webTransportCarrier.js +580 -0
  143. package/dist/vendor/tr46.js +17 -23
  144. package/dist/ws-client/binaryTransport.d.ts +65 -0
  145. package/dist/ws-client/binaryTransport.js +348 -0
  146. package/dist/yamux/byteReader.d.ts +13 -0
  147. package/dist/yamux/byteReader.js +81 -0
  148. package/dist/yamux/constants.d.ts +10 -0
  149. package/dist/yamux/constants.js +14 -0
  150. package/dist/yamux/errors.d.ts +15 -0
  151. package/dist/yamux/errors.js +34 -0
  152. package/dist/yamux/header.d.ts +20 -0
  153. package/dist/yamux/header.js +30 -0
  154. package/dist/yamux/session.d.ts +81 -0
  155. package/dist/yamux/session.js +401 -0
  156. package/dist/yamux/stream.d.ts +42 -0
  157. package/dist/yamux/stream.js +307 -0
  158. package/package.json +23 -22
  159. package/sbom/cyclonedx.json +55 -773
  160. package/sbom/spdx.json +60 -577
  161. package/dist/application/rpcJSON.d.ts +0 -15
  162. package/dist/browser/clientV4.d.ts +0 -61
  163. package/dist/browser/clientV4.js +0 -179
  164. package/dist/browser/indexedDBPoolV4.d.ts +0 -101
  165. package/dist/browser/indexedDBPoolV4.js +0 -634
  166. package/dist/browser/liveHTTPSV4.d.ts +0 -35
  167. package/dist/browser/liveHTTPSV4.js +0 -162
  168. package/dist/browser/localBrowserBridge.d.ts +0 -20
  169. package/dist/browser/localBrowserBridge.js +0 -82
  170. package/dist/browser/poolServerAllow.d.ts +0 -21
  171. package/dist/browser/poolServerAllow.js +0 -151
  172. package/dist/browser/webTransportPositionsV4.d.ts +0 -16
  173. package/dist/browser/webTransportPositionsV4.js +0 -75
  174. package/dist/browser/webTransportStreamV4.d.ts +0 -36
  175. package/dist/browser/webTransportStreamV4.js +0 -370
  176. package/dist/browser/webTransportV4.d.ts +0 -126
  177. package/dist/browser/webTransportV4.js +0 -627
  178. package/dist/browser/wssV4.d.ts +0 -69
  179. package/dist/browser/wssV4.js +0 -339
  180. package/dist/generated/brotliWorker.d.ts +0 -1
  181. package/dist/generated/brotliWorker.js +0 -3
  182. package/dist/generated/idna151.d.ts +0 -2
  183. package/dist/generated/idna151.js +0 -38
  184. package/dist/generated/normalization151.d.ts +0 -5
  185. package/dist/generated/normalization151.js +0 -878
  186. package/dist/generated/sqliteWorkers.d.ts +0 -2
  187. package/dist/generated/sqliteWorkers.js +0 -3
  188. package/dist/generated/transportV4APIResults.d.ts +0 -145
  189. package/dist/generated/transportV4APIResults.js +0 -52
  190. package/dist/generated/transportV4Registry.d.ts +0 -3758
  191. package/dist/generated/transportV4Registry.js +0 -29
  192. package/dist/interop/browserRunner.d.ts +0 -72
  193. package/dist/interop/browserRunner.js +0 -354
  194. package/dist/interop/currentClock.d.ts +0 -3
  195. package/dist/interop/currentClock.js +0 -39
  196. package/dist/interop/currentContracts.d.ts +0 -6
  197. package/dist/interop/currentContracts.js +0 -14
  198. package/dist/interop/currentNativeTunnel.d.ts +0 -31
  199. package/dist/interop/currentNativeTunnel.js +0 -185
  200. package/dist/interop/currentParity.d.ts +0 -68
  201. package/dist/interop/currentParity.js +0 -392
  202. package/dist/interop/currentPeer.d.ts +0 -252
  203. package/dist/interop/currentPeer.js +0 -677
  204. package/dist/interop/currentRegisteredTunnelPeer.d.ts +0 -37
  205. package/dist/interop/currentRegisteredTunnelPeer.js +0 -93
  206. package/dist/interop/currentRelayPeer.d.ts +0 -131
  207. package/dist/interop/currentRelayPeer.js +0 -263
  208. package/dist/interop/currentServer.d.ts +0 -44
  209. package/dist/interop/currentServer.js +0 -299
  210. package/dist/interop/currentTLSPin.d.ts +0 -9
  211. package/dist/interop/currentTLSPin.js +0 -44
  212. package/dist/interop/currentTunnelMaterial.d.ts +0 -34
  213. package/dist/interop/currentTunnelMaterial.js +0 -100
  214. package/dist/interop/httpApplicationPeer.d.ts +0 -15
  215. package/dist/interop/httpApplicationPeer.js +0 -167
  216. package/dist/interop/invalidProofPeer.d.ts +0 -8
  217. package/dist/interop/invalidProofPeer.js +0 -106
  218. package/dist/interop/proxyServerPeer.js +0 -49
  219. package/dist/interop/serverParityPeer.d.ts +0 -101
  220. package/dist/interop/serverParityPeer.js +0 -609
  221. package/dist/node/acceptorCurrent.d.ts +0 -55
  222. package/dist/node/acceptorCurrent.js +0 -286
  223. package/dist/node/admissionRecord.d.ts +0 -23
  224. package/dist/node/admissionRecord.js +0 -178
  225. package/dist/node/clientV4.d.ts +0 -59
  226. package/dist/node/clientV4.js +0 -197
  227. package/dist/node/endpointDialer.d.ts +0 -70
  228. package/dist/node/endpointDialer.js +0 -231
  229. package/dist/node/endpointListener.d.ts +0 -48
  230. package/dist/node/endpointListener.js +0 -403
  231. package/dist/node/endpointTransport.d.ts +0 -7
  232. package/dist/node/endpointTransport.js +0 -18
  233. package/dist/node/grantIssuerCurrent.d.ts +0 -64
  234. package/dist/node/grantIssuerCurrent.js +0 -355
  235. package/dist/node/liveHTTPSV4.d.ts +0 -28
  236. package/dist/node/liveHTTPSV4.js +0 -298
  237. package/dist/node/liveTunnelAuthorityCurrent.d.ts +0 -153
  238. package/dist/node/liveTunnelAuthorityCurrent.js +0 -590
  239. package/dist/node/nativeDuplexBridgeV4.d.ts +0 -41
  240. package/dist/node/nativeDuplexBridgeV4.js +0 -494
  241. package/dist/node/nativeTransportCurrent.d.ts +0 -196
  242. package/dist/node/nativeTransportCurrent.js +0 -37
  243. package/dist/node/poolServerAllow.d.ts +0 -33
  244. package/dist/node/poolServerAllow.js +0 -277
  245. package/dist/node/proxyCredentials.d.ts +0 -67
  246. package/dist/node/proxyCredentials.js +0 -364
  247. package/dist/node/proxyNetwork.d.ts +0 -18
  248. package/dist/node/proxyNetwork.js +0 -213
  249. package/dist/node/rawQUICCurrent.d.ts +0 -139
  250. package/dist/node/rawQUICCurrent.js +0 -1177
  251. package/dist/node/registeredLiveTunnelControl.d.ts +0 -74
  252. package/dist/node/registeredLiveTunnelControl.js +0 -865
  253. package/dist/node/registeredPoolTunnelAuthority.d.ts +0 -50
  254. package/dist/node/registeredPoolTunnelAuthority.js +0 -305
  255. package/dist/node/registeredTunnelControl.d.ts +0 -189
  256. package/dist/node/registeredTunnelControl.js +0 -1007
  257. package/dist/node/registeredWinnerContinuation.d.ts +0 -26
  258. package/dist/node/registeredWinnerContinuation.js +0 -83
  259. package/dist/node/relayNativePair.d.ts +0 -62
  260. package/dist/node/relayNativePair.js +0 -737
  261. package/dist/node/relayRecord.d.ts +0 -57
  262. package/dist/node/relayRecord.js +0 -275
  263. package/dist/node/serveRawQUIC.d.ts +0 -58
  264. package/dist/node/serveRawQUIC.js +0 -331
  265. package/dist/node/serveWSS.d.ts +0 -58
  266. package/dist/node/serveWSS.js +0 -309
  267. package/dist/node/sqliteAdmission.d.ts +0 -100
  268. package/dist/node/sqliteAdmission.js +0 -1185
  269. package/dist/node/sqliteExecutionContentV4.d.ts +0 -63
  270. package/dist/node/sqliteExecutionContentV4.js +0 -251
  271. package/dist/node/sqliteExecutionV4.d.ts +0 -114
  272. package/dist/node/sqliteExecutionV4.js +0 -1052
  273. package/dist/node/sqliteFormat.d.ts +0 -20
  274. package/dist/node/sqliteFormat.js +0 -72
  275. package/dist/node/sqliteInspectionV4.d.ts +0 -7
  276. package/dist/node/sqliteInspectionV4.js +0 -47
  277. package/dist/node/sqliteNativeV4.d.ts +0 -3
  278. package/dist/node/sqliteNativeV4.js +0 -16
  279. package/dist/node/sqlitePoolV4.d.ts +0 -41
  280. package/dist/node/sqlitePoolV4.js +0 -282
  281. package/dist/node/sqlitePoolWorkerProgramV4.js +0 -411
  282. package/dist/node/sqlitePoolWorkerV4.d.ts +0 -67
  283. package/dist/node/sqlitePoolWorkerV4.js +0 -206
  284. package/dist/node/sqliteV4.d.ts +0 -82
  285. package/dist/node/sqliteV4.js +0 -166
  286. package/dist/node/sqliteWorkerProgramV4.js +0 -175
  287. package/dist/node/sqliteWorkerV4.d.ts +0 -47
  288. package/dist/node/sqliteWorkerV4.js +0 -142
  289. package/dist/node/streamDuplexV4.d.ts +0 -33
  290. package/dist/node/streamDuplexV4.js +0 -359
  291. package/dist/node/tunnelListenerPreparation.d.ts +0 -37
  292. package/dist/node/tunnelListenerPreparation.js +0 -162
  293. package/dist/node/tunnelRuntime.d.ts +0 -124
  294. package/dist/node/tunnelRuntime.js +0 -1205
  295. package/dist/node/webTransportCurrent.d.ts +0 -24
  296. package/dist/node/webTransportCurrent.js +0 -12
  297. package/dist/node/wssV4.d.ts +0 -99
  298. package/dist/node/wssV4.js +0 -846
  299. package/dist/proxy/admission.d.ts +0 -21
  300. package/dist/proxy/admission.js +0 -126
  301. package/dist/proxy/brotliBody.d.ts +0 -10
  302. package/dist/proxy/brotliBody.js +0 -85
  303. package/dist/proxy/credentialControl.d.ts +0 -30
  304. package/dist/proxy/credentialControl.js +0 -86
  305. package/dist/proxy/currentStream.d.ts +0 -24
  306. package/dist/proxy/currentStream.js +0 -158
  307. package/dist/proxy/headers.d.ts +0 -8
  308. package/dist/proxy/headers.js +0 -63
  309. package/dist/proxy/publicationOwner.d.ts +0 -10
  310. package/dist/proxy/publicationOwner.js +0 -130
  311. package/dist/proxy/requestAssociation.d.ts +0 -11
  312. package/dist/proxy/requestAssociation.js +0 -8
  313. package/dist/proxy/surface.d.ts +0 -45
  314. package/dist/proxy/surface.js +0 -384
  315. package/dist/proxy/wire.d.ts +0 -11
  316. package/dist/proxy/wire.js +0 -214
  317. package/dist/public/streamKind.d.ts +0 -3
  318. package/dist/public/streamKind.js +0 -19
  319. package/dist/testSupport/tlsFixture.d.ts +0 -2
  320. package/dist/testSupport/tlsFixture.js +0 -8
  321. package/dist/v4/admissionOffer.d.ts +0 -8
  322. package/dist/v4/admissionOffer.js +0 -1
  323. package/dist/v4/checkpoint.d.ts +0 -23
  324. package/dist/v4/checkpoint.js +0 -16
  325. package/dist/v4/clientServices.d.ts +0 -35
  326. package/dist/v4/clientServices.js +0 -11
  327. package/dist/v4/connectionDiagnostic.d.ts +0 -42
  328. package/dist/v4/connectionDiagnostic.js +0 -45
  329. package/dist/v4/connectionRequirements.d.ts +0 -5
  330. package/dist/v4/connectionRequirements.js +0 -34
  331. package/dist/v4/controller.d.ts +0 -122
  332. package/dist/v4/controller.js +0 -1161
  333. package/dist/v4/controllerNotifications.d.ts +0 -81
  334. package/dist/v4/controllerNotifications.js +0 -610
  335. package/dist/v4/diagnostics.d.ts +0 -44
  336. package/dist/v4/diagnostics.js +0 -9
  337. package/dist/v4/drain.d.ts +0 -39
  338. package/dist/v4/drain.js +0 -80
  339. package/dist/v4/duplexBridge.d.ts +0 -53
  340. package/dist/v4/duplexBridge.js +0 -446
  341. package/dist/v4/entrypoints.d.ts +0 -20
  342. package/dist/v4/entrypoints.js +0 -50
  343. package/dist/v4/eventSource.d.ts +0 -34
  344. package/dist/v4/eventSource.js +0 -28
  345. package/dist/v4/handlerPlan.d.ts +0 -53
  346. package/dist/v4/handlerPlan.js +0 -129
  347. package/dist/v4/liveness.d.ts +0 -20
  348. package/dist/v4/liveness.js +0 -10
  349. package/dist/v4/localReport.d.ts +0 -17
  350. package/dist/v4/localReport.js +0 -10
  351. package/dist/v4/messageDefinition.d.ts +0 -66
  352. package/dist/v4/messageDefinition.js +0 -109
  353. package/dist/v4/messageStream.d.ts +0 -89
  354. package/dist/v4/messageStream.js +0 -1375
  355. package/dist/v4/notificationOperation.d.ts +0 -30
  356. package/dist/v4/notificationOperation.js +0 -31
  357. package/dist/v4/notificationSubscription.d.ts +0 -47
  358. package/dist/v4/notificationSubscription.js +0 -24
  359. package/dist/v4/operationReference.d.ts +0 -28
  360. package/dist/v4/operationReference.js +0 -61
  361. package/dist/v4/operationReferenceCodec.d.ts +0 -20
  362. package/dist/v4/operationReferenceCodec.js +0 -129
  363. package/dist/v4/operationReferenceStore.d.ts +0 -90
  364. package/dist/v4/operationReferenceStore.js +0 -272
  365. package/dist/v4/operationResultRead.d.ts +0 -26
  366. package/dist/v4/operationResultRead.js +0 -24
  367. package/dist/v4/poolControl.d.ts +0 -11
  368. package/dist/v4/poolControl.js +0 -50
  369. package/dist/v4/poolSource.d.ts +0 -93
  370. package/dist/v4/poolSource.js +0 -900
  371. package/dist/v4/profileDHReference.d.ts +0 -2
  372. package/dist/v4/profileDHReference.js +0 -42
  373. package/dist/v4/public.d.ts +0 -232
  374. package/dist/v4/public.js +0 -632
  375. package/dist/v4/responsePublication.d.ts +0 -48
  376. package/dist/v4/responsePublication.js +0 -227
  377. package/dist/v4/resume.d.ts +0 -17
  378. package/dist/v4/resume.js +0 -15
  379. package/dist/v4/runtime/applicationExecutor.d.ts +0 -190
  380. package/dist/v4/runtime/applicationExecutor.js +0 -759
  381. package/dist/v4/runtime/applicationHeader.d.ts +0 -61
  382. package/dist/v4/runtime/applicationHeader.js +0 -222
  383. package/dist/v4/runtime/canonicalText.d.ts +0 -8
  384. package/dist/v4/runtime/canonicalText.js +0 -142
  385. package/dist/v4/runtime/cbor.d.ts +0 -92
  386. package/dist/v4/runtime/cbor.js +0 -728
  387. package/dist/v4/runtime/cborWriter.d.ts +0 -18
  388. package/dist/v4/runtime/cborWriter.js +0 -59
  389. package/dist/v4/runtime/checkpointToken.d.ts +0 -41
  390. package/dist/v4/runtime/checkpointToken.js +0 -61
  391. package/dist/v4/runtime/clientAdmission.d.ts +0 -40
  392. package/dist/v4/runtime/clientAdmission.js +0 -378
  393. package/dist/v4/runtime/clientSessionSpec.d.ts +0 -45
  394. package/dist/v4/runtime/clientSessionSpec.js +0 -91
  395. package/dist/v4/runtime/clock.d.ts +0 -80
  396. package/dist/v4/runtime/clock.js +0 -284
  397. package/dist/v4/runtime/connectionFacts.d.ts +0 -23
  398. package/dist/v4/runtime/connectionFacts.js +0 -106
  399. package/dist/v4/runtime/contractAcceptance.d.ts +0 -20
  400. package/dist/v4/runtime/contractAcceptance.js +0 -91
  401. package/dist/v4/runtime/contractQuery.d.ts +0 -57
  402. package/dist/v4/runtime/contractQuery.js +0 -265
  403. package/dist/v4/runtime/contractQueryAccess.d.ts +0 -25
  404. package/dist/v4/runtime/contractQueryAccess.js +0 -117
  405. package/dist/v4/runtime/contractQueryAcquisition.d.ts +0 -83
  406. package/dist/v4/runtime/contractQueryAcquisition.js +0 -572
  407. package/dist/v4/runtime/contractQueryClient.d.ts +0 -70
  408. package/dist/v4/runtime/contractQueryClient.js +0 -411
  409. package/dist/v4/runtime/contractQueryCodecs.d.ts +0 -20
  410. package/dist/v4/runtime/contractQueryCodecs.js +0 -71
  411. package/dist/v4/runtime/contractQueryExchange.d.ts +0 -36
  412. package/dist/v4/runtime/contractQueryExchange.js +0 -160
  413. package/dist/v4/runtime/contractQueryService.d.ts +0 -42
  414. package/dist/v4/runtime/contractQueryService.js +0 -572
  415. package/dist/v4/runtime/contractQuerySession.d.ts +0 -38
  416. package/dist/v4/runtime/contractQuerySession.js +0 -158
  417. package/dist/v4/runtime/contractRoutes.d.ts +0 -87
  418. package/dist/v4/runtime/contractRoutes.js +0 -396
  419. package/dist/v4/runtime/contractSnapshotReader.d.ts +0 -59
  420. package/dist/v4/runtime/contractSnapshotReader.js +0 -418
  421. package/dist/v4/runtime/contractSnapshotWriter.d.ts +0 -32
  422. package/dist/v4/runtime/contractSnapshotWriter.js +0 -208
  423. package/dist/v4/runtime/controllerServiceSource.d.ts +0 -23
  424. package/dist/v4/runtime/controllerServiceSource.js +0 -109
  425. package/dist/v4/runtime/controllerUnaryRoute.d.ts +0 -28
  426. package/dist/v4/runtime/controllerUnaryRoute.js +0 -1
  427. package/dist/v4/runtime/credentialNamespace.d.ts +0 -143
  428. package/dist/v4/runtime/credentialNamespace.js +0 -1286
  429. package/dist/v4/runtime/credentialSupport.d.ts +0 -60
  430. package/dist/v4/runtime/credentialSupport.js +0 -294
  431. package/dist/v4/runtime/credentialVerifier.d.ts +0 -404
  432. package/dist/v4/runtime/credentialVerifier.js +0 -1443
  433. package/dist/v4/runtime/cryptoUsage.d.ts +0 -135
  434. package/dist/v4/runtime/cryptoUsage.js +0 -552
  435. package/dist/v4/runtime/deadline.d.ts +0 -31
  436. package/dist/v4/runtime/deadline.js +0 -188
  437. package/dist/v4/runtime/diagnosticCounters.d.ts +0 -15
  438. package/dist/v4/runtime/diagnosticCounters.js +0 -78
  439. package/dist/v4/runtime/diagnosticObservation.d.ts +0 -25
  440. package/dist/v4/runtime/diagnosticObservation.js +0 -67
  441. package/dist/v4/runtime/diagnosticSink.d.ts +0 -16
  442. package/dist/v4/runtime/diagnosticSink.js +0 -320
  443. package/dist/v4/runtime/ed25519.d.ts +0 -1
  444. package/dist/v4/runtime/ed25519.js +0 -34
  445. package/dist/v4/runtime/endpointHop.d.ts +0 -12
  446. package/dist/v4/runtime/endpointHop.js +0 -26
  447. package/dist/v4/runtime/envelope.d.ts +0 -66
  448. package/dist/v4/runtime/envelope.js +0 -275
  449. package/dist/v4/runtime/environment.d.ts +0 -277
  450. package/dist/v4/runtime/environment.js +0 -1913
  451. package/dist/v4/runtime/executionManagementChannel.d.ts +0 -27
  452. package/dist/v4/runtime/executionManagementChannel.js +0 -733
  453. package/dist/v4/runtime/executionManagementCodec.d.ts +0 -84
  454. package/dist/v4/runtime/executionManagementCodec.js +0 -127
  455. package/dist/v4/runtime/executionStorage.d.ts +0 -71
  456. package/dist/v4/runtime/executionStorage.js +0 -10
  457. package/dist/v4/runtime/fixedDiagnosticExecutor.d.ts +0 -34
  458. package/dist/v4/runtime/fixedDiagnosticExecutor.js +0 -149
  459. package/dist/v4/runtime/fixedManagementExecutor.d.ts +0 -21
  460. package/dist/v4/runtime/fixedManagementExecutor.js +0 -153
  461. package/dist/v4/runtime/fixedQueryExecutor.d.ts +0 -46
  462. package/dist/v4/runtime/fixedQueryExecutor.js +0 -311
  463. package/dist/v4/runtime/grantDigest.d.ts +0 -9
  464. package/dist/v4/runtime/grantDigest.js +0 -31
  465. package/dist/v4/runtime/hopAuthentication.d.ts +0 -51
  466. package/dist/v4/runtime/hopAuthentication.js +0 -392
  467. package/dist/v4/runtime/host.d.ts +0 -15
  468. package/dist/v4/runtime/host.js +0 -332
  469. package/dist/v4/runtime/initializerWorkload.d.ts +0 -38
  470. package/dist/v4/runtime/initializerWorkload.js +0 -164
  471. package/dist/v4/runtime/lifecycle.d.ts +0 -5
  472. package/dist/v4/runtime/lifecycle.js +0 -17
  473. package/dist/v4/runtime/liveAuthorization.d.ts +0 -42
  474. package/dist/v4/runtime/liveAuthorization.js +0 -133
  475. package/dist/v4/runtime/liveAuthorizationWire.d.ts +0 -8
  476. package/dist/v4/runtime/liveAuthorizationWire.js +0 -31
  477. package/dist/v4/runtime/liveCarrierPreparation.d.ts +0 -9
  478. package/dist/v4/runtime/liveCarrierPreparation.js +0 -27
  479. package/dist/v4/runtime/liveness.d.ts +0 -37
  480. package/dist/v4/runtime/liveness.js +0 -319
  481. package/dist/v4/runtime/maintenancePositions.d.ts +0 -29
  482. package/dist/v4/runtime/maintenancePositions.js +0 -152
  483. package/dist/v4/runtime/messageCodec.d.ts +0 -20
  484. package/dist/v4/runtime/messageCodec.js +0 -192
  485. package/dist/v4/runtime/namespaceContinuity.d.ts +0 -20
  486. package/dist/v4/runtime/namespaceContinuity.js +0 -176
  487. package/dist/v4/runtime/nativeCandidates.d.ts +0 -18
  488. package/dist/v4/runtime/nativeCandidates.js +0 -109
  489. package/dist/v4/runtime/nativeFailure.d.ts +0 -10
  490. package/dist/v4/runtime/nativeFailure.js +0 -32
  491. package/dist/v4/runtime/nativeFrame.d.ts +0 -47
  492. package/dist/v4/runtime/nativeFrame.js +0 -318
  493. package/dist/v4/runtime/nativeIngress.d.ts +0 -30
  494. package/dist/v4/runtime/nativeIngress.js +0 -177
  495. package/dist/v4/runtime/nativePositions.d.ts +0 -24
  496. package/dist/v4/runtime/nativePositions.js +0 -131
  497. package/dist/v4/runtime/nativeProviderPositions.d.ts +0 -16
  498. package/dist/v4/runtime/nativeProviderPositions.js +0 -75
  499. package/dist/v4/runtime/nativeSend.d.ts +0 -15
  500. package/dist/v4/runtime/nativeSend.js +0 -57
  501. package/dist/v4/runtime/noiseHandshake.d.ts +0 -70
  502. package/dist/v4/runtime/noiseHandshake.js +0 -373
  503. package/dist/v4/runtime/noiseWasmBinary.d.ts +0 -2
  504. package/dist/v4/runtime/noiseWasmBinary.js +0 -3
  505. package/dist/v4/runtime/notifyChannel.d.ts +0 -37
  506. package/dist/v4/runtime/notifyChannel.js +0 -277
  507. package/dist/v4/runtime/notifyDispatch.d.ts +0 -108
  508. package/dist/v4/runtime/notifyDispatch.js +0 -717
  509. package/dist/v4/runtime/notifyExecution.d.ts +0 -18
  510. package/dist/v4/runtime/notifyExecution.js +0 -59
  511. package/dist/v4/runtime/notifyPreparation.d.ts +0 -70
  512. package/dist/v4/runtime/notifyPreparation.js +0 -465
  513. package/dist/v4/runtime/openAdmission.d.ts +0 -125
  514. package/dist/v4/runtime/openAdmission.js +0 -810
  515. package/dist/v4/runtime/peerOpenPreparation.d.ts +0 -18
  516. package/dist/v4/runtime/peerOpenPreparation.js +0 -61
  517. package/dist/v4/runtime/poolJournal.d.ts +0 -18
  518. package/dist/v4/runtime/poolJournal.js +0 -14
  519. package/dist/v4/runtime/poolJournalStorage.d.ts +0 -4
  520. package/dist/v4/runtime/poolJournalStorage.js +0 -172
  521. package/dist/v4/runtime/poolRecord.d.ts +0 -9
  522. package/dist/v4/runtime/poolRecord.js +0 -23
  523. package/dist/v4/runtime/poolRecordStorage.d.ts +0 -10
  524. package/dist/v4/runtime/poolRecordStorage.js +0 -216
  525. package/dist/v4/runtime/poolServerAllow.d.ts +0 -49
  526. package/dist/v4/runtime/poolServerAllow.js +0 -38
  527. package/dist/v4/runtime/poolSpend.d.ts +0 -20
  528. package/dist/v4/runtime/poolSpend.js +0 -4
  529. package/dist/v4/runtime/queryRenewalPosition.d.ts +0 -59
  530. package/dist/v4/runtime/queryRenewalPosition.js +0 -220
  531. package/dist/v4/runtime/random.d.ts +0 -15
  532. package/dist/v4/runtime/random.js +0 -71
  533. package/dist/v4/runtime/rawStreamPreparation.d.ts +0 -40
  534. package/dist/v4/runtime/rawStreamPreparation.js +0 -125
  535. package/dist/v4/runtime/receiveDirection.d.ts +0 -135
  536. package/dist/v4/runtime/receiveDirection.js +0 -957
  537. package/dist/v4/runtime/receiveWorkspace.d.ts +0 -19
  538. package/dist/v4/runtime/receiveWorkspace.js +0 -82
  539. package/dist/v4/runtime/record.d.ts +0 -7
  540. package/dist/v4/runtime/record.js +0 -173
  541. package/dist/v4/runtime/recordCrypto.d.ts +0 -121
  542. package/dist/v4/runtime/recordCrypto.js +0 -633
  543. package/dist/v4/runtime/recordWorkspace.d.ts +0 -17
  544. package/dist/v4/runtime/recordWorkspace.js +0 -69
  545. package/dist/v4/runtime/registeredCarrierPreparation.d.ts +0 -17
  546. package/dist/v4/runtime/registeredCarrierPreparation.js +0 -191
  547. package/dist/v4/runtime/rekey.d.ts +0 -40
  548. package/dist/v4/runtime/rekey.js +0 -362
  549. package/dist/v4/runtime/relayCredentials.d.ts +0 -126
  550. package/dist/v4/runtime/relayCredentials.js +0 -349
  551. package/dist/v4/runtime/replayWindow.d.ts +0 -6
  552. package/dist/v4/runtime/replayWindow.js +0 -59
  553. package/dist/v4/runtime/resources.d.ts +0 -200
  554. package/dist/v4/runtime/resources.js +0 -1236
  555. package/dist/v4/runtime/resumeCodec.d.ts +0 -44
  556. package/dist/v4/runtime/resumeCodec.js +0 -192
  557. package/dist/v4/runtime/resumeStream.d.ts +0 -23
  558. package/dist/v4/runtime/resumeStream.js +0 -23
  559. package/dist/v4/runtime/rpcApplication.d.ts +0 -234
  560. package/dist/v4/runtime/rpcApplication.js +0 -2170
  561. package/dist/v4/runtime/rpcApplicationServices.d.ts +0 -18
  562. package/dist/v4/runtime/rpcApplicationServices.js +0 -62
  563. package/dist/v4/runtime/rpcCallCapacity.d.ts +0 -62
  564. package/dist/v4/runtime/rpcCallCapacity.js +0 -289
  565. package/dist/v4/runtime/rpcChannel.d.ts +0 -58
  566. package/dist/v4/runtime/rpcChannel.js +0 -334
  567. package/dist/v4/runtime/rpcCompletion.d.ts +0 -42
  568. package/dist/v4/runtime/rpcCompletion.js +0 -152
  569. package/dist/v4/runtime/rpcEventSource.d.ts +0 -27
  570. package/dist/v4/runtime/rpcEventSource.js +0 -201
  571. package/dist/v4/runtime/rpcFragment.d.ts +0 -42
  572. package/dist/v4/runtime/rpcFragment.js +0 -227
  573. package/dist/v4/runtime/rpcInput.d.ts +0 -41
  574. package/dist/v4/runtime/rpcInput.js +0 -137
  575. package/dist/v4/runtime/rpcNetwork.d.ts +0 -143
  576. package/dist/v4/runtime/rpcNetwork.js +0 -652
  577. package/dist/v4/runtime/rpcOutputInterest.d.ts +0 -20
  578. package/dist/v4/runtime/rpcOutputInterest.js +0 -106
  579. package/dist/v4/runtime/rpcPayload.d.ts +0 -24
  580. package/dist/v4/runtime/rpcPayload.js +0 -82
  581. package/dist/v4/runtime/rpcPreacceptedStreams.d.ts +0 -46
  582. package/dist/v4/runtime/rpcPreacceptedStreams.js +0 -406
  583. package/dist/v4/runtime/rpcPublisher.d.ts +0 -49
  584. package/dist/v4/runtime/rpcPublisher.js +0 -406
  585. package/dist/v4/runtime/rpcReceiver.d.ts +0 -40
  586. package/dist/v4/runtime/rpcReceiver.js +0 -255
  587. package/dist/v4/runtime/rpcResumeDispatch.d.ts +0 -46
  588. package/dist/v4/runtime/rpcResumeDispatch.js +0 -266
  589. package/dist/v4/runtime/rpcStream.d.ts +0 -14
  590. package/dist/v4/runtime/rpcStream.js +0 -12
  591. package/dist/v4/runtime/rpcStreamMessages.d.ts +0 -53
  592. package/dist/v4/runtime/rpcStreamMessages.js +0 -428
  593. package/dist/v4/runtime/rpcStreamPreparation.d.ts +0 -21
  594. package/dist/v4/runtime/rpcStreamPreparation.js +0 -110
  595. package/dist/v4/runtime/rpcStreamingDispatch.d.ts +0 -26
  596. package/dist/v4/runtime/rpcStreamingDispatch.js +0 -607
  597. package/dist/v4/runtime/rpcStreamingExchange.d.ts +0 -91
  598. package/dist/v4/runtime/rpcStreamingExchange.js +0 -812
  599. package/dist/v4/runtime/rpcUnaryCall.d.ts +0 -16
  600. package/dist/v4/runtime/rpcUnaryCall.js +0 -152
  601. package/dist/v4/runtime/rpcUnaryDispatch.d.ts +0 -34
  602. package/dist/v4/runtime/rpcUnaryDispatch.js +0 -569
  603. package/dist/v4/runtime/rpcUnaryExchange.d.ts +0 -127
  604. package/dist/v4/runtime/rpcUnaryExchange.js +0 -1042
  605. package/dist/v4/runtime/rpcUnaryPreparation.d.ts +0 -102
  606. package/dist/v4/runtime/rpcUnaryPreparation.js +0 -736
  607. package/dist/v4/runtime/rpcUnaryRegistration.d.ts +0 -33
  608. package/dist/v4/runtime/rpcUnaryRegistration.js +0 -113
  609. package/dist/v4/runtime/rpcUnaryResultRecipient.d.ts +0 -21
  610. package/dist/v4/runtime/rpcUnaryResultRecipient.js +0 -57
  611. package/dist/v4/runtime/schema.d.ts +0 -26
  612. package/dist/v4/runtime/schema.js +0 -668
  613. package/dist/v4/runtime/schemaRegistry.d.ts +0 -128
  614. package/dist/v4/runtime/schemaRegistry.js +0 -74
  615. package/dist/v4/runtime/sendBudget.d.ts +0 -10
  616. package/dist/v4/runtime/sendBudget.js +0 -46
  617. package/dist/v4/runtime/serveGroup.d.ts +0 -73
  618. package/dist/v4/runtime/serveGroup.js +0 -589
  619. package/dist/v4/runtime/serverAdmission.d.ts +0 -33
  620. package/dist/v4/runtime/serverAdmission.js +0 -342
  621. package/dist/v4/runtime/serverAdmissionAuthority.d.ts +0 -23
  622. package/dist/v4/runtime/serverAdmissionAuthority.js +0 -5
  623. package/dist/v4/runtime/serverSessionSpec.d.ts +0 -9
  624. package/dist/v4/runtime/serverSessionSpec.js +0 -12
  625. package/dist/v4/runtime/serviceBinding.d.ts +0 -128
  626. package/dist/v4/runtime/serviceBinding.js +0 -1435
  627. package/dist/v4/runtime/serviceBindingConfig.d.ts +0 -72
  628. package/dist/v4/runtime/serviceBindingConfig.js +0 -85
  629. package/dist/v4/runtime/serviceBindingPool.d.ts +0 -58
  630. package/dist/v4/runtime/serviceBindingPool.js +0 -327
  631. package/dist/v4/runtime/serviceContract.d.ts +0 -111
  632. package/dist/v4/runtime/serviceContract.js +0 -588
  633. package/dist/v4/runtime/serviceInputs.d.ts +0 -30
  634. package/dist/v4/runtime/serviceInputs.js +0 -201
  635. package/dist/v4/runtime/serviceOfferPlan.d.ts +0 -81
  636. package/dist/v4/runtime/serviceOfferPlan.js +0 -335
  637. package/dist/v4/runtime/serviceOfferScheduler.d.ts +0 -12
  638. package/dist/v4/runtime/serviceOfferScheduler.js +0 -201
  639. package/dist/v4/runtime/serviceOfferWork.d.ts +0 -25
  640. package/dist/v4/runtime/serviceOfferWork.js +0 -1
  641. package/dist/v4/runtime/session.d.ts +0 -411
  642. package/dist/v4/runtime/session.js +0 -6369
  643. package/dist/v4/runtime/sessionActivity.d.ts +0 -19
  644. package/dist/v4/runtime/sessionActivity.js +0 -97
  645. package/dist/v4/runtime/sessionAdmission.d.ts +0 -93
  646. package/dist/v4/runtime/sessionAdmission.js +0 -498
  647. package/dist/v4/runtime/sessionCleanup.d.ts +0 -47
  648. package/dist/v4/runtime/sessionCleanup.js +0 -268
  649. package/dist/v4/runtime/sessionKeyPreparation.d.ts +0 -19
  650. package/dist/v4/runtime/sessionKeyPreparation.js +0 -50
  651. package/dist/v4/runtime/signedMap.d.ts +0 -68
  652. package/dist/v4/runtime/signedMap.js +0 -425
  653. package/dist/v4/runtime/streamAdapter.d.ts +0 -113
  654. package/dist/v4/runtime/streamAdapter.js +0 -62
  655. package/dist/v4/runtime/streamData.d.ts +0 -11
  656. package/dist/v4/runtime/streamData.js +0 -50
  657. package/dist/v4/runtime/streamOpenPreparation.d.ts +0 -23
  658. package/dist/v4/runtime/streamOpenPreparation.js +0 -77
  659. package/dist/v4/runtime/streamRegistration.d.ts +0 -87
  660. package/dist/v4/runtime/streamRegistration.js +0 -296
  661. package/dist/v4/runtime/taskObservation.d.ts +0 -1
  662. package/dist/v4/runtime/taskObservation.js +0 -48
  663. package/dist/v4/runtime/timeArithmetic.d.ts +0 -29
  664. package/dist/v4/runtime/timeArithmetic.js +0 -107
  665. package/dist/v4/runtime/unreliable.d.ts +0 -76
  666. package/dist/v4/runtime/unreliable.js +0 -473
  667. package/dist/v4/runtime/volatileExecutions.d.ts +0 -128
  668. package/dist/v4/runtime/volatileExecutions.js +0 -792
  669. package/dist/v4/runtime/wireRegistry.d.ts +0 -52
  670. package/dist/v4/runtime/wireRegistry.js +0 -29
  671. package/dist/v4/runtime/writeRequest.d.ts +0 -42
  672. package/dist/v4/runtime/writeRequest.js +0 -237
  673. package/dist/v4/serve.d.ts +0 -107
  674. package/dist/v4/serve.js +0 -80
  675. package/dist/v4/serviceClient.d.ts +0 -92
  676. package/dist/v4/serviceClient.js +0 -323
  677. package/dist/v4/serviceDefinition.d.ts +0 -138
  678. package/dist/v4/serviceDefinition.js +0 -150
  679. package/dist/v4/serviceDependencies.d.ts +0 -66
  680. package/dist/v4/serviceDependencies.js +0 -250
  681. package/dist/v4/serviceFactory.d.ts +0 -31
  682. package/dist/v4/serviceFactory.js +0 -157
  683. package/dist/v4/serviceHandlers.d.ts +0 -55
  684. package/dist/v4/serviceHandlers.js +0 -15
  685. package/dist/v4/serviceMembers.d.ts +0 -4
  686. package/dist/v4/serviceMembers.js +0 -12
  687. package/dist/v4/staticServiceContracts.d.ts +0 -43
  688. package/dist/v4/staticServiceContracts.js +0 -161
  689. package/dist/v4/storageFormat.d.ts +0 -16
  690. package/dist/v4/storageFormat.js +0 -5
  691. package/dist/v4/streamContent.d.ts +0 -30
  692. package/dist/v4/streamContent.js +0 -29
  693. package/dist/v4/streamHandlers.d.ts +0 -61
  694. package/dist/v4/streamHandlers.js +0 -16
  695. package/dist/v4/streamingOperation.d.ts +0 -64
  696. package/dist/v4/streamingOperation.js +0 -141
  697. package/dist/v4/strictEd25519Reference.d.ts +0 -2
  698. package/dist/v4/strictEd25519Reference.js +0 -37
  699. package/dist/v4/testSupport/cbor.d.ts +0 -124
  700. package/dist/v4/testSupport/cbor.js +0 -230
  701. package/dist/v4/testSupport/credentials.d.ts +0 -55
  702. package/dist/v4/testSupport/credentials.js +0 -111
  703. package/dist/v4/testSupport/unicode.d.ts +0 -19
  704. package/dist/v4/testSupport/unicode.js +0 -112
  705. package/dist/v4/unaryOperation.d.ts +0 -59
  706. package/dist/v4/unaryOperation.js +0 -80
  707. package/dist/v4/unreliable.d.ts +0 -26
  708. package/dist/v4/unreliable.js +0 -10
  709. package/dist/v4/webStreams.d.ts +0 -30
  710. package/dist/v4/webStreams.js +0 -377
  711. /package/dist/{interop/proxyServerPeer.d.ts → rpc/wire.js} +0 -0
  712. /package/dist/{node/sqlitePoolWorkerProgramV4.d.ts → v3/publicSession.d.ts} +0 -0
  713. /package/dist/{node/sqliteWorkerProgramV4.d.ts → v3/streamMetadata.d.ts} +0 -0
@@ -1,29 +0,0 @@
1
- // Generated draft registry; not a qualified runtime.
2
- export const transportV4Registry = {
3
- schemaSHA256: "3a7a448d49a46f86700e56dc0d30e62d8915bdc67e12d1b697c9d92083f4cc1c",
4
- frameTypes: { "NEGOTIATE": 1, "ADMISSION": 2, "ADMISSION_RESULT": 3, "HANDSHAKE": 4, "READY": 5, "REKEY": 6, "OPEN_STREAM": 7, "STREAM_DATA": 8, "STREAM_ACK": 9, "DATAGRAM": 10, "ERROR": 11, "CLOSE": 12, "GOAWAY": 13, "PING": 14, "PONG": 15, "HOP_AUTH": 16 },
5
- };
6
- export const transportV4ProxyApplicationRegistry = { "version": 2, "metadata_length_prefix": "uint32be", "body_framing": "uint32be chunk length; zero length followed by length-prefixed ProxyBodyEnd; missing terminal is truncation", "http_stream_kind": "flowersec-proxy/http1", "websocket_stream_kind": "flowersec-proxy/ws", "max_metadata_bytes": 1048576, "max_field_count": 65535, "max_chunk_bytes": 262144, "max_body_bytes": 67108864, "max_concurrent_streams": 64, "string_projection": "Field names, method, path, IDs, origin, protocol and error values are ASCII bytes. Header values are HTTP octets, mapped isomorphically to Latin-1 at string APIs. No UTF-8 conversion or Unicode normalization.", "status": "implementation_in_progress" };
7
- export const transportV4CarrierProviderRegistry = { "webtransport": { "binding": "Trusted immutable Environment provider/deployment binding; this registry is not interoperability evidence.", "alpn": "h3", "dedicated_connection": true, "application_protocol": "", "admission_stream_opener": "leg_dialer", "session_flow_control": "disabled_by_zero_local_configuration_and_no_peer_initial_limits", "forbidden_peer_settings": [11108, 11109, 11105], "native_mapping": { "bidirectional_prefix": 65, "unidirectional_prefix": 84, "session_id": "actual_connect_stream_id", "datagram": "rfc_http3_quarter_connect_stream_id", "capsule_provider": "Flowersec bounded native H3 lifecycle over quic-go@v0.62.0; webtransport-go@v0.13.0 tuple constants" }, "listener": { "module": "github.com/quic-go/webtransport-go", "version": "v0.13.0", "quic_module": "github.com/quic-go/quic-go", "quic_version": "v0.62.0", "config": "zero", "header_bytes": 16384, "settings_wait_ms": 5000, "max_connect_requests_per_connection": 1, "owned_assembly": "flowersec-go/internal/carrierv4/webtransport/owned_native.go", "bounded_native_associations": true }, "tuples": [{ "id": "go_native_h3", "implementation": "github.com/quic-go/webtransport-go@v0.13.0", "quic_implementation": "github.com/quic-go/quic-go@v0.62.0", "runtime": "go1.27.2", "protocol": "webtransport-h3", "request_headers": {}, "forbidden_request_headers": ["sec-webtransport-http3-draft02", "wt-available-protocols", "wt-protocol", "capsule-protocol"], "required_peer_settings": { "746385408": 1 }, "required_http3_datagram": true, "required_remote_partial_reset": true, "response_headers": {}, "qualification": "not_verified" }, { "id": "chromium_h3_draft02", "implementation": "chromium@8a845075e8ec4ef45d9f547d6dbb23bc56f2958e", "quic_implementation": "quiche@0b2bc13f4fdad122a0ffc163b182a9b0f9cfdfbd", "runtime": "trusted_deployment_binding", "protocol": "webtransport", "request_headers": { "sec-webtransport-http3-draft02": "1" }, "forbidden_request_headers": ["wt-available-protocols", "wt-protocol", "capsule-protocol"], "required_peer_settings": { "727725890": 1 }, "required_http3_datagram": true, "required_remote_partial_reset": false, "response_headers": {}, "qualification": "not_verified" }] }, "normal_drained": { "application_code": 62723, "raw_quic_code": 62723, "webtransport_application_code": 62723, "webtransport_http3_code_formula": "0x52e4a40fa8db + application_code + floor(application_code / 0x1e)", "sender_action": "STOP_SENDING on the original receive half; RESET_STREAM with the same mapped code may be observed on that half", "relay_action": "Stop only the corresponding logical traffic direction and discard its bounded downstream queue; preserve reverse traffic and maintenance", "fin_action": "Drain already submitted bytes before FIN; never replace an already queued FIN with a cleanup RESET_STREAM", "authority": "Authenticated endpoint drained or rejected proof, or propagation of the exact native signal by the existing opaque relay mapping; never end-to-end success", "qualification": "not_verified" }, "relay": { "boundary": "Trusted local deployment configuration selects one exact route digest and one finite profile before Prepare. Each profile requires the Go v4 endpoint owners and Go RelayPair from the same deployed Flowersec build and pinned provider runtime range. Remote deployment facts are operator trust, not facts inferred from a signed descriptor or local successful dial. No receipts or peer capability claims are loaded. Engineering qualification remains not_verified until actual pairwise probes complete.", "implementation": "flowersec-go/v6", "runtime": "Go 1.27.2", "qualification": "not_verified", "profiles": [{ "id": "go_v4_raw_quic_raw_quic", "client_carrier": 0, "server_carrier": 0, "consumer_assurance": "go_relay_native_consumer", "observer_assurance": "go_relay_native_observer" }, { "id": "go_v4_raw_quic_websocket", "client_carrier": 0, "server_carrier": 1, "consumer_assurance": "go_relay_shared_consumer", "observer_assurance": "go_relay_shared_observer" }, { "id": "go_v4_raw_quic_webtransport", "client_carrier": 0, "server_carrier": 2, "consumer_assurance": "go_relay_native_consumer", "observer_assurance": "go_relay_native_observer" }, { "id": "go_v4_websocket_raw_quic", "client_carrier": 1, "server_carrier": 0, "consumer_assurance": "go_relay_shared_consumer", "observer_assurance": "go_relay_shared_observer" }, { "id": "go_v4_websocket_websocket", "client_carrier": 1, "server_carrier": 1, "consumer_assurance": "go_relay_shared_consumer", "observer_assurance": "go_relay_shared_observer" }, { "id": "go_v4_websocket_webtransport", "client_carrier": 1, "server_carrier": 2, "consumer_assurance": "go_relay_shared_consumer", "observer_assurance": "go_relay_shared_observer" }, { "id": "go_v4_webtransport_raw_quic", "client_carrier": 2, "server_carrier": 0, "consumer_assurance": "go_relay_native_consumer", "observer_assurance": "go_relay_native_observer" }, { "id": "go_v4_webtransport_websocket", "client_carrier": 2, "server_carrier": 1, "consumer_assurance": "go_relay_shared_consumer", "observer_assurance": "go_relay_shared_observer" }, { "id": "go_v4_webtransport_webtransport", "client_carrier": 2, "server_carrier": 2, "consumer_assurance": "go_relay_native_consumer", "observer_assurance": "go_relay_native_observer" }] } };
8
- export const transportV4RekeyCreditRegistry = { "status": "reference_arithmetic_only", "source": "3.8", "quantity_max": "18446744073709551615", "intermediate_max": "340282366920938463463374607431768211455", "additional_authorization_tolerance_ms": "0", "service_error": "configuration_capacity", "error_allowance": "ceil(2*eta/(1-rho))+1", "service_rounds": "floor((B*R+B*((1+rho)/(1-rho))*T)/(R-B*e))", "elapsed_bound": { "client_credit": "elapsed_lower_ms", "server_credit": "elapsed_upper_ms" }, "operations": { "service": ["burst_rounds", "refill_period_ms", "request_start_budget_ms", "issued_at_ms", "session_not_after_ms", "rate_numerator", "rate_denominator", "quantization_ms"], "initial_credit": ["burst_rounds", "refill_period_ms"], "client_credit": ["burst_rounds", "refill_period_ms", "base_credit", "delta_ms", "rate_numerator", "rate_denominator", "quantization_ms"], "server_credit": ["burst_rounds", "refill_period_ms", "base_credit", "delta_ms", "rate_numerator", "rate_denominator", "quantization_ms"] }, "credit_ownership": "Initial capacity B*R; ready projections use the unchanged original base and causal ACK anchor. The unique INIT gate deducts R once; ACK retains post_charge unchanged and starts the next idle anchor. Pending round time, peeks, REQUEST, cancellation and waiter changes never refill or reset the base.", "qualification": "Pure arithmetic only; no live owner, authenticated Artifact/TimeProfile, original causal clock anchor/incarnation, INIT ticket/deduction, ACK transition, pending-round exclusion, service/work/crypto/cleanup reservation, timer or provider/production qualification. Default zero additional authorized time tolerance; no implicit skew.", "envelope_fields": { "0": { "name": "burst_rounds", "type": "uint16", "min": 1 }, "1": { "name": "refill_period_ms", "type": "uint32", "min": 1 }, "2": { "name": "request_start_budget_ms", "type": "uint32", "min": 1 } } };
9
- export const transportV4CryptoUsageRegistry = { "status": "design_fixed_limits_reference_charges_only", "source": "3.5.3", "quantity_max": "18446744073709551615", "authentication_block_bytes": 16, "length_blocks": 1, "charge_fields": ["operation", "aad_bytes", "input_bytes"], "operations": ["seal", "open"], "counting": "Seal and open are accounted separately at key, epoch and Session levels; open includes failed attempts. Ciphertext includes the tag; authentication blocks include actual AAD, payload and one length block.", "reservation": "Precharge at the original atomic send ticket or receive crypto-dispatch gate; cancelled or unused precharges never refund cryptographic usage. Memory/work reference exit is separate. Rekey preserves Session totals; a new scope preserves epoch totals. Time is revalidated at actual crypto start.", "qualification": "Fixed operational limits and pure arithmetic only; no independent aggregate cryptographic proof, owner/atomic reservation, soft watermarks, maintenance reserve, actual provider/AEAD invocation, root age enforcement, key cleanup or production qualification", "profiles": { "fs4-kkpsk0-x25519-chachapoly-ed25519-sha256-1": { "key": { "seal_calls": "1048576", "open_attempts": "1048576", "authentication_blocks": "4294967296", "ciphertext_bytes": "68719476736" }, "epoch": { "seal_calls": "2147483648", "open_attempts": "2147483648", "authentication_blocks": "4398046511104", "ciphertext_bytes": "70368744177664" }, "session": { "seal_calls": "68719476736", "open_attempts": "68719476736", "authentication_blocks": "4503599627370496", "ciphertext_bytes": "72057594037927936" }, "root_max_age_ms": "86400000", "max_epochs": "65536", "max_record_key_derivations": "268435456" }, "fs4-kkpsk0-p256-aes256gcm-ed25519-sha256-1": { "key": { "seal_calls": "1048576", "open_attempts": "1048576", "authentication_blocks": "2147483648", "ciphertext_bytes": "68719476736" }, "epoch": { "seal_calls": "1073741824", "open_attempts": "1073741824", "authentication_blocks": "2199023255552", "ciphertext_bytes": "35184372088832" }, "session": { "seal_calls": "34359738368", "open_attempts": "34359738368", "authentication_blocks": "2251799813685248", "ciphertext_bytes": "36028797018963968" }, "root_max_age_ms": "86400000", "max_epochs": "65536", "max_record_key_derivations": "268435456" } } };
10
- export const transportV4CryptoUsageRegistryJSON = "{\"status\":\"design_fixed_limits_reference_charges_only\",\"source\":\"3.5.3\",\"quantity_max\":\"18446744073709551615\",\"authentication_block_bytes\":16,\"length_blocks\":1,\"charge_fields\":[\"operation\",\"aad_bytes\",\"input_bytes\"],\"operations\":[\"seal\",\"open\"],\"counting\":\"Seal and open are accounted separately at key, epoch and Session levels; open includes failed attempts. Ciphertext includes the tag; authentication blocks include actual AAD, payload and one length block.\",\"reservation\":\"Precharge at the original atomic send ticket or receive crypto-dispatch gate; cancelled or unused precharges never refund cryptographic usage. Memory/work reference exit is separate. Rekey preserves Session totals; a new scope preserves epoch totals. Time is revalidated at actual crypto start.\",\"qualification\":\"Fixed operational limits and pure arithmetic only; no independent aggregate cryptographic proof, owner/atomic reservation, soft watermarks, maintenance reserve, actual provider/AEAD invocation, root age enforcement, key cleanup or production qualification\",\"profiles\":{\"fs4-kkpsk0-x25519-chachapoly-ed25519-sha256-1\":{\"key\":{\"seal_calls\":\"1048576\",\"open_attempts\":\"1048576\",\"authentication_blocks\":\"4294967296\",\"ciphertext_bytes\":\"68719476736\"},\"epoch\":{\"seal_calls\":\"2147483648\",\"open_attempts\":\"2147483648\",\"authentication_blocks\":\"4398046511104\",\"ciphertext_bytes\":\"70368744177664\"},\"session\":{\"seal_calls\":\"68719476736\",\"open_attempts\":\"68719476736\",\"authentication_blocks\":\"4503599627370496\",\"ciphertext_bytes\":\"72057594037927936\"},\"root_max_age_ms\":\"86400000\",\"max_epochs\":\"65536\",\"max_record_key_derivations\":\"268435456\"},\"fs4-kkpsk0-p256-aes256gcm-ed25519-sha256-1\":{\"key\":{\"seal_calls\":\"1048576\",\"open_attempts\":\"1048576\",\"authentication_blocks\":\"2147483648\",\"ciphertext_bytes\":\"68719476736\"},\"epoch\":{\"seal_calls\":\"1073741824\",\"open_attempts\":\"1073741824\",\"authentication_blocks\":\"2199023255552\",\"ciphertext_bytes\":\"35184372088832\"},\"session\":{\"seal_calls\":\"34359738368\",\"open_attempts\":\"34359738368\",\"authentication_blocks\":\"2251799813685248\",\"ciphertext_bytes\":\"36028797018963968\"},\"root_max_age_ms\":\"86400000\",\"max_epochs\":\"65536\",\"max_record_key_derivations\":\"268435456\"}}}";
11
- export const transportV4TimeArithmeticRegistry = { "status": "reference_arithmetic_only", "source": "3.3.1", "unit": "integer_milliseconds", "quantity_max": "18446744073709551615", "intermediate_max": "340282366920938463463374607431768211455", "rate": "rho=rate_numerator/rate_denominator; 0<=numerator<denominator", "rounding": "lower_floor_upper_ceiling", "quantization": "abs(observed_delta_ms-ideal_monotonic_delta_ms)<=quantization_ms; applied_before_drift_conversion", "operations": { "elapsed": ["delta_ms", "rate_numerator", "rate_denominator", "quantization_ms"], "network_anchor": ["sample_ms", "source_error_ms", "delta_ms", "rate_numerator", "rate_denominator", "quantization_ms", "max_round_trip_ms", "max_width_ms"], "advance_anchor": ["lower_ms", "upper_ms", "delta_ms", "rate_numerator", "rate_denominator", "quantization_ms", "max_age_ms", "max_width_ms"], "deadline_delta": ["upper_ms", "deadline_ms", "rate_numerator", "rate_denominator", "quantization_ms"], "prove_delta": ["lower_ms", "bound_ms", "rate_numerator", "rate_denominator", "quantization_ms"] }, "qualification": "Exact conservative integer arithmetic only; no clock or source authentication, nonce matching, profile qualification, incarnation continuity, anchor installation, owner/timer state, gate reopening, resource reservations or production SDK/provider qualification" };
12
- export const transportV4ResourceCompositionRegistry = { "status": "reference_owner_union_only", "owner_key_fields": ["resource_profile_revision", "environment_id", "owner_kind", "owner_instance_id", "backing_id", "direction"], "binding_fields": ["backing_lifetime_id", "charge_binding_id"], "control_boundaries": ["sdk_owned", "provider_controlled", "provider_observable", "host_unobservable"], "dimensions": ["bytes", "work", "items"], "quantity_max": "18446744073709551615", "base_components": ["transport_core", "reject_only", "enabled", "actual_shared_refs"], "composition": "owner_union_then_componentwise_max", "transfer": "cross_owner_deduplication_not_implemented" };
13
- export const transportV4ResourceFormulaRegistry = { "status": "partial_known_costs_only", "codec": { "full_body_slots": 2, "buffers_per_slot": 2, "small_body_ceiling_bytes": 131072, "small_slots_max": 4294967295 }, "bitmap": { "roles": 2, "bits_per_scope": 1, "bits_per_byte": 8, "ordinal_source": "stream_state_registry.client_ordinals" }, "application": { "profiles": { "transport": { "rpc_channels": 0, "notify_channels": 0, "management_channels": 0 }, "services": { "rpc_channels": 8, "notify_channels": 2, "management_channels": 0 }, "execution": { "rpc_channels": 8, "notify_channels": 2, "management_channels": 1 } }, "channel_direction_bytes": 16384, "directions": 2, "query_slots": 2, "reply_slot_bytes": 1024, "fragment_associations_per_general": 2, "fragment_association_bytes": 128, "query_reserve_bytes": 524288, "rpc_error_output_bytes_per_channel": 2048 }, "qualification": "Body buffers, permanent bitmap and enumerated application baseline only; no full ready_min, short-work floor, actual object charge, reservation or physical-memory qualification", "max_frame_bytes": 1048576, "common_scope_ordinals": 2097168, "rpc_general_limit": { "name": "rpc_max_general_outstanding", "type": "uint16", "min": 1, "max": 1024, "optional": true } };
14
- export const transportV4CBORRegistryJSON = "{\"encoding\":{\"max_depth\":8,\"max_map_entries\":128,\"ordinary_array_items\":1035,\"max_field_id\":65535,\"name\":\"deterministic-cbor\",\"rfc\":\"8949\",\"map_key\":\"uint16 field_id, ascending numeric order\",\"reject\":[\"duplicate_key\",\"unknown_key\",\"indefinite_length\",\"non_shortest_integer\",\"trailing_bytes\",\"tags\",\"float\"]},\"frame_maps\":{\"ExecutionManagementTarget\":{\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"audience\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"service_namespace\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"caller_subject\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"4\":{\"name\":\"caller_authority\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"request_digest\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"service_contract_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6,7],\"max_encoded_bytes\":1024},\"ExecutionManagementObservation\":{\"fields\":{\"0\":{\"name\":\"found\",\"type\":\"bool\"},\"1\":{\"name\":\"reason\",\"type\":\"uint8\",\"enum\":{\"none\":0,\"cancelled\":1,\"dispatch_unavailable\":2,\"work_outcome_unknown\":3,\"deadline_exceeded\":4,\"not_registered\":5,\"history_unknown\":6}},\"2\":{\"name\":\"state\",\"type\":\"uint8\",\"enum\":{\"accepted\":1,\"executing\":2,\"completed\":3,\"failed\":4,\"unknown\":5},\"optional\":true},\"3\":{\"name\":\"cancel_requested\",\"type\":\"bool\",\"optional\":true},\"4\":{\"name\":\"dispatched\",\"type\":\"bool\",\"optional\":true},\"5\":{\"name\":\"work_active\",\"type\":\"bool\",\"optional\":true},\"6\":{\"name\":\"history_not_before_gc_ms\",\"type\":\"uint64\",\"optional\":true},\"7\":{\"name\":\"result_not_after_ms\",\"type\":\"uint64\",\"optional\":true},\"8\":{\"name\":\"result_available\",\"type\":\"bool\",\"optional\":true},\"9\":{\"name\":\"result_deleted\",\"type\":\"bool\",\"optional\":true},\"10\":{\"name\":\"result_bytes\",\"type\":\"uint32\",\"max\":1048576,\"optional\":true},\"11\":{\"name\":\"application_error_code\",\"type\":\"uint32\",\"optional\":true},\"12\":{\"name\":\"result_digest\",\"type\":\"bytes\",\"length\":32,\"optional\":true}},\"required\":[0,1],\"max_encoded_bytes\":256},\"QueryOperationResponse\":{\"fields\":{\"0\":{\"name\":\"status\",\"type\":\"uint8\",\"enum\":{\"ok\":0,\"unavailable\":1,\"unauthorized\":2,\"operation_conflict\":3,\"unsupported\":4,\"deadline_exceeded\":5,\"result_expired\":6,\"not_found\":7,\"history_unknown\":8}},\"1\":{\"name\":\"observation\",\"type\":\"map\",\"schema_ref\":\"ExecutionManagementObservation\",\"optional\":true}},\"required\":[0],\"max_encoded_bytes\":512},\"RequestCancelResponse\":{\"fields\":{\"0\":{\"name\":\"status\",\"type\":\"uint8\",\"enum\":{\"ok\":0,\"unavailable\":1,\"unauthorized\":2,\"operation_conflict\":3,\"unsupported\":4,\"deadline_exceeded\":5}},\"1\":{\"name\":\"observation\",\"type\":\"map\",\"schema_ref\":\"ExecutionManagementObservation\",\"optional\":true},\"2\":{\"name\":\"cancel_result\",\"type\":\"uint8\",\"enum\":{\"requested\":0,\"terminal\":1,\"not_registered\":2,\"history_unknown\":3},\"optional\":true}},\"required\":[0],\"max_encoded_bytes\":512},\"ConnectionActivationDelegation\":{\"fields\":{\"0\":{\"name\":\"schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"authority_generation\",\"type\":\"uint64\"},\"5\":{\"name\":\"signing_key_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"6\":{\"name\":\"signer_public_key\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"purpose\",\"type\":\"uint8\",\"const\":1},\"8\":{\"name\":\"artifact_issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"9\":{\"name\":\"authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"10\":{\"name\":\"signing_not_before_ms\",\"type\":\"uint64\"},\"11\":{\"name\":\"signing_not_after_ms\",\"type\":\"uint64\"},\"12\":{\"name\":\"first_parent_cohort\",\"type\":\"uint64\"},\"13\":{\"name\":\"last_parent_cohort\",\"type\":\"uint64\"},\"14\":{\"name\":\"max_activation_not_after_ms\",\"type\":\"uint64\"},\"15\":{\"name\":\"max_session_not_after_ms\",\"type\":\"uint64\"},\"16\":{\"name\":\"max_affected_cohorts\",\"type\":\"array\",\"min_items\":2,\"max_items\":2,\"items\":{\"type\":\"uint64\",\"nullable\":true}},\"17\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],\"max_encoded_bytes\":846,\"deferred_constraints\":[\"Registry allocation under 3.9.1/4.1.1/6.2: one immutable connection_activation authorization for one parent issuer and logical SpendLedger authority in the parent namespace/generation. Purpose 1 is connection_activation, not revocation_head. Independent TrustConfig authenticates the whole entry; it has no self-signature or renewal path. signing_key_id fixes original public key, purpose and all bounds; changed authorization requires a new ID. The inclusive parent cohort range and absolute admission/Session bounds intersect the original parent, fixed capacity H_connection and original cohort policy. The signer issuer_key_id is its immutable bytes16 revocation identity, distinct from the allowed parent artifact_issuer_key_id; it is part of the same independently authenticated entry. Its explicit original connection impact is last_parent_cohort and certificate impact is null. Complete independent trust, parent authority continuity, all original permission history, revocation and durable retirement remain external gates.\"]},\"ResumeProgress\":{\"fields\":{\"0\":{\"name\":\"confirmed_checkpoint\",\"type\":\"map\",\"schema_ref\":\"ResumeCheckpoint\"},\"1\":{\"name\":\"new_generation\",\"type\":\"uint64\"}},\"required\":[0,1],\"max_encoded_bytes\":4244},\"ResumeCheckpoint\":{\"fields\":{\"0\":{\"name\":\"format\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"position\",\"type\":\"bytes\",\"max_bytes\":4096}},\"required\":[0,1],\"max_encoded_bytes\":4232},\"ResumeTokenClaims\":{\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"caller_identity\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"audience\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"service_namespace\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"4\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"request_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"checkpoint\",\"type\":\"map\",\"schema_ref\":\"ResumeCheckpoint\"},\"7\":{\"name\":\"generation\",\"type\":\"uint64\"},\"8\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"9\":{\"name\":\"expires_at_ms\",\"type\":\"uint64\"},\"10\":{\"name\":\"nonce\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6,7,8,9,10],\"max_encoded_bytes\":4893,\"deferred_constraints\":[\"Caller identity is the stable authenticated application execution principal, not a Session or certificate identifier. Independent application recovery keys, current caller/tenant/audience/service authorization, trusted time, policy TTL/count/store quotas and original operation history are separate gates. Field IDs and finite byte limits are registry allocations under 3.7.3/6.2.\"]},\"ResumeSignedToken\":{\"fields\":{\"0\":{\"name\":\"claims\",\"type\":\"map\",\"schema_ref\":\"ResumeTokenClaims\"},\"1\":{\"name\":\"key_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2],\"max_encoded_bytes\":4980,\"signature_field\":2},\"ResumeMACToken\":{\"fields\":{\"0\":{\"name\":\"claims\",\"type\":\"map\",\"schema_ref\":\"ResumeTokenClaims\"},\"1\":{\"name\":\"key_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"mac\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2],\"max_encoded_bytes\":4948,\"mac_field\":2},\"ResumeRequest\":{\"fields\":{\"0\":{\"name\":\"original_operation_id\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"original_request_digest\",\"type\":\"bytes\",\"length\":32},\"2\":{\"name\":\"protection\",\"type\":\"uint8\",\"enum\":{\"ed25519\":0,\"hmac_sha256\":1}},\"3\":{\"name\":\"token\",\"type\":\"context_variant\",\"context\":\"resume_protection\",\"cases\":{\"ed25519\":{\"type\":\"bytes\",\"max_bytes\":4980,\"encoded_schema_ref\":\"ResumeSignedToken\"},\"hmac_sha256\":{\"type\":\"bytes\",\"max_bytes\":4948,\"encoded_schema_ref\":\"ResumeMACToken\"}}},\"4\":{\"name\":\"generation\",\"type\":\"uint64\"},\"5\":{\"name\":\"expected_checkpoint\",\"type\":\"map\",\"schema_ref\":\"ResumeCheckpoint\"},\"6\":{\"name\":\"transport_context_digest\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"}},\"required\":[0,1,2,3,4,5,6,7],\"max_encoded_bytes\":9345,\"context_fields\":{\"resume_protection\":\"protection\"},\"deferred_constraints\":[\"The SDK captures the exact new ready Session transport context, accepted application Stream and local incarnation before preparing/saving. Original operation/digest, checkpoint and generation must match the protected token. Only an authenticated application transaction can consume the token, advance generation and bind the target. No new L0 frame or Session-secret recovery.\"]},\"ResumeResult\":{\"fields\":{\"0\":{\"name\":\"status\",\"type\":\"uint8\",\"enum\":{\"accepted\":0,\"rejected\":1,\"unknown\":2}},\"1\":{\"name\":\"progress\",\"type\":\"map\",\"schema_ref\":\"ResumeProgress\",\"optional\":true}},\"required\":[0],\"max_encoded_bytes\":4248,\"deferred_constraints\":[\"Accepted requires confirmed progress. Rejected/unknown may report already confirmed application progress or omit it; no transport ACK inference. Current authorization, original response ownership, result limits and transaction evidence remain external.\"]},\"ApplicationSDKError\":{\"fields\":{\"0\":{\"name\":\"code\",\"type\":\"uint16\",\"min\":1,\"enum_ref\":\"application_sdk_error_codes\"}},\"required\":[0],\"max_encoded_bytes\":256,\"deferred_constraints\":[\"These codes describe ordinary RPC message stopping and bounded service refusals/errors; service errors require the original complete-input gate. Original channel/direction/reply serial and response-owner gates remain required. request_message_aborted confirms only incomplete input for this serial, without validating its declared execution digest or asserting global nonexecution. response_output_stopped ends output only. No raw cause, execution assertion, retry or dispatch authority is carried.\"]},\"CohortPolicySegment\":{\"fields\":{\"0\":{\"name\":\"first_cohort\",\"type\":\"uint64\"},\"1\":{\"name\":\"last_cohort\",\"type\":\"uint64\"},\"2\":{\"name\":\"certificate_impact_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"3\":{\"name\":\"connection_impact_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true}},\"required\":[0,1],\"max_encoded_bytes\":41,\"deferred_constraints\":[\"Immutable original segment; absent class is not governed. Capacity, checked grid/deadline arithmetic, per-class disjointness, authenticated credential selection and retirement require complete State context.\"]},\"RevocationState\":{\"fields\":{\"0\":{\"name\":\"schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"authority_generation\",\"type\":\"uint64\"},\"5\":{\"name\":\"credential_revocation_floors\",\"type\":\"array<uint64>\",\"min_items\":2,\"max_items\":2},\"6\":{\"name\":\"publication_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"7\":{\"name\":\"publication_policy_revision\",\"type\":\"uint64\"},\"8\":{\"name\":\"revoked_issuers\",\"type\":\"array\",\"min_items\":0,\"max_items_ref\":\"max_revoked_issuers\",\"items\":{\"type\":\"map\",\"schema_ref\":\"RevokedIssuerEntry\"}},\"9\":{\"name\":\"revoked_certificates\",\"type\":\"array\",\"min_items\":0,\"max_items_ref\":\"max_revoked_certificates\",\"items\":{\"type\":\"map\",\"schema_ref\":\"RevokedCertificateEntry\"}},\"10\":{\"name\":\"revoked_leases\",\"type\":\"array\",\"min_items\":0,\"max_items_ref\":\"max_revoked_leases\",\"items\":{\"type\":\"map\",\"schema_ref\":\"RevokedLeaseEntry\"}},\"11\":{\"name\":\"cohort_policy_segments\",\"type\":\"array\",\"min_items\":0,\"max_items_ref\":\"max_cohort_policy_segments\",\"items\":{\"type\":\"map\",\"schema_ref\":\"CohortPolicySegment\"}}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11],\"max_encoded_bytes_ref\":\"max_state_encoded_bytes\",\"deferred_constraints\":[\"Complete original canonical bytes; Head authenticates the entire State digest. Per-class segment validation and exact Head/capacity bindings are contextual. Independently authenticated complete history, fixed trust/publication mappings, continuity, safe GC and physical subscription reservations remain mandatory.\"]},\"RevokedIssuerEntry\":{\"fields\":{\"0\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"authorizations\",\"type\":\"array\",\"min_items\":1,\"max_items_ref\":\"max_revoked_issuer_authorizations\",\"items\":{\"type\":\"map\",\"schema_ref\":\"IssuerAuthorizationImpact\"}}},\"required\":[0,1],\"max_encoded_bytes_ref\":\"max_state_encoded_bytes\",\"deferred_constraints\":[\"All original issuer/delegation authorization evidence for this revoked key, sorted by unique authorization_digest. Bounds derive only from independently authenticated NamespaceCapacity; completeness, original purpose and issuer/namespace/generation attribution require independent authenticated history. This entry does not authenticate membership, permit trust retirement or install GC authority.\"]},\"RevokedCertificateEntry\":{\"fields\":{\"0\":{\"name\":\"certificate_digest\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"cohort\",\"type\":\"uint64\"},\"2\":{\"name\":\"expires_at_ms\",\"type\":\"uint64\"}},\"required\":[0,1,2],\"max_encoded_bytes\":56,\"deferred_constraints\":[\"Complete original certificate digest/cohort/expiry evidence only. Namespace/generation, authenticated State membership, original certificate identity and safe retirement remain external.\"]},\"RevokedLeaseEntry\":{\"fields\":{\"0\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"lease_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"3\":{\"name\":\"cohort\",\"type\":\"uint64\"},\"4\":{\"name\":\"latest_impact_not_after_ms\",\"type\":\"uint64\"}},\"required\":[0,1,2,3,4],\"max_encoded_bytes\":92,\"deferred_constraints\":[\"Original parent Artifact evidence only. The containing authenticated State supplies namespace/generation. Full Session/activation/grant impact, permanent frontier installation, once retention and real reference exit remain external.\"]},\"IssuerAuthorizationImpact\":{\"fields\":{\"0\":{\"name\":\"authorization_digest\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"max_affected_cohorts\",\"type\":\"array\",\"min_items\":2,\"max_items\":2,\"items\":{\"type\":\"uint64\",\"nullable\":true}},\"2\":{\"name\":\"signing_not_before_ms\",\"type\":\"uint64\"},\"3\":{\"name\":\"signing_not_after_ms\",\"type\":\"uint64\"}},\"required\":[0,1,2,3],\"max_encoded_bytes\":76,\"deferred_constraints\":[\"One immutable original credential issuance authorization. Positions are certificate then connection; null is valid only when independently authenticated purposes grant no authority for that class. Complete original permission history, same issuer/namespace attribution and permanent trust retirement are not established by this map.\"]},\"PublicationPolicy\":{\"fields\":{\"0\":{\"name\":\"publication_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"publication_policy_revision\",\"type\":\"uint64\"},\"2\":{\"name\":\"max_head_validity_ms\",\"type\":\"uint64\",\"min\":1},\"3\":{\"name\":\"max_signer_lifetime_ms\",\"type\":\"uint64\",\"min\":1}},\"required\":[0,1,2,3],\"max_encoded_bytes\":162,\"deferred_constraints\":[\"Independent TrustConfig must authenticate the exact immutable namespace mapping. Structural validation and numeric compatibility do not prove publication provenance, real service capacity or original authorization.\"]},\"CredentialRevocationPolicy\":{\"fields\":{\"0\":{\"name\":\"revocation_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"revocation_policy_revision\",\"type\":\"uint64\"},\"2\":{\"name\":\"max_staleness_ms\",\"type\":\"uint64\",\"min\":1},\"3\":{\"name\":\"max_head_signer_lifetime_ms\",\"type\":\"uint64\",\"min\":1}},\"required\":[0,1,2,3],\"max_encoded_bytes\":162,\"deferred_constraints\":[\"Independent TrustConfig must authenticate this exact immutable reference. Its requirements apply through the complete original role-specific credential closure; policy names and revisions do not order security strength.\"]},\"NamespaceCapacity\":{\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"capacity_schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"max_state_encoded_bytes\",\"type\":\"uint64\",\"min\":1},\"4\":{\"name\":\"max_revoked_issuers\",\"type\":\"uint64\",\"min\":1},\"5\":{\"name\":\"max_revoked_certificates\",\"type\":\"uint64\",\"min\":1},\"6\":{\"name\":\"max_revoked_leases\",\"type\":\"uint64\",\"min\":1},\"7\":{\"name\":\"max_cohort_policy_segments\",\"type\":\"uint64\",\"min\":1},\"8\":{\"name\":\"max_head_encoded_bytes\",\"type\":\"uint64\",\"min\":1},\"9\":{\"name\":\"max_trust_proof_bytes\",\"type\":\"uint64\",\"min\":1},\"10\":{\"name\":\"max_trust_proof_entries\",\"type\":\"uint64\",\"min\":1},\"11\":{\"name\":\"cohort_time_origin_ms\",\"type\":\"uint64\"},\"12\":{\"name\":\"cohort_duration_ms\",\"type\":\"uint64\",\"min\":1},\"13\":{\"name\":\"max_certificate_impact_ms\",\"type\":\"uint64\",\"min\":1},\"14\":{\"name\":\"max_connection_impact_ms\",\"type\":\"uint64\",\"min\":1}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"max_encoded_bytes\":514,\"deferred_constraints\":[\"Independent TrustConfig must authenticate this immutable namespace mapping. Structural validation neither authorizes subscription nor proves full State/index/workspace/cleanup capacity or deployment workload qualification.\"]},\"HeadSignerDelegation\":{\"fields\":{\"0\":{\"name\":\"schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"authority_generation\",\"type\":\"uint64\"},\"5\":{\"name\":\"delegation_id\",\"type\":\"bytes\",\"length\":16},\"6\":{\"name\":\"signer_key_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"signer_public_key\",\"type\":\"bytes\",\"length\":32},\"8\":{\"name\":\"purpose\",\"type\":\"uint8\",\"const\":0},\"9\":{\"name\":\"publication_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"10\":{\"name\":\"publication_policy_revision\",\"type\":\"uint64\"},\"11\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"12\":{\"name\":\"not_before_ms\",\"type\":\"uint64\"},\"13\":{\"name\":\"not_after_ms\",\"type\":\"uint64\"}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13],\"deferred_constraints\":[\"This entry is authenticated by the independent TrustConfig; it is not self-signed. Registry purpose 0 means revocation_head. Original independent authorization, fixed publication policy, capacity and trusted time remain mandatory.\"],\"max_encoded_bytes\":683},\"FreshnessHead\":{\"fields\":{\"0\":{\"name\":\"schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"authority_generation\",\"type\":\"uint64\"},\"5\":{\"name\":\"credential_revocation_floors\",\"type\":\"array<uint64>\",\"min_items\":2,\"max_items\":2},\"6\":{\"name\":\"publication_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"7\":{\"name\":\"publication_policy_revision\",\"type\":\"uint64\"},\"8\":{\"name\":\"head_sequence\",\"type\":\"uint64\",\"min\":1},\"9\":{\"name\":\"this_update_ms\",\"type\":\"uint64\"},\"10\":{\"name\":\"next_update_ms\",\"type\":\"uint64\"},\"11\":{\"name\":\"state_digest\",\"type\":\"bytes\",\"length\":32},\"12\":{\"name\":\"state_encoded_bytes\",\"type\":\"uint64\",\"min\":1},\"13\":{\"name\":\"signing_key_id\",\"type\":\"bytes\",\"length\":16},\"14\":{\"name\":\"signer_delegation_digest\",\"type\":\"bytes\",\"length\":32},\"15\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],\"signature_field\":15,\"max_encoded_bytes\":795,\"deferred_constraints\":[\"Verify independent root/delegation/signature, exact immutable capacity/publication/generation binding and trusted interval before accepting Head facts. Complete State matching, publication snapshot/time provenance and atomic observed/pinned/active continuity remain separate gates.\"]},\"ApplicationHeader\":{\"fields\":{\"0\":{\"name\":\"message_kind\",\"type\":\"uint8\",\"enum_ref\":\"application_message_kinds\"},\"1\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"length\":32,\"optional\":true},\"2\":{\"name\":\"type_id\",\"type\":\"uint32\",\"min\":1},\"3\":{\"name\":\"payload_length\",\"type\":\"uint32\",\"max\":1048576},\"4\":{\"name\":\"request_digest\",\"type\":\"bytes\",\"length\":32,\"optional\":true},\"5\":{\"name\":\"deadline_at_ms\",\"type\":\"uint64\",\"optional\":true},\"6\":{\"name\":\"service_contract_digest\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"admission_mode\",\"type\":\"uint8\",\"enum\":{\"queued\":0,\"try_now\":1},\"optional\":true},\"8\":{\"name\":\"response_limit_bytes\",\"type\":\"uint32\",\"max\":1048576,\"optional\":true},\"9\":{\"name\":\"control_serial\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"10\":{\"name\":\"application_error_code\",\"type\":\"uint32\",\"min\":1,\"optional\":true}},\"required\":[0,2,3,6],\"max_encoded_bytes\":512,\"deferred_constraints\":[\"This shared grammar requires exact application-header variant presence and constants. Business and SDK errors bind the original request. Dedicated stream errors terminate output; Resume has exact request/response variants. No current contract, authentication, ownership or dispatch authority is established.\"]},\"ContractTarget\":{\"fields\":{\"0\":{\"name\":\"service_namespace\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"method_type_id\",\"type\":\"uint32\",\"min\":1},\"2\":{\"name\":\"wanted_contract_digest\",\"type\":\"bytes\",\"length\":32,\"optional\":true},\"3\":{\"name\":\"known_contract_digest\",\"type\":\"bytes\",\"length\":32,\"optional\":true}},\"required\":[0,1],\"max_encoded_bytes\":208,\"deferred_constraints\":[\"Known digest requires the original complete immutable verified contract body held throughout the query. These field IDs are registry allocations under design 3.7.3.\"]},\"ContractTargets\":{\"fields\":{\"0\":{\"name\":\"targets\",\"type\":\"array\",\"min_items\":1,\"max_items\":8,\"items\":{\"type\":\"map\",\"schema_ref\":\"ContractTarget\"}}},\"required\":[0],\"max_encoded_bytes\":2048,\"deferred_constraints\":[\"Current caller authorization, exact trusted source and the fixed query owner/resource vector remain runtime requirements.\"]},\"ContractSnapshot\":{\"fields\":{\"0\":{\"name\":\"target_index\",\"type\":\"uint8\",\"max\":7},\"1\":{\"name\":\"status\",\"type\":\"uint8\",\"enum\":{\"available_full\":0,\"available_unchanged\":1,\"denied\":2,\"unavailable\":3}},\"2\":{\"name\":\"contract\",\"type\":\"bytes\",\"max_bytes\":8192,\"encoded_schema_ref\":\"ServiceContract\",\"optional\":true},\"3\":{\"name\":\"contract_digest\",\"type\":\"bytes\",\"length\":32,\"optional\":true},\"4\":{\"name\":\"offer\",\"type\":\"bytes\",\"max_bytes\":256,\"encoded_schema_ref\":\"AdmissionOffer\",\"optional\":true}},\"required\":[0,1],\"max_encoded_bytes\":8260,\"deferred_constraints\":[\"Registry allocation: full carries only the complete canonical contract body, unchanged carries only its digest; denied/unavailable carry neither contract nor Offer. Applicable Offer presence and all membership checks require the original target and complete exact contract. Status bytes are not evidence of current permission or registration.\"]},\"ContractSnapshots\":{\"fields\":{\"0\":{\"name\":\"items\",\"type\":\"array\",\"min_items\":1,\"max_items\":8,\"items\":{\"type\":\"map\",\"schema_ref\":\"ContractSnapshot\"}}},\"required\":[0],\"max_encoded_bytes\":73728,\"deferred_constraints\":[\"The exact original request fixes count, namespace/type, wanted/known digests, known complete body and 9 KiB per target response responsibility. Full/unchanged responses both retain that responsibility. Bootstrap reuses this codec without sharing RPC trust or authorization.\"]},\"ErrorDefinition\":{\"fields\":{\"0\":{\"name\":\"code\",\"type\":\"uint32\",\"min\":1},\"1\":{\"name\":\"schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"max_payload_bytes\",\"type\":\"uint32\",\"max\":1048576},\"3\":{\"name\":\"schema_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3],\"max_encoded_bytes\":179,\"deferred_constraints\":[\"The bytes32 digest must match the trusted immutable application error schema. The remote catalog cannot install a codec or change error routing; business codes are separate from the L0 error registry.\"]},\"StreamContentPolicy\":{\"fields\":{\"0\":{\"name\":\"mode\",\"type\":\"uint8\",\"enum\":{\"none\":0,\"retained\":1}},\"1\":{\"name\":\"retention_origin\",\"type\":\"uint8\",\"enum\":{\"operation_admission\":0,\"content_commit\":1},\"optional\":true},\"2\":{\"name\":\"retention_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"3\":{\"name\":\"max_retained_items\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"4\":{\"name\":\"max_retained_bytes\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"5\":{\"name\":\"definition_schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\",\"optional\":true},\"6\":{\"name\":\"definition_bytes\",\"type\":\"bytes\",\"min_bytes\":1,\"max_bytes\":2048,\"optional\":true}},\"required\":[0],\"deferred_constraints\":[\"The opaque application definition must match its exact trusted local schema/codec and real content selection/read/retention contract before registration or Bind. Structural bytes do not install code or attest storage.\"],\"max_encoded_bytes\":2218},\"ServiceContract\":{\"fields\":{\"0\":{\"name\":\"service_namespace\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"type_id\",\"type\":\"uint32\",\"min\":1},\"2\":{\"name\":\"call_shape\",\"type\":\"uint8\",\"enum\":{\"unary\":0,\"server_streaming\":1,\"notify\":2}},\"3\":{\"name\":\"unary_semantics\",\"type\":\"uint8\",\"enum\":{\"transient\":0,\"execution\":1},\"optional\":true},\"4\":{\"name\":\"server_streaming_semantics\",\"type\":\"uint8\",\"enum\":{\"transient\":0,\"execution\":1},\"optional\":true},\"5\":{\"name\":\"notify_semantics\",\"type\":\"uint8\",\"enum\":{\"observation\":0,\"execution\":1},\"optional\":true},\"6\":{\"name\":\"request_schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"7\":{\"name\":\"response_schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"8\":{\"name\":\"response_limit_mode\",\"type\":\"uint8\",\"enum\":{\"fixed\":0,\"bounded\":1}},\"9\":{\"name\":\"min_response_limit_bytes\",\"type\":\"uint32\",\"max\":1048576},\"10\":{\"name\":\"max_response_bytes\",\"type\":\"uint32\",\"max\":1048576},\"11\":{\"name\":\"max_message_lifetime_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"12\":{\"name\":\"max_transient_run_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"13\":{\"name\":\"execution_mode\",\"type\":\"uint8\",\"enum\":{\"volatile\":0,\"durable\":1},\"optional\":true},\"14\":{\"name\":\"history_retention_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"15\":{\"name\":\"result_retention_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"16\":{\"name\":\"max_operation_admission_window_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"17\":{\"name\":\"max_execution_horizon_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"18\":{\"name\":\"max_execution_run_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"19\":{\"name\":\"cancel_mode\",\"type\":\"uint8\",\"enum\":{\"none\":0,\"request\":1},\"optional\":true},\"20\":{\"name\":\"checkpoint_format\",\"type\":\"text\",\"pattern_ref\":\"security_id\",\"optional\":true},\"21\":{\"name\":\"restart_flush\",\"type\":\"bool\"},\"22\":{\"name\":\"restart_flush_deadline_ms\",\"type\":\"uint64\",\"min\":1,\"max\":120000,\"optional\":true},\"23\":{\"name\":\"request_max_bytes\",\"type\":\"uint32\",\"max\":1048576},\"24\":{\"name\":\"max_item_count\",\"type\":\"uint32\",\"min\":1,\"optional\":true},\"25\":{\"name\":\"max_stream_payload_bytes\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"26\":{\"name\":\"max_stream_duration_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"27\":{\"name\":\"application_error_catalog\",\"type\":\"array\",\"min_items\":0,\"max_items\":64,\"items\":{\"type\":\"map\",\"schema_ref\":\"ErrorDefinition\"}},\"28\":{\"name\":\"stream_content_policy\",\"type\":\"map\",\"schema_ref\":\"StreamContentPolicy\",\"optional\":true}},\"required\":[0,1,2,6,7,8,9,10,21,23,27],\"max_encoded_bytes\":8192,\"deferred_constraints\":[\"Exact trusted MethodDefinition identity, caller authorization and real registered semantics must match before installation or execution. Byte validation grants no authority, capacity, deduplication, durable retention, checkpoint support or publication qualification.\",\"Applicable full uint64 horizons and original retention anchors require real time, store, resource and cleanup qualifications.\"]},\"AdmissionOffer\":{\"fields\":{\"0\":{\"name\":\"service_contract_digest\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"not_before_ms\",\"type\":\"uint64\"},\"2\":{\"name\":\"not_after_ms\",\"type\":\"uint64\"}},\"required\":[0,1,2],\"max_encoded_bytes\":256,\"deferred_constraints\":[\"Offer membership applies only to an exact execution contract from the trusted service registration. Original positive policy window, current authority and actual admission are contextual requirements, not facts from these bytes.\"]},\"MessageStreamDirection\":{\"fields\":{\"0\":{\"name\":\"codec_schema_digest\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"codec_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"max_message_bytes\",\"type\":\"uint32\",\"min\":1,\"max\":1048576}},\"required\":[0,1,2],\"max_encoded_bytes\":173},\"MessageStreamDefinition\":{\"fields\":{\"0\":{\"name\":\"kind\",\"type\":\"text\",\"min_bytes\":1,\"max_bytes\":128},\"1\":{\"name\":\"revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"opener_to_acceptor\",\"type\":\"map\",\"schema_ref\":\"MessageStreamDirection\"},\"3\":{\"name\":\"acceptor_to_opener\",\"type\":\"map\",\"schema_ref\":\"MessageStreamDirection\"}},\"required\":[0,1,2,3],\"max_encoded_bytes\":8192,\"deferred_constraints\":[\"Trusted immutable local definition/registration, both opener-relative codec directions, actual codec behavior, references and work resources remain runtime qualifications. The draft registry allocates revision identifiers as canonical security_id text and positive uint32 message caps; this does not constrain raw Stream payloads.\"]},\"StreamMetadata\":{\"fields\":{\"0\":{\"name\":\"namespace\",\"type\":\"text\",\"pattern_ref\":\"metadata_namespace\",\"max_bytes\":64,\"forbidden_prefix\":\"flowersec/\"},\"1\":{\"name\":\"version\",\"type\":\"uint16\"},\"2\":{\"name\":\"values\",\"type\":\"text_map\",\"min_items\":0,\"max_items\":64,\"keys\":{\"type\":\"text\",\"min_bytes\":1,\"max_bytes\":64},\"values\":{\"type\":\"bytes\",\"max_bytes\":1024}}},\"required\":[0,1,2],\"max_encoded_bytes\":4096,\"deferred_constraints\":[\"Nonempty ordinary metadata only; zero bytes is the sole empty sentinel at the containing bytes API. Namespace/version registration, immutable projections, authentication and pending-to-rejected ownership remain runtime qualifications.\"]},\"TypedMessageMetadata\":{\"fields\":{\"0\":{\"name\":\"namespace\",\"type\":\"text\",\"const\":\"flowersec/typed-message\"},\"1\":{\"name\":\"version\",\"type\":\"uint16\",\"const\":1},\"2\":{\"name\":\"values\",\"type\":\"text_map\",\"min_items\":2,\"max_items\":2,\"keys\":{\"type\":\"text\",\"min_bytes\":1,\"max_bytes\":64},\"entries\":{\"definition\":{\"type\":\"bytes\",\"length\":32},\"application\":{\"type\":\"bytes\",\"max_bytes\":4006,\"encoded_schema_ref\":\"StreamMetadata\",\"allow_empty\":true}}}},\"required\":[0,1,2],\"max_encoded_bytes\":4096,\"deferred_constraints\":[\"The definition digest must match the captured trusted registration and both codec directions before acceptance. Application namespace/version permission is not granted by structural validation. Full original OPEN bytes bind each application value. No live admission, I/O ownership, callback, allocator or cleanup qualification is claimed.\"]},\"TopUpRequest\":{\"max_encoded_bytes\":524288,\"fields\":{\"0\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"source_incarnation\",\"type\":\"bytes\",\"length\":16},\"3\":{\"name\":\"desired_count\",\"type\":\"uint16\",\"min\":1,\"max\":4},\"4\":{\"name\":\"max_item_bytes\",\"type\":\"uint32\",\"min\":1,\"max\":65536},\"5\":{\"name\":\"pool_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"binding_generation\",\"type\":\"uint64\"},\"7\":{\"name\":\"owner_fence_proof\",\"type\":\"bytes\",\"max_bytes\":512,\"encoded_schema_ref\":\"OwnerFenceProof\"},\"8\":{\"name\":\"request_deadline_ms\",\"type\":\"uint64\"},\"9\":{\"name\":\"client_identity_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6,7,8,9]},\"OwnerFenceProof\":{\"max_encoded_bytes\":512,\"signature_field\":8,\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"source_incarnation\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"length\":16},\"3\":{\"name\":\"request_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"current_generation\",\"type\":\"uint64\"},\"5\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"6\":{\"name\":\"expires_at_ms\",\"type\":\"uint64\"},\"7\":{\"name\":\"authority_key_id\",\"type\":\"bytes\",\"length\":16},\"8\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8]},\"TopUpEntry\":{\"fields\":{\"0\":{\"name\":\"artifact_sequence\",\"type\":\"uint64\"},\"1\":{\"name\":\"binding_generation\",\"type\":\"uint64\"},\"2\":{\"name\":\"expiry_ms\",\"type\":\"uint64\"},\"3\":{\"name\":\"material\",\"type\":\"bytes\",\"max_bytes\":65536},\"4\":{\"name\":\"material_digest\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"client_identity_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5]},\"TopUpResponse\":{\"max_encoded_bytes\":524288,\"fields\":{\"0\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"source_incarnation\",\"type\":\"bytes\",\"length\":16},\"3\":{\"name\":\"binding_generation\",\"type\":\"uint64\"},\"4\":{\"name\":\"entries\",\"type\":\"array\",\"min_items\":1,\"max_items\":4,\"items\":{\"type\":\"map\",\"schema_ref\":\"TopUpEntry\"}},\"5\":{\"name\":\"server_highest_artifact_sequence\",\"type\":\"uint64\"},\"6\":{\"name\":\"gap_authorized\",\"type\":\"bool\"},\"7\":{\"name\":\"retired_artifact_through\",\"type\":\"uint64\",\"optional\":true},\"8\":{\"name\":\"server_committed\",\"type\":\"bool\",\"const\":true},\"9\":{\"name\":\"response_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6,8,9]},\"TopUpAck\":{\"max_encoded_bytes\":524288,\"fields\":{\"0\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"pool_digest\",\"type\":\"bytes\",\"length\":32},\"2\":{\"name\":\"response_digest\",\"type\":\"bytes\",\"length\":32},\"3\":{\"name\":\"server_highest_artifact_sequence\",\"type\":\"uint64\"},\"4\":{\"name\":\"gap_authorized\",\"type\":\"bool\"},\"5\":{\"name\":\"retired_artifact_through\",\"type\":\"uint64\",\"optional\":true},\"6\":{\"name\":\"applied\",\"type\":\"bool\",\"const\":true},\"7\":{\"name\":\"request_digest\",\"type\":\"bytes\",\"length\":32},\"8\":{\"name\":\"binding_generation\",\"type\":\"uint64\"},\"9\":{\"name\":\"owner_fence_proof\",\"type\":\"bytes\",\"max_bytes\":512,\"encoded_schema_ref\":\"OwnerFenceProof\"}},\"required\":[0,1,2,3,4,6,7,8,9]},\"PoolRouteRef\":{\"fields\":{\"0\":{\"name\":\"candidate_index\",\"type\":\"uint8\",\"max\":15},\"1\":{\"name\":\"candidate_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"route_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2]},\"PoolSelectionSet\":{\"fields\":{\"0\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"entries\",\"type\":\"array\",\"min_items\":1,\"max_items\":16,\"items\":{\"type\":\"map\",\"schema_ref\":\"PoolRouteRef\"}}},\"required\":[0,1],\"deferred_constraints\":[\"Full Artifact and original PoolSelectionRef must produce the same exact members, index order and both distinct domain digests. Standalone shape validation grants no trust, activation or ParentWinner authority.\"]},\"SessionContract\":{\"fields\":{\"0\":{\"name\":\"max_frame\",\"type\":\"uint32\",\"max\":1048576},\"1\":{\"name\":\"max_streams\",\"type\":\"uint32\",\"max\":2097152},\"2\":{\"name\":\"max_credit\",\"type\":\"uint64\",\"max\":\"9223372036854775807\"},\"3\":{\"name\":\"idle_duration_ms\",\"type\":\"uint64\"},\"4\":{\"name\":\"rekey_envelope\",\"type\":\"map\",\"schema_ref\":\"RekeyEnvelope\"},\"5\":{\"name\":\"application_profile\",\"type\":\"uint8\",\"enum\":{\"transport\":0,\"services\":1,\"execution\":2}},\"6\":{\"name\":\"rpc_max_general_outstanding\",\"type\":\"uint16\",\"min\":1,\"max\":1024,\"optional\":true}},\"required\":[0,1,2,3,4,5],\"max_encoded_bytes\":57,\"deferred_constraints\":[\"Actual full-frame, bootstrap, response/rekey, time and feature-combination capacity before consumption/admission; local scheduling cannot shrink signed acceptance or promised service\",\"Signed idle zero/positive policy, original dual-READY start and authenticated activity anchors; full uint64 time continuity, independent deadlines and real cleanup\"]},\"SpendPolicy\":{\"fields\":{\"0\":{\"name\":\"mode\",\"type\":\"uint8\",\"enum\":{\"mandatory_once\":0}}},\"required\":[0],\"max_encoded_bytes\":3,\"deferred_constraints\":[\"Verified Artifact tenant/issuer/lease once scope, original immutable source/role/transaction ownership, seven-day minimum and full impact/reference retention with independent store quotas\"]},\"ResumePolicy\":{\"fields\":{\"0\":{\"name\":\"enabled\",\"type\":\"bool\"},\"1\":{\"name\":\"purpose\",\"type\":\"uint8\",\"enum\":{\"application_progress\":0},\"optional\":true},\"2\":{\"name\":\"scope\",\"type\":\"uint8\",\"enum\":{\"operation\":0},\"optional\":true},\"3\":{\"name\":\"max_issued_token_duration_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"4\":{\"name\":\"max_token_bytes\",\"type\":\"uint32\",\"min\":1,\"optional\":true}},\"required\":[0],\"max_encoded_bytes\":23,\"deferred_constraints\":[\"Actual selected feature and current service/business permission at original Prepare/issuance/admission/Start gates; complete protected token and whole method message budgets\",\"Issuance-only duration with checked trusted lower-bound expiry and actual history reservation; original token validation/expiry/generation and new recovery operation remain independent of old Session expiry\",\"Usable-token counts and store/rate/work quotas across all Sessions/instances/issuance entries remain owned by the original application recovery service\"]},\"Artifact\":{\"fields\":{\"0\":{\"name\":\"artifact_version\",\"type\":\"text\",\"const_ref\":\"artifact_version\"},\"1\":{\"name\":\"profile\",\"type\":\"text\",\"const_ref\":\"wire_profile\"},\"2\":{\"name\":\"contract_revision\",\"type\":\"text\",\"const_ref\":\"profile_revision\"},\"3\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"text_enum_ref\":\"crypto_profiles\"},\"4\":{\"name\":\"tenant_id\",\"type\":\"text\",\"max_bytes\":128,\"pattern_ref\":\"security_id\"},\"5\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"6\":{\"name\":\"lease_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"session_nonce\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true},\"8\":{\"name\":\"e2ee_psk\",\"type\":\"bytes\",\"length\":32},\"9\":{\"name\":\"client_identity_digest\",\"type\":\"bytes\",\"length\":32},\"10\":{\"name\":\"server_identity_digest\",\"type\":\"bytes\",\"length\":32},\"11\":{\"name\":\"audience\",\"type\":\"text\",\"max_bytes\":128,\"pattern_ref\":\"security_id\"},\"12\":{\"name\":\"candidates\",\"type\":\"array\",\"min_items\":1,\"max_items\":16,\"items\":{\"type\":\"map\",\"schema_ref\":\"Candidate\"}},\"13\":{\"name\":\"session_contract\",\"type\":\"map\",\"schema_ref\":\"SessionContract\"},\"14\":{\"name\":\"allowed_features\",\"type\":\"uint64\"},\"15\":{\"name\":\"required_features\",\"type\":\"uint64\"},\"16\":{\"name\":\"resume_policy\",\"type\":\"map\",\"schema_ref\":\"ResumePolicy\"},\"17\":{\"name\":\"spend_policy\",\"type\":\"map\",\"schema_ref\":\"SpendPolicy\"},\"18\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"19\":{\"name\":\"initiation_not_after_ms\",\"type\":\"uint64\"},\"20\":{\"name\":\"session_not_after_ms\",\"type\":\"uint64\"},\"21\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"max_bytes\":128,\"pattern_ref\":\"security_id\"},\"22\":{\"name\":\"revocation_authority_generation\",\"type\":\"uint64\"},\"23\":{\"name\":\"revocation_epoch\",\"type\":\"uint64\"},\"24\":{\"name\":\"revocation_policy_id\",\"type\":\"text\",\"max_bytes\":128,\"pattern_ref\":\"security_id\"},\"25\":{\"name\":\"revocation_policy_revision\",\"type\":\"uint64\"},\"26\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"27\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],\"signature_field\":27,\"max_encoded_bytes\":65536,\"cryptographic_validation\":\"Independent issuer trust/signature, fresh PSK/nonce generation, actual identity certificates and current time/revocation validation remain required\",\"deferred_constraints\":[\"Complete issuer-derived credential namespace closure, role-specific trust/capacity reservations and actual candidate/route/provider eligibility\",\"Required/critical/selected feature and dependency validation against the authenticated complete hello; unknown optional offers are not a universal Artifact allow-set parser prohibition\",\"Original admission/spend/winner/activation and pool membership, Grant SessionContract digest/limits, full lifetime time/rekey/feature capacity and actual private loopback entry point\"]},\"Leg\":{\"fields\":{\"0\":{\"name\":\"access_class\",\"type\":\"uint8\",\"enum\":{\"network\":0,\"local_loopback\":1}},\"1\":{\"name\":\"leg_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"endpoint_role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1}},\"3\":{\"name\":\"dialer_role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1,\"relay\":2}},\"4\":{\"name\":\"listener_role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1,\"relay\":2}},\"5\":{\"name\":\"carrier\",\"type\":\"uint8\",\"enum\":{\"raw_quic\":0,\"websocket\":1,\"webtransport\":2}},\"6\":{\"name\":\"host\",\"type\":\"text\",\"max_bytes\":253,\"text_format\":\"host\"},\"7\":{\"name\":\"port\",\"type\":\"uint16\",\"min\":1},\"8\":{\"name\":\"path\",\"type\":\"text\",\"max_bytes\":128},\"9\":{\"name\":\"alpn\",\"type\":\"text\",\"max_bytes\":128,\"optional\":true},\"10\":{\"name\":\"subprotocol\",\"type\":\"text\",\"max_bytes\":128},\"11\":{\"name\":\"tls_policy\",\"type\":\"map\",\"schema_ref\":\"TLSPolicy\",\"optional\":true},\"12\":{\"name\":\"origin_policy\",\"type\":\"map\",\"schema_ref\":\"OriginPolicy\",\"optional\":true},\"13\":{\"name\":\"origin\",\"type\":\"text\",\"text_format\":\"origin\",\"optional\":true}},\"required\":[0,1,2,3,4,5,6,7,8,10],\"deferred_constraints\":[\"The containing Candidate/Route supplies path_kind. Browser-serving WS must include OriginPolicy under the immutable provider/deployment binding. Actual listener address, TLS, Origin, provider direction and local bridge admission remain unqualified.\"]},\"Route\":{\"fields\":{\"0\":{\"name\":\"path_kind\",\"type\":\"uint8\",\"enum\":{\"direct\":0,\"tunnel\":1}},\"1\":{\"name\":\"candidate_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"direct_leg\",\"type\":\"map\",\"schema_ref\":\"Leg\",\"optional\":true},\"3\":{\"name\":\"client_leg\",\"type\":\"map\",\"schema_ref\":\"Leg\",\"optional\":true},\"4\":{\"name\":\"server_leg\",\"type\":\"map\",\"schema_ref\":\"Leg\",\"optional\":true}},\"required\":[0,1],\"context_fields\":{\"path_kind\":\"path_kind\"}},\"Candidate\":{\"fields\":{\"0\":{\"name\":\"candidate_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"priority\",\"type\":\"uint16\"},\"2\":{\"name\":\"path_kind\",\"type\":\"uint8\",\"enum\":{\"direct\":0,\"tunnel\":1}},\"3\":{\"name\":\"direct_leg\",\"type\":\"map\",\"schema_ref\":\"Leg\",\"optional\":true},\"4\":{\"name\":\"client_leg\",\"type\":\"map\",\"schema_ref\":\"Leg\",\"optional\":true},\"5\":{\"name\":\"server_leg\",\"type\":\"map\",\"schema_ref\":\"Leg\",\"optional\":true},\"6\":{\"name\":\"revocation_namespace_refs\",\"type\":\"array\",\"min_items\":1,\"max_items\":8,\"items\":{\"type\":\"map\",\"schema_ref\":\"RevocationNamespaceRef\"}}},\"required\":[0,1,2,6],\"context_fields\":{\"path_kind\":\"path_kind\"},\"deferred_constraints\":[\"Issuer-computed credential dependency closure, role-specific namespace/trust and actual provider qualification remain cross-object obligations.\"]},\"OriginPolicy\":{\"max_encoded_bytes\":2165,\"fields\":{\"0\":{\"name\":\"origins\",\"type\":\"array\",\"min_items\":1,\"max_items\":8,\"items\":{\"type\":\"text\",\"text_format\":\"origin\"}},\"1\":{\"name\":\"allow_absent\",\"type\":\"bool\"}},\"required\":[0,1],\"deferred_constraints\":[\"Exact single Origin header admission, browser observable-origin checks and provider/deployment enforcement require runtime qualification. Custom schemes remain unresolved. The encoding bound follows the currently registered scheme/host/port grammar, not a reduced credential cap.\"]},\"TLSPin\":{\"fields\":{\"0\":{\"name\":\"leaf_der_sha256\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"not_before_ms\",\"type\":\"uint64\"},\"2\":{\"name\":\"not_after_ms\",\"type\":\"uint64\"},\"3\":{\"name\":\"certificate_profile\",\"type\":\"text\",\"text_enum_ref\":\"tls_certificate_profiles\"}},\"required\":[0,1,2,3],\"deferred_constraints\":[\"The issuer must derive the digest from actual leaf DER, verify the full certificate profile and prove the signed authorization window is contained in DER validity. A short signed window does not qualify a long-lived certificate.\"]},\"TLSPolicy\":{\"fields\":{\"0\":{\"name\":\"mode\",\"type\":\"uint8\",\"enum\":{\"ca\":0,\"pin\":1}},\"1\":{\"name\":\"require_consumer_tls13_verification\",\"type\":\"bool\"},\"2\":{\"name\":\"pin_kind\",\"type\":\"uint8\",\"enum\":{\"leaf_der_sha256\":0},\"optional\":true},\"3\":{\"name\":\"pins\",\"type\":\"array\",\"min_items\":1,\"max_items\":16,\"items\":{\"type\":\"map\",\"schema_ref\":\"TLSPin\"},\"optional\":true}},\"required\":[0,1],\"deferred_constraints\":[\"Native TLS and actual DER checks, controlled browser WS ingress, browser WT hashes enforcement and original active-set time rechecks are required. Structural vectors do not qualify a provider.\"]},\"RevocationNamespaceRef\":{\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"generation\",\"type\":\"uint64\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"role_mask\",\"type\":\"uint8\",\"min\":1,\"bitmask\":7}},\"required\":[0,1,2,3,4]},\"GrantParentRef\":{\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"authority_generation\",\"type\":\"uint64\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"revocation_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"5\":{\"name\":\"revocation_policy_revision\",\"type\":\"uint64\"},\"6\":{\"name\":\"artifact_issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"lease_id\",\"type\":\"bytes\",\"length\":16},\"8\":{\"name\":\"revocation_epoch\",\"type\":\"uint64\"},\"9\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"10\":{\"name\":\"initiation_not_after_ms\",\"type\":\"uint64\"},\"11\":{\"name\":\"session_not_after_ms\",\"type\":\"uint64\"},\"12\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12]},\"GrantNamespace\":{\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"generation\",\"type\":\"uint64\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"role_mask\",\"type\":\"uint8\",\"enum\":{\"client_and_relay\":5,\"server_and_relay\":6}},\"5\":{\"name\":\"revocation_epoch\",\"type\":\"uint64\"},\"6\":{\"name\":\"revocation_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"7\":{\"name\":\"revocation_policy_revision\",\"type\":\"uint64\"}},\"required\":[0,1,2,3,4,5,6,7]},\"GrantLimits\":{\"fields\":{\"0\":{\"name\":\"max_envelope_bytes\",\"type\":\"uint64\",\"max\":1048584},\"1\":{\"name\":\"max_total_bytes\",\"type\":\"uint64\"},\"2\":{\"name\":\"max_datagram_bytes\",\"type\":\"uint64\"},\"3\":{\"name\":\"max_rate_bytes_per_s\",\"type\":\"uint64\"},\"4\":{\"name\":\"max_queue_bytes\",\"type\":\"uint64\"},\"5\":{\"name\":\"max_pending_native_mappings\",\"type\":\"uint32\"},\"6\":{\"name\":\"max_resident_native_mappings\",\"type\":\"uint32\"},\"7\":{\"name\":\"max_total_native_mappings\",\"type\":\"uint64\"},\"8\":{\"name\":\"max_queue_items\",\"type\":\"uint32\"}},\"required\":[0,1,2,3,4,5,6,7,8],\"deferred_constraints\":[\"Prepare/claim must prove complete topology-dependent handshake, envelope, forwarding and mapping capacity; uint maxima are encoding bounds, not viable provider limits.\"]},\"GrantLegRef\":{\"fields\":{\"0\":{\"name\":\"leg_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"logical_role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1}}},\"required\":[0,1]},\"Grant\":{\"signature_field\":19,\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"grant_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"replay_nonce\",\"type\":\"bytes\",\"length\":32},\"3\":{\"name\":\"parent_ref\",\"type\":\"map\",\"schema_ref\":\"GrantParentRef\"},\"4\":{\"name\":\"route_descriptor\",\"type\":\"map\",\"schema_ref\":\"Route\"},\"5\":{\"name\":\"route_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"attempt_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"pairing_id\",\"type\":\"bytes\",\"length\":16},\"8\":{\"name\":\"identity_digests\",\"type\":\"array\",\"min_items\":2,\"max_items\":2,\"items\":{\"type\":\"bytes\",\"length\":32}},\"9\":{\"name\":\"legs\",\"type\":\"array\",\"min_items\":2,\"max_items\":2,\"items\":{\"type\":\"map\",\"schema_ref\":\"GrantLegRef\"}},\"10\":{\"name\":\"service\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"11\":{\"name\":\"audience\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"12\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"13\":{\"name\":\"namespace\",\"type\":\"map\",\"schema_ref\":\"GrantNamespace\"},\"14\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"15\":{\"name\":\"not_after_ms\",\"type\":\"uint64\"},\"16\":{\"name\":\"limits\",\"type\":\"map\",\"schema_ref\":\"GrantLimits\"},\"17\":{\"name\":\"session_contract_digest\",\"type\":\"bytes\",\"length\":32},\"18\":{\"name\":\"relay_identity_digest\",\"type\":\"bytes\",\"length\":32},\"19\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],\"deferred_constraints\":[\"Successful standalone decoding is not activation authority. Verify issuer trust and parent-to-authority authorization, original parent issuance facts, role-bearing certificate digests and possession, own and parent namespace/cohort/delegation freshness, authenticated receiving endpoint and hop, original activation projection, pool membership and ParentWinner, resource reservations and irreversible claim ownership.\",\"limits.max_envelope_bytes must equal 8 plus the original authenticated SessionContract.max_frame; this map carries only its digest. Forwarding also remains bounded by parent/grant cohort and delegation deadlines.\",\"The encoded cap is derived from the complete current nested grammar and pinned maximal structural vectors. Changes to that grammar require a fresh size derivation; this bound does not qualify resources, signatures, trust or max_frame_required.\"],\"max_encoded_bytes\":9302},\"RekeyEnvelope\":{\"fields\":{\"0\":{\"name\":\"burst_rounds\",\"type\":\"uint16\",\"min\":1},\"1\":{\"name\":\"refill_period_ms\",\"type\":\"uint32\",\"min\":1},\"2\":{\"name\":\"request_start_budget_ms\",\"type\":\"uint32\",\"min\":1}},\"required\":[0,1,2]},\"RekeyBarrierEntry\":{\"fields\":{\"0\":{\"name\":\"scope_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"1\":{\"name\":\"next_sequence\",\"type\":\"uint64\"}},\"required\":[0,1]},\"REKEY_REQUEST\":{\"encoded_bytes\":3,\"sender_role\":1,\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":0}},\"required\":[0]},\"REKEY_INIT\":{\"sender_role\":0,\"mac_field\":5,\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":1},\"1\":{\"name\":\"rekey_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"next_epoch\",\"type\":\"uint32\",\"min\":1},\"3\":{\"name\":\"client_ephemeral\",\"type\":\"bytes\",\"profile_public_key\":true},\"4\":{\"name\":\"client_barrier\",\"type\":\"array\",\"min_items\":0,\"max_items\":1035,\"items\":{\"type\":\"map\",\"schema_ref\":\"RekeyBarrierEntry\"}},\"5\":{\"name\":\"confirmation_mac\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5]},\"REKEY_REPLY\":{\"sender_role\":1,\"mac_field\":6,\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":2},\"1\":{\"name\":\"rekey_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"next_epoch\",\"type\":\"uint32\",\"min\":1},\"3\":{\"name\":\"init_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"server_ephemeral\",\"type\":\"bytes\",\"profile_public_key\":true},\"5\":{\"name\":\"server_barrier\",\"type\":\"array\",\"min_items\":0,\"max_items\":1035,\"items\":{\"type\":\"map\",\"schema_ref\":\"RekeyBarrierEntry\"}},\"6\":{\"name\":\"confirmation_mac\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6]},\"REKEY_COMMIT\":{\"max_encoded_bytes\":107,\"sender_role\":0,\"mac_field\":5,\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":3},\"1\":{\"name\":\"rekey_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"next_epoch\",\"type\":\"uint32\",\"min\":1},\"3\":{\"name\":\"transcript_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"old_maintenance_next_sequence\",\"type\":\"uint64\"},\"5\":{\"name\":\"confirmation_mac\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5]},\"REKEY_ACK\":{\"max_encoded_bytes\":107,\"sender_role\":1,\"mac_field\":5,\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":4},\"1\":{\"name\":\"rekey_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"next_epoch\",\"type\":\"uint32\",\"min\":1},\"3\":{\"name\":\"transcript_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"old_maintenance_next_sequence\",\"type\":\"uint64\"},\"5\":{\"name\":\"confirmation_mac\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5]},\"ClientHello\":{\"max_encoded_bytes\":16384,\"fields\":{\"0\":{\"name\":\"protocol_id\",\"type\":\"text\",\"const_ref\":\"protocol_id\"},\"1\":{\"name\":\"profile_revision\",\"type\":\"text\",\"const_ref\":\"profile_revision\"},\"2\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"text_enum_ref\":\"crypto_profiles\"},\"3\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"candidate_id\",\"type\":\"bytes\",\"length\":16},\"5\":{\"name\":\"route_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"attempt_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"client_nonce\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true},\"8\":{\"name\":\"offered_features\",\"type\":\"uint64\"},\"9\":{\"name\":\"supported_binding_modes\",\"type\":\"uint8\",\"min\":1,\"max\":3},\"10\":{\"name\":\"client_identity_hint\",\"type\":\"bytes\",\"max_bytes\":2048}},\"required\":[0,1,2,3,4,5,6,7,8,9,10]},\"ServerHello\":{\"max_encoded_bytes\":16384,\"fields\":{\"0\":{\"name\":\"protocol_id\",\"type\":\"text\",\"const_ref\":\"protocol_id\"},\"1\":{\"name\":\"profile_revision\",\"type\":\"text\",\"const_ref\":\"profile_revision\"},\"2\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"text_enum_ref\":\"crypto_profiles\"},\"3\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"candidate_id\",\"type\":\"bytes\",\"length\":16},\"5\":{\"name\":\"route_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"attempt_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"client_nonce\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true},\"8\":{\"name\":\"server_nonce\",\"type\":\"bytes\",\"length\":32},\"9\":{\"name\":\"server_offered_features\",\"type\":\"uint64\"},\"10\":{\"name\":\"selected_features\",\"type\":\"uint64\",\"bitmask\":3},\"11\":{\"name\":\"binding_mode\",\"type\":\"uint8\",\"enum\":{\"direct_exporter\":0,\"authenticated_context\":1}},\"12\":{\"name\":\"server_identity_hint\",\"type\":\"bytes\",\"max_bytes\":2048}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12]},\"FSB4\":{\"max_encoded_bytes\":65536,\"signature_field\":15,\"fields\":{\"0\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"3\":{\"name\":\"lease_id\",\"type\":\"bytes\",\"length\":16},\"4\":{\"name\":\"session_nonce\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true},\"5\":{\"name\":\"candidate_id\",\"type\":\"bytes\",\"length\":16},\"6\":{\"name\":\"route_digest\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"attempt_id\",\"type\":\"bytes\",\"length\":16},\"8\":{\"name\":\"admission_nonce\",\"type\":\"bytes\",\"length\":32},\"9\":{\"name\":\"hello_transcript_digest\",\"type\":\"bytes\",\"length\":32},\"10\":{\"name\":\"selected_features\",\"type\":\"uint64\",\"bitmask\":3},\"11\":{\"name\":\"binding_mode\",\"type\":\"uint8\",\"enum\":{\"direct_exporter\":0,\"authenticated_context\":1}},\"12\":{\"name\":\"transport_context_digest\",\"type\":\"bytes\",\"length\":32},\"13\":{\"name\":\"activation_authorization\",\"type\":\"bytes\",\"max_bytes\":4096,\"encoded_schema_ref\":\"ActivationAuthorization\"},\"14\":{\"name\":\"client_certificate\",\"type\":\"bytes\",\"max_bytes\":8192,\"encoded_schema_ref\":\"IdentityCertificate\"},\"15\":{\"name\":\"client_signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]},\"FSA4\":{\"max_encoded_bytes\":16384,\"signature_field\":13,\"fields\":{\"0\":{\"name\":\"status\",\"type\":\"uint8\",\"enum\":{\"admitted\":0,\"rejected\":1}},\"1\":{\"name\":\"code\",\"type\":\"uint16\"},\"2\":{\"name\":\"server_epoch\",\"type\":\"uint64\"},\"3\":{\"name\":\"reservation_key\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"admission_binding\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"route_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"hello_transcript_digest\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"selected_features\",\"type\":\"uint64\",\"bitmask\":3},\"8\":{\"name\":\"binding_mode\",\"type\":\"uint8\",\"enum\":{\"direct_exporter\":0,\"authenticated_context\":1}},\"9\":{\"name\":\"transport_context_digest\",\"type\":\"bytes\",\"length\":32},\"10\":{\"name\":\"client_identity_digest\",\"type\":\"bytes\",\"length\":32},\"11\":{\"name\":\"server_identity_digest\",\"type\":\"bytes\",\"length\":32},\"12\":{\"name\":\"server_certificate\",\"type\":\"bytes\",\"max_bytes\":8192,\"encoded_schema_ref\":\"IdentityCertificate\"},\"13\":{\"name\":\"server_signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13]},\"IdentityCertificate\":{\"max_encoded_bytes\":8192,\"signature_field\":16,\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"subject_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"text_enum_ref\":\"crypto_profiles\"},\"3\":{\"name\":\"noise_static_public_key\",\"type\":\"map\",\"schema_ref\":\"NoiseStaticPublicKey\"},\"4\":{\"name\":\"ed25519_public_key\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1,\"relay\":2}},\"6\":{\"name\":\"audience\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"7\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"8\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"9\":{\"name\":\"expires_at_ms\",\"type\":\"uint64\"},\"10\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"11\":{\"name\":\"revocation_authority_generation\",\"type\":\"uint64\"},\"12\":{\"name\":\"revocation_epoch\",\"type\":\"uint64\"},\"13\":{\"name\":\"revocation_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"14\":{\"name\":\"revocation_policy_revision\",\"type\":\"uint64\"},\"15\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"16\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]},\"NoiseStaticPublicKey\":{\"fields\":{\"0\":{\"name\":\"algorithm\",\"type\":\"uint8\",\"enum\":{\"x25519\":0,\"p256\":1}},\"1\":{\"name\":\"public_key_bytes\",\"type\":\"bytes\",\"max_bytes\":65}},\"required\":[0,1],\"cryptographic_validation\":\"Profile DH acceptance predicates in design 3.5.1; structural validation alone is insufficient.\"},\"ActivationAuthorization\":{\"max_encoded_bytes\":4096,\"signature_field\":16,\"fields\":{\"0\":{\"name\":\"schema_revision\",\"type\":\"uint16\",\"const\":1},\"1\":{\"name\":\"authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"signing_key_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"4\":{\"name\":\"artifact_issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"5\":{\"name\":\"lease_id\",\"type\":\"bytes\",\"length\":16},\"6\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"candidate_selection\",\"type\":\"context_variant\",\"context\":\"activation_source_profile\",\"cases\":{\"live_authority\":{\"type\":\"bytes\",\"length\":16},\"preauthorized_pool\":{\"type\":\"map\",\"schema_ref\":\"PoolSelectionRef\"}}},\"8\":{\"name\":\"route_selection\",\"type\":\"bytes\",\"length\":32},\"9\":{\"name\":\"attempt_id\",\"type\":\"bytes\",\"length\":16},\"10\":{\"name\":\"client_identity_digest\",\"type\":\"bytes\",\"length\":32},\"11\":{\"name\":\"server_identity_digest\",\"type\":\"bytes\",\"length\":32},\"12\":{\"name\":\"audience\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"13\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"14\":{\"name\":\"activation_not_after_ms\",\"type\":\"uint64\"},\"15\":{\"name\":\"session_not_after_ms\",\"type\":\"uint64\"},\"16\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]},\"PoolSelectionRef\":{\"fields\":{\"0\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"candidate_indices\",\"type\":\"array\",\"min_items\":1,\"max_items\":16,\"items\":{\"type\":\"uint8\",\"max\":15}},\"2\":{\"name\":\"candidate_set_digest\",\"type\":\"bytes\",\"length\":32},\"3\":{\"name\":\"attempt_budget\",\"type\":\"map\",\"schema_ref\":\"PoolAttemptBudget\"},\"4\":{\"name\":\"once_authority_ref\",\"type\":\"map\",\"schema_ref\":\"OnceAuthorityRef\"}},\"required\":[0,1,2,3,4],\"index_origin\":0},\"OnceAuthorityRef\":{\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"artifact_issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"spend_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"winner_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"}},\"required\":[0,1,2,3],\"max_encoded_bytes\":412},\"PoolAttemptBudget\":{\"fields\":{\"0\":{\"name\":\"per_candidate\",\"type\":\"map\",\"schema_ref\":\"CandidateAttemptBudget\"},\"1\":{\"name\":\"total_address_attempts\",\"type\":\"uint32\",\"min\":1,\"max\":32},\"2\":{\"name\":\"total_preauth_bytes\",\"type\":\"uint32\",\"min\":1,\"max\":8388608},\"3\":{\"name\":\"total_work_units\",\"type\":\"uint32\",\"min\":1,\"max\":8192},\"4\":{\"name\":\"parallel_candidates\",\"type\":\"uint8\",\"min\":1,\"max\":2}},\"required\":[0,1,2,3,4]},\"CandidateAttemptBudget\":{\"fields\":{\"0\":{\"name\":\"address_attempts\",\"type\":\"uint32\",\"min\":1,\"max\":8},\"1\":{\"name\":\"preauth_bytes\",\"type\":\"uint32\",\"min\":1,\"max\":262144},\"2\":{\"name\":\"work_units\",\"type\":\"uint32\",\"min\":1,\"max\":256}},\"required\":[0,1,2]},\"READY\":{\"encoded_bytes\":103,\"fields\":{\"0\":{\"name\":\"identity_proof\",\"type\":\"bytes\",\"length\":64},\"1\":{\"name\":\"confirmation_mac\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1]},\"ReadyProofInput\":{\"fields\":{\"0\":{\"name\":\"role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1}},\"1\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"text_enum_ref\":\"crypto_profiles\"},\"2\":{\"name\":\"handshake_hash\",\"type\":\"bytes\",\"length\":32},\"3\":{\"name\":\"fsb_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"fsa_digest\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"transport_context_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"admission_binding\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"certificate_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6,7]},\"ReadyMACInput\":{\"fields\":{\"0\":{\"name\":\"role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1}},\"1\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"text_enum_ref\":\"crypto_profiles\"},\"2\":{\"name\":\"handshake_hash\",\"type\":\"bytes\",\"length\":32},\"3\":{\"name\":\"fsb_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"fsa_digest\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"transport_context_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"admission_binding\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"certificate_digest\",\"type\":\"bytes\",\"length\":32},\"8\":{\"name\":\"selected_features\",\"type\":\"uint64\",\"bitmask\":3},\"9\":{\"name\":\"identity_proof\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9]},\"TransportContext\":{\"fields\":{\"0\":{\"name\":\"profile_revision\",\"type\":\"text\",\"const_ref\":\"profile_revision\"},\"1\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"text_enum_ref\":\"crypto_profiles\"},\"2\":{\"name\":\"access_class\",\"type\":\"uint8\",\"enum\":{\"network\":0,\"local_loopback\":1}},\"3\":{\"name\":\"path_kind\",\"type\":\"uint8\",\"enum\":{\"direct\":0,\"tunnel\":1}},\"4\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"route_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"attempt_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"session_nonce\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true},\"8\":{\"name\":\"hello_transcript_digest\",\"type\":\"bytes\",\"length\":32},\"9\":{\"name\":\"selected_features\",\"type\":\"uint64\",\"bitmask\":3},\"10\":{\"name\":\"binding_mode\",\"type\":\"uint8\",\"enum\":{\"direct_exporter\":0,\"authenticated_context\":1}},\"11\":{\"name\":\"exporter_present\",\"type\":\"uint8\",\"min\":0,\"max\":1},\"12\":{\"name\":\"exporter_bytes\",\"type\":\"bytes\",\"max_bytes\":32}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12]},\"HopChallengeContext\":{\"encoded_bytes\":129,\"fields\":{\"0\":{\"name\":\"dialer_incarnation\",\"type\":\"bytes\",\"length\":16,\"nonzero\":true},\"1\":{\"name\":\"listener_incarnation\",\"type\":\"bytes\",\"length\":16,\"nonzero\":true},\"2\":{\"name\":\"leg_id\",\"type\":\"bytes\",\"length\":16},\"3\":{\"name\":\"dialer_role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1,\"relay\":2}},\"4\":{\"name\":\"listener_role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1,\"relay\":2}},\"5\":{\"name\":\"dialer_challenge\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true},\"6\":{\"name\":\"listener_challenge\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true}},\"required\":[0,1,2,3,4,5,6]},\"OPEN_STREAM\":{\"fields\":{\"0\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"1\":{\"name\":\"direction\",\"type\":\"uint8\",\"enum\":{\"c2s\":0,\"s2c\":1}},\"2\":{\"name\":\"scope\",\"type\":\"uint64\"},\"3\":{\"name\":\"epoch\",\"type\":\"uint32\"},\"4\":{\"name\":\"sequence\",\"type\":\"uint64\"},\"5\":{\"name\":\"kind\",\"type\":\"text\",\"min_bytes\":1,\"max_bytes\":128},\"6\":{\"name\":\"metadata\",\"type\":\"bytes\",\"max_bytes\":4096},\"7\":{\"name\":\"initial_receive_limit\",\"type\":\"uint64\"},\"8\":{\"name\":\"open_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6,7,8]},\"STREAM_DATA\":{\"fields\":{\"0\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"1\":{\"name\":\"direction\",\"type\":\"uint8\",\"enum\":{\"c2s\":0,\"s2c\":1}},\"2\":{\"name\":\"epoch\",\"type\":\"uint32\"},\"3\":{\"name\":\"sequence\",\"type\":\"uint64\"},\"4\":{\"name\":\"offset\",\"type\":\"uint64\"},\"5\":{\"name\":\"fin\",\"type\":\"bool\"},\"6\":{\"name\":\"data\",\"type\":\"bytes\",\"max_ref\":\"max_data_payload_bytes\"}},\"required\":[0,1,2,3,4,5,6]},\"OPEN_ACCEPT\":{\"fields\":{\"0\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"1\":{\"name\":\"direction\",\"type\":\"uint8\",\"enum\":{\"c2s\":0,\"s2c\":1}},\"2\":{\"name\":\"result\",\"type\":\"uint8\",\"enum\":{\"accepted\":0,\"rejected\":1}},\"3\":{\"name\":\"open_epoch\",\"type\":\"uint32\"},\"4\":{\"name\":\"open_sequence\",\"type\":\"uint64\"},\"5\":{\"name\":\"open_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"initial_receive_limit\",\"type\":\"uint64\"},\"7\":{\"name\":\"final_epoch\",\"type\":\"uint32\",\"optional\":true},\"8\":{\"name\":\"final_next_sequence\",\"type\":\"uint64\",\"optional\":true},\"9\":{\"name\":\"final_offset\",\"type\":\"uint64\",\"optional\":true},\"10\":{\"name\":\"variant\",\"type\":\"uint8\",\"const\":1},\"11\":{\"name\":\"reason\",\"type\":\"uint16\",\"enum_ref\":\"open_rejection_codes\",\"optional\":true}},\"required\":[0,1,2,3,4,5,6,10]},\"STREAM_ACK_CREDIT\":{\"fields\":{\"0\":{\"name\":\"variant\",\"type\":\"uint8\",\"const\":0},\"1\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"2\":{\"name\":\"direction\",\"type\":\"uint8\",\"enum\":{\"c2s\":0,\"s2c\":1}},\"3\":{\"name\":\"ack_offset\",\"type\":\"uint64\"},\"4\":{\"name\":\"receive_limit\",\"type\":\"uint64\"}},\"required\":[0,1,2,3,4]},\"STREAM_ACK_STOP\":{\"fields\":{\"0\":{\"name\":\"variant\",\"type\":\"uint8\",\"const\":2},\"1\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"2\":{\"name\":\"direction\",\"type\":\"uint8\",\"enum\":{\"c2s\":0,\"s2c\":1}}},\"required\":[0,1,2]},\"STREAM_ACK_STOPPED\":{\"fields\":{\"0\":{\"name\":\"variant\",\"type\":\"uint8\",\"const\":3},\"1\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"2\":{\"name\":\"direction\",\"type\":\"uint8\",\"enum\":{\"c2s\":0,\"s2c\":1}},\"3\":{\"name\":\"final_epoch\",\"type\":\"uint32\"},\"4\":{\"name\":\"final_next_sequence\",\"type\":\"uint64\"},\"5\":{\"name\":\"final_offset\",\"type\":\"uint64\"}},\"required\":[0,1,2,3,4,5]},\"STREAM_ACK_DRAINED\":{\"fields\":{\"0\":{\"name\":\"variant\",\"type\":\"uint8\",\"const\":4},\"1\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"2\":{\"name\":\"direction\",\"type\":\"uint8\",\"enum\":{\"c2s\":0,\"s2c\":1}},\"3\":{\"name\":\"terminal_tuple\",\"type\":\"map\",\"schema_ref\":\"terminal_tuple\"},\"4\":{\"name\":\"outcome\",\"type\":\"uint8\",\"enum\":{\"drained\":0,\"aborted\":1}},\"5\":{\"name\":\"observed_tuple\",\"type\":\"map\",\"schema_ref\":\"terminal_tuple\"}},\"required\":[0,1,2,3,4,5]},\"STREAM_ACK_RETIRE_BATCH\":{\"fields\":{\"0\":{\"name\":\"variant\",\"type\":\"uint8\",\"const\":5},\"1\":{\"name\":\"batch_seq\",\"type\":\"uint64\",\"min\":1},\"2\":{\"name\":\"scope_ids\",\"type\":\"array<uint64>\",\"min_items\":1,\"max_items\":1024}},\"required\":[0,1,2],\"max_encoded_bytes\":9233,\"deferred_constraints\":[\"The bound is for the complete structural map, not a qualified route/frame/resource allowance. The authenticated proposer role, allocated ordinal and complete terminal proofs must authorize every ID before retirement. Batch sequencing, barrier publication fences, original deadlines and physical reference cleanup remain runtime obligations.\"]},\"STREAM_ACK_RETIRE_ACK\":{\"fields\":{\"0\":{\"name\":\"variant\",\"type\":\"uint8\",\"const\":6},\"1\":{\"name\":\"batch_seq\",\"type\":\"uint64\",\"min\":1},\"2\":{\"name\":\"batch_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2],\"max_encoded_bytes\":48,\"deferred_constraints\":[\"The digest must match the original complete batch under its original final handshake hash, crypto profile and authenticated proposer role. A maintenance record authenticates the ACK; this map adds no signature or MAC. ACK alone does not prove physical reference cleanup.\"]},\"DATAGRAM\":{\"fields\":{\"0\":{\"name\":\"epoch\",\"type\":\"uint32\"},\"1\":{\"name\":\"sequence\",\"type\":\"uint64\"},\"2\":{\"name\":\"scope\",\"type\":\"uint64\"},\"3\":{\"name\":\"data\",\"type\":\"bytes\",\"max_bytes\":949}},\"required\":[0,1,2,3]},\"ERROR\":{\"fields\":{\"0\":{\"name\":\"code\",\"type\":\"uint16\",\"enum_ref\":\"error_codes\"},\"1\":{\"name\":\"target_scope\",\"type\":\"uint64\"},\"2\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\",\"optional\":true},\"3\":{\"name\":\"retry_after_ms\",\"type\":\"uint32\",\"optional\":true}},\"required\":[0,1],\"deferred_constraints\":[\"Apply the phase-specific attribution rules in 3.5.2, including pre-existing native association, authenticated WS DATA attribution and failures without trusted local ownership. Pre-READY responses convey no authenticated result. A retry hint grants no action authority or change to layered commit facts.\"]},\"CLOSE\":{\"fields\":{\"0\":{\"name\":\"reason\",\"type\":\"uint16\",\"enum_ref\":\"error_codes\"},\"1\":{\"name\":\"target_scope\",\"type\":\"uint64\",\"max\":\"9223372036854775807\"}},\"required\":[0,1],\"deferred_constraints\":[\"A nonzero target must name an existing trusted Stream; CLOSE never substitutes for terminal proof.\"]},\"GOAWAY\":{\"fields\":{\"0\":{\"name\":\"accept_ceiling\",\"type\":\"uint64\"},\"1\":{\"name\":\"reason\",\"type\":\"uint16\",\"enum_ref\":\"error_codes\"}},\"required\":[0,1]},\"PING\":{\"fields\":{\"0\":{\"name\":\"nonce\",\"type\":\"bytes\",\"length\":16}},\"required\":[0]},\"PONG\":{\"fields\":{\"0\":{\"name\":\"nonce\",\"type\":\"bytes\",\"length\":16}},\"required\":[0]},\"HOP_AUTH_HELLO\":{\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":0},\"1\":{\"name\":\"local_incarnation\",\"type\":\"bytes\",\"length\":16,\"nonzero\":true},\"2\":{\"name\":\"local_challenge\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true},\"3\":{\"name\":\"grant\",\"type\":\"bytes\",\"optional\":true,\"min_bytes\":1,\"encoded_schema_ref\":\"Grant\"},\"4\":{\"name\":\"identity_certificate\",\"type\":\"bytes\",\"max_bytes\":8192,\"encoded_schema_ref\":\"IdentityCertificate\"}},\"required\":[0,1,2,4],\"max_encoded_bytes\":10346,\"deferred_constraints\":[\"The encoded cap is derived from the complete current nested grammar and pinned maximal structural vectors. Changes to that grammar require a fresh size derivation; this bound does not qualify resources, signatures, trust or max_frame_required.\",\"Verify expected application certificate audience and relay Grant service/audience against their authenticated deployment and original issuance projection. The two audience fields are not implicitly equated. Actual two-sided owner/challenge, relay certificate digest, possession and activation state checks remain mandatory.\"]},\"HOP_AUTH_ENDPOINT_PROOF\":{\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":1},\"1\":{\"name\":\"proof\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1],\"max_encoded_bytes\":70},\"HOP_AUTH_RELAY_PROOF\":{\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":2},\"1\":{\"name\":\"proof\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1],\"max_encoded_bytes\":70},\"terminal_tuple\":{\"fields\":{\"0\":{\"name\":\"epoch\",\"type\":\"uint32\"},\"1\":{\"name\":\"next_sequence\",\"type\":\"uint64\"},\"2\":{\"name\":\"offset\",\"type\":\"uint64\"}},\"required\":[0,1,2]},\"CredentialIssuerAuthorization\":{\"fields\":{\"0\":{\"name\":\"authorization_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"authority_generation\",\"type\":\"uint64\"},\"5\":{\"name\":\"credential_kind\",\"type\":\"uint8\",\"enum\":{\"certificate\":0,\"artifact\":1,\"grant\":2}},\"6\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"issuer_public_key\",\"type\":\"bytes\",\"length\":32},\"8\":{\"name\":\"audience\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"9\":{\"name\":\"signing_not_before_ms\",\"type\":\"uint64\"},\"10\":{\"name\":\"signing_not_after_ms\",\"type\":\"uint64\"},\"11\":{\"name\":\"first_cohort\",\"type\":\"uint64\"},\"12\":{\"name\":\"last_cohort\",\"type\":\"uint64\"},\"13\":{\"name\":\"max_credential_not_after_ms\",\"type\":\"uint64\"},\"14\":{\"name\":\"subject_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\",\"optional\":true},\"15\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"optional\":true,\"text_enum_ref\":\"crypto_profiles\"},\"16\":{\"name\":\"role\",\"type\":\"uint8\",\"max\":3,\"optional\":true},\"17\":{\"name\":\"service\",\"type\":\"text\",\"pattern_ref\":\"security_id\",\"optional\":true},\"18\":{\"name\":\"parent_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\",\"optional\":true},\"19\":{\"name\":\"parent_capacity_digest\",\"type\":\"bytes\",\"length\":32,\"optional\":true},\"20\":{\"name\":\"parent_generation\",\"type\":\"uint64\",\"optional\":true},\"21\":{\"name\":\"parent_artifact_issuer_key_id\",\"type\":\"bytes\",\"length\":16,\"optional\":true},\"22\":{\"name\":\"first_parent_cohort\",\"type\":\"uint64\",\"optional\":true},\"23\":{\"name\":\"last_parent_cohort\",\"type\":\"uint64\",\"optional\":true},\"24\":{\"name\":\"max_affected_cohorts\",\"type\":\"array\",\"min_items\":2,\"max_items\":2,\"items\":{\"type\":\"uint64\",\"nullable\":true}}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,24],\"max_encoded_bytes\":2048},\"TrustConfig\":{\"fields\":{\"0\":{\"name\":\"schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"authority_generation\",\"type\":\"uint64\"},\"4\":{\"name\":\"revision\",\"type\":\"uint64\",\"min\":1},\"5\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"6\":{\"name\":\"not_after_ms\",\"type\":\"uint64\"},\"7\":{\"name\":\"capacity\",\"type\":\"map\",\"schema_ref\":\"NamespaceCapacity\"},\"8\":{\"name\":\"publication\",\"type\":\"map\",\"schema_ref\":\"PublicationPolicy\"},\"9\":{\"name\":\"credential_policies\",\"type\":\"array\",\"min_items\":0,\"max_items\":16,\"items\":{\"type\":\"map\",\"schema_ref\":\"CredentialRevocationPolicy\"}},\"10\":{\"name\":\"issuer_authorizations\",\"type\":\"array\",\"min_items\":0,\"max_items\":64,\"items\":{\"type\":\"map\",\"schema_ref\":\"CredentialIssuerAuthorization\"}},\"11\":{\"name\":\"head_delegations\",\"type\":\"array\",\"min_items\":0,\"max_items\":32,\"items\":{\"type\":\"map\",\"schema_ref\":\"HeadSignerDelegation\"}},\"12\":{\"name\":\"activation_delegations\",\"type\":\"array\",\"min_items\":0,\"max_items\":32,\"items\":{\"type\":\"map\",\"schema_ref\":\"ConnectionActivationDelegation\"}},\"13\":{\"name\":\"once_authorities\",\"type\":\"array\",\"min_items\":0,\"max_items\":32,\"items\":{\"type\":\"map\",\"schema_ref\":\"OnceAuthorityRef\"}},\"14\":{\"name\":\"retired_issuers\",\"type\":\"array\",\"min_items\":0,\"max_items\":64,\"items\":{\"type\":\"bytes\",\"length\":16}},\"15\":{\"name\":\"rejected_head_signers\",\"type\":\"array\",\"min_items\":0,\"max_items\":64,\"items\":{\"type\":\"bytes\",\"length\":16}},\"16\":{\"name\":\"signing_key_id\",\"type\":\"bytes\",\"length\":16},\"17\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],\"max_encoded_bytes\":262144,\"signature_field\":17,\"deferred_constraints\":[\"Independently pinned trust-root key and namespace association, trusted current time, original monotonic revision and generation, complete immutable issuer/delegation/policy/once-mapping history, permanent retirement and aggregate proof byte/entry limits are mandatory runtime gates. No key or permission from a credential or Head may authenticate this map.\"]},\"TrustBootstrapResponse\":{\"fields\":{\"0\":{\"name\":\"schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"request_nonce\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"5\":{\"name\":\"not_after_ms\",\"type\":\"uint64\"},\"6\":{\"name\":\"trust_config\",\"type\":\"bytes\",\"encoded_schema_ref\":\"TrustConfig\",\"max_bytes\":262144},\"7\":{\"name\":\"freshness_head\",\"type\":\"bytes\",\"encoded_schema_ref\":\"FreshnessHead\",\"max_bytes\":795},\"8\":{\"name\":\"signing_key_id\",\"type\":\"bytes\",\"length\":16},\"9\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9],\"max_encoded_bytes\":270336,\"signature_field\":9},\"OperationReference\":{\"fields\":{\"0\":{\"name\":\"format_version\",\"type\":\"uint8\",\"const\":1},\"1\":{\"name\":\"target_domain\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"target\",\"type\":\"map\",\"schema_ref\":\"ExecutionManagementTarget\"},\"3\":{\"name\":\"call_shape\",\"type\":\"uint8\",\"enum\":{\"unary\":0,\"server_streaming\":1,\"notify\":2}},\"4\":{\"name\":\"execution_mode\",\"type\":\"uint8\",\"enum\":{\"volatile\":0,\"durable\":1}},\"5\":{\"name\":\"deadline_at_ms\",\"type\":\"uint64\",\"min\":1},\"6\":{\"name\":\"cancel_mode\",\"type\":\"uint8\",\"enum\":{\"none\":0,\"cooperative\":1}}},\"required\":[0,1,2,3,4,5,6],\"max_encoded_bytes\":2048,\"deferred_constraints\":[\"Local query-only persistence format, never a frame or credential. target_domain resolves only through trusted local configuration. Import grants no dispatch, Start, payload, Session or key capability. The operation cutoff in the first eight ID bytes must be positive and no later than deadline_at_ms.\"]},\"SpendReceipt\":{\"fields\":{\"0\":{\"name\":\"lease_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"attempt_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"state\",\"type\":\"uint8\",\"enum\":{\"spending\":0,\"consumed\":1}},\"3\":{\"name\":\"authorization_outcome\",\"type\":\"uint8\",\"enum\":{\"unknown\":0,\"denied\":1,\"authorized\":2,\"not_started\":3}},\"4\":{\"name\":\"updated_at_ms\",\"type\":\"uint64\",\"min\":1},\"5\":{\"name\":\"query_after_duration_ms\",\"type\":\"uint64\"}},\"required\":[0,1,2,3,4,5],\"max_encoded_bytes\":61,\"deferred_constraints\":[\"Authenticated caller facts only under 3.9.2. No proof, grant, dispatch, material, storage identity or execution authority. A query delay never extends original authorization or task deadlines. not_started requires the original owner to prove no callback dispatch; recovery never infers it.\"]},\"ProxyField\":{\"fields\":{\"0\":{\"name\":\"name\",\"type\":\"bytes\",\"min_bytes\":1,\"max_bytes\":1048576},\"1\":{\"name\":\"value\",\"type\":\"bytes\",\"min_bytes\":0,\"max_bytes\":1048576}},\"required\":[0,1],\"max_encoded_bytes\":1048576,\"deferred_constraints\":[\"Application Stream metadata only. Ordered field values retain HTTP octets; ASCII token, original header facts, target/policy, body/trailer integrity and resource ownership are checked by the proxy application. No authentication or authority is established by decoding.\"]},\"ProxyError\":{\"fields\":{\"0\":{\"name\":\"code\",\"type\":\"bytes\",\"min_bytes\":1,\"max_bytes\":1048576},\"1\":{\"name\":\"message\",\"type\":\"bytes\",\"min_bytes\":1,\"max_bytes\":1048576}},\"required\":[0,1],\"max_encoded_bytes\":1048576,\"deferred_constraints\":[\"Application Stream metadata only. Ordered field values retain HTTP octets; ASCII token, original header facts, target/policy, body/trailer integrity and resource ownership are checked by the proxy application. No authentication or authority is established by decoding.\"]},\"ProxyHTTPRequest\":{\"fields\":{\"0\":{\"name\":\"version\",\"type\":\"uint32\",\"const\":2},\"1\":{\"name\":\"request_id\",\"type\":\"bytes\",\"min_bytes\":1,\"max_bytes\":1048576},\"2\":{\"name\":\"method\",\"type\":\"bytes\",\"min_bytes\":1,\"max_bytes\":1048576},\"3\":{\"name\":\"path\",\"type\":\"bytes\",\"min_bytes\":1,\"max_bytes\":1048576},\"4\":{\"name\":\"headers\",\"type\":\"array\",\"min_items\":0,\"max_items_ref\":\"max_proxy_fields\",\"items\":{\"type\":\"map\",\"schema_ref\":\"ProxyField\"}},\"5\":{\"name\":\"external_origin\",\"type\":\"bytes\",\"min_bytes\":0,\"max_bytes\":1048576,\"optional\":true},\"6\":{\"name\":\"timeout_ms\",\"type\":\"uint32\",\"max\":300000,\"optional\":true},\"7\":{\"name\":\"credential_context\",\"type\":\"bytes\",\"min_bytes\":43,\"max_bytes\":43,\"optional\":true},\"8\":{\"name\":\"credentials\",\"type\":\"bytes\",\"min_bytes\":4,\"max_bytes\":11,\"optional\":true},\"9\":{\"name\":\"request_origin\",\"type\":\"bytes\",\"min_bytes\":1,\"max_bytes\":4096,\"optional\":true}},\"required\":[0,1,2,3,4],\"max_encoded_bytes\":1048576,\"deferred_constraints\":[\"Application Stream metadata only. Ordered field values retain HTTP octets; ASCII token, original header facts, target/policy, body/trailer integrity and resource ownership are checked by the proxy application. No authentication or authority is established by decoding.\"]},\"ProxyHTTPResponse\":{\"fields\":{\"0\":{\"name\":\"version\",\"type\":\"uint32\",\"const\":2},\"1\":{\"name\":\"request_id\",\"type\":\"bytes\",\"min_bytes\":1,\"max_bytes\":1048576},\"2\":{\"name\":\"ok\",\"type\":\"bool\"},\"3\":{\"name\":\"status\",\"type\":\"uint32\",\"min\":200,\"max\":599,\"optional\":true},\"4\":{\"name\":\"headers\",\"type\":\"array\",\"min_items\":0,\"max_items_ref\":\"max_proxy_fields\",\"items\":{\"type\":\"map\",\"schema_ref\":\"ProxyField\"},\"optional\":true},\"5\":{\"name\":\"error\",\"type\":\"map\",\"schema_ref\":\"ProxyError\",\"optional\":true}},\"required\":[0,1,2],\"max_encoded_bytes\":1048576,\"deferred_constraints\":[\"Application Stream metadata only. Ordered field values retain HTTP octets; ASCII token, original header facts, target/policy, body/trailer integrity and resource ownership are checked by the proxy application. No authentication or authority is established by decoding.\"]},\"ProxyWebSocketOpen\":{\"fields\":{\"0\":{\"name\":\"version\",\"type\":\"uint32\",\"const\":2},\"1\":{\"name\":\"conn_id\",\"type\":\"bytes\",\"min_bytes\":1,\"max_bytes\":1048576},\"2\":{\"name\":\"path\",\"type\":\"bytes\",\"min_bytes\":1,\"max_bytes\":1048576},\"3\":{\"name\":\"headers\",\"type\":\"array\",\"min_items\":0,\"max_items_ref\":\"max_proxy_fields\",\"items\":{\"type\":\"map\",\"schema_ref\":\"ProxyField\"}},\"4\":{\"name\":\"credential_context\",\"type\":\"bytes\",\"min_bytes\":43,\"max_bytes\":43,\"optional\":true},\"5\":{\"name\":\"credentials\",\"type\":\"bytes\",\"min_bytes\":4,\"max_bytes\":11,\"optional\":true},\"6\":{\"name\":\"request_origin\",\"type\":\"bytes\",\"min_bytes\":1,\"max_bytes\":4096,\"optional\":true}},\"required\":[0,1,2,3],\"max_encoded_bytes\":1048576,\"deferred_constraints\":[\"Application Stream metadata only. Ordered field values retain HTTP octets; ASCII token, original header facts, target/policy, body/trailer integrity and resource ownership are checked by the proxy application. No authentication or authority is established by decoding.\"]},\"ProxyWebSocketResponse\":{\"fields\":{\"0\":{\"name\":\"version\",\"type\":\"uint32\",\"const\":2},\"1\":{\"name\":\"conn_id\",\"type\":\"bytes\",\"min_bytes\":1,\"max_bytes\":1048576},\"2\":{\"name\":\"ok\",\"type\":\"bool\"},\"3\":{\"name\":\"protocol\",\"type\":\"bytes\",\"min_bytes\":0,\"max_bytes\":1048576,\"optional\":true},\"4\":{\"name\":\"error\",\"type\":\"map\",\"schema_ref\":\"ProxyError\",\"optional\":true}},\"required\":[0,1,2],\"max_encoded_bytes\":1048576,\"deferred_constraints\":[\"Application Stream metadata only. Ordered field values retain HTTP octets; ASCII token, original header facts, target/policy, body/trailer integrity and resource ownership are checked by the proxy application. No authentication or authority is established by decoding.\"]},\"ProxyCredentialControlRequest\":{\"fields\":{\"0\":{\"name\":\"version\",\"type\":\"uint32\",\"const\":2},\"1\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"min_bytes\":32,\"max_bytes\":32},\"2\":{\"name\":\"action\",\"type\":\"uint8\",\"min\":1,\"max\":3},\"3\":{\"name\":\"surface_owner\",\"type\":\"bytes\",\"min_bytes\":32,\"max_bytes\":32},\"4\":{\"name\":\"credential_context\",\"type\":\"bytes\",\"min_bytes\":43,\"max_bytes\":43,\"optional\":true},\"5\":{\"name\":\"content_origin\",\"type\":\"bytes\",\"min_bytes\":1,\"max_bytes\":4096,\"optional\":true}},\"required\":[0,1,2,3],\"max_encoded_bytes\":8192,\"deferred_constraints\":[\"Private proxy application control, not a transport frame. Action 1 binds, 2 clears, 3 disposes. operation_id and surface_owner are lowercase hexadecimal encodings of 16 bytes. Bind requires content_origin and forbids credential_context; Clear/Dispose require credential_context and forbid content_origin. Scope is resolved from trusted host policy and the original authenticated Stream, never granted from caller claims. reuse_after_clear is a local immutable intent and is never sent.\"]},\"ProxyCredentialControlResponse\":{\"fields\":{\"0\":{\"name\":\"version\",\"type\":\"uint32\",\"const\":2},\"1\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"min_bytes\":32,\"max_bytes\":32},\"2\":{\"name\":\"action\",\"type\":\"uint8\",\"min\":1,\"max\":3},\"3\":{\"name\":\"ok\",\"type\":\"bool\"},\"4\":{\"name\":\"credential_context\",\"type\":\"bytes\",\"min_bytes\":43,\"max_bytes\":43,\"optional\":true},\"5\":{\"name\":\"server_invalidated\",\"type\":\"bool\",\"optional\":true},\"6\":{\"name\":\"error\",\"type\":\"map\",\"schema_ref\":\"ProxyError\",\"optional\":true}},\"required\":[0,1,2,3],\"max_encoded_bytes\":8192,\"deferred_constraints\":[\"Matches the original operation_id and action. Successful Bind returns credential_context only; successful Clear returns a new credential_context and server_invalidated=true; successful Dispose returns server_invalidated=true without a new context. An unsuccessful response carries error and no credential_context. For Clear/Dispose it may independently carry server_invalidated=true when the original old-context invalidation was already confirmed; a reuse error never erases that fact. Absent invalidation confirmation does not establish clearing. Context is exactly 32 random bytes encoded as unpadded base64url and is not bearer authority.\"]},\"ProxyBodyEnd\":{\"fields\":{\"0\":{\"name\":\"version\",\"type\":\"uint32\",\"const\":2},\"1\":{\"name\":\"trailers\",\"type\":\"array\",\"min_items\":0,\"max_items_ref\":\"max_proxy_fields\",\"items\":{\"type\":\"map\",\"schema_ref\":\"ProxyField\"}}},\"required\":[0,1],\"max_encoded_bytes\":1048576,\"deferred_constraints\":[\"Application Stream metadata only. Ordered field values retain HTTP octets; ASCII token, original header facts, target/policy, body/trailer integrity and resource ownership are checked by the proxy application. No authentication or authority is established by decoding.\"]}},\"map_projections\":{\"candidate_route\":{\"source\":\"Candidate\",\"target\":\"Route\",\"fields\":[\"path_kind\",\"candidate_id\",\"direct_leg\",\"client_leg\",\"server_leg\"]}},\"unicode\":{\"version\":\"15.1.0\",\"status\":\"reference_nfc_idna_conformance_only\",\"nfc_sources\":{\"path\":\"testdata/unicode15_1/normalization_sources.json\",\"sha256\":\"3614da6477c9bc68d403e4d7cefc8281c1cdb51b3ba70837f36860b690c91f41\"},\"nfc_data\":{\"path\":\"testdata/unicode15_1/normalization_generated.json\",\"sha256\":\"bd140d7a610d52396a64e1bd57ca2413535056a39cb82a4eded2db0bde605b34\"},\"idna\":\"reference_conformance_only\",\"idna_sources\":{\"path\":\"testdata/unicode15_1/idna_sources.json\",\"sha256\":\"f60d5750ec1b952d24518d5578c72193096cebf555e5d0339104c050a88b4c08\"},\"idna_data\":{\"path\":\"testdata/unicode15_1/idna_generated.json\",\"sha256\":\"69bc502795c6f1ac07e47bdf4860af9348e16250217d3aed047b4065ed417a9a\"},\"sdk_consumption\":\"not_qualified\"},\"field_registries\":{\"admission_rejection_codes\":{\"activation_proof_invalid\":1,\"admission_window_expired\":2,\"reservation_conflict\":3,\"server_capacity_unavailable\":4,\"admission_store_unavailable\":5,\"admission_commit_unknown\":6,\"admission_epoch_unproven\":7,\"reservation_expired\":8,\"application_authorization_denied\":9},\"application_message_kinds\":{\"resume_request\":{\"code\":50,\"fields\":[0,1,2,3,4,5,6,7,8],\"max_encoded_bytes\":139},\"resume_response\":{\"code\":51,\"fields\":[0,1,2,3,4,6],\"request\":\"resume_request\",\"max_encoded_bytes\":121},\"resume_application_error\":{\"code\":52,\"fields\":[0,1,2,3,4,6,10],\"request\":\"resume_request\",\"application_error\":true,\"max_encoded_bytes\":127},\"execution_unary_sdk_error\":{\"code\":46,\"fields\":[0,1,2,3,4,6],\"request\":\"execution_unary_request\",\"sdk_error\":true,\"max_encoded_bytes\":119},\"transient_unary_sdk_error\":{\"code\":47,\"fields\":[0,2,3,6],\"request\":\"transient_unary_request\",\"sdk_error\":true,\"max_encoded_bytes\":49},\"query_contracts_sdk_error\":{\"code\":48,\"fields\":[0,2,3,6],\"request\":\"query_contracts_request\",\"sdk_error\":true,\"max_encoded_bytes\":49},\"read_result_sdk_error\":{\"code\":49,\"fields\":[0,2,3,6],\"request\":\"read_result_request\",\"sdk_error\":true,\"max_encoded_bytes\":49},\"execution_unary_application_error\":{\"code\":42,\"fields\":[0,1,2,3,4,6,10],\"request\":\"execution_unary_request\",\"application_error\":true,\"max_encoded_bytes\":127},\"execution_stream_application_error\":{\"code\":43,\"fields\":[0,1,2,3,4,6,10],\"request\":\"execution_stream_request\",\"application_error\":true,\"max_encoded_bytes\":127},\"transient_unary_application_error\":{\"code\":44,\"fields\":[0,2,3,6,10],\"request\":\"transient_unary_request\",\"application_error\":true,\"max_encoded_bytes\":57},\"transient_stream_application_error\":{\"code\":45,\"fields\":[0,2,3,6,10],\"request\":\"transient_stream_request\",\"application_error\":true,\"max_encoded_bytes\":57},\"execution_unary_request\":{\"code\":24,\"fields\":[0,1,2,3,4,5,6,7,8],\"max_encoded_bytes\":139},\"execution_stream_request\":{\"code\":25,\"fields\":[0,1,2,3,4,5,6,7,8],\"max_encoded_bytes\":139},\"execution_notify\":{\"code\":26,\"fields\":[0,1,2,3,4,5,6,7,8],\"constants\":{\"8\":0},\"max_encoded_bytes\":135},\"execution_unary_response\":{\"code\":27,\"fields\":[0,1,2,3,4,6],\"request\":\"execution_unary_request\",\"max_encoded_bytes\":121},\"execution_stream_item\":{\"code\":28,\"fields\":[0,1,2,3,4,6],\"request\":\"execution_stream_request\",\"max_encoded_bytes\":121},\"transient_unary_request\":{\"code\":29,\"fields\":[0,2,3,5,6,7,8],\"max_encoded_bytes\":69},\"transient_stream_request\":{\"code\":30,\"fields\":[0,2,3,5,6,7,8],\"max_encoded_bytes\":69},\"transient_unary_response\":{\"code\":31,\"fields\":[0,2,3,6],\"request\":\"transient_unary_request\",\"max_encoded_bytes\":51},\"transient_stream_item\":{\"code\":32,\"fields\":[0,2,3,6],\"request\":\"transient_stream_request\",\"max_encoded_bytes\":51},\"observation_notify\":{\"code\":33,\"fields\":[0,2,3,5,6],\"max_encoded_bytes\":61},\"query_contracts_request\":{\"code\":34,\"fields\":[0,2,3,5,6],\"max_encoded_bytes\":61},\"query_contracts_response\":{\"code\":35,\"fields\":[0,2,3,6],\"request\":\"query_contracts_request\",\"max_encoded_bytes\":51},\"read_result_request\":{\"code\":36,\"fields\":[0,2,3,5,6],\"max_encoded_bytes\":61},\"read_result_response\":{\"code\":37,\"fields\":[0,2,3,6],\"request\":\"read_result_request\",\"max_encoded_bytes\":51},\"query_operation_request\":{\"code\":38,\"fields\":[0,2,3,5,6,9],\"max_encoded_bytes\":71},\"query_operation_response\":{\"code\":39,\"fields\":[0,2,3,6,9],\"request\":\"query_operation_request\",\"max_encoded_bytes\":61},\"request_cancel_request\":{\"code\":40,\"fields\":[0,2,3,5,6,9],\"max_encoded_bytes\":71},\"request_cancel_response\":{\"code\":41,\"fields\":[0,2,3,6,9],\"request\":\"request_cancel_request\",\"max_encoded_bytes\":61},\"execution_stream_sdk_error\":{\"code\":53,\"fields\":[0,1,2,3,4,6],\"max_encoded_bytes\":119,\"request\":\"execution_stream_request\",\"sdk_error\":true},\"transient_stream_sdk_error\":{\"code\":54,\"fields\":[0,2,3,6],\"max_encoded_bytes\":49,\"request\":\"transient_stream_request\",\"sdk_error\":true}},\"application_sdk_error_codes\":{\"request_message_aborted\":1,\"response_output_stopped\":2,\"service_contract_mismatch\":3,\"response_limit_unsupported\":4,\"resource_exhausted\":5,\"method_unavailable\":6,\"permission_denied\":7,\"deadline_exceeded\":8,\"service_failed\":9,\"service_unavailable\":10,\"operation_conflict\":11,\"result_expired\":12,\"source_overflow\":13},\"artifact_version\":\"4\",\"carrier_tuples\":{\"raw_quic\":{\"direct\":{\"alpn\":\"flowersec-direct/4\",\"path\":\"\",\"subprotocol\":\"\"},\"tunnel\":{\"alpn\":\"flowersec-tunnel/4\",\"path\":\"\",\"subprotocol\":\"\"}},\"websocket\":{\"direct\":{\"path\":\"/flowersec/v4/direct\",\"alpn\":\"http/1.1\",\"subprotocol\":\"flowersec.direct.v4\",\"http\":\"1.1\"},\"tunnel\":{\"path\":\"/flowersec/v4/tunnel\",\"alpn\":\"http/1.1\",\"subprotocol\":\"flowersec.tunnel.v4\",\"http\":\"1.1\"}},\"webtransport\":{\"direct\":{\"path\":\"/flowersec/webtransport/v4/direct\",\"alpn\":\"h3\",\"subprotocol\":\"\"},\"tunnel\":{\"path\":\"/flowersec/webtransport/v4/tunnel\",\"alpn\":\"h3\",\"subprotocol\":\"\"}}},\"crypto_profiles\":{\"fs4-kkpsk0-x25519-chachapoly-ed25519-sha256-1\":{\"dh_algorithm\":0,\"noise_protocol_name\":\"Noise_KKpsk0_25519_ChaChaPoly_SHA256\",\"record_aead\":\"chacha20-poly1305\",\"dh_public_bytes\":32,\"dh_secret_bytes\":32,\"handshake_message_bytes\":48,\"key_bytes\":32,\"nonce_bytes\":12,\"tag_bytes\":16},\"fs4-kkpsk0-p256-aes256gcm-ed25519-sha256-1\":{\"dh_algorithm\":1,\"noise_protocol_name\":\"Noise_KKpsk0_P256_AESGCM_SHA256\",\"record_aead\":\"aes-256-gcm\",\"dh_public_bytes\":65,\"dh_secret_bytes\":32,\"handshake_message_bytes\":81,\"key_bytes\":32,\"nonce_bytes\":12,\"tag_bytes\":16}},\"error_code_metadata\":{\"normal\":{\"scope\":\"none\",\"action\":\"none\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"6.1\"},\"protocol_violation\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"},\"framing_error\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"},\"authentication_failed\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"},\"sequence_error\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"},\"replay_detected\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"},\"crypto_failure\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"},\"rekey_failed\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.8,6.1\"},\"resource_exhausted\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":true,\"source\":\"3.7.5,6.1\"},\"stream_sequence_error\":{\"scope\":\"stream\",\"action\":\"reset_stream\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"},\"stream_data_invalid\":{\"scope\":\"stream\",\"action\":\"reset_stream\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"}},\"error_codes\":{\"normal\":0,\"protocol_violation\":1,\"framing_error\":2,\"authentication_failed\":3,\"sequence_error\":4,\"replay_detected\":5,\"crypto_failure\":6,\"rekey_failed\":7,\"resource_exhausted\":8,\"stream_sequence_error\":9,\"stream_data_invalid\":10},\"feature_registry\":{\"datagram\":{\"bit\":0},\"application_progress_resume\":{\"bit\":1}},\"local_loopback_tuple\":{\"path\":\"/flowersec/v4/local\",\"subprotocol\":\"flowersec.local.v4\"},\"open_rejection_codes\":{\"resource_exhausted\":1,\"metadata_invalid\":2,\"kind_unavailable\":3,\"application_rejected\":4,\"draining\":5},\"origin_schemes\":{\"http\":{\"default_port\":80},\"https\":{\"default_port\":443},\"ws\":{\"default_port\":80},\"wss\":{\"default_port\":443},\"ftp\":{\"default_port\":21}},\"profile_revision\":\"4\",\"protocol_id\":\"flowersec/4\",\"resource_caps\":{\"contract_query_response_bytes_per_target\":9216,\"max_payload_length\":1048576,\"max_datagram_envelope\":1024,\"max_datagram_payload\":949,\"max_pending_datagrams\":64,\"max_streams\":2097152,\"max_pending_open_ceiling\":128,\"ingress_staging\":{\"items\":128,\"bytes\":524288,\"work\":128},\"await_open\":{\"items\":128,\"bytes\":262144,\"work\":128},\"retire_batch_items\":1024,\"scope_id\":{\"min\":1,\"max\":\"9223372036854775807\"},\"record_replay_window_bits\":256,\"datagram_scope\":\"9223372036854775809\",\"max_pending_open_rule\":{\"operator\":\"min\",\"arguments\":[128,\"signed.max_streams\"]}},\"text_patterns\":{\"security_id\":\"^[a-z0-9][a-z0-9._:/@-]{0,127}$\",\"metadata_namespace\":\"^[a-z0-9][a-z0-9._-]{0,31}/[a-z0-9][a-z0-9._-]{0,31}$\"},\"tls_certificate_profiles\":{\"x509v3-p256-14d\":{\"source\":\"design 3.6; actual DER qualification is required\"}},\"wire_profile\":\"flowersec/4\"},\"variant_rules\":{\"ExecutionManagementObservation\":[{\"op\":\"variant\",\"discriminator\":\"found\",\"value\":true,\"required\":[\"state\",\"cancel_requested\",\"dispatched\",\"work_active\",\"history_not_before_gc_ms\",\"result_not_after_ms\",\"result_available\",\"result_deleted\",\"result_bytes\",\"application_error_code\",\"result_digest\"]},{\"op\":\"variant\",\"discriminator\":\"found\",\"value\":false,\"absent\":[\"state\",\"cancel_requested\",\"dispatched\",\"work_active\",\"history_not_before_gc_ms\",\"result_not_after_ms\",\"result_available\",\"result_deleted\",\"result_bytes\",\"application_error_code\",\"result_digest\"]},{\"op\":\"range\",\"field\":\"reason\",\"min\":0,\"max\":4,\"when\":{\"field\":\"found\",\"value\":true}},{\"op\":\"range\",\"field\":\"reason\",\"min\":5,\"max\":6,\"when\":{\"field\":\"found\",\"value\":false}},{\"op\":\"variant\",\"discriminator\":\"result_available\",\"value\":true,\"constants\":{\"result_deleted\":false,\"dispatched\":true}},{\"op\":\"variant\",\"discriminator\":\"state\",\"value\":1,\"constants\":{\"dispatched\":false}}],\"QueryOperationResponse\":[{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":0,\"required\":[\"observation\"],\"constants\":{\"observation.found\":true}},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":1,\"absent\":[\"observation\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":2,\"absent\":[\"observation\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":3,\"absent\":[\"observation\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":4,\"absent\":[\"observation\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":5,\"absent\":[\"observation\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":6,\"required\":[\"observation\"],\"constants\":{\"observation.found\":true,\"observation.result_deleted\":true,\"observation.result_available\":false}},{\"op\":\"variant\",\"discriminator\":\"observation.result_deleted\",\"value\":true,\"constants\":{\"status\":6}},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":7,\"required\":[\"observation\"],\"constants\":{\"observation.found\":false,\"observation.reason\":5}},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":8,\"required\":[\"observation\"],\"constants\":{\"observation.found\":false,\"observation.reason\":6}}],\"RequestCancelResponse\":[{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":0,\"required\":[\"observation\",\"cancel_result\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":1,\"absent\":[\"observation\",\"cancel_result\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":2,\"absent\":[\"observation\",\"cancel_result\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":3,\"absent\":[\"observation\",\"cancel_result\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":4,\"absent\":[\"observation\",\"cancel_result\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":5,\"absent\":[\"observation\",\"cancel_result\"]},{\"op\":\"variant\",\"discriminator\":\"cancel_result\",\"value\":0,\"constants\":{\"observation.found\":true,\"observation.cancel_requested\":true},\"when\":{\"field\":\"status\",\"value\":0}},{\"op\":\"variant\",\"discriminator\":\"cancel_result\",\"value\":1,\"constants\":{\"observation.found\":true},\"when\":{\"field\":\"status\",\"value\":0}},{\"op\":\"variant\",\"discriminator\":\"cancel_result\",\"value\":2,\"constants\":{\"observation.found\":false,\"observation.reason\":5},\"when\":{\"field\":\"status\",\"value\":0}},{\"op\":\"variant\",\"discriminator\":\"cancel_result\",\"value\":3,\"constants\":{\"observation.found\":false,\"observation.reason\":6},\"when\":{\"field\":\"status\",\"value\":0}}],\"ResumeResult\":[{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":0,\"required\":[\"progress\"]}],\"ContractSnapshot\":[{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":0,\"required\":[\"contract\"],\"absent\":[\"contract_digest\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":1,\"required\":[\"contract_digest\"],\"absent\":[\"contract\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":2,\"absent\":[\"contract\",\"contract_digest\",\"offer\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":3,\"absent\":[\"contract\",\"contract_digest\",\"offer\"]}],\"StreamContentPolicy\":[{\"op\":\"variant\",\"discriminator\":\"mode\",\"value\":0,\"absent\":[\"retention_origin\",\"retention_ms\",\"max_retained_items\",\"max_retained_bytes\",\"definition_schema_revision\",\"definition_bytes\"]},{\"op\":\"variant\",\"discriminator\":\"mode\",\"value\":1,\"required\":[\"retention_origin\",\"retention_ms\",\"max_retained_items\",\"max_retained_bytes\",\"definition_schema_revision\",\"definition_bytes\"]}],\"ServiceContract\":[{\"op\":\"variant\",\"discriminator\":\"call_shape\",\"value\":0,\"required\":[\"unary_semantics\"],\"absent\":[\"server_streaming_semantics\",\"notify_semantics\",\"max_item_count\",\"max_stream_payload_bytes\",\"max_stream_duration_ms\",\"stream_content_policy\"]},{\"op\":\"variant\",\"discriminator\":\"call_shape\",\"value\":1,\"required\":[\"server_streaming_semantics\",\"max_item_count\",\"max_stream_payload_bytes\",\"max_stream_duration_ms\"],\"absent\":[\"unary_semantics\",\"notify_semantics\",\"result_retention_ms\"]},{\"op\":\"variant\",\"discriminator\":\"call_shape\",\"value\":2,\"required\":[\"notify_semantics\"],\"absent\":[\"unary_semantics\",\"server_streaming_semantics\",\"max_item_count\",\"max_stream_payload_bytes\",\"max_stream_duration_ms\",\"stream_content_policy\",\"result_retention_ms\"],\"constants\":{\"response_limit_mode\":0,\"min_response_limit_bytes\":0,\"max_response_bytes\":0}},{\"op\":\"variant\",\"discriminator\":\"unary_semantics\",\"value\":0,\"required\":[\"max_message_lifetime_ms\",\"max_transient_run_ms\"],\"absent\":[\"execution_mode\",\"history_retention_ms\",\"max_operation_admission_window_ms\",\"max_execution_horizon_ms\",\"max_execution_run_ms\",\"cancel_mode\",\"result_retention_ms\",\"checkpoint_format\"]},{\"op\":\"variant\",\"discriminator\":\"unary_semantics\",\"value\":1,\"required\":[\"execution_mode\",\"history_retention_ms\",\"max_operation_admission_window_ms\",\"max_execution_horizon_ms\",\"max_execution_run_ms\",\"cancel_mode\"],\"absent\":[\"max_message_lifetime_ms\",\"max_transient_run_ms\"]},{\"op\":\"variant\",\"discriminator\":\"server_streaming_semantics\",\"value\":0,\"required\":[\"max_message_lifetime_ms\",\"max_transient_run_ms\"],\"absent\":[\"execution_mode\",\"history_retention_ms\",\"max_operation_admission_window_ms\",\"max_execution_horizon_ms\",\"max_execution_run_ms\",\"cancel_mode\",\"result_retention_ms\",\"checkpoint_format\",\"stream_content_policy\"]},{\"op\":\"variant\",\"discriminator\":\"server_streaming_semantics\",\"value\":1,\"required\":[\"execution_mode\",\"history_retention_ms\",\"max_operation_admission_window_ms\",\"max_execution_horizon_ms\",\"max_execution_run_ms\",\"cancel_mode\",\"stream_content_policy\"],\"absent\":[\"max_message_lifetime_ms\",\"max_transient_run_ms\"]},{\"op\":\"variant\",\"discriminator\":\"notify_semantics\",\"value\":0,\"required\":[\"max_message_lifetime_ms\"],\"absent\":[\"max_transient_run_ms\",\"execution_mode\",\"history_retention_ms\",\"max_operation_admission_window_ms\",\"max_execution_horizon_ms\",\"max_execution_run_ms\",\"cancel_mode\",\"result_retention_ms\",\"checkpoint_format\"]},{\"op\":\"variant\",\"discriminator\":\"notify_semantics\",\"value\":1,\"required\":[\"execution_mode\",\"history_retention_ms\",\"max_operation_admission_window_ms\",\"max_execution_horizon_ms\",\"max_execution_run_ms\",\"cancel_mode\"],\"absent\":[\"max_message_lifetime_ms\",\"max_transient_run_ms\"]},{\"op\":\"variant\",\"discriminator\":\"restart_flush\",\"value\":true,\"required\":[\"restart_flush_deadline_ms\"],\"constants\":{\"call_shape\":0}},{\"op\":\"variant\",\"discriminator\":\"restart_flush\",\"value\":false,\"absent\":[\"restart_flush_deadline_ms\"]},{\"op\":\"variant\",\"discriminator\":\"response_limit_mode\",\"value\":0,\"equal\":[[\"min_response_limit_bytes\",\"max_response_bytes\"]]}],\"SessionContract\":[{\"op\":\"variant\",\"discriminator\":\"application_profile\",\"value\":0,\"absent\":[\"rpc_max_general_outstanding\"]},{\"op\":\"variant\",\"discriminator\":\"application_profile\",\"value\":1,\"required\":[\"rpc_max_general_outstanding\"],\"nonzero\":[\"max_streams\"]},{\"op\":\"variant\",\"discriminator\":\"application_profile\",\"value\":2,\"required\":[\"rpc_max_general_outstanding\"],\"nonzero\":[\"max_streams\"]},{\"op\":\"range\",\"when\":{\"field\":\"application_profile\",\"value\":1},\"field\":\"max_credit\",\"min\":16384,\"max\":\"9223372036854775807\"},{\"op\":\"range\",\"when\":{\"field\":\"application_profile\",\"value\":2},\"field\":\"max_credit\",\"min\":16384,\"max\":\"9223372036854775807\"}],\"ResumePolicy\":[{\"op\":\"variant\",\"discriminator\":\"enabled\",\"value\":false,\"absent\":[\"purpose\",\"scope\",\"max_issued_token_duration_ms\",\"max_token_bytes\"]},{\"op\":\"variant\",\"discriminator\":\"enabled\",\"value\":true,\"required\":[\"purpose\",\"scope\",\"max_issued_token_duration_ms\",\"max_token_bytes\"]}],\"Artifact\":[{\"op\":\"variant\",\"discriminator\":\"resume_policy.enabled\",\"value\":true,\"constants\":{\"session_contract.application_profile\":2}}],\"Grant\":[{\"op\":\"range\",\"field\":\"route_descriptor.path_kind\",\"min\":1,\"max\":1},{\"op\":\"range\",\"field\":\"legs.0.logical_role\",\"min\":0,\"max\":0},{\"op\":\"range\",\"field\":\"legs.1.logical_role\",\"min\":1,\"max\":1}],\"Leg\":[{\"op\":\"context_variant\",\"context\":\"path_kind\",\"cases\":{\"direct\":{\"constants\":{\"endpoint_role\":1,\"dialer_role\":0,\"listener_role\":1}},\"tunnel\":{\"constants\":{\"access_class\":0}}}},{\"op\":\"variant\",\"discriminator\":\"access_class\",\"value\":0,\"required\":[\"alpn\",\"tls_policy\"],\"absent\":[\"origin\"]},{\"op\":\"variant\",\"discriminator\":\"access_class\",\"value\":1,\"required\":[\"origin\"],\"absent\":[\"alpn\",\"tls_policy\",\"origin_policy\"],\"constants\":{\"carrier\":1}},{\"op\":\"variant\",\"discriminator\":\"carrier\",\"value\":0,\"absent\":[\"origin_policy\"]},{\"op\":\"variant\",\"discriminator\":\"carrier\",\"value\":2,\"required\":[\"origin_policy\"]},{\"op\":\"range\",\"field\":\"port\",\"min\":1024,\"max\":65535,\"when\":{\"field\":\"access_class\",\"value\":1}}],\"Route\":[{\"op\":\"variant\",\"discriminator\":\"path_kind\",\"value\":0,\"required\":[\"direct_leg\"],\"absent\":[\"client_leg\",\"server_leg\"]},{\"op\":\"variant\",\"discriminator\":\"path_kind\",\"value\":1,\"required\":[\"client_leg\",\"server_leg\"],\"absent\":[\"direct_leg\"],\"constants\":{\"client_leg.endpoint_role\":0,\"server_leg.endpoint_role\":1}}],\"Candidate\":[{\"op\":\"variant\",\"discriminator\":\"path_kind\",\"value\":0,\"required\":[\"direct_leg\"],\"absent\":[\"client_leg\",\"server_leg\"]},{\"op\":\"variant\",\"discriminator\":\"path_kind\",\"value\":1,\"required\":[\"client_leg\",\"server_leg\"],\"absent\":[\"direct_leg\"],\"constants\":{\"client_leg.endpoint_role\":0,\"server_leg.endpoint_role\":1}}],\"TopUpResponse\":[{\"op\":\"variant\",\"discriminator\":\"gap_authorized\",\"value\":false,\"absent\":[\"retired_artifact_through\"]},{\"op\":\"variant\",\"discriminator\":\"gap_authorized\",\"value\":true,\"required\":[\"retired_artifact_through\"]}],\"TopUpAck\":[{\"op\":\"variant\",\"discriminator\":\"gap_authorized\",\"value\":false,\"absent\":[\"retired_artifact_through\"]},{\"op\":\"variant\",\"discriminator\":\"gap_authorized\",\"value\":true,\"required\":[\"retired_artifact_through\"]}],\"TLSPolicy\":[{\"op\":\"variant\",\"discriminator\":\"mode\",\"value\":0,\"absent\":[\"pin_kind\",\"pins\"]},{\"op\":\"variant\",\"discriminator\":\"mode\",\"value\":1,\"required\":[\"pin_kind\",\"pins\"]}],\"FSB4\":[{\"op\":\"range\",\"field\":\"client_certificate.role\",\"min\":0,\"max\":0},{\"op\":\"context_variant\",\"context\":\"activation_source_profile\",\"cases\":{\"live_authority\":{\"equal\":[[\"candidate_id\",\"activation_authorization.candidate_selection\"],[\"route_digest\",\"activation_authorization.route_selection\"]]},\"preauthorized_pool\":{}}}],\"FSA4\":[{\"op\":\"range\",\"field\":\"server_certificate.role\",\"min\":1,\"max\":1},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":0,\"constants\":{\"code\":0},\"nonzero\":[\"reservation_key\",\"admission_binding\",\"transport_context_digest\",\"client_identity_digest\",\"server_identity_digest\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":1,\"constants\":{\"server_epoch\":0},\"nonzero\":[\"code\"],\"zero_bytes\":[\"reservation_key\",\"admission_binding\",\"transport_context_digest\",\"client_identity_digest\",\"server_identity_digest\"],\"registered\":{\"code\":\"admission_rejection_codes\"}}],\"NoiseStaticPublicKey\":[{\"op\":\"variant\",\"discriminator\":\"algorithm\",\"value\":0,\"byte_lengths\":{\"public_key_bytes\":32}},{\"op\":\"variant\",\"discriminator\":\"algorithm\",\"value\":1,\"byte_lengths\":{\"public_key_bytes\":65},\"byte_prefixes\":{\"public_key_bytes\":\"04\"}}],\"ActivationAuthorization\":[{\"op\":\"context_variant\",\"context\":\"activation_source_profile\",\"cases\":{\"live_authority\":{},\"preauthorized_pool\":{\"equal\":[[\"artifact_digest\",\"candidate_selection.artifact_digest\"],[\"tenant_id\",\"candidate_selection.once_authority_ref.tenant_id\"],[\"artifact_issuer_key_id\",\"candidate_selection.once_authority_ref.artifact_issuer_key_id\"],[\"authority_id\",\"candidate_selection.once_authority_ref.spend_authority_id\"]]}}}],\"TransportContext\":[{\"op\":\"variant\",\"discriminator\":\"binding_mode\",\"value\":0,\"constants\":{\"exporter_present\":1,\"path_kind\":0,\"access_class\":0},\"byte_lengths\":{\"exporter_bytes\":32}},{\"op\":\"variant\",\"discriminator\":\"binding_mode\",\"value\":1,\"constants\":{\"exporter_present\":0},\"byte_lengths\":{\"exporter_bytes\":0}},{\"op\":\"variant\",\"discriminator\":\"access_class\",\"value\":1,\"constants\":{\"path_kind\":0,\"binding_mode\":1}}],\"HOP_AUTH_HELLO\":[{\"op\":\"context_variant\",\"context\":\"hop_sender_role\",\"cases\":{\"endpoint\":{\"required\":[\"grant\"],\"enum_values\":{\"identity_certificate.role\":[0,1]}},\"relay\":{\"absent\":[\"grant\"],\"constants\":{\"identity_certificate.role\":2}}}}],\"STREAM_ACK_DRAINED\":[{\"op\":\"variant\",\"discriminator\":\"outcome\",\"value\":0,\"equal\":[[\"terminal_tuple\",\"observed_tuple\"]]},{\"op\":\"variant\",\"discriminator\":\"outcome\",\"value\":1,\"equal\":[[\"terminal_tuple.epoch\",\"observed_tuple.epoch\"]],\"less_or_equal\":[[\"observed_tuple.next_sequence\",\"terminal_tuple.next_sequence\"],[\"observed_tuple.offset\",\"terminal_tuple.offset\"]]}],\"OPEN_STREAM\":[{\"op\":\"range\",\"field\":\"scope\",\"min\":1,\"max\":\"9223372036854775807\"},{\"op\":\"range\",\"field\":\"sequence\",\"min\":0,\"max\":0}],\"OPEN_ACCEPT\":[{\"op\":\"range\",\"field\":\"stream_id\",\"min\":1,\"max\":\"9223372036854775807\"},{\"op\":\"range\",\"field\":\"direction\",\"min\":0,\"max\":1},{\"op\":\"range\",\"field\":\"open_sequence\",\"min\":0,\"max\":0},{\"op\":\"variant\",\"discriminator\":\"result\",\"value\":0,\"absent\":[\"final_epoch\",\"final_next_sequence\",\"final_offset\",\"reason\"]},{\"op\":\"variant\",\"discriminator\":\"result\",\"value\":1,\"required\":[\"final_epoch\",\"final_next_sequence\",\"final_offset\",\"reason\"],\"constants\":{\"initial_receive_limit\":0,\"final_next_sequence\":1,\"final_offset\":0},\"equal\":[[\"final_epoch\",\"open_epoch\"]],\"nonzero\":[\"reason\"]}],\"DATAGRAM\":[{\"op\":\"range\",\"field\":\"scope\",\"min\":\"9223372036854775809\",\"max\":\"9223372036854775809\"}],\"CredentialIssuerAuthorization\":[{\"op\":\"variant\",\"discriminator\":\"credential_kind\",\"value\":0,\"required\":[\"subject_id\",\"crypto_profile_id\",\"role\"],\"absent\":[\"service\",\"parent_authority_id\",\"parent_capacity_digest\",\"parent_generation\",\"parent_artifact_issuer_key_id\",\"first_parent_cohort\",\"last_parent_cohort\"],\"enum_values\":{\"role\":[0,1,2]}},{\"op\":\"variant\",\"discriminator\":\"credential_kind\",\"value\":1,\"required\":[\"crypto_profile_id\"],\"absent\":[\"subject_id\",\"role\",\"service\",\"parent_authority_id\",\"parent_capacity_digest\",\"parent_generation\",\"parent_artifact_issuer_key_id\",\"first_parent_cohort\",\"last_parent_cohort\"]},{\"op\":\"variant\",\"discriminator\":\"credential_kind\",\"value\":2,\"required\":[\"role\",\"service\",\"parent_authority_id\",\"parent_capacity_digest\",\"parent_generation\",\"parent_artifact_issuer_key_id\",\"first_parent_cohort\",\"last_parent_cohort\"],\"absent\":[\"subject_id\",\"crypto_profile_id\"],\"enum_values\":{\"role\":[1,2,3]}}],\"SpendReceipt\":[{\"op\":\"variant\",\"discriminator\":\"state\",\"value\":0,\"constants\":{\"authorization_outcome\":0}}]},\"relation_rules\":{\"ConnectionActivationDelegation\":[{\"op\":\"is_null\",\"field\":\"max_affected_cohorts.0\"},{\"op\":\"equal\",\"left\":\"max_affected_cohorts.1\",\"right\":\"last_parent_cohort\"},{\"op\":\"less_than\",\"left\":\"signing_not_before_ms\",\"right\":\"signing_not_after_ms\"},{\"op\":\"less_or_equal\",\"left\":\"first_parent_cohort\",\"right\":\"last_parent_cohort\"},{\"op\":\"less_or_equal\",\"left\":\"max_activation_not_after_ms\",\"right\":\"max_session_not_after_ms\"}],\"ResumeTokenClaims\":[{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"expires_at_ms\"}],\"ResumeRequest\":[{\"op\":\"equal\",\"left\":\"original_operation_id\",\"right\":\"token.claims.operation_id\"},{\"op\":\"equal\",\"left\":\"original_request_digest\",\"right\":\"token.claims.request_digest\"},{\"op\":\"equal\",\"left\":\"generation\",\"right\":\"token.claims.generation\"},{\"op\":\"equal\",\"left\":\"expected_checkpoint\",\"right\":\"token.claims.checkpoint\"}],\"CohortPolicySegment\":[{\"op\":\"at_least_one\",\"fields\":[\"certificate_impact_ms\",\"connection_impact_ms\"]},{\"op\":\"less_or_equal\",\"left\":\"first_cohort\",\"right\":\"last_cohort\"}],\"RevocationState\":[{\"op\":\"increasing_tuple\",\"field\":\"revoked_issuers\",\"item_fields\":[\"issuer_key_id\"]},{\"op\":\"increasing_tuple\",\"field\":\"revoked_certificates\",\"item_fields\":[\"certificate_digest\"]},{\"op\":\"increasing_tuple\",\"field\":\"revoked_leases\",\"item_fields\":[\"issuer_key_id\",\"lease_id\"]},{\"op\":\"increasing_cbor\",\"field\":\"cohort_policy_segments\"}],\"RevokedIssuerEntry\":[{\"op\":\"increasing_tuple\",\"field\":\"authorizations\",\"item_fields\":[\"authorization_digest\"]}],\"IssuerAuthorizationImpact\":[{\"op\":\"less_than\",\"left\":\"signing_not_before_ms\",\"right\":\"signing_not_after_ms\"}],\"HeadSignerDelegation\":[{\"op\":\"less_or_equal\",\"left\":\"not_before_ms\",\"right\":\"issued_at_ms\"},{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"not_after_ms\"}],\"FreshnessHead\":[{\"op\":\"less_than\",\"left\":\"this_update_ms\",\"right\":\"next_update_ms\"}],\"ContractTarget\":[{\"op\":\"equal_if_present\",\"left\":\"wanted_contract_digest\",\"right\":\"known_contract_digest\"}],\"ContractTargets\":[{\"op\":\"unique_by\",\"field\":\"targets\",\"item_fields\":[\"service_namespace\",\"method_type_id\"]}],\"ContractSnapshots\":[{\"op\":\"ordinal_indices\",\"field\":\"items\",\"item_field_id\":0}],\"ServiceContract\":[{\"op\":\"less_or_equal\",\"left\":\"min_response_limit_bytes\",\"right\":\"max_response_bytes\"},{\"op\":\"increasing\",\"field\":\"application_error_catalog\",\"item_field_id\":0}],\"AdmissionOffer\":[{\"op\":\"less_than\",\"left\":\"not_before_ms\",\"right\":\"not_after_ms\"}],\"PoolSelectionSet\":[{\"op\":\"increasing_tuple\",\"field\":\"entries\",\"item_fields\":[\"candidate_index\"]},{\"op\":\"unique_by\",\"field\":\"entries\",\"item_fields\":[\"candidate_id\"]}],\"Artifact\":[{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"initiation_not_after_ms\"},{\"op\":\"less_or_equal\",\"left\":\"initiation_not_after_ms\",\"right\":\"session_not_after_ms\"},{\"op\":\"unique_by\",\"field\":\"candidates\",\"item_fields\":[\"candidate_id\"]},{\"op\":\"increasing_tuple\",\"field\":\"candidates\",\"item_fields\":[\"priority\",\"candidate_id\"]},{\"op\":\"exclusive_item\",\"field\":\"candidates\",\"item_field\":\"direct_leg.access_class\",\"value\":1},{\"op\":\"bit_subset\",\"left\":\"required_features\",\"right\":\"allowed_features\"},{\"op\":\"feature_bit\",\"when\":{\"field\":\"resume_policy.enabled\",\"value\":true},\"field\":\"allowed_features\",\"feature\":\"application_progress_resume\",\"present\":true},{\"op\":\"feature_bit\",\"when\":{\"field\":\"resume_policy.enabled\",\"value\":false},\"field\":\"required_features\",\"feature\":\"application_progress_resume\",\"present\":false}],\"Grant\":[{\"op\":\"equal\",\"left\":\"tenant_id\",\"right\":\"parent_ref.tenant_id\"},{\"op\":\"equal\",\"left\":\"tenant_id\",\"right\":\"namespace.tenant_id\"},{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"not_after_ms\"},{\"op\":\"less_or_equal\",\"left\":\"not_after_ms\",\"right\":\"parent_ref.session_not_after_ms\"},{\"op\":\"not_equal\",\"left\":\"legs.0.leg_id\",\"right\":\"legs.1.leg_id\"},{\"op\":\"equal\",\"left\":\"legs.0.leg_id\",\"right\":\"route_descriptor.client_leg.leg_id\"},{\"op\":\"equal\",\"left\":\"legs.1.leg_id\",\"right\":\"route_descriptor.server_leg.leg_id\"},{\"op\":\"not_equal\",\"left\":\"identity_digests.0\",\"right\":\"identity_digests.1\"},{\"op\":\"map_digest\",\"field\":\"route_digest\",\"source\":\"route_descriptor\",\"domain\":\"route_digest\"}],\"Leg\":[{\"op\":\"allowed_tuples\",\"fields\":[\"endpoint_role\",\"dialer_role\",\"listener_role\"],\"rows\":[[0,0,2],[0,2,0],[1,1,2],[1,2,1]],\"when\":{\"context\":\"path_kind\",\"value\":\"tunnel\"}},{\"op\":\"registry_tuple\",\"registry\":\"carrier_tuples\",\"selectors\":[{\"field\":\"carrier\"},{\"context\":\"path_kind\"}],\"fields\":[\"path\",\"alpn\",\"subprotocol\"],\"when\":{\"field\":\"access_class\",\"value\":0}},{\"op\":\"registry_tuple\",\"registry\":\"local_loopback_tuple\",\"selectors\":[],\"fields\":[\"path\",\"subprotocol\"],\"when\":{\"field\":\"access_class\",\"value\":1}}],\"Route\":[{\"op\":\"not_equal\",\"left\":\"client_leg.leg_id\",\"right\":\"server_leg.leg_id\",\"when\":{\"field\":\"path_kind\",\"value\":1}}],\"Candidate\":[{\"op\":\"not_equal\",\"left\":\"client_leg.leg_id\",\"right\":\"server_leg.leg_id\",\"when\":{\"field\":\"path_kind\",\"value\":1}},{\"op\":\"increasing_cbor\",\"field\":\"revocation_namespace_refs\"},{\"op\":\"unique_by\",\"field\":\"revocation_namespace_refs\",\"item_fields\":[\"tenant_id\",\"revocation_authority_id\"]}],\"OriginPolicy\":[{\"op\":\"increasing_cbor\",\"field\":\"origins\"}],\"OwnerFenceProof\":[{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"expires_at_ms\"}],\"TLSPin\":[{\"op\":\"less_than\",\"left\":\"not_before_ms\",\"right\":\"not_after_ms\"},{\"op\":\"max_difference\",\"left\":\"not_before_ms\",\"right\":\"not_after_ms\",\"max\":1209600000}],\"TLSPolicy\":[{\"op\":\"increasing_bytes\",\"field\":\"pins\",\"item_field_id\":0}],\"GrantParentRef\":[{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"initiation_not_after_ms\"},{\"op\":\"less_or_equal\",\"left\":\"initiation_not_after_ms\",\"right\":\"session_not_after_ms\"}],\"FSB4\":[{\"op\":\"equal\",\"left\":\"tenant_id\",\"right\":\"client_certificate.tenant_id\"},{\"op\":\"equal\",\"left\":\"tenant_id\",\"right\":\"activation_authorization.tenant_id\"},{\"op\":\"equal\",\"left\":\"issuer_key_id\",\"right\":\"activation_authorization.artifact_issuer_key_id\"},{\"op\":\"equal\",\"left\":\"lease_id\",\"right\":\"activation_authorization.lease_id\"},{\"op\":\"equal\",\"left\":\"artifact_digest\",\"right\":\"activation_authorization.artifact_digest\"},{\"op\":\"equal\",\"left\":\"attempt_id\",\"right\":\"activation_authorization.attempt_id\"},{\"op\":\"equal\",\"left\":\"client_certificate.audience\",\"right\":\"activation_authorization.audience\"}],\"REKEY_INIT\":[{\"op\":\"increasing\",\"field\":\"client_barrier\",\"item_field_id\":0}],\"REKEY_REPLY\":[{\"op\":\"increasing\",\"field\":\"server_barrier\",\"item_field_id\":0}],\"IdentityCertificate\":[{\"op\":\"profile_algorithm\",\"profile\":\"crypto_profile_id\",\"algorithm\":\"noise_static_public_key.algorithm\"},{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"expires_at_ms\"}],\"ActivationAuthorization\":[{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"activation_not_after_ms\"},{\"op\":\"less_or_equal\",\"left\":\"activation_not_after_ms\",\"right\":\"session_not_after_ms\"}],\"PoolSelectionRef\":[{\"op\":\"increasing\",\"field\":\"candidate_indices\"}],\"HopChallengeContext\":[{\"op\":\"allowed_pairs\",\"left\":\"dialer_role\",\"right\":\"listener_role\",\"pairs\":[[0,2],[1,2],[2,0],[2,1]]}],\"HOP_AUTH_HELLO\":[{\"op\":\"equal\",\"left\":\"grant.tenant_id\",\"right\":\"identity_certificate.tenant_id\",\"when\":{\"context\":\"hop_sender_role\",\"value\":\"endpoint\"}},{\"op\":\"allowed_pairs\",\"left\":\"identity_certificate.role\",\"right\":\"grant.namespace.role_mask\",\"pairs\":[[0,5],[1,6]],\"when\":{\"context\":\"hop_sender_role\",\"value\":\"endpoint\"}},{\"op\":\"map_digest\",\"field\":\"grant.identity_digests.0\",\"source\":\"identity_certificate\",\"domain\":\"certificate_digest\",\"when\":{\"field\":\"identity_certificate.role\",\"value\":0}},{\"op\":\"map_digest\",\"field\":\"grant.identity_digests.1\",\"source\":\"identity_certificate\",\"domain\":\"certificate_digest\",\"when\":{\"field\":\"identity_certificate.role\",\"value\":1}}],\"STREAM_ACK_CREDIT\":[{\"op\":\"less_or_equal\",\"left\":\"ack_offset\",\"right\":\"receive_limit\"}],\"OPEN_STREAM\":[{\"op\":\"equal\",\"left\":\"stream_id\",\"right\":\"scope\"}],\"ERROR\":[{\"op\":\"error_scope\",\"code_field\":\"code\",\"target_scope_field\":\"target_scope\",\"stream_id_field\":\"stream_id\",\"retry_after_field\":\"retry_after_ms\"}],\"STREAM_ACK_RETIRE_BATCH\":[{\"op\":\"increasing_scopes\",\"field\":\"scope_ids\"}],\"CredentialIssuerAuthorization\":[{\"op\":\"less_than\",\"left\":\"signing_not_before_ms\",\"right\":\"signing_not_after_ms\"},{\"op\":\"less_or_equal\",\"left\":\"first_cohort\",\"right\":\"last_cohort\"},{\"op\":\"less_than\",\"left\":\"signing_not_before_ms\",\"right\":\"max_credential_not_after_ms\"},{\"op\":\"is_null\",\"field\":\"max_affected_cohorts.1\",\"when\":{\"field\":\"credential_kind\",\"value\":0}},{\"op\":\"equal\",\"left\":\"max_affected_cohorts.0\",\"right\":\"last_cohort\",\"when\":{\"field\":\"credential_kind\",\"value\":0}},{\"op\":\"is_null\",\"field\":\"max_affected_cohorts.0\",\"when\":{\"field\":\"credential_kind\",\"value\":1}},{\"op\":\"equal\",\"left\":\"max_affected_cohorts.1\",\"right\":\"last_cohort\",\"when\":{\"field\":\"credential_kind\",\"value\":1}},{\"op\":\"is_null\",\"field\":\"max_affected_cohorts.0\",\"when\":{\"field\":\"credential_kind\",\"value\":2}},{\"op\":\"equal\",\"left\":\"max_affected_cohorts.1\",\"right\":\"last_cohort\",\"when\":{\"field\":\"credential_kind\",\"value\":2}},{\"op\":\"less_or_equal\",\"left\":\"first_parent_cohort\",\"right\":\"last_parent_cohort\",\"when\":{\"field\":\"credential_kind\",\"value\":2}}],\"TrustConfig\":[{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"not_after_ms\"},{\"op\":\"equal\",\"left\":\"tenant_id\",\"right\":\"capacity.tenant_id\"},{\"op\":\"equal\",\"left\":\"revocation_authority_id\",\"right\":\"capacity.revocation_authority_id\"},{\"op\":\"unique_by\",\"field\":\"credential_policies\",\"item_fields\":[\"revocation_policy_id\",\"revocation_policy_revision\"]},{\"op\":\"unique_by\",\"field\":\"issuer_authorizations\",\"item_fields\":[\"authorization_id\"]},{\"op\":\"unique_by\",\"field\":\"head_delegations\",\"item_fields\":[\"signer_key_id\"]},{\"op\":\"unique_by\",\"field\":\"activation_delegations\",\"item_fields\":[\"signing_key_id\"]},{\"op\":\"unique_by\",\"field\":\"once_authorities\",\"item_fields\":[\"artifact_issuer_key_id\"]}],\"TrustBootstrapResponse\":[{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"not_after_ms\"}]},\"text_rules\":{\"Leg\":[{\"op\":\"text_format\",\"field\":\"host\",\"format\":\"loopback_host\",\"when\":{\"field\":\"access_class\",\"value\":1}},{\"op\":\"origin_endpoint\",\"host\":\"host\",\"port\":\"port\",\"origin\":\"origin\",\"scheme\":\"http\",\"when\":{\"field\":\"access_class\",\"value\":1}}]}}";
15
- export const transportV4CBORSyntaxLimits = Object.freeze({ "maxDepth": 8, "maxMapEntries": 128, "ordinaryArrayItems": 1035, "maxFieldID": 65535 });
16
- export const transportV4StrictEd25519Policy = { "revision": 1, "source": "3.5.1", "algorithm": "PureEd25519", "public_key_bytes": 32, "signature_bytes": 64, "point_bytes": 32, "point_encoding": "rfc8032_canonical_roundtrip", "public_key_group": "nonidentity_prime_order", "commitment_group": "nonidentity_prime_order", "scalar_encoding": "little_endian_less_than_L", "equation": "uncofactored", "implicit_prehash": false, "signing_failure": "signature_generation_failed" };
17
- export const transportV4RevocationRegistry = { "maps": { "NamespaceCapacity": { "fields": { "0": { "name": "tenant_id", "type": "text", "pattern_ref": "security_id" }, "1": { "name": "revocation_authority_id", "type": "text", "pattern_ref": "security_id" }, "2": { "name": "capacity_schema_revision", "type": "text", "pattern_ref": "security_id" }, "3": { "name": "max_state_encoded_bytes", "type": "uint64", "min": 1 }, "4": { "name": "max_revoked_issuers", "type": "uint64", "min": 1 }, "5": { "name": "max_revoked_certificates", "type": "uint64", "min": 1 }, "6": { "name": "max_revoked_leases", "type": "uint64", "min": 1 }, "7": { "name": "max_cohort_policy_segments", "type": "uint64", "min": 1 }, "8": { "name": "max_head_encoded_bytes", "type": "uint64", "min": 1 }, "9": { "name": "max_trust_proof_bytes", "type": "uint64", "min": 1 }, "10": { "name": "max_trust_proof_entries", "type": "uint64", "min": 1 }, "11": { "name": "cohort_time_origin_ms", "type": "uint64" }, "12": { "name": "cohort_duration_ms", "type": "uint64", "min": 1 }, "13": { "name": "max_certificate_impact_ms", "type": "uint64", "min": 1 }, "14": { "name": "max_connection_impact_ms", "type": "uint64", "min": 1 } }, "required": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "max_encoded_bytes": 514, "deferred_constraints": ["Independent TrustConfig must authenticate this immutable namespace mapping. Structural validation neither authorizes subscription nor proves full State/index/workspace/cleanup capacity or deployment workload qualification."] }, "HeadSignerDelegation": { "fields": { "0": { "name": "schema_revision", "type": "text", "pattern_ref": "security_id" }, "1": { "name": "tenant_id", "type": "text", "pattern_ref": "security_id" }, "2": { "name": "revocation_authority_id", "type": "text", "pattern_ref": "security_id" }, "3": { "name": "namespace_capacity_digest", "type": "bytes", "length": 32 }, "4": { "name": "authority_generation", "type": "uint64" }, "5": { "name": "delegation_id", "type": "bytes", "length": 16 }, "6": { "name": "signer_key_id", "type": "bytes", "length": 16 }, "7": { "name": "signer_public_key", "type": "bytes", "length": 32 }, "8": { "name": "purpose", "type": "uint8", "const": 0 }, "9": { "name": "publication_policy_id", "type": "text", "pattern_ref": "security_id" }, "10": { "name": "publication_policy_revision", "type": "uint64" }, "11": { "name": "issued_at_ms", "type": "uint64" }, "12": { "name": "not_before_ms", "type": "uint64" }, "13": { "name": "not_after_ms", "type": "uint64" } }, "required": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "deferred_constraints": ["This entry is authenticated by the independent TrustConfig; it is not self-signed. Registry purpose 0 means revocation_head. Original independent authorization, fixed publication policy, capacity and trusted time remain mandatory."], "max_encoded_bytes": 683 }, "FreshnessHead": { "fields": { "0": { "name": "schema_revision", "type": "text", "pattern_ref": "security_id" }, "1": { "name": "tenant_id", "type": "text", "pattern_ref": "security_id" }, "2": { "name": "revocation_authority_id", "type": "text", "pattern_ref": "security_id" }, "3": { "name": "namespace_capacity_digest", "type": "bytes", "length": 32 }, "4": { "name": "authority_generation", "type": "uint64" }, "5": { "name": "credential_revocation_floors", "type": "array<uint64>", "min_items": 2, "max_items": 2 }, "6": { "name": "publication_policy_id", "type": "text", "pattern_ref": "security_id" }, "7": { "name": "publication_policy_revision", "type": "uint64" }, "8": { "name": "head_sequence", "type": "uint64", "min": 1 }, "9": { "name": "this_update_ms", "type": "uint64" }, "10": { "name": "next_update_ms", "type": "uint64" }, "11": { "name": "state_digest", "type": "bytes", "length": 32 }, "12": { "name": "state_encoded_bytes", "type": "uint64", "min": 1 }, "13": { "name": "signing_key_id", "type": "bytes", "length": 16 }, "14": { "name": "signer_delegation_digest", "type": "bytes", "length": 32 }, "15": { "name": "signature", "type": "bytes", "length": 64 } }, "required": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "signature_field": 15, "max_encoded_bytes": 795, "deferred_constraints": ["Verify independent root/delegation/signature, exact immutable capacity/publication/generation binding and trusted interval before accepting Head facts. Complete State matching, publication snapshot/time provenance and atomic observed/pinned/active continuity remain separate gates."] }, "PublicationPolicy": { "fields": { "0": { "name": "publication_policy_id", "type": "text", "pattern_ref": "security_id" }, "1": { "name": "publication_policy_revision", "type": "uint64" }, "2": { "name": "max_head_validity_ms", "type": "uint64", "min": 1 }, "3": { "name": "max_signer_lifetime_ms", "type": "uint64", "min": 1 } }, "required": [0, 1, 2, 3], "max_encoded_bytes": 162, "deferred_constraints": ["Independent TrustConfig must authenticate the exact immutable namespace mapping. Structural validation and numeric compatibility do not prove publication provenance, real service capacity or original authorization."] }, "CredentialRevocationPolicy": { "fields": { "0": { "name": "revocation_policy_id", "type": "text", "pattern_ref": "security_id" }, "1": { "name": "revocation_policy_revision", "type": "uint64" }, "2": { "name": "max_staleness_ms", "type": "uint64", "min": 1 }, "3": { "name": "max_head_signer_lifetime_ms", "type": "uint64", "min": 1 } }, "required": [0, 1, 2, 3], "max_encoded_bytes": 162, "deferred_constraints": ["Independent TrustConfig must authenticate this exact immutable reference. Its requirements apply through the complete original role-specific credential closure; policy names and revisions do not order security strength."] }, "RevokedCertificateEntry": { "fields": { "0": { "name": "certificate_digest", "type": "bytes", "length": 32 }, "1": { "name": "cohort", "type": "uint64" }, "2": { "name": "expires_at_ms", "type": "uint64" } }, "required": [0, 1, 2], "max_encoded_bytes": 56, "deferred_constraints": ["Complete original certificate digest/cohort/expiry evidence only. Namespace/generation, authenticated State membership, original certificate identity and safe retirement remain external."] }, "RevokedLeaseEntry": { "fields": { "0": { "name": "issuer_key_id", "type": "bytes", "length": 16 }, "1": { "name": "lease_id", "type": "bytes", "length": 16 }, "2": { "name": "artifact_digest", "type": "bytes", "length": 32 }, "3": { "name": "cohort", "type": "uint64" }, "4": { "name": "latest_impact_not_after_ms", "type": "uint64" } }, "required": [0, 1, 2, 3, 4], "max_encoded_bytes": 92, "deferred_constraints": ["Original parent Artifact evidence only. The containing authenticated State supplies namespace/generation. Full Session/activation/grant impact, permanent frontier installation, once retention and real reference exit remain external."] }, "IssuerAuthorizationImpact": { "fields": { "0": { "name": "authorization_digest", "type": "bytes", "length": 32 }, "1": { "name": "max_affected_cohorts", "type": "array", "min_items": 2, "max_items": 2, "items": { "type": "uint64", "nullable": true } }, "2": { "name": "signing_not_before_ms", "type": "uint64" }, "3": { "name": "signing_not_after_ms", "type": "uint64" } }, "required": [0, 1, 2, 3], "max_encoded_bytes": 76, "deferred_constraints": ["One immutable original credential issuance authorization. Positions are certificate then connection; null is valid only when independently authenticated purposes grant no authority for that class. Complete original permission history, same issuer/namespace attribution and permanent trust retirement are not established by this map."] }, "RevokedIssuerEntry": { "fields": { "0": { "name": "issuer_key_id", "type": "bytes", "length": 16 }, "1": { "name": "authorizations", "type": "array", "min_items": 1, "max_items_ref": "max_revoked_issuer_authorizations", "items": { "type": "map", "schema_ref": "IssuerAuthorizationImpact" } } }, "required": [0, 1], "max_encoded_bytes_ref": "max_state_encoded_bytes", "deferred_constraints": ["All original issuer/delegation authorization evidence for this revoked key, sorted by unique authorization_digest. Bounds derive only from independently authenticated NamespaceCapacity; completeness, original purpose and issuer/namespace/generation attribution require independent authenticated history. This entry does not authenticate membership, permit trust retirement or install GC authority."] }, "CohortPolicySegment": { "fields": { "0": { "name": "first_cohort", "type": "uint64" }, "1": { "name": "last_cohort", "type": "uint64" }, "2": { "name": "certificate_impact_ms", "type": "uint64", "min": 1, "optional": true }, "3": { "name": "connection_impact_ms", "type": "uint64", "min": 1, "optional": true } }, "required": [0, 1], "max_encoded_bytes": 41, "deferred_constraints": ["Immutable original segment; absent class is not governed. Capacity, checked grid/deadline arithmetic, per-class disjointness, authenticated credential selection and retirement require complete State context."] }, "RevocationState": { "fields": { "0": { "name": "schema_revision", "type": "text", "pattern_ref": "security_id" }, "1": { "name": "tenant_id", "type": "text", "pattern_ref": "security_id" }, "2": { "name": "revocation_authority_id", "type": "text", "pattern_ref": "security_id" }, "3": { "name": "namespace_capacity_digest", "type": "bytes", "length": 32 }, "4": { "name": "authority_generation", "type": "uint64" }, "5": { "name": "credential_revocation_floors", "type": "array<uint64>", "min_items": 2, "max_items": 2 }, "6": { "name": "publication_policy_id", "type": "text", "pattern_ref": "security_id" }, "7": { "name": "publication_policy_revision", "type": "uint64" }, "8": { "name": "revoked_issuers", "type": "array", "min_items": 0, "max_items_ref": "max_revoked_issuers", "items": { "type": "map", "schema_ref": "RevokedIssuerEntry" } }, "9": { "name": "revoked_certificates", "type": "array", "min_items": 0, "max_items_ref": "max_revoked_certificates", "items": { "type": "map", "schema_ref": "RevokedCertificateEntry" } }, "10": { "name": "revoked_leases", "type": "array", "min_items": 0, "max_items_ref": "max_revoked_leases", "items": { "type": "map", "schema_ref": "RevokedLeaseEntry" } }, "11": { "name": "cohort_policy_segments", "type": "array", "min_items": 0, "max_items_ref": "max_cohort_policy_segments", "items": { "type": "map", "schema_ref": "CohortPolicySegment" } } }, "required": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "max_encoded_bytes_ref": "max_state_encoded_bytes", "deferred_constraints": ["Complete original canonical bytes; Head authenticates the entire State digest. Per-class segment validation and exact Head/capacity bindings are contextual. Independently authenticated complete history, fixed trust/publication mappings, continuity, safe GC and physical subscription reservations remain mandatory."] } }, "rules": { "NamespaceCapacity": [], "HeadSignerDelegation": [{ "op": "less_or_equal", "left": "not_before_ms", "right": "issued_at_ms" }, { "op": "less_than", "left": "issued_at_ms", "right": "not_after_ms" }], "FreshnessHead": [{ "op": "less_than", "left": "this_update_ms", "right": "next_update_ms" }], "PublicationPolicy": [], "CredentialRevocationPolicy": [], "RevokedCertificateEntry": [], "RevokedLeaseEntry": [], "IssuerAuthorizationImpact": [{ "op": "less_than", "left": "signing_not_before_ms", "right": "signing_not_after_ms" }], "RevokedIssuerEntry": [{ "op": "increasing_tuple", "field": "authorizations", "item_fields": ["authorization_digest"] }], "CohortPolicySegment": [{ "op": "at_least_one", "fields": ["certificate_impact_ms", "connection_impact_ms"] }, { "op": "less_or_equal", "left": "first_cohort", "right": "last_cohort" }], "RevocationState": [{ "op": "increasing_tuple", "field": "revoked_issuers", "item_fields": ["issuer_key_id"] }, { "op": "increasing_tuple", "field": "revoked_certificates", "item_fields": ["certificate_digest"] }, { "op": "increasing_tuple", "field": "revoked_leases", "item_fields": ["issuer_key_id", "lease_id"] }, { "op": "increasing_cbor", "field": "cohort_policy_segments" }] }, "validation_parameters": { "max_state_encoded_bytes": { "type": "uint64", "source": "Independently authenticated immutable NamespaceCapacity; reference parser support is not a subscription resource reservation", "capacity_field": "max_state_encoded_bytes", "divisor": 1, "unit": "bytes" }, "max_revoked_issuer_authorizations": { "type": "uint64", "source": "NamespaceCapacity byte bound divided by the 44-byte minimum complete IssuerAuthorizationImpact; no separate wire capacity or per-key quota", "capacity_field": "max_state_encoded_bytes", "divisor": 44, "unit": "items" }, "max_revoked_issuers": { "type": "uint64", "source": "Count intersected with the same State byte envelope and minimum complete item size", "capacity_field": "max_revoked_issuers", "divisor": 1, "unit": "items", "byte_capacity_field": "max_state_encoded_bytes", "minimum_item_bytes": 65 }, "max_revoked_certificates": { "type": "uint64", "source": "Count intersected with the same State byte envelope and minimum complete item size", "capacity_field": "max_revoked_certificates", "divisor": 1, "unit": "items", "byte_capacity_field": "max_state_encoded_bytes", "minimum_item_bytes": 40 }, "max_revoked_leases": { "type": "uint64", "source": "Count intersected with the same State byte envelope and minimum complete item size", "capacity_field": "max_revoked_leases", "divisor": 1, "unit": "items", "byte_capacity_field": "max_state_encoded_bytes", "minimum_item_bytes": 76 }, "max_cohort_policy_segments": { "type": "uint64", "source": "Count intersected with the same State byte envelope and minimum complete item size", "capacity_field": "max_cohort_policy_segments", "divisor": 1, "unit": "items", "byte_capacity_field": "max_state_encoded_bytes", "minimum_item_bytes": 7 } } };
18
- export const transportV4ApplicationHeaders = { "header": { "fields": { "0": { "name": "message_kind", "type": "uint8", "enum_ref": "application_message_kinds" }, "1": { "name": "operation_id", "type": "bytes", "length": 32, "optional": true }, "2": { "name": "type_id", "type": "uint32", "min": 1 }, "3": { "name": "payload_length", "type": "uint32", "max": 1048576 }, "4": { "name": "request_digest", "type": "bytes", "length": 32, "optional": true }, "5": { "name": "deadline_at_ms", "type": "uint64", "optional": true }, "6": { "name": "service_contract_digest", "type": "bytes", "length": 32 }, "7": { "name": "admission_mode", "type": "uint8", "enum": { "queued": 0, "try_now": 1 }, "optional": true }, "8": { "name": "response_limit_bytes", "type": "uint32", "max": 1048576, "optional": true }, "9": { "name": "control_serial", "type": "uint64", "min": 1, "optional": true }, "10": { "name": "application_error_code", "type": "uint32", "min": 1, "optional": true } }, "required": [0, 2, 3, 6], "max_encoded_bytes": 512, "deferred_constraints": ["This shared grammar requires exact application-header variant presence and constants. Business and SDK errors bind the original request. Dedicated stream errors terminate output; Resume has exact request/response variants. No current contract, authentication, ownership or dispatch authority is established."] }, "kinds": { "resume_request": { "code": 50, "fields": [0, 1, 2, 3, 4, 5, 6, 7, 8], "max_encoded_bytes": 139 }, "resume_response": { "code": 51, "fields": [0, 1, 2, 3, 4, 6], "request": "resume_request", "max_encoded_bytes": 121 }, "resume_application_error": { "code": 52, "fields": [0, 1, 2, 3, 4, 6, 10], "request": "resume_request", "application_error": true, "max_encoded_bytes": 127 }, "execution_unary_sdk_error": { "code": 46, "fields": [0, 1, 2, 3, 4, 6], "request": "execution_unary_request", "sdk_error": true, "max_encoded_bytes": 119 }, "transient_unary_sdk_error": { "code": 47, "fields": [0, 2, 3, 6], "request": "transient_unary_request", "sdk_error": true, "max_encoded_bytes": 49 }, "query_contracts_sdk_error": { "code": 48, "fields": [0, 2, 3, 6], "request": "query_contracts_request", "sdk_error": true, "max_encoded_bytes": 49 }, "read_result_sdk_error": { "code": 49, "fields": [0, 2, 3, 6], "request": "read_result_request", "sdk_error": true, "max_encoded_bytes": 49 }, "execution_unary_application_error": { "code": 42, "fields": [0, 1, 2, 3, 4, 6, 10], "request": "execution_unary_request", "application_error": true, "max_encoded_bytes": 127 }, "execution_stream_application_error": { "code": 43, "fields": [0, 1, 2, 3, 4, 6, 10], "request": "execution_stream_request", "application_error": true, "max_encoded_bytes": 127 }, "transient_unary_application_error": { "code": 44, "fields": [0, 2, 3, 6, 10], "request": "transient_unary_request", "application_error": true, "max_encoded_bytes": 57 }, "transient_stream_application_error": { "code": 45, "fields": [0, 2, 3, 6, 10], "request": "transient_stream_request", "application_error": true, "max_encoded_bytes": 57 }, "execution_unary_request": { "code": 24, "fields": [0, 1, 2, 3, 4, 5, 6, 7, 8], "max_encoded_bytes": 139 }, "execution_stream_request": { "code": 25, "fields": [0, 1, 2, 3, 4, 5, 6, 7, 8], "max_encoded_bytes": 139 }, "execution_notify": { "code": 26, "fields": [0, 1, 2, 3, 4, 5, 6, 7, 8], "constants": { "8": 0 }, "max_encoded_bytes": 135 }, "execution_unary_response": { "code": 27, "fields": [0, 1, 2, 3, 4, 6], "request": "execution_unary_request", "max_encoded_bytes": 121 }, "execution_stream_item": { "code": 28, "fields": [0, 1, 2, 3, 4, 6], "request": "execution_stream_request", "max_encoded_bytes": 121 }, "transient_unary_request": { "code": 29, "fields": [0, 2, 3, 5, 6, 7, 8], "max_encoded_bytes": 69 }, "transient_stream_request": { "code": 30, "fields": [0, 2, 3, 5, 6, 7, 8], "max_encoded_bytes": 69 }, "transient_unary_response": { "code": 31, "fields": [0, 2, 3, 6], "request": "transient_unary_request", "max_encoded_bytes": 51 }, "transient_stream_item": { "code": 32, "fields": [0, 2, 3, 6], "request": "transient_stream_request", "max_encoded_bytes": 51 }, "observation_notify": { "code": 33, "fields": [0, 2, 3, 5, 6], "max_encoded_bytes": 61 }, "query_contracts_request": { "code": 34, "fields": [0, 2, 3, 5, 6], "max_encoded_bytes": 61 }, "query_contracts_response": { "code": 35, "fields": [0, 2, 3, 6], "request": "query_contracts_request", "max_encoded_bytes": 51 }, "read_result_request": { "code": 36, "fields": [0, 2, 3, 5, 6], "max_encoded_bytes": 61 }, "read_result_response": { "code": 37, "fields": [0, 2, 3, 6], "request": "read_result_request", "max_encoded_bytes": 51 }, "query_operation_request": { "code": 38, "fields": [0, 2, 3, 5, 6, 9], "max_encoded_bytes": 71 }, "query_operation_response": { "code": 39, "fields": [0, 2, 3, 6, 9], "request": "query_operation_request", "max_encoded_bytes": 61 }, "request_cancel_request": { "code": 40, "fields": [0, 2, 3, 5, 6, 9], "max_encoded_bytes": 71 }, "request_cancel_response": { "code": 41, "fields": [0, 2, 3, 6, 9], "request": "request_cancel_request", "max_encoded_bytes": 61 }, "execution_stream_sdk_error": { "code": 53, "fields": [0, 1, 2, 3, 4, 6], "max_encoded_bytes": 119, "request": "execution_stream_request", "sdk_error": true }, "transient_stream_sdk_error": { "code": 54, "fields": [0, 2, 3, 6], "max_encoded_bytes": 49, "request": "transient_stream_request", "sdk_error": true } }, "policy": { "status": "draft_business_and_rpc_stop_error_variants", "execution_requests": ["execution_unary_request", "execution_stream_request", "execution_notify", "resume_request"], "contract_variants": { "execution_unary_request": { "2": 0, "3": 1 }, "execution_stream_request": { "2": 1, "4": 1 }, "execution_notify": { "2": 2, "5": 1 }, "transient_unary_request": { "2": 0, "3": 0 }, "transient_stream_request": { "2": 1, "4": 0 }, "observation_notify": { "2": 2, "5": 0 }, "resume_request": { "2": 0, "3": 1 } }, "maximum_values": { "1": { "$bytes": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" }, "2": 4294967295, "3": 1048576, "4": { "$bytes": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" }, "5": { "$uint": "18446744073709551615" }, "6": { "$bytes": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" }, "7": 1, "8": 1048576, "9": { "$uint": "18446744073709551615" }, "10": 4294967295 }, "vector_mutations": ["missing_field", "forbidden_field", "unknown_kind", "unknown_field", "duplicate_field", "noncanonical_key", "reversed_fields", "truncated", "trailing"], "boundary": "Exact request, success/item, fixed read/management, business-error and SDK-error headers. Business errors obey original payload limits; the registered SDK error variants use the fixed small-error reservation. Streaming errors terminate the original dedicated stream without a new transport frame. Authentication, current routing, actual owners/resources, application codecs and dispatch remain external gates. Resume uses its own bounded request/result payloads on an already accepted target Stream; token trust, ownership and transaction facts remain external." }, "management": { "kind": "flowersec.execution-management.v4", "application_profile": "execution", "opener": 0, "metadata_bytes": 0, "initial_receive_limit": 16384, "lifetime_channels": 16, "running": 2, "pending": 2, "max_payload_bytes": 16384, "max_message_lifetime_ms": 30000, "methods": { "query": { "type": 1, "request_kind": "query_operation_request", "response_kind": "query_operation_response", "contract_fixture": "service_management_query", "contract_hex": "ae0074666c6f7765727365632f6d616e6167656d656e7401010200030006781d657865637574696f6e2d6d616e6167656d656e742d7461726765742f31077171756572792d6f7065726174696f6e2f310800091902000a1902000b1975300c19753015f417190400181b80", "contract_digest_hex": "de6e8126c8de71d55b648ac29fbec50c592a9bd6724364d4b3131a995b8e689a" }, "cancel": { "type": 2, "request_kind": "request_cancel_request", "response_kind": "request_cancel_response", "contract_fixture": "service_management_cancel", "contract_hex": "ae0074666c6f7765727365632f6d616e6167656d656e7401020200030006781d657865637574696f6e2d6d616e6167656d656e742d7461726765742f310770726571756573742d63616e63656c2f310800091902000a1902000b1975300c19753015f417190400181b80", "contract_digest_hex": "2c3d2c02ba817938e1e7c605c63730e64570617be4747ebf9b08790d26e19655" } } }, "notify": { "kind": "flowersec.notify.v4", "transport": "notify_reliable_ordered", "header_length_prefix_bytes": 2, "byte_order": "big_endian", "length_counts": "canonical_header_only", "min_header_bytes": 1, "max_header_bytes": 512, "max_payload_bytes": 1048576, "message_kinds": ["execution_notify", "observation_notify"], "metadata_bytes": 0, "channels_per_opener": 1, "subscribers_per_type": 32, "subscribers_per_session": 128, "pending_per_subscriber": 16, "running_per_subscriber": 1 }, "sdk_errors": { "status": "draft_rpc_and_stream_errors", "payload_schema": "ApplicationSDKError", "requests": ["execution_unary_request", "transient_unary_request", "query_contracts_request", "read_result_request", "execution_stream_request", "transient_stream_request"], "boundary": "Ordinary RPC stops and bounded service errors use the original ReplySlot and response association. Dedicated streaming SDK errors use the original single-item/error reservation, terminate output and are followed by CloseWrite; RPC ABORT/STOP codes are forbidden on streams. Complete-input, current authorization, exact service admission and publication gates remain mandatory. No code asserts global nonexecution, retry permission or delivery. Management and Resume errors remain separate. source_overflow is exclusive to dedicated streaming; it seals the original SDK event source without asserting nonexecution.", "refusal_codes": ["service_contract_mismatch", "response_limit_unsupported", "resource_exhausted", "method_unavailable", "permission_denied", "deadline_exceeded", "service_failed", "service_unavailable", "operation_conflict", "result_expired"], "stream_only_codes": ["source_overflow"] }, "sdk_error_codes": { "request_message_aborted": 1, "response_output_stopped": 2, "service_contract_mismatch": 3, "response_limit_unsupported": 4, "resource_exhausted": 5, "method_unavailable": 6, "permission_denied": 7, "deadline_exceeded": 8, "service_failed": 9, "service_unavailable": 10, "operation_conflict": 11, "result_expired": 12, "source_overflow": 13 }, "sdk_error_payload": { "fields": { "0": { "name": "code", "type": "uint16", "min": 1, "enum_ref": "application_sdk_error_codes" } }, "required": [0], "max_encoded_bytes": 256, "deferred_constraints": ["These codes describe ordinary RPC message stopping and bounded service refusals/errors; service errors require the original complete-input gate. Original channel/direction/reply serial and response-owner gates remain required. request_message_aborted confirms only incomplete input for this serial, without validating its declared execution digest or asserting global nonexecution. response_output_stopped ends output only. No raw cause, execution assertion, retry or dispatch authority is carried."] } };
19
- export const transportV4Domains = [{ "name": "connection_activation_delegation_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f636f6e6e656374696f6e2d61637469766174696f6e2d64656c65676174696f6e00", "input_schema": { "parts": [{ "name": "delegation", "encoding": "lp-map", "schema_ref": "ConnectionActivationDelegation", "projection": "full" }] }, "output_length": 32, "source": "3.9.1,4.1.1,6.2", "allocation": "registry_allocation" }, { "name": "resume_token_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f726573756d652d746f6b656e2f7369676e617475726500", "input_schema": { "parts": [{ "name": "token", "encoding": "lp-map", "schema_ref": "ResumeSignedToken", "projection": "without_signature" }] }, "output_length": 64, "source": "3.7.3,6.2", "allocation": "registry_allocation" }, { "name": "resume_token_mac", "operation": "hmac-sha256", "label_bytes": "666c6f7765727365632f76342f726573756d652d746f6b656e2f6d616300", "input_schema": { "parts": [{ "name": "token", "encoding": "lp-map", "schema_ref": "ResumeMACToken", "projection": "without_mac" }], "key": { "name": "recovery_key", "encoding": "raw", "length": 32 } }, "output_length": 32, "source": "3.7.3,6.2", "allocation": "registry_allocation" }, { "name": "revocation_state_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f7265766f636174696f6e2d737461746500", "input_schema": { "parts": [{ "name": "state", "encoding": "lp-map", "schema_ref": "RevocationState", "projection": "full" }] }, "output_length": 32, "source": "4.1.1,6.2", "allocation": "registry_allocation" }, { "name": "business_error_schema_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f6170706c69636174696f6e2d6572726f722d736368656d6100", "input_schema": { "parts": [{ "name": "error_schema", "encoding": "lp-bytes", "max_length": 8192 }] }, "output_length": 32, "source": "3.7.3,6.2", "allocation": "design_fixed" }, { "name": "namespace_capacity_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f6e616d6573706163652d636170616369747900", "input_schema": { "parts": [{ "name": "capacity", "encoding": "lp-map", "schema_ref": "NamespaceCapacity", "projection": "full" }] }, "output_length": 32, "source": "4.1.1,6.2", "allocation": "registry_allocation" }, { "name": "head_signer_delegation_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f686561642d7369676e65722d64656c65676174696f6e00", "input_schema": { "parts": [{ "name": "delegation", "encoding": "lp-map", "schema_ref": "HeadSignerDelegation", "projection": "full" }] }, "output_length": 32, "source": "4.1.1,6.2", "allocation": "registry_allocation" }, { "name": "freshness_head_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f66726573686e6573732d686561642d7369676e617475726500", "input_schema": { "parts": [{ "name": "head", "encoding": "lp-map", "schema_ref": "FreshnessHead", "projection": "without_signature" }] }, "output_length": 64, "source": "4.1.1,6.2", "allocation": "registry_allocation" }, { "name": "freshness_head_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f66726573686e6573732d686561642d64696765737400", "input_schema": { "parts": [{ "name": "head", "encoding": "lp-map", "schema_ref": "FreshnessHead", "projection": "full" }] }, "output_length": 32, "source": "4.1.1,6.2", "allocation": "registry_allocation" }, { "name": "execution_request_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f657865637574696f6e2d7265717565737400", "input_schema": { "parts": [{ "name": "contract", "encoding": "lp-map", "schema_ref": "ServiceContract", "projection": "full" }, { "name": "message_kind", "encoding": "u8", "enum": [24, 25, 26, 50] }, { "name": "operation_id", "encoding": "lp-bytes", "length": 32 }, { "name": "type_id", "encoding": "u32", "min": 1 }, { "name": "deadline_at_ms", "encoding": "u64" }, { "name": "admission_mode", "encoding": "u8", "enum": [0, 1] }, { "name": "response_limit_bytes", "encoding": "u32", "max": 1048576 }, { "name": "payload", "encoding": "lp-bytes", "max_length": 1048576 }] }, "output_length": 32, "source": "3.7.3,6.2", "allocation": "registry_allocation" }, { "name": "service_contract_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f736572766963652d636f6e747261637400", "input_schema": { "parts": [{ "name": "contract", "encoding": "lp-map", "schema_ref": "ServiceContract", "projection": "full" }] }, "output_length": 32, "source": "3.7.3,6.2", "allocation": "design_fixed" }, { "name": "typed_message_definition_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f74797065642d6d6573736167652d646566696e6974696f6e00", "input_schema": { "parts": [{ "name": "definition", "encoding": "lp-map", "schema_ref": "MessageStreamDefinition", "projection": "full" }] }, "output_length": 32, "source": "5.2.2,6.2", "allocation": "design_fixed" }, { "name": "retirement_batch_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f7265746972652d626174636800", "input_schema": { "parts": [{ "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "proposer_role", "encoding": "u8", "enum": [0, 1] }, { "name": "batch", "encoding": "lp-map", "schema_ref": "STREAM_ACK_RETIRE_BATCH", "projection": "full" }] }, "output_length": 32, "source": "3.7.5,6.2", "allocation": "design_fixed" }, { "name": "topup_request_digest", "operation": "sha256-raw", "label_bytes": "", "input_schema": { "parts": [{ "name": "request", "encoding": "lp-map", "schema_ref": "TopUpRequest", "projection": "without_fields_raw", "fields": ["binding_generation", "owner_fence_proof"] }] }, "output_length": 32, "source": "5.1,6.2", "allocation": "design_fixed" }, { "name": "topup_response_digest", "operation": "sha256-raw", "label_bytes": "", "input_schema": { "parts": [{ "name": "response", "encoding": "lp-map", "schema_ref": "TopUpResponse", "projection": "without_fields_raw", "fields": ["response_digest"] }] }, "output_length": 32, "source": "5.1,6.2", "allocation": "design_fixed" }, { "name": "topup_material_digest", "operation": "sha256-raw", "label_bytes": "", "input_schema": { "parts": [{ "name": "material", "encoding": "raw", "max_length": 65536 }] }, "output_length": 32, "source": "5.1,6.2", "allocation": "design_fixed" }, { "name": "topup_owner_fence_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76362f746f7075702d6f776e65722d66656e636500", "input_schema": { "parts": [{ "name": "proof", "encoding": "lp-map", "schema_ref": "OwnerFenceProof", "projection": "without_signature" }] }, "output_length": 64, "source": "5.1", "allocation": "design_fixed" }, { "name": "candidate_set_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f63616e6469646174652d73657400", "input_schema": { "parts": [{ "name": "selection", "encoding": "lp-map", "schema_ref": "PoolSelectionSet", "projection": "full" }] }, "output_length": 32, "source": "3.9.1,6.2", "allocation": "design_fixed" }, { "name": "route_set_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f726f7574652d73657400", "input_schema": { "parts": [{ "name": "selection", "encoding": "lp-map", "schema_ref": "PoolSelectionSet", "projection": "full" }] }, "output_length": 32, "source": "3.9.1,6.2", "allocation": "design_fixed" }, { "name": "artifact_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f61727469666163742f7369676e617475726500", "input_schema": { "parts": [{ "name": "artifact", "encoding": "lp-map", "schema_ref": "Artifact", "projection": "without_signature" }] }, "output_length": 64, "source": "3.3,6.2", "allocation": "registry_allocation" }, { "name": "artifact_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f61727469666163742d64696765737400", "input_schema": { "parts": [{ "name": "artifact", "encoding": "lp-map", "schema_ref": "Artifact", "projection": "full" }] }, "output_length": 32, "source": "3.3,6.2", "allocation": "registry_allocation" }, { "name": "session_contract_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f73657373696f6e2d636f6e747261637400", "input_schema": { "parts": [{ "name": "session_contract", "encoding": "lp-map", "schema_ref": "SessionContract", "projection": "full" }] }, "output_length": 32, "source": "3.3,3.6,6.2", "allocation": "registry_allocation" }, { "name": "grant_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f6772616e7400", "input_schema": { "parts": [{ "name": "grant", "encoding": "lp-map", "schema_ref": "Grant", "projection": "without_signature" }] }, "output_length": 32, "source": "3.6,6.2", "allocation": "design_fixed" }, { "name": "grant_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f6772616e742f7369676e617475726500", "input_schema": { "parts": [{ "name": "grant", "encoding": "lp-map", "schema_ref": "Grant", "projection": "without_signature" }] }, "output_length": 64, "source": "3.6,6.2", "allocation": "registry_allocation" }, { "name": "route_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f726f75746500", "input_schema": { "parts": [{ "name": "route", "encoding": "lp-map", "schema_ref": "Route", "projection": "full" }] }, "output_length": 32, "source": "3.3,6.2", "allocation": "design_fixed" }, { "name": "certificate_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f63657274696669636174652f7369676e617475726500", "input_schema": { "parts": [{ "name": "certificate", "encoding": "lp-map", "schema_ref": "IdentityCertificate", "projection": "without_signature" }] }, "output_length": 64, "source": "3.3,6.2", "allocation": "registry_allocation" }, { "name": "certificate_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f63657274696669636174652d64696765737400", "input_schema": { "parts": [{ "name": "certificate", "encoding": "lp-map", "schema_ref": "IdentityCertificate", "projection": "full" }] }, "output_length": 32, "source": "3.3", "allocation": "design_fixed" }, { "name": "activation_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f61637469766174696f6e5f617574686f72697a6174696f6e2f7369676e617475726500", "input_schema": { "parts": [{ "name": "authorization", "encoding": "lp-map", "schema_ref": "ActivationAuthorization", "projection": "without_signature" }] }, "output_length": 64, "source": "3.9.1", "allocation": "design_fixed" }, { "name": "activation_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f61637469766174696f6e5f617574686f72697a6174696f6e2f64696765737400", "input_schema": { "parts": [{ "name": "authorization", "encoding": "lp-map", "schema_ref": "ActivationAuthorization", "projection": "full" }] }, "output_length": 32, "source": "3.9.1", "allocation": "design_fixed" }, { "name": "fsb_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f667362342f7369676e617475726500", "input_schema": { "parts": [{ "name": "fsb", "encoding": "lp-map", "schema_ref": "FSB4", "projection": "without_signature" }] }, "output_length": 64, "source": "3.3,6.2", "allocation": "registry_allocation" }, { "name": "fsb_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f667362342f64696765737400", "input_schema": { "parts": [{ "name": "fsb", "encoding": "lp-map", "schema_ref": "FSB4", "projection": "full" }] }, "output_length": 32, "source": "3.3,3.5.2,6.2", "allocation": "registry_allocation" }, { "name": "fsa_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f667361342f7369676e617475726500", "input_schema": { "parts": [{ "name": "fsa", "encoding": "lp-map", "schema_ref": "FSA4", "projection": "without_signature" }] }, "output_length": 64, "source": "3.3,6.2", "allocation": "registry_allocation" }, { "name": "fsa_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f667361342f64696765737400", "input_schema": { "parts": [{ "name": "fsa", "encoding": "lp-map", "schema_ref": "FSA4", "projection": "full" }] }, "output_length": 32, "source": "3.3,3.5.2,6.2", "allocation": "registry_allocation" }, { "name": "admission_binding", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f61646d697373696f6e2d62696e64696e6700", "input_schema": { "parts": [{ "name": "fsb", "encoding": "lp-map", "schema_ref": "FSB4", "projection": "full" }] }, "output_length": 32, "source": "3.3", "allocation": "design_fixed" }, { "name": "transport_context_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f7472616e73706f72742d636f6e7465787400", "input_schema": { "parts": [{ "name": "context", "encoding": "lp-map", "schema_ref": "TransportContext", "projection": "full" }] }, "output_length": 32, "source": "3.4", "allocation": "design_fixed" }, { "name": "open_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f6f70656e00", "input_schema": { "parts": [{ "name": "open", "encoding": "lp-map", "schema_ref": "OPEN_STREAM", "projection": "without_open_digest" }] }, "output_length": 32, "source": "6.2", "allocation": "design_fixed" }, { "name": "ready_identity", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f72656164792d6964656e7469747900", "input_schema": { "parts": [{ "name": "proof", "encoding": "lp-map", "schema_ref": "ReadyProofInput", "projection": "full" }] }, "output_length": 64, "source": "3.5.2", "allocation": "design_fixed" }, { "name": "hello_transcript_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f68656c6c6f2d7472616e73637269707400", "input_schema": { "parts": [{ "name": "client_hello", "encoding": "lp-map", "schema_ref": "ClientHello", "projection": "full" }, { "name": "server_hello", "encoding": "lp-map", "schema_ref": "ServerHello", "projection": "full" }] }, "output_length": 32, "source": "3.3,6.2", "allocation": "registry_allocation" }, { "name": "noise_prologue", "operation": "noise-prologue", "label_bytes": "666c6f7765727365632f76342f6e6f6973652d70726f6c6f67756500", "input_schema": { "parts": [{ "encoding": "lp-ascii", "const_ref": "profile_revision" }, { "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "encoding": "u8", "const": 0 }, { "encoding": "u8", "const": 1 }, { "name": "context_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "fsb", "encoding": "lp-map", "schema_ref": "FSB4", "projection": "full" }, { "name": "fsa", "encoding": "lp-map", "schema_ref": "FSA4", "projection": "full" }] }, "output_length": null, "source": "3.5.2", "allocation": "design_fixed" }, { "name": "initial_root", "operation": "hkdf-expand", "label_bytes": "666c6f7765727365632f76342f696e697469616c2d726f6f7400", "input_schema": { "parts": [{ "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "context_digest", "encoding": "lp-bytes", "length": 32 }], "key": { "name": "split_i2r", "encoding": "raw", "length": 32 } }, "output_length": 32, "source": "3.5.2", "allocation": "design_fixed" }, { "name": "ready_key", "operation": "hkdf-expand", "label_bytes": "666c6f7765727365632f76342f72656164792d6b657900", "input_schema": { "parts": [{ "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "context_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "role", "encoding": "u8", "enum": [0, 1] }], "key": { "name": "epoch_root", "encoding": "raw", "length": 32 } }, "output_length": 32, "source": "3.5.2", "allocation": "design_fixed" }, { "name": "ready_mac", "operation": "hmac-sha256", "label_bytes": "666c6f7765727365632f76342f72656164792d6d616300", "input_schema": { "parts": [{ "name": "mac_input", "encoding": "lp-map", "schema_ref": "ReadyMACInput", "projection": "full" }], "key": { "name": "ready_key", "encoding": "raw", "length": 32 } }, "output_length": 32, "source": "3.5.2", "allocation": "design_fixed" }, { "name": "record_key", "operation": "hkdf-expand", "label_bytes": "666c6f7765727365632f76342f7265636f72642d6b657900", "input_schema": { "parts": [{ "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "epoch", "encoding": "u32" }, { "name": "direction", "encoding": "u8", "enum": [0, 1] }, { "name": "sequence_scope", "encoding": "u64" }], "key": { "name": "epoch_root", "encoding": "raw", "length": 32 } }, "output_length": 32, "source": "3.5.2", "allocation": "design_fixed" }, { "name": "record_aad", "operation": "aead-aad", "label_bytes": "666c6f7765727365632f76342f7265636f72642d61616400", "input_schema": { "parts": [{ "name": "envelope_header", "encoding": "raw", "length": 8 }, { "name": "record_header", "encoding": "raw", "length": 20 }, { "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "direction", "encoding": "u8", "enum": [0, 1] }] }, "output_length": null, "source": "3.5.2", "allocation": "design_fixed" }, { "name": "rekey_secret", "operation": "hkdf-expand", "label_bytes": "666c6f7765727365632f76342f72656b65792d73656372657400", "input_schema": { "parts": [{ "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "context_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "epoch", "encoding": "u32" }], "key": { "name": "epoch_root", "encoding": "raw", "length": 32 } }, "output_length": 32, "source": "3.8", "allocation": "design_fixed" }, { "name": "rekey_confirm_key", "operation": "hkdf-expand", "label_bytes": "666c6f7765727365632f76342f72656b65792d636f6e6669726d2d6b657900", "input_schema": { "parts": [{ "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "context_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "epoch", "encoding": "u32" }, { "name": "next_epoch", "encoding": "u32" }, { "name": "rekey_id", "encoding": "lp-bytes", "length": 16 }, { "name": "phase", "encoding": "u8", "enum": [1, 2, 3, 4] }, { "name": "role", "encoding": "u8", "enum": [0, 1] }], "key": { "name": "phase_base_key", "encoding": "raw", "length": 32 }, "relations": [{ "op": "successor", "left": "epoch", "right": "next_epoch" }, { "op": "allowed_pairs", "left": "phase", "right": "role", "pairs": [[1, 0], [2, 1], [3, 0], [4, 1]] }] }, "output_length": 32, "source": "3.8", "allocation": "design_fixed" }, { "name": "rekey_confirm_mac", "operation": "hmac-sha256", "label_bytes": "666c6f7765727365632f76342f72656b65792d636f6e6669726d2d6d616300", "input_schema": { "parts": [{ "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "context_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "epoch", "encoding": "u32" }, { "name": "next_epoch", "encoding": "u32" }, { "name": "phase", "encoding": "u8", "enum": [1, 2, 3, 4] }, { "name": "role", "encoding": "u8", "enum": [0, 1] }, { "name": "message", "encoding": "lp-map", "selector": "phase", "schema_cases": { "1": "REKEY_INIT", "2": "REKEY_REPLY", "3": "REKEY_COMMIT", "4": "REKEY_ACK" }, "projection": "without_mac", "bindings": { "phase": "phase", "next_epoch": "next_epoch" } }], "key": { "name": "phase_key", "encoding": "raw", "length": 32 }, "relations": [{ "op": "successor", "left": "epoch", "right": "next_epoch" }, { "op": "allowed_pairs", "left": "phase", "right": "role", "pairs": [[1, 0], [2, 1], [3, 0], [4, 1]] }] }, "output_length": 32, "source": "3.8", "allocation": "design_fixed" }, { "name": "rekey_init_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f72656b65792d696e69742d64696765737400", "input_schema": { "parts": [{ "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "epoch", "encoding": "u32" }, { "name": "init", "encoding": "lp-map", "schema_ref": "REKEY_INIT", "projection": "full" }] }, "output_length": 32, "source": "3.8", "allocation": "design_fixed" }, { "name": "rekey_transcript", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f72656b65792d7472616e73637269707400", "input_schema": { "parts": [{ "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "epoch", "encoding": "u32" }, { "name": "init", "encoding": "lp-map", "schema_ref": "REKEY_INIT", "projection": "full" }, { "name": "reply", "encoding": "lp-map", "schema_ref": "REKEY_REPLY", "projection": "full" }] }, "output_length": 32, "source": "3.8", "allocation": "design_fixed" }, { "name": "rekey_extract", "operation": "hkdf-extract", "label_bytes": "", "input_schema": { "parts": [], "salt": { "name": "rekey_secret", "encoding": "raw", "length": 32 }, "ikm": { "name": "dh", "encoding": "raw", "length": 32, "nonzero": true } }, "output_length": 32, "source": "3.8", "allocation": "design_fixed" }, { "name": "rekey_root", "operation": "hkdf-expand", "label_bytes": "666c6f7765727365632f76342f72656b65792d726f6f7400", "input_schema": { "parts": [{ "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "context_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "epoch", "encoding": "u32" }, { "name": "next_epoch", "encoding": "u32" }, { "name": "rekey_id", "encoding": "lp-bytes", "length": 16 }, { "name": "transcript_digest", "encoding": "lp-bytes", "length": 32 }], "key": { "name": "rekey_prk", "encoding": "raw", "length": 32 }, "relations": [{ "op": "successor", "left": "epoch", "right": "next_epoch" }] }, "output_length": 32, "source": "3.8", "allocation": "design_fixed" }, { "name": "grant_possession", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f6772616e742d706f7373657373696f6e00", "input_schema": { "parts": [{ "name": "grant_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "route_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "leg_id", "encoding": "lp-bytes", "length": 16 }, { "name": "pairing_id", "encoding": "lp-bytes", "length": 16 }, { "name": "hop_context", "encoding": "lp-map", "schema_ref": "HopChallengeContext", "projection": "full", "bindings": { "leg_id": "leg_id" }, "one_of_bindings": { "role": ["dialer_role", "listener_role"] } }, { "name": "role", "encoding": "u8", "enum": [0, 1, 2] }] }, "output_length": 64, "source": "3.6", "allocation": "design_fixed" }, { "name": "tls_exporter_raw", "operation": "tls-exporter", "label_bytes": "4558504f525445522d666c6f7765727365632d7634", "input_schema": { "parts": [{ "name": "artifact_digest", "encoding": "raw", "length": 32 }] }, "output_length": 32, "source": "3.4 RFC8446", "allocation": "external_standard" }, { "name": "tls_exporter_wt", "operation": "tls-exporter", "label_bytes": "4558504f525445522d5765625472616e73706f7274", "input_schema": { "parts": [{ "name": "connect_stream_id", "encoding": "u64", "max": "4611686018427387903", "multiple_of": 4 }, { "encoding": "hex", "hex": "154558504f525445522d666c6f7765727365632d763420" }, { "name": "artifact_digest", "encoding": "raw", "length": 32 }] }, "output_length": 32, "source": "3.4 WT-H3 draft-16 section4.8", "allocation": "external_standard" }, { "name": "credential_issuer_authorization_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f63726564656e7469616c2d6973737565722d617574686f72697a6174696f6e00", "input_schema": { "parts": [{ "name": "authorization", "encoding": "lp-map", "schema_ref": "CredentialIssuerAuthorization", "projection": "full" }] }, "output_length": 32, "source": "4.1.1,4.1.2,4.1.3,6.2", "allocation": "registry_allocation" }, { "name": "trust_config_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f74727573742d636f6e6669672f7369676e617475726500", "input_schema": { "parts": [{ "name": "config", "encoding": "lp-map", "schema_ref": "TrustConfig", "projection": "without_signature" }] }, "output_length": 64, "source": "4.1.1,4.1.2,4.1.3,6.2", "allocation": "registry_allocation" }, { "name": "trust_config_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f74727573742d636f6e6669672f64696765737400", "input_schema": { "parts": [{ "name": "config", "encoding": "lp-map", "schema_ref": "TrustConfig", "projection": "full" }] }, "output_length": 32, "source": "4.1.1,4.1.2,4.1.3,6.2", "allocation": "registry_allocation" }, { "name": "trust_bootstrap_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f74727573742d626f6f7473747261702f7369676e617475726500", "input_schema": { "parts": [{ "name": "response", "encoding": "lp-map", "schema_ref": "TrustBootstrapResponse", "projection": "without_signature" }] }, "output_length": 64, "source": "4.1.1,4.1.2,4.1.3,6.2", "allocation": "registry_allocation" }];
20
- export const transportV4DomainsJSON = "[{\"name\":\"connection_activation_delegation_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f636f6e6e656374696f6e2d61637469766174696f6e2d64656c65676174696f6e00\",\"input_schema\":{\"parts\":[{\"name\":\"delegation\",\"encoding\":\"lp-map\",\"schema_ref\":\"ConnectionActivationDelegation\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.9.1,4.1.1,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"resume_token_signature\",\"operation\":\"ed25519\",\"label_bytes\":\"666c6f7765727365632f76342f726573756d652d746f6b656e2f7369676e617475726500\",\"input_schema\":{\"parts\":[{\"name\":\"token\",\"encoding\":\"lp-map\",\"schema_ref\":\"ResumeSignedToken\",\"projection\":\"without_signature\"}]},\"output_length\":64,\"source\":\"3.7.3,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"resume_token_mac\",\"operation\":\"hmac-sha256\",\"label_bytes\":\"666c6f7765727365632f76342f726573756d652d746f6b656e2f6d616300\",\"input_schema\":{\"parts\":[{\"name\":\"token\",\"encoding\":\"lp-map\",\"schema_ref\":\"ResumeMACToken\",\"projection\":\"without_mac\"}],\"key\":{\"name\":\"recovery_key\",\"encoding\":\"raw\",\"length\":32}},\"output_length\":32,\"source\":\"3.7.3,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"revocation_state_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f7265766f636174696f6e2d737461746500\",\"input_schema\":{\"parts\":[{\"name\":\"state\",\"encoding\":\"lp-map\",\"schema_ref\":\"RevocationState\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"4.1.1,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"business_error_schema_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f6170706c69636174696f6e2d6572726f722d736368656d6100\",\"input_schema\":{\"parts\":[{\"name\":\"error_schema\",\"encoding\":\"lp-bytes\",\"max_length\":8192}]},\"output_length\":32,\"source\":\"3.7.3,6.2\",\"allocation\":\"design_fixed\"},{\"name\":\"namespace_capacity_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f6e616d6573706163652d636170616369747900\",\"input_schema\":{\"parts\":[{\"name\":\"capacity\",\"encoding\":\"lp-map\",\"schema_ref\":\"NamespaceCapacity\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"4.1.1,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"head_signer_delegation_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f686561642d7369676e65722d64656c65676174696f6e00\",\"input_schema\":{\"parts\":[{\"name\":\"delegation\",\"encoding\":\"lp-map\",\"schema_ref\":\"HeadSignerDelegation\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"4.1.1,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"freshness_head_signature\",\"operation\":\"ed25519\",\"label_bytes\":\"666c6f7765727365632f76342f66726573686e6573732d686561642d7369676e617475726500\",\"input_schema\":{\"parts\":[{\"name\":\"head\",\"encoding\":\"lp-map\",\"schema_ref\":\"FreshnessHead\",\"projection\":\"without_signature\"}]},\"output_length\":64,\"source\":\"4.1.1,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"freshness_head_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f66726573686e6573732d686561642d64696765737400\",\"input_schema\":{\"parts\":[{\"name\":\"head\",\"encoding\":\"lp-map\",\"schema_ref\":\"FreshnessHead\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"4.1.1,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"execution_request_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f657865637574696f6e2d7265717565737400\",\"input_schema\":{\"parts\":[{\"name\":\"contract\",\"encoding\":\"lp-map\",\"schema_ref\":\"ServiceContract\",\"projection\":\"full\"},{\"name\":\"message_kind\",\"encoding\":\"u8\",\"enum\":[24,25,26,50]},{\"name\":\"operation_id\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"type_id\",\"encoding\":\"u32\",\"min\":1},{\"name\":\"deadline_at_ms\",\"encoding\":\"u64\"},{\"name\":\"admission_mode\",\"encoding\":\"u8\",\"enum\":[0,1]},{\"name\":\"response_limit_bytes\",\"encoding\":\"u32\",\"max\":1048576},{\"name\":\"payload\",\"encoding\":\"lp-bytes\",\"max_length\":1048576}]},\"output_length\":32,\"source\":\"3.7.3,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"service_contract_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f736572766963652d636f6e747261637400\",\"input_schema\":{\"parts\":[{\"name\":\"contract\",\"encoding\":\"lp-map\",\"schema_ref\":\"ServiceContract\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.7.3,6.2\",\"allocation\":\"design_fixed\"},{\"name\":\"typed_message_definition_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f74797065642d6d6573736167652d646566696e6974696f6e00\",\"input_schema\":{\"parts\":[{\"name\":\"definition\",\"encoding\":\"lp-map\",\"schema_ref\":\"MessageStreamDefinition\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"5.2.2,6.2\",\"allocation\":\"design_fixed\"},{\"name\":\"retirement_batch_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f7265746972652d626174636800\",\"input_schema\":{\"parts\":[{\"name\":\"handshake_hash\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"profile\",\"encoding\":\"lp-ascii\",\"text_enum_ref\":\"crypto_profiles\"},{\"name\":\"proposer_role\",\"encoding\":\"u8\",\"enum\":[0,1]},{\"name\":\"batch\",\"encoding\":\"lp-map\",\"schema_ref\":\"STREAM_ACK_RETIRE_BATCH\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.7.5,6.2\",\"allocation\":\"design_fixed\"},{\"name\":\"topup_request_digest\",\"operation\":\"sha256-raw\",\"label_bytes\":\"\",\"input_schema\":{\"parts\":[{\"name\":\"request\",\"encoding\":\"lp-map\",\"schema_ref\":\"TopUpRequest\",\"projection\":\"without_fields_raw\",\"fields\":[\"binding_generation\",\"owner_fence_proof\"]}]},\"output_length\":32,\"source\":\"5.1,6.2\",\"allocation\":\"design_fixed\"},{\"name\":\"topup_response_digest\",\"operation\":\"sha256-raw\",\"label_bytes\":\"\",\"input_schema\":{\"parts\":[{\"name\":\"response\",\"encoding\":\"lp-map\",\"schema_ref\":\"TopUpResponse\",\"projection\":\"without_fields_raw\",\"fields\":[\"response_digest\"]}]},\"output_length\":32,\"source\":\"5.1,6.2\",\"allocation\":\"design_fixed\"},{\"name\":\"topup_material_digest\",\"operation\":\"sha256-raw\",\"label_bytes\":\"\",\"input_schema\":{\"parts\":[{\"name\":\"material\",\"encoding\":\"raw\",\"max_length\":65536}]},\"output_length\":32,\"source\":\"5.1,6.2\",\"allocation\":\"design_fixed\"},{\"name\":\"topup_owner_fence_signature\",\"operation\":\"ed25519\",\"label_bytes\":\"666c6f7765727365632f76362f746f7075702d6f776e65722d66656e636500\",\"input_schema\":{\"parts\":[{\"name\":\"proof\",\"encoding\":\"lp-map\",\"schema_ref\":\"OwnerFenceProof\",\"projection\":\"without_signature\"}]},\"output_length\":64,\"source\":\"5.1\",\"allocation\":\"design_fixed\"},{\"name\":\"candidate_set_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f63616e6469646174652d73657400\",\"input_schema\":{\"parts\":[{\"name\":\"selection\",\"encoding\":\"lp-map\",\"schema_ref\":\"PoolSelectionSet\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.9.1,6.2\",\"allocation\":\"design_fixed\"},{\"name\":\"route_set_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f726f7574652d73657400\",\"input_schema\":{\"parts\":[{\"name\":\"selection\",\"encoding\":\"lp-map\",\"schema_ref\":\"PoolSelectionSet\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.9.1,6.2\",\"allocation\":\"design_fixed\"},{\"name\":\"artifact_signature\",\"operation\":\"ed25519\",\"label_bytes\":\"666c6f7765727365632f76342f61727469666163742f7369676e617475726500\",\"input_schema\":{\"parts\":[{\"name\":\"artifact\",\"encoding\":\"lp-map\",\"schema_ref\":\"Artifact\",\"projection\":\"without_signature\"}]},\"output_length\":64,\"source\":\"3.3,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"artifact_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f61727469666163742d64696765737400\",\"input_schema\":{\"parts\":[{\"name\":\"artifact\",\"encoding\":\"lp-map\",\"schema_ref\":\"Artifact\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.3,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"session_contract_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f73657373696f6e2d636f6e747261637400\",\"input_schema\":{\"parts\":[{\"name\":\"session_contract\",\"encoding\":\"lp-map\",\"schema_ref\":\"SessionContract\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.3,3.6,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"grant_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f6772616e7400\",\"input_schema\":{\"parts\":[{\"name\":\"grant\",\"encoding\":\"lp-map\",\"schema_ref\":\"Grant\",\"projection\":\"without_signature\"}]},\"output_length\":32,\"source\":\"3.6,6.2\",\"allocation\":\"design_fixed\"},{\"name\":\"grant_signature\",\"operation\":\"ed25519\",\"label_bytes\":\"666c6f7765727365632f76342f6772616e742f7369676e617475726500\",\"input_schema\":{\"parts\":[{\"name\":\"grant\",\"encoding\":\"lp-map\",\"schema_ref\":\"Grant\",\"projection\":\"without_signature\"}]},\"output_length\":64,\"source\":\"3.6,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"route_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f726f75746500\",\"input_schema\":{\"parts\":[{\"name\":\"route\",\"encoding\":\"lp-map\",\"schema_ref\":\"Route\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.3,6.2\",\"allocation\":\"design_fixed\"},{\"name\":\"certificate_signature\",\"operation\":\"ed25519\",\"label_bytes\":\"666c6f7765727365632f76342f63657274696669636174652f7369676e617475726500\",\"input_schema\":{\"parts\":[{\"name\":\"certificate\",\"encoding\":\"lp-map\",\"schema_ref\":\"IdentityCertificate\",\"projection\":\"without_signature\"}]},\"output_length\":64,\"source\":\"3.3,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"certificate_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f63657274696669636174652d64696765737400\",\"input_schema\":{\"parts\":[{\"name\":\"certificate\",\"encoding\":\"lp-map\",\"schema_ref\":\"IdentityCertificate\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.3\",\"allocation\":\"design_fixed\"},{\"name\":\"activation_signature\",\"operation\":\"ed25519\",\"label_bytes\":\"666c6f7765727365632f76342f61637469766174696f6e5f617574686f72697a6174696f6e2f7369676e617475726500\",\"input_schema\":{\"parts\":[{\"name\":\"authorization\",\"encoding\":\"lp-map\",\"schema_ref\":\"ActivationAuthorization\",\"projection\":\"without_signature\"}]},\"output_length\":64,\"source\":\"3.9.1\",\"allocation\":\"design_fixed\"},{\"name\":\"activation_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f61637469766174696f6e5f617574686f72697a6174696f6e2f64696765737400\",\"input_schema\":{\"parts\":[{\"name\":\"authorization\",\"encoding\":\"lp-map\",\"schema_ref\":\"ActivationAuthorization\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.9.1\",\"allocation\":\"design_fixed\"},{\"name\":\"fsb_signature\",\"operation\":\"ed25519\",\"label_bytes\":\"666c6f7765727365632f76342f667362342f7369676e617475726500\",\"input_schema\":{\"parts\":[{\"name\":\"fsb\",\"encoding\":\"lp-map\",\"schema_ref\":\"FSB4\",\"projection\":\"without_signature\"}]},\"output_length\":64,\"source\":\"3.3,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"fsb_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f667362342f64696765737400\",\"input_schema\":{\"parts\":[{\"name\":\"fsb\",\"encoding\":\"lp-map\",\"schema_ref\":\"FSB4\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.3,3.5.2,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"fsa_signature\",\"operation\":\"ed25519\",\"label_bytes\":\"666c6f7765727365632f76342f667361342f7369676e617475726500\",\"input_schema\":{\"parts\":[{\"name\":\"fsa\",\"encoding\":\"lp-map\",\"schema_ref\":\"FSA4\",\"projection\":\"without_signature\"}]},\"output_length\":64,\"source\":\"3.3,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"fsa_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f667361342f64696765737400\",\"input_schema\":{\"parts\":[{\"name\":\"fsa\",\"encoding\":\"lp-map\",\"schema_ref\":\"FSA4\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.3,3.5.2,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"admission_binding\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f61646d697373696f6e2d62696e64696e6700\",\"input_schema\":{\"parts\":[{\"name\":\"fsb\",\"encoding\":\"lp-map\",\"schema_ref\":\"FSB4\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.3\",\"allocation\":\"design_fixed\"},{\"name\":\"transport_context_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f7472616e73706f72742d636f6e7465787400\",\"input_schema\":{\"parts\":[{\"name\":\"context\",\"encoding\":\"lp-map\",\"schema_ref\":\"TransportContext\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.4\",\"allocation\":\"design_fixed\"},{\"name\":\"open_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f6f70656e00\",\"input_schema\":{\"parts\":[{\"name\":\"open\",\"encoding\":\"lp-map\",\"schema_ref\":\"OPEN_STREAM\",\"projection\":\"without_open_digest\"}]},\"output_length\":32,\"source\":\"6.2\",\"allocation\":\"design_fixed\"},{\"name\":\"ready_identity\",\"operation\":\"ed25519\",\"label_bytes\":\"666c6f7765727365632f76342f72656164792d6964656e7469747900\",\"input_schema\":{\"parts\":[{\"name\":\"proof\",\"encoding\":\"lp-map\",\"schema_ref\":\"ReadyProofInput\",\"projection\":\"full\"}]},\"output_length\":64,\"source\":\"3.5.2\",\"allocation\":\"design_fixed\"},{\"name\":\"hello_transcript_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f68656c6c6f2d7472616e73637269707400\",\"input_schema\":{\"parts\":[{\"name\":\"client_hello\",\"encoding\":\"lp-map\",\"schema_ref\":\"ClientHello\",\"projection\":\"full\"},{\"name\":\"server_hello\",\"encoding\":\"lp-map\",\"schema_ref\":\"ServerHello\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.3,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"noise_prologue\",\"operation\":\"noise-prologue\",\"label_bytes\":\"666c6f7765727365632f76342f6e6f6973652d70726f6c6f67756500\",\"input_schema\":{\"parts\":[{\"encoding\":\"lp-ascii\",\"const_ref\":\"profile_revision\"},{\"name\":\"profile\",\"encoding\":\"lp-ascii\",\"text_enum_ref\":\"crypto_profiles\"},{\"encoding\":\"u8\",\"const\":0},{\"encoding\":\"u8\",\"const\":1},{\"name\":\"context_digest\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"fsb\",\"encoding\":\"lp-map\",\"schema_ref\":\"FSB4\",\"projection\":\"full\"},{\"name\":\"fsa\",\"encoding\":\"lp-map\",\"schema_ref\":\"FSA4\",\"projection\":\"full\"}]},\"output_length\":null,\"source\":\"3.5.2\",\"allocation\":\"design_fixed\"},{\"name\":\"initial_root\",\"operation\":\"hkdf-expand\",\"label_bytes\":\"666c6f7765727365632f76342f696e697469616c2d726f6f7400\",\"input_schema\":{\"parts\":[{\"name\":\"profile\",\"encoding\":\"lp-ascii\",\"text_enum_ref\":\"crypto_profiles\"},{\"name\":\"handshake_hash\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"context_digest\",\"encoding\":\"lp-bytes\",\"length\":32}],\"key\":{\"name\":\"split_i2r\",\"encoding\":\"raw\",\"length\":32}},\"output_length\":32,\"source\":\"3.5.2\",\"allocation\":\"design_fixed\"},{\"name\":\"ready_key\",\"operation\":\"hkdf-expand\",\"label_bytes\":\"666c6f7765727365632f76342f72656164792d6b657900\",\"input_schema\":{\"parts\":[{\"name\":\"profile\",\"encoding\":\"lp-ascii\",\"text_enum_ref\":\"crypto_profiles\"},{\"name\":\"handshake_hash\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"context_digest\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"role\",\"encoding\":\"u8\",\"enum\":[0,1]}],\"key\":{\"name\":\"epoch_root\",\"encoding\":\"raw\",\"length\":32}},\"output_length\":32,\"source\":\"3.5.2\",\"allocation\":\"design_fixed\"},{\"name\":\"ready_mac\",\"operation\":\"hmac-sha256\",\"label_bytes\":\"666c6f7765727365632f76342f72656164792d6d616300\",\"input_schema\":{\"parts\":[{\"name\":\"mac_input\",\"encoding\":\"lp-map\",\"schema_ref\":\"ReadyMACInput\",\"projection\":\"full\"}],\"key\":{\"name\":\"ready_key\",\"encoding\":\"raw\",\"length\":32}},\"output_length\":32,\"source\":\"3.5.2\",\"allocation\":\"design_fixed\"},{\"name\":\"record_key\",\"operation\":\"hkdf-expand\",\"label_bytes\":\"666c6f7765727365632f76342f7265636f72642d6b657900\",\"input_schema\":{\"parts\":[{\"name\":\"profile\",\"encoding\":\"lp-ascii\",\"text_enum_ref\":\"crypto_profiles\"},{\"name\":\"handshake_hash\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"epoch\",\"encoding\":\"u32\"},{\"name\":\"direction\",\"encoding\":\"u8\",\"enum\":[0,1]},{\"name\":\"sequence_scope\",\"encoding\":\"u64\"}],\"key\":{\"name\":\"epoch_root\",\"encoding\":\"raw\",\"length\":32}},\"output_length\":32,\"source\":\"3.5.2\",\"allocation\":\"design_fixed\"},{\"name\":\"record_aad\",\"operation\":\"aead-aad\",\"label_bytes\":\"666c6f7765727365632f76342f7265636f72642d61616400\",\"input_schema\":{\"parts\":[{\"name\":\"envelope_header\",\"encoding\":\"raw\",\"length\":8},{\"name\":\"record_header\",\"encoding\":\"raw\",\"length\":20},{\"name\":\"profile\",\"encoding\":\"lp-ascii\",\"text_enum_ref\":\"crypto_profiles\"},{\"name\":\"direction\",\"encoding\":\"u8\",\"enum\":[0,1]}]},\"output_length\":null,\"source\":\"3.5.2\",\"allocation\":\"design_fixed\"},{\"name\":\"rekey_secret\",\"operation\":\"hkdf-expand\",\"label_bytes\":\"666c6f7765727365632f76342f72656b65792d73656372657400\",\"input_schema\":{\"parts\":[{\"name\":\"profile\",\"encoding\":\"lp-ascii\",\"text_enum_ref\":\"crypto_profiles\"},{\"name\":\"handshake_hash\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"context_digest\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"epoch\",\"encoding\":\"u32\"}],\"key\":{\"name\":\"epoch_root\",\"encoding\":\"raw\",\"length\":32}},\"output_length\":32,\"source\":\"3.8\",\"allocation\":\"design_fixed\"},{\"name\":\"rekey_confirm_key\",\"operation\":\"hkdf-expand\",\"label_bytes\":\"666c6f7765727365632f76342f72656b65792d636f6e6669726d2d6b657900\",\"input_schema\":{\"parts\":[{\"name\":\"profile\",\"encoding\":\"lp-ascii\",\"text_enum_ref\":\"crypto_profiles\"},{\"name\":\"handshake_hash\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"context_digest\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"epoch\",\"encoding\":\"u32\"},{\"name\":\"next_epoch\",\"encoding\":\"u32\"},{\"name\":\"rekey_id\",\"encoding\":\"lp-bytes\",\"length\":16},{\"name\":\"phase\",\"encoding\":\"u8\",\"enum\":[1,2,3,4]},{\"name\":\"role\",\"encoding\":\"u8\",\"enum\":[0,1]}],\"key\":{\"name\":\"phase_base_key\",\"encoding\":\"raw\",\"length\":32},\"relations\":[{\"op\":\"successor\",\"left\":\"epoch\",\"right\":\"next_epoch\"},{\"op\":\"allowed_pairs\",\"left\":\"phase\",\"right\":\"role\",\"pairs\":[[1,0],[2,1],[3,0],[4,1]]}]},\"output_length\":32,\"source\":\"3.8\",\"allocation\":\"design_fixed\"},{\"name\":\"rekey_confirm_mac\",\"operation\":\"hmac-sha256\",\"label_bytes\":\"666c6f7765727365632f76342f72656b65792d636f6e6669726d2d6d616300\",\"input_schema\":{\"parts\":[{\"name\":\"profile\",\"encoding\":\"lp-ascii\",\"text_enum_ref\":\"crypto_profiles\"},{\"name\":\"handshake_hash\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"context_digest\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"epoch\",\"encoding\":\"u32\"},{\"name\":\"next_epoch\",\"encoding\":\"u32\"},{\"name\":\"phase\",\"encoding\":\"u8\",\"enum\":[1,2,3,4]},{\"name\":\"role\",\"encoding\":\"u8\",\"enum\":[0,1]},{\"name\":\"message\",\"encoding\":\"lp-map\",\"selector\":\"phase\",\"schema_cases\":{\"1\":\"REKEY_INIT\",\"2\":\"REKEY_REPLY\",\"3\":\"REKEY_COMMIT\",\"4\":\"REKEY_ACK\"},\"projection\":\"without_mac\",\"bindings\":{\"phase\":\"phase\",\"next_epoch\":\"next_epoch\"}}],\"key\":{\"name\":\"phase_key\",\"encoding\":\"raw\",\"length\":32},\"relations\":[{\"op\":\"successor\",\"left\":\"epoch\",\"right\":\"next_epoch\"},{\"op\":\"allowed_pairs\",\"left\":\"phase\",\"right\":\"role\",\"pairs\":[[1,0],[2,1],[3,0],[4,1]]}]},\"output_length\":32,\"source\":\"3.8\",\"allocation\":\"design_fixed\"},{\"name\":\"rekey_init_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f72656b65792d696e69742d64696765737400\",\"input_schema\":{\"parts\":[{\"name\":\"handshake_hash\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"profile\",\"encoding\":\"lp-ascii\",\"text_enum_ref\":\"crypto_profiles\"},{\"name\":\"epoch\",\"encoding\":\"u32\"},{\"name\":\"init\",\"encoding\":\"lp-map\",\"schema_ref\":\"REKEY_INIT\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.8\",\"allocation\":\"design_fixed\"},{\"name\":\"rekey_transcript\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f72656b65792d7472616e73637269707400\",\"input_schema\":{\"parts\":[{\"name\":\"handshake_hash\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"profile\",\"encoding\":\"lp-ascii\",\"text_enum_ref\":\"crypto_profiles\"},{\"name\":\"epoch\",\"encoding\":\"u32\"},{\"name\":\"init\",\"encoding\":\"lp-map\",\"schema_ref\":\"REKEY_INIT\",\"projection\":\"full\"},{\"name\":\"reply\",\"encoding\":\"lp-map\",\"schema_ref\":\"REKEY_REPLY\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"3.8\",\"allocation\":\"design_fixed\"},{\"name\":\"rekey_extract\",\"operation\":\"hkdf-extract\",\"label_bytes\":\"\",\"input_schema\":{\"parts\":[],\"salt\":{\"name\":\"rekey_secret\",\"encoding\":\"raw\",\"length\":32},\"ikm\":{\"name\":\"dh\",\"encoding\":\"raw\",\"length\":32,\"nonzero\":true}},\"output_length\":32,\"source\":\"3.8\",\"allocation\":\"design_fixed\"},{\"name\":\"rekey_root\",\"operation\":\"hkdf-expand\",\"label_bytes\":\"666c6f7765727365632f76342f72656b65792d726f6f7400\",\"input_schema\":{\"parts\":[{\"name\":\"profile\",\"encoding\":\"lp-ascii\",\"text_enum_ref\":\"crypto_profiles\"},{\"name\":\"handshake_hash\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"context_digest\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"epoch\",\"encoding\":\"u32\"},{\"name\":\"next_epoch\",\"encoding\":\"u32\"},{\"name\":\"rekey_id\",\"encoding\":\"lp-bytes\",\"length\":16},{\"name\":\"transcript_digest\",\"encoding\":\"lp-bytes\",\"length\":32}],\"key\":{\"name\":\"rekey_prk\",\"encoding\":\"raw\",\"length\":32},\"relations\":[{\"op\":\"successor\",\"left\":\"epoch\",\"right\":\"next_epoch\"}]},\"output_length\":32,\"source\":\"3.8\",\"allocation\":\"design_fixed\"},{\"name\":\"grant_possession\",\"operation\":\"ed25519\",\"label_bytes\":\"666c6f7765727365632f76342f6772616e742d706f7373657373696f6e00\",\"input_schema\":{\"parts\":[{\"name\":\"grant_digest\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"route_digest\",\"encoding\":\"lp-bytes\",\"length\":32},{\"name\":\"leg_id\",\"encoding\":\"lp-bytes\",\"length\":16},{\"name\":\"pairing_id\",\"encoding\":\"lp-bytes\",\"length\":16},{\"name\":\"hop_context\",\"encoding\":\"lp-map\",\"schema_ref\":\"HopChallengeContext\",\"projection\":\"full\",\"bindings\":{\"leg_id\":\"leg_id\"},\"one_of_bindings\":{\"role\":[\"dialer_role\",\"listener_role\"]}},{\"name\":\"role\",\"encoding\":\"u8\",\"enum\":[0,1,2]}]},\"output_length\":64,\"source\":\"3.6\",\"allocation\":\"design_fixed\"},{\"name\":\"tls_exporter_raw\",\"operation\":\"tls-exporter\",\"label_bytes\":\"4558504f525445522d666c6f7765727365632d7634\",\"input_schema\":{\"parts\":[{\"name\":\"artifact_digest\",\"encoding\":\"raw\",\"length\":32}]},\"output_length\":32,\"source\":\"3.4 RFC8446\",\"allocation\":\"external_standard\"},{\"name\":\"tls_exporter_wt\",\"operation\":\"tls-exporter\",\"label_bytes\":\"4558504f525445522d5765625472616e73706f7274\",\"input_schema\":{\"parts\":[{\"name\":\"connect_stream_id\",\"encoding\":\"u64\",\"max\":\"4611686018427387903\",\"multiple_of\":4},{\"encoding\":\"hex\",\"hex\":\"154558504f525445522d666c6f7765727365632d763420\"},{\"name\":\"artifact_digest\",\"encoding\":\"raw\",\"length\":32}]},\"output_length\":32,\"source\":\"3.4 WT-H3 draft-16 section4.8\",\"allocation\":\"external_standard\"},{\"name\":\"credential_issuer_authorization_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f63726564656e7469616c2d6973737565722d617574686f72697a6174696f6e00\",\"input_schema\":{\"parts\":[{\"name\":\"authorization\",\"encoding\":\"lp-map\",\"schema_ref\":\"CredentialIssuerAuthorization\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"4.1.1,4.1.2,4.1.3,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"trust_config_signature\",\"operation\":\"ed25519\",\"label_bytes\":\"666c6f7765727365632f76342f74727573742d636f6e6669672f7369676e617475726500\",\"input_schema\":{\"parts\":[{\"name\":\"config\",\"encoding\":\"lp-map\",\"schema_ref\":\"TrustConfig\",\"projection\":\"without_signature\"}]},\"output_length\":64,\"source\":\"4.1.1,4.1.2,4.1.3,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"trust_config_digest\",\"operation\":\"sha256\",\"label_bytes\":\"666c6f7765727365632f76342f74727573742d636f6e6669672f64696765737400\",\"input_schema\":{\"parts\":[{\"name\":\"config\",\"encoding\":\"lp-map\",\"schema_ref\":\"TrustConfig\",\"projection\":\"full\"}]},\"output_length\":32,\"source\":\"4.1.1,4.1.2,4.1.3,6.2\",\"allocation\":\"registry_allocation\"},{\"name\":\"trust_bootstrap_signature\",\"operation\":\"ed25519\",\"label_bytes\":\"666c6f7765727365632f76342f74727573742d626f6f7473747261702f7369676e617475726500\",\"input_schema\":{\"parts\":[{\"name\":\"response\",\"encoding\":\"lp-map\",\"schema_ref\":\"TrustBootstrapResponse\",\"projection\":\"without_signature\"}]},\"output_length\":64,\"source\":\"4.1.1,4.1.2,4.1.3,6.2\",\"allocation\":\"registry_allocation\"}]";
21
- export const transportV4FragmentRegistry = { "transport": "rpc_reliable_ordered", "length_prefix_bytes": 4, "length_counts": "kind_and_body", "max_fragment_bytes": 16384, "max_body_length": 16380, "kinds": { "BEGIN": { "value": 0, "body_fixed_bytes": 18, "body_min_bytes": 19, "body_max_bytes": 530, "payload": "canonical_header", "payload_min_bytes": 1, "payload_max_bytes": 512, "total_min_bytes": 24, "total_max_bytes": 535 }, "DATA": { "value": 1, "body_fixed_bytes": 12, "body_min_bytes": 13, "body_max_bytes": 16379, "payload": "payload_bytes", "payload_min_bytes": 1, "payload_max_bytes": 16367, "total_min_bytes": 18, "total_max_bytes": 16384 }, "ABORT": { "value": 2, "body_fixed_bytes": 12, "body_min_bytes": 12, "body_max_bytes": 12, "payload": null, "payload_min_bytes": 0, "payload_max_bytes": 0, "total_min_bytes": 17, "total_max_bytes": 17 }, "STOP_OUTPUT": { "value": 3, "body_fixed_bytes": 8, "body_min_bytes": 8, "body_max_bytes": 8, "payload": null, "payload_min_bytes": 0, "payload_max_bytes": 0, "total_min_bytes": 13, "total_max_bytes": 13 } } };
22
- export const transportV4FragmentStateRegistry = { "first_serial": 1, "serial_max": "18446744073709551615", "max_payload_bytes": 1048576, "retention": "live_request_reply_associations_only", "data_offset": "exact_next_offset", "abort": "incomplete_message_only", "stop_output": "validated_live_request_coalesce_or_stale_ignore", "capacity": "explicit_share_of_original_session_request_budget" };
23
- export const transportV4StreamStateRegistry = { "first_sequence": 0, "first_offset": 0, "client_ordinals": 2097168, "server_ordinals": 2097152, "business_lifetime": 1048576, "internal_lifetime": 1048576, "management_lifetime": 16, "pending_per_role": 128, "data_limit": "trusted_effective_reliable_limit", "credit": "monotonic_ack_and_receive_limit", "opening": "pending_until_explicit_outcome", "rejected_receive_limit": "exact_zero", "sequence": "uint64_no_wrap", "terminal": "immutable_per_direction_tuple", "terminal_capacity": 4096, "rejection_reserve": 128, "retirement": "authenticated_batch_ack_only", "barrier_cancellation": "trusted_client_prepare_or_closed_session", "bootstrap": { "profiles": ["services", "execution"], "scope": 1, "opener": 0, "kind": "flowersec.rpc.v4", "metadata_bytes": 0, "initial_receive_limit": 16384, "creation": "bootstrap_ready" } };
24
- export const transportV4ErrorCodes = { "error_codes": { "normal": 0, "protocol_violation": 1, "framing_error": 2, "authentication_failed": 3, "sequence_error": 4, "replay_detected": 5, "crypto_failure": 6, "rekey_failed": 7, "resource_exhausted": 8, "stream_sequence_error": 9, "stream_data_invalid": 10 }, "error_code_metadata": { "normal": { "scope": "none", "action": "none", "retry": "preserve_facts", "retryable": false, "source": "6.1" }, "protocol_violation": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" }, "framing_error": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" }, "authentication_failed": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" }, "sequence_error": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" }, "replay_detected": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" }, "crypto_failure": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" }, "rekey_failed": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": false, "source": "3.8,6.1" }, "resource_exhausted": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": true, "source": "3.7.5,6.1" }, "stream_sequence_error": { "scope": "stream", "action": "reset_stream", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" }, "stream_data_invalid": { "scope": "stream", "action": "reset_stream", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" } }, "admission_rejection_codes": { "activation_proof_invalid": 1, "admission_window_expired": 2, "reservation_conflict": 3, "server_capacity_unavailable": 4, "admission_store_unavailable": 5, "admission_commit_unknown": 6, "admission_epoch_unproven": 7, "reservation_expired": 8, "application_authorization_denied": 9 }, "admission_rejection_metadata": { "activation_proof_invalid": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3,6.1" }, "admission_window_expired": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3" }, "reservation_conflict": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3,3.9.1" }, "server_capacity_unavailable": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3,3.7.1" }, "admission_store_unavailable": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3,6.1" }, "admission_commit_unknown": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3,6.1" }, "admission_epoch_unproven": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3" }, "reservation_expired": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3,3.9.1" }, "application_authorization_denied": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "5.1" } }, "open_rejection_codes": { "resource_exhausted": 1, "metadata_invalid": 2, "kind_unavailable": 3, "application_rejected": 4, "draining": 5 }, "open_rejection_metadata": { "resource_exhausted": { "scope": "opening", "action": "reject_open", "retry": "preserve_facts", "source": "3.7.2,3.7.5" }, "metadata_invalid": { "scope": "opening", "action": "reject_open", "retry": "preserve_facts", "source": "3.7.2,6.1" }, "kind_unavailable": { "scope": "opening", "action": "reject_open", "retry": "preserve_facts", "source": "3.7.1,6.1" }, "application_rejected": { "scope": "opening", "action": "reject_open", "retry": "preserve_facts", "source": "3.7.3,6.1" }, "draining": { "scope": "opening", "action": "reject_open", "retry": "preserve_facts", "source": "3.7.6" } }, "top_up_wire_result": { "success": { "server_committed": true }, "replay": { "server_committed": true }, "source_exhausted": {}, "source_unavailable": {}, "source_contract_invalid": {}, "source_state_unknown": {}, "operation_conflict": {}, "stale_generation": {}, "future_generation": {}, "stale_operation": {}, "future_operation": {}, "sequence_gap": {}, "configuration_capacity": {}, "capacity_exhausted": {}, "relink_required": {}, "spent_unknown": {}, "top_up_request_expired": {}, "source_reset_required": {}, "permission_denied": { "scope": "source", "write_action": "none" } }, "top_up_error_metadata": { "source_exhausted": { "scope": "source", "write_actions": ["none"], "terminal_semantics": "call_only" }, "source_unavailable": { "scope": "source", "write_actions": ["none"], "terminal_semantics": "call_only" }, "source_contract_invalid": { "scope": "source", "write_actions": ["none"], "terminal_semantics": "call_only" }, "source_state_unknown": { "scope": "source", "write_actions": ["none"], "terminal_semantics": "authoritative_operation_facts_required" }, "operation_conflict": { "scope": "operation", "write_actions": ["none"], "terminal_semantics": "authoritative_operation_facts_required" }, "stale_generation": { "scope": "request", "write_actions": ["none"], "terminal_semantics": "authoritative_operation_facts_required" }, "future_generation": { "scope": "request", "write_actions": ["none"], "terminal_semantics": "authoritative_operation_facts_required" }, "stale_operation": { "scope": "operation", "write_actions": ["none"], "terminal_semantics": "authoritative_operation_facts_required" }, "future_operation": { "scope": "operation", "write_actions": ["none"], "terminal_semantics": "authoritative_operation_facts_required" }, "sequence_gap": { "scope": "operation", "write_actions": ["none"], "terminal_semantics": "authoritative_operation_facts_required" }, "configuration_capacity": { "scope": "request", "write_actions": ["none", "terminal"], "terminal_semantics": "authoritative_operation_facts_required" }, "capacity_exhausted": { "scope": "operation", "write_actions": ["none", "terminal"], "terminal_semantics": "authoritative_operation_facts_required" }, "relink_required": { "scope": "source", "write_actions": ["none", "terminal"], "terminal_semantics": "authoritative_operation_facts_required" }, "spent_unknown": { "scope": "source", "write_actions": ["none", "terminal"], "terminal_semantics": "authoritative_operation_facts_required" }, "top_up_request_expired": { "scope": "operation", "write_actions": ["none", "terminal"], "terminal_semantics": "authoritative_operation_facts_required" }, "source_reset_required": { "scope": "source", "write_actions": ["none", "terminal"], "terminal_semantics": "authoritative_operation_facts_required" }, "permission_denied": { "scope": "source", "write_actions": ["none"], "terminal_semantics": "call_only" } }, "error_registry_boundary": { "status": "draft_subset", "allocation": "Numeric codes are candidates under design 6.1/6.2, scoped to their named registry; no runtime dispatch is qualified.", "retry": "preserve_facts grants no replay, same-lease retry, automatic reconnect or execution authority. Subsequent actions require original owner and layered commit facts under 5.1/6.1. retryable only permits an optional retry_after_ms hint.", "admission": "FSA4 status=1 rejects this handshake, not the durable admission record. Store failure, unknown commit or unproven epoch never clears admitted/spent/unknown facts or restarts the original guard. These bytes require a valid original response/signing owner.", "locality": "Session ERROR codes apply only after the 3.5.2 attribution gate rules out local isolation. Stream ERROR codes require an existing trusted owner. Application/RPC/TopUp/local-only results never use this L0 registry.", "close": "ERROR action applies to ERROR only. CLOSE uses its target; GOAWAY seals admission while retaining existing streams. None of these frames replaces terminal proof. Normal code 0 carries no success or commit evidence." }, "frame_maps": { "ERROR": { "fields": { "0": { "name": "code", "type": "uint16", "enum_ref": "error_codes" }, "1": { "name": "target_scope", "type": "uint64" }, "2": { "name": "stream_id", "type": "uint64", "min": 1, "max": "9223372036854775807", "optional": true }, "3": { "name": "retry_after_ms", "type": "uint32", "optional": true } }, "required": [0, 1], "deferred_constraints": ["Apply the phase-specific attribution rules in 3.5.2, including pre-existing native association, authenticated WS DATA attribution and failures without trusted local ownership. Pre-READY responses convey no authenticated result. A retry hint grants no action authority or change to layered commit facts."] }, "CLOSE": { "fields": { "0": { "name": "reason", "type": "uint16", "enum_ref": "error_codes" }, "1": { "name": "target_scope", "type": "uint64", "max": "9223372036854775807" } }, "required": [0, 1], "deferred_constraints": ["A nonzero target must name an existing trusted Stream; CLOSE never substitutes for terminal proof."] }, "GOAWAY": { "fields": { "0": { "name": "accept_ceiling", "type": "uint64" }, "1": { "name": "reason", "type": "uint16", "enum_ref": "error_codes" } }, "required": [0, 1] }, "FSA4": { "max_encoded_bytes": 16384, "signature_field": 13, "fields": { "0": { "name": "status", "type": "uint8", "enum": { "admitted": 0, "rejected": 1 } }, "1": { "name": "code", "type": "uint16" }, "2": { "name": "server_epoch", "type": "uint64" }, "3": { "name": "reservation_key", "type": "bytes", "length": 32 }, "4": { "name": "admission_binding", "type": "bytes", "length": 32 }, "5": { "name": "route_digest", "type": "bytes", "length": 32 }, "6": { "name": "hello_transcript_digest", "type": "bytes", "length": 32 }, "7": { "name": "selected_features", "type": "uint64", "bitmask": 3 }, "8": { "name": "binding_mode", "type": "uint8", "enum": { "direct_exporter": 0, "authenticated_context": 1 } }, "9": { "name": "transport_context_digest", "type": "bytes", "length": 32 }, "10": { "name": "client_identity_digest", "type": "bytes", "length": 32 }, "11": { "name": "server_identity_digest", "type": "bytes", "length": 32 }, "12": { "name": "server_certificate", "type": "bytes", "max_bytes": 8192, "encoded_schema_ref": "IdentityCertificate" }, "13": { "name": "server_signature", "type": "bytes", "length": 64 } }, "required": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13] }, "OPEN_ACCEPT": { "fields": { "0": { "name": "stream_id", "type": "uint64", "min": 1, "max": "9223372036854775807" }, "1": { "name": "direction", "type": "uint8", "enum": { "c2s": 0, "s2c": 1 } }, "2": { "name": "result", "type": "uint8", "enum": { "accepted": 0, "rejected": 1 } }, "3": { "name": "open_epoch", "type": "uint32" }, "4": { "name": "open_sequence", "type": "uint64" }, "5": { "name": "open_digest", "type": "bytes", "length": 32 }, "6": { "name": "initial_receive_limit", "type": "uint64" }, "7": { "name": "final_epoch", "type": "uint32", "optional": true }, "8": { "name": "final_next_sequence", "type": "uint64", "optional": true }, "9": { "name": "final_offset", "type": "uint64", "optional": true }, "10": { "name": "variant", "type": "uint8", "const": 1 }, "11": { "name": "reason", "type": "uint16", "enum_ref": "open_rejection_codes", "optional": true } }, "required": [0, 1, 2, 3, 4, 5, 6, 10] } }, "map_rules": { "ERROR": [{ "op": "error_scope", "code_field": "code", "target_scope_field": "target_scope", "stream_id_field": "stream_id", "retry_after_field": "retry_after_ms" }], "CLOSE": [], "GOAWAY": [], "FSA4": [{ "op": "range", "field": "server_certificate.role", "min": 1, "max": 1 }, { "op": "variant", "discriminator": "status", "value": 0, "constants": { "code": 0 }, "nonzero": ["reservation_key", "admission_binding", "transport_context_digest", "client_identity_digest", "server_identity_digest"] }, { "op": "variant", "discriminator": "status", "value": 1, "constants": { "server_epoch": 0 }, "nonzero": ["code"], "zero_bytes": ["reservation_key", "admission_binding", "transport_context_digest", "client_identity_digest", "server_identity_digest"], "registered": { "code": "admission_rejection_codes" } }], "OPEN_ACCEPT": [{ "op": "range", "field": "stream_id", "min": 1, "max": "9223372036854775807" }, { "op": "range", "field": "direction", "min": 0, "max": 1 }, { "op": "range", "field": "open_sequence", "min": 0, "max": 0 }, { "op": "variant", "discriminator": "result", "value": 0, "absent": ["final_epoch", "final_next_sequence", "final_offset", "reason"] }, { "op": "variant", "discriminator": "result", "value": 1, "required": ["final_epoch", "final_next_sequence", "final_offset", "reason"], "constants": { "initial_receive_limit": 0, "final_next_sequence": 1, "final_offset": 0 }, "equal": [["final_epoch", "open_epoch"]], "nonzero": ["reason"] }] } };
25
- export const transportV4RekeyRegistry = { "REKEY_INIT": { "sender_role": 0, "mac_field": 5, "fields": { "0": { "name": "phase", "type": "uint8", "const": 1 }, "1": { "name": "rekey_id", "type": "bytes", "length": 16 }, "2": { "name": "next_epoch", "type": "uint32", "min": 1 }, "3": { "name": "client_ephemeral", "type": "bytes", "profile_public_key": true }, "4": { "name": "client_barrier", "type": "array", "min_items": 0, "max_items": 1035, "items": { "type": "map", "schema_ref": "RekeyBarrierEntry" } }, "5": { "name": "confirmation_mac", "type": "bytes", "length": 32 } }, "required": [0, 1, 2, 3, 4, 5] }, "REKEY_REPLY": { "sender_role": 1, "mac_field": 6, "fields": { "0": { "name": "phase", "type": "uint8", "const": 2 }, "1": { "name": "rekey_id", "type": "bytes", "length": 16 }, "2": { "name": "next_epoch", "type": "uint32", "min": 1 }, "3": { "name": "init_digest", "type": "bytes", "length": 32 }, "4": { "name": "server_ephemeral", "type": "bytes", "profile_public_key": true }, "5": { "name": "server_barrier", "type": "array", "min_items": 0, "max_items": 1035, "items": { "type": "map", "schema_ref": "RekeyBarrierEntry" } }, "6": { "name": "confirmation_mac", "type": "bytes", "length": 32 } }, "required": [0, 1, 2, 3, 4, 5, 6] }, "REKEY_COMMIT": { "max_encoded_bytes": 107, "sender_role": 0, "mac_field": 5, "fields": { "0": { "name": "phase", "type": "uint8", "const": 3 }, "1": { "name": "rekey_id", "type": "bytes", "length": 16 }, "2": { "name": "next_epoch", "type": "uint32", "min": 1 }, "3": { "name": "transcript_digest", "type": "bytes", "length": 32 }, "4": { "name": "old_maintenance_next_sequence", "type": "uint64" }, "5": { "name": "confirmation_mac", "type": "bytes", "length": 32 } }, "required": [0, 1, 2, 3, 4, 5] }, "REKEY_ACK": { "max_encoded_bytes": 107, "sender_role": 1, "mac_field": 5, "fields": { "0": { "name": "phase", "type": "uint8", "const": 4 }, "1": { "name": "rekey_id", "type": "bytes", "length": 16 }, "2": { "name": "next_epoch", "type": "uint32", "min": 1 }, "3": { "name": "transcript_digest", "type": "bytes", "length": 32 }, "4": { "name": "old_maintenance_next_sequence", "type": "uint64" }, "5": { "name": "confirmation_mac", "type": "bytes", "length": 32 } }, "required": [0, 1, 2, 3, 4, 5] }, "RekeyBarrierEntry": { "fields": { "0": { "name": "scope_id", "type": "uint64", "min": 1, "max": "9223372036854775807" }, "1": { "name": "next_sequence", "type": "uint64" } }, "required": [0, 1] } };
26
- export const transportV4ReadyRegistry = { "ReadyProofInput": { "fields": { "0": { "name": "role", "type": "uint8", "enum": { "client": 0, "server": 1 } }, "1": { "name": "crypto_profile_id", "type": "text", "text_enum_ref": "crypto_profiles" }, "2": { "name": "handshake_hash", "type": "bytes", "length": 32 }, "3": { "name": "fsb_digest", "type": "bytes", "length": 32 }, "4": { "name": "fsa_digest", "type": "bytes", "length": 32 }, "5": { "name": "transport_context_digest", "type": "bytes", "length": 32 }, "6": { "name": "admission_binding", "type": "bytes", "length": 32 }, "7": { "name": "certificate_digest", "type": "bytes", "length": 32 } }, "required": [0, 1, 2, 3, 4, 5, 6, 7] }, "ReadyMACInput": { "fields": { "0": { "name": "role", "type": "uint8", "enum": { "client": 0, "server": 1 } }, "1": { "name": "crypto_profile_id", "type": "text", "text_enum_ref": "crypto_profiles" }, "2": { "name": "handshake_hash", "type": "bytes", "length": 32 }, "3": { "name": "fsb_digest", "type": "bytes", "length": 32 }, "4": { "name": "fsa_digest", "type": "bytes", "length": 32 }, "5": { "name": "transport_context_digest", "type": "bytes", "length": 32 }, "6": { "name": "admission_binding", "type": "bytes", "length": 32 }, "7": { "name": "certificate_digest", "type": "bytes", "length": 32 }, "8": { "name": "selected_features", "type": "uint64", "bitmask": 3 }, "9": { "name": "identity_proof", "type": "bytes", "length": 64 } }, "required": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] }, "READY": { "encoded_bytes": 103, "fields": { "0": { "name": "identity_proof", "type": "bytes", "length": 64 }, "1": { "name": "confirmation_mac", "type": "bytes", "length": 32 } }, "required": [0, 1] } };
27
- export const transportV4RecordRegistry = { "envelope": { "prefix_bytes": 8, "layout": [{ "name": "payload_length", "type": "uint32_be", "max": 1048576 }, { "name": "frame_type", "type": "uint8", "enum_ref": "frame_types" }, { "name": "flags", "type": "uint8", "const": 0 }, { "name": "reserved", "type": "uint16_be", "const": 0 }], "payload_length_includes_prefix": false }, "header": [{ "name": "epoch", "type": "uint32_be" }, { "name": "sequence_scope", "type": "uint64_be" }, { "name": "sequence", "type": "uint64_be" }], "nonce": [{ "name": "epoch", "type": "uint32_be" }, { "name": "sequence", "type": "uint64_be" }], "profiles": { "fs4-kkpsk0-x25519-chachapoly-ed25519-sha256-1": { "dh_algorithm": 0, "noise_protocol_name": "Noise_KKpsk0_25519_ChaChaPoly_SHA256", "record_aead": "chacha20-poly1305", "dh_public_bytes": 32, "dh_secret_bytes": 32, "handshake_message_bytes": 48, "key_bytes": 32, "nonce_bytes": 12, "tag_bytes": 16 }, "fs4-kkpsk0-p256-aes256gcm-ed25519-sha256-1": { "dh_algorithm": 1, "noise_protocol_name": "Noise_KKpsk0_P256_AESGCM_SHA256", "record_aead": "aes-256-gcm", "dh_public_bytes": 65, "dh_secret_bytes": 32, "handshake_message_bytes": 81, "key_bytes": 32, "nonce_bytes": 12, "tag_bytes": 16 } }, "frame_types": { "NEGOTIATE": 1, "ADMISSION": 2, "ADMISSION_RESULT": 3, "HANDSHAKE": 4, "READY": 5, "REKEY": 6, "OPEN_STREAM": 7, "STREAM_DATA": 8, "STREAM_ACK": 9, "DATAGRAM": 10, "ERROR": 11, "CLOSE": 12, "GOAWAY": 13, "PING": 14, "PONG": 15, "HOP_AUTH": 16 }, "frame_classes": { "handshake_plain": ["NEGOTIATE", "ADMISSION", "ADMISSION_RESULT", "HANDSHAKE", "READY", "HOP_AUTH", "ERROR", "CLOSE"], "maintenance_record": ["REKEY", "STREAM_ACK"], "record_cipher": ["OPEN_STREAM", "STREAM_DATA", "DATAGRAM", "ERROR", "CLOSE", "GOAWAY", "PING", "PONG"] }, "resource_caps": { "contract_query_response_bytes_per_target": 9216, "max_payload_length": 1048576, "max_datagram_envelope": 1024, "max_datagram_payload": 949, "max_pending_datagrams": 64, "max_streams": 2097152, "max_pending_open_ceiling": 128, "ingress_staging": { "items": 128, "bytes": 524288, "work": 128 }, "await_open": { "items": 128, "bytes": 262144, "work": 128 }, "retire_batch_items": 1024, "scope_id": { "min": 1, "max": "9223372036854775807" }, "record_replay_window_bits": 256, "datagram_scope": "9223372036854775809", "max_pending_open_rule": { "operator": "min", "arguments": [128, "signed.max_streams"] } }, "streams": { "first_sequence": 0, "first_offset": 0, "client_ordinals": 2097168, "server_ordinals": 2097152, "business_lifetime": 1048576, "internal_lifetime": 1048576, "management_lifetime": 16, "pending_per_role": 128, "data_limit": "trusted_effective_reliable_limit", "credit": "monotonic_ack_and_receive_limit", "opening": "pending_until_explicit_outcome", "rejected_receive_limit": "exact_zero", "sequence": "uint64_no_wrap", "terminal": "immutable_per_direction_tuple", "terminal_capacity": 4096, "rejection_reserve": 128, "retirement": "authenticated_batch_ack_only", "barrier_cancellation": "trusted_client_prepare_or_closed_session", "bootstrap": { "profiles": ["services", "execution"], "scope": 1, "opener": 0, "kind": "flowersec.rpc.v4", "metadata_bytes": 0, "initial_receive_limit": 16384, "creation": "bootstrap_ready" } } };
28
- export const transportV4RecordRegistryJSON = "{\"envelope\":{\"prefix_bytes\":8,\"layout\":[{\"name\":\"payload_length\",\"type\":\"uint32_be\",\"max\":1048576},{\"name\":\"frame_type\",\"type\":\"uint8\",\"enum_ref\":\"frame_types\"},{\"name\":\"flags\",\"type\":\"uint8\",\"const\":0},{\"name\":\"reserved\",\"type\":\"uint16_be\",\"const\":0}],\"payload_length_includes_prefix\":false},\"header\":[{\"name\":\"epoch\",\"type\":\"uint32_be\"},{\"name\":\"sequence_scope\",\"type\":\"uint64_be\"},{\"name\":\"sequence\",\"type\":\"uint64_be\"}],\"nonce\":[{\"name\":\"epoch\",\"type\":\"uint32_be\"},{\"name\":\"sequence\",\"type\":\"uint64_be\"}],\"profiles\":{\"fs4-kkpsk0-x25519-chachapoly-ed25519-sha256-1\":{\"dh_algorithm\":0,\"noise_protocol_name\":\"Noise_KKpsk0_25519_ChaChaPoly_SHA256\",\"record_aead\":\"chacha20-poly1305\",\"dh_public_bytes\":32,\"dh_secret_bytes\":32,\"handshake_message_bytes\":48,\"key_bytes\":32,\"nonce_bytes\":12,\"tag_bytes\":16},\"fs4-kkpsk0-p256-aes256gcm-ed25519-sha256-1\":{\"dh_algorithm\":1,\"noise_protocol_name\":\"Noise_KKpsk0_P256_AESGCM_SHA256\",\"record_aead\":\"aes-256-gcm\",\"dh_public_bytes\":65,\"dh_secret_bytes\":32,\"handshake_message_bytes\":81,\"key_bytes\":32,\"nonce_bytes\":12,\"tag_bytes\":16}},\"frame_types\":{\"NEGOTIATE\":1,\"ADMISSION\":2,\"ADMISSION_RESULT\":3,\"HANDSHAKE\":4,\"READY\":5,\"REKEY\":6,\"OPEN_STREAM\":7,\"STREAM_DATA\":8,\"STREAM_ACK\":9,\"DATAGRAM\":10,\"ERROR\":11,\"CLOSE\":12,\"GOAWAY\":13,\"PING\":14,\"PONG\":15,\"HOP_AUTH\":16},\"frame_classes\":{\"handshake_plain\":[\"NEGOTIATE\",\"ADMISSION\",\"ADMISSION_RESULT\",\"HANDSHAKE\",\"READY\",\"HOP_AUTH\",\"ERROR\",\"CLOSE\"],\"maintenance_record\":[\"REKEY\",\"STREAM_ACK\"],\"record_cipher\":[\"OPEN_STREAM\",\"STREAM_DATA\",\"DATAGRAM\",\"ERROR\",\"CLOSE\",\"GOAWAY\",\"PING\",\"PONG\"]},\"resource_caps\":{\"contract_query_response_bytes_per_target\":9216,\"max_payload_length\":1048576,\"max_datagram_envelope\":1024,\"max_datagram_payload\":949,\"max_pending_datagrams\":64,\"max_streams\":2097152,\"max_pending_open_ceiling\":128,\"ingress_staging\":{\"items\":128,\"bytes\":524288,\"work\":128},\"await_open\":{\"items\":128,\"bytes\":262144,\"work\":128},\"retire_batch_items\":1024,\"scope_id\":{\"min\":1,\"max\":\"9223372036854775807\"},\"record_replay_window_bits\":256,\"datagram_scope\":\"9223372036854775809\",\"max_pending_open_rule\":{\"operator\":\"min\",\"arguments\":[128,\"signed.max_streams\"]}},\"streams\":{\"first_sequence\":0,\"first_offset\":0,\"client_ordinals\":2097168,\"server_ordinals\":2097152,\"business_lifetime\":1048576,\"internal_lifetime\":1048576,\"management_lifetime\":16,\"pending_per_role\":128,\"data_limit\":\"trusted_effective_reliable_limit\",\"credit\":\"monotonic_ack_and_receive_limit\",\"opening\":\"pending_until_explicit_outcome\",\"rejected_receive_limit\":\"exact_zero\",\"sequence\":\"uint64_no_wrap\",\"terminal\":\"immutable_per_direction_tuple\",\"terminal_capacity\":4096,\"rejection_reserve\":128,\"retirement\":\"authenticated_batch_ack_only\",\"barrier_cancellation\":\"trusted_client_prepare_or_closed_session\",\"bootstrap\":{\"profiles\":[\"services\",\"execution\"],\"scope\":1,\"opener\":0,\"kind\":\"flowersec.rpc.v4\",\"metadata_bytes\":0,\"initial_receive_limit\":16384,\"creation\":\"bootstrap_ready\"}}}";
29
- export const transportV4DH = { "PrivateBytes": 32, "SecretBytes": 32, "Failure": "dh_failed", "X25519PublicBytes": 32, "P256PublicBytes": 65, "ProfileX25519": "fs4-kkpsk0-x25519-chachapoly-ed25519-sha256-1", "ProfileP256": "fs4-kkpsk0-p256-aes256gcm-ed25519-sha256-1", "PolicyJSON": "{\"revision\":1,\"source\":\"3.5.1\",\"private_bytes\":32,\"secret_bytes\":32,\"failure\":\"dh_failed\",\"reject_zero_result\":true,\"mutate_inputs\":false,\"x25519\":{\"algorithm\":0,\"public_bytes\":32,\"remote\":\"exact_bytes_rfc7748\",\"local\":\"canonical_rfc7748\",\"scalar\":\"rfc7748_clamp\",\"transcript\":\"original_bytes\"},\"p256\":{\"algorithm\":1,\"public_bytes\":65,\"remote\":\"canonical_sec1_uncompressed_on_curve\",\"local\":\"canonical_sec1_uncompressed_on_curve\",\"scalar\":\"big_endian_1_to_n_minus_1\",\"secret\":\"big_endian_x_coordinate\"}}" };