@makaio/framework 1.0.0-dev-1788909333961 → 1.0.0-dev-1788914730846

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 (130) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/artifact-DtmJR46g.mjs +1 -0
  3. package/dist/authority-state-bootstrap-DnwkMieA.mjs +1 -0
  4. package/dist/bus/index.d.mts +20 -20
  5. package/dist/bus/index.mjs +1 -1
  6. package/dist/code-execution-B9wr0b972.mjs +1 -0
  7. package/dist/contracts/adapter/index.d.mts +2 -2
  8. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  9. package/dist/contracts/artifact/index.d.mts +3 -3
  10. package/dist/contracts/artifact/index.mjs +1 -1
  11. package/dist/contracts/canonical-model/index.d.mts +1 -1
  12. package/dist/contracts/capabilities/index.d.mts +1 -1
  13. package/dist/contracts/client/index.d.mts +1 -1
  14. package/dist/contracts/extension/index.d.mts +2 -2
  15. package/dist/contracts/extension/index.mjs +1 -1
  16. package/dist/contracts/index.d.mts +168 -168
  17. package/dist/contracts/index.mjs +1 -1
  18. package/dist/contracts/materialization/index.d.mts +2 -2
  19. package/dist/contracts/materialization/index.mjs +1 -1
  20. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  21. package/dist/contracts/session/index.d.mts +2 -2
  22. package/dist/contracts/worker/index.d.mts +1 -1
  23. package/dist/contracts/worker/index.mjs +1 -1
  24. package/dist/contracts/workflow/index.d.mts +2 -2
  25. package/dist/contracts/workflow/index.mjs +1 -1
  26. package/dist/{execution-attempt-repository-CF3cWsPo.d.mts → execution-attempt-repository-dE889kHj.d.mts} +60 -6
  27. package/dist/{extension-BgUSK5rv.mjs → extension-C1CwxkCN.mjs} +1 -1
  28. package/dist/framework-packages-B3SQPHD7.mjs +1 -0
  29. package/dist/{index-uv_WSQtw2.d.mts → index-Aomg_qFA2.d.mts} +159 -27
  30. package/dist/{index-CZuhTqsX2.d.mts → index-B_rFtKIO2.d.mts} +12 -12
  31. package/dist/{index-OP6Aw5jN.d.mts → index-BfXf_CcM.d.mts} +13 -15
  32. package/dist/{index-CpdRe5df.d.mts → index-C50sVXO7.d.mts} +767 -53
  33. package/dist/{index-DlKxbLC9.d.mts → index-CRQ2U0jE.d.mts} +7 -7
  34. package/dist/{index-B4Wg4W7d.d.mts → index-C_R6ifn9.d.mts} +100 -100
  35. package/dist/{index-B7VO0gQV.d.mts → index-CmAJx-cX.d.mts} +1 -1
  36. package/dist/{index-VAJBIJUb.d.mts → index-CtlurrJF.d.mts} +23 -23
  37. package/dist/{index-DFsJTTkS.d.mts → index-D3-21gUP.d.mts} +1 -1
  38. package/dist/{index-BO_ikAR-.d.mts → index-DRryNq7D.d.mts} +4 -4
  39. package/dist/{index-BeplDh91.d.mts → index-DfYMmJDZ.d.mts} +1974 -419
  40. package/dist/{index-VCtdvtEk.d.mts → index-DzeUtJtE.d.mts} +344 -344
  41. package/dist/{index-tDCBp28C.d.mts → index-KZ4YllPp.d.mts} +391 -391
  42. package/dist/{index-BALk4zcu.d.mts → index-ZEQDAT9K.d.mts} +1 -1
  43. package/dist/{index-U0Fe0baO.d.mts → index-jXU4dntl.d.mts} +6 -6
  44. package/dist/{index-b_LJnwCU2.d.mts → index-ksNVQHeY2.d.mts} +8 -8
  45. package/dist/{index-ByJ2NESC.d.mts → index-l9WK9El6.d.mts} +6 -6
  46. package/dist/kernel/extension/index.d.mts +1 -1
  47. package/dist/kernel/index.d.mts +2 -2
  48. package/dist/kernel/observability/index.d.mts +1 -1
  49. package/dist/{lib-Ql8RWYOd.mjs → lib-0MqNtDuH.mjs} +4 -4
  50. package/dist/{lib-B8hEa65D.mjs → lib-dlyJT26K.mjs} +1 -1
  51. package/dist/{materialization-CqOHTt92.mjs → materialization-CDemi12q.mjs} +1 -1
  52. package/dist/{namespace-DELzAyzb.d.mts → namespace-B_Gw6BMX.d.mts} +152 -152
  53. package/dist/{namespace-BlH5BeSq.d.mts → namespace-CePc0U4N.d.mts} +2 -2
  54. package/dist/{namespace-BocL2nn7.d.mts → namespace-CizM5GXh.d.mts} +6 -6
  55. package/dist/{namespace-DyeMWQKf.d.mts → namespace-D9ToNQPp.d.mts} +25 -25
  56. package/dist/{namespace-BVQ8Y2Yi.d.mts → namespace-DF9m7PLi.d.mts} +7 -7
  57. package/dist/{package-DnlJ4I1i.d.mts → package-BR0pO5BI.d.mts} +71 -9
  58. package/dist/package-DKfzsJVl.mjs +7 -0
  59. package/dist/package.json +1 -1
  60. package/dist/runtime-node/code-execution/index.d.mts +1 -1
  61. package/dist/runtime-node/code-execution/index.mjs +1 -1
  62. package/dist/runtime-node/index.d.mts +1 -1
  63. package/dist/runtime-node/index.mjs +1 -1
  64. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  65. package/dist/{schema-CJfSEZ8X.d.mts → schema-7GukLoee.d.mts} +1 -1
  66. package/dist/{schemas-B9yLU2jM.d.mts → schemas-6FlRULSc.d.mts} +212 -80
  67. package/dist/schemas-BahXrOYa.mjs +1 -0
  68. package/dist/{schemas-Djt6hIjz.d.mts → schemas-CKGHlsMd.d.mts} +1 -1
  69. package/dist/{schemas-mGJIRIZ5.d.mts → schemas-Cg2gAars.d.mts} +152 -152
  70. package/dist/{schemas-BfMFZ6J5.d.mts → schemas-CkOVC3ip.d.mts} +4 -4
  71. package/dist/{schemas-BBatvMde.d.mts → schemas-Df52igU4.d.mts} +4 -4
  72. package/dist/services/adapter-runtime/index.d.mts +3 -3
  73. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  74. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  75. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  76. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  77. package/dist/services/agent-runtime/index.d.mts +2 -2
  78. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  79. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  80. package/dist/services/context-rules/index.d.mts +3 -3
  81. package/dist/services/execution-target/index.d.mts +1 -1
  82. package/dist/services/filesystem/namespace.d.mts +6 -6
  83. package/dist/services/filesystem/schemas.d.mts +3 -3
  84. package/dist/services/git/namespace.d.mts +2 -2
  85. package/dist/services/git/schemas.d.mts +2 -2
  86. package/dist/services/index.d.mts +103 -103
  87. package/dist/services/index.mjs +1 -1
  88. package/dist/services/provider-context/index.d.mts +1 -1
  89. package/dist/services/session/index.d.mts +5 -5
  90. package/dist/services/session/messages/namespace.d.mts +1 -1
  91. package/dist/services/session/storage/namespace.d.mts +1 -1
  92. package/dist/services/session/storage/schema.d.mts +1 -1
  93. package/dist/services/settings/namespace.d.mts +4 -4
  94. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  95. package/dist/services/subagent-template/index.d.mts +1 -1
  96. package/dist/services/subagent-template/schemas.d.mts +1 -1
  97. package/dist/services/tools/index.mjs +1 -1
  98. package/dist/services/workflow-transitions/index.mjs +1 -1
  99. package/dist/{session-lineage-Bwb98OUz.d.mts → session-lineage-BtvnGkoC.d.mts} +1 -1
  100. package/dist/{tools-BkSFBqUz.mjs → tools-2INrWlnS.mjs} +1 -1
  101. package/dist/{transition-BbfxZ4U1.d.mts → transition-C1rMI1ue.d.mts} +1 -1
  102. package/dist/{types-CXwFtEIF.d.mts → types-DIHb_m2K.d.mts} +350 -350
  103. package/dist/{view-builder-CJtK5hgs.d.mts → view-builder-Dt9UEsPc.d.mts} +1 -1
  104. package/dist/{worker-VBlgozIo.mjs → worker-Bn0x5MSH.mjs} +1 -1
  105. package/dist/workflow-B6C3Pf66.mjs +1 -0
  106. package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
  107. package/dist/workflow-engine/index.d.mts +29 -27
  108. package/dist/workflow-engine/index.mjs +1 -1
  109. package/dist/workflow-engine/package.d.mts +1 -1
  110. package/dist/workflow-engine/package.mjs +1 -1
  111. package/dist/workflow-engine/provider-operation.d.mts +2 -2
  112. package/dist/workflow-engine/testing/conformance.d.mts +1 -1
  113. package/dist/workflow-engine/testing/conformance.mjs +1 -1
  114. package/dist/workflow-engine/testing/index.d.mts +3 -1
  115. package/dist/workflow-engine/testing/index.mjs +1 -1
  116. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  117. package/dist/workflow-engine/testing/sqlite.mjs +13 -3
  118. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  119. package/dist/{workflow-transitions-Cuo6s9uv.mjs → workflow-transitions-BbhM_zPm.mjs} +1 -1
  120. package/dist/{workflow-worker-7AA-u1uC.mjs → workflow-worker-BSJ6F4P0.mjs} +1 -1
  121. package/package.json +1 -1
  122. package/dist/artifact-BjqkK0KX.mjs +0 -1
  123. package/dist/authority-state-bootstrap-8VGt4vD2.mjs +0 -1
  124. package/dist/code-execution-BsiB7ZeZ2.mjs +0 -1
  125. package/dist/framework-packages-CxWecyPW.mjs +0 -1
  126. package/dist/package-BwIbyojG.mjs +0 -7
  127. package/dist/schemas-0eCrrru1.mjs +0 -1
  128. package/dist/workflow-svpU9Cig.mjs +0 -1
  129. package/dist/{index-DrwT45ci2.d.mts → index-B04VAxlm2.d.mts} +6 -6
  130. /package/dist/{kind-registration-T--B1wiI.mjs → kind-registration-DggkrLkv.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import { C as ArtifactRevision$1 } from "./schemas-B9yLU2jM.mjs";
1
+ import { x as ArtifactRevision$1 } from "./schemas-6FlRULSc.mjs";
2
2
  import { n as AutomationTriggerBinding$1, o as AutomationTriggerParams, u as DefinedAutomationTrigger } from "./definition-Bs5hzhsT.mjs";
3
3
  import { a as JsonObjectContractSchema, l as JsonValue$1 } from "./json-value-DyMQrwGz.mjs";
4
4
  import { z } from "zod";
@@ -145,10 +145,10 @@ type WorkflowSourceLocation = z.infer<typeof WorkflowSourceLocationSchema>;
145
145
  * - `sequence` — ordered list of child nodes (the structural container)
146
146
  */
147
147
  declare const WorkflowNodeTypeSchema: z.ZodEnum<{
148
+ sequence: "sequence";
148
149
  station: "station";
149
150
  "delegate-agent": "delegate-agent";
150
151
  "delegate-role": "delegate-role";
151
- sequence: "sequence";
152
152
  parallel: "parallel";
153
153
  gate: "gate";
154
154
  iterate: "iterate";
@@ -872,10 +872,10 @@ declare const WorkflowFrameStateSchema$1: z.ZodObject<{
872
872
  frameId: z.ZodString;
873
873
  nodeId: z.ZodString;
874
874
  nodeType: z.ZodEnum<{
875
+ sequence: "sequence";
875
876
  station: "station";
876
877
  "delegate-agent": "delegate-agent";
877
878
  "delegate-role": "delegate-role";
878
- sequence: "sequence";
879
879
  parallel: "parallel";
880
880
  gate: "gate";
881
881
  iterate: "iterate";
@@ -2067,18 +2067,18 @@ declare const ArtifactQuerySourceSchema: z.ZodObject<{
2067
2067
  relation: z.ZodOptional<z.ZodObject<{
2068
2068
  type: z.ZodOptional<z.ZodString>;
2069
2069
  target: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
2070
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
2070
+ refClass: z.ZodLiteral<"artifact">;
2071
2071
  kind: z.ZodString;
2072
2072
  id: z.ZodString;
2073
2073
  revision: z.ZodOptional<z.ZodString>;
2074
- }, z.core.$strip>, z.ZodObject<{
2074
+ }, z.core.$strict>, z.ZodObject<{
2075
2075
  refClass: z.ZodDefault<z.ZodLiteral<"local">>;
2076
2076
  artifact: z.ZodObject<{
2077
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
2077
+ refClass: z.ZodLiteral<"artifact">;
2078
2078
  kind: z.ZodString;
2079
2079
  id: z.ZodString;
2080
2080
  revision: z.ZodString;
2081
- }, z.core.$strip>;
2081
+ }, z.core.$strict>;
2082
2082
  localId: z.ZodString;
2083
2083
  }, z.core.$strip>, z.ZodObject<{
2084
2084
  refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
@@ -2146,18 +2146,18 @@ declare const ContextSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2146
2146
  relation: z.ZodOptional<z.ZodObject<{
2147
2147
  type: z.ZodOptional<z.ZodString>;
2148
2148
  target: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
2149
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
2149
+ refClass: z.ZodLiteral<"artifact">;
2150
2150
  kind: z.ZodString;
2151
2151
  id: z.ZodString;
2152
2152
  revision: z.ZodOptional<z.ZodString>;
2153
- }, z.core.$strip>, z.ZodObject<{
2153
+ }, z.core.$strict>, z.ZodObject<{
2154
2154
  refClass: z.ZodDefault<z.ZodLiteral<"local">>;
2155
2155
  artifact: z.ZodObject<{
2156
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
2156
+ refClass: z.ZodLiteral<"artifact">;
2157
2157
  kind: z.ZodString;
2158
2158
  id: z.ZodString;
2159
2159
  revision: z.ZodString;
2160
- }, z.core.$strip>;
2160
+ }, z.core.$strict>;
2161
2161
  localId: z.ZodString;
2162
2162
  }, z.core.$strip>, z.ZodObject<{
2163
2163
  refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
@@ -3046,18 +3046,18 @@ declare const WorkflowSchemas: {
3046
3046
  relations: z.ZodArray<z.ZodObject<{
3047
3047
  type: z.ZodString;
3048
3048
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
3049
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
3049
+ refClass: z.ZodLiteral<"artifact">;
3050
3050
  kind: z.ZodString;
3051
3051
  id: z.ZodString;
3052
3052
  revision: z.ZodString;
3053
- }, z.core.$strip>, z.ZodObject<{
3053
+ }, z.core.$strict>, z.ZodObject<{
3054
3054
  refClass: z.ZodDefault<z.ZodLiteral<"local">>;
3055
3055
  artifact: z.ZodObject<{
3056
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
3056
+ refClass: z.ZodLiteral<"artifact">;
3057
3057
  kind: z.ZodString;
3058
3058
  id: z.ZodString;
3059
3059
  revision: z.ZodString;
3060
- }, z.core.$strip>;
3060
+ }, z.core.$strict>;
3061
3061
  localId: z.ZodString;
3062
3062
  }, z.core.$strip>, z.ZodObject<{
3063
3063
  refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
@@ -3071,6 +3071,50 @@ declare const WorkflowSchemas: {
3071
3071
  id: z.ZodString;
3072
3072
  }, z.core.$strict>], "refClass">>;
3073
3073
  }, z.core.$strip>>;
3074
+ evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3075
+ source: z.ZodObject<{
3076
+ kind: z.ZodLiteral<"git-file">;
3077
+ repository: z.ZodString;
3078
+ path: z.ZodString;
3079
+ commit: z.ZodString;
3080
+ }, z.core.$strict>;
3081
+ location: z.ZodUnion<readonly [z.ZodObject<{
3082
+ kind: z.ZodLiteral<"whole-source">;
3083
+ }, z.core.$strict>, z.ZodObject<{
3084
+ kind: z.ZodLiteral<"lines">;
3085
+ startLine: z.ZodNumber;
3086
+ lineCount: z.ZodNumber;
3087
+ }, z.core.$strict>]>;
3088
+ excerpt: z.ZodOptional<z.ZodString>;
3089
+ }, z.core.$strict>, z.ZodObject<{
3090
+ source: z.ZodObject<{
3091
+ kind: z.ZodLiteral<"confluence-page">;
3092
+ site: z.ZodString;
3093
+ pageId: z.ZodString;
3094
+ version: z.ZodNumber;
3095
+ }, z.core.$strict>;
3096
+ location: z.ZodObject<{
3097
+ kind: z.ZodLiteral<"whole-source">;
3098
+ }, z.core.$strict>;
3099
+ excerpt: z.ZodOptional<z.ZodString>;
3100
+ }, z.core.$strict>, z.ZodObject<{
3101
+ source: z.ZodObject<{
3102
+ kind: z.ZodLiteral<"artifact">;
3103
+ reference: z.ZodObject<{
3104
+ refClass: z.ZodLiteral<"artifact">;
3105
+ kind: z.ZodString;
3106
+ id: z.ZodString;
3107
+ revision: z.ZodString;
3108
+ }, z.core.$strict>;
3109
+ }, z.core.$strict>;
3110
+ location: z.ZodUnion<readonly [z.ZodObject<{
3111
+ kind: z.ZodLiteral<"whole-source">;
3112
+ }, z.core.$strict>, z.ZodObject<{
3113
+ kind: z.ZodLiteral<"data-path">;
3114
+ path: z.ZodString;
3115
+ }, z.core.$strict>]>;
3116
+ excerpt: z.ZodOptional<z.ZodString>;
3117
+ }, z.core.$strict>]>>>;
3074
3118
  confidence: z.ZodOptional<z.ZodObject<{
3075
3119
  level: z.ZodEnum<{
3076
3120
  inferred: "inferred";
@@ -3089,18 +3133,18 @@ declare const WorkflowSchemas: {
3089
3133
  timestamp: z.ZodNumber;
3090
3134
  detail: z.ZodOptional<z.ZodString>;
3091
3135
  evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
3092
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
3136
+ refClass: z.ZodLiteral<"artifact">;
3093
3137
  kind: z.ZodString;
3094
3138
  id: z.ZodString;
3095
3139
  revision: z.ZodString;
3096
- }, z.core.$strip>, z.ZodObject<{
3140
+ }, z.core.$strict>, z.ZodObject<{
3097
3141
  refClass: z.ZodDefault<z.ZodLiteral<"local">>;
3098
3142
  artifact: z.ZodObject<{
3099
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
3143
+ refClass: z.ZodLiteral<"artifact">;
3100
3144
  kind: z.ZodString;
3101
3145
  id: z.ZodString;
3102
3146
  revision: z.ZodString;
3103
- }, z.core.$strip>;
3147
+ }, z.core.$strict>;
3104
3148
  localId: z.ZodString;
3105
3149
  }, z.core.$strip>, z.ZodObject<{
3106
3150
  refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
@@ -3192,6 +3236,50 @@ declare const WorkflowSchemas: {
3192
3236
  displayName?: string | undefined;
3193
3237
  };
3194
3238
  timestamp: number;
3239
+ evidence?: ({
3240
+ source: {
3241
+ kind: "git-file";
3242
+ repository: string;
3243
+ path: string;
3244
+ commit: string;
3245
+ };
3246
+ location: {
3247
+ kind: "whole-source";
3248
+ } | {
3249
+ kind: "lines";
3250
+ startLine: number;
3251
+ lineCount: number;
3252
+ };
3253
+ excerpt?: string | undefined;
3254
+ } | {
3255
+ source: {
3256
+ kind: "confluence-page";
3257
+ site: string;
3258
+ pageId: string;
3259
+ version: number;
3260
+ };
3261
+ location: {
3262
+ kind: "whole-source";
3263
+ };
3264
+ excerpt?: string | undefined;
3265
+ } | {
3266
+ source: {
3267
+ kind: "artifact";
3268
+ reference: {
3269
+ refClass: "artifact";
3270
+ kind: string;
3271
+ id: string;
3272
+ revision: string;
3273
+ };
3274
+ };
3275
+ location: {
3276
+ kind: "whole-source";
3277
+ } | {
3278
+ kind: "data-path";
3279
+ path: string;
3280
+ };
3281
+ excerpt?: string | undefined;
3282
+ })[] | undefined;
3195
3283
  confidence?: {
3196
3284
  level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
3197
3285
  basis: {
@@ -3271,6 +3359,50 @@ declare const WorkflowSchemas: {
3271
3359
  displayName?: string | undefined;
3272
3360
  };
3273
3361
  timestamp: number;
3362
+ evidence?: ({
3363
+ source: {
3364
+ kind: "git-file";
3365
+ repository: string;
3366
+ path: string;
3367
+ commit: string;
3368
+ };
3369
+ location: {
3370
+ kind: "whole-source";
3371
+ } | {
3372
+ kind: "lines";
3373
+ startLine: number;
3374
+ lineCount: number;
3375
+ };
3376
+ excerpt?: string | undefined;
3377
+ } | {
3378
+ source: {
3379
+ kind: "confluence-page";
3380
+ site: string;
3381
+ pageId: string;
3382
+ version: number;
3383
+ };
3384
+ location: {
3385
+ kind: "whole-source";
3386
+ };
3387
+ excerpt?: string | undefined;
3388
+ } | {
3389
+ source: {
3390
+ kind: "artifact";
3391
+ reference: {
3392
+ refClass: "artifact";
3393
+ kind: string;
3394
+ id: string;
3395
+ revision: string;
3396
+ };
3397
+ };
3398
+ location: {
3399
+ kind: "whole-source";
3400
+ } | {
3401
+ kind: "data-path";
3402
+ path: string;
3403
+ };
3404
+ excerpt?: string | undefined;
3405
+ })[] | undefined;
3274
3406
  confidence?: {
3275
3407
  level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
3276
3408
  basis: {
@@ -3356,6 +3488,50 @@ declare const WorkflowSchemas: {
3356
3488
  displayName?: string | undefined;
3357
3489
  };
3358
3490
  timestamp: number;
3491
+ evidence?: ({
3492
+ source: {
3493
+ kind: "git-file";
3494
+ repository: string;
3495
+ path: string;
3496
+ commit: string;
3497
+ };
3498
+ location: {
3499
+ kind: "whole-source";
3500
+ } | {
3501
+ kind: "lines";
3502
+ startLine: number;
3503
+ lineCount: number;
3504
+ };
3505
+ excerpt?: string | undefined;
3506
+ } | {
3507
+ source: {
3508
+ kind: "confluence-page";
3509
+ site: string;
3510
+ pageId: string;
3511
+ version: number;
3512
+ };
3513
+ location: {
3514
+ kind: "whole-source";
3515
+ };
3516
+ excerpt?: string | undefined;
3517
+ } | {
3518
+ source: {
3519
+ kind: "artifact";
3520
+ reference: {
3521
+ refClass: "artifact";
3522
+ kind: string;
3523
+ id: string;
3524
+ revision: string;
3525
+ };
3526
+ };
3527
+ location: {
3528
+ kind: "whole-source";
3529
+ } | {
3530
+ kind: "data-path";
3531
+ path: string;
3532
+ };
3533
+ excerpt?: string | undefined;
3534
+ })[] | undefined;
3359
3535
  confidence?: {
3360
3536
  level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
3361
3537
  basis: {
@@ -3435,6 +3611,50 @@ declare const WorkflowSchemas: {
3435
3611
  displayName?: string | undefined;
3436
3612
  };
3437
3613
  timestamp: number;
3614
+ evidence?: ({
3615
+ source: {
3616
+ kind: "git-file";
3617
+ repository: string;
3618
+ path: string;
3619
+ commit: string;
3620
+ };
3621
+ location: {
3622
+ kind: "whole-source";
3623
+ } | {
3624
+ kind: "lines";
3625
+ startLine: number;
3626
+ lineCount: number;
3627
+ };
3628
+ excerpt?: string | undefined;
3629
+ } | {
3630
+ source: {
3631
+ kind: "confluence-page";
3632
+ site: string;
3633
+ pageId: string;
3634
+ version: number;
3635
+ };
3636
+ location: {
3637
+ kind: "whole-source";
3638
+ };
3639
+ excerpt?: string | undefined;
3640
+ } | {
3641
+ source: {
3642
+ kind: "artifact";
3643
+ reference: {
3644
+ refClass: "artifact";
3645
+ kind: string;
3646
+ id: string;
3647
+ revision: string;
3648
+ };
3649
+ };
3650
+ location: {
3651
+ kind: "whole-source";
3652
+ } | {
3653
+ kind: "data-path";
3654
+ path: string;
3655
+ };
3656
+ excerpt?: string | undefined;
3657
+ })[] | undefined;
3438
3658
  confidence?: {
3439
3659
  level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
3440
3660
  basis: {
@@ -3880,10 +4100,10 @@ declare const WorkflowSchemas: {
3880
4100
  frameId: z.ZodString;
3881
4101
  nodeId: z.ZodString;
3882
4102
  nodeType: z.ZodEnum<{
4103
+ sequence: "sequence";
3883
4104
  station: "station";
3884
4105
  "delegate-agent": "delegate-agent";
3885
4106
  "delegate-role": "delegate-role";
3886
- sequence: "sequence";
3887
4107
  parallel: "parallel";
3888
4108
  gate: "gate";
3889
4109
  iterate: "iterate";
@@ -4698,10 +4918,10 @@ declare const WorkflowSchemas: {
4698
4918
  frameId: z.ZodString;
4699
4919
  nodeId: z.ZodString;
4700
4920
  nodeType: z.ZodEnum<{
4921
+ sequence: "sequence";
4701
4922
  station: "station";
4702
4923
  "delegate-agent": "delegate-agent";
4703
4924
  "delegate-role": "delegate-role";
4704
- sequence: "sequence";
4705
4925
  parallel: "parallel";
4706
4926
  gate: "gate";
4707
4927
  iterate: "iterate";
@@ -4859,10 +5079,10 @@ declare const WorkflowSchemas: {
4859
5079
  frameId: z.ZodString;
4860
5080
  nodeId: z.ZodString;
4861
5081
  nodeType: z.ZodEnum<{
5082
+ sequence: "sequence";
4862
5083
  station: "station";
4863
5084
  "delegate-agent": "delegate-agent";
4864
5085
  "delegate-role": "delegate-role";
4865
- sequence: "sequence";
4866
5086
  parallel: "parallel";
4867
5087
  gate: "gate";
4868
5088
  iterate: "iterate";
@@ -5778,18 +5998,18 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
5778
5998
  relations: z.ZodArray<z.ZodObject<{
5779
5999
  type: z.ZodString;
5780
6000
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
5781
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
6001
+ refClass: z.ZodLiteral<"artifact">;
5782
6002
  kind: z.ZodString;
5783
6003
  id: z.ZodString;
5784
6004
  revision: z.ZodString;
5785
- }, z.core.$strip>, z.ZodObject<{
6005
+ }, z.core.$strict>, z.ZodObject<{
5786
6006
  refClass: z.ZodDefault<z.ZodLiteral<"local">>;
5787
6007
  artifact: z.ZodObject<{
5788
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
6008
+ refClass: z.ZodLiteral<"artifact">;
5789
6009
  kind: z.ZodString;
5790
6010
  id: z.ZodString;
5791
6011
  revision: z.ZodString;
5792
- }, z.core.$strip>;
6012
+ }, z.core.$strict>;
5793
6013
  localId: z.ZodString;
5794
6014
  }, z.core.$strip>, z.ZodObject<{
5795
6015
  refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
@@ -5803,6 +6023,50 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
5803
6023
  id: z.ZodString;
5804
6024
  }, z.core.$strict>], "refClass">>;
5805
6025
  }, z.core.$strip>>;
6026
+ evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
6027
+ source: z.ZodObject<{
6028
+ kind: z.ZodLiteral<"git-file">;
6029
+ repository: z.ZodString;
6030
+ path: z.ZodString;
6031
+ commit: z.ZodString;
6032
+ }, z.core.$strict>;
6033
+ location: z.ZodUnion<readonly [z.ZodObject<{
6034
+ kind: z.ZodLiteral<"whole-source">;
6035
+ }, z.core.$strict>, z.ZodObject<{
6036
+ kind: z.ZodLiteral<"lines">;
6037
+ startLine: z.ZodNumber;
6038
+ lineCount: z.ZodNumber;
6039
+ }, z.core.$strict>]>;
6040
+ excerpt: z.ZodOptional<z.ZodString>;
6041
+ }, z.core.$strict>, z.ZodObject<{
6042
+ source: z.ZodObject<{
6043
+ kind: z.ZodLiteral<"confluence-page">;
6044
+ site: z.ZodString;
6045
+ pageId: z.ZodString;
6046
+ version: z.ZodNumber;
6047
+ }, z.core.$strict>;
6048
+ location: z.ZodObject<{
6049
+ kind: z.ZodLiteral<"whole-source">;
6050
+ }, z.core.$strict>;
6051
+ excerpt: z.ZodOptional<z.ZodString>;
6052
+ }, z.core.$strict>, z.ZodObject<{
6053
+ source: z.ZodObject<{
6054
+ kind: z.ZodLiteral<"artifact">;
6055
+ reference: z.ZodObject<{
6056
+ refClass: z.ZodLiteral<"artifact">;
6057
+ kind: z.ZodString;
6058
+ id: z.ZodString;
6059
+ revision: z.ZodString;
6060
+ }, z.core.$strict>;
6061
+ }, z.core.$strict>;
6062
+ location: z.ZodUnion<readonly [z.ZodObject<{
6063
+ kind: z.ZodLiteral<"whole-source">;
6064
+ }, z.core.$strict>, z.ZodObject<{
6065
+ kind: z.ZodLiteral<"data-path">;
6066
+ path: z.ZodString;
6067
+ }, z.core.$strict>]>;
6068
+ excerpt: z.ZodOptional<z.ZodString>;
6069
+ }, z.core.$strict>]>>>;
5806
6070
  confidence: z.ZodOptional<z.ZodObject<{
5807
6071
  level: z.ZodEnum<{
5808
6072
  inferred: "inferred";
@@ -5821,18 +6085,18 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
5821
6085
  timestamp: z.ZodNumber;
5822
6086
  detail: z.ZodOptional<z.ZodString>;
5823
6087
  evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
5824
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
6088
+ refClass: z.ZodLiteral<"artifact">;
5825
6089
  kind: z.ZodString;
5826
6090
  id: z.ZodString;
5827
6091
  revision: z.ZodString;
5828
- }, z.core.$strip>, z.ZodObject<{
6092
+ }, z.core.$strict>, z.ZodObject<{
5829
6093
  refClass: z.ZodDefault<z.ZodLiteral<"local">>;
5830
6094
  artifact: z.ZodObject<{
5831
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
6095
+ refClass: z.ZodLiteral<"artifact">;
5832
6096
  kind: z.ZodString;
5833
6097
  id: z.ZodString;
5834
6098
  revision: z.ZodString;
5835
- }, z.core.$strip>;
6099
+ }, z.core.$strict>;
5836
6100
  localId: z.ZodString;
5837
6101
  }, z.core.$strip>, z.ZodObject<{
5838
6102
  refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
@@ -5924,6 +6188,50 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
5924
6188
  displayName?: string | undefined;
5925
6189
  };
5926
6190
  timestamp: number;
6191
+ evidence?: ({
6192
+ source: {
6193
+ kind: "git-file";
6194
+ repository: string;
6195
+ path: string;
6196
+ commit: string;
6197
+ };
6198
+ location: {
6199
+ kind: "whole-source";
6200
+ } | {
6201
+ kind: "lines";
6202
+ startLine: number;
6203
+ lineCount: number;
6204
+ };
6205
+ excerpt?: string | undefined;
6206
+ } | {
6207
+ source: {
6208
+ kind: "confluence-page";
6209
+ site: string;
6210
+ pageId: string;
6211
+ version: number;
6212
+ };
6213
+ location: {
6214
+ kind: "whole-source";
6215
+ };
6216
+ excerpt?: string | undefined;
6217
+ } | {
6218
+ source: {
6219
+ kind: "artifact";
6220
+ reference: {
6221
+ refClass: "artifact";
6222
+ kind: string;
6223
+ id: string;
6224
+ revision: string;
6225
+ };
6226
+ };
6227
+ location: {
6228
+ kind: "whole-source";
6229
+ } | {
6230
+ kind: "data-path";
6231
+ path: string;
6232
+ };
6233
+ excerpt?: string | undefined;
6234
+ })[] | undefined;
5927
6235
  confidence?: {
5928
6236
  level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
5929
6237
  basis: {
@@ -6003,6 +6311,50 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6003
6311
  displayName?: string | undefined;
6004
6312
  };
6005
6313
  timestamp: number;
6314
+ evidence?: ({
6315
+ source: {
6316
+ kind: "git-file";
6317
+ repository: string;
6318
+ path: string;
6319
+ commit: string;
6320
+ };
6321
+ location: {
6322
+ kind: "whole-source";
6323
+ } | {
6324
+ kind: "lines";
6325
+ startLine: number;
6326
+ lineCount: number;
6327
+ };
6328
+ excerpt?: string | undefined;
6329
+ } | {
6330
+ source: {
6331
+ kind: "confluence-page";
6332
+ site: string;
6333
+ pageId: string;
6334
+ version: number;
6335
+ };
6336
+ location: {
6337
+ kind: "whole-source";
6338
+ };
6339
+ excerpt?: string | undefined;
6340
+ } | {
6341
+ source: {
6342
+ kind: "artifact";
6343
+ reference: {
6344
+ refClass: "artifact";
6345
+ kind: string;
6346
+ id: string;
6347
+ revision: string;
6348
+ };
6349
+ };
6350
+ location: {
6351
+ kind: "whole-source";
6352
+ } | {
6353
+ kind: "data-path";
6354
+ path: string;
6355
+ };
6356
+ excerpt?: string | undefined;
6357
+ })[] | undefined;
6006
6358
  confidence?: {
6007
6359
  level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
6008
6360
  basis: {
@@ -6088,6 +6440,50 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6088
6440
  displayName?: string | undefined;
6089
6441
  };
6090
6442
  timestamp: number;
6443
+ evidence?: ({
6444
+ source: {
6445
+ kind: "git-file";
6446
+ repository: string;
6447
+ path: string;
6448
+ commit: string;
6449
+ };
6450
+ location: {
6451
+ kind: "whole-source";
6452
+ } | {
6453
+ kind: "lines";
6454
+ startLine: number;
6455
+ lineCount: number;
6456
+ };
6457
+ excerpt?: string | undefined;
6458
+ } | {
6459
+ source: {
6460
+ kind: "confluence-page";
6461
+ site: string;
6462
+ pageId: string;
6463
+ version: number;
6464
+ };
6465
+ location: {
6466
+ kind: "whole-source";
6467
+ };
6468
+ excerpt?: string | undefined;
6469
+ } | {
6470
+ source: {
6471
+ kind: "artifact";
6472
+ reference: {
6473
+ refClass: "artifact";
6474
+ kind: string;
6475
+ id: string;
6476
+ revision: string;
6477
+ };
6478
+ };
6479
+ location: {
6480
+ kind: "whole-source";
6481
+ } | {
6482
+ kind: "data-path";
6483
+ path: string;
6484
+ };
6485
+ excerpt?: string | undefined;
6486
+ })[] | undefined;
6091
6487
  confidence?: {
6092
6488
  level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
6093
6489
  basis: {
@@ -6167,6 +6563,50 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6167
6563
  displayName?: string | undefined;
6168
6564
  };
6169
6565
  timestamp: number;
6566
+ evidence?: ({
6567
+ source: {
6568
+ kind: "git-file";
6569
+ repository: string;
6570
+ path: string;
6571
+ commit: string;
6572
+ };
6573
+ location: {
6574
+ kind: "whole-source";
6575
+ } | {
6576
+ kind: "lines";
6577
+ startLine: number;
6578
+ lineCount: number;
6579
+ };
6580
+ excerpt?: string | undefined;
6581
+ } | {
6582
+ source: {
6583
+ kind: "confluence-page";
6584
+ site: string;
6585
+ pageId: string;
6586
+ version: number;
6587
+ };
6588
+ location: {
6589
+ kind: "whole-source";
6590
+ };
6591
+ excerpt?: string | undefined;
6592
+ } | {
6593
+ source: {
6594
+ kind: "artifact";
6595
+ reference: {
6596
+ refClass: "artifact";
6597
+ kind: string;
6598
+ id: string;
6599
+ revision: string;
6600
+ };
6601
+ };
6602
+ location: {
6603
+ kind: "whole-source";
6604
+ } | {
6605
+ kind: "data-path";
6606
+ path: string;
6607
+ };
6608
+ excerpt?: string | undefined;
6609
+ })[] | undefined;
6170
6610
  confidence?: {
6171
6611
  level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
6172
6612
  basis: {
@@ -6612,10 +7052,10 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6612
7052
  frameId: z.ZodString;
6613
7053
  nodeId: z.ZodString;
6614
7054
  nodeType: z.ZodEnum<{
7055
+ sequence: "sequence";
6615
7056
  station: "station";
6616
7057
  "delegate-agent": "delegate-agent";
6617
7058
  "delegate-role": "delegate-role";
6618
- sequence: "sequence";
6619
7059
  parallel: "parallel";
6620
7060
  gate: "gate";
6621
7061
  iterate: "iterate";
@@ -7430,10 +7870,10 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7430
7870
  frameId: z.ZodString;
7431
7871
  nodeId: z.ZodString;
7432
7872
  nodeType: z.ZodEnum<{
7873
+ sequence: "sequence";
7433
7874
  station: "station";
7434
7875
  "delegate-agent": "delegate-agent";
7435
7876
  "delegate-role": "delegate-role";
7436
- sequence: "sequence";
7437
7877
  parallel: "parallel";
7438
7878
  gate: "gate";
7439
7879
  iterate: "iterate";
@@ -7591,10 +8031,10 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7591
8031
  frameId: z.ZodString;
7592
8032
  nodeId: z.ZodString;
7593
8033
  nodeType: z.ZodEnum<{
8034
+ sequence: "sequence";
7594
8035
  station: "station";
7595
8036
  "delegate-agent": "delegate-agent";
7596
8037
  "delegate-role": "delegate-role";
7597
- sequence: "sequence";
7598
8038
  parallel: "parallel";
7599
8039
  gate: "gate";
7600
8040
  iterate: "iterate";
@@ -8510,18 +8950,18 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8510
8950
  relations: z.ZodArray<z.ZodObject<{
8511
8951
  type: z.ZodString;
8512
8952
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
8513
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
8953
+ refClass: z.ZodLiteral<"artifact">;
8514
8954
  kind: z.ZodString;
8515
8955
  id: z.ZodString;
8516
8956
  revision: z.ZodString;
8517
- }, z.core.$strip>, z.ZodObject<{
8957
+ }, z.core.$strict>, z.ZodObject<{
8518
8958
  refClass: z.ZodDefault<z.ZodLiteral<"local">>;
8519
8959
  artifact: z.ZodObject<{
8520
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
8960
+ refClass: z.ZodLiteral<"artifact">;
8521
8961
  kind: z.ZodString;
8522
8962
  id: z.ZodString;
8523
8963
  revision: z.ZodString;
8524
- }, z.core.$strip>;
8964
+ }, z.core.$strict>;
8525
8965
  localId: z.ZodString;
8526
8966
  }, z.core.$strip>, z.ZodObject<{
8527
8967
  refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
@@ -8535,6 +8975,50 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8535
8975
  id: z.ZodString;
8536
8976
  }, z.core.$strict>], "refClass">>;
8537
8977
  }, z.core.$strip>>;
8978
+ evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
8979
+ source: z.ZodObject<{
8980
+ kind: z.ZodLiteral<"git-file">;
8981
+ repository: z.ZodString;
8982
+ path: z.ZodString;
8983
+ commit: z.ZodString;
8984
+ }, z.core.$strict>;
8985
+ location: z.ZodUnion<readonly [z.ZodObject<{
8986
+ kind: z.ZodLiteral<"whole-source">;
8987
+ }, z.core.$strict>, z.ZodObject<{
8988
+ kind: z.ZodLiteral<"lines">;
8989
+ startLine: z.ZodNumber;
8990
+ lineCount: z.ZodNumber;
8991
+ }, z.core.$strict>]>;
8992
+ excerpt: z.ZodOptional<z.ZodString>;
8993
+ }, z.core.$strict>, z.ZodObject<{
8994
+ source: z.ZodObject<{
8995
+ kind: z.ZodLiteral<"confluence-page">;
8996
+ site: z.ZodString;
8997
+ pageId: z.ZodString;
8998
+ version: z.ZodNumber;
8999
+ }, z.core.$strict>;
9000
+ location: z.ZodObject<{
9001
+ kind: z.ZodLiteral<"whole-source">;
9002
+ }, z.core.$strict>;
9003
+ excerpt: z.ZodOptional<z.ZodString>;
9004
+ }, z.core.$strict>, z.ZodObject<{
9005
+ source: z.ZodObject<{
9006
+ kind: z.ZodLiteral<"artifact">;
9007
+ reference: z.ZodObject<{
9008
+ refClass: z.ZodLiteral<"artifact">;
9009
+ kind: z.ZodString;
9010
+ id: z.ZodString;
9011
+ revision: z.ZodString;
9012
+ }, z.core.$strict>;
9013
+ }, z.core.$strict>;
9014
+ location: z.ZodUnion<readonly [z.ZodObject<{
9015
+ kind: z.ZodLiteral<"whole-source">;
9016
+ }, z.core.$strict>, z.ZodObject<{
9017
+ kind: z.ZodLiteral<"data-path">;
9018
+ path: z.ZodString;
9019
+ }, z.core.$strict>]>;
9020
+ excerpt: z.ZodOptional<z.ZodString>;
9021
+ }, z.core.$strict>]>>>;
8538
9022
  confidence: z.ZodOptional<z.ZodObject<{
8539
9023
  level: z.ZodEnum<{
8540
9024
  inferred: "inferred";
@@ -8553,18 +9037,18 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8553
9037
  timestamp: z.ZodNumber;
8554
9038
  detail: z.ZodOptional<z.ZodString>;
8555
9039
  evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
8556
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
9040
+ refClass: z.ZodLiteral<"artifact">;
8557
9041
  kind: z.ZodString;
8558
9042
  id: z.ZodString;
8559
9043
  revision: z.ZodString;
8560
- }, z.core.$strip>, z.ZodObject<{
9044
+ }, z.core.$strict>, z.ZodObject<{
8561
9045
  refClass: z.ZodDefault<z.ZodLiteral<"local">>;
8562
9046
  artifact: z.ZodObject<{
8563
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
9047
+ refClass: z.ZodLiteral<"artifact">;
8564
9048
  kind: z.ZodString;
8565
9049
  id: z.ZodString;
8566
9050
  revision: z.ZodString;
8567
- }, z.core.$strip>;
9051
+ }, z.core.$strict>;
8568
9052
  localId: z.ZodString;
8569
9053
  }, z.core.$strip>, z.ZodObject<{
8570
9054
  refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
@@ -8656,6 +9140,50 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8656
9140
  displayName?: string | undefined;
8657
9141
  };
8658
9142
  timestamp: number;
9143
+ evidence?: ({
9144
+ source: {
9145
+ kind: "git-file";
9146
+ repository: string;
9147
+ path: string;
9148
+ commit: string;
9149
+ };
9150
+ location: {
9151
+ kind: "whole-source";
9152
+ } | {
9153
+ kind: "lines";
9154
+ startLine: number;
9155
+ lineCount: number;
9156
+ };
9157
+ excerpt?: string | undefined;
9158
+ } | {
9159
+ source: {
9160
+ kind: "confluence-page";
9161
+ site: string;
9162
+ pageId: string;
9163
+ version: number;
9164
+ };
9165
+ location: {
9166
+ kind: "whole-source";
9167
+ };
9168
+ excerpt?: string | undefined;
9169
+ } | {
9170
+ source: {
9171
+ kind: "artifact";
9172
+ reference: {
9173
+ refClass: "artifact";
9174
+ kind: string;
9175
+ id: string;
9176
+ revision: string;
9177
+ };
9178
+ };
9179
+ location: {
9180
+ kind: "whole-source";
9181
+ } | {
9182
+ kind: "data-path";
9183
+ path: string;
9184
+ };
9185
+ excerpt?: string | undefined;
9186
+ })[] | undefined;
8659
9187
  confidence?: {
8660
9188
  level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
8661
9189
  basis: {
@@ -8735,6 +9263,50 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8735
9263
  displayName?: string | undefined;
8736
9264
  };
8737
9265
  timestamp: number;
9266
+ evidence?: ({
9267
+ source: {
9268
+ kind: "git-file";
9269
+ repository: string;
9270
+ path: string;
9271
+ commit: string;
9272
+ };
9273
+ location: {
9274
+ kind: "whole-source";
9275
+ } | {
9276
+ kind: "lines";
9277
+ startLine: number;
9278
+ lineCount: number;
9279
+ };
9280
+ excerpt?: string | undefined;
9281
+ } | {
9282
+ source: {
9283
+ kind: "confluence-page";
9284
+ site: string;
9285
+ pageId: string;
9286
+ version: number;
9287
+ };
9288
+ location: {
9289
+ kind: "whole-source";
9290
+ };
9291
+ excerpt?: string | undefined;
9292
+ } | {
9293
+ source: {
9294
+ kind: "artifact";
9295
+ reference: {
9296
+ refClass: "artifact";
9297
+ kind: string;
9298
+ id: string;
9299
+ revision: string;
9300
+ };
9301
+ };
9302
+ location: {
9303
+ kind: "whole-source";
9304
+ } | {
9305
+ kind: "data-path";
9306
+ path: string;
9307
+ };
9308
+ excerpt?: string | undefined;
9309
+ })[] | undefined;
8738
9310
  confidence?: {
8739
9311
  level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
8740
9312
  basis: {
@@ -8820,6 +9392,50 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8820
9392
  displayName?: string | undefined;
8821
9393
  };
8822
9394
  timestamp: number;
9395
+ evidence?: ({
9396
+ source: {
9397
+ kind: "git-file";
9398
+ repository: string;
9399
+ path: string;
9400
+ commit: string;
9401
+ };
9402
+ location: {
9403
+ kind: "whole-source";
9404
+ } | {
9405
+ kind: "lines";
9406
+ startLine: number;
9407
+ lineCount: number;
9408
+ };
9409
+ excerpt?: string | undefined;
9410
+ } | {
9411
+ source: {
9412
+ kind: "confluence-page";
9413
+ site: string;
9414
+ pageId: string;
9415
+ version: number;
9416
+ };
9417
+ location: {
9418
+ kind: "whole-source";
9419
+ };
9420
+ excerpt?: string | undefined;
9421
+ } | {
9422
+ source: {
9423
+ kind: "artifact";
9424
+ reference: {
9425
+ refClass: "artifact";
9426
+ kind: string;
9427
+ id: string;
9428
+ revision: string;
9429
+ };
9430
+ };
9431
+ location: {
9432
+ kind: "whole-source";
9433
+ } | {
9434
+ kind: "data-path";
9435
+ path: string;
9436
+ };
9437
+ excerpt?: string | undefined;
9438
+ })[] | undefined;
8823
9439
  confidence?: {
8824
9440
  level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
8825
9441
  basis: {
@@ -8899,6 +9515,50 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8899
9515
  displayName?: string | undefined;
8900
9516
  };
8901
9517
  timestamp: number;
9518
+ evidence?: ({
9519
+ source: {
9520
+ kind: "git-file";
9521
+ repository: string;
9522
+ path: string;
9523
+ commit: string;
9524
+ };
9525
+ location: {
9526
+ kind: "whole-source";
9527
+ } | {
9528
+ kind: "lines";
9529
+ startLine: number;
9530
+ lineCount: number;
9531
+ };
9532
+ excerpt?: string | undefined;
9533
+ } | {
9534
+ source: {
9535
+ kind: "confluence-page";
9536
+ site: string;
9537
+ pageId: string;
9538
+ version: number;
9539
+ };
9540
+ location: {
9541
+ kind: "whole-source";
9542
+ };
9543
+ excerpt?: string | undefined;
9544
+ } | {
9545
+ source: {
9546
+ kind: "artifact";
9547
+ reference: {
9548
+ refClass: "artifact";
9549
+ kind: string;
9550
+ id: string;
9551
+ revision: string;
9552
+ };
9553
+ };
9554
+ location: {
9555
+ kind: "whole-source";
9556
+ } | {
9557
+ kind: "data-path";
9558
+ path: string;
9559
+ };
9560
+ excerpt?: string | undefined;
9561
+ })[] | undefined;
8902
9562
  confidence?: {
8903
9563
  level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
8904
9564
  basis: {
@@ -9344,10 +10004,10 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9344
10004
  frameId: z.ZodString;
9345
10005
  nodeId: z.ZodString;
9346
10006
  nodeType: z.ZodEnum<{
10007
+ sequence: "sequence";
9347
10008
  station: "station";
9348
10009
  "delegate-agent": "delegate-agent";
9349
10010
  "delegate-role": "delegate-role";
9350
- sequence: "sequence";
9351
10011
  parallel: "parallel";
9352
10012
  gate: "gate";
9353
10013
  iterate: "iterate";
@@ -10162,10 +10822,10 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10162
10822
  frameId: z.ZodString;
10163
10823
  nodeId: z.ZodString;
10164
10824
  nodeType: z.ZodEnum<{
10825
+ sequence: "sequence";
10165
10826
  station: "station";
10166
10827
  "delegate-agent": "delegate-agent";
10167
10828
  "delegate-role": "delegate-role";
10168
- sequence: "sequence";
10169
10829
  parallel: "parallel";
10170
10830
  gate: "gate";
10171
10831
  iterate: "iterate";
@@ -10323,10 +10983,10 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10323
10983
  frameId: z.ZodString;
10324
10984
  nodeId: z.ZodString;
10325
10985
  nodeType: z.ZodEnum<{
10986
+ sequence: "sequence";
10326
10987
  station: "station";
10327
10988
  "delegate-agent": "delegate-agent";
10328
10989
  "delegate-role": "delegate-role";
10329
- sequence: "sequence";
10330
10990
  parallel: "parallel";
10331
10991
  gate: "gate";
10332
10992
  iterate: "iterate";
@@ -11240,18 +11900,18 @@ declare const WorkflowRunResultSchema$1: z.ZodDiscriminatedUnion<[z.ZodObject<{
11240
11900
  relations: z.ZodArray<z.ZodObject<{
11241
11901
  type: z.ZodString;
11242
11902
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
11243
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
11903
+ refClass: z.ZodLiteral<"artifact">;
11244
11904
  kind: z.ZodString;
11245
11905
  id: z.ZodString;
11246
11906
  revision: z.ZodString;
11247
- }, z.core.$strip>, z.ZodObject<{
11907
+ }, z.core.$strict>, z.ZodObject<{
11248
11908
  refClass: z.ZodDefault<z.ZodLiteral<"local">>;
11249
11909
  artifact: z.ZodObject<{
11250
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
11910
+ refClass: z.ZodLiteral<"artifact">;
11251
11911
  kind: z.ZodString;
11252
11912
  id: z.ZodString;
11253
11913
  revision: z.ZodString;
11254
- }, z.core.$strip>;
11914
+ }, z.core.$strict>;
11255
11915
  localId: z.ZodString;
11256
11916
  }, z.core.$strip>, z.ZodObject<{
11257
11917
  refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
@@ -11265,6 +11925,50 @@ declare const WorkflowRunResultSchema$1: z.ZodDiscriminatedUnion<[z.ZodObject<{
11265
11925
  id: z.ZodString;
11266
11926
  }, z.core.$strict>], "refClass">>;
11267
11927
  }, z.core.$strip>>;
11928
+ evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
11929
+ source: z.ZodObject<{
11930
+ kind: z.ZodLiteral<"git-file">;
11931
+ repository: z.ZodString;
11932
+ path: z.ZodString;
11933
+ commit: z.ZodString;
11934
+ }, z.core.$strict>;
11935
+ location: z.ZodUnion<readonly [z.ZodObject<{
11936
+ kind: z.ZodLiteral<"whole-source">;
11937
+ }, z.core.$strict>, z.ZodObject<{
11938
+ kind: z.ZodLiteral<"lines">;
11939
+ startLine: z.ZodNumber;
11940
+ lineCount: z.ZodNumber;
11941
+ }, z.core.$strict>]>;
11942
+ excerpt: z.ZodOptional<z.ZodString>;
11943
+ }, z.core.$strict>, z.ZodObject<{
11944
+ source: z.ZodObject<{
11945
+ kind: z.ZodLiteral<"confluence-page">;
11946
+ site: z.ZodString;
11947
+ pageId: z.ZodString;
11948
+ version: z.ZodNumber;
11949
+ }, z.core.$strict>;
11950
+ location: z.ZodObject<{
11951
+ kind: z.ZodLiteral<"whole-source">;
11952
+ }, z.core.$strict>;
11953
+ excerpt: z.ZodOptional<z.ZodString>;
11954
+ }, z.core.$strict>, z.ZodObject<{
11955
+ source: z.ZodObject<{
11956
+ kind: z.ZodLiteral<"artifact">;
11957
+ reference: z.ZodObject<{
11958
+ refClass: z.ZodLiteral<"artifact">;
11959
+ kind: z.ZodString;
11960
+ id: z.ZodString;
11961
+ revision: z.ZodString;
11962
+ }, z.core.$strict>;
11963
+ }, z.core.$strict>;
11964
+ location: z.ZodUnion<readonly [z.ZodObject<{
11965
+ kind: z.ZodLiteral<"whole-source">;
11966
+ }, z.core.$strict>, z.ZodObject<{
11967
+ kind: z.ZodLiteral<"data-path">;
11968
+ path: z.ZodString;
11969
+ }, z.core.$strict>]>;
11970
+ excerpt: z.ZodOptional<z.ZodString>;
11971
+ }, z.core.$strict>]>>>;
11268
11972
  confidence: z.ZodOptional<z.ZodObject<{
11269
11973
  level: z.ZodEnum<{
11270
11974
  inferred: "inferred";
@@ -11283,18 +11987,18 @@ declare const WorkflowRunResultSchema$1: z.ZodDiscriminatedUnion<[z.ZodObject<{
11283
11987
  timestamp: z.ZodNumber;
11284
11988
  detail: z.ZodOptional<z.ZodString>;
11285
11989
  evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
11286
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
11990
+ refClass: z.ZodLiteral<"artifact">;
11287
11991
  kind: z.ZodString;
11288
11992
  id: z.ZodString;
11289
11993
  revision: z.ZodString;
11290
- }, z.core.$strip>, z.ZodObject<{
11994
+ }, z.core.$strict>, z.ZodObject<{
11291
11995
  refClass: z.ZodDefault<z.ZodLiteral<"local">>;
11292
11996
  artifact: z.ZodObject<{
11293
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
11997
+ refClass: z.ZodLiteral<"artifact">;
11294
11998
  kind: z.ZodString;
11295
11999
  id: z.ZodString;
11296
12000
  revision: z.ZodString;
11297
- }, z.core.$strip>;
12001
+ }, z.core.$strict>;
11298
12002
  localId: z.ZodString;
11299
12003
  }, z.core.$strip>, z.ZodObject<{
11300
12004
  refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
@@ -11365,6 +12069,16 @@ type WorkerContributionManifest$1 = z.infer<typeof WorkerContributionManifestSch
11365
12069
  * Optional controls for one workflow runner invocation.
11366
12070
  */
11367
12071
  interface WorkflowRunnerRunOptions$1 {
12072
+ /**
12073
+ * Local owner admission around durable attempt creation only. A runner must
12074
+ * release this boundary before dispatching or awaiting the workload outcome.
12075
+ * This callback never travels in worker configuration or dispatch metadata.
12076
+ * Direct runner consumers that omit it own their own admission policy.
12077
+ * @param create - Creation operation executed only while the owner permits new work.
12078
+ * @returns The result of the admitted creation operation.
12079
+ * @typeParam T - Creation result retained by the dispatch runner.
12080
+ */
12081
+ readonly withAttemptCreation?: <T>(create: () => Promise<T>) => Promise<T>;
11368
12082
  /**
11369
12083
  * Opaque metadata forwarded to dispatch layers that support it.
11370
12084
  *
@@ -11598,10 +12312,10 @@ declare const WorkLogFrameEntrySchema$1: z.ZodObject<{
11598
12312
  frameId: z.ZodString;
11599
12313
  nodeId: z.ZodString;
11600
12314
  nodeType: z.ZodEnum<{
12315
+ sequence: "sequence";
11601
12316
  station: "station";
11602
12317
  "delegate-agent": "delegate-agent";
11603
12318
  "delegate-role": "delegate-role";
11604
- sequence: "sequence";
11605
12319
  parallel: "parallel";
11606
12320
  gate: "gate";
11607
12321
  iterate: "iterate";