@knpkv/control-center 0.3.0 → 0.4.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 (298) hide show
  1. package/README.md +52 -9
  2. package/dist/client/.vite/manifest.json +183 -170
  3. package/dist/client/assets/{ActiveWorkPage-DJQgGZeV.js → ActiveWorkPage-Dd1mxPrq.js} +2 -2
  4. package/dist/client/assets/{ActiveWorkPage-DJQgGZeV.js.map → ActiveWorkPage-Dd1mxPrq.js.map} +1 -1
  5. package/dist/client/assets/AgentPage-C3LThgPZ.js +3 -0
  6. package/dist/client/assets/AgentPage-C3LThgPZ.js.map +1 -0
  7. package/dist/client/assets/{AtlassianOAuthCallbackPage-D1F1xE_2.js → AtlassianOAuthCallbackPage-BPoF6oKf.js} +2 -2
  8. package/dist/client/assets/{AtlassianOAuthCallbackPage-D1F1xE_2.js.map → AtlassianOAuthCallbackPage-BPoF6oKf.js.map} +1 -1
  9. package/dist/client/assets/AuthorizedSharePage-jjqu6W_f.js +2 -0
  10. package/dist/client/assets/AuthorizedSharePage-jjqu6W_f.js.map +1 -0
  11. package/dist/client/assets/BrowserCrypto-BMbjhcvP.js +2 -0
  12. package/dist/client/assets/{BrowserCrypto-DVWR7DFd.js.map → BrowserCrypto-BMbjhcvP.js.map} +1 -1
  13. package/dist/client/assets/BrowserSessionHydrator-BC1ymLkL.js +2 -0
  14. package/dist/client/assets/BrowserSessionHydrator-BC1ymLkL.js.map +1 -0
  15. package/dist/client/assets/CommandSearch-WwAVDrD9.js +2 -0
  16. package/dist/client/assets/{CommandSearch-CP_QCbkm.js.map → CommandSearch-WwAVDrD9.js.map} +1 -1
  17. package/dist/client/assets/ItemsPage-CKK_KkJ2.js +2 -0
  18. package/dist/client/assets/{ItemsPage-BGFUkRL2.js.map → ItemsPage-CKK_KkJ2.js.map} +1 -1
  19. package/dist/client/assets/{PairPage-DIgzx0K2.js → PairPage-DA6cmyqF.js} +2 -2
  20. package/dist/client/assets/{PairPage-DIgzx0K2.js.map → PairPage-DA6cmyqF.js.map} +1 -1
  21. package/dist/client/assets/PortfolioOverview-CEI4gpXi.js +2 -0
  22. package/dist/client/assets/PortfolioOverview-CEI4gpXi.js.map +1 -0
  23. package/dist/client/assets/PullRequestReviewPanel-D7AKnwL-.js +6 -0
  24. package/dist/client/assets/PullRequestReviewPanel-D7AKnwL-.js.map +1 -0
  25. package/dist/client/assets/ReleaseRoute-CbPW3qUT.js +2 -0
  26. package/dist/client/assets/{ReleaseRoute-DXJ8Jg60.js.map → ReleaseRoute-CbPW3qUT.js.map} +1 -1
  27. package/dist/client/assets/ReleaseWorkset-BluAe7Sq.js +2 -0
  28. package/dist/client/assets/{ReleaseWorkset-Dtzalmji.js.map → ReleaseWorkset-BluAe7Sq.js.map} +1 -1
  29. package/dist/client/assets/ServicesPage-_B89DAvG.js +2 -0
  30. package/dist/client/assets/ServicesPage-_B89DAvG.js.map +1 -0
  31. package/dist/client/assets/TimelinePage-DvpgD8AY.js +2 -0
  32. package/dist/client/assets/TimelinePage-DvpgD8AY.js.map +1 -0
  33. package/dist/client/assets/WorkspaceEntityLink-DPj6MKI2.js +2 -0
  34. package/dist/client/assets/{WorkspaceEntityLink-AdZ_T-Wk.js.map → WorkspaceEntityLink-DPj6MKI2.js.map} +1 -1
  35. package/dist/client/assets/WorkspaceEntityRoute-B01fxxB3.js +3 -0
  36. package/dist/client/assets/WorkspaceEntityRoute-B01fxxB3.js.map +1 -0
  37. package/dist/client/assets/{WorkspaceHomeLink-XbKSPths.js → WorkspaceHomeLink-CkJfzO25.js} +2 -2
  38. package/dist/client/assets/{WorkspaceHomeLink-XbKSPths.js.map → WorkspaceHomeLink-CkJfzO25.js.map} +1 -1
  39. package/dist/client/assets/WorkspacePullRequestDetails-HwDgp12e.js +3 -0
  40. package/dist/client/assets/WorkspacePullRequestDetails-HwDgp12e.js.map +1 -0
  41. package/dist/client/assets/{WorkspaceReleaseLayout-cfboC5Qh.js → WorkspaceReleaseLayout-CGHi8eoo.js} +2 -2
  42. package/dist/client/assets/{WorkspaceReleaseLayout-cfboC5Qh.js.map → WorkspaceReleaseLayout-CGHi8eoo.js.map} +1 -1
  43. package/dist/client/assets/{WorkspaceSettingsPage-Fy7Wx8Y2.js → WorkspaceSettingsPage-DyoGiGJG.js} +2 -2
  44. package/dist/client/assets/{WorkspaceSettingsPage-Fy7Wx8Y2.js.map → WorkspaceSettingsPage-DyoGiGJG.js.map} +1 -1
  45. package/dist/client/assets/agent-api-CeONl_8w.js +19 -0
  46. package/dist/client/assets/agent-api-CeONl_8w.js.map +1 -0
  47. package/dist/client/assets/authenticatedMutationClient-DYaieXUe.js +2 -0
  48. package/dist/client/assets/{authenticatedMutationClient-Ccwguc3i.js.map → authenticatedMutationClient-DYaieXUe.js.map} +1 -1
  49. package/dist/client/assets/authorizedShareTransport-cxBoQzQ2.js +2 -0
  50. package/dist/client/assets/{authorizedShareTransport-DZHgFEkh.js.map → authorizedShareTransport-cxBoQzQ2.js.map} +1 -1
  51. package/dist/client/assets/client-DKS82kT_.js +5 -0
  52. package/dist/client/assets/client-DKS82kT_.js.map +1 -0
  53. package/dist/client/assets/connectionTestTransport-I_Ga9UNs.js +2 -0
  54. package/dist/client/assets/{connectionTestTransport-BQ55d6Me.js.map → connectionTestTransport-I_Ga9UNs.js.map} +1 -1
  55. package/dist/client/assets/index-C7_FDTU7.js +11 -0
  56. package/dist/client/assets/index-C7_FDTU7.js.map +1 -0
  57. package/dist/client/assets/{patterns-5N-j-AD2-BwypFm-e.js → patterns-5N-j-AD2-B9qgekXA.js} +2 -2
  58. package/dist/client/assets/{patterns-5N-j-AD2-BwypFm-e.js.map → patterns-5N-j-AD2-B9qgekXA.js.map} +1 -1
  59. package/dist/client/assets/{presentPortfolio-D3ZIcnqt.js → presentPortfolio-C_JsoSWg.js} +2 -2
  60. package/dist/client/assets/presentPortfolio-C_JsoSWg.js.map +1 -0
  61. package/dist/client/assets/{presentWorkspaceItems-Bmh4oEbH.js → presentWorkspaceItems-DboAfwGc.js} +2 -2
  62. package/dist/client/assets/{presentWorkspaceItems-Bmh4oEbH.js.map → presentWorkspaceItems-DboAfwGc.js.map} +1 -1
  63. package/dist/client/assets/{pullRequestReviewFailures-S74M-fOk.js → pullRequestReviewFailures-DHmYwffV.js} +2 -2
  64. package/dist/client/assets/{pullRequestReviewFailures-S74M-fOk.js.map → pullRequestReviewFailures-DHmYwffV.js.map} +1 -1
  65. package/dist/client/assets/pullRequestReviewThreadReplay-Vy1k53qE.js +2 -0
  66. package/dist/client/assets/pullRequestReviewThreadReplay-Vy1k53qE.js.map +1 -0
  67. package/dist/client/assets/releaseRoutes-t9uCfs5T.js +2 -0
  68. package/dist/client/assets/{releaseRoutes-BCuIdZyA.js.map → releaseRoutes-t9uCfs5T.js.map} +1 -1
  69. package/dist/client/assets/serviceOnboarding-DLINCon7.js +2 -0
  70. package/dist/client/assets/{serviceOnboarding-Jg_0yNjf.js.map → serviceOnboarding-DLINCon7.js.map} +1 -1
  71. package/dist/client/assets/{useWorkspaceDefaultLanding-CzlDdEF-.js → useWorkspaceDefaultLanding-CC5ImHkL.js} +3 -3
  72. package/dist/client/assets/{useWorkspaceDefaultLanding-CzlDdEF-.js.map → useWorkspaceDefaultLanding-CC5ImHkL.js.map} +1 -1
  73. package/dist/client/assets/{useWorkspaceItems-Cd3MPke2.js → useWorkspaceItems-B1X-JNwq.js} +2 -2
  74. package/dist/client/assets/{useWorkspaceItems-Cd3MPke2.js.map → useWorkspaceItems-B1X-JNwq.js.map} +1 -1
  75. package/dist/client/assets/workspaceEntityRoutes-2TejMrzb.js +2 -0
  76. package/dist/client/assets/workspaceEntityRoutes-2TejMrzb.js.map +1 -0
  77. package/dist/client/assets/workspaceScrollCapture-BsjcWVsk.js +2 -0
  78. package/dist/client/assets/workspaceScrollCapture-BsjcWVsk.js.map +1 -0
  79. package/dist/client/assets/workspaceSettingsTransport-Dw2hueXv.js +2 -0
  80. package/dist/client/assets/{workspaceSettingsTransport-CZWYL5T7.js.map → workspaceSettingsTransport-Dw2hueXv.js.map} +1 -1
  81. package/dist/client/build-graph.json +17 -0
  82. package/dist/client/index.html +1 -1
  83. package/dist/server/api/agent.d.ts +563 -44
  84. package/dist/server/api/agent.d.ts.map +1 -1
  85. package/dist/server/api/deliveryGraph.d.ts +454 -454
  86. package/dist/server/api/index.d.ts +1 -1
  87. package/dist/server/api/index.d.ts.map +1 -1
  88. package/dist/server/api/index.js +4 -4
  89. package/dist/server/api/liveEvents.d.ts +20 -0
  90. package/dist/server/api/liveEvents.d.ts.map +1 -1
  91. package/dist/server/api/portfolio.d.ts +23 -0
  92. package/dist/server/api/portfolio.d.ts.map +1 -1
  93. package/dist/server/api/shares.d.ts +2 -2
  94. package/dist/server/assets/{BindConfig-DIsf2Rnh.js → BindConfig-Bj282xDC.js} +2094 -290
  95. package/dist/server/assets/BindConfig-Bj282xDC.js.map +1 -0
  96. package/dist/server/assets/{CodePipelineStateDecoder-CVf1A2zG.js → CodePipelineStateDecoder-CNiFRgSi.js} +2 -2
  97. package/dist/server/assets/{CodePipelineStateDecoder-CVf1A2zG.js.map → CodePipelineStateDecoder-CNiFRgSi.js.map} +1 -1
  98. package/dist/server/assets/{agent-CyZ40zs1.js → agent-ZvwskOQu.js} +160 -10
  99. package/dist/server/assets/agent-ZvwskOQu.js.map +1 -0
  100. package/dist/server/assets/{controlCenterApi-ZUX3Y-LE.js → controlCenterApi-5j3gOXgE.js} +5 -5
  101. package/dist/server/assets/{controlCenterApi-ZUX3Y-LE.js.map → controlCenterApi-5j3gOXgE.js.map} +1 -1
  102. package/dist/server/assets/{descriptor-CKtTnhef.js → descriptor-CCvNzSZL.js} +10 -10
  103. package/dist/server/assets/{descriptor-CKtTnhef.js.map → descriptor-CCvNzSZL.js.map} +1 -1
  104. package/dist/server/assets/{failures-mgYDkUZy.js → failures-CesHLYbN.js} +2 -2
  105. package/dist/server/assets/{failures-mgYDkUZy.js.map → failures-CesHLYbN.js.map} +1 -1
  106. package/dist/server/assets/{firstPartyServices-D7b8BOek.js → firstPartyServices-Cdzjcs2H.js} +2 -2
  107. package/dist/server/assets/{firstPartyServices-D7b8BOek.js.map → firstPartyServices-Cdzjcs2H.js.map} +1 -1
  108. package/dist/server/assets/{manualPluginSynchronization-DFlhKvav.js → manualPluginSynchronization-CzIhZ_Dw.js} +5 -5
  109. package/dist/server/assets/{manualPluginSynchronization-DFlhKvav.js.map → manualPluginSynchronization-CzIhZ_Dw.js.map} +1 -1
  110. package/dist/server/assets/{plugins-D__oMDpI.js → plugins-DiPrfzV8.js} +2 -2
  111. package/dist/server/assets/{plugins-D__oMDpI.js.map → plugins-DiPrfzV8.js.map} +1 -1
  112. package/dist/server/assets/{readiness-BhA-Nr9c.js → readiness-BtntBhDj.js} +3 -3
  113. package/dist/server/assets/{readiness-BhA-Nr9c.js.map → readiness-BtntBhDj.js.map} +1 -1
  114. package/dist/server/assets/{relationshipInferenceMaterialization-DYBcaWhQ.js → relationshipInferenceMaterialization-CR6xyMNL.js} +1121 -159
  115. package/dist/server/assets/relationshipInferenceMaterialization-CR6xyMNL.js.map +1 -0
  116. package/dist/server/assets/{workspaceSettings-BE713Oe8.js → workspaceSettings-C2Zsk6RI.js} +2784 -2700
  117. package/dist/server/assets/workspaceSettings-C2Zsk6RI.js.map +1 -0
  118. package/dist/server/build-graph.json +117 -4
  119. package/dist/server/domain/actors.d.ts +12 -12
  120. package/dist/server/domain/deliveryGraph.d.ts +49 -49
  121. package/dist/server/domain/governedAction/bindings.d.ts +24 -12
  122. package/dist/server/domain/governedAction/bindings.d.ts.map +1 -1
  123. package/dist/server/domain/governedAction/lifecycle.d.ts +8 -8
  124. package/dist/server/domain/governedAction/model.d.ts +39 -18
  125. package/dist/server/domain/governedAction/model.d.ts.map +1 -1
  126. package/dist/server/domain/governedAction/stateMachine.d.ts +34 -34
  127. package/dist/server/domain/index.js +6 -6
  128. package/dist/server/domain/normalizedIssue.d.ts +1 -1
  129. package/dist/server/domain/prReview.d.ts +38 -0
  130. package/dist/server/domain/prReview.d.ts.map +1 -1
  131. package/dist/server/domain/prReviewReconciliation.d.ts +56 -0
  132. package/dist/server/domain/prReviewReconciliation.d.ts.map +1 -0
  133. package/dist/server/domain/prReviewRevision.d.ts +1 -0
  134. package/dist/server/domain/prReviewRevision.d.ts.map +1 -1
  135. package/dist/server/domain/readiness/model.d.ts +3 -3
  136. package/dist/server/domain/release.d.ts +3 -3
  137. package/dist/server/domain/releasePublication.d.ts +4 -0
  138. package/dist/server/domain/releasePublication.d.ts.map +1 -0
  139. package/dist/server/index.js +8 -8
  140. package/dist/server/server/agent/AgentJobWorker.d.ts +10 -1
  141. package/dist/server/server/agent/AgentJobWorker.d.ts.map +1 -1
  142. package/dist/server/server/agent/ReleaseAgentPrompt.d.ts.map +1 -1
  143. package/dist/server/server/agent/internal/AgentJobTaskExecutor.d.ts +4 -3
  144. package/dist/server/server/agent/internal/AgentJobTaskExecutor.d.ts.map +1 -1
  145. package/dist/server/server/agent/internal/PrReviewSandboxSession.d.ts +17 -1
  146. package/dist/server/server/agent/internal/PrReviewSandboxSession.d.ts.map +1 -1
  147. package/dist/server/server/agent/internal/PrReviewTaskExecutor.d.ts +76 -2
  148. package/dist/server/server/agent/internal/PrReviewTaskExecutor.d.ts.map +1 -1
  149. package/dist/server/server/agent/internal/PrReviewTelemetry.d.ts +27 -0
  150. package/dist/server/server/agent/internal/PrReviewTelemetry.d.ts.map +1 -0
  151. package/dist/server/server/api/ApplicationServices.d.ts +39 -5
  152. package/dist/server/server/api/ApplicationServices.d.ts.map +1 -1
  153. package/dist/server/server/api/Handlers.d.ts.map +1 -1
  154. package/dist/server/server/api/RequestBoundary.d.ts.map +1 -1
  155. package/dist/server/server/application/GovernedReviewSuggestionPublicationGateway.d.ts.map +1 -1
  156. package/dist/server/server/application/ReviewSuggestionPublicationGateway.d.ts +4 -0
  157. package/dist/server/server/application/ReviewSuggestionPublicationGateway.d.ts.map +1 -1
  158. package/dist/server/server/application/index.d.ts +1 -0
  159. package/dist/server/server/application/index.d.ts.map +1 -1
  160. package/dist/server/server/application/liveEvents.d.ts.map +1 -1
  161. package/dist/server/server/application/pipelineExecutionProjection.d.ts +6 -6
  162. package/dist/server/server/application/portfolioSnapshots.d.ts +2014 -4
  163. package/dist/server/server/application/portfolioSnapshots.d.ts.map +1 -1
  164. package/dist/server/server/application/pullRequestReviews.d.ts.map +1 -1
  165. package/dist/server/server/application/releaseAgent.d.ts +11 -3
  166. package/dist/server/server/application/releaseAgent.d.ts.map +1 -1
  167. package/dist/server/server/application/releasePublicationIntent.d.ts +7 -0
  168. package/dist/server/server/application/releasePublicationIntent.d.ts.map +1 -0
  169. package/dist/server/server/application/releasePublicationMetadata.d.ts +61 -0
  170. package/dist/server/server/application/releasePublicationMetadata.d.ts.map +1 -0
  171. package/dist/server/server/application/releasePublicationSubmissions.d.ts +3699 -0
  172. package/dist/server/server/application/releasePublicationSubmissions.d.ts.map +1 -0
  173. package/dist/server/server/application/releaseSynchronization.d.ts.map +1 -1
  174. package/dist/server/server/cli.js +8 -8
  175. package/dist/server/server/cli.js.map +1 -1
  176. package/dist/server/server/governance/governedActionDigests.d.ts +233 -218
  177. package/dist/server/server/governance/governedActionDigests.d.ts.map +1 -1
  178. package/dist/server/server/governance/internal/GovernedActionExecutionEngine.d.ts +3 -4
  179. package/dist/server/server/governance/internal/GovernedActionExecutionEngine.d.ts.map +1 -1
  180. package/dist/server/server/governance/internal/execution-store/begin.d.ts.map +1 -1
  181. package/dist/server/server/governance/internal/execution-store/dispatch-inbox.d.ts +1 -1
  182. package/dist/server/server/governance/internal/execution-store/dispatch-outcome.d.ts +8 -8
  183. package/dist/server/server/governance/internal/execution-store/provider-outcome-fold.d.ts +2 -2
  184. package/dist/server/server/governance/internal/execution-store/reconciliation-inbox.d.ts +1 -1
  185. package/dist/server/server/governance/internal/execution-store/recovery-claim.d.ts +36 -30
  186. package/dist/server/server/governance/internal/execution-store/recovery-claim.d.ts.map +1 -1
  187. package/dist/server/server/index.js +5 -5
  188. package/dist/server/server/internal/codepipeline-state-probe.js +1 -1
  189. package/dist/server/server/persistence/Database.d.ts +1 -1
  190. package/dist/server/server/persistence/Database.d.ts.map +1 -1
  191. package/dist/server/server/persistence/Persistence.d.ts +1539 -577
  192. package/dist/server/server/persistence/Persistence.d.ts.map +1 -1
  193. package/dist/server/server/persistence/backup/BackupArchive.d.ts.map +1 -1
  194. package/dist/server/server/persistence/repositories/agentJobModels.d.ts +345 -8
  195. package/dist/server/server/persistence/repositories/agentJobModels.d.ts.map +1 -1
  196. package/dist/server/server/persistence/repositories/agentJobRepository.d.ts +654 -192
  197. package/dist/server/server/persistence/repositories/agentJobRepository.d.ts.map +1 -1
  198. package/dist/server/server/persistence/repositories/delivery-graph/contract.d.ts +138 -138
  199. package/dist/server/server/persistence/repositories/delivery-graph/decode.d.ts +25 -25
  200. package/dist/server/server/persistence/repositories/delivery-graph/read.d.ts +111 -111
  201. package/dist/server/server/persistence/repositories/delivery-graph/rows.d.ts +27 -27
  202. package/dist/server/server/persistence/repositories/delivery-graph/write.d.ts +48 -48
  203. package/dist/server/server/persistence/repositories/deliveryGraphRepository.d.ts +111 -111
  204. package/dist/server/server/persistence/repositories/governed-action/codec.d.ts +255 -234
  205. package/dist/server/server/persistence/repositories/governed-action/codec.d.ts.map +1 -1
  206. package/dist/server/server/persistence/repositories/governed-action/contract.d.ts +66 -46
  207. package/dist/server/server/persistence/repositories/governed-action/contract.d.ts.map +1 -1
  208. package/dist/server/server/persistence/repositories/governed-action/read.d.ts +664 -190
  209. package/dist/server/server/persistence/repositories/governed-action/read.d.ts.map +1 -1
  210. package/dist/server/server/persistence/repositories/governed-action/transaction.d.ts +676 -206
  211. package/dist/server/server/persistence/repositories/governed-action/transaction.d.ts.map +1 -1
  212. package/dist/server/server/persistence/repositories/governed-action/write-preparation.d.ts +37 -31
  213. package/dist/server/server/persistence/repositories/governed-action/write-preparation.d.ts.map +1 -1
  214. package/dist/server/server/persistence/repositories/governed-action/write-replay.d.ts +44 -32
  215. package/dist/server/server/persistence/repositories/governed-action/write-replay.d.ts.map +1 -1
  216. package/dist/server/server/persistence/repositories/governed-action/write.d.ts +44 -32
  217. package/dist/server/server/persistence/repositories/governed-action/write.d.ts.map +1 -1
  218. package/dist/server/server/persistence/repositories/governedActionRepository.d.ts +674 -205
  219. package/dist/server/server/persistence/repositories/governedActionRepository.d.ts.map +1 -1
  220. package/dist/server/server/persistence/repositories/internal/reviewSuggestionRevisions.d.ts +85 -4
  221. package/dist/server/server/persistence/repositories/internal/reviewSuggestionRevisions.d.ts.map +1 -1
  222. package/dist/server/server/persistence/repositories/models.d.ts +9 -9
  223. package/dist/server/server/persistence/repositories/peopleRepository.d.ts +36 -36
  224. package/dist/server/server/persistence/repositories/providerAccountRepository.d.ts +1 -1
  225. package/dist/server/server/persistence/repositories/readiness/assessments.d.ts +6 -6
  226. package/dist/server/server/persistence/repositories/readiness/contract.d.ts +450 -450
  227. package/dist/server/server/persistence/repositories/readiness/queue.d.ts +14 -14
  228. package/dist/server/server/persistence/repositories/readinessRepository.d.ts +7 -7
  229. package/dist/server/server/persistence/repositories/releaseRepository.d.ts +18 -18
  230. package/dist/server/server/persistence/repositories/retentionRepository.d.ts.map +1 -1
  231. package/dist/server/server/persistence/repositories/timelineRepository.d.ts +4 -4
  232. package/dist/server/server/plugins/atlassian/AtlassianOAuthGrants.d.ts.map +1 -1
  233. package/dist/server/server/plugins/atlassian/AtlassianOAuthScopes.d.ts +9 -0
  234. package/dist/server/server/plugins/atlassian/AtlassianOAuthScopes.d.ts.map +1 -0
  235. package/dist/server/server/plugins/atlassian/AtlassianProfiles.d.ts.map +1 -1
  236. package/dist/server/server/plugins/codecommit/CodeCommitPluginDefinition.d.ts.map +1 -1
  237. package/dist/server/server/plugins/jira/JiraReadPlugin.d.ts +2 -2
  238. package/dist/server/server/plugins/jira/JiraReadPlugin.d.ts.map +1 -1
  239. package/dist/server/server/plugins/jira/JiraReadProvider.d.ts.map +1 -1
  240. package/dist/server/server/plugins/jira/JiraReleaseVersionLimits.d.ts +8 -0
  241. package/dist/server/server/plugins/jira/JiraReleaseVersionLimits.d.ts.map +1 -0
  242. package/dist/server/server/plugins/jira/index.d.ts +1 -1
  243. package/dist/server/server/plugins/jira/index.d.ts.map +1 -1
  244. package/dist/server/server/runtime/Bootstrap.d.ts +1 -1
  245. package/dist/server/server/runtime/Bootstrap.d.ts.map +1 -1
  246. package/dist/server/server/runtime/ControlCenterServer.d.ts +3 -3
  247. package/dist/server/server/runtime/ControlCenterServer.d.ts.map +1 -1
  248. package/dist/server/server/runtime/PrReviewWorkerStartup.d.ts +11 -1
  249. package/dist/server/server/runtime/PrReviewWorkerStartup.d.ts.map +1 -1
  250. package/dist/server/server/runtime/RetentionStartup.d.ts.map +1 -1
  251. package/dist/server/server/runtime/ServerLifecycle.d.ts.map +1 -1
  252. package/dist/server/server/secrets/SecretStore.d.ts.map +1 -1
  253. package/package.json +9 -8
  254. package/dist/client/assets/AgentPage-DGL93TJU.js +0 -3
  255. package/dist/client/assets/AgentPage-DGL93TJU.js.map +0 -1
  256. package/dist/client/assets/AuthorizedSharePage-DCQUFY2I.js +0 -2
  257. package/dist/client/assets/AuthorizedSharePage-DCQUFY2I.js.map +0 -1
  258. package/dist/client/assets/BrowserCrypto-DVWR7DFd.js +0 -2
  259. package/dist/client/assets/BrowserSessionHydrator-DE46feEX.js +0 -2
  260. package/dist/client/assets/BrowserSessionHydrator-DE46feEX.js.map +0 -1
  261. package/dist/client/assets/CommandSearch-CP_QCbkm.js +0 -2
  262. package/dist/client/assets/ItemsPage-BGFUkRL2.js +0 -2
  263. package/dist/client/assets/PortfolioOverview-D45rk8Hl.js +0 -2
  264. package/dist/client/assets/PortfolioOverview-D45rk8Hl.js.map +0 -1
  265. package/dist/client/assets/PullRequestReviewPanel-CqPtjhVW.js +0 -6
  266. package/dist/client/assets/PullRequestReviewPanel-CqPtjhVW.js.map +0 -1
  267. package/dist/client/assets/ReleaseRoute-DXJ8Jg60.js +0 -2
  268. package/dist/client/assets/ReleaseWorkset-Dtzalmji.js +0 -2
  269. package/dist/client/assets/ServicesPage-DGcUjd2H.js +0 -2
  270. package/dist/client/assets/ServicesPage-DGcUjd2H.js.map +0 -1
  271. package/dist/client/assets/TimelinePage-Bq1RTQlP.js +0 -2
  272. package/dist/client/assets/TimelinePage-Bq1RTQlP.js.map +0 -1
  273. package/dist/client/assets/WorkspaceEntityLink-AdZ_T-Wk.js +0 -2
  274. package/dist/client/assets/WorkspaceEntityRoute-Bxxnc8us.js +0 -3
  275. package/dist/client/assets/WorkspaceEntityRoute-Bxxnc8us.js.map +0 -1
  276. package/dist/client/assets/WorkspacePullRequestDetails-BErJ5bk8.js +0 -3
  277. package/dist/client/assets/WorkspacePullRequestDetails-BErJ5bk8.js.map +0 -1
  278. package/dist/client/assets/agent-api-QVqt4a0O.js +0 -19
  279. package/dist/client/assets/agent-api-QVqt4a0O.js.map +0 -1
  280. package/dist/client/assets/authenticatedMutationClient-Ccwguc3i.js +0 -2
  281. package/dist/client/assets/authorizedShareTransport-DZHgFEkh.js +0 -2
  282. package/dist/client/assets/client-D27unen8.js +0 -5
  283. package/dist/client/assets/client-D27unen8.js.map +0 -1
  284. package/dist/client/assets/connectionTestTransport-BQ55d6Me.js +0 -2
  285. package/dist/client/assets/index-j5ze816l.js +0 -11
  286. package/dist/client/assets/index-j5ze816l.js.map +0 -1
  287. package/dist/client/assets/presentPortfolio-D3ZIcnqt.js.map +0 -1
  288. package/dist/client/assets/pullRequestReviewThreadReplay-oljKM7Xz.js +0 -2
  289. package/dist/client/assets/pullRequestReviewThreadReplay-oljKM7Xz.js.map +0 -1
  290. package/dist/client/assets/releaseRoutes-BCuIdZyA.js +0 -2
  291. package/dist/client/assets/serviceOnboarding-Jg_0yNjf.js +0 -2
  292. package/dist/client/assets/workspaceScrollCapture-CJ4QUptr.js +0 -2
  293. package/dist/client/assets/workspaceScrollCapture-CJ4QUptr.js.map +0 -1
  294. package/dist/client/assets/workspaceSettingsTransport-CZWYL5T7.js +0 -2
  295. package/dist/server/assets/BindConfig-DIsf2Rnh.js.map +0 -1
  296. package/dist/server/assets/agent-CyZ40zs1.js.map +0 -1
  297. package/dist/server/assets/relationshipInferenceMaterialization-DYBcaWhQ.js.map +0 -1
  298. package/dist/server/assets/workspaceSettings-BE713Oe8.js.map +0 -1
@@ -14,33 +14,14 @@ declare const makeGovernedActionRepository: Effect.Effect<{
14
14
  readonly transition: import("../../../index.ts").GovernedActionTransitionV1;
15
15
  }, import("../errors.ts").PersistenceOperationError | import("../errors.ts").PersistedRecordError | import("../errors.ts").QuarantineWriteError | GovernedActionInputError | import("./governed-action/quarantine.ts").MalformedGovernedActionRecord, never>;
16
16
  read: (input: unknown) => Effect.Effect<{
17
- envelope: Schema.Struct.ReadonlySide<{
18
- readonly envelopeDigest: Schema.brand<Schema.String, string>;
19
- readonly schemaVersion: Schema.Literal<1>;
20
- readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
21
- readonly idempotencyKey: Schema.brand<Schema.String, "GovernedActionIdempotencyKey">;
22
- readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
23
- readonly pluginConnectionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PluginConnectionId">;
24
- readonly pluginConnectionRevision: Schema.brand<Schema.Int, "GovernedActionPluginConnectionRevision">;
25
- readonly pluginConnectionAuthorityDigest: Schema.brand<Schema.String, string>;
26
- readonly pluginId: Schema.brand<Schema.String, string>;
27
- readonly pluginContractVersion: Schema.Struct<{
28
- readonly major: Schema.Int;
29
- readonly minor: Schema.Int;
30
- readonly patch: Schema.Int;
31
- }>;
32
- readonly pluginAdapterVersion: Schema.Struct<{
33
- readonly major: Schema.Int;
34
- readonly minor: Schema.Int;
35
- readonly patch: Schema.Int;
36
- }>;
37
- readonly providerId: Schema.Literals<readonly ["codecommit", "codepipeline", "jira", "confluence", "clockify"]>;
38
- readonly capability: Schema.Struct<{
39
- readonly capabilityId: Schema.Literal<"action.execute">;
40
- readonly version: Schema.Int;
41
- }>;
42
- readonly targetEntityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
43
- readonly proposal: Schema.Struct<{
17
+ envelope: {
18
+ readonly providerId: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify";
19
+ readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
20
+ readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
21
+ readonly schemaVersion: 1;
22
+ readonly causationId: (string & import("effect/Brand").Brand<"DomainEventId">) | null;
23
+ readonly correlationId: (string & import("effect/Brand").Brand<"DomainEventCorrelationId">) | null;
24
+ readonly proposal: Schema.Struct.ReadonlySide<{
44
25
  readonly proposalKey: Schema.brand<Schema.String, string>;
45
26
  readonly capabilityVersion: Schema.Int;
46
27
  readonly request: Schema.Struct<{
@@ -60,8 +41,35 @@ declare const makeGovernedActionRepository: Effect.Effect<{
60
41
  readonly summary: Schema.String;
61
42
  }>;
62
43
  readonly proposedAt: Schema.DateTimeUtcFromString;
63
- }>;
64
- readonly evidence: Schema.$Array<Schema.Struct<{
44
+ }, "Type">;
45
+ readonly idempotencyKey: string & import("effect/Brand").Brand<"GovernedActionIdempotencyKey">;
46
+ readonly pluginId: string & import("effect/Brand").Brand<string>;
47
+ readonly actionId: string & import("effect/Brand").Brand<"GovernedActionId">;
48
+ readonly policy: Schema.Struct.ReadonlySide<{
49
+ readonly policyId: Schema.brand<Schema.String, string>;
50
+ readonly policyVersion: Schema.Int;
51
+ readonly policyDigest: Schema.brand<Schema.String, string>;
52
+ readonly requiredPermission: Schema.Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
53
+ }, "Type">;
54
+ readonly evidenceSetDigest: string & import("effect/Brand").Brand<string>;
55
+ readonly pluginConnectionRevision: number & import("effect/Brand").Brand<"GovernedActionPluginConnectionRevision">;
56
+ readonly pluginConnectionAuthorityDigest: string & import("effect/Brand").Brand<string>;
57
+ readonly pluginContractVersion: Schema.Struct.ReadonlySide<{
58
+ readonly major: Schema.Int;
59
+ readonly minor: Schema.Int;
60
+ readonly patch: Schema.Int;
61
+ }, "Type">;
62
+ readonly pluginAdapterVersion: Schema.Struct.ReadonlySide<{
63
+ readonly major: Schema.Int;
64
+ readonly minor: Schema.Int;
65
+ readonly patch: Schema.Int;
66
+ }, "Type">;
67
+ readonly capability: Schema.Struct.ReadonlySide<{
68
+ readonly capabilityId: Schema.Literal<"action.execute">;
69
+ readonly version: Schema.Int;
70
+ }, "Type">;
71
+ readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
72
+ readonly evidence: readonly Schema.Struct.ReadonlySide<{
65
73
  readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
66
74
  readonly evidenceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EvidenceId">;
67
75
  readonly evidenceClaimIds: Schema.$Array<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EvidenceClaimId">>;
@@ -71,33 +79,483 @@ declare const makeGovernedActionRepository: Effect.Effect<{
71
79
  readonly evaluatedAt: Schema.DateTimeUtcFromString;
72
80
  readonly source: Schema.Literals<readonly ["current", "stale", "missing", "unavailable"]>;
73
81
  readonly validity: Schema.Literals<readonly ["valid", "expired"]>;
74
- }>>;
75
- readonly evidenceSetDigest: Schema.brand<Schema.String, string>;
76
- readonly policy: Schema.Struct<{
77
- readonly policyId: Schema.brand<Schema.String, string>;
78
- readonly policyVersion: Schema.Int;
79
- readonly policyDigest: Schema.brand<Schema.String, string>;
80
- readonly requiredPermission: Schema.Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
82
+ }, "Type">[];
83
+ readonly origin: Schema.Struct.ReadonlySide<{
84
+ readonly _tag: Schema.tag<"human">;
85
+ readonly actor: Schema.TaggedStruct<"human", {
86
+ readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
87
+ }>;
88
+ readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
89
+ }, "Type"> | Schema.Struct.ReadonlySide<{
90
+ readonly _tag: Schema.tag<"agent">;
91
+ readonly actor: Schema.TaggedStruct<"agent", {
92
+ readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
93
+ }>;
94
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
95
+ readonly initiatingSessionId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">>;
96
+ }, "Type">;
97
+ readonly proposalExpiresAt: import("effect/DateTime").Utc;
98
+ readonly envelopeDigest: string & import("effect/Brand").Brand<string>;
99
+ readonly releasePublication?: {
100
+ readonly releaseId: string & import("effect/Brand").Brand<"ReleaseId">;
101
+ readonly sourceRevisionDigest: string & import("effect/Brand").Brand<string>;
102
+ readonly sourceRevisionCount: number;
103
+ readonly predecessorPublicationActionId?: (string & import("effect/Brand").Brand<"GovernedActionId">) | null;
104
+ };
105
+ };
106
+ head: Schema.Struct.ReadonlySide<{
107
+ readonly state: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
108
+ readonly lineage: Schema.TaggedUnion<{
109
+ readonly accepted: Schema.TaggedStruct<"accepted", {
110
+ readonly receipt: Schema.Struct<{
111
+ readonly status: Schema.Literal<"accepted">;
112
+ readonly reconciliationKey: Schema.brand<Schema.String, string>;
113
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
114
+ readonly safeSummary: Schema.String;
115
+ readonly observedAt: Schema.DateTimeUtcFromString;
116
+ }>;
117
+ }>;
118
+ readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
119
+ readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
120
+ readonly reconciliationKey: Schema.brand<Schema.String, string>;
121
+ }>;
122
+ readonly manual: Schema.TaggedStruct<"manual", {
123
+ readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
124
+ }>;
125
+ readonly none: Schema.TaggedStruct<"none", {}>;
126
+ readonly terminal: Schema.TaggedStruct<"terminal", {
127
+ readonly receipt: Schema.Struct<{
128
+ readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
129
+ readonly status: Schema.Literals<readonly ["succeeded", "failed", "cancelled"]>;
130
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
131
+ readonly safeSummary: Schema.String;
132
+ readonly observedAt: Schema.DateTimeUtcFromString;
133
+ }>;
134
+ }>;
81
135
  }>;
82
- readonly origin: Schema.TaggedUnion<{
136
+ }, "Type">;
137
+ headTransition: Schema.Struct.ReadonlySide<{
138
+ readonly commandDigest: Schema.brand<Schema.String, "GovernedActionCommandDigest">;
139
+ readonly schemaVersion: Schema.Literal<1>;
140
+ readonly transitionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionTransitionId">;
141
+ readonly previousTransitionId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionTransitionId">>;
142
+ readonly commandId: Schema.brand<Schema.String, string>;
143
+ readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
144
+ readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
145
+ readonly sequence: Schema.Int;
146
+ readonly fromState: Schema.NullOr<Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
147
+ readonly toState: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
148
+ readonly actionEnvelopeDigest: Schema.brand<Schema.String, string>;
149
+ readonly command: Schema.TaggedUnion<{
150
+ readonly propose: Schema.TaggedStruct<"propose", {}>;
151
+ readonly authorize: Schema.TaggedStruct<"authorize", {
152
+ readonly authorizationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAuthorizationId">;
153
+ }>;
154
+ readonly deny: Schema.TaggedStruct<"deny", {
155
+ readonly reason: Schema.Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
156
+ readonly safeSummary: Schema.String;
157
+ }>;
158
+ readonly expire: Schema.TaggedStruct<"expire", {
159
+ readonly reason: Schema.Literals<readonly ["proposal-expired", "authorization-expired"]>;
160
+ }>;
161
+ readonly cancel: Schema.TaggedStruct<"cancel", {
162
+ readonly safeSummary: Schema.String;
163
+ }>;
164
+ readonly start: Schema.TaggedStruct<"start", {
165
+ readonly attemptId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAttemptId">;
166
+ }>;
167
+ readonly requestCancellation: Schema.TaggedStruct<"requestCancellation", {
168
+ readonly safeSummary: Schema.String;
169
+ }>;
170
+ readonly recordAccepted: Schema.TaggedStruct<"recordAccepted", {
171
+ readonly receipt: Schema.Struct<{
172
+ readonly status: Schema.Literal<"accepted">;
173
+ readonly reconciliationKey: Schema.brand<Schema.String, string>;
174
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
175
+ readonly safeSummary: Schema.String;
176
+ readonly observedAt: Schema.DateTimeUtcFromString;
177
+ }>;
178
+ }>;
179
+ readonly recordSucceeded: Schema.TaggedStruct<"recordSucceeded", {
180
+ readonly receipt: Schema.Struct<{
181
+ readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
182
+ readonly status: Schema.Literals<readonly ["succeeded", "failed", "cancelled"]>;
183
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
184
+ readonly safeSummary: Schema.String;
185
+ readonly observedAt: Schema.DateTimeUtcFromString;
186
+ }>;
187
+ readonly source: Schema.TaggedUnion<{
188
+ readonly direct: Schema.TaggedStruct<"direct", {}>;
189
+ readonly providerOperation: Schema.TaggedStruct<"providerOperation", {
190
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
191
+ }>;
192
+ readonly reconciliation: Schema.TaggedStruct<"reconciliation", {
193
+ readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
194
+ }>;
195
+ }>;
196
+ }>;
197
+ readonly recordFailed: Schema.TaggedStruct<"recordFailed", {
198
+ readonly receipt: Schema.Struct<{
199
+ readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
200
+ readonly status: Schema.Literals<readonly ["succeeded", "failed", "cancelled"]>;
201
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
202
+ readonly safeSummary: Schema.String;
203
+ readonly observedAt: Schema.DateTimeUtcFromString;
204
+ }>;
205
+ readonly source: Schema.TaggedUnion<{
206
+ readonly direct: Schema.TaggedStruct<"direct", {}>;
207
+ readonly providerOperation: Schema.TaggedStruct<"providerOperation", {
208
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
209
+ }>;
210
+ readonly reconciliation: Schema.TaggedStruct<"reconciliation", {
211
+ readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
212
+ }>;
213
+ }>;
214
+ }>;
215
+ readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
216
+ readonly outcome: Schema.TaggedUnion<{
217
+ readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
218
+ readonly reconciliationKey: Schema.brand<Schema.String, string>;
219
+ readonly observedAt: Schema.DateTimeUtcFromString;
220
+ readonly safeSummary: Schema.String;
221
+ }>;
222
+ readonly manual: Schema.TaggedStruct<"manual", {
223
+ readonly observedAt: Schema.DateTimeUtcFromString;
224
+ readonly safeSummary: Schema.String;
225
+ readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
226
+ }>;
227
+ }>;
228
+ }>;
229
+ readonly recordCancelled: Schema.TaggedStruct<"recordCancelled", {
230
+ readonly receipt: Schema.Struct<{
231
+ readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
232
+ readonly status: Schema.Literals<readonly ["succeeded", "failed", "cancelled"]>;
233
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
234
+ readonly safeSummary: Schema.String;
235
+ readonly observedAt: Schema.DateTimeUtcFromString;
236
+ }>;
237
+ readonly source: Schema.TaggedUnion<{
238
+ readonly direct: Schema.TaggedStruct<"direct", {}>;
239
+ readonly providerOperation: Schema.TaggedStruct<"providerOperation", {
240
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
241
+ }>;
242
+ readonly reconciliation: Schema.TaggedStruct<"reconciliation", {
243
+ readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
244
+ }>;
245
+ }>;
246
+ }>;
247
+ readonly reconciliationPending: Schema.TaggedStruct<"reconciliationPending", {
248
+ readonly checkedAt: Schema.DateTimeUtcFromString;
249
+ readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
250
+ }>;
251
+ }>;
252
+ readonly cause: Schema.TaggedUnion<{
253
+ readonly human: Schema.TaggedStruct<"human", {
254
+ readonly actor: Schema.TaggedStruct<"human", {
255
+ readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
256
+ }>;
257
+ readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
258
+ }>;
83
259
  readonly agent: Schema.TaggedStruct<"agent", {
84
260
  readonly actor: Schema.TaggedStruct<"agent", {
85
261
  readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
86
262
  }>;
87
263
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
88
- readonly initiatingSessionId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">>;
89
264
  }>;
265
+ readonly system: Schema.TaggedStruct<"system", {
266
+ readonly component: Schema.brand<Schema.String, string>;
267
+ }>;
268
+ }>;
269
+ readonly occurredAt: Schema.DateTimeUtcFromString;
270
+ readonly causationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "DomainEventId">>;
271
+ readonly correlationId: Schema.NullOr<Schema.brand<Schema.String, "DomainEventCorrelationId">>;
272
+ }, "Type">;
273
+ history: Schema.Struct.ReadonlySide<{
274
+ readonly commandDigest: Schema.brand<Schema.String, "GovernedActionCommandDigest">;
275
+ readonly schemaVersion: Schema.Literal<1>;
276
+ readonly transitionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionTransitionId">;
277
+ readonly previousTransitionId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionTransitionId">>;
278
+ readonly commandId: Schema.brand<Schema.String, string>;
279
+ readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
280
+ readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
281
+ readonly sequence: Schema.Int;
282
+ readonly fromState: Schema.NullOr<Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
283
+ readonly toState: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
284
+ readonly actionEnvelopeDigest: Schema.brand<Schema.String, string>;
285
+ readonly command: Schema.TaggedUnion<{
286
+ readonly propose: Schema.TaggedStruct<"propose", {}>;
287
+ readonly authorize: Schema.TaggedStruct<"authorize", {
288
+ readonly authorizationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAuthorizationId">;
289
+ }>;
290
+ readonly deny: Schema.TaggedStruct<"deny", {
291
+ readonly reason: Schema.Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
292
+ readonly safeSummary: Schema.String;
293
+ }>;
294
+ readonly expire: Schema.TaggedStruct<"expire", {
295
+ readonly reason: Schema.Literals<readonly ["proposal-expired", "authorization-expired"]>;
296
+ }>;
297
+ readonly cancel: Schema.TaggedStruct<"cancel", {
298
+ readonly safeSummary: Schema.String;
299
+ }>;
300
+ readonly start: Schema.TaggedStruct<"start", {
301
+ readonly attemptId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAttemptId">;
302
+ }>;
303
+ readonly requestCancellation: Schema.TaggedStruct<"requestCancellation", {
304
+ readonly safeSummary: Schema.String;
305
+ }>;
306
+ readonly recordAccepted: Schema.TaggedStruct<"recordAccepted", {
307
+ readonly receipt: Schema.Struct<{
308
+ readonly status: Schema.Literal<"accepted">;
309
+ readonly reconciliationKey: Schema.brand<Schema.String, string>;
310
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
311
+ readonly safeSummary: Schema.String;
312
+ readonly observedAt: Schema.DateTimeUtcFromString;
313
+ }>;
314
+ }>;
315
+ readonly recordSucceeded: Schema.TaggedStruct<"recordSucceeded", {
316
+ readonly receipt: Schema.Struct<{
317
+ readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
318
+ readonly status: Schema.Literals<readonly ["succeeded", "failed", "cancelled"]>;
319
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
320
+ readonly safeSummary: Schema.String;
321
+ readonly observedAt: Schema.DateTimeUtcFromString;
322
+ }>;
323
+ readonly source: Schema.TaggedUnion<{
324
+ readonly direct: Schema.TaggedStruct<"direct", {}>;
325
+ readonly providerOperation: Schema.TaggedStruct<"providerOperation", {
326
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
327
+ }>;
328
+ readonly reconciliation: Schema.TaggedStruct<"reconciliation", {
329
+ readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
330
+ }>;
331
+ }>;
332
+ }>;
333
+ readonly recordFailed: Schema.TaggedStruct<"recordFailed", {
334
+ readonly receipt: Schema.Struct<{
335
+ readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
336
+ readonly status: Schema.Literals<readonly ["succeeded", "failed", "cancelled"]>;
337
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
338
+ readonly safeSummary: Schema.String;
339
+ readonly observedAt: Schema.DateTimeUtcFromString;
340
+ }>;
341
+ readonly source: Schema.TaggedUnion<{
342
+ readonly direct: Schema.TaggedStruct<"direct", {}>;
343
+ readonly providerOperation: Schema.TaggedStruct<"providerOperation", {
344
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
345
+ }>;
346
+ readonly reconciliation: Schema.TaggedStruct<"reconciliation", {
347
+ readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
348
+ }>;
349
+ }>;
350
+ }>;
351
+ readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
352
+ readonly outcome: Schema.TaggedUnion<{
353
+ readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
354
+ readonly reconciliationKey: Schema.brand<Schema.String, string>;
355
+ readonly observedAt: Schema.DateTimeUtcFromString;
356
+ readonly safeSummary: Schema.String;
357
+ }>;
358
+ readonly manual: Schema.TaggedStruct<"manual", {
359
+ readonly observedAt: Schema.DateTimeUtcFromString;
360
+ readonly safeSummary: Schema.String;
361
+ readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
362
+ }>;
363
+ }>;
364
+ }>;
365
+ readonly recordCancelled: Schema.TaggedStruct<"recordCancelled", {
366
+ readonly receipt: Schema.Struct<{
367
+ readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
368
+ readonly status: Schema.Literals<readonly ["succeeded", "failed", "cancelled"]>;
369
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
370
+ readonly safeSummary: Schema.String;
371
+ readonly observedAt: Schema.DateTimeUtcFromString;
372
+ }>;
373
+ readonly source: Schema.TaggedUnion<{
374
+ readonly direct: Schema.TaggedStruct<"direct", {}>;
375
+ readonly providerOperation: Schema.TaggedStruct<"providerOperation", {
376
+ readonly providerOperationId: Schema.brand<Schema.String, string>;
377
+ }>;
378
+ readonly reconciliation: Schema.TaggedStruct<"reconciliation", {
379
+ readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
380
+ }>;
381
+ }>;
382
+ }>;
383
+ readonly reconciliationPending: Schema.TaggedStruct<"reconciliationPending", {
384
+ readonly checkedAt: Schema.DateTimeUtcFromString;
385
+ readonly reconciliationKey: Schema.NullOr<Schema.brand<Schema.String, string>>;
386
+ }>;
387
+ }>;
388
+ readonly cause: Schema.TaggedUnion<{
90
389
  readonly human: Schema.TaggedStruct<"human", {
91
390
  readonly actor: Schema.TaggedStruct<"human", {
92
391
  readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
93
392
  }>;
94
393
  readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
95
394
  }>;
395
+ readonly agent: Schema.TaggedStruct<"agent", {
396
+ readonly actor: Schema.TaggedStruct<"agent", {
397
+ readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
398
+ }>;
399
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
400
+ }>;
401
+ readonly system: Schema.TaggedStruct<"system", {
402
+ readonly component: Schema.brand<Schema.String, string>;
403
+ }>;
96
404
  }>;
97
- readonly proposalExpiresAt: Schema.DateTimeUtcFromString;
405
+ readonly occurredAt: Schema.DateTimeUtcFromString;
98
406
  readonly causationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "DomainEventId">>;
99
407
  readonly correlationId: Schema.NullOr<Schema.brand<Schema.String, "DomainEventCorrelationId">>;
100
- }, "Type">;
408
+ }, "Type">[];
409
+ authorization: Schema.Struct.ReadonlySide<{
410
+ readonly schemaVersion: Schema.Literal<1>;
411
+ readonly authorizationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAuthorizationId">;
412
+ readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
413
+ readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
414
+ readonly pluginConnectionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PluginConnectionId">;
415
+ readonly pluginConnectionRevision: Schema.brand<Schema.Int, "GovernedActionPluginConnectionRevision">;
416
+ readonly pluginConnectionAuthorityDigest: Schema.brand<Schema.String, string>;
417
+ readonly actionEnvelopeDigest: Schema.brand<Schema.String, string>;
418
+ readonly idempotencyKey: Schema.brand<Schema.String, "GovernedActionIdempotencyKey">;
419
+ readonly payloadDigest: Schema.brand<Schema.String, "PluginActionPayloadDigest">;
420
+ readonly evidenceSetDigest: Schema.brand<Schema.String, string>;
421
+ readonly policyDigest: Schema.brand<Schema.String, string>;
422
+ readonly expectedRevision: Schema.brand<Schema.String, "Revision">;
423
+ readonly capabilityVersion: Schema.Int;
424
+ readonly actor: Schema.TaggedStruct<"human", {
425
+ readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
426
+ }>;
427
+ readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
428
+ readonly sessionPermission: Schema.Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
429
+ readonly sessionExpiresAt: Schema.DateTimeUtcFromString;
430
+ readonly requiredPermission: Schema.Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
431
+ readonly authorizedAt: Schema.DateTimeUtcFromString;
432
+ readonly expiresAt: Schema.DateTimeUtcFromString;
433
+ }, "Type"> | null;
434
+ policyEvaluation: Schema.Struct.ReadonlySide<{
435
+ readonly schemaVersion: Schema.Literal<1>;
436
+ readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
437
+ readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
438
+ readonly policy: Schema.Struct<{
439
+ readonly policyId: Schema.brand<Schema.String, string>;
440
+ readonly policyVersion: Schema.Int;
441
+ readonly policyDigest: Schema.brand<Schema.String, string>;
442
+ readonly requiredPermission: Schema.Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
443
+ }>;
444
+ readonly payloadDigest: Schema.brand<Schema.String, "PluginActionPayloadDigest">;
445
+ readonly evidenceSetDigest: Schema.brand<Schema.String, string>;
446
+ readonly expectedRevision: Schema.brand<Schema.String, "Revision">;
447
+ readonly decision: Schema.Literals<readonly ["allowed", "denied"]>;
448
+ readonly evaluatedAt: Schema.DateTimeUtcFromString;
449
+ }, "Type"> | null;
450
+ attempt: Schema.Struct.ReadonlySide<{
451
+ readonly schemaVersion: Schema.Literal<1>;
452
+ readonly attemptId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAttemptId">;
453
+ readonly authorizationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAuthorizationId">;
454
+ readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
455
+ readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
456
+ readonly pluginConnectionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PluginConnectionId">;
457
+ readonly idempotencyKey: Schema.brand<Schema.String, "GovernedActionIdempotencyKey">;
458
+ readonly attemptNumber: Schema.Literal<1>;
459
+ readonly actionEnvelopeDigest: Schema.brand<Schema.String, string>;
460
+ readonly expectedRevision: Schema.brand<Schema.String, "Revision">;
461
+ readonly policyEvaluationDigest: Schema.brand<Schema.String, string>;
462
+ readonly preflight: Schema.TaggedStruct<"ready", {
463
+ readonly checkedRevision: Schema.brand<Schema.String, "Revision">;
464
+ readonly checkedAt: Schema.DateTimeUtcFromString;
465
+ }>;
466
+ readonly startedAt: Schema.DateTimeUtcFromString;
467
+ }, "Type"> | null;
468
+ }, import("../errors.ts").RecordNotFoundError | import("../errors.ts").PersistenceOperationError | import("../errors.ts").PersistedRecordError | import("../errors.ts").QuarantineWriteError | import("effect/unstable/sql/SqlError").SqlError | GovernedActionInputError | import("./governed-action/quarantine.ts").MalformedGovernedActionRecord, never>;
469
+ readByIdempotencyKey: (input: unknown) => Effect.Effect<{
470
+ envelope: {
471
+ readonly providerId: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify";
472
+ readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
473
+ readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
474
+ readonly schemaVersion: 1;
475
+ readonly causationId: (string & import("effect/Brand").Brand<"DomainEventId">) | null;
476
+ readonly correlationId: (string & import("effect/Brand").Brand<"DomainEventCorrelationId">) | null;
477
+ readonly proposal: Schema.Struct.ReadonlySide<{
478
+ readonly proposalKey: Schema.brand<Schema.String, string>;
479
+ readonly capabilityVersion: Schema.Int;
480
+ readonly request: Schema.Struct<{
481
+ readonly actionKind: Schema.brand<Schema.String, string>;
482
+ readonly target: Schema.Struct<{
483
+ entityType: Schema.brand<Schema.String, string>;
484
+ vendorImmutableId: Schema.brand<Schema.String, "VendorImmutableId">;
485
+ }>;
486
+ readonly expectedRevision: Schema.brand<Schema.String, "Revision">;
487
+ readonly payload: Schema.Codec<Schema.Json, Schema.Json, never, never>;
488
+ readonly evidenceIds: Schema.$Array<Schema.brand<Schema.String, string>>;
489
+ }>;
490
+ readonly payloadDigest: Schema.brand<Schema.String, "PluginActionPayloadDigest">;
491
+ readonly summary: Schema.String;
492
+ readonly impact: Schema.Struct<{
493
+ readonly level: Schema.Literals<readonly ["low", "medium", "high", "critical"]>;
494
+ readonly summary: Schema.String;
495
+ }>;
496
+ readonly proposedAt: Schema.DateTimeUtcFromString;
497
+ }, "Type">;
498
+ readonly idempotencyKey: string & import("effect/Brand").Brand<"GovernedActionIdempotencyKey">;
499
+ readonly pluginId: string & import("effect/Brand").Brand<string>;
500
+ readonly actionId: string & import("effect/Brand").Brand<"GovernedActionId">;
501
+ readonly policy: Schema.Struct.ReadonlySide<{
502
+ readonly policyId: Schema.brand<Schema.String, string>;
503
+ readonly policyVersion: Schema.Int;
504
+ readonly policyDigest: Schema.brand<Schema.String, string>;
505
+ readonly requiredPermission: Schema.Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
506
+ }, "Type">;
507
+ readonly evidenceSetDigest: string & import("effect/Brand").Brand<string>;
508
+ readonly pluginConnectionRevision: number & import("effect/Brand").Brand<"GovernedActionPluginConnectionRevision">;
509
+ readonly pluginConnectionAuthorityDigest: string & import("effect/Brand").Brand<string>;
510
+ readonly pluginContractVersion: Schema.Struct.ReadonlySide<{
511
+ readonly major: Schema.Int;
512
+ readonly minor: Schema.Int;
513
+ readonly patch: Schema.Int;
514
+ }, "Type">;
515
+ readonly pluginAdapterVersion: Schema.Struct.ReadonlySide<{
516
+ readonly major: Schema.Int;
517
+ readonly minor: Schema.Int;
518
+ readonly patch: Schema.Int;
519
+ }, "Type">;
520
+ readonly capability: Schema.Struct.ReadonlySide<{
521
+ readonly capabilityId: Schema.Literal<"action.execute">;
522
+ readonly version: Schema.Int;
523
+ }, "Type">;
524
+ readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
525
+ readonly evidence: readonly Schema.Struct.ReadonlySide<{
526
+ readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
527
+ readonly evidenceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EvidenceId">;
528
+ readonly evidenceClaimIds: Schema.$Array<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EvidenceClaimId">>;
529
+ readonly observedAt: Schema.DateTimeUtcFromString;
530
+ readonly validUntil: Schema.NullOr<Schema.DateTimeUtcFromString>;
531
+ readonly currentUntil: Schema.NullOr<Schema.DateTimeUtcFromString>;
532
+ readonly evaluatedAt: Schema.DateTimeUtcFromString;
533
+ readonly source: Schema.Literals<readonly ["current", "stale", "missing", "unavailable"]>;
534
+ readonly validity: Schema.Literals<readonly ["valid", "expired"]>;
535
+ }, "Type">[];
536
+ readonly origin: Schema.Struct.ReadonlySide<{
537
+ readonly _tag: Schema.tag<"human">;
538
+ readonly actor: Schema.TaggedStruct<"human", {
539
+ readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
540
+ }>;
541
+ readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
542
+ }, "Type"> | Schema.Struct.ReadonlySide<{
543
+ readonly _tag: Schema.tag<"agent">;
544
+ readonly actor: Schema.TaggedStruct<"agent", {
545
+ readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
546
+ }>;
547
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
548
+ readonly initiatingSessionId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">>;
549
+ }, "Type">;
550
+ readonly proposalExpiresAt: import("effect/DateTime").Utc;
551
+ readonly envelopeDigest: string & import("effect/Brand").Brand<string>;
552
+ readonly releasePublication?: {
553
+ readonly releaseId: string & import("effect/Brand").Brand<"ReleaseId">;
554
+ readonly sourceRevisionDigest: string & import("effect/Brand").Brand<string>;
555
+ readonly sourceRevisionCount: number;
556
+ readonly predecessorPublicationActionId?: (string & import("effect/Brand").Brand<"GovernedActionId">) | null;
557
+ };
558
+ };
101
559
  head: Schema.Struct.ReadonlySide<{
102
560
  readonly state: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
103
561
  readonly lineage: Schema.TaggedUnion<{
@@ -110,14 +568,14 @@ declare const makeGovernedActionRepository: Effect.Effect<{
110
568
  readonly observedAt: Schema.DateTimeUtcFromString;
111
569
  }>;
112
570
  }>;
113
- readonly none: Schema.TaggedStruct<"none", {}>;
114
- readonly manual: Schema.TaggedStruct<"manual", {
115
- readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
116
- }>;
117
571
  readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
118
572
  readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
119
573
  readonly reconciliationKey: Schema.brand<Schema.String, string>;
120
574
  }>;
575
+ readonly manual: Schema.TaggedStruct<"manual", {
576
+ readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
577
+ }>;
578
+ readonly none: Schema.TaggedStruct<"none", {}>;
121
579
  readonly terminal: Schema.TaggedStruct<"terminal", {
122
580
  readonly receipt: Schema.Struct<{
123
581
  readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
@@ -209,15 +667,15 @@ declare const makeGovernedActionRepository: Effect.Effect<{
209
667
  }>;
210
668
  readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
211
669
  readonly outcome: Schema.TaggedUnion<{
212
- readonly manual: Schema.TaggedStruct<"manual", {
670
+ readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
671
+ readonly reconciliationKey: Schema.brand<Schema.String, string>;
213
672
  readonly observedAt: Schema.DateTimeUtcFromString;
214
673
  readonly safeSummary: Schema.String;
215
- readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
216
674
  }>;
217
- readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
218
- readonly reconciliationKey: Schema.brand<Schema.String, string>;
675
+ readonly manual: Schema.TaggedStruct<"manual", {
219
676
  readonly observedAt: Schema.DateTimeUtcFromString;
220
677
  readonly safeSummary: Schema.String;
678
+ readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
221
679
  }>;
222
680
  }>;
223
681
  }>;
@@ -245,17 +703,17 @@ declare const makeGovernedActionRepository: Effect.Effect<{
245
703
  }>;
246
704
  }>;
247
705
  readonly cause: Schema.TaggedUnion<{
248
- readonly agent: Schema.TaggedStruct<"agent", {
249
- readonly actor: Schema.TaggedStruct<"agent", {
250
- readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
251
- }>;
252
- readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
253
- }>;
254
706
  readonly human: Schema.TaggedStruct<"human", {
255
707
  readonly actor: Schema.TaggedStruct<"human", {
256
708
  readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
257
709
  }>;
258
- readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
710
+ readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
711
+ }>;
712
+ readonly agent: Schema.TaggedStruct<"agent", {
713
+ readonly actor: Schema.TaggedStruct<"agent", {
714
+ readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
715
+ }>;
716
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
259
717
  }>;
260
718
  readonly system: Schema.TaggedStruct<"system", {
261
719
  readonly component: Schema.brand<Schema.String, string>;
@@ -345,15 +803,15 @@ declare const makeGovernedActionRepository: Effect.Effect<{
345
803
  }>;
346
804
  readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
347
805
  readonly outcome: Schema.TaggedUnion<{
348
- readonly manual: Schema.TaggedStruct<"manual", {
806
+ readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
807
+ readonly reconciliationKey: Schema.brand<Schema.String, string>;
349
808
  readonly observedAt: Schema.DateTimeUtcFromString;
350
809
  readonly safeSummary: Schema.String;
351
- readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
352
810
  }>;
353
- readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
354
- readonly reconciliationKey: Schema.brand<Schema.String, string>;
811
+ readonly manual: Schema.TaggedStruct<"manual", {
355
812
  readonly observedAt: Schema.DateTimeUtcFromString;
356
813
  readonly safeSummary: Schema.String;
814
+ readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
357
815
  }>;
358
816
  }>;
359
817
  }>;
@@ -381,18 +839,18 @@ declare const makeGovernedActionRepository: Effect.Effect<{
381
839
  }>;
382
840
  }>;
383
841
  readonly cause: Schema.TaggedUnion<{
384
- readonly agent: Schema.TaggedStruct<"agent", {
385
- readonly actor: Schema.TaggedStruct<"agent", {
386
- readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
387
- }>;
388
- readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
389
- }>;
390
842
  readonly human: Schema.TaggedStruct<"human", {
391
843
  readonly actor: Schema.TaggedStruct<"human", {
392
844
  readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
393
845
  }>;
394
846
  readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
395
847
  }>;
848
+ readonly agent: Schema.TaggedStruct<"agent", {
849
+ readonly actor: Schema.TaggedStruct<"agent", {
850
+ readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
851
+ }>;
852
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
853
+ }>;
396
854
  readonly system: Schema.TaggedStruct<"system", {
397
855
  readonly component: Schema.brand<Schema.String, string>;
398
856
  }>;
@@ -461,8 +919,8 @@ declare const makeGovernedActionRepository: Effect.Effect<{
461
919
  readonly startedAt: Schema.DateTimeUtcFromString;
462
920
  }, "Type"> | null;
463
921
  }, import("../errors.ts").RecordNotFoundError | import("../errors.ts").PersistenceOperationError | import("../errors.ts").PersistedRecordError | import("../errors.ts").QuarantineWriteError | import("effect/unstable/sql/SqlError").SqlError | GovernedActionInputError | import("./governed-action/quarantine.ts").MalformedGovernedActionRecord, never>;
464
- readByIdempotencyKey: (input: unknown) => Effect.Effect<{
465
- envelope: Schema.Struct.ReadonlySide<{
922
+ readLatestTerminalByTarget: (input: unknown) => Effect.Effect<readonly Schema.Struct.ReadonlySide<{
923
+ readonly envelope: Schema.Struct<{
466
924
  readonly envelopeDigest: Schema.brand<Schema.String, string>;
467
925
  readonly schemaVersion: Schema.Literal<1>;
468
926
  readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
@@ -528,6 +986,12 @@ declare const makeGovernedActionRepository: Effect.Effect<{
528
986
  readonly requiredPermission: Schema.Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
529
987
  }>;
530
988
  readonly origin: Schema.TaggedUnion<{
989
+ readonly human: Schema.TaggedStruct<"human", {
990
+ readonly actor: Schema.TaggedStruct<"human", {
991
+ readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
992
+ }>;
993
+ readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
994
+ }>;
531
995
  readonly agent: Schema.TaggedStruct<"agent", {
532
996
  readonly actor: Schema.TaggedStruct<"agent", {
533
997
  readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
@@ -535,18 +999,18 @@ declare const makeGovernedActionRepository: Effect.Effect<{
535
999
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
536
1000
  readonly initiatingSessionId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">>;
537
1001
  }>;
538
- readonly human: Schema.TaggedStruct<"human", {
539
- readonly actor: Schema.TaggedStruct<"human", {
540
- readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
541
- }>;
542
- readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
543
- }>;
544
1002
  }>;
545
1003
  readonly proposalExpiresAt: Schema.DateTimeUtcFromString;
546
1004
  readonly causationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "DomainEventId">>;
547
1005
  readonly correlationId: Schema.NullOr<Schema.brand<Schema.String, "DomainEventCorrelationId">>;
548
- }, "Type">;
549
- head: Schema.Struct.ReadonlySide<{
1006
+ readonly releasePublication: Schema.optionalKey<Schema.Struct<{
1007
+ readonly releaseId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ReleaseId">;
1008
+ readonly predecessorPublicationActionId: Schema.optionalKey<Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">>>;
1009
+ readonly sourceRevisionDigest: Schema.brand<Schema.String, string>;
1010
+ readonly sourceRevisionCount: Schema.Int;
1011
+ }>>;
1012
+ }>;
1013
+ readonly head: Schema.Struct<{
550
1014
  readonly state: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
551
1015
  readonly lineage: Schema.TaggedUnion<{
552
1016
  readonly accepted: Schema.TaggedStruct<"accepted", {
@@ -558,14 +1022,14 @@ declare const makeGovernedActionRepository: Effect.Effect<{
558
1022
  readonly observedAt: Schema.DateTimeUtcFromString;
559
1023
  }>;
560
1024
  }>;
561
- readonly none: Schema.TaggedStruct<"none", {}>;
562
- readonly manual: Schema.TaggedStruct<"manual", {
563
- readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
564
- }>;
565
1025
  readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
566
1026
  readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
567
1027
  readonly reconciliationKey: Schema.brand<Schema.String, string>;
568
1028
  }>;
1029
+ readonly manual: Schema.TaggedStruct<"manual", {
1030
+ readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
1031
+ }>;
1032
+ readonly none: Schema.TaggedStruct<"none", {}>;
569
1033
  readonly terminal: Schema.TaggedStruct<"terminal", {
570
1034
  readonly receipt: Schema.Struct<{
571
1035
  readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
@@ -576,8 +1040,8 @@ declare const makeGovernedActionRepository: Effect.Effect<{
576
1040
  }>;
577
1041
  }>;
578
1042
  }>;
579
- }, "Type">;
580
- headTransition: Schema.Struct.ReadonlySide<{
1043
+ }>;
1044
+ readonly headTransition: Schema.Struct<{
581
1045
  readonly commandDigest: Schema.brand<Schema.String, "GovernedActionCommandDigest">;
582
1046
  readonly schemaVersion: Schema.Literal<1>;
583
1047
  readonly transitionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionTransitionId">;
@@ -657,15 +1121,15 @@ declare const makeGovernedActionRepository: Effect.Effect<{
657
1121
  }>;
658
1122
  readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
659
1123
  readonly outcome: Schema.TaggedUnion<{
660
- readonly manual: Schema.TaggedStruct<"manual", {
1124
+ readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
1125
+ readonly reconciliationKey: Schema.brand<Schema.String, string>;
661
1126
  readonly observedAt: Schema.DateTimeUtcFromString;
662
1127
  readonly safeSummary: Schema.String;
663
- readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
664
1128
  }>;
665
- readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
666
- readonly reconciliationKey: Schema.brand<Schema.String, string>;
1129
+ readonly manual: Schema.TaggedStruct<"manual", {
667
1130
  readonly observedAt: Schema.DateTimeUtcFromString;
668
1131
  readonly safeSummary: Schema.String;
1132
+ readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
669
1133
  }>;
670
1134
  }>;
671
1135
  }>;
@@ -693,18 +1157,18 @@ declare const makeGovernedActionRepository: Effect.Effect<{
693
1157
  }>;
694
1158
  }>;
695
1159
  readonly cause: Schema.TaggedUnion<{
696
- readonly agent: Schema.TaggedStruct<"agent", {
697
- readonly actor: Schema.TaggedStruct<"agent", {
698
- readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
699
- }>;
700
- readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
701
- }>;
702
1160
  readonly human: Schema.TaggedStruct<"human", {
703
1161
  readonly actor: Schema.TaggedStruct<"human", {
704
1162
  readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
705
1163
  }>;
706
1164
  readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
707
1165
  }>;
1166
+ readonly agent: Schema.TaggedStruct<"agent", {
1167
+ readonly actor: Schema.TaggedStruct<"agent", {
1168
+ readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
1169
+ }>;
1170
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1171
+ }>;
708
1172
  readonly system: Schema.TaggedStruct<"system", {
709
1173
  readonly component: Schema.brand<Schema.String, string>;
710
1174
  }>;
@@ -712,8 +1176,8 @@ declare const makeGovernedActionRepository: Effect.Effect<{
712
1176
  readonly occurredAt: Schema.DateTimeUtcFromString;
713
1177
  readonly causationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "DomainEventId">>;
714
1178
  readonly correlationId: Schema.NullOr<Schema.brand<Schema.String, "DomainEventCorrelationId">>;
715
- }, "Type">;
716
- history: Schema.Struct.ReadonlySide<{
1179
+ }>;
1180
+ readonly history: Schema.$Array<Schema.Struct<{
717
1181
  readonly commandDigest: Schema.brand<Schema.String, "GovernedActionCommandDigest">;
718
1182
  readonly schemaVersion: Schema.Literal<1>;
719
1183
  readonly transitionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionTransitionId">;
@@ -793,15 +1257,15 @@ declare const makeGovernedActionRepository: Effect.Effect<{
793
1257
  }>;
794
1258
  readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
795
1259
  readonly outcome: Schema.TaggedUnion<{
796
- readonly manual: Schema.TaggedStruct<"manual", {
1260
+ readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
1261
+ readonly reconciliationKey: Schema.brand<Schema.String, string>;
797
1262
  readonly observedAt: Schema.DateTimeUtcFromString;
798
1263
  readonly safeSummary: Schema.String;
799
- readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
800
1264
  }>;
801
- readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
802
- readonly reconciliationKey: Schema.brand<Schema.String, string>;
1265
+ readonly manual: Schema.TaggedStruct<"manual", {
803
1266
  readonly observedAt: Schema.DateTimeUtcFromString;
804
1267
  readonly safeSummary: Schema.String;
1268
+ readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
805
1269
  }>;
806
1270
  }>;
807
1271
  }>;
@@ -829,18 +1293,18 @@ declare const makeGovernedActionRepository: Effect.Effect<{
829
1293
  }>;
830
1294
  }>;
831
1295
  readonly cause: Schema.TaggedUnion<{
832
- readonly agent: Schema.TaggedStruct<"agent", {
833
- readonly actor: Schema.TaggedStruct<"agent", {
834
- readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
835
- }>;
836
- readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
837
- }>;
838
1296
  readonly human: Schema.TaggedStruct<"human", {
839
1297
  readonly actor: Schema.TaggedStruct<"human", {
840
1298
  readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
841
1299
  }>;
842
1300
  readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
843
1301
  }>;
1302
+ readonly agent: Schema.TaggedStruct<"agent", {
1303
+ readonly actor: Schema.TaggedStruct<"agent", {
1304
+ readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
1305
+ }>;
1306
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1307
+ }>;
844
1308
  readonly system: Schema.TaggedStruct<"system", {
845
1309
  readonly component: Schema.brand<Schema.String, string>;
846
1310
  }>;
@@ -848,8 +1312,8 @@ declare const makeGovernedActionRepository: Effect.Effect<{
848
1312
  readonly occurredAt: Schema.DateTimeUtcFromString;
849
1313
  readonly causationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "DomainEventId">>;
850
1314
  readonly correlationId: Schema.NullOr<Schema.brand<Schema.String, "DomainEventCorrelationId">>;
851
- }, "Type">[];
852
- authorization: Schema.Struct.ReadonlySide<{
1315
+ }>>;
1316
+ readonly authorization: Schema.NullOr<Schema.Struct<{
853
1317
  readonly schemaVersion: Schema.Literal<1>;
854
1318
  readonly authorizationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAuthorizationId">;
855
1319
  readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
@@ -873,8 +1337,8 @@ declare const makeGovernedActionRepository: Effect.Effect<{
873
1337
  readonly requiredPermission: Schema.Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
874
1338
  readonly authorizedAt: Schema.DateTimeUtcFromString;
875
1339
  readonly expiresAt: Schema.DateTimeUtcFromString;
876
- }, "Type"> | null;
877
- policyEvaluation: Schema.Struct.ReadonlySide<{
1340
+ }>>;
1341
+ readonly policyEvaluation: Schema.NullOr<Schema.Struct<{
878
1342
  readonly schemaVersion: Schema.Literal<1>;
879
1343
  readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
880
1344
  readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
@@ -889,8 +1353,8 @@ declare const makeGovernedActionRepository: Effect.Effect<{
889
1353
  readonly expectedRevision: Schema.brand<Schema.String, "Revision">;
890
1354
  readonly decision: Schema.Literals<readonly ["allowed", "denied"]>;
891
1355
  readonly evaluatedAt: Schema.DateTimeUtcFromString;
892
- }, "Type"> | null;
893
- attempt: Schema.Struct.ReadonlySide<{
1356
+ }>>;
1357
+ readonly attempt: Schema.NullOr<Schema.Struct<{
894
1358
  readonly schemaVersion: Schema.Literal<1>;
895
1359
  readonly attemptId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAttemptId">;
896
1360
  readonly authorizationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAuthorizationId">;
@@ -907,36 +1371,17 @@ declare const makeGovernedActionRepository: Effect.Effect<{
907
1371
  readonly checkedAt: Schema.DateTimeUtcFromString;
908
1372
  }>;
909
1373
  readonly startedAt: Schema.DateTimeUtcFromString;
910
- }, "Type"> | null;
911
- }, import("../errors.ts").RecordNotFoundError | import("../errors.ts").PersistenceOperationError | import("../errors.ts").PersistedRecordError | import("../errors.ts").QuarantineWriteError | import("effect/unstable/sql/SqlError").SqlError | GovernedActionInputError | import("./governed-action/quarantine.ts").MalformedGovernedActionRecord, never>;
912
- readLatestTerminalByTarget: (input: unknown) => Effect.Effect<readonly Schema.Struct.ReadonlySide<{
913
- readonly envelope: Schema.Struct<{
914
- readonly envelopeDigest: Schema.brand<Schema.String, string>;
915
- readonly schemaVersion: Schema.Literal<1>;
916
- readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
917
- readonly idempotencyKey: Schema.brand<Schema.String, "GovernedActionIdempotencyKey">;
918
- readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
919
- readonly pluginConnectionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PluginConnectionId">;
920
- readonly pluginConnectionRevision: Schema.brand<Schema.Int, "GovernedActionPluginConnectionRevision">;
921
- readonly pluginConnectionAuthorityDigest: Schema.brand<Schema.String, string>;
922
- readonly pluginId: Schema.brand<Schema.String, string>;
923
- readonly pluginContractVersion: Schema.Struct<{
924
- readonly major: Schema.Int;
925
- readonly minor: Schema.Int;
926
- readonly patch: Schema.Int;
927
- }>;
928
- readonly pluginAdapterVersion: Schema.Struct<{
929
- readonly major: Schema.Int;
930
- readonly minor: Schema.Int;
931
- readonly patch: Schema.Int;
932
- }>;
933
- readonly providerId: Schema.Literals<readonly ["codecommit", "codepipeline", "jira", "confluence", "clockify"]>;
934
- readonly capability: Schema.Struct<{
935
- readonly capabilityId: Schema.Literal<"action.execute">;
936
- readonly version: Schema.Int;
937
- }>;
938
- readonly targetEntityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
939
- readonly proposal: Schema.Struct<{
1374
+ }>>;
1375
+ }, "Type">[], import("../errors.ts").RecordNotFoundError | import("../errors.ts").PersistenceOperationError | import("../errors.ts").PersistedRecordError | import("../errors.ts").QuarantineWriteError | import("effect/unstable/sql/SqlError").SqlError | GovernedActionInputError | import("./governed-action/quarantine.ts").MalformedGovernedActionRecord, never>;
1376
+ readLatestTerminalReleasePublications: (input: unknown) => Effect.Effect<{
1377
+ envelope: {
1378
+ readonly providerId: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify";
1379
+ readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
1380
+ readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
1381
+ readonly schemaVersion: 1;
1382
+ readonly causationId: (string & import("effect/Brand").Brand<"DomainEventId">) | null;
1383
+ readonly correlationId: (string & import("effect/Brand").Brand<"DomainEventCorrelationId">) | null;
1384
+ readonly proposal: Schema.Struct.ReadonlySide<{
940
1385
  readonly proposalKey: Schema.brand<Schema.String, string>;
941
1386
  readonly capabilityVersion: Schema.Int;
942
1387
  readonly request: Schema.Struct<{
@@ -956,8 +1401,35 @@ declare const makeGovernedActionRepository: Effect.Effect<{
956
1401
  readonly summary: Schema.String;
957
1402
  }>;
958
1403
  readonly proposedAt: Schema.DateTimeUtcFromString;
959
- }>;
960
- readonly evidence: Schema.$Array<Schema.Struct<{
1404
+ }, "Type">;
1405
+ readonly idempotencyKey: string & import("effect/Brand").Brand<"GovernedActionIdempotencyKey">;
1406
+ readonly pluginId: string & import("effect/Brand").Brand<string>;
1407
+ readonly actionId: string & import("effect/Brand").Brand<"GovernedActionId">;
1408
+ readonly policy: Schema.Struct.ReadonlySide<{
1409
+ readonly policyId: Schema.brand<Schema.String, string>;
1410
+ readonly policyVersion: Schema.Int;
1411
+ readonly policyDigest: Schema.brand<Schema.String, string>;
1412
+ readonly requiredPermission: Schema.Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
1413
+ }, "Type">;
1414
+ readonly evidenceSetDigest: string & import("effect/Brand").Brand<string>;
1415
+ readonly pluginConnectionRevision: number & import("effect/Brand").Brand<"GovernedActionPluginConnectionRevision">;
1416
+ readonly pluginConnectionAuthorityDigest: string & import("effect/Brand").Brand<string>;
1417
+ readonly pluginContractVersion: Schema.Struct.ReadonlySide<{
1418
+ readonly major: Schema.Int;
1419
+ readonly minor: Schema.Int;
1420
+ readonly patch: Schema.Int;
1421
+ }, "Type">;
1422
+ readonly pluginAdapterVersion: Schema.Struct.ReadonlySide<{
1423
+ readonly major: Schema.Int;
1424
+ readonly minor: Schema.Int;
1425
+ readonly patch: Schema.Int;
1426
+ }, "Type">;
1427
+ readonly capability: Schema.Struct.ReadonlySide<{
1428
+ readonly capabilityId: Schema.Literal<"action.execute">;
1429
+ readonly version: Schema.Int;
1430
+ }, "Type">;
1431
+ readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
1432
+ readonly evidence: readonly Schema.Struct.ReadonlySide<{
961
1433
  readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
962
1434
  readonly evidenceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EvidenceId">;
963
1435
  readonly evidenceClaimIds: Schema.$Array<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EvidenceClaimId">>;
@@ -967,34 +1439,31 @@ declare const makeGovernedActionRepository: Effect.Effect<{
967
1439
  readonly evaluatedAt: Schema.DateTimeUtcFromString;
968
1440
  readonly source: Schema.Literals<readonly ["current", "stale", "missing", "unavailable"]>;
969
1441
  readonly validity: Schema.Literals<readonly ["valid", "expired"]>;
970
- }>>;
971
- readonly evidenceSetDigest: Schema.brand<Schema.String, string>;
972
- readonly policy: Schema.Struct<{
973
- readonly policyId: Schema.brand<Schema.String, string>;
974
- readonly policyVersion: Schema.Int;
975
- readonly policyDigest: Schema.brand<Schema.String, string>;
976
- readonly requiredPermission: Schema.Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
977
- }>;
978
- readonly origin: Schema.TaggedUnion<{
979
- readonly agent: Schema.TaggedStruct<"agent", {
980
- readonly actor: Schema.TaggedStruct<"agent", {
981
- readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
982
- }>;
983
- readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
984
- readonly initiatingSessionId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">>;
985
- }>;
986
- readonly human: Schema.TaggedStruct<"human", {
987
- readonly actor: Schema.TaggedStruct<"human", {
988
- readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
989
- }>;
990
- readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
991
- }>;
992
- }>;
993
- readonly proposalExpiresAt: Schema.DateTimeUtcFromString;
994
- readonly causationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "DomainEventId">>;
995
- readonly correlationId: Schema.NullOr<Schema.brand<Schema.String, "DomainEventCorrelationId">>;
996
- }>;
997
- readonly head: Schema.Struct<{
1442
+ }, "Type">[];
1443
+ readonly origin: Schema.Struct.ReadonlySide<{
1444
+ readonly _tag: Schema.tag<"human">;
1445
+ readonly actor: Schema.TaggedStruct<"human", {
1446
+ readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
1447
+ }>;
1448
+ readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
1449
+ }, "Type"> | Schema.Struct.ReadonlySide<{
1450
+ readonly _tag: Schema.tag<"agent">;
1451
+ readonly actor: Schema.TaggedStruct<"agent", {
1452
+ readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
1453
+ }>;
1454
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1455
+ readonly initiatingSessionId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">>;
1456
+ }, "Type">;
1457
+ readonly proposalExpiresAt: import("effect/DateTime").Utc;
1458
+ readonly envelopeDigest: string & import("effect/Brand").Brand<string>;
1459
+ readonly releasePublication?: {
1460
+ readonly releaseId: string & import("effect/Brand").Brand<"ReleaseId">;
1461
+ readonly sourceRevisionDigest: string & import("effect/Brand").Brand<string>;
1462
+ readonly sourceRevisionCount: number;
1463
+ readonly predecessorPublicationActionId?: (string & import("effect/Brand").Brand<"GovernedActionId">) | null;
1464
+ };
1465
+ };
1466
+ head: Schema.Struct.ReadonlySide<{
998
1467
  readonly state: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
999
1468
  readonly lineage: Schema.TaggedUnion<{
1000
1469
  readonly accepted: Schema.TaggedStruct<"accepted", {
@@ -1006,14 +1475,14 @@ declare const makeGovernedActionRepository: Effect.Effect<{
1006
1475
  readonly observedAt: Schema.DateTimeUtcFromString;
1007
1476
  }>;
1008
1477
  }>;
1009
- readonly none: Schema.TaggedStruct<"none", {}>;
1010
- readonly manual: Schema.TaggedStruct<"manual", {
1011
- readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
1012
- }>;
1013
1478
  readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
1014
1479
  readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
1015
1480
  readonly reconciliationKey: Schema.brand<Schema.String, string>;
1016
1481
  }>;
1482
+ readonly manual: Schema.TaggedStruct<"manual", {
1483
+ readonly providerOperationId: Schema.NullOr<Schema.brand<Schema.String, string>>;
1484
+ }>;
1485
+ readonly none: Schema.TaggedStruct<"none", {}>;
1017
1486
  readonly terminal: Schema.TaggedStruct<"terminal", {
1018
1487
  readonly receipt: Schema.Struct<{
1019
1488
  readonly observationBasis: Schema.optionalKey<Schema.Literal<"authorization">>;
@@ -1024,8 +1493,8 @@ declare const makeGovernedActionRepository: Effect.Effect<{
1024
1493
  }>;
1025
1494
  }>;
1026
1495
  }>;
1027
- }>;
1028
- readonly headTransition: Schema.Struct<{
1496
+ }, "Type">;
1497
+ headTransition: Schema.Struct.ReadonlySide<{
1029
1498
  readonly commandDigest: Schema.brand<Schema.String, "GovernedActionCommandDigest">;
1030
1499
  readonly schemaVersion: Schema.Literal<1>;
1031
1500
  readonly transitionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionTransitionId">;
@@ -1105,15 +1574,15 @@ declare const makeGovernedActionRepository: Effect.Effect<{
1105
1574
  }>;
1106
1575
  readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
1107
1576
  readonly outcome: Schema.TaggedUnion<{
1108
- readonly manual: Schema.TaggedStruct<"manual", {
1577
+ readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
1578
+ readonly reconciliationKey: Schema.brand<Schema.String, string>;
1109
1579
  readonly observedAt: Schema.DateTimeUtcFromString;
1110
1580
  readonly safeSummary: Schema.String;
1111
- readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
1112
1581
  }>;
1113
- readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
1114
- readonly reconciliationKey: Schema.brand<Schema.String, string>;
1582
+ readonly manual: Schema.TaggedStruct<"manual", {
1115
1583
  readonly observedAt: Schema.DateTimeUtcFromString;
1116
1584
  readonly safeSummary: Schema.String;
1585
+ readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
1117
1586
  }>;
1118
1587
  }>;
1119
1588
  }>;
@@ -1141,18 +1610,18 @@ declare const makeGovernedActionRepository: Effect.Effect<{
1141
1610
  }>;
1142
1611
  }>;
1143
1612
  readonly cause: Schema.TaggedUnion<{
1144
- readonly agent: Schema.TaggedStruct<"agent", {
1145
- readonly actor: Schema.TaggedStruct<"agent", {
1146
- readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
1147
- }>;
1148
- readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1149
- }>;
1150
1613
  readonly human: Schema.TaggedStruct<"human", {
1151
1614
  readonly actor: Schema.TaggedStruct<"human", {
1152
1615
  readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
1153
1616
  }>;
1154
1617
  readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
1155
1618
  }>;
1619
+ readonly agent: Schema.TaggedStruct<"agent", {
1620
+ readonly actor: Schema.TaggedStruct<"agent", {
1621
+ readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
1622
+ }>;
1623
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1624
+ }>;
1156
1625
  readonly system: Schema.TaggedStruct<"system", {
1157
1626
  readonly component: Schema.brand<Schema.String, string>;
1158
1627
  }>;
@@ -1160,8 +1629,8 @@ declare const makeGovernedActionRepository: Effect.Effect<{
1160
1629
  readonly occurredAt: Schema.DateTimeUtcFromString;
1161
1630
  readonly causationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "DomainEventId">>;
1162
1631
  readonly correlationId: Schema.NullOr<Schema.brand<Schema.String, "DomainEventCorrelationId">>;
1163
- }>;
1164
- readonly history: Schema.$Array<Schema.Struct<{
1632
+ }, "Type">;
1633
+ history: Schema.Struct.ReadonlySide<{
1165
1634
  readonly commandDigest: Schema.brand<Schema.String, "GovernedActionCommandDigest">;
1166
1635
  readonly schemaVersion: Schema.Literal<1>;
1167
1636
  readonly transitionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionTransitionId">;
@@ -1241,15 +1710,15 @@ declare const makeGovernedActionRepository: Effect.Effect<{
1241
1710
  }>;
1242
1711
  readonly recordUnknown: Schema.TaggedStruct<"recordUnknown", {
1243
1712
  readonly outcome: Schema.TaggedUnion<{
1244
- readonly manual: Schema.TaggedStruct<"manual", {
1713
+ readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
1714
+ readonly reconciliationKey: Schema.brand<Schema.String, string>;
1245
1715
  readonly observedAt: Schema.DateTimeUtcFromString;
1246
1716
  readonly safeSummary: Schema.String;
1247
- readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
1248
1717
  }>;
1249
- readonly reconcilable: Schema.TaggedStruct<"reconcilable", {
1250
- readonly reconciliationKey: Schema.brand<Schema.String, string>;
1718
+ readonly manual: Schema.TaggedStruct<"manual", {
1251
1719
  readonly observedAt: Schema.DateTimeUtcFromString;
1252
1720
  readonly safeSummary: Schema.String;
1721
+ readonly reason: Schema.Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
1253
1722
  }>;
1254
1723
  }>;
1255
1724
  }>;
@@ -1277,18 +1746,18 @@ declare const makeGovernedActionRepository: Effect.Effect<{
1277
1746
  }>;
1278
1747
  }>;
1279
1748
  readonly cause: Schema.TaggedUnion<{
1280
- readonly agent: Schema.TaggedStruct<"agent", {
1281
- readonly actor: Schema.TaggedStruct<"agent", {
1282
- readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
1283
- }>;
1284
- readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1285
- }>;
1286
1749
  readonly human: Schema.TaggedStruct<"human", {
1287
1750
  readonly actor: Schema.TaggedStruct<"human", {
1288
1751
  readonly personId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "PersonId">;
1289
1752
  }>;
1290
1753
  readonly sessionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "SessionId">;
1291
1754
  }>;
1755
+ readonly agent: Schema.TaggedStruct<"agent", {
1756
+ readonly actor: Schema.TaggedStruct<"agent", {
1757
+ readonly agentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "AgentId">;
1758
+ }>;
1759
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1760
+ }>;
1292
1761
  readonly system: Schema.TaggedStruct<"system", {
1293
1762
  readonly component: Schema.brand<Schema.String, string>;
1294
1763
  }>;
@@ -1296,8 +1765,8 @@ declare const makeGovernedActionRepository: Effect.Effect<{
1296
1765
  readonly occurredAt: Schema.DateTimeUtcFromString;
1297
1766
  readonly causationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "DomainEventId">>;
1298
1767
  readonly correlationId: Schema.NullOr<Schema.brand<Schema.String, "DomainEventCorrelationId">>;
1299
- }>>;
1300
- readonly authorization: Schema.NullOr<Schema.Struct<{
1768
+ }, "Type">[];
1769
+ authorization: Schema.Struct.ReadonlySide<{
1301
1770
  readonly schemaVersion: Schema.Literal<1>;
1302
1771
  readonly authorizationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAuthorizationId">;
1303
1772
  readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
@@ -1321,8 +1790,8 @@ declare const makeGovernedActionRepository: Effect.Effect<{
1321
1790
  readonly requiredPermission: Schema.Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
1322
1791
  readonly authorizedAt: Schema.DateTimeUtcFromString;
1323
1792
  readonly expiresAt: Schema.DateTimeUtcFromString;
1324
- }>>;
1325
- readonly policyEvaluation: Schema.NullOr<Schema.Struct<{
1793
+ }, "Type"> | null;
1794
+ policyEvaluation: Schema.Struct.ReadonlySide<{
1326
1795
  readonly schemaVersion: Schema.Literal<1>;
1327
1796
  readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
1328
1797
  readonly workspaceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "WorkspaceId">;
@@ -1337,8 +1806,8 @@ declare const makeGovernedActionRepository: Effect.Effect<{
1337
1806
  readonly expectedRevision: Schema.brand<Schema.String, "Revision">;
1338
1807
  readonly decision: Schema.Literals<readonly ["allowed", "denied"]>;
1339
1808
  readonly evaluatedAt: Schema.DateTimeUtcFromString;
1340
- }>>;
1341
- readonly attempt: Schema.NullOr<Schema.Struct<{
1809
+ }, "Type"> | null;
1810
+ attempt: Schema.Struct.ReadonlySide<{
1342
1811
  readonly schemaVersion: Schema.Literal<1>;
1343
1812
  readonly attemptId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAttemptId">;
1344
1813
  readonly authorizationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionAuthorizationId">;
@@ -1355,8 +1824,8 @@ declare const makeGovernedActionRepository: Effect.Effect<{
1355
1824
  readonly checkedAt: Schema.DateTimeUtcFromString;
1356
1825
  }>;
1357
1826
  readonly startedAt: Schema.DateTimeUtcFromString;
1358
- }>>;
1359
- }, "Type">[], import("../errors.ts").RecordNotFoundError | import("../errors.ts").PersistenceOperationError | import("../errors.ts").PersistedRecordError | import("../errors.ts").QuarantineWriteError | import("effect/unstable/sql/SqlError").SqlError | GovernedActionInputError | import("./governed-action/quarantine.ts").MalformedGovernedActionRecord, never>;
1827
+ }, "Type"> | null;
1828
+ }[], import("../errors.ts").RecordNotFoundError | import("../errors.ts").PersistenceOperationError | import("../errors.ts").PersistedRecordError | import("../errors.ts").QuarantineWriteError | import("effect/unstable/sql/SqlError").SqlError | GovernedActionInputError | import("./governed-action/quarantine.ts").MalformedGovernedActionRecord, never>;
1360
1829
  }, never, import("effect/Crypto").Crypto | import("../Database.ts").Database | import("./quarantineRepository.ts").QuarantineRepository>;
1361
1830
  /** Deep server-only repository for governed action authority, lifecycle, and audit. */
1362
1831
  export interface GovernedActionRepositoryService extends Success<typeof makeGovernedActionRepository> {