@agenticworkflowprotocol/validator 0.1.0 → 0.2.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 (620) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +35 -10
  3. package/dist/browser/awp-validator.mjs +120 -120
  4. package/dist/browser/awp-validator.mjs.map +4 -4
  5. package/package.json +6 -3
  6. package/src/browser.js +15 -12
  7. package/src/cli.js +2 -2
  8. package/src/format.js +11 -1
  9. package/src/index.js +14 -8
  10. package/src/validator.js +16 -8
  11. package/src/versions.js +27 -0
  12. package/types/index.d.ts +19 -6
  13. package/vendor/awp/PROVENANCE.json +2444 -0
  14. package/vendor/awp/conformance/human-input.mjs +44 -0
  15. package/vendor/{awp-v1alpha1 → awp}/conformance/index.json +29 -2
  16. package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.2-unsupported-api-version.yaml +2 -2
  17. package/vendor/awp/conformance/invalid/3.3-for-each-in-v1alpha1.yaml +69 -0
  18. package/vendor/awp/conformance/invalid/5.6.1-approval-step-required-for.yaml +72 -0
  19. package/vendor/awp/conformance/invalid/5.6.1-approval-step-separation-of-duties.yaml +74 -0
  20. package/vendor/awp/conformance/migrate.mjs +74 -0
  21. package/vendor/{awp-v1alpha1 → awp}/conformance/semantic.mjs +95 -26
  22. package/vendor/awp/conformance/v1alpha2/index.json +1619 -0
  23. package/vendor/awp/conformance/v1alpha2/invalid/10.2-invalid-integrity-mode.yaml +66 -0
  24. package/vendor/awp/conformance/v1alpha2/invalid/10.2-invalid-payload.yaml +65 -0
  25. package/vendor/awp/conformance/v1alpha2/invalid/10.2-invalid-retention.yaml +66 -0
  26. package/vendor/awp/conformance/v1alpha2/invalid/3.1-custom-tag.yaml +63 -0
  27. package/vendor/awp/conformance/v1alpha2/invalid/3.1-non-string-key.yaml +65 -0
  28. package/vendor/awp/conformance/v1alpha2/invalid/3.1-syntax-error.yaml +5 -0
  29. package/vendor/awp/conformance/v1alpha2/invalid/3.2-missing-api-version.yaml +62 -0
  30. package/vendor/awp/conformance/v1alpha2/invalid/3.2-missing-metadata.yaml +55 -0
  31. package/vendor/awp/conformance/v1alpha2/invalid/3.2-missing-spec.yaml +13 -0
  32. package/vendor/awp/conformance/v1alpha2/invalid/3.2-unsupported-api-version.yaml +63 -0
  33. package/vendor/awp/conformance/v1alpha2/invalid/3.2-unsupported-kind.yaml +63 -0
  34. package/vendor/awp/conformance/v1alpha2/invalid/3.3-profile-a2a-agent.yaml +67 -0
  35. package/vendor/awp/conformance/v1alpha2/invalid/3.3-profile-approval-step.yaml +71 -0
  36. package/vendor/awp/conformance/v1alpha2/invalid/3.3-profile-audit-field.yaml +66 -0
  37. package/vendor/awp/conformance/v1alpha2/invalid/3.3-profile-governance-field.yaml +67 -0
  38. package/vendor/awp/conformance/v1alpha2/invalid/3.3-profile-high-risk.yaml +64 -0
  39. package/vendor/awp/conformance/v1alpha2/invalid/3.3-profile-mcp-field.yaml +64 -0
  40. package/vendor/awp/conformance/v1alpha2/invalid/3.3-profile-policy-kind.yaml +20 -0
  41. package/vendor/awp/conformance/v1alpha2/invalid/3.3-profile-security-field.yaml +67 -0
  42. package/vendor/awp/conformance/v1alpha2/invalid/3.3-unknown-field-near-extension.yaml +64 -0
  43. package/vendor/awp/conformance/v1alpha2/invalid/3.3-unknown-metadata-field.yaml +64 -0
  44. package/vendor/awp/conformance/v1alpha2/invalid/3.3-unknown-step-field.yaml +64 -0
  45. package/vendor/awp/conformance/v1alpha2/invalid/3.3-unknown-top-level-field.yaml +64 -0
  46. package/vendor/awp/conformance/v1alpha2/invalid/3.4-duplicate-agent-id.yaml +70 -0
  47. package/vendor/awp/conformance/v1alpha2/invalid/3.4-duplicate-rule-id.yaml +26 -0
  48. package/vendor/awp/conformance/v1alpha2/invalid/3.4-invalid-metadata-name.yaml +63 -0
  49. package/vendor/awp/conformance/v1alpha2/invalid/3.4-uppercase-agent-id.yaml +63 -0
  50. package/vendor/awp/conformance/v1alpha2/invalid/3.5-version-leading-zero.yaml +63 -0
  51. package/vendor/awp/conformance/v1alpha2/invalid/3.5-version-not-semver.yaml +63 -0
  52. package/vendor/awp/conformance/v1alpha2/invalid/3.6-duration-unknown-unit.yaml +64 -0
  53. package/vendor/awp/conformance/v1alpha2/invalid/3.6-duration-zero.yaml +63 -0
  54. package/vendor/awp/conformance/v1alpha2/invalid/3.7-date-not-calendar-valid.yaml +66 -0
  55. package/vendor/awp/conformance/v1alpha2/invalid/3.7-date-wrong-format.yaml +66 -0
  56. package/vendor/awp/conformance/v1alpha2/invalid/3.8-digest-uppercase-hex.yaml +65 -0
  57. package/vendor/awp/conformance/v1alpha2/invalid/3.8-digest-wrong-length.yaml +65 -0
  58. package/vendor/awp/conformance/v1alpha2/invalid/3.9-expression-function.yaml +63 -0
  59. package/vendor/awp/conformance/v1alpha2/invalid/3.9-expression-in-env-key-ref-bad.yaml +70 -0
  60. package/vendor/awp/conformance/v1alpha2/invalid/3.9-expression-operator.yaml +63 -0
  61. package/vendor/awp/conformance/v1alpha2/invalid/3.9-expression-unknown-root.yaml +63 -0
  62. package/vendor/awp/conformance/v1alpha2/invalid/3.9-expression-unterminated.yaml +63 -0
  63. package/vendor/awp/conformance/v1alpha2/invalid/3.9-iteration-reference-outside-for-each.yaml +66 -0
  64. package/vendor/awp/conformance/v1alpha2/invalid/3.9-step-reference-in-permissions.yaml +65 -0
  65. package/vendor/awp/conformance/v1alpha2/invalid/3.9-step-reference-unknown-step.yaml +63 -0
  66. package/vendor/awp/conformance/v1alpha2/invalid/3.9-step-reference-without-dependency.yaml +62 -0
  67. package/vendor/awp/conformance/v1alpha2/invalid/4-invalid-label-key.yaml +65 -0
  68. package/vendor/awp/conformance/v1alpha2/invalid/4-invalid-risk-level.yaml +63 -0
  69. package/vendor/awp/conformance/v1alpha2/invalid/4-label-value-not-string.yaml +65 -0
  70. package/vendor/awp/conformance/v1alpha2/invalid/4-missing-owner.yaml +61 -0
  71. package/vendor/awp/conformance/v1alpha2/invalid/4-missing-version.yaml +62 -0
  72. package/vendor/awp/conformance/v1alpha2/invalid/4-owner-without-team.yaml +63 -0
  73. package/vendor/awp/conformance/v1alpha2/invalid/5.2-cron-not-five-fields.yaml +66 -0
  74. package/vendor/awp/conformance/v1alpha2/invalid/5.2-event-without-event-type.yaml +66 -0
  75. package/vendor/awp/conformance/v1alpha2/invalid/5.2-schedule-without-cron.yaml +66 -0
  76. package/vendor/awp/conformance/v1alpha2/invalid/5.2-unknown-trigger-type.yaml +65 -0
  77. package/vendor/awp/conformance/v1alpha2/invalid/5.3-default-wrong-type.yaml +63 -0
  78. package/vendor/awp/conformance/v1alpha2/invalid/5.3-invalid-pattern.yaml +63 -0
  79. package/vendor/awp/conformance/v1alpha2/invalid/5.3-required-input-with-default.yaml +64 -0
  80. package/vendor/awp/conformance/v1alpha2/invalid/5.3-unknown-input-type.yaml +62 -0
  81. package/vendor/awp/conformance/v1alpha2/invalid/5.4.1-inline-agent-without-model.yaml +60 -0
  82. package/vendor/awp/conformance/v1alpha2/invalid/5.4.1-instructions-and-prompt-ref.yaml +67 -0
  83. package/vendor/awp/conformance/v1alpha2/invalid/5.4.2-reference-version-range.yaml +67 -0
  84. package/vendor/awp/conformance/v1alpha2/invalid/5.4.2-reference-with-instructions.yaml +68 -0
  85. package/vendor/awp/conformance/v1alpha2/invalid/5.4.2-reference-with-model.yaml +70 -0
  86. package/vendor/awp/conformance/v1alpha2/invalid/5.4.2-reference-without-version.yaml +66 -0
  87. package/vendor/awp/conformance/v1alpha2/invalid/5.4.3-invalid-model-approval-status.yaml +65 -0
  88. package/vendor/awp/conformance/v1alpha2/invalid/5.4.3-model-without-name.yaml +62 -0
  89. package/vendor/awp/conformance/v1alpha2/invalid/5.4.4-remote-agent-http-endpoint.yaml +66 -0
  90. package/vendor/awp/conformance/v1alpha2/invalid/5.4.4-remote-agent-with-model.yaml +69 -0
  91. package/vendor/awp/conformance/v1alpha2/invalid/5.4.4-remote-agent-without-endpoint.yaml +65 -0
  92. package/vendor/awp/conformance/v1alpha2/invalid/5.4.4-remote-agent-wrong-protocol.yaml +66 -0
  93. package/vendor/awp/conformance/v1alpha2/invalid/5.5.1-duplicate-server-name.yaml +68 -0
  94. package/vendor/awp/conformance/v1alpha2/invalid/5.5.1-mcp-url-not-https.yaml +63 -0
  95. package/vendor/awp/conformance/v1alpha2/invalid/5.5.1-streamable-http-without-url.yaml +62 -0
  96. package/vendor/awp/conformance/v1alpha2/invalid/5.5.1-unknown-transport.yaml +63 -0
  97. package/vendor/awp/conformance/v1alpha2/invalid/5.5.2-builtin-tool-source-without-name.yaml +62 -0
  98. package/vendor/awp/conformance/v1alpha2/invalid/5.5.2-mcp-tool-source-without-server.yaml +62 -0
  99. package/vendor/awp/conformance/v1alpha2/invalid/5.5.3-invalid-action-identifier-in-permissions.yaml +63 -0
  100. package/vendor/awp/conformance/v1alpha2/invalid/5.5.3-wildcard-not-final-segment.yaml +63 -0
  101. package/vendor/awp/conformance/v1alpha2/invalid/5.5.4-group-contains-group.yaml +65 -0
  102. package/vendor/awp/conformance/v1alpha2/invalid/5.5.4-invalid-group-identifier.yaml +63 -0
  103. package/vendor/awp/conformance/v1alpha2/invalid/5.6.1-agent-step-with-command.yaml +64 -0
  104. package/vendor/awp/conformance/v1alpha2/invalid/5.6.1-agent-step-without-agent.yaml +62 -0
  105. package/vendor/awp/conformance/v1alpha2/invalid/5.6.1-approval-step-required-for.yaml +72 -0
  106. package/vendor/awp/conformance/v1alpha2/invalid/5.6.1-approval-step-separation-of-duties.yaml +74 -0
  107. package/vendor/awp/conformance/v1alpha2/invalid/5.6.1-approval-step-without-approval.yaml +67 -0
  108. package/vendor/awp/conformance/v1alpha2/invalid/5.6.1-command-step-with-agent.yaml +67 -0
  109. package/vendor/awp/conformance/v1alpha2/invalid/5.6.1-command-step-without-command.yaml +67 -0
  110. package/vendor/awp/conformance/v1alpha2/invalid/5.6.1-negative-retries.yaml +64 -0
  111. package/vendor/awp/conformance/v1alpha2/invalid/5.6.1-retries-exceed-max-retries.yaml +64 -0
  112. package/vendor/awp/conformance/v1alpha2/invalid/5.6.1-unknown-step-type.yaml +64 -0
  113. package/vendor/awp/conformance/v1alpha2/invalid/5.6.2-env-key-invalid.yaml +70 -0
  114. package/vendor/awp/conformance/v1alpha2/invalid/5.6.3-dependency-cycle.yaml +65 -0
  115. package/vendor/awp/conformance/v1alpha2/invalid/5.6.3-depends-on-unknown-step.yaml +64 -0
  116. package/vendor/awp/conformance/v1alpha2/invalid/5.6.3-duplicate-step-id.yaml +62 -0
  117. package/vendor/awp/conformance/v1alpha2/invalid/5.6.3-self-dependency.yaml +65 -0
  118. package/vendor/awp/conformance/v1alpha2/invalid/5.6.3-undeclared-step-output.yaml +63 -0
  119. package/vendor/awp/conformance/v1alpha2/invalid/5.6.3-unknown-agent.yaml +63 -0
  120. package/vendor/awp/conformance/v1alpha2/invalid/5.6.4-for-each-concurrency-exceeds-budget.yaml +70 -0
  121. package/vendor/awp/conformance/v1alpha2/invalid/5.6.4-for-each-input-not-array.yaml +67 -0
  122. package/vendor/awp/conformance/v1alpha2/invalid/5.6.4-for-each-items-not-a-dependency.yaml +67 -0
  123. package/vendor/awp/conformance/v1alpha2/invalid/5.6.4-for-each-items-not-a-reference.yaml +69 -0
  124. package/vendor/awp/conformance/v1alpha2/invalid/5.6.4-for-each-missing-max-items.yaml +68 -0
  125. package/vendor/awp/conformance/v1alpha2/invalid/5.6.4-for-each-on-approval-step.yaml +71 -0
  126. package/vendor/awp/conformance/v1alpha2/invalid/5.7-negative-cost.yaml +63 -0
  127. package/vendor/awp/conformance/v1alpha2/invalid/5.7-unknown-budget-field.yaml +64 -0
  128. package/vendor/awp/conformance/v1alpha2/invalid/5.7-zero-concurrency.yaml +63 -0
  129. package/vendor/awp/conformance/v1alpha2/invalid/5.7-zero-max-steps.yaml +63 -0
  130. package/vendor/awp/conformance/v1alpha2/invalid/6-agent-instructions-and-prompt-ref.yaml +20 -0
  131. package/vendor/awp/conformance/v1alpha2/invalid/6-agent-kind-with-workflow-spec.yaml +18 -0
  132. package/vendor/awp/conformance/v1alpha2/invalid/6-agent-with-workflow-field.yaml +18 -0
  133. package/vendor/awp/conformance/v1alpha2/invalid/6-agent-without-model.yaml +14 -0
  134. package/vendor/awp/conformance/v1alpha2/invalid/7.1-governance-requires-classification.yaml +62 -0
  135. package/vendor/awp/conformance/v1alpha2/invalid/7.10-environment-without-autonomy.yaml +65 -0
  136. package/vendor/awp/conformance/v1alpha2/invalid/7.10-invalid-autonomy.yaml +66 -0
  137. package/vendor/awp/conformance/v1alpha2/invalid/7.2-invalid-classification.yaml +63 -0
  138. package/vendor/awp/conformance/v1alpha2/invalid/7.2-invalid-external-transfer.yaml +66 -0
  139. package/vendor/awp/conformance/v1alpha2/invalid/7.4-invalid-model-policy-status.yaml +66 -0
  140. package/vendor/awp/conformance/v1alpha2/invalid/7.5-allow-not-boolean.yaml +63 -0
  141. package/vendor/awp/conformance/v1alpha2/invalid/7.5-invalid-default.yaml +63 -0
  142. package/vendor/awp/conformance/v1alpha2/invalid/7.5-invalid-egress.yaml +65 -0
  143. package/vendor/awp/conformance/v1alpha2/invalid/7.5-tool-without-allow.yaml +64 -0
  144. package/vendor/awp/conformance/v1alpha2/invalid/7.6-approver-empty.yaml +66 -0
  145. package/vendor/awp/conformance/v1alpha2/invalid/7.6-approver-role-and-user.yaml +67 -0
  146. package/vendor/awp/conformance/v1alpha2/invalid/7.6-invalid-on-timeout.yaml +65 -0
  147. package/vendor/awp/conformance/v1alpha2/invalid/7.6-min-approvals-zero.yaml +65 -0
  148. package/vendor/awp/conformance/v1alpha2/invalid/7.6-required-for-invalid-key.yaml +66 -0
  149. package/vendor/awp/conformance/v1alpha2/invalid/7.8-unknown-separation-rule.yaml +68 -0
  150. package/vendor/awp/conformance/v1alpha2/invalid/7.9-literal-password-in-free-form-value.yaml +64 -0
  151. package/vendor/awp/conformance/v1alpha2/invalid/7.9-literal-token-field.yaml +64 -0
  152. package/vendor/awp/conformance/v1alpha2/invalid/7.9-remote-agent-secret-ref-out-of-scope.yaml +68 -0
  153. package/vendor/awp/conformance/v1alpha2/invalid/7.9-secret-ref-empty-scope.yaml +61 -0
  154. package/vendor/awp/conformance/v1alpha2/invalid/7.9-secret-ref-out-of-scope.yaml +63 -0
  155. package/vendor/awp/conformance/v1alpha2/invalid/7.9-secret-ref-undeclared.yaml +63 -0
  156. package/vendor/awp/conformance/v1alpha2/invalid/7.9-secret-without-source.yaml +62 -0
  157. package/vendor/awp/conformance/v1alpha2/invalid/8.1-include-without-version.yaml +66 -0
  158. package/vendor/awp/conformance/v1alpha2/invalid/8.1-shorthand-not-boolean.yaml +66 -0
  159. package/vendor/awp/conformance/v1alpha2/invalid/8.1-unknown-shorthand.yaml +66 -0
  160. package/vendor/awp/conformance/v1alpha2/invalid/8.2-no-allow-effect.yaml +19 -0
  161. package/vendor/awp/conformance/v1alpha2/invalid/8.2-policy-without-rules.yaml +11 -0
  162. package/vendor/awp/conformance/v1alpha2/invalid/8.2-require-approval-without-approval.yaml +16 -0
  163. package/vendor/awp/conformance/v1alpha2/invalid/8.2-rule-without-when.yaml +17 -0
  164. package/vendor/awp/conformance/v1alpha2/invalid/8.3-empty-when.yaml +18 -0
  165. package/vendor/awp/conformance/v1alpha2/invalid/8.3-in-not-a-list.yaml +20 -0
  166. package/vendor/awp/conformance/v1alpha2/invalid/8.3-invalid-actor-type.yaml +19 -0
  167. package/vendor/awp/conformance/v1alpha2/invalid/8.3-invalid-classification-value.yaml +20 -0
  168. package/vendor/awp/conformance/v1alpha2/invalid/8.3-ordering-operator-on-unordered-attribute.yaml +20 -0
  169. package/vendor/awp/conformance/v1alpha2/invalid/8.3-unknown-attribute.yaml +19 -0
  170. package/vendor/awp/conformance/v1alpha2/invalid/9.1-digest-mismatch.yaml +66 -0
  171. package/vendor/awp/conformance/v1alpha2/invalid/9.4-unpinned-command-image-security-profile.yaml +69 -0
  172. package/vendor/awp/conformance/v1alpha2/invalid/9.4-unpinned-mcp-image-security-profile.yaml +66 -0
  173. package/vendor/awp/conformance/v1alpha2/valid/10.2-audit-configuration.yaml +70 -0
  174. package/vendor/awp/conformance/v1alpha2/valid/3.1-multi-document.yaml +80 -0
  175. package/vendor/awp/conformance/v1alpha2/valid/3.2-minimal-workflow.yaml +21 -0
  176. package/vendor/awp/conformance/v1alpha2/valid/3.3-core-profile-only.yaml +23 -0
  177. package/vendor/awp/conformance/v1alpha2/valid/3.3-extension-fields.yaml +71 -0
  178. package/vendor/awp/conformance/v1alpha2/valid/3.6-durations.yaml +65 -0
  179. package/vendor/awp/conformance/v1alpha2/valid/3.9-expression-references.yaml +63 -0
  180. package/vendor/awp/conformance/v1alpha2/valid/4-owner-string-shorthand.yaml +66 -0
  181. package/vendor/awp/conformance/v1alpha2/valid/5.2-triggers.yaml +73 -0
  182. package/vendor/awp/conformance/v1alpha2/valid/5.3-inputs.yaml +86 -0
  183. package/vendor/awp/conformance/v1alpha2/valid/5.4.2-agent-reference.yaml +74 -0
  184. package/vendor/awp/conformance/v1alpha2/valid/5.4.4-remote-agent.yaml +79 -0
  185. package/vendor/awp/conformance/v1alpha2/valid/5.5.4-action-groups.yaml +67 -0
  186. package/vendor/awp/conformance/v1alpha2/valid/5.6.2-command-step-env.yaml +73 -0
  187. package/vendor/awp/conformance/v1alpha2/valid/5.6.3-transitive-step-reference.yaml +68 -0
  188. package/vendor/awp/conformance/v1alpha2/valid/5.6.4-for-each.yaml +82 -0
  189. package/vendor/awp/conformance/v1alpha2/valid/5.7-nested-budgets.yaml +70 -0
  190. package/vendor/awp/conformance/v1alpha2/valid/6-agent-manifest.yaml +35 -0
  191. package/vendor/awp/conformance/v1alpha2/valid/6-agent-prompt-ref.yaml +19 -0
  192. package/vendor/awp/conformance/v1alpha2/valid/7.10-environments.yaml +74 -0
  193. package/vendor/awp/conformance/v1alpha2/valid/7.2-data-and-model-policy.yaml +105 -0
  194. package/vendor/awp/conformance/v1alpha2/valid/7.5-permissions.yaml +80 -0
  195. package/vendor/awp/conformance/v1alpha2/valid/7.6-approval-and-separation-of-duties.yaml +89 -0
  196. package/vendor/awp/conformance/v1alpha2/valid/8.1-policy-shorthands.yaml +77 -0
  197. package/vendor/awp/conformance/v1alpha2/valid/8.2-policy-manifest.yaml +30 -0
  198. package/vendor/awp/conformance/v1alpha2/valid/8.3-conditions.yaml +36 -0
  199. package/vendor/awp/conformance/v1alpha2/valid/9.1-digest-verified.yaml +66 -0
  200. package/vendor/awp/conformance/v1alpha2/valid/9.4-pinned-images-security-profile.yaml +73 -0
  201. package/vendor/awp/conformance/v1alpha3/index.json +1951 -0
  202. package/vendor/awp/conformance/v1alpha3/invalid/10.2-invalid-integrity-mode.yaml +66 -0
  203. package/vendor/awp/conformance/v1alpha3/invalid/10.2-invalid-payload.yaml +65 -0
  204. package/vendor/awp/conformance/v1alpha3/invalid/10.2-invalid-retention.yaml +66 -0
  205. package/vendor/awp/conformance/v1alpha3/invalid/10.8-workflow-ref-version-not-semver.yaml +15 -0
  206. package/vendor/awp/conformance/v1alpha3/invalid/10.8-workflow-run-governance-field.yaml +17 -0
  207. package/vendor/awp/conformance/v1alpha3/invalid/10.8-workflow-run-without-name.yaml +14 -0
  208. package/vendor/awp/conformance/v1alpha3/invalid/10.8-workflow-run-without-workflow-ref.yaml +12 -0
  209. package/vendor/awp/conformance/v1alpha3/invalid/3.1-custom-tag.yaml +63 -0
  210. package/vendor/awp/conformance/v1alpha3/invalid/3.1-non-string-key.yaml +65 -0
  211. package/vendor/awp/conformance/v1alpha3/invalid/3.1-syntax-error.yaml +5 -0
  212. package/vendor/awp/conformance/v1alpha3/invalid/3.2-missing-api-version.yaml +62 -0
  213. package/vendor/awp/conformance/v1alpha3/invalid/3.2-missing-metadata.yaml +55 -0
  214. package/vendor/awp/conformance/v1alpha3/invalid/3.2-missing-spec.yaml +13 -0
  215. package/vendor/awp/conformance/v1alpha3/invalid/3.2-unsupported-api-version.yaml +63 -0
  216. package/vendor/awp/conformance/v1alpha3/invalid/3.2-unsupported-kind.yaml +63 -0
  217. package/vendor/awp/conformance/v1alpha3/invalid/3.3-extension-field-outside-extensions.yaml +22 -0
  218. package/vendor/awp/conformance/v1alpha3/invalid/3.3-extension-key-without-prefix.yaml +23 -0
  219. package/vendor/awp/conformance/v1alpha3/invalid/3.3-profile-a2a-agent.yaml +67 -0
  220. package/vendor/awp/conformance/v1alpha3/invalid/3.3-profile-approval-step.yaml +71 -0
  221. package/vendor/awp/conformance/v1alpha3/invalid/3.3-profile-audit-field.yaml +66 -0
  222. package/vendor/awp/conformance/v1alpha3/invalid/3.3-profile-governance-field.yaml +67 -0
  223. package/vendor/awp/conformance/v1alpha3/invalid/3.3-profile-high-risk.yaml +64 -0
  224. package/vendor/awp/conformance/v1alpha3/invalid/3.3-profile-interaction-step.yaml +83 -0
  225. package/vendor/awp/conformance/v1alpha3/invalid/3.3-profile-mcp-field.yaml +64 -0
  226. package/vendor/awp/conformance/v1alpha3/invalid/3.3-profile-policy-kind.yaml +21 -0
  227. package/vendor/awp/conformance/v1alpha3/invalid/3.3-profile-security-field.yaml +67 -0
  228. package/vendor/awp/conformance/v1alpha3/invalid/3.3-unknown-field-near-extension.yaml +64 -0
  229. package/vendor/awp/conformance/v1alpha3/invalid/3.3-unknown-metadata-field.yaml +64 -0
  230. package/vendor/awp/conformance/v1alpha3/invalid/3.3-unknown-step-field.yaml +64 -0
  231. package/vendor/awp/conformance/v1alpha3/invalid/3.3-unknown-top-level-field.yaml +64 -0
  232. package/vendor/awp/conformance/v1alpha3/invalid/3.4-duplicate-agent-id.yaml +70 -0
  233. package/vendor/awp/conformance/v1alpha3/invalid/3.4-duplicate-rule-id.yaml +28 -0
  234. package/vendor/awp/conformance/v1alpha3/invalid/3.4-invalid-metadata-name.yaml +63 -0
  235. package/vendor/awp/conformance/v1alpha3/invalid/3.4-uppercase-agent-id.yaml +63 -0
  236. package/vendor/awp/conformance/v1alpha3/invalid/3.4-uppercase-metadata-name.yaml +21 -0
  237. package/vendor/awp/conformance/v1alpha3/invalid/3.5-version-leading-zero.yaml +63 -0
  238. package/vendor/awp/conformance/v1alpha3/invalid/3.5-version-not-semver.yaml +63 -0
  239. package/vendor/awp/conformance/v1alpha3/invalid/3.6-duration-unknown-unit.yaml +64 -0
  240. package/vendor/awp/conformance/v1alpha3/invalid/3.6-duration-zero.yaml +63 -0
  241. package/vendor/awp/conformance/v1alpha3/invalid/3.7-date-not-calendar-valid.yaml +66 -0
  242. package/vendor/awp/conformance/v1alpha3/invalid/3.7-date-wrong-format.yaml +66 -0
  243. package/vendor/awp/conformance/v1alpha3/invalid/3.8-digest-uppercase-hex.yaml +65 -0
  244. package/vendor/awp/conformance/v1alpha3/invalid/3.8-digest-wrong-length.yaml +65 -0
  245. package/vendor/awp/conformance/v1alpha3/invalid/3.9-expression-function.yaml +63 -0
  246. package/vendor/awp/conformance/v1alpha3/invalid/3.9-expression-in-env-key-ref-bad.yaml +70 -0
  247. package/vendor/awp/conformance/v1alpha3/invalid/3.9-expression-operator.yaml +63 -0
  248. package/vendor/awp/conformance/v1alpha3/invalid/3.9-expression-unknown-root.yaml +63 -0
  249. package/vendor/awp/conformance/v1alpha3/invalid/3.9-expression-unterminated.yaml +63 -0
  250. package/vendor/awp/conformance/v1alpha3/invalid/3.9-iteration-reference-outside-for-each.yaml +66 -0
  251. package/vendor/awp/conformance/v1alpha3/invalid/3.9-step-reference-in-permissions.yaml +65 -0
  252. package/vendor/awp/conformance/v1alpha3/invalid/3.9-step-reference-unknown-step.yaml +63 -0
  253. package/vendor/awp/conformance/v1alpha3/invalid/3.9-step-reference-without-dependency.yaml +62 -0
  254. package/vendor/awp/conformance/v1alpha3/invalid/4-governance-field-in-metadata.yaml +23 -0
  255. package/vendor/awp/conformance/v1alpha3/invalid/4-invalid-label-key.yaml +65 -0
  256. package/vendor/awp/conformance/v1alpha3/invalid/4-invalid-risk-level.yaml +63 -0
  257. package/vendor/awp/conformance/v1alpha3/invalid/4-label-value-not-string.yaml +65 -0
  258. package/vendor/awp/conformance/v1alpha3/invalid/4-label-value-too-long.yaml +23 -0
  259. package/vendor/awp/conformance/v1alpha3/invalid/4-missing-owner.yaml +61 -0
  260. package/vendor/awp/conformance/v1alpha3/invalid/4-missing-version.yaml +62 -0
  261. package/vendor/awp/conformance/v1alpha3/invalid/4-owner-string.yaml +20 -0
  262. package/vendor/awp/conformance/v1alpha3/invalid/4-owner-without-team.yaml +63 -0
  263. package/vendor/awp/conformance/v1alpha3/invalid/5.2-concurrency-policy-on-event-trigger.yaml +74 -0
  264. package/vendor/awp/conformance/v1alpha3/invalid/5.2-cron-not-five-fields.yaml +66 -0
  265. package/vendor/awp/conformance/v1alpha3/invalid/5.2-event-without-event-type.yaml +66 -0
  266. package/vendor/awp/conformance/v1alpha3/invalid/5.2-invalid-concurrency-policy.yaml +74 -0
  267. package/vendor/awp/conformance/v1alpha3/invalid/5.2-schedule-without-cron.yaml +66 -0
  268. package/vendor/awp/conformance/v1alpha3/invalid/5.2-starting-deadline-not-duration.yaml +74 -0
  269. package/vendor/awp/conformance/v1alpha3/invalid/5.2-unknown-trigger-type.yaml +65 -0
  270. package/vendor/awp/conformance/v1alpha3/invalid/5.3-default-wrong-type.yaml +63 -0
  271. package/vendor/awp/conformance/v1alpha3/invalid/5.3-invalid-pattern.yaml +63 -0
  272. package/vendor/awp/conformance/v1alpha3/invalid/5.3-required-input-with-default.yaml +64 -0
  273. package/vendor/awp/conformance/v1alpha3/invalid/5.3-unknown-input-type.yaml +62 -0
  274. package/vendor/awp/conformance/v1alpha3/invalid/5.4.1-inline-agent-without-model.yaml +60 -0
  275. package/vendor/awp/conformance/v1alpha3/invalid/5.4.1-instructions-and-prompt-ref.yaml +67 -0
  276. package/vendor/awp/conformance/v1alpha3/invalid/5.4.2-reference-version-range.yaml +67 -0
  277. package/vendor/awp/conformance/v1alpha3/invalid/5.4.2-reference-with-instructions.yaml +68 -0
  278. package/vendor/awp/conformance/v1alpha3/invalid/5.4.2-reference-with-model.yaml +70 -0
  279. package/vendor/awp/conformance/v1alpha3/invalid/5.4.2-reference-without-version.yaml +66 -0
  280. package/vendor/awp/conformance/v1alpha3/invalid/5.4.3-invalid-model-approval-status.yaml +65 -0
  281. package/vendor/awp/conformance/v1alpha3/invalid/5.4.3-model-without-name.yaml +62 -0
  282. package/vendor/awp/conformance/v1alpha3/invalid/5.4.4-remote-agent-http-endpoint.yaml +66 -0
  283. package/vendor/awp/conformance/v1alpha3/invalid/5.4.4-remote-agent-with-model.yaml +69 -0
  284. package/vendor/awp/conformance/v1alpha3/invalid/5.4.4-remote-agent-without-endpoint.yaml +65 -0
  285. package/vendor/awp/conformance/v1alpha3/invalid/5.4.4-remote-agent-wrong-protocol.yaml +66 -0
  286. package/vendor/awp/conformance/v1alpha3/invalid/5.5.1-duplicate-server-name.yaml +68 -0
  287. package/vendor/awp/conformance/v1alpha3/invalid/5.5.1-mcp-url-not-https.yaml +63 -0
  288. package/vendor/awp/conformance/v1alpha3/invalid/5.5.1-streamable-http-without-url.yaml +62 -0
  289. package/vendor/awp/conformance/v1alpha3/invalid/5.5.1-unknown-transport.yaml +63 -0
  290. package/vendor/awp/conformance/v1alpha3/invalid/5.5.2-builtin-tool-source-without-name.yaml +62 -0
  291. package/vendor/awp/conformance/v1alpha3/invalid/5.5.2-mcp-tool-source-without-server.yaml +62 -0
  292. package/vendor/awp/conformance/v1alpha3/invalid/5.5.3-invalid-action-identifier-in-permissions.yaml +63 -0
  293. package/vendor/awp/conformance/v1alpha3/invalid/5.5.3-wildcard-not-final-segment.yaml +63 -0
  294. package/vendor/awp/conformance/v1alpha3/invalid/5.5.4-group-contains-group.yaml +65 -0
  295. package/vendor/awp/conformance/v1alpha3/invalid/5.5.4-invalid-group-identifier.yaml +63 -0
  296. package/vendor/awp/conformance/v1alpha3/invalid/5.6.1-agent-step-with-command.yaml +64 -0
  297. package/vendor/awp/conformance/v1alpha3/invalid/5.6.1-agent-step-without-agent.yaml +62 -0
  298. package/vendor/awp/conformance/v1alpha3/invalid/5.6.1-approval-step-required-for.yaml +72 -0
  299. package/vendor/awp/conformance/v1alpha3/invalid/5.6.1-approval-step-separation-of-duties.yaml +74 -0
  300. package/vendor/awp/conformance/v1alpha3/invalid/5.6.1-approval-step-without-approval.yaml +67 -0
  301. package/vendor/awp/conformance/v1alpha3/invalid/5.6.1-command-step-with-agent.yaml +67 -0
  302. package/vendor/awp/conformance/v1alpha3/invalid/5.6.1-command-step-without-command.yaml +67 -0
  303. package/vendor/awp/conformance/v1alpha3/invalid/5.6.1-negative-retries.yaml +64 -0
  304. package/vendor/awp/conformance/v1alpha3/invalid/5.6.1-output-name-with-dot.yaml +82 -0
  305. package/vendor/awp/conformance/v1alpha3/invalid/5.6.1-retries-exceed-max-retries.yaml +64 -0
  306. package/vendor/awp/conformance/v1alpha3/invalid/5.6.1-unknown-step-type.yaml +64 -0
  307. package/vendor/awp/conformance/v1alpha3/invalid/5.6.2-env-key-invalid.yaml +70 -0
  308. package/vendor/awp/conformance/v1alpha3/invalid/5.6.3-dependency-cycle.yaml +65 -0
  309. package/vendor/awp/conformance/v1alpha3/invalid/5.6.3-depends-on-unknown-step.yaml +64 -0
  310. package/vendor/awp/conformance/v1alpha3/invalid/5.6.3-duplicate-step-id.yaml +62 -0
  311. package/vendor/awp/conformance/v1alpha3/invalid/5.6.3-self-dependency.yaml +65 -0
  312. package/vendor/awp/conformance/v1alpha3/invalid/5.6.3-undeclared-step-output.yaml +63 -0
  313. package/vendor/awp/conformance/v1alpha3/invalid/5.6.3-unknown-agent.yaml +63 -0
  314. package/vendor/awp/conformance/v1alpha3/invalid/5.6.4-reserved-env.yaml +83 -0
  315. package/vendor/awp/conformance/v1alpha3/invalid/5.6.5-for-each-concurrency-exceeds-budget.yaml +70 -0
  316. package/vendor/awp/conformance/v1alpha3/invalid/5.6.5-for-each-input-not-array.yaml +67 -0
  317. package/vendor/awp/conformance/v1alpha3/invalid/5.6.5-for-each-items-not-a-dependency.yaml +67 -0
  318. package/vendor/awp/conformance/v1alpha3/invalid/5.6.5-for-each-items-not-a-reference.yaml +69 -0
  319. package/vendor/awp/conformance/v1alpha3/invalid/5.6.5-for-each-missing-max-items.yaml +68 -0
  320. package/vendor/awp/conformance/v1alpha3/invalid/5.6.5-for-each-on-approval-step.yaml +71 -0
  321. package/vendor/awp/conformance/v1alpha3/invalid/5.7-negative-cost.yaml +63 -0
  322. package/vendor/awp/conformance/v1alpha3/invalid/5.7-unknown-budget-field.yaml +64 -0
  323. package/vendor/awp/conformance/v1alpha3/invalid/5.7-zero-concurrency.yaml +63 -0
  324. package/vendor/awp/conformance/v1alpha3/invalid/5.7-zero-max-steps.yaml +63 -0
  325. package/vendor/awp/conformance/v1alpha3/invalid/5.8-agent-invalid-on-timeout.yaml +79 -0
  326. package/vendor/awp/conformance/v1alpha3/invalid/5.8-answer-field-nested-object.yaml +87 -0
  327. package/vendor/awp/conformance/v1alpha3/invalid/5.8-default-mismatch.yaml +101 -0
  328. package/vendor/awp/conformance/v1alpha3/invalid/5.8-input-step-with-agent.yaml +83 -0
  329. package/vendor/awp/conformance/v1alpha3/invalid/5.8-input-step-without-input.yaml +77 -0
  330. package/vendor/awp/conformance/v1alpha3/invalid/5.8-input-without-answerers.yaml +80 -0
  331. package/vendor/awp/conformance/v1alpha3/invalid/5.8-required-unknown-field.yaml +89 -0
  332. package/vendor/awp/conformance/v1alpha3/invalid/5.8-use-default-without-default.yaml +83 -0
  333. package/vendor/awp/conformance/v1alpha3/invalid/6-agent-instructions-and-prompt-ref.yaml +21 -0
  334. package/vendor/awp/conformance/v1alpha3/invalid/6-agent-kind-with-workflow-spec.yaml +19 -0
  335. package/vendor/awp/conformance/v1alpha3/invalid/6-agent-with-workflow-field.yaml +19 -0
  336. package/vendor/awp/conformance/v1alpha3/invalid/6-agent-without-model.yaml +15 -0
  337. package/vendor/awp/conformance/v1alpha3/invalid/7.1-governance-requires-classification.yaml +62 -0
  338. package/vendor/awp/conformance/v1alpha3/invalid/7.10-environment-without-autonomy.yaml +65 -0
  339. package/vendor/awp/conformance/v1alpha3/invalid/7.10-invalid-autonomy.yaml +66 -0
  340. package/vendor/awp/conformance/v1alpha3/invalid/7.2-invalid-classification.yaml +63 -0
  341. package/vendor/awp/conformance/v1alpha3/invalid/7.2-invalid-external-transfer.yaml +66 -0
  342. package/vendor/awp/conformance/v1alpha3/invalid/7.4-invalid-model-policy-status.yaml +66 -0
  343. package/vendor/awp/conformance/v1alpha3/invalid/7.5-allow-not-boolean.yaml +63 -0
  344. package/vendor/awp/conformance/v1alpha3/invalid/7.5-invalid-default.yaml +63 -0
  345. package/vendor/awp/conformance/v1alpha3/invalid/7.5-invalid-egress.yaml +65 -0
  346. package/vendor/awp/conformance/v1alpha3/invalid/7.5-tool-without-allow.yaml +64 -0
  347. package/vendor/awp/conformance/v1alpha3/invalid/7.6-approver-empty.yaml +66 -0
  348. package/vendor/awp/conformance/v1alpha3/invalid/7.6-approver-role-and-user.yaml +67 -0
  349. package/vendor/awp/conformance/v1alpha3/invalid/7.6-invalid-on-timeout.yaml +65 -0
  350. package/vendor/awp/conformance/v1alpha3/invalid/7.6-min-approvals-zero.yaml +65 -0
  351. package/vendor/awp/conformance/v1alpha3/invalid/7.6-required-for-invalid-key.yaml +66 -0
  352. package/vendor/awp/conformance/v1alpha3/invalid/7.8-unknown-separation-rule.yaml +68 -0
  353. package/vendor/awp/conformance/v1alpha3/invalid/7.9-literal-password-in-free-form-value.yaml +64 -0
  354. package/vendor/awp/conformance/v1alpha3/invalid/7.9-literal-token-field.yaml +64 -0
  355. package/vendor/awp/conformance/v1alpha3/invalid/7.9-remote-agent-secret-ref-out-of-scope.yaml +68 -0
  356. package/vendor/awp/conformance/v1alpha3/invalid/7.9-secret-ref-empty-scope.yaml +61 -0
  357. package/vendor/awp/conformance/v1alpha3/invalid/7.9-secret-ref-out-of-scope.yaml +63 -0
  358. package/vendor/awp/conformance/v1alpha3/invalid/7.9-secret-ref-undeclared.yaml +63 -0
  359. package/vendor/awp/conformance/v1alpha3/invalid/7.9-secret-without-source.yaml +62 -0
  360. package/vendor/awp/conformance/v1alpha3/invalid/8.1-include-without-version.yaml +66 -0
  361. package/vendor/awp/conformance/v1alpha3/invalid/8.1-shorthand-not-boolean.yaml +66 -0
  362. package/vendor/awp/conformance/v1alpha3/invalid/8.1-unknown-shorthand.yaml +66 -0
  363. package/vendor/awp/conformance/v1alpha3/invalid/8.2-no-allow-effect.yaml +20 -0
  364. package/vendor/awp/conformance/v1alpha3/invalid/8.2-policy-without-rules.yaml +11 -0
  365. package/vendor/awp/conformance/v1alpha3/invalid/8.2-require-approval-without-approval.yaml +17 -0
  366. package/vendor/awp/conformance/v1alpha3/invalid/8.2-rule-without-when.yaml +17 -0
  367. package/vendor/awp/conformance/v1alpha3/invalid/8.3-empty-when.yaml +18 -0
  368. package/vendor/awp/conformance/v1alpha3/invalid/8.3-in-not-a-list.yaml +20 -0
  369. package/vendor/awp/conformance/v1alpha3/invalid/8.3-invalid-actor-type.yaml +20 -0
  370. package/vendor/awp/conformance/v1alpha3/invalid/8.3-invalid-classification-value.yaml +20 -0
  371. package/vendor/awp/conformance/v1alpha3/invalid/8.3-ordering-operator-on-unordered-attribute.yaml +20 -0
  372. package/vendor/awp/conformance/v1alpha3/invalid/8.3-plain-condition-value.yaml +31 -0
  373. package/vendor/awp/conformance/v1alpha3/invalid/8.3-unknown-attribute.yaml +20 -0
  374. package/vendor/awp/conformance/v1alpha3/invalid/9.1-digest-mismatch.yaml +66 -0
  375. package/vendor/awp/conformance/v1alpha3/invalid/9.4-unpinned-command-image-security-profile.yaml +69 -0
  376. package/vendor/awp/conformance/v1alpha3/invalid/9.4-unpinned-mcp-image-security-profile.yaml +66 -0
  377. package/vendor/awp/conformance/v1alpha3/valid/10.2-audit-configuration.yaml +70 -0
  378. package/vendor/awp/conformance/v1alpha3/valid/10.8-workflow-run-with-status.yaml +50 -0
  379. package/vendor/awp/conformance/v1alpha3/valid/10.8-workflow-run.yaml +15 -0
  380. package/vendor/awp/conformance/v1alpha3/valid/3.1-json-serialization.json +60 -0
  381. package/vendor/awp/conformance/v1alpha3/valid/3.1-multi-document.yaml +81 -0
  382. package/vendor/awp/conformance/v1alpha3/valid/3.2-minimal-workflow.yaml +21 -0
  383. package/vendor/awp/conformance/v1alpha3/valid/3.2-status-and-store-metadata.yaml +40 -0
  384. package/vendor/awp/conformance/v1alpha3/valid/3.3-core-profile-only.yaml +24 -0
  385. package/vendor/awp/conformance/v1alpha3/valid/3.3-extension-fields.yaml +75 -0
  386. package/vendor/awp/conformance/v1alpha3/valid/3.6-durations.yaml +65 -0
  387. package/vendor/awp/conformance/v1alpha3/valid/3.9-expression-references.yaml +63 -0
  388. package/vendor/awp/conformance/v1alpha3/valid/4-labels-and-annotations.yaml +67 -0
  389. package/vendor/awp/conformance/v1alpha3/valid/5.2-schedule-concurrency-and-deadline.yaml +75 -0
  390. package/vendor/awp/conformance/v1alpha3/valid/5.2-triggers.yaml +73 -0
  391. package/vendor/awp/conformance/v1alpha3/valid/5.3-inputs.yaml +86 -0
  392. package/vendor/awp/conformance/v1alpha3/valid/5.4.2-agent-reference.yaml +74 -0
  393. package/vendor/awp/conformance/v1alpha3/valid/5.4.4-remote-agent.yaml +79 -0
  394. package/vendor/awp/conformance/v1alpha3/valid/5.5.4-action-groups.yaml +67 -0
  395. package/vendor/awp/conformance/v1alpha3/valid/5.6.2-command-step-env.yaml +73 -0
  396. package/vendor/awp/conformance/v1alpha3/valid/5.6.3-transitive-step-reference.yaml +68 -0
  397. package/vendor/awp/conformance/v1alpha3/valid/5.6.4-command-step-outputs.yaml +83 -0
  398. package/vendor/awp/conformance/v1alpha3/valid/5.6.5-for-each.yaml +82 -0
  399. package/vendor/awp/conformance/v1alpha3/valid/5.7-nested-budgets.yaml +70 -0
  400. package/vendor/awp/conformance/v1alpha3/valid/5.8-agent-human-input.yaml +79 -0
  401. package/vendor/awp/conformance/v1alpha3/valid/5.8-agent-manifest-human-input.yaml +39 -0
  402. package/vendor/awp/conformance/v1alpha3/valid/5.8-input-step-free-text.yaml +82 -0
  403. package/vendor/awp/conformance/v1alpha3/valid/5.8-input-step.yaml +102 -0
  404. package/vendor/awp/conformance/v1alpha3/valid/6-agent-manifest.yaml +36 -0
  405. package/vendor/awp/conformance/v1alpha3/valid/6-agent-prompt-ref.yaml +20 -0
  406. package/vendor/awp/conformance/v1alpha3/valid/7.10-environments.yaml +74 -0
  407. package/vendor/awp/conformance/v1alpha3/valid/7.2-data-and-model-policy.yaml +105 -0
  408. package/vendor/awp/conformance/v1alpha3/valid/7.5-permissions.yaml +80 -0
  409. package/vendor/awp/conformance/v1alpha3/valid/7.6-approval-and-separation-of-duties.yaml +89 -0
  410. package/vendor/awp/conformance/v1alpha3/valid/8.1-policy-shorthands.yaml +77 -0
  411. package/vendor/awp/conformance/v1alpha3/valid/8.2-policy-manifest.yaml +31 -0
  412. package/vendor/awp/conformance/v1alpha3/valid/8.3-conditions.yaml +42 -0
  413. package/vendor/awp/conformance/v1alpha3/valid/9.1-digest-ignores-deployment-fields.yaml +30 -0
  414. package/vendor/awp/conformance/v1alpha3/valid/9.1-digest-verified.yaml +66 -0
  415. package/vendor/awp/conformance/v1alpha3/valid/9.4-pinned-images-security-profile.yaml +73 -0
  416. package/vendor/awp/conformance/valid/3.1-json-serialization.json +100 -0
  417. package/vendor/{awp-v1alpha1 → awp}/conformance/valid/5.2-triggers.yaml +1 -1
  418. package/vendor/{awp-v1alpha1 → awp}/schema/awp.v1alpha1.json +27 -2
  419. package/vendor/awp/schema/awp.v1alpha2.json +2817 -0
  420. package/vendor/awp/schema/awp.v1alpha3.json +3669 -0
  421. package/vendor/{awp-v1alpha1 → awp}/spec/v1alpha1/examples/invoice-processing.workflow.yaml +0 -3
  422. package/vendor/awp/spec/v1alpha2/examples/audit-events.yaml +120 -0
  423. package/vendor/awp/spec/v1alpha2/examples/conformance-statement.yaml +17 -0
  424. package/vendor/awp/spec/v1alpha2/examples/eu-data-residency.policy.yaml +24 -0
  425. package/vendor/awp/spec/v1alpha2/examples/execution-record.yaml +53 -0
  426. package/vendor/awp/spec/v1alpha2/examples/image-review.workflow.yaml +99 -0
  427. package/vendor/awp/spec/v1alpha2/examples/invoice-extractor.agent.yaml +38 -0
  428. package/vendor/awp/spec/v1alpha2/examples/invoice-processing.workflow.yaml +231 -0
  429. package/vendor/awp/spec/v1alpha2/examples/no-production-autonomy.policy.yaml +31 -0
  430. package/vendor/awp/spec/v1alpha2/examples/security-review.a2a.workflow.yaml +70 -0
  431. package/vendor/awp/spec/v1alpha2/examples/vulnerability-fixer.workflow.yaml +155 -0
  432. package/vendor/awp/spec/v1alpha3/examples/audit-events.yaml +120 -0
  433. package/vendor/awp/spec/v1alpha3/examples/conformance-statement.yaml +21 -0
  434. package/vendor/awp/spec/v1alpha3/examples/eu-data-residency.policy.yaml +22 -0
  435. package/vendor/awp/spec/v1alpha3/examples/execution-record.yaml +53 -0
  436. package/vendor/awp/spec/v1alpha3/examples/image-review.workflow.yaml +87 -0
  437. package/vendor/awp/spec/v1alpha3/examples/invoice-extractor.agent.yaml +36 -0
  438. package/vendor/awp/spec/v1alpha3/examples/invoice-processing.workflow.yaml +208 -0
  439. package/vendor/awp/spec/v1alpha3/examples/no-production-autonomy.policy.yaml +31 -0
  440. package/vendor/awp/spec/v1alpha3/examples/security-review.a2a.workflow.yaml +60 -0
  441. package/vendor/awp/spec/v1alpha3/examples/vulnerability-fixer.run.yaml +68 -0
  442. package/vendor/awp/spec/v1alpha3/examples/vulnerability-fixer.workflow.yaml +136 -0
  443. package/vendor/awp-v1alpha1/PROVENANCE.json +0 -748
  444. /package/vendor/{awp-v1alpha1 → awp}/LICENSE +0 -0
  445. /package/vendor/{awp-v1alpha1 → awp}/LICENSE-SPEC +0 -0
  446. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/10.2-invalid-integrity-mode.yaml +0 -0
  447. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/10.2-invalid-payload.yaml +0 -0
  448. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/10.2-invalid-retention.yaml +0 -0
  449. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.1-custom-tag.yaml +0 -0
  450. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.1-non-string-key.yaml +0 -0
  451. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.1-syntax-error.yaml +0 -0
  452. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.2-missing-api-version.yaml +0 -0
  453. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.2-missing-metadata.yaml +0 -0
  454. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.2-missing-spec.yaml +0 -0
  455. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.2-unsupported-kind.yaml +0 -0
  456. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.3-profile-a2a-agent.yaml +0 -0
  457. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.3-profile-approval-step.yaml +0 -0
  458. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.3-profile-audit-field.yaml +0 -0
  459. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.3-profile-governance-field.yaml +0 -0
  460. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.3-profile-high-risk.yaml +0 -0
  461. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.3-profile-mcp-field.yaml +0 -0
  462. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.3-profile-policy-kind.yaml +0 -0
  463. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.3-profile-security-field.yaml +0 -0
  464. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.3-unknown-field-near-extension.yaml +0 -0
  465. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.3-unknown-metadata-field.yaml +0 -0
  466. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.3-unknown-step-field.yaml +0 -0
  467. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.3-unknown-top-level-field.yaml +0 -0
  468. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.4-duplicate-agent-id.yaml +0 -0
  469. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.4-duplicate-rule-id.yaml +0 -0
  470. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.4-invalid-metadata-name.yaml +0 -0
  471. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.4-uppercase-agent-id.yaml +0 -0
  472. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.5-version-leading-zero.yaml +0 -0
  473. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.5-version-not-semver.yaml +0 -0
  474. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.6-duration-unknown-unit.yaml +0 -0
  475. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.6-duration-zero.yaml +0 -0
  476. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.7-date-not-calendar-valid.yaml +0 -0
  477. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.7-date-wrong-format.yaml +0 -0
  478. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.8-digest-uppercase-hex.yaml +0 -0
  479. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.8-digest-wrong-length.yaml +0 -0
  480. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.9-expression-function.yaml +0 -0
  481. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.9-expression-in-env-key-ref-bad.yaml +0 -0
  482. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.9-expression-operator.yaml +0 -0
  483. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.9-expression-unknown-root.yaml +0 -0
  484. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.9-expression-unterminated.yaml +0 -0
  485. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.9-step-reference-in-permissions.yaml +0 -0
  486. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.9-step-reference-unknown-step.yaml +0 -0
  487. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/3.9-step-reference-without-dependency.yaml +0 -0
  488. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/4-invalid-label-key.yaml +0 -0
  489. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/4-invalid-risk-level.yaml +0 -0
  490. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/4-label-value-not-string.yaml +0 -0
  491. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/4-missing-owner.yaml +0 -0
  492. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/4-missing-version.yaml +0 -0
  493. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/4-owner-without-team.yaml +0 -0
  494. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.2-cron-not-five-fields.yaml +0 -0
  495. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.2-event-without-event-type.yaml +0 -0
  496. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.2-schedule-without-cron.yaml +0 -0
  497. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.2-unknown-trigger-type.yaml +0 -0
  498. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.3-default-wrong-type.yaml +0 -0
  499. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.3-invalid-pattern.yaml +0 -0
  500. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.3-required-input-with-default.yaml +0 -0
  501. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.3-unknown-input-type.yaml +0 -0
  502. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.4.1-inline-agent-without-model.yaml +0 -0
  503. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.4.1-instructions-and-prompt-ref.yaml +0 -0
  504. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.4.2-reference-version-range.yaml +0 -0
  505. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.4.2-reference-with-instructions.yaml +0 -0
  506. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.4.2-reference-with-model.yaml +0 -0
  507. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.4.2-reference-without-version.yaml +0 -0
  508. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.4.3-invalid-model-approval-status.yaml +0 -0
  509. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.4.3-model-without-name.yaml +0 -0
  510. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.4.4-remote-agent-http-endpoint.yaml +0 -0
  511. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.4.4-remote-agent-with-model.yaml +0 -0
  512. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.4.4-remote-agent-without-endpoint.yaml +0 -0
  513. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.4.4-remote-agent-wrong-protocol.yaml +0 -0
  514. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.5.1-duplicate-server-name.yaml +0 -0
  515. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.5.1-mcp-url-not-https.yaml +0 -0
  516. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.5.1-streamable-http-without-url.yaml +0 -0
  517. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.5.1-unknown-transport.yaml +0 -0
  518. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.5.2-builtin-tool-source-without-name.yaml +0 -0
  519. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.5.2-mcp-tool-source-without-server.yaml +0 -0
  520. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.5.3-invalid-action-identifier-in-permissions.yaml +0 -0
  521. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.5.3-wildcard-not-final-segment.yaml +0 -0
  522. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.5.4-group-contains-group.yaml +0 -0
  523. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.5.4-invalid-group-identifier.yaml +0 -0
  524. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.6.1-agent-step-with-command.yaml +0 -0
  525. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.6.1-agent-step-without-agent.yaml +0 -0
  526. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.6.1-approval-step-without-approval.yaml +0 -0
  527. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.6.1-command-step-with-agent.yaml +0 -0
  528. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.6.1-command-step-without-command.yaml +0 -0
  529. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.6.1-negative-retries.yaml +0 -0
  530. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.6.1-retries-exceed-max-retries.yaml +0 -0
  531. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.6.1-unknown-step-type.yaml +0 -0
  532. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.6.2-env-key-invalid.yaml +0 -0
  533. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.6.3-dependency-cycle.yaml +0 -0
  534. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.6.3-depends-on-unknown-step.yaml +0 -0
  535. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.6.3-duplicate-step-id.yaml +0 -0
  536. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.6.3-self-dependency.yaml +0 -0
  537. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.6.3-undeclared-step-output.yaml +0 -0
  538. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.6.3-unknown-agent.yaml +0 -0
  539. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.7-negative-cost.yaml +0 -0
  540. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.7-unknown-budget-field.yaml +0 -0
  541. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.7-zero-concurrency.yaml +0 -0
  542. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/5.7-zero-max-steps.yaml +0 -0
  543. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/6-agent-instructions-and-prompt-ref.yaml +0 -0
  544. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/6-agent-kind-with-workflow-spec.yaml +0 -0
  545. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/6-agent-with-workflow-field.yaml +0 -0
  546. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/6-agent-without-model.yaml +0 -0
  547. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.1-governance-requires-classification.yaml +0 -0
  548. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.10-environment-without-autonomy.yaml +0 -0
  549. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.10-invalid-autonomy.yaml +0 -0
  550. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.2-invalid-classification.yaml +0 -0
  551. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.2-invalid-external-transfer.yaml +0 -0
  552. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.4-invalid-model-policy-status.yaml +0 -0
  553. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.5-allow-not-boolean.yaml +0 -0
  554. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.5-invalid-default.yaml +0 -0
  555. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.5-invalid-egress.yaml +0 -0
  556. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.5-tool-without-allow.yaml +0 -0
  557. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.6-approver-empty.yaml +0 -0
  558. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.6-approver-role-and-user.yaml +0 -0
  559. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.6-invalid-on-timeout.yaml +0 -0
  560. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.6-min-approvals-zero.yaml +0 -0
  561. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.6-required-for-invalid-key.yaml +0 -0
  562. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.8-unknown-separation-rule.yaml +0 -0
  563. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.9-literal-password-in-free-form-value.yaml +0 -0
  564. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.9-literal-token-field.yaml +0 -0
  565. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.9-remote-agent-secret-ref-out-of-scope.yaml +0 -0
  566. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.9-secret-ref-empty-scope.yaml +0 -0
  567. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.9-secret-ref-out-of-scope.yaml +0 -0
  568. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.9-secret-ref-undeclared.yaml +0 -0
  569. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/7.9-secret-without-source.yaml +0 -0
  570. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/8.1-include-without-version.yaml +0 -0
  571. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/8.1-shorthand-not-boolean.yaml +0 -0
  572. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/8.1-unknown-shorthand.yaml +0 -0
  573. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/8.2-no-allow-effect.yaml +0 -0
  574. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/8.2-policy-without-rules.yaml +0 -0
  575. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/8.2-require-approval-without-approval.yaml +0 -0
  576. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/8.2-rule-without-when.yaml +0 -0
  577. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/8.3-empty-when.yaml +0 -0
  578. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/8.3-in-not-a-list.yaml +0 -0
  579. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/8.3-invalid-actor-type.yaml +0 -0
  580. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/8.3-invalid-classification-value.yaml +0 -0
  581. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/8.3-ordering-operator-on-unordered-attribute.yaml +0 -0
  582. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/8.3-unknown-attribute.yaml +0 -0
  583. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/9.1-digest-mismatch.yaml +0 -0
  584. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/9.4-unpinned-command-image-security-profile.yaml +0 -0
  585. /package/vendor/{awp-v1alpha1 → awp}/conformance/invalid/9.4-unpinned-mcp-image-security-profile.yaml +0 -0
  586. /package/vendor/{awp-v1alpha1/conformance → awp/conformance/v1alpha2}/valid/3.1-json-serialization.json +0 -0
  587. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/10.2-audit-configuration.yaml +0 -0
  588. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/3.1-multi-document.yaml +0 -0
  589. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/3.2-minimal-workflow.yaml +0 -0
  590. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/3.3-core-profile-only.yaml +0 -0
  591. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/3.3-extension-fields.yaml +0 -0
  592. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/3.6-durations.yaml +0 -0
  593. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/3.9-expression-references.yaml +0 -0
  594. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/4-owner-string-shorthand.yaml +0 -0
  595. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/5.3-inputs.yaml +0 -0
  596. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/5.4.2-agent-reference.yaml +0 -0
  597. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/5.4.4-remote-agent.yaml +0 -0
  598. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/5.5.4-action-groups.yaml +0 -0
  599. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/5.6.2-command-step-env.yaml +0 -0
  600. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/5.6.3-transitive-step-reference.yaml +0 -0
  601. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/5.7-nested-budgets.yaml +0 -0
  602. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/6-agent-manifest.yaml +0 -0
  603. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/6-agent-prompt-ref.yaml +0 -0
  604. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/7.10-environments.yaml +0 -0
  605. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/7.2-data-and-model-policy.yaml +0 -0
  606. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/7.5-permissions.yaml +0 -0
  607. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/7.6-approval-and-separation-of-duties.yaml +0 -0
  608. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/8.1-policy-shorthands.yaml +0 -0
  609. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/8.2-policy-manifest.yaml +0 -0
  610. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/8.3-conditions.yaml +0 -0
  611. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/9.1-digest-verified.yaml +0 -0
  612. /package/vendor/{awp-v1alpha1 → awp}/conformance/valid/9.4-pinned-images-security-profile.yaml +0 -0
  613. /package/vendor/{awp-v1alpha1 → awp}/spec/v1alpha1/examples/audit-events.yaml +0 -0
  614. /package/vendor/{awp-v1alpha1 → awp}/spec/v1alpha1/examples/conformance-statement.yaml +0 -0
  615. /package/vendor/{awp-v1alpha1 → awp}/spec/v1alpha1/examples/eu-data-residency.policy.yaml +0 -0
  616. /package/vendor/{awp-v1alpha1 → awp}/spec/v1alpha1/examples/execution-record.yaml +0 -0
  617. /package/vendor/{awp-v1alpha1 → awp}/spec/v1alpha1/examples/invoice-extractor.agent.yaml +0 -0
  618. /package/vendor/{awp-v1alpha1 → awp}/spec/v1alpha1/examples/no-production-autonomy.policy.yaml +0 -0
  619. /package/vendor/{awp-v1alpha1 → awp}/spec/v1alpha1/examples/security-review.a2a.workflow.yaml +0 -0
  620. /package/vendor/{awp-v1alpha1 → awp}/spec/v1alpha1/examples/vulnerability-fixer.workflow.yaml +0 -0
@@ -0,0 +1,3669 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://agenticworkflowprotocol.org/schema/awp.v1alpha3.json",
4
+ "title": "Agentic Workflow Protocol manifest (v1alpha3)",
5
+ "description": "Structural rules of AWP v1alpha3 (spec/v1alpha3/README.md). Rules that JSON Schema cannot express are listed in schema/README.md as semantic validation rules. Per-kind entry points: #/$defs/Workflow, #/$defs/Agent, #/$defs/Policy, #/$defs/WorkflowRun.",
6
+ "type": "object",
7
+ "required": [
8
+ "kind"
9
+ ],
10
+ "properties": {
11
+ "kind": {
12
+ "enum": [
13
+ "Workflow",
14
+ "Agent",
15
+ "Policy",
16
+ "WorkflowRun"
17
+ ]
18
+ }
19
+ },
20
+ "allOf": [
21
+ {
22
+ "if": {
23
+ "properties": {
24
+ "kind": {
25
+ "const": "Workflow"
26
+ }
27
+ },
28
+ "required": [
29
+ "kind"
30
+ ]
31
+ },
32
+ "then": {
33
+ "$ref": "#/$defs/Workflow"
34
+ }
35
+ },
36
+ {
37
+ "if": {
38
+ "properties": {
39
+ "kind": {
40
+ "const": "Agent"
41
+ }
42
+ },
43
+ "required": [
44
+ "kind"
45
+ ]
46
+ },
47
+ "then": {
48
+ "$ref": "#/$defs/Agent"
49
+ }
50
+ },
51
+ {
52
+ "if": {
53
+ "properties": {
54
+ "kind": {
55
+ "const": "Policy"
56
+ }
57
+ },
58
+ "required": [
59
+ "kind"
60
+ ]
61
+ },
62
+ "then": {
63
+ "$ref": "#/$defs/Policy"
64
+ }
65
+ },
66
+ {
67
+ "if": {
68
+ "properties": {
69
+ "kind": {
70
+ "const": "WorkflowRun"
71
+ }
72
+ },
73
+ "required": [
74
+ "kind"
75
+ ]
76
+ },
77
+ "then": {
78
+ "$ref": "#/$defs/WorkflowRun"
79
+ }
80
+ }
81
+ ],
82
+ "$defs": {
83
+ "Name": {
84
+ "description": "Name (spec 3.4).",
85
+ "type": "string",
86
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,62}$"
87
+ },
88
+ "Identifier": {
89
+ "description": "Identifier (spec 3.4).",
90
+ "type": "string",
91
+ "pattern": "^[a-z][a-z0-9-]{0,62}$"
92
+ },
93
+ "ActionIdentifier": {
94
+ "description": "Action identifier (spec 5.5.3).",
95
+ "type": "string",
96
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*(\\.[a-zA-Z0-9_-]+)+$"
97
+ },
98
+ "ActionKey": {
99
+ "description": "Action identifier, group identifier or wildcard pattern with a final segment * (spec 5.5.3, 5.5.4).",
100
+ "type": "string",
101
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*(\\.[a-zA-Z0-9_-]+)*(\\.[a-zA-Z0-9_-]+|\\.\\*)$"
102
+ },
103
+ "SemVer": {
104
+ "description": "Semantic Version 2.0.0 (spec 3.5).",
105
+ "type": "string",
106
+ "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"
107
+ },
108
+ "Duration": {
109
+ "description": "Duration greater than zero (spec 3.6).",
110
+ "type": "string",
111
+ "pattern": "^(?!(?:0+(?:ms|s|m|h|d|w|y))+$)(?:[0-9]+(?:ms|s|m|h|d|w|y))+$"
112
+ },
113
+ "Date": {
114
+ "description": "RFC 3339 full-date (spec 3.7). Calendar validity is a semantic rule.",
115
+ "type": "string",
116
+ "pattern": "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$"
117
+ },
118
+ "Digest": {
119
+ "description": "Digest <algorithm>:<lowercase hex> (spec 3.8). sha256/sha384/sha512 have fixed lengths; other algorithms are accepted syntactically.",
120
+ "type": "string",
121
+ "pattern": "^(sha256:[0-9a-f]{64}|sha384:[0-9a-f]{96}|sha512:[0-9a-f]{128}|(?!sha256:|sha384:|sha512:)[a-z0-9][a-z0-9_+.-]*:[0-9a-f]+)$"
122
+ },
123
+ "HttpsUrl": {
124
+ "description": "HTTPS URL.",
125
+ "type": "string",
126
+ "pattern": "^https://[^\\s/?#]+([/?#]\\S*)?$"
127
+ },
128
+ "Classification": {
129
+ "description": "Data class (spec 7.2).",
130
+ "enum": [
131
+ "public",
132
+ "internal",
133
+ "confidential",
134
+ "personal",
135
+ "restricted",
136
+ "sensitive",
137
+ "secret"
138
+ ]
139
+ },
140
+ "RiskLevel": {
141
+ "enum": [
142
+ "low",
143
+ "medium",
144
+ "high",
145
+ "critical"
146
+ ]
147
+ },
148
+ "Expression": {
149
+ "description": "Expression-enabled string (spec 3.9): only inputs.<name>, steps.<id>.outputs.<name>, execution.id, execution.environment, forEach.item, forEach.item.<key> and forEach.index are allowed inside ${{ }}.",
150
+ "type": "string",
151
+ "pattern": "^(?:(?!\\$\\{\\{)[\\s\\S]|\\$\\{\\{ *(?:inputs\\.[a-zA-Z][a-zA-Z0-9_-]{0,62}|steps\\.[a-z][a-z0-9-]{0,62}\\.outputs\\.[^\\s.{}$]+|execution\\.id|execution\\.environment|forEach\\.index|forEach\\.item(?:\\.[a-zA-Z0-9_-]{1,63})*) *\\}\\})*$"
152
+ },
153
+ "Approver": {
154
+ "description": "Exactly one of role or user (spec 7.6).",
155
+ "type": "object",
156
+ "additionalProperties": false,
157
+ "properties": {
158
+ "role": {
159
+ "type": "string",
160
+ "minLength": 1
161
+ },
162
+ "user": {
163
+ "type": "string",
164
+ "minLength": 1
165
+ },
166
+ "extensions": {
167
+ "$ref": "#/$defs/Extensions"
168
+ }
169
+ },
170
+ "oneOf": [
171
+ {
172
+ "required": [
173
+ "role"
174
+ ],
175
+ "not": {
176
+ "required": [
177
+ "user"
178
+ ]
179
+ }
180
+ },
181
+ {
182
+ "required": [
183
+ "user"
184
+ ],
185
+ "not": {
186
+ "required": [
187
+ "role"
188
+ ]
189
+ }
190
+ }
191
+ ]
192
+ },
193
+ "SeparationOfDuties": {
194
+ "type": "object",
195
+ "properties": {
196
+ "enabled": {
197
+ "type": "boolean"
198
+ },
199
+ "rules": {
200
+ "type": "array",
201
+ "items": {
202
+ "type": "object",
203
+ "properties": {
204
+ "actorCannotApproveOwnAction": {
205
+ "type": "boolean"
206
+ },
207
+ "initiatorCannotApprove": {
208
+ "type": "boolean"
209
+ },
210
+ "distinctApprovers": {
211
+ "type": "boolean"
212
+ },
213
+ "extensions": {
214
+ "$ref": "#/$defs/Extensions"
215
+ }
216
+ },
217
+ "additionalProperties": false
218
+ }
219
+ },
220
+ "extensions": {
221
+ "$ref": "#/$defs/Extensions"
222
+ }
223
+ },
224
+ "additionalProperties": false
225
+ },
226
+ "Approval": {
227
+ "description": "Workflow-level approval configuration (spec 7.6).",
228
+ "type": "object",
229
+ "properties": {
230
+ "requiredFor": {
231
+ "type": "array",
232
+ "items": {
233
+ "$ref": "#/$defs/ActionKey"
234
+ }
235
+ },
236
+ "approvers": {
237
+ "type": "array",
238
+ "items": {
239
+ "$ref": "#/$defs/Approver"
240
+ }
241
+ },
242
+ "minApprovals": {
243
+ "type": "integer",
244
+ "minimum": 1
245
+ },
246
+ "timeout": {
247
+ "$ref": "#/$defs/Duration"
248
+ },
249
+ "onTimeout": {
250
+ "enum": [
251
+ "reject",
252
+ "fail"
253
+ ]
254
+ },
255
+ "message": {
256
+ "$ref": "#/$defs/Expression"
257
+ },
258
+ "separationOfDuties": {
259
+ "$ref": "#/$defs/SeparationOfDuties"
260
+ },
261
+ "extensions": {
262
+ "$ref": "#/$defs/Extensions"
263
+ }
264
+ },
265
+ "additionalProperties": false
266
+ },
267
+ "ApprovalStep": {
268
+ "description": "Payload of an approval step (spec 5.6.1, 7.6): the fields of Approval without requiredFor and separationOfDuties, which apply only at workflow level.",
269
+ "type": "object",
270
+ "properties": {
271
+ "approvers": {
272
+ "$ref": "#/$defs/Approval/properties/approvers"
273
+ },
274
+ "minApprovals": {
275
+ "$ref": "#/$defs/Approval/properties/minApprovals"
276
+ },
277
+ "timeout": {
278
+ "$ref": "#/$defs/Duration"
279
+ },
280
+ "onTimeout": {
281
+ "$ref": "#/$defs/Approval/properties/onTimeout"
282
+ },
283
+ "message": {
284
+ "$ref": "#/$defs/Expression"
285
+ },
286
+ "extensions": {
287
+ "$ref": "#/$defs/Extensions"
288
+ }
289
+ },
290
+ "additionalProperties": false
291
+ },
292
+ "Budget": {
293
+ "description": "Budget (spec 5.7). All limits are positive.",
294
+ "type": "object",
295
+ "properties": {
296
+ "maxCostUsd": {
297
+ "type": "number",
298
+ "exclusiveMinimum": 0
299
+ },
300
+ "maxSteps": {
301
+ "type": "integer",
302
+ "minimum": 1
303
+ },
304
+ "maxDuration": {
305
+ "$ref": "#/$defs/Duration"
306
+ },
307
+ "resources": {
308
+ "type": "object",
309
+ "properties": {
310
+ "maxTokens": {
311
+ "type": "integer",
312
+ "minimum": 1
313
+ },
314
+ "maxToolCalls": {
315
+ "type": "integer",
316
+ "minimum": 1
317
+ },
318
+ "maxRetries": {
319
+ "type": "integer",
320
+ "minimum": 1
321
+ },
322
+ "maxConcurrency": {
323
+ "type": "integer",
324
+ "minimum": 1
325
+ },
326
+ "extensions": {
327
+ "$ref": "#/$defs/Extensions"
328
+ }
329
+ },
330
+ "additionalProperties": false
331
+ },
332
+ "extensions": {
333
+ "$ref": "#/$defs/Extensions"
334
+ }
335
+ },
336
+ "additionalProperties": false
337
+ },
338
+ "Permissions": {
339
+ "description": "Permissions (spec 7.5).",
340
+ "type": "object",
341
+ "properties": {
342
+ "default": {
343
+ "enum": [
344
+ "allow",
345
+ "deny"
346
+ ]
347
+ },
348
+ "tools": {
349
+ "type": "object",
350
+ "propertyNames": {
351
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*(\\.[a-zA-Z0-9_-]+)*(\\.[a-zA-Z0-9_-]+|\\.\\*)$"
352
+ },
353
+ "additionalProperties": {
354
+ "type": "object",
355
+ "properties": {
356
+ "allow": {
357
+ "type": "boolean"
358
+ },
359
+ "resources": {
360
+ "type": "array",
361
+ "items": {
362
+ "$ref": "#/$defs/Expression"
363
+ }
364
+ },
365
+ "extensions": {
366
+ "$ref": "#/$defs/Extensions"
367
+ }
368
+ },
369
+ "required": [
370
+ "allow"
371
+ ],
372
+ "additionalProperties": false
373
+ }
374
+ },
375
+ "network": {
376
+ "type": "object",
377
+ "properties": {
378
+ "egress": {
379
+ "enum": [
380
+ "allow",
381
+ "deny"
382
+ ]
383
+ },
384
+ "allowHosts": {
385
+ "type": "array",
386
+ "items": {
387
+ "type": "string",
388
+ "minLength": 1
389
+ }
390
+ },
391
+ "extensions": {
392
+ "$ref": "#/$defs/Extensions"
393
+ }
394
+ },
395
+ "additionalProperties": false
396
+ },
397
+ "filesystem": {
398
+ "type": "object",
399
+ "properties": {
400
+ "read": {
401
+ "type": "array",
402
+ "items": {
403
+ "type": "string",
404
+ "minLength": 1
405
+ }
406
+ },
407
+ "write": {
408
+ "type": "array",
409
+ "items": {
410
+ "type": "string",
411
+ "minLength": 1
412
+ }
413
+ },
414
+ "extensions": {
415
+ "$ref": "#/$defs/Extensions"
416
+ }
417
+ },
418
+ "additionalProperties": false
419
+ },
420
+ "secrets": {
421
+ "type": "array",
422
+ "items": {
423
+ "$ref": "#/$defs/Name"
424
+ }
425
+ },
426
+ "environments": {
427
+ "type": "array",
428
+ "items": {
429
+ "type": "string",
430
+ "minLength": 1
431
+ }
432
+ },
433
+ "extensions": {
434
+ "$ref": "#/$defs/Extensions"
435
+ }
436
+ },
437
+ "additionalProperties": false
438
+ },
439
+ "Model": {
440
+ "description": "Model object (spec 5.4.3).",
441
+ "type": "object",
442
+ "properties": {
443
+ "provider": {
444
+ "type": "string",
445
+ "minLength": 1
446
+ },
447
+ "name": {
448
+ "type": "string",
449
+ "minLength": 1
450
+ },
451
+ "version": {
452
+ "type": "string",
453
+ "minLength": 1
454
+ },
455
+ "region": {
456
+ "type": "string",
457
+ "minLength": 1
458
+ },
459
+ "approval": {
460
+ "type": "object",
461
+ "properties": {
462
+ "status": {
463
+ "enum": [
464
+ "approved",
465
+ "pending",
466
+ "rejected",
467
+ "revoked"
468
+ ]
469
+ },
470
+ "expires": {
471
+ "$ref": "#/$defs/Date"
472
+ },
473
+ "approvedBy": {
474
+ "type": "string",
475
+ "minLength": 1
476
+ },
477
+ "extensions": {
478
+ "$ref": "#/$defs/Extensions"
479
+ }
480
+ },
481
+ "additionalProperties": false
482
+ },
483
+ "riskClassification": {
484
+ "$ref": "#/$defs/RiskLevel"
485
+ },
486
+ "evaluation": {
487
+ "type": "object",
488
+ "properties": {
489
+ "status": {
490
+ "enum": [
491
+ "passed",
492
+ "failed",
493
+ "pending",
494
+ "notEvaluated"
495
+ ]
496
+ },
497
+ "ref": {
498
+ "type": "string",
499
+ "minLength": 1
500
+ },
501
+ "extensions": {
502
+ "$ref": "#/$defs/Extensions"
503
+ }
504
+ },
505
+ "additionalProperties": false
506
+ },
507
+ "allowedUseCases": {
508
+ "type": "array",
509
+ "items": {
510
+ "type": "string",
511
+ "minLength": 1
512
+ }
513
+ },
514
+ "extensions": {
515
+ "$ref": "#/$defs/Extensions"
516
+ }
517
+ },
518
+ "required": [
519
+ "provider",
520
+ "name"
521
+ ],
522
+ "additionalProperties": false
523
+ },
524
+ "PromptRef": {
525
+ "type": "object",
526
+ "properties": {
527
+ "name": {
528
+ "type": "string",
529
+ "minLength": 1
530
+ },
531
+ "version": {
532
+ "type": "string",
533
+ "minLength": 1
534
+ },
535
+ "digest": {
536
+ "$ref": "#/$defs/Digest"
537
+ },
538
+ "extensions": {
539
+ "$ref": "#/$defs/Extensions"
540
+ }
541
+ },
542
+ "required": [
543
+ "name",
544
+ "version"
545
+ ],
546
+ "additionalProperties": false
547
+ },
548
+ "ToolSource": {
549
+ "description": "Tool source (spec 5.5.2).",
550
+ "type": "object",
551
+ "properties": {
552
+ "type": {
553
+ "enum": [
554
+ "mcp",
555
+ "builtin"
556
+ ]
557
+ },
558
+ "server": {
559
+ "$ref": "#/$defs/Name"
560
+ },
561
+ "name": {
562
+ "type": "string",
563
+ "minLength": 1
564
+ },
565
+ "tools": {
566
+ "type": "array",
567
+ "items": {
568
+ "type": "string",
569
+ "minLength": 1
570
+ }
571
+ },
572
+ "extensions": {
573
+ "$ref": "#/$defs/Extensions"
574
+ }
575
+ },
576
+ "required": [
577
+ "type"
578
+ ],
579
+ "additionalProperties": false,
580
+ "allOf": [
581
+ {
582
+ "if": {
583
+ "properties": {
584
+ "type": {
585
+ "const": "mcp"
586
+ }
587
+ },
588
+ "required": [
589
+ "type"
590
+ ]
591
+ },
592
+ "then": {
593
+ "required": [
594
+ "server"
595
+ ]
596
+ }
597
+ },
598
+ {
599
+ "if": {
600
+ "properties": {
601
+ "type": {
602
+ "const": "builtin"
603
+ }
604
+ },
605
+ "required": [
606
+ "type"
607
+ ]
608
+ },
609
+ "then": {
610
+ "required": [
611
+ "name"
612
+ ]
613
+ }
614
+ }
615
+ ]
616
+ },
617
+ "McpServer": {
618
+ "description": "MCP server (spec 5.5.1).",
619
+ "type": "object",
620
+ "properties": {
621
+ "name": {
622
+ "$ref": "#/$defs/Name"
623
+ },
624
+ "transport": {
625
+ "enum": [
626
+ "stdio",
627
+ "streamable-http"
628
+ ]
629
+ },
630
+ "url": {
631
+ "$ref": "#/$defs/HttpsUrl"
632
+ },
633
+ "image": {
634
+ "type": "string",
635
+ "minLength": 1
636
+ },
637
+ "version": {
638
+ "type": "string",
639
+ "minLength": 1
640
+ },
641
+ "auth": {
642
+ "type": "object",
643
+ "properties": {
644
+ "secretRef": {
645
+ "$ref": "#/$defs/Name"
646
+ },
647
+ "extensions": {
648
+ "$ref": "#/$defs/Extensions"
649
+ }
650
+ },
651
+ "required": [
652
+ "secretRef"
653
+ ],
654
+ "additionalProperties": false
655
+ },
656
+ "extensions": {
657
+ "$ref": "#/$defs/Extensions"
658
+ }
659
+ },
660
+ "required": [
661
+ "name",
662
+ "transport"
663
+ ],
664
+ "additionalProperties": false,
665
+ "if": {
666
+ "properties": {
667
+ "transport": {
668
+ "const": "streamable-http"
669
+ }
670
+ },
671
+ "required": [
672
+ "transport"
673
+ ]
674
+ },
675
+ "then": {
676
+ "required": [
677
+ "url"
678
+ ]
679
+ }
680
+ },
681
+ "Secret": {
682
+ "description": "Secret declaration (spec 7.9). Secret values never appear in manifests.",
683
+ "type": "object",
684
+ "properties": {
685
+ "name": {
686
+ "$ref": "#/$defs/Name"
687
+ },
688
+ "source": {
689
+ "type": "string",
690
+ "minLength": 1
691
+ },
692
+ "key": {
693
+ "type": "string",
694
+ "minLength": 1
695
+ },
696
+ "scope": {
697
+ "type": "array",
698
+ "items": {
699
+ "type": "string",
700
+ "minLength": 1
701
+ }
702
+ },
703
+ "extensions": {
704
+ "$ref": "#/$defs/Extensions"
705
+ }
706
+ },
707
+ "required": [
708
+ "name",
709
+ "source"
710
+ ],
711
+ "additionalProperties": false
712
+ },
713
+ "ActionGroups": {
714
+ "description": "Action groups (spec 5.5.4). Nesting is a semantic rule.",
715
+ "type": "object",
716
+ "propertyNames": {
717
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*(\\.[a-zA-Z0-9_-]+)+$"
718
+ },
719
+ "additionalProperties": {
720
+ "type": "array",
721
+ "items": {
722
+ "$ref": "#/$defs/ActionIdentifier"
723
+ }
724
+ }
725
+ },
726
+ "InlineAgent": {
727
+ "description": "Inline agent (spec 5.4.1).",
728
+ "type": "object",
729
+ "properties": {
730
+ "id": {
731
+ "$ref": "#/$defs/Identifier"
732
+ },
733
+ "model": {
734
+ "$ref": "#/$defs/Model"
735
+ },
736
+ "instructions": {
737
+ "type": "string"
738
+ },
739
+ "promptRef": {
740
+ "$ref": "#/$defs/PromptRef"
741
+ },
742
+ "tools": {
743
+ "type": "array",
744
+ "items": {
745
+ "$ref": "#/$defs/ToolSource"
746
+ }
747
+ },
748
+ "permissions": {
749
+ "$ref": "#/$defs/Permissions"
750
+ },
751
+ "budget": {
752
+ "$ref": "#/$defs/Budget"
753
+ },
754
+ "humanInput": {
755
+ "$ref": "#/$defs/HumanInput"
756
+ },
757
+ "extensions": {
758
+ "$ref": "#/$defs/Extensions"
759
+ }
760
+ },
761
+ "required": [
762
+ "id",
763
+ "model"
764
+ ],
765
+ "additionalProperties": false,
766
+ "not": {
767
+ "required": [
768
+ "instructions",
769
+ "promptRef"
770
+ ]
771
+ }
772
+ },
773
+ "AgentReference": {
774
+ "description": "Agent reference (spec 5.4.2).",
775
+ "type": "object",
776
+ "properties": {
777
+ "id": {
778
+ "$ref": "#/$defs/Identifier"
779
+ },
780
+ "ref": {
781
+ "type": "object",
782
+ "properties": {
783
+ "name": {
784
+ "$ref": "#/$defs/Name"
785
+ },
786
+ "version": {
787
+ "$ref": "#/$defs/SemVer"
788
+ },
789
+ "digest": {
790
+ "$ref": "#/$defs/Digest"
791
+ },
792
+ "extensions": {
793
+ "$ref": "#/$defs/Extensions"
794
+ }
795
+ },
796
+ "required": [
797
+ "name",
798
+ "version"
799
+ ],
800
+ "additionalProperties": false
801
+ },
802
+ "permissions": {
803
+ "$ref": "#/$defs/Permissions"
804
+ },
805
+ "budget": {
806
+ "$ref": "#/$defs/Budget"
807
+ },
808
+ "extensions": {
809
+ "$ref": "#/$defs/Extensions"
810
+ }
811
+ },
812
+ "required": [
813
+ "id",
814
+ "ref"
815
+ ],
816
+ "additionalProperties": false
817
+ },
818
+ "RemoteAgent": {
819
+ "description": "Remote agent over A2A (spec 5.4.4).",
820
+ "type": "object",
821
+ "properties": {
822
+ "id": {
823
+ "$ref": "#/$defs/Identifier"
824
+ },
825
+ "protocol": {
826
+ "const": "a2a"
827
+ },
828
+ "endpoint": {
829
+ "$ref": "#/$defs/HttpsUrl"
830
+ },
831
+ "agentCard": {
832
+ "type": "object",
833
+ "properties": {
834
+ "url": {
835
+ "$ref": "#/$defs/HttpsUrl"
836
+ },
837
+ "digest": {
838
+ "$ref": "#/$defs/Digest"
839
+ },
840
+ "extensions": {
841
+ "$ref": "#/$defs/Extensions"
842
+ }
843
+ },
844
+ "required": [
845
+ "url"
846
+ ],
847
+ "additionalProperties": false
848
+ },
849
+ "auth": {
850
+ "type": "object",
851
+ "properties": {
852
+ "secretRef": {
853
+ "$ref": "#/$defs/Name"
854
+ },
855
+ "extensions": {
856
+ "$ref": "#/$defs/Extensions"
857
+ }
858
+ },
859
+ "required": [
860
+ "secretRef"
861
+ ],
862
+ "additionalProperties": false
863
+ },
864
+ "extensions": {
865
+ "$ref": "#/$defs/Extensions"
866
+ }
867
+ },
868
+ "required": [
869
+ "id",
870
+ "protocol",
871
+ "endpoint"
872
+ ],
873
+ "additionalProperties": false
874
+ },
875
+ "AgentEntry": {
876
+ "description": "One entry of spec.agents: agent reference if it has ref, remote agent if it has protocol, otherwise inline agent (spec 5.4).",
877
+ "type": "object",
878
+ "required": [
879
+ "id"
880
+ ],
881
+ "if": {
882
+ "required": [
883
+ "ref"
884
+ ]
885
+ },
886
+ "then": {
887
+ "$ref": "#/$defs/AgentReference"
888
+ },
889
+ "else": {
890
+ "if": {
891
+ "required": [
892
+ "protocol"
893
+ ]
894
+ },
895
+ "then": {
896
+ "$ref": "#/$defs/RemoteAgent"
897
+ },
898
+ "else": {
899
+ "$ref": "#/$defs/InlineAgent"
900
+ }
901
+ }
902
+ },
903
+ "Trigger": {
904
+ "description": "Trigger (spec 5.2).",
905
+ "type": "object",
906
+ "properties": {
907
+ "type": {
908
+ "enum": [
909
+ "manual",
910
+ "schedule",
911
+ "event"
912
+ ]
913
+ },
914
+ "cron": {
915
+ "type": "string",
916
+ "pattern": "^\\S+(\\s+\\S+){4}$"
917
+ },
918
+ "timezone": {
919
+ "type": "string",
920
+ "minLength": 1
921
+ },
922
+ "source": {
923
+ "type": "string",
924
+ "minLength": 1
925
+ },
926
+ "eventType": {
927
+ "type": "string",
928
+ "minLength": 1
929
+ },
930
+ "filter": {
931
+ "type": "object",
932
+ "propertyNames": {
933
+ "pattern": "^.+$"
934
+ },
935
+ "additionalProperties": {
936
+ "type": "string"
937
+ }
938
+ },
939
+ "concurrencyPolicy": {
940
+ "enum": [
941
+ "allow",
942
+ "forbid",
943
+ "replace"
944
+ ]
945
+ },
946
+ "startingDeadline": {
947
+ "$ref": "#/$defs/Duration"
948
+ },
949
+ "extensions": {
950
+ "$ref": "#/$defs/Extensions"
951
+ }
952
+ },
953
+ "required": [
954
+ "type"
955
+ ],
956
+ "additionalProperties": false,
957
+ "allOf": [
958
+ {
959
+ "if": {
960
+ "properties": {
961
+ "type": {
962
+ "const": "manual"
963
+ }
964
+ },
965
+ "required": [
966
+ "type"
967
+ ]
968
+ },
969
+ "then": {
970
+ "not": {
971
+ "anyOf": [
972
+ {
973
+ "required": [
974
+ "cron"
975
+ ]
976
+ },
977
+ {
978
+ "required": [
979
+ "timezone"
980
+ ]
981
+ },
982
+ {
983
+ "required": [
984
+ "source"
985
+ ]
986
+ },
987
+ {
988
+ "required": [
989
+ "eventType"
990
+ ]
991
+ },
992
+ {
993
+ "required": [
994
+ "filter"
995
+ ]
996
+ },
997
+ {
998
+ "required": [
999
+ "concurrencyPolicy"
1000
+ ]
1001
+ },
1002
+ {
1003
+ "required": [
1004
+ "startingDeadline"
1005
+ ]
1006
+ }
1007
+ ]
1008
+ }
1009
+ }
1010
+ },
1011
+ {
1012
+ "if": {
1013
+ "properties": {
1014
+ "type": {
1015
+ "const": "schedule"
1016
+ }
1017
+ },
1018
+ "required": [
1019
+ "type"
1020
+ ]
1021
+ },
1022
+ "then": {
1023
+ "required": [
1024
+ "cron"
1025
+ ],
1026
+ "not": {
1027
+ "anyOf": [
1028
+ {
1029
+ "required": [
1030
+ "source"
1031
+ ]
1032
+ },
1033
+ {
1034
+ "required": [
1035
+ "eventType"
1036
+ ]
1037
+ },
1038
+ {
1039
+ "required": [
1040
+ "filter"
1041
+ ]
1042
+ }
1043
+ ]
1044
+ }
1045
+ }
1046
+ },
1047
+ {
1048
+ "if": {
1049
+ "properties": {
1050
+ "type": {
1051
+ "const": "event"
1052
+ }
1053
+ },
1054
+ "required": [
1055
+ "type"
1056
+ ]
1057
+ },
1058
+ "then": {
1059
+ "required": [
1060
+ "source",
1061
+ "eventType"
1062
+ ],
1063
+ "not": {
1064
+ "anyOf": [
1065
+ {
1066
+ "required": [
1067
+ "cron"
1068
+ ]
1069
+ },
1070
+ {
1071
+ "required": [
1072
+ "timezone"
1073
+ ]
1074
+ },
1075
+ {
1076
+ "required": [
1077
+ "concurrencyPolicy"
1078
+ ]
1079
+ },
1080
+ {
1081
+ "required": [
1082
+ "startingDeadline"
1083
+ ]
1084
+ }
1085
+ ]
1086
+ }
1087
+ }
1088
+ }
1089
+ ]
1090
+ },
1091
+ "Input": {
1092
+ "description": "Workflow input (spec 5.3).",
1093
+ "type": "object",
1094
+ "properties": {
1095
+ "name": {
1096
+ "$ref": "#/$defs/Name"
1097
+ },
1098
+ "type": {
1099
+ "enum": [
1100
+ "string",
1101
+ "integer",
1102
+ "number",
1103
+ "boolean",
1104
+ "object",
1105
+ "array",
1106
+ "artifact"
1107
+ ]
1108
+ },
1109
+ "required": {
1110
+ "type": "boolean"
1111
+ },
1112
+ "default": {},
1113
+ "description": {
1114
+ "type": "string"
1115
+ },
1116
+ "pattern": {
1117
+ "type": "string"
1118
+ },
1119
+ "enum": {
1120
+ "type": "array",
1121
+ "items": {}
1122
+ },
1123
+ "classification": {
1124
+ "$ref": "#/$defs/Classification"
1125
+ },
1126
+ "extensions": {
1127
+ "$ref": "#/$defs/Extensions"
1128
+ }
1129
+ },
1130
+ "required": [
1131
+ "name",
1132
+ "type"
1133
+ ],
1134
+ "additionalProperties": false,
1135
+ "allOf": [
1136
+ {
1137
+ "if": {
1138
+ "properties": {
1139
+ "type": {
1140
+ "const": "string"
1141
+ }
1142
+ },
1143
+ "required": [
1144
+ "type"
1145
+ ]
1146
+ },
1147
+ "then": {
1148
+ "properties": {
1149
+ "default": {
1150
+ "type": "string"
1151
+ }
1152
+ }
1153
+ }
1154
+ },
1155
+ {
1156
+ "if": {
1157
+ "properties": {
1158
+ "type": {
1159
+ "const": "integer"
1160
+ }
1161
+ },
1162
+ "required": [
1163
+ "type"
1164
+ ]
1165
+ },
1166
+ "then": {
1167
+ "properties": {
1168
+ "default": {
1169
+ "type": "integer"
1170
+ }
1171
+ }
1172
+ }
1173
+ },
1174
+ {
1175
+ "if": {
1176
+ "properties": {
1177
+ "type": {
1178
+ "const": "number"
1179
+ }
1180
+ },
1181
+ "required": [
1182
+ "type"
1183
+ ]
1184
+ },
1185
+ "then": {
1186
+ "properties": {
1187
+ "default": {
1188
+ "type": "number"
1189
+ }
1190
+ }
1191
+ }
1192
+ },
1193
+ {
1194
+ "if": {
1195
+ "properties": {
1196
+ "type": {
1197
+ "const": "boolean"
1198
+ }
1199
+ },
1200
+ "required": [
1201
+ "type"
1202
+ ]
1203
+ },
1204
+ "then": {
1205
+ "properties": {
1206
+ "default": {
1207
+ "type": "boolean"
1208
+ }
1209
+ }
1210
+ }
1211
+ },
1212
+ {
1213
+ "if": {
1214
+ "properties": {
1215
+ "type": {
1216
+ "const": "object"
1217
+ }
1218
+ },
1219
+ "required": [
1220
+ "type"
1221
+ ]
1222
+ },
1223
+ "then": {
1224
+ "properties": {
1225
+ "default": {
1226
+ "type": "object"
1227
+ }
1228
+ }
1229
+ }
1230
+ },
1231
+ {
1232
+ "if": {
1233
+ "properties": {
1234
+ "type": {
1235
+ "const": "array"
1236
+ }
1237
+ },
1238
+ "required": [
1239
+ "type"
1240
+ ]
1241
+ },
1242
+ "then": {
1243
+ "properties": {
1244
+ "default": {
1245
+ "type": "array"
1246
+ }
1247
+ }
1248
+ }
1249
+ },
1250
+ {
1251
+ "if": {
1252
+ "properties": {
1253
+ "required": {
1254
+ "const": true
1255
+ }
1256
+ },
1257
+ "required": [
1258
+ "required"
1259
+ ]
1260
+ },
1261
+ "then": {
1262
+ "not": {
1263
+ "required": [
1264
+ "default"
1265
+ ]
1266
+ }
1267
+ }
1268
+ }
1269
+ ]
1270
+ },
1271
+ "Step": {
1272
+ "description": "Workflow step (spec 5.6).",
1273
+ "type": "object",
1274
+ "properties": {
1275
+ "id": {
1276
+ "$ref": "#/$defs/Identifier"
1277
+ },
1278
+ "type": {
1279
+ "enum": [
1280
+ "agent",
1281
+ "command",
1282
+ "approval",
1283
+ "input"
1284
+ ]
1285
+ },
1286
+ "dependsOn": {
1287
+ "type": "array",
1288
+ "items": {
1289
+ "$ref": "#/$defs/Identifier"
1290
+ }
1291
+ },
1292
+ "timeout": {
1293
+ "$ref": "#/$defs/Duration"
1294
+ },
1295
+ "retries": {
1296
+ "type": "integer",
1297
+ "minimum": 0
1298
+ },
1299
+ "outputs": {
1300
+ "type": "array",
1301
+ "items": {
1302
+ "type": "object",
1303
+ "properties": {
1304
+ "name": {
1305
+ "description": "Output name (spec 5.6.1). Also the file name in $AWP_OUTPUTS (spec 5.6.4).",
1306
+ "type": "string",
1307
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,62}$"
1308
+ },
1309
+ "classification": {
1310
+ "$ref": "#/$defs/Classification"
1311
+ },
1312
+ "description": {
1313
+ "type": "string"
1314
+ },
1315
+ "extensions": {
1316
+ "$ref": "#/$defs/Extensions"
1317
+ }
1318
+ },
1319
+ "required": [
1320
+ "name"
1321
+ ],
1322
+ "additionalProperties": false
1323
+ }
1324
+ },
1325
+ "budget": {
1326
+ "$ref": "#/$defs/Budget"
1327
+ },
1328
+ "agent": {
1329
+ "$ref": "#/$defs/Identifier"
1330
+ },
1331
+ "task": {
1332
+ "$ref": "#/$defs/Expression"
1333
+ },
1334
+ "command": {
1335
+ "type": "string",
1336
+ "minLength": 1
1337
+ },
1338
+ "image": {
1339
+ "type": "string",
1340
+ "minLength": 1
1341
+ },
1342
+ "env": {
1343
+ "type": "object",
1344
+ "propertyNames": {
1345
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
1346
+ },
1347
+ "additionalProperties": {
1348
+ "$ref": "#/$defs/Expression"
1349
+ }
1350
+ },
1351
+ "workingDir": {
1352
+ "type": "string",
1353
+ "minLength": 1
1354
+ },
1355
+ "approval": {
1356
+ "$ref": "#/$defs/ApprovalStep"
1357
+ },
1358
+ "input": {
1359
+ "$ref": "#/$defs/InputStep"
1360
+ },
1361
+ "forEach": {
1362
+ "$ref": "#/$defs/ForEach"
1363
+ },
1364
+ "extensions": {
1365
+ "$ref": "#/$defs/Extensions"
1366
+ }
1367
+ },
1368
+ "required": [
1369
+ "id"
1370
+ ],
1371
+ "additionalProperties": false,
1372
+ "if": {
1373
+ "required": [
1374
+ "type"
1375
+ ],
1376
+ "properties": {
1377
+ "type": {
1378
+ "const": "command"
1379
+ }
1380
+ }
1381
+ },
1382
+ "then": {
1383
+ "required": [
1384
+ "command"
1385
+ ],
1386
+ "not": {
1387
+ "anyOf": [
1388
+ {
1389
+ "required": [
1390
+ "agent"
1391
+ ]
1392
+ },
1393
+ {
1394
+ "required": [
1395
+ "task"
1396
+ ]
1397
+ },
1398
+ {
1399
+ "required": [
1400
+ "approval"
1401
+ ]
1402
+ },
1403
+ {
1404
+ "required": [
1405
+ "input"
1406
+ ]
1407
+ }
1408
+ ]
1409
+ }
1410
+ },
1411
+ "else": {
1412
+ "if": {
1413
+ "required": [
1414
+ "type"
1415
+ ],
1416
+ "properties": {
1417
+ "type": {
1418
+ "const": "approval"
1419
+ }
1420
+ }
1421
+ },
1422
+ "then": {
1423
+ "required": [
1424
+ "approval"
1425
+ ],
1426
+ "not": {
1427
+ "anyOf": [
1428
+ {
1429
+ "required": [
1430
+ "agent"
1431
+ ]
1432
+ },
1433
+ {
1434
+ "required": [
1435
+ "task"
1436
+ ]
1437
+ },
1438
+ {
1439
+ "required": [
1440
+ "command"
1441
+ ]
1442
+ },
1443
+ {
1444
+ "required": [
1445
+ "image"
1446
+ ]
1447
+ },
1448
+ {
1449
+ "required": [
1450
+ "env"
1451
+ ]
1452
+ },
1453
+ {
1454
+ "required": [
1455
+ "workingDir"
1456
+ ]
1457
+ },
1458
+ {
1459
+ "required": [
1460
+ "input"
1461
+ ]
1462
+ },
1463
+ {
1464
+ "required": [
1465
+ "forEach"
1466
+ ]
1467
+ }
1468
+ ]
1469
+ }
1470
+ },
1471
+ "else": {
1472
+ "if": {
1473
+ "required": [
1474
+ "type"
1475
+ ],
1476
+ "properties": {
1477
+ "type": {
1478
+ "const": "input"
1479
+ }
1480
+ }
1481
+ },
1482
+ "then": {
1483
+ "required": [
1484
+ "input"
1485
+ ],
1486
+ "not": {
1487
+ "anyOf": [
1488
+ {
1489
+ "required": [
1490
+ "agent"
1491
+ ]
1492
+ },
1493
+ {
1494
+ "required": [
1495
+ "task"
1496
+ ]
1497
+ },
1498
+ {
1499
+ "required": [
1500
+ "command"
1501
+ ]
1502
+ },
1503
+ {
1504
+ "required": [
1505
+ "image"
1506
+ ]
1507
+ },
1508
+ {
1509
+ "required": [
1510
+ "env"
1511
+ ]
1512
+ },
1513
+ {
1514
+ "required": [
1515
+ "workingDir"
1516
+ ]
1517
+ },
1518
+ {
1519
+ "required": [
1520
+ "approval"
1521
+ ]
1522
+ },
1523
+ {
1524
+ "required": [
1525
+ "forEach"
1526
+ ]
1527
+ }
1528
+ ]
1529
+ }
1530
+ },
1531
+ "else": {
1532
+ "required": [
1533
+ "agent"
1534
+ ],
1535
+ "not": {
1536
+ "anyOf": [
1537
+ {
1538
+ "required": [
1539
+ "command"
1540
+ ]
1541
+ },
1542
+ {
1543
+ "required": [
1544
+ "image"
1545
+ ]
1546
+ },
1547
+ {
1548
+ "required": [
1549
+ "env"
1550
+ ]
1551
+ },
1552
+ {
1553
+ "required": [
1554
+ "workingDir"
1555
+ ]
1556
+ },
1557
+ {
1558
+ "required": [
1559
+ "approval"
1560
+ ]
1561
+ },
1562
+ {
1563
+ "required": [
1564
+ "input"
1565
+ ]
1566
+ }
1567
+ ]
1568
+ }
1569
+ }
1570
+ }
1571
+ }
1572
+ },
1573
+ "DataPolicy": {
1574
+ "description": "Data policy (spec 7.2, 7.3).",
1575
+ "type": "object",
1576
+ "properties": {
1577
+ "classification": {
1578
+ "$ref": "#/$defs/Classification"
1579
+ },
1580
+ "inputs": {
1581
+ "type": "array",
1582
+ "items": {
1583
+ "type": "object",
1584
+ "properties": {
1585
+ "name": {
1586
+ "type": "string",
1587
+ "minLength": 1
1588
+ },
1589
+ "classification": {
1590
+ "$ref": "#/$defs/Classification"
1591
+ },
1592
+ "extensions": {
1593
+ "$ref": "#/$defs/Extensions"
1594
+ }
1595
+ },
1596
+ "required": [
1597
+ "name",
1598
+ "classification"
1599
+ ],
1600
+ "additionalProperties": false
1601
+ }
1602
+ },
1603
+ "outputs": {
1604
+ "type": "array",
1605
+ "items": {
1606
+ "type": "object",
1607
+ "properties": {
1608
+ "name": {
1609
+ "type": "string",
1610
+ "minLength": 1
1611
+ },
1612
+ "classification": {
1613
+ "$ref": "#/$defs/Classification"
1614
+ },
1615
+ "extensions": {
1616
+ "$ref": "#/$defs/Extensions"
1617
+ }
1618
+ },
1619
+ "required": [
1620
+ "name",
1621
+ "classification"
1622
+ ],
1623
+ "additionalProperties": false
1624
+ }
1625
+ },
1626
+ "restrictions": {
1627
+ "type": "object",
1628
+ "properties": {
1629
+ "externalTransfer": {
1630
+ "enum": [
1631
+ "allow",
1632
+ "deny"
1633
+ ]
1634
+ },
1635
+ "extensions": {
1636
+ "$ref": "#/$defs/Extensions"
1637
+ }
1638
+ },
1639
+ "additionalProperties": false
1640
+ },
1641
+ "residency": {
1642
+ "type": "object",
1643
+ "properties": {
1644
+ "allowed": {
1645
+ "type": "array",
1646
+ "items": {
1647
+ "type": "string",
1648
+ "minLength": 1
1649
+ }
1650
+ },
1651
+ "extensions": {
1652
+ "$ref": "#/$defs/Extensions"
1653
+ }
1654
+ },
1655
+ "additionalProperties": false
1656
+ },
1657
+ "processing": {
1658
+ "type": "object",
1659
+ "properties": {
1660
+ "allowedProviders": {
1661
+ "type": "array",
1662
+ "items": {
1663
+ "type": "string",
1664
+ "minLength": 1
1665
+ }
1666
+ },
1667
+ "forbiddenProviders": {
1668
+ "type": "array",
1669
+ "items": {
1670
+ "type": "string",
1671
+ "minLength": 1
1672
+ }
1673
+ },
1674
+ "extensions": {
1675
+ "$ref": "#/$defs/Extensions"
1676
+ }
1677
+ },
1678
+ "additionalProperties": false
1679
+ },
1680
+ "extensions": {
1681
+ "$ref": "#/$defs/Extensions"
1682
+ }
1683
+ },
1684
+ "additionalProperties": false
1685
+ },
1686
+ "ModelPolicy": {
1687
+ "description": "Model policy (spec 7.4).",
1688
+ "type": "object",
1689
+ "properties": {
1690
+ "allowedProviders": {
1691
+ "type": "array",
1692
+ "items": {
1693
+ "type": "string",
1694
+ "minLength": 1
1695
+ }
1696
+ },
1697
+ "allowedModels": {
1698
+ "type": "array",
1699
+ "items": {
1700
+ "type": "string",
1701
+ "minLength": 1
1702
+ }
1703
+ },
1704
+ "forbiddenModels": {
1705
+ "type": "array",
1706
+ "items": {
1707
+ "type": "string",
1708
+ "minLength": 1
1709
+ }
1710
+ },
1711
+ "requirements": {
1712
+ "type": "object",
1713
+ "properties": {
1714
+ "approvalStatus": {
1715
+ "enum": [
1716
+ "approved",
1717
+ "pending",
1718
+ "rejected",
1719
+ "revoked"
1720
+ ]
1721
+ },
1722
+ "encryption": {
1723
+ "type": "boolean"
1724
+ },
1725
+ "region": {
1726
+ "type": "string",
1727
+ "minLength": 1
1728
+ },
1729
+ "evaluationStatus": {
1730
+ "enum": [
1731
+ "passed",
1732
+ "failed",
1733
+ "pending",
1734
+ "notEvaluated"
1735
+ ]
1736
+ },
1737
+ "extensions": {
1738
+ "$ref": "#/$defs/Extensions"
1739
+ }
1740
+ },
1741
+ "additionalProperties": false
1742
+ },
1743
+ "extensions": {
1744
+ "$ref": "#/$defs/Extensions"
1745
+ }
1746
+ },
1747
+ "additionalProperties": false
1748
+ },
1749
+ "Policies": {
1750
+ "description": "Workflow policy shorthands and includes (spec 8.1).",
1751
+ "type": "object",
1752
+ "properties": {
1753
+ "git": {
1754
+ "type": "object",
1755
+ "properties": {
1756
+ "allowPush": {
1757
+ "type": "boolean"
1758
+ },
1759
+ "allowForcePush": {
1760
+ "type": "boolean"
1761
+ },
1762
+ "extensions": {
1763
+ "$ref": "#/$defs/Extensions"
1764
+ }
1765
+ },
1766
+ "additionalProperties": false
1767
+ },
1768
+ "pullRequest": {
1769
+ "type": "object",
1770
+ "properties": {
1771
+ "allowCreate": {
1772
+ "type": "boolean"
1773
+ },
1774
+ "extensions": {
1775
+ "$ref": "#/$defs/Extensions"
1776
+ }
1777
+ },
1778
+ "additionalProperties": false
1779
+ },
1780
+ "merge": {
1781
+ "type": "object",
1782
+ "properties": {
1783
+ "allow": {
1784
+ "type": "boolean"
1785
+ },
1786
+ "extensions": {
1787
+ "$ref": "#/$defs/Extensions"
1788
+ }
1789
+ },
1790
+ "additionalProperties": false
1791
+ },
1792
+ "production": {
1793
+ "type": "object",
1794
+ "properties": {
1795
+ "allow": {
1796
+ "type": "boolean"
1797
+ },
1798
+ "extensions": {
1799
+ "$ref": "#/$defs/Extensions"
1800
+ }
1801
+ },
1802
+ "additionalProperties": false
1803
+ },
1804
+ "include": {
1805
+ "type": "array",
1806
+ "items": {
1807
+ "type": "object",
1808
+ "properties": {
1809
+ "name": {
1810
+ "$ref": "#/$defs/Name"
1811
+ },
1812
+ "version": {
1813
+ "$ref": "#/$defs/SemVer"
1814
+ },
1815
+ "digest": {
1816
+ "$ref": "#/$defs/Digest"
1817
+ },
1818
+ "extensions": {
1819
+ "$ref": "#/$defs/Extensions"
1820
+ }
1821
+ },
1822
+ "required": [
1823
+ "name",
1824
+ "version"
1825
+ ],
1826
+ "additionalProperties": false
1827
+ }
1828
+ },
1829
+ "extensions": {
1830
+ "$ref": "#/$defs/Extensions"
1831
+ }
1832
+ },
1833
+ "additionalProperties": false
1834
+ },
1835
+ "Audit": {
1836
+ "description": "Audit configuration (spec 10.2).",
1837
+ "type": "object",
1838
+ "properties": {
1839
+ "enabled": {
1840
+ "type": "boolean"
1841
+ },
1842
+ "payload": {
1843
+ "enum": [
1844
+ "metadata",
1845
+ "full"
1846
+ ]
1847
+ },
1848
+ "integrity": {
1849
+ "type": "object",
1850
+ "properties": {
1851
+ "mode": {
1852
+ "enum": [
1853
+ "none",
1854
+ "hash-chain",
1855
+ "signed"
1856
+ ]
1857
+ },
1858
+ "extensions": {
1859
+ "$ref": "#/$defs/Extensions"
1860
+ }
1861
+ },
1862
+ "additionalProperties": false
1863
+ },
1864
+ "retention": {
1865
+ "type": "object",
1866
+ "properties": {
1867
+ "duration": {
1868
+ "$ref": "#/$defs/Duration"
1869
+ },
1870
+ "extensions": {
1871
+ "$ref": "#/$defs/Extensions"
1872
+ }
1873
+ },
1874
+ "additionalProperties": false
1875
+ },
1876
+ "extensions": {
1877
+ "$ref": "#/$defs/Extensions"
1878
+ }
1879
+ },
1880
+ "additionalProperties": false
1881
+ },
1882
+ "Environments": {
1883
+ "description": "Environments (spec 7.10). Keys are organizational environment names.",
1884
+ "type": "object",
1885
+ "propertyNames": {
1886
+ "pattern": "^.+$"
1887
+ },
1888
+ "additionalProperties": {
1889
+ "type": "object",
1890
+ "properties": {
1891
+ "autonomy": {
1892
+ "enum": [
1893
+ "unrestricted",
1894
+ "controlled",
1895
+ "approval-required",
1896
+ "prohibited"
1897
+ ]
1898
+ },
1899
+ "autoApprove": {
1900
+ "type": "array",
1901
+ "items": {
1902
+ "$ref": "#/$defs/ActionKey"
1903
+ }
1904
+ },
1905
+ "extensions": {
1906
+ "$ref": "#/$defs/Extensions"
1907
+ }
1908
+ },
1909
+ "required": [
1910
+ "autonomy"
1911
+ ],
1912
+ "additionalProperties": false
1913
+ }
1914
+ },
1915
+ "Owner": {
1916
+ "description": "Ownership (spec 7.1).",
1917
+ "type": "object",
1918
+ "properties": {
1919
+ "team": {
1920
+ "type": "string",
1921
+ "minLength": 1
1922
+ },
1923
+ "contact": {
1924
+ "type": "string"
1925
+ },
1926
+ "businessOwner": {
1927
+ "type": "string"
1928
+ },
1929
+ "technicalOwner": {
1930
+ "type": "string"
1931
+ },
1932
+ "dataOwner": {
1933
+ "type": "string"
1934
+ },
1935
+ "extensions": {
1936
+ "$ref": "#/$defs/Extensions"
1937
+ }
1938
+ },
1939
+ "required": [
1940
+ "team"
1941
+ ],
1942
+ "additionalProperties": false
1943
+ },
1944
+ "Metadata": {
1945
+ "description": "Object metadata (spec 4): the subset of Kubernetes ObjectMeta that authors write. Fields that an object store populates are tolerated and ignored.",
1946
+ "type": "object",
1947
+ "properties": {
1948
+ "name": {
1949
+ "$ref": "#/$defs/ObjectName"
1950
+ },
1951
+ "namespace": {
1952
+ "$ref": "#/$defs/ObjectName"
1953
+ },
1954
+ "labels": {
1955
+ "type": "object",
1956
+ "propertyNames": {
1957
+ "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?[A-Za-z0-9]([-A-Za-z0-9_.]{0,61}[A-Za-z0-9])?$",
1958
+ "maxLength": 316
1959
+ },
1960
+ "additionalProperties": {
1961
+ "type": "string",
1962
+ "pattern": "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$",
1963
+ "maxLength": 63
1964
+ }
1965
+ },
1966
+ "annotations": {
1967
+ "type": "object",
1968
+ "propertyNames": {
1969
+ "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?[A-Za-z0-9]([-A-Za-z0-9_.]{0,61}[A-Za-z0-9])?$",
1970
+ "maxLength": 316
1971
+ },
1972
+ "additionalProperties": {
1973
+ "type": "string"
1974
+ }
1975
+ },
1976
+ "uid": {
1977
+ "type": "string"
1978
+ },
1979
+ "resourceVersion": {
1980
+ "type": "string"
1981
+ },
1982
+ "generation": {
1983
+ "type": "integer"
1984
+ },
1985
+ "creationTimestamp": {
1986
+ "type": "string"
1987
+ },
1988
+ "deletionTimestamp": {
1989
+ "type": "string"
1990
+ },
1991
+ "deletionGracePeriodSeconds": {
1992
+ "type": "integer"
1993
+ },
1994
+ "finalizers": {
1995
+ "type": "array",
1996
+ "items": {
1997
+ "type": "string"
1998
+ }
1999
+ },
2000
+ "ownerReferences": {
2001
+ "type": "array",
2002
+ "items": {
2003
+ "type": "object"
2004
+ }
2005
+ },
2006
+ "managedFields": {
2007
+ "type": "array",
2008
+ "items": {
2009
+ "type": "object"
2010
+ }
2011
+ }
2012
+ },
2013
+ "required": [
2014
+ "name"
2015
+ ],
2016
+ "additionalProperties": false
2017
+ },
2018
+ "WorkflowSpec": {
2019
+ "description": "spec of kind Workflow (spec 5.1).",
2020
+ "type": "object",
2021
+ "properties": {
2022
+ "version": {
2023
+ "$ref": "#/$defs/SemVer"
2024
+ },
2025
+ "description": {
2026
+ "type": "string"
2027
+ },
2028
+ "owner": {
2029
+ "$ref": "#/$defs/Owner"
2030
+ },
2031
+ "classification": {
2032
+ "$ref": "#/$defs/Classification"
2033
+ },
2034
+ "purpose": {
2035
+ "type": "string"
2036
+ },
2037
+ "risk": {
2038
+ "type": "object",
2039
+ "properties": {
2040
+ "level": {
2041
+ "$ref": "#/$defs/RiskLevel"
2042
+ },
2043
+ "category": {
2044
+ "type": "array",
2045
+ "items": {
2046
+ "type": "string",
2047
+ "minLength": 1
2048
+ }
2049
+ },
2050
+ "extensions": {
2051
+ "$ref": "#/$defs/Extensions"
2052
+ }
2053
+ },
2054
+ "required": [
2055
+ "level"
2056
+ ],
2057
+ "additionalProperties": false
2058
+ },
2059
+ "integrity": {
2060
+ "type": "object",
2061
+ "properties": {
2062
+ "digest": {
2063
+ "$ref": "#/$defs/Digest"
2064
+ },
2065
+ "extensions": {
2066
+ "$ref": "#/$defs/Extensions"
2067
+ }
2068
+ },
2069
+ "required": [
2070
+ "digest"
2071
+ ],
2072
+ "additionalProperties": false
2073
+ },
2074
+ "signature": {
2075
+ "type": "object",
2076
+ "properties": {
2077
+ "format": {
2078
+ "type": "string",
2079
+ "minLength": 1
2080
+ },
2081
+ "ref": {
2082
+ "type": "string",
2083
+ "minLength": 1
2084
+ },
2085
+ "identity": {
2086
+ "type": "string",
2087
+ "minLength": 1
2088
+ },
2089
+ "extensions": {
2090
+ "$ref": "#/$defs/Extensions"
2091
+ }
2092
+ },
2093
+ "additionalProperties": false
2094
+ },
2095
+ "provenance": {
2096
+ "type": "object",
2097
+ "properties": {
2098
+ "format": {
2099
+ "type": "string",
2100
+ "minLength": 1
2101
+ },
2102
+ "ref": {
2103
+ "type": "string",
2104
+ "minLength": 1
2105
+ },
2106
+ "extensions": {
2107
+ "$ref": "#/$defs/Extensions"
2108
+ }
2109
+ },
2110
+ "additionalProperties": false
2111
+ },
2112
+ "triggers": {
2113
+ "type": "array",
2114
+ "items": {
2115
+ "$ref": "#/$defs/Trigger"
2116
+ }
2117
+ },
2118
+ "inputs": {
2119
+ "type": "array",
2120
+ "items": {
2121
+ "$ref": "#/$defs/Input"
2122
+ }
2123
+ },
2124
+ "budget": {
2125
+ "$ref": "#/$defs/Budget"
2126
+ },
2127
+ "agents": {
2128
+ "type": "array",
2129
+ "items": {
2130
+ "$ref": "#/$defs/AgentEntry"
2131
+ }
2132
+ },
2133
+ "mcpServers": {
2134
+ "type": "array",
2135
+ "items": {
2136
+ "$ref": "#/$defs/McpServer"
2137
+ }
2138
+ },
2139
+ "actionGroups": {
2140
+ "$ref": "#/$defs/ActionGroups"
2141
+ },
2142
+ "workflow": {
2143
+ "type": "array",
2144
+ "items": {
2145
+ "$ref": "#/$defs/Step"
2146
+ }
2147
+ },
2148
+ "secrets": {
2149
+ "type": "array",
2150
+ "items": {
2151
+ "$ref": "#/$defs/Secret"
2152
+ }
2153
+ },
2154
+ "environment": {
2155
+ "type": "object",
2156
+ "properties": {
2157
+ "name": {
2158
+ "type": "string",
2159
+ "minLength": 1
2160
+ },
2161
+ "extensions": {
2162
+ "$ref": "#/$defs/Extensions"
2163
+ }
2164
+ },
2165
+ "required": [
2166
+ "name"
2167
+ ],
2168
+ "additionalProperties": false
2169
+ },
2170
+ "environments": {
2171
+ "$ref": "#/$defs/Environments"
2172
+ },
2173
+ "permissions": {
2174
+ "$ref": "#/$defs/Permissions"
2175
+ },
2176
+ "dataPolicy": {
2177
+ "$ref": "#/$defs/DataPolicy"
2178
+ },
2179
+ "modelPolicy": {
2180
+ "$ref": "#/$defs/ModelPolicy"
2181
+ },
2182
+ "approval": {
2183
+ "$ref": "#/$defs/Approval"
2184
+ },
2185
+ "policies": {
2186
+ "$ref": "#/$defs/Policies"
2187
+ },
2188
+ "audit": {
2189
+ "$ref": "#/$defs/Audit"
2190
+ },
2191
+ "extensions": {
2192
+ "$ref": "#/$defs/Extensions"
2193
+ }
2194
+ },
2195
+ "required": [
2196
+ "version",
2197
+ "owner",
2198
+ "agents",
2199
+ "workflow"
2200
+ ],
2201
+ "additionalProperties": false
2202
+ },
2203
+ "AgentSpec": {
2204
+ "description": "spec of kind Agent (spec 6).",
2205
+ "type": "object",
2206
+ "properties": {
2207
+ "version": {
2208
+ "$ref": "#/$defs/SemVer"
2209
+ },
2210
+ "description": {
2211
+ "type": "string"
2212
+ },
2213
+ "owner": {
2214
+ "$ref": "#/$defs/Owner"
2215
+ },
2216
+ "classification": {
2217
+ "$ref": "#/$defs/Classification"
2218
+ },
2219
+ "purpose": {
2220
+ "type": "string"
2221
+ },
2222
+ "risk": {
2223
+ "type": "object",
2224
+ "properties": {
2225
+ "level": {
2226
+ "$ref": "#/$defs/RiskLevel"
2227
+ },
2228
+ "category": {
2229
+ "type": "array",
2230
+ "items": {
2231
+ "type": "string",
2232
+ "minLength": 1
2233
+ }
2234
+ },
2235
+ "extensions": {
2236
+ "$ref": "#/$defs/Extensions"
2237
+ }
2238
+ },
2239
+ "required": [
2240
+ "level"
2241
+ ],
2242
+ "additionalProperties": false
2243
+ },
2244
+ "integrity": {
2245
+ "type": "object",
2246
+ "properties": {
2247
+ "digest": {
2248
+ "$ref": "#/$defs/Digest"
2249
+ },
2250
+ "extensions": {
2251
+ "$ref": "#/$defs/Extensions"
2252
+ }
2253
+ },
2254
+ "required": [
2255
+ "digest"
2256
+ ],
2257
+ "additionalProperties": false
2258
+ },
2259
+ "signature": {
2260
+ "type": "object",
2261
+ "properties": {
2262
+ "format": {
2263
+ "type": "string",
2264
+ "minLength": 1
2265
+ },
2266
+ "ref": {
2267
+ "type": "string",
2268
+ "minLength": 1
2269
+ },
2270
+ "identity": {
2271
+ "type": "string",
2272
+ "minLength": 1
2273
+ },
2274
+ "extensions": {
2275
+ "$ref": "#/$defs/Extensions"
2276
+ }
2277
+ },
2278
+ "additionalProperties": false
2279
+ },
2280
+ "provenance": {
2281
+ "type": "object",
2282
+ "properties": {
2283
+ "format": {
2284
+ "type": "string",
2285
+ "minLength": 1
2286
+ },
2287
+ "ref": {
2288
+ "type": "string",
2289
+ "minLength": 1
2290
+ },
2291
+ "extensions": {
2292
+ "$ref": "#/$defs/Extensions"
2293
+ }
2294
+ },
2295
+ "additionalProperties": false
2296
+ },
2297
+ "model": {
2298
+ "$ref": "#/$defs/Model"
2299
+ },
2300
+ "instructions": {
2301
+ "type": "string"
2302
+ },
2303
+ "promptRef": {
2304
+ "$ref": "#/$defs/PromptRef"
2305
+ },
2306
+ "tools": {
2307
+ "type": "array",
2308
+ "items": {
2309
+ "$ref": "#/$defs/ToolSource"
2310
+ }
2311
+ },
2312
+ "mcpServers": {
2313
+ "type": "array",
2314
+ "items": {
2315
+ "$ref": "#/$defs/McpServer"
2316
+ }
2317
+ },
2318
+ "actionGroups": {
2319
+ "$ref": "#/$defs/ActionGroups"
2320
+ },
2321
+ "permissions": {
2322
+ "$ref": "#/$defs/Permissions"
2323
+ },
2324
+ "budget": {
2325
+ "$ref": "#/$defs/Budget"
2326
+ },
2327
+ "secrets": {
2328
+ "type": "array",
2329
+ "items": {
2330
+ "$ref": "#/$defs/Secret"
2331
+ }
2332
+ },
2333
+ "humanInput": {
2334
+ "$ref": "#/$defs/HumanInput"
2335
+ },
2336
+ "extensions": {
2337
+ "$ref": "#/$defs/Extensions"
2338
+ }
2339
+ },
2340
+ "required": [
2341
+ "version",
2342
+ "owner",
2343
+ "model"
2344
+ ],
2345
+ "additionalProperties": false,
2346
+ "not": {
2347
+ "required": [
2348
+ "instructions",
2349
+ "promptRef"
2350
+ ]
2351
+ }
2352
+ },
2353
+ "Condition": {
2354
+ "description": "Policy rule conditions (spec 8.3): each attribute maps to an operator object. Unknown attributes are rejected; ordering operators are limited to data.classification and risk.level.",
2355
+ "type": "object",
2356
+ "minProperties": 1,
2357
+ "additionalProperties": false,
2358
+ "properties": {
2359
+ "action": {
2360
+ "type": "object",
2361
+ "properties": {
2362
+ "in": {
2363
+ "type": "array",
2364
+ "items": {
2365
+ "$ref": "#/$defs/ActionKey"
2366
+ }
2367
+ },
2368
+ "notIn": {
2369
+ "type": "array",
2370
+ "items": {
2371
+ "$ref": "#/$defs/ActionKey"
2372
+ }
2373
+ },
2374
+ "equals": {
2375
+ "$ref": "#/$defs/ActionKey"
2376
+ },
2377
+ "notEquals": {
2378
+ "$ref": "#/$defs/ActionKey"
2379
+ },
2380
+ "extensions": {
2381
+ "$ref": "#/$defs/Extensions"
2382
+ }
2383
+ },
2384
+ "additionalProperties": false,
2385
+ "minProperties": 1
2386
+ },
2387
+ "environment.name": {
2388
+ "type": "object",
2389
+ "properties": {
2390
+ "in": {
2391
+ "type": "array",
2392
+ "items": {
2393
+ "type": "string",
2394
+ "minLength": 1
2395
+ }
2396
+ },
2397
+ "notIn": {
2398
+ "type": "array",
2399
+ "items": {
2400
+ "type": "string",
2401
+ "minLength": 1
2402
+ }
2403
+ },
2404
+ "equals": {
2405
+ "type": "string",
2406
+ "minLength": 1
2407
+ },
2408
+ "notEquals": {
2409
+ "type": "string",
2410
+ "minLength": 1
2411
+ },
2412
+ "extensions": {
2413
+ "$ref": "#/$defs/Extensions"
2414
+ }
2415
+ },
2416
+ "additionalProperties": false,
2417
+ "minProperties": 1
2418
+ },
2419
+ "risk.level": {
2420
+ "type": "object",
2421
+ "properties": {
2422
+ "in": {
2423
+ "type": "array",
2424
+ "items": {
2425
+ "$ref": "#/$defs/RiskLevel"
2426
+ }
2427
+ },
2428
+ "notIn": {
2429
+ "type": "array",
2430
+ "items": {
2431
+ "$ref": "#/$defs/RiskLevel"
2432
+ }
2433
+ },
2434
+ "equals": {
2435
+ "$ref": "#/$defs/RiskLevel"
2436
+ },
2437
+ "notEquals": {
2438
+ "$ref": "#/$defs/RiskLevel"
2439
+ },
2440
+ "gt": {
2441
+ "$ref": "#/$defs/RiskLevel"
2442
+ },
2443
+ "gte": {
2444
+ "$ref": "#/$defs/RiskLevel"
2445
+ },
2446
+ "lt": {
2447
+ "$ref": "#/$defs/RiskLevel"
2448
+ },
2449
+ "lte": {
2450
+ "$ref": "#/$defs/RiskLevel"
2451
+ },
2452
+ "extensions": {
2453
+ "$ref": "#/$defs/Extensions"
2454
+ }
2455
+ },
2456
+ "additionalProperties": false,
2457
+ "minProperties": 1
2458
+ },
2459
+ "data.classification": {
2460
+ "type": "object",
2461
+ "properties": {
2462
+ "in": {
2463
+ "type": "array",
2464
+ "items": {
2465
+ "$ref": "#/$defs/Classification"
2466
+ }
2467
+ },
2468
+ "notIn": {
2469
+ "type": "array",
2470
+ "items": {
2471
+ "$ref": "#/$defs/Classification"
2472
+ }
2473
+ },
2474
+ "equals": {
2475
+ "$ref": "#/$defs/Classification"
2476
+ },
2477
+ "notEquals": {
2478
+ "$ref": "#/$defs/Classification"
2479
+ },
2480
+ "gt": {
2481
+ "$ref": "#/$defs/Classification"
2482
+ },
2483
+ "gte": {
2484
+ "$ref": "#/$defs/Classification"
2485
+ },
2486
+ "lt": {
2487
+ "$ref": "#/$defs/Classification"
2488
+ },
2489
+ "lte": {
2490
+ "$ref": "#/$defs/Classification"
2491
+ },
2492
+ "extensions": {
2493
+ "$ref": "#/$defs/Extensions"
2494
+ }
2495
+ },
2496
+ "additionalProperties": false,
2497
+ "minProperties": 1
2498
+ },
2499
+ "destination.provider": {
2500
+ "type": "object",
2501
+ "properties": {
2502
+ "in": {
2503
+ "type": "array",
2504
+ "items": {
2505
+ "type": "string",
2506
+ "minLength": 1
2507
+ }
2508
+ },
2509
+ "notIn": {
2510
+ "type": "array",
2511
+ "items": {
2512
+ "type": "string",
2513
+ "minLength": 1
2514
+ }
2515
+ },
2516
+ "equals": {
2517
+ "type": "string",
2518
+ "minLength": 1
2519
+ },
2520
+ "notEquals": {
2521
+ "type": "string",
2522
+ "minLength": 1
2523
+ },
2524
+ "extensions": {
2525
+ "$ref": "#/$defs/Extensions"
2526
+ }
2527
+ },
2528
+ "additionalProperties": false,
2529
+ "minProperties": 1
2530
+ },
2531
+ "destination.region": {
2532
+ "type": "object",
2533
+ "properties": {
2534
+ "in": {
2535
+ "type": "array",
2536
+ "items": {
2537
+ "type": "string",
2538
+ "minLength": 1
2539
+ }
2540
+ },
2541
+ "notIn": {
2542
+ "type": "array",
2543
+ "items": {
2544
+ "type": "string",
2545
+ "minLength": 1
2546
+ }
2547
+ },
2548
+ "equals": {
2549
+ "type": "string",
2550
+ "minLength": 1
2551
+ },
2552
+ "notEquals": {
2553
+ "type": "string",
2554
+ "minLength": 1
2555
+ },
2556
+ "extensions": {
2557
+ "$ref": "#/$defs/Extensions"
2558
+ }
2559
+ },
2560
+ "additionalProperties": false,
2561
+ "minProperties": 1
2562
+ },
2563
+ "model.provider": {
2564
+ "type": "object",
2565
+ "properties": {
2566
+ "in": {
2567
+ "type": "array",
2568
+ "items": {
2569
+ "type": "string",
2570
+ "minLength": 1
2571
+ }
2572
+ },
2573
+ "notIn": {
2574
+ "type": "array",
2575
+ "items": {
2576
+ "type": "string",
2577
+ "minLength": 1
2578
+ }
2579
+ },
2580
+ "equals": {
2581
+ "type": "string",
2582
+ "minLength": 1
2583
+ },
2584
+ "notEquals": {
2585
+ "type": "string",
2586
+ "minLength": 1
2587
+ },
2588
+ "extensions": {
2589
+ "$ref": "#/$defs/Extensions"
2590
+ }
2591
+ },
2592
+ "additionalProperties": false,
2593
+ "minProperties": 1
2594
+ },
2595
+ "model.name": {
2596
+ "type": "object",
2597
+ "properties": {
2598
+ "in": {
2599
+ "type": "array",
2600
+ "items": {
2601
+ "type": "string",
2602
+ "minLength": 1
2603
+ }
2604
+ },
2605
+ "notIn": {
2606
+ "type": "array",
2607
+ "items": {
2608
+ "type": "string",
2609
+ "minLength": 1
2610
+ }
2611
+ },
2612
+ "equals": {
2613
+ "type": "string",
2614
+ "minLength": 1
2615
+ },
2616
+ "notEquals": {
2617
+ "type": "string",
2618
+ "minLength": 1
2619
+ },
2620
+ "extensions": {
2621
+ "$ref": "#/$defs/Extensions"
2622
+ }
2623
+ },
2624
+ "additionalProperties": false,
2625
+ "minProperties": 1
2626
+ },
2627
+ "actor.type": {
2628
+ "type": "object",
2629
+ "properties": {
2630
+ "in": {
2631
+ "type": "array",
2632
+ "items": {
2633
+ "enum": [
2634
+ "agent",
2635
+ "human",
2636
+ "runtime",
2637
+ "system"
2638
+ ]
2639
+ }
2640
+ },
2641
+ "notIn": {
2642
+ "type": "array",
2643
+ "items": {
2644
+ "enum": [
2645
+ "agent",
2646
+ "human",
2647
+ "runtime",
2648
+ "system"
2649
+ ]
2650
+ }
2651
+ },
2652
+ "equals": {
2653
+ "enum": [
2654
+ "agent",
2655
+ "human",
2656
+ "runtime",
2657
+ "system"
2658
+ ]
2659
+ },
2660
+ "notEquals": {
2661
+ "enum": [
2662
+ "agent",
2663
+ "human",
2664
+ "runtime",
2665
+ "system"
2666
+ ]
2667
+ },
2668
+ "extensions": {
2669
+ "$ref": "#/$defs/Extensions"
2670
+ }
2671
+ },
2672
+ "additionalProperties": false,
2673
+ "minProperties": 1
2674
+ },
2675
+ "workflow.name": {
2676
+ "type": "object",
2677
+ "properties": {
2678
+ "in": {
2679
+ "type": "array",
2680
+ "items": {
2681
+ "type": "string",
2682
+ "minLength": 1
2683
+ }
2684
+ },
2685
+ "notIn": {
2686
+ "type": "array",
2687
+ "items": {
2688
+ "type": "string",
2689
+ "minLength": 1
2690
+ }
2691
+ },
2692
+ "equals": {
2693
+ "type": "string",
2694
+ "minLength": 1
2695
+ },
2696
+ "notEquals": {
2697
+ "type": "string",
2698
+ "minLength": 1
2699
+ },
2700
+ "extensions": {
2701
+ "$ref": "#/$defs/Extensions"
2702
+ }
2703
+ },
2704
+ "additionalProperties": false,
2705
+ "minProperties": 1
2706
+ },
2707
+ "step.id": {
2708
+ "type": "object",
2709
+ "properties": {
2710
+ "in": {
2711
+ "type": "array",
2712
+ "items": {
2713
+ "type": "string",
2714
+ "minLength": 1
2715
+ }
2716
+ },
2717
+ "notIn": {
2718
+ "type": "array",
2719
+ "items": {
2720
+ "type": "string",
2721
+ "minLength": 1
2722
+ }
2723
+ },
2724
+ "equals": {
2725
+ "type": "string",
2726
+ "minLength": 1
2727
+ },
2728
+ "notEquals": {
2729
+ "type": "string",
2730
+ "minLength": 1
2731
+ },
2732
+ "extensions": {
2733
+ "$ref": "#/$defs/Extensions"
2734
+ }
2735
+ },
2736
+ "additionalProperties": false,
2737
+ "minProperties": 1
2738
+ },
2739
+ "agent.id": {
2740
+ "type": "object",
2741
+ "properties": {
2742
+ "in": {
2743
+ "type": "array",
2744
+ "items": {
2745
+ "type": "string",
2746
+ "minLength": 1
2747
+ }
2748
+ },
2749
+ "notIn": {
2750
+ "type": "array",
2751
+ "items": {
2752
+ "type": "string",
2753
+ "minLength": 1
2754
+ }
2755
+ },
2756
+ "equals": {
2757
+ "type": "string",
2758
+ "minLength": 1
2759
+ },
2760
+ "notEquals": {
2761
+ "type": "string",
2762
+ "minLength": 1
2763
+ },
2764
+ "extensions": {
2765
+ "$ref": "#/$defs/Extensions"
2766
+ }
2767
+ },
2768
+ "additionalProperties": false,
2769
+ "minProperties": 1
2770
+ }
2771
+ }
2772
+ },
2773
+ "Rule": {
2774
+ "description": "Policy rule (spec 8.2).",
2775
+ "type": "object",
2776
+ "properties": {
2777
+ "id": {
2778
+ "$ref": "#/$defs/Identifier"
2779
+ },
2780
+ "when": {
2781
+ "$ref": "#/$defs/Condition"
2782
+ },
2783
+ "effect": {
2784
+ "enum": [
2785
+ "deny",
2786
+ "requireApproval"
2787
+ ]
2788
+ },
2789
+ "approval": {
2790
+ "type": "object",
2791
+ "properties": {
2792
+ "approvers": {
2793
+ "type": "array",
2794
+ "items": {
2795
+ "$ref": "#/$defs/Approver"
2796
+ }
2797
+ },
2798
+ "minApprovals": {
2799
+ "type": "integer",
2800
+ "minimum": 1
2801
+ },
2802
+ "timeout": {
2803
+ "$ref": "#/$defs/Duration"
2804
+ },
2805
+ "onTimeout": {
2806
+ "enum": [
2807
+ "reject",
2808
+ "fail"
2809
+ ]
2810
+ },
2811
+ "extensions": {
2812
+ "$ref": "#/$defs/Extensions"
2813
+ }
2814
+ },
2815
+ "additionalProperties": false
2816
+ },
2817
+ "message": {
2818
+ "type": "string"
2819
+ },
2820
+ "extensions": {
2821
+ "$ref": "#/$defs/Extensions"
2822
+ }
2823
+ },
2824
+ "required": [
2825
+ "id",
2826
+ "when",
2827
+ "effect"
2828
+ ],
2829
+ "additionalProperties": false,
2830
+ "if": {
2831
+ "properties": {
2832
+ "effect": {
2833
+ "const": "requireApproval"
2834
+ }
2835
+ },
2836
+ "required": [
2837
+ "effect"
2838
+ ]
2839
+ },
2840
+ "then": {
2841
+ "required": [
2842
+ "approval"
2843
+ ]
2844
+ }
2845
+ },
2846
+ "PolicySpec": {
2847
+ "description": "spec of kind Policy (spec 8.2).",
2848
+ "type": "object",
2849
+ "properties": {
2850
+ "version": {
2851
+ "$ref": "#/$defs/SemVer"
2852
+ },
2853
+ "description": {
2854
+ "type": "string"
2855
+ },
2856
+ "owner": {
2857
+ "$ref": "#/$defs/Owner"
2858
+ },
2859
+ "classification": {
2860
+ "$ref": "#/$defs/Classification"
2861
+ },
2862
+ "purpose": {
2863
+ "type": "string"
2864
+ },
2865
+ "risk": {
2866
+ "type": "object",
2867
+ "properties": {
2868
+ "level": {
2869
+ "$ref": "#/$defs/RiskLevel"
2870
+ },
2871
+ "category": {
2872
+ "type": "array",
2873
+ "items": {
2874
+ "type": "string",
2875
+ "minLength": 1
2876
+ }
2877
+ },
2878
+ "extensions": {
2879
+ "$ref": "#/$defs/Extensions"
2880
+ }
2881
+ },
2882
+ "required": [
2883
+ "level"
2884
+ ],
2885
+ "additionalProperties": false
2886
+ },
2887
+ "integrity": {
2888
+ "type": "object",
2889
+ "properties": {
2890
+ "digest": {
2891
+ "$ref": "#/$defs/Digest"
2892
+ },
2893
+ "extensions": {
2894
+ "$ref": "#/$defs/Extensions"
2895
+ }
2896
+ },
2897
+ "required": [
2898
+ "digest"
2899
+ ],
2900
+ "additionalProperties": false
2901
+ },
2902
+ "signature": {
2903
+ "type": "object",
2904
+ "properties": {
2905
+ "format": {
2906
+ "type": "string",
2907
+ "minLength": 1
2908
+ },
2909
+ "ref": {
2910
+ "type": "string",
2911
+ "minLength": 1
2912
+ },
2913
+ "identity": {
2914
+ "type": "string",
2915
+ "minLength": 1
2916
+ },
2917
+ "extensions": {
2918
+ "$ref": "#/$defs/Extensions"
2919
+ }
2920
+ },
2921
+ "additionalProperties": false
2922
+ },
2923
+ "provenance": {
2924
+ "type": "object",
2925
+ "properties": {
2926
+ "format": {
2927
+ "type": "string",
2928
+ "minLength": 1
2929
+ },
2930
+ "ref": {
2931
+ "type": "string",
2932
+ "minLength": 1
2933
+ },
2934
+ "extensions": {
2935
+ "$ref": "#/$defs/Extensions"
2936
+ }
2937
+ },
2938
+ "additionalProperties": false
2939
+ },
2940
+ "rules": {
2941
+ "type": "array",
2942
+ "items": {
2943
+ "$ref": "#/$defs/Rule"
2944
+ }
2945
+ },
2946
+ "extensions": {
2947
+ "$ref": "#/$defs/Extensions"
2948
+ }
2949
+ },
2950
+ "required": [
2951
+ "version",
2952
+ "owner",
2953
+ "rules"
2954
+ ],
2955
+ "additionalProperties": false
2956
+ },
2957
+ "Workflow": {
2958
+ "description": "A complete manifest of kind Workflow (spec 3.2, 5).",
2959
+ "type": "object",
2960
+ "properties": {
2961
+ "apiVersion": {
2962
+ "const": "awp.agenticworkflowprotocol.org/v1alpha3"
2963
+ },
2964
+ "kind": {
2965
+ "const": "Workflow"
2966
+ },
2967
+ "metadata": {
2968
+ "$ref": "#/$defs/Metadata"
2969
+ },
2970
+ "spec": {
2971
+ "$ref": "#/$defs/WorkflowSpec"
2972
+ },
2973
+ "status": {
2974
+ "description": "Written by the runtime or object store (shape: ManifestStatus, spec 3.11). Ignored by validators and excluded from the digest (spec 3.2).",
2975
+ "type": "object"
2976
+ }
2977
+ },
2978
+ "required": [
2979
+ "apiVersion",
2980
+ "kind",
2981
+ "metadata",
2982
+ "spec"
2983
+ ],
2984
+ "additionalProperties": false
2985
+ },
2986
+ "Agent": {
2987
+ "description": "A complete manifest of kind Agent (spec 3.2, 6).",
2988
+ "type": "object",
2989
+ "properties": {
2990
+ "apiVersion": {
2991
+ "const": "awp.agenticworkflowprotocol.org/v1alpha3"
2992
+ },
2993
+ "kind": {
2994
+ "const": "Agent"
2995
+ },
2996
+ "metadata": {
2997
+ "$ref": "#/$defs/Metadata"
2998
+ },
2999
+ "spec": {
3000
+ "$ref": "#/$defs/AgentSpec"
3001
+ },
3002
+ "status": {
3003
+ "description": "Written by the runtime or object store (shape: ManifestStatus, spec 3.11). Ignored by validators and excluded from the digest (spec 3.2).",
3004
+ "type": "object"
3005
+ }
3006
+ },
3007
+ "required": [
3008
+ "apiVersion",
3009
+ "kind",
3010
+ "metadata",
3011
+ "spec"
3012
+ ],
3013
+ "additionalProperties": false
3014
+ },
3015
+ "Policy": {
3016
+ "description": "A complete manifest of kind Policy (spec 3.2, 8.2).",
3017
+ "type": "object",
3018
+ "properties": {
3019
+ "apiVersion": {
3020
+ "const": "awp.agenticworkflowprotocol.org/v1alpha3"
3021
+ },
3022
+ "kind": {
3023
+ "const": "Policy"
3024
+ },
3025
+ "metadata": {
3026
+ "$ref": "#/$defs/Metadata"
3027
+ },
3028
+ "spec": {
3029
+ "$ref": "#/$defs/PolicySpec"
3030
+ },
3031
+ "status": {
3032
+ "description": "Written by the runtime or object store (shape: ManifestStatus, spec 3.11). Ignored by validators and excluded from the digest (spec 3.2).",
3033
+ "type": "object"
3034
+ }
3035
+ },
3036
+ "required": [
3037
+ "apiVersion",
3038
+ "kind",
3039
+ "metadata",
3040
+ "spec"
3041
+ ],
3042
+ "additionalProperties": false
3043
+ },
3044
+ "Extensions": {
3045
+ "description": "Extension fields (spec 3.3): keys start with x-, values are opaque to AWP. Replaces the x- fields of v1alpha1, which a Kubernetes structural schema cannot express.",
3046
+ "type": "object",
3047
+ "propertyNames": {
3048
+ "pattern": "^x-[a-zA-Z0-9][a-zA-Z0-9_-]*$"
3049
+ },
3050
+ "additionalProperties": {}
3051
+ },
3052
+ "ObjectName": {
3053
+ "description": "Object name (spec 3.4): a DNS-1123 label.",
3054
+ "type": "string",
3055
+ "maxLength": 63,
3056
+ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
3057
+ },
3058
+ "AnswerField": {
3059
+ "description": "One field of an answer schema (spec 5.8): a primitive value, as in MCP elicitation.",
3060
+ "type": "object",
3061
+ "properties": {
3062
+ "type": {
3063
+ "enum": [
3064
+ "string",
3065
+ "number",
3066
+ "integer",
3067
+ "boolean"
3068
+ ]
3069
+ },
3070
+ "title": {
3071
+ "type": "string",
3072
+ "minLength": 1
3073
+ },
3074
+ "description": {
3075
+ "type": "string"
3076
+ },
3077
+ "enum": {
3078
+ "type": "array",
3079
+ "minItems": 1,
3080
+ "items": {
3081
+ "type": "string"
3082
+ }
3083
+ },
3084
+ "format": {
3085
+ "enum": [
3086
+ "email",
3087
+ "uri",
3088
+ "date",
3089
+ "date-time"
3090
+ ]
3091
+ },
3092
+ "minLength": {
3093
+ "type": "integer",
3094
+ "minimum": 0
3095
+ },
3096
+ "maxLength": {
3097
+ "type": "integer",
3098
+ "minimum": 1
3099
+ },
3100
+ "minimum": {
3101
+ "type": "number"
3102
+ },
3103
+ "maximum": {
3104
+ "type": "number"
3105
+ },
3106
+ "extensions": {
3107
+ "$ref": "#/$defs/Extensions"
3108
+ }
3109
+ },
3110
+ "required": [
3111
+ "type"
3112
+ ],
3113
+ "additionalProperties": false
3114
+ },
3115
+ "AnswerSchema": {
3116
+ "description": "Schema of a structured answer (spec 5.8): a flat object of primitive fields, the requested-schema subset of MCP elicitation.",
3117
+ "type": "object",
3118
+ "properties": {
3119
+ "type": {
3120
+ "const": "object"
3121
+ },
3122
+ "properties": {
3123
+ "type": "object",
3124
+ "minProperties": 1,
3125
+ "propertyNames": {
3126
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}$"
3127
+ },
3128
+ "additionalProperties": {
3129
+ "$ref": "#/$defs/AnswerField"
3130
+ }
3131
+ },
3132
+ "required": {
3133
+ "type": "array",
3134
+ "items": {
3135
+ "type": "string",
3136
+ "minLength": 1
3137
+ }
3138
+ },
3139
+ "extensions": {
3140
+ "$ref": "#/$defs/Extensions"
3141
+ }
3142
+ },
3143
+ "required": [
3144
+ "type",
3145
+ "properties"
3146
+ ],
3147
+ "additionalProperties": false
3148
+ },
3149
+ "InputStep": {
3150
+ "description": "Payload of an input step (spec 5.8): ask a person and wait for the answer.",
3151
+ "type": "object",
3152
+ "properties": {
3153
+ "message": {
3154
+ "$ref": "#/$defs/Expression"
3155
+ },
3156
+ "answerSchema": {
3157
+ "$ref": "#/$defs/AnswerSchema"
3158
+ },
3159
+ "answerers": {
3160
+ "type": "array",
3161
+ "minItems": 1,
3162
+ "items": {
3163
+ "$ref": "#/$defs/Approver"
3164
+ }
3165
+ },
3166
+ "timeout": {
3167
+ "$ref": "#/$defs/Duration"
3168
+ },
3169
+ "onTimeout": {
3170
+ "enum": [
3171
+ "fail",
3172
+ "useDefault"
3173
+ ]
3174
+ },
3175
+ "default": {},
3176
+ "classification": {
3177
+ "$ref": "#/$defs/Classification"
3178
+ },
3179
+ "extensions": {
3180
+ "$ref": "#/$defs/Extensions"
3181
+ }
3182
+ },
3183
+ "required": [
3184
+ "message",
3185
+ "answerers"
3186
+ ],
3187
+ "additionalProperties": false,
3188
+ "if": {
3189
+ "properties": {
3190
+ "onTimeout": {
3191
+ "const": "useDefault"
3192
+ }
3193
+ },
3194
+ "required": [
3195
+ "onTimeout"
3196
+ ]
3197
+ },
3198
+ "then": {
3199
+ "required": [
3200
+ "default"
3201
+ ]
3202
+ }
3203
+ },
3204
+ "HumanInput": {
3205
+ "description": "Lets an agent ask a person during its step (spec 5.8).",
3206
+ "type": "object",
3207
+ "properties": {
3208
+ "answerers": {
3209
+ "type": "array",
3210
+ "minItems": 1,
3211
+ "items": {
3212
+ "$ref": "#/$defs/Approver"
3213
+ }
3214
+ },
3215
+ "timeout": {
3216
+ "$ref": "#/$defs/Duration"
3217
+ },
3218
+ "onTimeout": {
3219
+ "enum": [
3220
+ "return",
3221
+ "fail"
3222
+ ]
3223
+ },
3224
+ "maxRequests": {
3225
+ "type": "integer",
3226
+ "minimum": 1
3227
+ },
3228
+ "classification": {
3229
+ "$ref": "#/$defs/Classification"
3230
+ },
3231
+ "extensions": {
3232
+ "$ref": "#/$defs/Extensions"
3233
+ }
3234
+ },
3235
+ "required": [
3236
+ "answerers"
3237
+ ],
3238
+ "additionalProperties": false
3239
+ },
3240
+ "Timestamp": {
3241
+ "description": "RFC 3339 timestamp (spec 3.7).",
3242
+ "type": "string",
3243
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$"
3244
+ },
3245
+ "StatusCondition": {
3246
+ "description": "A status condition in the shape of Kubernetes metav1.Condition (spec 3.11).",
3247
+ "type": "object",
3248
+ "properties": {
3249
+ "type": {
3250
+ "type": "string",
3251
+ "maxLength": 316,
3252
+ "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
3253
+ },
3254
+ "status": {
3255
+ "enum": [
3256
+ "True",
3257
+ "False",
3258
+ "Unknown"
3259
+ ]
3260
+ },
3261
+ "observedGeneration": {
3262
+ "type": "integer",
3263
+ "minimum": 0
3264
+ },
3265
+ "lastTransitionTime": {
3266
+ "description": "When status last changed (RFC 3339).",
3267
+ "$ref": "#/$defs/Timestamp"
3268
+ },
3269
+ "reason": {
3270
+ "type": "string",
3271
+ "minLength": 1,
3272
+ "maxLength": 1024,
3273
+ "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"
3274
+ },
3275
+ "message": {
3276
+ "type": "string",
3277
+ "maxLength": 32768
3278
+ }
3279
+ },
3280
+ "required": [
3281
+ "type",
3282
+ "status",
3283
+ "lastTransitionTime",
3284
+ "reason",
3285
+ "message"
3286
+ ]
3287
+ },
3288
+ "ManifestStatus": {
3289
+ "description": "Status a runtime writes on a Workflow, Agent or Policy (spec 3.11). Validators ignore it (spec 3.2).",
3290
+ "type": "object",
3291
+ "properties": {
3292
+ "observedGeneration": {
3293
+ "type": "integer",
3294
+ "minimum": 0
3295
+ },
3296
+ "digest": {
3297
+ "description": "Digest of the manifest as the runtime validated it (spec 9.1).",
3298
+ "$ref": "#/$defs/Digest"
3299
+ },
3300
+ "conditions": {
3301
+ "type": "array",
3302
+ "items": {
3303
+ "$ref": "#/$defs/StatusCondition"
3304
+ }
3305
+ }
3306
+ }
3307
+ },
3308
+ "WorkflowRunStatus": {
3309
+ "description": "Status a runtime writes on a WorkflowRun (spec 10.8). Validators ignore it (spec 3.2).",
3310
+ "type": "object",
3311
+ "properties": {
3312
+ "observedGeneration": {
3313
+ "type": "integer",
3314
+ "minimum": 0
3315
+ },
3316
+ "executionId": {
3317
+ "type": "string"
3318
+ },
3319
+ "phase": {
3320
+ "enum": [
3321
+ "pending",
3322
+ "running",
3323
+ "succeeded",
3324
+ "failed",
3325
+ "cancelled",
3326
+ "rejected"
3327
+ ]
3328
+ },
3329
+ "reason": {
3330
+ "type": "string"
3331
+ },
3332
+ "message": {
3333
+ "type": "string"
3334
+ },
3335
+ "actor": {
3336
+ "type": "object",
3337
+ "properties": {
3338
+ "type": {
3339
+ "enum": [
3340
+ "human",
3341
+ "system",
3342
+ "runtime",
3343
+ "agent"
3344
+ ]
3345
+ },
3346
+ "id": {
3347
+ "type": "string"
3348
+ }
3349
+ }
3350
+ },
3351
+ "trigger": {
3352
+ "type": "object",
3353
+ "properties": {
3354
+ "type": {
3355
+ "enum": [
3356
+ "manual",
3357
+ "schedule",
3358
+ "event"
3359
+ ]
3360
+ },
3361
+ "index": {
3362
+ "type": "integer",
3363
+ "minimum": 0
3364
+ },
3365
+ "scheduledAt": {
3366
+ "description": "Tick time for schedule triggers.",
3367
+ "$ref": "#/$defs/Timestamp"
3368
+ }
3369
+ }
3370
+ },
3371
+ "environment": {
3372
+ "type": "string"
3373
+ },
3374
+ "workflow": {
3375
+ "description": "The manifest the execution is pinned to (spec 10.1).",
3376
+ "type": "object",
3377
+ "properties": {
3378
+ "name": {
3379
+ "$ref": "#/$defs/ObjectName"
3380
+ },
3381
+ "version": {
3382
+ "$ref": "#/$defs/SemVer"
3383
+ },
3384
+ "digest": {
3385
+ "$ref": "#/$defs/Digest"
3386
+ }
3387
+ }
3388
+ },
3389
+ "startedAt": {
3390
+ "description": "Start of the execution.",
3391
+ "$ref": "#/$defs/Timestamp"
3392
+ },
3393
+ "finishedAt": {
3394
+ "description": "End of the execution.",
3395
+ "$ref": "#/$defs/Timestamp"
3396
+ },
3397
+ "steps": {
3398
+ "type": "array",
3399
+ "items": {
3400
+ "type": "object",
3401
+ "properties": {
3402
+ "id": {
3403
+ "$ref": "#/$defs/Identifier"
3404
+ },
3405
+ "status": {
3406
+ "enum": [
3407
+ "pending",
3408
+ "running",
3409
+ "waitingForApproval",
3410
+ "waitingForInput",
3411
+ "succeeded",
3412
+ "failed",
3413
+ "skipped",
3414
+ "cancelled"
3415
+ ]
3416
+ },
3417
+ "attempts": {
3418
+ "type": "integer",
3419
+ "minimum": 0
3420
+ },
3421
+ "startedAt": {
3422
+ "description": "Start of the first attempt.",
3423
+ "$ref": "#/$defs/Timestamp"
3424
+ },
3425
+ "finishedAt": {
3426
+ "description": "End of the last attempt.",
3427
+ "$ref": "#/$defs/Timestamp"
3428
+ },
3429
+ "reason": {
3430
+ "type": "string"
3431
+ },
3432
+ "message": {
3433
+ "type": "string"
3434
+ },
3435
+ "outputs": {
3436
+ "description": "Produced outputs. Values are not stored in status, only references.",
3437
+ "type": "array",
3438
+ "items": {
3439
+ "type": "object",
3440
+ "properties": {
3441
+ "name": {
3442
+ "type": "string"
3443
+ },
3444
+ "digest": {
3445
+ "$ref": "#/$defs/Digest"
3446
+ },
3447
+ "size": {
3448
+ "type": "integer",
3449
+ "minimum": 0
3450
+ },
3451
+ "classification": {
3452
+ "$ref": "#/$defs/Classification"
3453
+ }
3454
+ },
3455
+ "required": [
3456
+ "name"
3457
+ ]
3458
+ }
3459
+ }
3460
+ },
3461
+ "required": [
3462
+ "id",
3463
+ "status"
3464
+ ]
3465
+ }
3466
+ },
3467
+ "usage": {
3468
+ "description": "Usage as in workflow.completed (spec 5.7, 10.4).",
3469
+ "type": "object"
3470
+ },
3471
+ "conditions": {
3472
+ "type": "array",
3473
+ "items": {
3474
+ "$ref": "#/$defs/StatusCondition"
3475
+ }
3476
+ }
3477
+ }
3478
+ },
3479
+ "RunMetadata": {
3480
+ "description": "Metadata of a WorkflowRun (spec 10.8): as Metadata, but a client MAY set generateName instead of name.",
3481
+ "type": "object",
3482
+ "properties": {
3483
+ "name": {
3484
+ "$ref": "#/$defs/ObjectName"
3485
+ },
3486
+ "namespace": {
3487
+ "$ref": "#/$defs/ObjectName"
3488
+ },
3489
+ "labels": {
3490
+ "type": "object",
3491
+ "propertyNames": {
3492
+ "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?[A-Za-z0-9]([-A-Za-z0-9_.]{0,61}[A-Za-z0-9])?$",
3493
+ "maxLength": 316
3494
+ },
3495
+ "additionalProperties": {
3496
+ "type": "string",
3497
+ "pattern": "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$",
3498
+ "maxLength": 63
3499
+ }
3500
+ },
3501
+ "annotations": {
3502
+ "type": "object",
3503
+ "propertyNames": {
3504
+ "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?[A-Za-z0-9]([-A-Za-z0-9_.]{0,61}[A-Za-z0-9])?$",
3505
+ "maxLength": 316
3506
+ },
3507
+ "additionalProperties": {
3508
+ "type": "string"
3509
+ }
3510
+ },
3511
+ "uid": {
3512
+ "type": "string"
3513
+ },
3514
+ "resourceVersion": {
3515
+ "type": "string"
3516
+ },
3517
+ "generation": {
3518
+ "type": "integer"
3519
+ },
3520
+ "creationTimestamp": {
3521
+ "type": "string"
3522
+ },
3523
+ "deletionTimestamp": {
3524
+ "type": "string"
3525
+ },
3526
+ "deletionGracePeriodSeconds": {
3527
+ "type": "integer"
3528
+ },
3529
+ "finalizers": {
3530
+ "type": "array",
3531
+ "items": {
3532
+ "type": "string"
3533
+ }
3534
+ },
3535
+ "ownerReferences": {
3536
+ "type": "array",
3537
+ "items": {
3538
+ "type": "object"
3539
+ }
3540
+ },
3541
+ "managedFields": {
3542
+ "type": "array",
3543
+ "items": {
3544
+ "type": "object"
3545
+ }
3546
+ },
3547
+ "generateName": {
3548
+ "type": "string",
3549
+ "maxLength": 58,
3550
+ "pattern": "^[a-z0-9]([-a-z0-9]*)?$"
3551
+ }
3552
+ },
3553
+ "anyOf": [
3554
+ {
3555
+ "required": [
3556
+ "name"
3557
+ ]
3558
+ },
3559
+ {
3560
+ "required": [
3561
+ "generateName"
3562
+ ]
3563
+ }
3564
+ ],
3565
+ "additionalProperties": false
3566
+ },
3567
+ "WorkflowRunSpec": {
3568
+ "description": "Request for one execution of a workflow (spec 10.8).",
3569
+ "type": "object",
3570
+ "properties": {
3571
+ "workflowRef": {
3572
+ "description": "The workflow to run, in the namespace of the WorkflowRun. version and digest are assertions, not selectors.",
3573
+ "type": "object",
3574
+ "properties": {
3575
+ "name": {
3576
+ "$ref": "#/$defs/ObjectName"
3577
+ },
3578
+ "version": {
3579
+ "$ref": "#/$defs/SemVer"
3580
+ },
3581
+ "digest": {
3582
+ "$ref": "#/$defs/Digest"
3583
+ },
3584
+ "extensions": {
3585
+ "$ref": "#/$defs/Extensions"
3586
+ }
3587
+ },
3588
+ "required": [
3589
+ "name"
3590
+ ],
3591
+ "additionalProperties": false
3592
+ },
3593
+ "inputs": {
3594
+ "description": "Input values (spec 5.3).",
3595
+ "type": "object"
3596
+ },
3597
+ "environment": {
3598
+ "description": "Environment name (spec 7.10).",
3599
+ "type": "string",
3600
+ "minLength": 1
3601
+ },
3602
+ "cancel": {
3603
+ "description": "Request to cancel the execution (spec 10.8).",
3604
+ "type": "boolean"
3605
+ },
3606
+ "extensions": {
3607
+ "$ref": "#/$defs/Extensions"
3608
+ }
3609
+ },
3610
+ "required": [
3611
+ "workflowRef"
3612
+ ],
3613
+ "additionalProperties": false
3614
+ },
3615
+ "WorkflowRun": {
3616
+ "description": "An execution of a workflow as an object (spec 10.8).",
3617
+ "type": "object",
3618
+ "properties": {
3619
+ "apiVersion": {
3620
+ "const": "awp.agenticworkflowprotocol.org/v1alpha3"
3621
+ },
3622
+ "kind": {
3623
+ "const": "WorkflowRun"
3624
+ },
3625
+ "metadata": {
3626
+ "$ref": "#/$defs/RunMetadata"
3627
+ },
3628
+ "spec": {
3629
+ "$ref": "#/$defs/WorkflowRunSpec"
3630
+ },
3631
+ "status": {
3632
+ "description": "Written by the runtime (shape: WorkflowRunStatus). Ignored by validators (spec 3.2).",
3633
+ "type": "object"
3634
+ }
3635
+ },
3636
+ "required": [
3637
+ "apiVersion",
3638
+ "kind",
3639
+ "metadata",
3640
+ "spec"
3641
+ ],
3642
+ "additionalProperties": false
3643
+ },
3644
+ "ForEach": {
3645
+ "description": "Iteration over a list (spec 5.6.5): the step runs once per item, bounded by maxItems and concurrency.",
3646
+ "type": "object",
3647
+ "properties": {
3648
+ "items": {
3649
+ "description": "Exactly one reference to an array input or to an output of a step this step depends on.",
3650
+ "type": "string",
3651
+ "pattern": "^\\$\\{\\{ *(?:inputs\\.[a-zA-Z][a-zA-Z0-9_-]{0,62}|steps\\.[a-z][a-z0-9-]{0,62}\\.outputs\\.[^\\s.{}$]+) *\\}\\}$"
3652
+ },
3653
+ "maxItems": {
3654
+ "type": "integer",
3655
+ "minimum": 1
3656
+ },
3657
+ "concurrency": {
3658
+ "type": "integer",
3659
+ "minimum": 1
3660
+ }
3661
+ },
3662
+ "required": [
3663
+ "items",
3664
+ "maxItems"
3665
+ ],
3666
+ "additionalProperties": false
3667
+ }
3668
+ }
3669
+ }