@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,2817 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://agenticworkflowprotocol.org/schema/awp.v1alpha2.json",
4
+ "title": "Agentic Workflow Protocol manifest (v1alpha2)",
5
+ "description": "Structural rules of AWP v1alpha2 (spec/v1alpha2/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.",
6
+ "type": "object",
7
+ "required": [
8
+ "kind"
9
+ ],
10
+ "properties": {
11
+ "kind": {
12
+ "enum": [
13
+ "Workflow",
14
+ "Agent",
15
+ "Policy"
16
+ ]
17
+ }
18
+ },
19
+ "allOf": [
20
+ {
21
+ "if": {
22
+ "properties": {
23
+ "kind": {
24
+ "const": "Workflow"
25
+ }
26
+ },
27
+ "required": [
28
+ "kind"
29
+ ]
30
+ },
31
+ "then": {
32
+ "$ref": "#/$defs/Workflow"
33
+ }
34
+ },
35
+ {
36
+ "if": {
37
+ "properties": {
38
+ "kind": {
39
+ "const": "Agent"
40
+ }
41
+ },
42
+ "required": [
43
+ "kind"
44
+ ]
45
+ },
46
+ "then": {
47
+ "$ref": "#/$defs/Agent"
48
+ }
49
+ },
50
+ {
51
+ "if": {
52
+ "properties": {
53
+ "kind": {
54
+ "const": "Policy"
55
+ }
56
+ },
57
+ "required": [
58
+ "kind"
59
+ ]
60
+ },
61
+ "then": {
62
+ "$ref": "#/$defs/Policy"
63
+ }
64
+ }
65
+ ],
66
+ "$defs": {
67
+ "Name": {
68
+ "description": "Name (spec 3.4).",
69
+ "type": "string",
70
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,62}$"
71
+ },
72
+ "Identifier": {
73
+ "description": "Identifier (spec 3.4).",
74
+ "type": "string",
75
+ "pattern": "^[a-z][a-z0-9-]{0,62}$"
76
+ },
77
+ "ActionIdentifier": {
78
+ "description": "Action identifier (spec 5.5.3).",
79
+ "type": "string",
80
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*(\\.[a-zA-Z0-9_-]+)+$"
81
+ },
82
+ "ActionKey": {
83
+ "description": "Action identifier, group identifier or wildcard pattern with a final segment * (spec 5.5.3, 5.5.4).",
84
+ "type": "string",
85
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*(\\.[a-zA-Z0-9_-]+)*(\\.[a-zA-Z0-9_-]+|\\.\\*)$"
86
+ },
87
+ "SemVer": {
88
+ "description": "Semantic Version 2.0.0 (spec 3.5).",
89
+ "type": "string",
90
+ "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-]+)*))?$"
91
+ },
92
+ "Duration": {
93
+ "description": "Duration greater than zero (spec 3.6).",
94
+ "type": "string",
95
+ "pattern": "^(?!(?:0+(?:ms|s|m|h|d|w|y))+$)(?:[0-9]+(?:ms|s|m|h|d|w|y))+$"
96
+ },
97
+ "Date": {
98
+ "description": "RFC 3339 full-date (spec 3.7). Calendar validity is a semantic rule.",
99
+ "type": "string",
100
+ "pattern": "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$"
101
+ },
102
+ "Digest": {
103
+ "description": "Digest <algorithm>:<lowercase hex> (spec 3.8). sha256/sha384/sha512 have fixed lengths; other algorithms are accepted syntactically.",
104
+ "type": "string",
105
+ "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]+)$"
106
+ },
107
+ "HttpsUrl": {
108
+ "description": "HTTPS URL.",
109
+ "type": "string",
110
+ "pattern": "^https://[^\\s/?#]+([/?#]\\S*)?$"
111
+ },
112
+ "Classification": {
113
+ "description": "Data class (spec 7.2).",
114
+ "enum": [
115
+ "public",
116
+ "internal",
117
+ "confidential",
118
+ "personal",
119
+ "restricted",
120
+ "sensitive",
121
+ "secret"
122
+ ]
123
+ },
124
+ "RiskLevel": {
125
+ "enum": [
126
+ "low",
127
+ "medium",
128
+ "high",
129
+ "critical"
130
+ ]
131
+ },
132
+ "Expression": {
133
+ "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 ${{ }}.",
134
+ "type": "string",
135
+ "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})*) *\\}\\})*$"
136
+ },
137
+ "Approver": {
138
+ "description": "Exactly one of role or user (spec 7.6).",
139
+ "type": "object",
140
+ "additionalProperties": false,
141
+ "patternProperties": {
142
+ "^x-": {}
143
+ },
144
+ "properties": {
145
+ "role": {
146
+ "type": "string",
147
+ "minLength": 1
148
+ },
149
+ "user": {
150
+ "type": "string",
151
+ "minLength": 1
152
+ }
153
+ },
154
+ "oneOf": [
155
+ {
156
+ "required": [
157
+ "role"
158
+ ],
159
+ "not": {
160
+ "required": [
161
+ "user"
162
+ ]
163
+ }
164
+ },
165
+ {
166
+ "required": [
167
+ "user"
168
+ ],
169
+ "not": {
170
+ "required": [
171
+ "role"
172
+ ]
173
+ }
174
+ }
175
+ ]
176
+ },
177
+ "SeparationOfDuties": {
178
+ "type": "object",
179
+ "properties": {
180
+ "enabled": {
181
+ "type": "boolean"
182
+ },
183
+ "rules": {
184
+ "type": "array",
185
+ "items": {
186
+ "type": "object",
187
+ "properties": {
188
+ "actorCannotApproveOwnAction": {
189
+ "type": "boolean"
190
+ },
191
+ "initiatorCannotApprove": {
192
+ "type": "boolean"
193
+ },
194
+ "distinctApprovers": {
195
+ "type": "boolean"
196
+ }
197
+ },
198
+ "additionalProperties": false,
199
+ "patternProperties": {
200
+ "^x-": {}
201
+ }
202
+ }
203
+ }
204
+ },
205
+ "additionalProperties": false,
206
+ "patternProperties": {
207
+ "^x-": {}
208
+ }
209
+ },
210
+ "Approval": {
211
+ "description": "Workflow-level approval configuration (spec 7.6).",
212
+ "type": "object",
213
+ "properties": {
214
+ "requiredFor": {
215
+ "type": "array",
216
+ "items": {
217
+ "$ref": "#/$defs/ActionKey"
218
+ }
219
+ },
220
+ "approvers": {
221
+ "type": "array",
222
+ "items": {
223
+ "$ref": "#/$defs/Approver"
224
+ }
225
+ },
226
+ "minApprovals": {
227
+ "type": "integer",
228
+ "minimum": 1
229
+ },
230
+ "timeout": {
231
+ "$ref": "#/$defs/Duration"
232
+ },
233
+ "onTimeout": {
234
+ "enum": [
235
+ "reject",
236
+ "fail"
237
+ ]
238
+ },
239
+ "message": {
240
+ "$ref": "#/$defs/Expression"
241
+ },
242
+ "separationOfDuties": {
243
+ "$ref": "#/$defs/SeparationOfDuties"
244
+ }
245
+ },
246
+ "additionalProperties": false,
247
+ "patternProperties": {
248
+ "^x-": {}
249
+ }
250
+ },
251
+ "ApprovalStep": {
252
+ "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.",
253
+ "type": "object",
254
+ "properties": {
255
+ "approvers": {
256
+ "$ref": "#/$defs/Approval/properties/approvers"
257
+ },
258
+ "minApprovals": {
259
+ "$ref": "#/$defs/Approval/properties/minApprovals"
260
+ },
261
+ "timeout": {
262
+ "$ref": "#/$defs/Duration"
263
+ },
264
+ "onTimeout": {
265
+ "$ref": "#/$defs/Approval/properties/onTimeout"
266
+ },
267
+ "message": {
268
+ "$ref": "#/$defs/Expression"
269
+ }
270
+ },
271
+ "additionalProperties": false,
272
+ "patternProperties": {
273
+ "^x-": {}
274
+ }
275
+ },
276
+ "Budget": {
277
+ "description": "Budget (spec 5.7). All limits are positive.",
278
+ "type": "object",
279
+ "properties": {
280
+ "maxCostUsd": {
281
+ "type": "number",
282
+ "exclusiveMinimum": 0
283
+ },
284
+ "maxSteps": {
285
+ "type": "integer",
286
+ "minimum": 1
287
+ },
288
+ "maxDuration": {
289
+ "$ref": "#/$defs/Duration"
290
+ },
291
+ "resources": {
292
+ "type": "object",
293
+ "properties": {
294
+ "maxTokens": {
295
+ "type": "integer",
296
+ "minimum": 1
297
+ },
298
+ "maxToolCalls": {
299
+ "type": "integer",
300
+ "minimum": 1
301
+ },
302
+ "maxRetries": {
303
+ "type": "integer",
304
+ "minimum": 1
305
+ },
306
+ "maxConcurrency": {
307
+ "type": "integer",
308
+ "minimum": 1
309
+ }
310
+ },
311
+ "additionalProperties": false,
312
+ "patternProperties": {
313
+ "^x-": {}
314
+ }
315
+ }
316
+ },
317
+ "additionalProperties": false,
318
+ "patternProperties": {
319
+ "^x-": {}
320
+ }
321
+ },
322
+ "Permissions": {
323
+ "description": "Permissions (spec 7.5).",
324
+ "type": "object",
325
+ "properties": {
326
+ "default": {
327
+ "enum": [
328
+ "allow",
329
+ "deny"
330
+ ]
331
+ },
332
+ "tools": {
333
+ "type": "object",
334
+ "propertyNames": {
335
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*(\\.[a-zA-Z0-9_-]+)*(\\.[a-zA-Z0-9_-]+|\\.\\*)$"
336
+ },
337
+ "additionalProperties": {
338
+ "type": "object",
339
+ "properties": {
340
+ "allow": {
341
+ "type": "boolean"
342
+ },
343
+ "resources": {
344
+ "type": "array",
345
+ "items": {
346
+ "$ref": "#/$defs/Expression"
347
+ }
348
+ }
349
+ },
350
+ "required": [
351
+ "allow"
352
+ ],
353
+ "additionalProperties": false,
354
+ "patternProperties": {
355
+ "^x-": {}
356
+ }
357
+ }
358
+ },
359
+ "network": {
360
+ "type": "object",
361
+ "properties": {
362
+ "egress": {
363
+ "enum": [
364
+ "allow",
365
+ "deny"
366
+ ]
367
+ },
368
+ "allowHosts": {
369
+ "type": "array",
370
+ "items": {
371
+ "type": "string",
372
+ "minLength": 1
373
+ }
374
+ }
375
+ },
376
+ "additionalProperties": false,
377
+ "patternProperties": {
378
+ "^x-": {}
379
+ }
380
+ },
381
+ "filesystem": {
382
+ "type": "object",
383
+ "properties": {
384
+ "read": {
385
+ "type": "array",
386
+ "items": {
387
+ "type": "string",
388
+ "minLength": 1
389
+ }
390
+ },
391
+ "write": {
392
+ "type": "array",
393
+ "items": {
394
+ "type": "string",
395
+ "minLength": 1
396
+ }
397
+ }
398
+ },
399
+ "additionalProperties": false,
400
+ "patternProperties": {
401
+ "^x-": {}
402
+ }
403
+ },
404
+ "secrets": {
405
+ "type": "array",
406
+ "items": {
407
+ "$ref": "#/$defs/Name"
408
+ }
409
+ },
410
+ "environments": {
411
+ "type": "array",
412
+ "items": {
413
+ "type": "string",
414
+ "minLength": 1
415
+ }
416
+ }
417
+ },
418
+ "additionalProperties": false,
419
+ "patternProperties": {
420
+ "^x-": {}
421
+ }
422
+ },
423
+ "Model": {
424
+ "description": "Model object (spec 5.4.3).",
425
+ "type": "object",
426
+ "properties": {
427
+ "provider": {
428
+ "type": "string",
429
+ "minLength": 1
430
+ },
431
+ "name": {
432
+ "type": "string",
433
+ "minLength": 1
434
+ },
435
+ "version": {
436
+ "type": "string",
437
+ "minLength": 1
438
+ },
439
+ "region": {
440
+ "type": "string",
441
+ "minLength": 1
442
+ },
443
+ "approval": {
444
+ "type": "object",
445
+ "properties": {
446
+ "status": {
447
+ "enum": [
448
+ "approved",
449
+ "pending",
450
+ "rejected",
451
+ "revoked"
452
+ ]
453
+ },
454
+ "expires": {
455
+ "$ref": "#/$defs/Date"
456
+ },
457
+ "approvedBy": {
458
+ "type": "string",
459
+ "minLength": 1
460
+ }
461
+ },
462
+ "additionalProperties": false,
463
+ "patternProperties": {
464
+ "^x-": {}
465
+ }
466
+ },
467
+ "riskClassification": {
468
+ "$ref": "#/$defs/RiskLevel"
469
+ },
470
+ "evaluation": {
471
+ "type": "object",
472
+ "properties": {
473
+ "status": {
474
+ "enum": [
475
+ "passed",
476
+ "failed",
477
+ "pending",
478
+ "notEvaluated"
479
+ ]
480
+ },
481
+ "ref": {
482
+ "type": "string",
483
+ "minLength": 1
484
+ }
485
+ },
486
+ "additionalProperties": false,
487
+ "patternProperties": {
488
+ "^x-": {}
489
+ }
490
+ },
491
+ "allowedUseCases": {
492
+ "type": "array",
493
+ "items": {
494
+ "type": "string",
495
+ "minLength": 1
496
+ }
497
+ }
498
+ },
499
+ "required": [
500
+ "provider",
501
+ "name"
502
+ ],
503
+ "additionalProperties": false,
504
+ "patternProperties": {
505
+ "^x-": {}
506
+ }
507
+ },
508
+ "PromptRef": {
509
+ "type": "object",
510
+ "properties": {
511
+ "name": {
512
+ "type": "string",
513
+ "minLength": 1
514
+ },
515
+ "version": {
516
+ "type": "string",
517
+ "minLength": 1
518
+ },
519
+ "digest": {
520
+ "$ref": "#/$defs/Digest"
521
+ }
522
+ },
523
+ "required": [
524
+ "name",
525
+ "version"
526
+ ],
527
+ "additionalProperties": false,
528
+ "patternProperties": {
529
+ "^x-": {}
530
+ }
531
+ },
532
+ "ToolSource": {
533
+ "description": "Tool source (spec 5.5.2).",
534
+ "type": "object",
535
+ "properties": {
536
+ "type": {
537
+ "enum": [
538
+ "mcp",
539
+ "builtin"
540
+ ]
541
+ },
542
+ "server": {
543
+ "$ref": "#/$defs/Name"
544
+ },
545
+ "name": {
546
+ "type": "string",
547
+ "minLength": 1
548
+ },
549
+ "tools": {
550
+ "type": "array",
551
+ "items": {
552
+ "type": "string",
553
+ "minLength": 1
554
+ }
555
+ }
556
+ },
557
+ "required": [
558
+ "type"
559
+ ],
560
+ "additionalProperties": false,
561
+ "patternProperties": {
562
+ "^x-": {}
563
+ },
564
+ "allOf": [
565
+ {
566
+ "if": {
567
+ "properties": {
568
+ "type": {
569
+ "const": "mcp"
570
+ }
571
+ },
572
+ "required": [
573
+ "type"
574
+ ]
575
+ },
576
+ "then": {
577
+ "required": [
578
+ "server"
579
+ ]
580
+ }
581
+ },
582
+ {
583
+ "if": {
584
+ "properties": {
585
+ "type": {
586
+ "const": "builtin"
587
+ }
588
+ },
589
+ "required": [
590
+ "type"
591
+ ]
592
+ },
593
+ "then": {
594
+ "required": [
595
+ "name"
596
+ ]
597
+ }
598
+ }
599
+ ]
600
+ },
601
+ "McpServer": {
602
+ "description": "MCP server (spec 5.5.1).",
603
+ "type": "object",
604
+ "properties": {
605
+ "name": {
606
+ "$ref": "#/$defs/Name"
607
+ },
608
+ "transport": {
609
+ "enum": [
610
+ "stdio",
611
+ "streamable-http"
612
+ ]
613
+ },
614
+ "url": {
615
+ "$ref": "#/$defs/HttpsUrl"
616
+ },
617
+ "image": {
618
+ "type": "string",
619
+ "minLength": 1
620
+ },
621
+ "version": {
622
+ "type": "string",
623
+ "minLength": 1
624
+ },
625
+ "auth": {
626
+ "type": "object",
627
+ "properties": {
628
+ "secretRef": {
629
+ "$ref": "#/$defs/Name"
630
+ }
631
+ },
632
+ "required": [
633
+ "secretRef"
634
+ ],
635
+ "additionalProperties": false,
636
+ "patternProperties": {
637
+ "^x-": {}
638
+ }
639
+ }
640
+ },
641
+ "required": [
642
+ "name",
643
+ "transport"
644
+ ],
645
+ "additionalProperties": false,
646
+ "patternProperties": {
647
+ "^x-": {}
648
+ },
649
+ "if": {
650
+ "properties": {
651
+ "transport": {
652
+ "const": "streamable-http"
653
+ }
654
+ },
655
+ "required": [
656
+ "transport"
657
+ ]
658
+ },
659
+ "then": {
660
+ "required": [
661
+ "url"
662
+ ]
663
+ }
664
+ },
665
+ "Secret": {
666
+ "description": "Secret declaration (spec 7.9). Secret values never appear in manifests.",
667
+ "type": "object",
668
+ "properties": {
669
+ "name": {
670
+ "$ref": "#/$defs/Name"
671
+ },
672
+ "source": {
673
+ "type": "string",
674
+ "minLength": 1
675
+ },
676
+ "key": {
677
+ "type": "string",
678
+ "minLength": 1
679
+ },
680
+ "scope": {
681
+ "type": "array",
682
+ "items": {
683
+ "type": "string",
684
+ "minLength": 1
685
+ }
686
+ }
687
+ },
688
+ "required": [
689
+ "name",
690
+ "source"
691
+ ],
692
+ "additionalProperties": false,
693
+ "patternProperties": {
694
+ "^x-": {}
695
+ }
696
+ },
697
+ "ActionGroups": {
698
+ "description": "Action groups (spec 5.5.4). Nesting is a semantic rule.",
699
+ "type": "object",
700
+ "propertyNames": {
701
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*(\\.[a-zA-Z0-9_-]+)+$"
702
+ },
703
+ "additionalProperties": {
704
+ "type": "array",
705
+ "items": {
706
+ "$ref": "#/$defs/ActionIdentifier"
707
+ }
708
+ }
709
+ },
710
+ "InlineAgent": {
711
+ "description": "Inline agent (spec 5.4.1).",
712
+ "type": "object",
713
+ "properties": {
714
+ "id": {
715
+ "$ref": "#/$defs/Identifier"
716
+ },
717
+ "model": {
718
+ "$ref": "#/$defs/Model"
719
+ },
720
+ "instructions": {
721
+ "type": "string"
722
+ },
723
+ "promptRef": {
724
+ "$ref": "#/$defs/PromptRef"
725
+ },
726
+ "tools": {
727
+ "type": "array",
728
+ "items": {
729
+ "$ref": "#/$defs/ToolSource"
730
+ }
731
+ },
732
+ "permissions": {
733
+ "$ref": "#/$defs/Permissions"
734
+ },
735
+ "budget": {
736
+ "$ref": "#/$defs/Budget"
737
+ }
738
+ },
739
+ "required": [
740
+ "id",
741
+ "model"
742
+ ],
743
+ "additionalProperties": false,
744
+ "patternProperties": {
745
+ "^x-": {}
746
+ },
747
+ "not": {
748
+ "required": [
749
+ "instructions",
750
+ "promptRef"
751
+ ]
752
+ }
753
+ },
754
+ "AgentReference": {
755
+ "description": "Agent reference (spec 5.4.2).",
756
+ "type": "object",
757
+ "properties": {
758
+ "id": {
759
+ "$ref": "#/$defs/Identifier"
760
+ },
761
+ "ref": {
762
+ "type": "object",
763
+ "properties": {
764
+ "name": {
765
+ "$ref": "#/$defs/Name"
766
+ },
767
+ "version": {
768
+ "$ref": "#/$defs/SemVer"
769
+ },
770
+ "digest": {
771
+ "$ref": "#/$defs/Digest"
772
+ }
773
+ },
774
+ "required": [
775
+ "name",
776
+ "version"
777
+ ],
778
+ "additionalProperties": false,
779
+ "patternProperties": {
780
+ "^x-": {}
781
+ }
782
+ },
783
+ "permissions": {
784
+ "$ref": "#/$defs/Permissions"
785
+ },
786
+ "budget": {
787
+ "$ref": "#/$defs/Budget"
788
+ }
789
+ },
790
+ "required": [
791
+ "id",
792
+ "ref"
793
+ ],
794
+ "additionalProperties": false,
795
+ "patternProperties": {
796
+ "^x-": {}
797
+ }
798
+ },
799
+ "RemoteAgent": {
800
+ "description": "Remote agent over A2A (spec 5.4.4).",
801
+ "type": "object",
802
+ "properties": {
803
+ "id": {
804
+ "$ref": "#/$defs/Identifier"
805
+ },
806
+ "protocol": {
807
+ "const": "a2a"
808
+ },
809
+ "endpoint": {
810
+ "$ref": "#/$defs/HttpsUrl"
811
+ },
812
+ "agentCard": {
813
+ "type": "object",
814
+ "properties": {
815
+ "url": {
816
+ "$ref": "#/$defs/HttpsUrl"
817
+ },
818
+ "digest": {
819
+ "$ref": "#/$defs/Digest"
820
+ }
821
+ },
822
+ "required": [
823
+ "url"
824
+ ],
825
+ "additionalProperties": false,
826
+ "patternProperties": {
827
+ "^x-": {}
828
+ }
829
+ },
830
+ "auth": {
831
+ "type": "object",
832
+ "properties": {
833
+ "secretRef": {
834
+ "$ref": "#/$defs/Name"
835
+ }
836
+ },
837
+ "required": [
838
+ "secretRef"
839
+ ],
840
+ "additionalProperties": false,
841
+ "patternProperties": {
842
+ "^x-": {}
843
+ }
844
+ }
845
+ },
846
+ "required": [
847
+ "id",
848
+ "protocol",
849
+ "endpoint"
850
+ ],
851
+ "additionalProperties": false,
852
+ "patternProperties": {
853
+ "^x-": {}
854
+ }
855
+ },
856
+ "AgentEntry": {
857
+ "description": "One entry of spec.agents: agent reference if it has ref, remote agent if it has protocol, otherwise inline agent (spec 5.4).",
858
+ "type": "object",
859
+ "required": [
860
+ "id"
861
+ ],
862
+ "if": {
863
+ "required": [
864
+ "ref"
865
+ ]
866
+ },
867
+ "then": {
868
+ "$ref": "#/$defs/AgentReference"
869
+ },
870
+ "else": {
871
+ "if": {
872
+ "required": [
873
+ "protocol"
874
+ ]
875
+ },
876
+ "then": {
877
+ "$ref": "#/$defs/RemoteAgent"
878
+ },
879
+ "else": {
880
+ "$ref": "#/$defs/InlineAgent"
881
+ }
882
+ }
883
+ },
884
+ "Trigger": {
885
+ "description": "Trigger (spec 5.2).",
886
+ "type": "object",
887
+ "properties": {
888
+ "type": {
889
+ "enum": [
890
+ "manual",
891
+ "schedule",
892
+ "event"
893
+ ]
894
+ },
895
+ "cron": {
896
+ "type": "string",
897
+ "pattern": "^\\S+(\\s+\\S+){4}$"
898
+ },
899
+ "timezone": {
900
+ "type": "string",
901
+ "minLength": 1
902
+ },
903
+ "source": {
904
+ "type": "string",
905
+ "minLength": 1
906
+ },
907
+ "eventType": {
908
+ "type": "string",
909
+ "minLength": 1
910
+ },
911
+ "filter": {
912
+ "type": "object",
913
+ "propertyNames": {
914
+ "pattern": "^.+$"
915
+ },
916
+ "additionalProperties": {
917
+ "type": "string"
918
+ }
919
+ }
920
+ },
921
+ "required": [
922
+ "type"
923
+ ],
924
+ "additionalProperties": false,
925
+ "patternProperties": {
926
+ "^x-": {}
927
+ },
928
+ "allOf": [
929
+ {
930
+ "if": {
931
+ "properties": {
932
+ "type": {
933
+ "const": "manual"
934
+ }
935
+ },
936
+ "required": [
937
+ "type"
938
+ ]
939
+ },
940
+ "then": {
941
+ "not": {
942
+ "anyOf": [
943
+ {
944
+ "required": [
945
+ "cron"
946
+ ]
947
+ },
948
+ {
949
+ "required": [
950
+ "timezone"
951
+ ]
952
+ },
953
+ {
954
+ "required": [
955
+ "source"
956
+ ]
957
+ },
958
+ {
959
+ "required": [
960
+ "eventType"
961
+ ]
962
+ },
963
+ {
964
+ "required": [
965
+ "filter"
966
+ ]
967
+ }
968
+ ]
969
+ }
970
+ }
971
+ },
972
+ {
973
+ "if": {
974
+ "properties": {
975
+ "type": {
976
+ "const": "schedule"
977
+ }
978
+ },
979
+ "required": [
980
+ "type"
981
+ ]
982
+ },
983
+ "then": {
984
+ "required": [
985
+ "cron"
986
+ ],
987
+ "not": {
988
+ "anyOf": [
989
+ {
990
+ "required": [
991
+ "source"
992
+ ]
993
+ },
994
+ {
995
+ "required": [
996
+ "eventType"
997
+ ]
998
+ },
999
+ {
1000
+ "required": [
1001
+ "filter"
1002
+ ]
1003
+ }
1004
+ ]
1005
+ }
1006
+ }
1007
+ },
1008
+ {
1009
+ "if": {
1010
+ "properties": {
1011
+ "type": {
1012
+ "const": "event"
1013
+ }
1014
+ },
1015
+ "required": [
1016
+ "type"
1017
+ ]
1018
+ },
1019
+ "then": {
1020
+ "required": [
1021
+ "source",
1022
+ "eventType"
1023
+ ],
1024
+ "not": {
1025
+ "anyOf": [
1026
+ {
1027
+ "required": [
1028
+ "cron"
1029
+ ]
1030
+ },
1031
+ {
1032
+ "required": [
1033
+ "timezone"
1034
+ ]
1035
+ }
1036
+ ]
1037
+ }
1038
+ }
1039
+ }
1040
+ ]
1041
+ },
1042
+ "Input": {
1043
+ "description": "Workflow input (spec 5.3).",
1044
+ "type": "object",
1045
+ "properties": {
1046
+ "name": {
1047
+ "$ref": "#/$defs/Name"
1048
+ },
1049
+ "type": {
1050
+ "enum": [
1051
+ "string",
1052
+ "integer",
1053
+ "number",
1054
+ "boolean",
1055
+ "object",
1056
+ "array",
1057
+ "artifact"
1058
+ ]
1059
+ },
1060
+ "required": {
1061
+ "type": "boolean"
1062
+ },
1063
+ "default": {},
1064
+ "description": {
1065
+ "type": "string"
1066
+ },
1067
+ "pattern": {
1068
+ "type": "string"
1069
+ },
1070
+ "enum": {
1071
+ "type": "array",
1072
+ "items": {}
1073
+ },
1074
+ "classification": {
1075
+ "$ref": "#/$defs/Classification"
1076
+ }
1077
+ },
1078
+ "required": [
1079
+ "name",
1080
+ "type"
1081
+ ],
1082
+ "additionalProperties": false,
1083
+ "patternProperties": {
1084
+ "^x-": {}
1085
+ },
1086
+ "allOf": [
1087
+ {
1088
+ "if": {
1089
+ "properties": {
1090
+ "type": {
1091
+ "const": "string"
1092
+ }
1093
+ },
1094
+ "required": [
1095
+ "type"
1096
+ ]
1097
+ },
1098
+ "then": {
1099
+ "properties": {
1100
+ "default": {
1101
+ "type": "string"
1102
+ }
1103
+ }
1104
+ }
1105
+ },
1106
+ {
1107
+ "if": {
1108
+ "properties": {
1109
+ "type": {
1110
+ "const": "integer"
1111
+ }
1112
+ },
1113
+ "required": [
1114
+ "type"
1115
+ ]
1116
+ },
1117
+ "then": {
1118
+ "properties": {
1119
+ "default": {
1120
+ "type": "integer"
1121
+ }
1122
+ }
1123
+ }
1124
+ },
1125
+ {
1126
+ "if": {
1127
+ "properties": {
1128
+ "type": {
1129
+ "const": "number"
1130
+ }
1131
+ },
1132
+ "required": [
1133
+ "type"
1134
+ ]
1135
+ },
1136
+ "then": {
1137
+ "properties": {
1138
+ "default": {
1139
+ "type": "number"
1140
+ }
1141
+ }
1142
+ }
1143
+ },
1144
+ {
1145
+ "if": {
1146
+ "properties": {
1147
+ "type": {
1148
+ "const": "boolean"
1149
+ }
1150
+ },
1151
+ "required": [
1152
+ "type"
1153
+ ]
1154
+ },
1155
+ "then": {
1156
+ "properties": {
1157
+ "default": {
1158
+ "type": "boolean"
1159
+ }
1160
+ }
1161
+ }
1162
+ },
1163
+ {
1164
+ "if": {
1165
+ "properties": {
1166
+ "type": {
1167
+ "const": "object"
1168
+ }
1169
+ },
1170
+ "required": [
1171
+ "type"
1172
+ ]
1173
+ },
1174
+ "then": {
1175
+ "properties": {
1176
+ "default": {
1177
+ "type": "object"
1178
+ }
1179
+ }
1180
+ }
1181
+ },
1182
+ {
1183
+ "if": {
1184
+ "properties": {
1185
+ "type": {
1186
+ "const": "array"
1187
+ }
1188
+ },
1189
+ "required": [
1190
+ "type"
1191
+ ]
1192
+ },
1193
+ "then": {
1194
+ "properties": {
1195
+ "default": {
1196
+ "type": "array"
1197
+ }
1198
+ }
1199
+ }
1200
+ },
1201
+ {
1202
+ "if": {
1203
+ "properties": {
1204
+ "required": {
1205
+ "const": true
1206
+ }
1207
+ },
1208
+ "required": [
1209
+ "required"
1210
+ ]
1211
+ },
1212
+ "then": {
1213
+ "not": {
1214
+ "required": [
1215
+ "default"
1216
+ ]
1217
+ }
1218
+ }
1219
+ }
1220
+ ]
1221
+ },
1222
+ "Step": {
1223
+ "description": "Workflow step (spec 5.6).",
1224
+ "type": "object",
1225
+ "properties": {
1226
+ "id": {
1227
+ "$ref": "#/$defs/Identifier"
1228
+ },
1229
+ "type": {
1230
+ "enum": [
1231
+ "agent",
1232
+ "command",
1233
+ "approval"
1234
+ ]
1235
+ },
1236
+ "dependsOn": {
1237
+ "type": "array",
1238
+ "items": {
1239
+ "$ref": "#/$defs/Identifier"
1240
+ }
1241
+ },
1242
+ "timeout": {
1243
+ "$ref": "#/$defs/Duration"
1244
+ },
1245
+ "retries": {
1246
+ "type": "integer",
1247
+ "minimum": 0
1248
+ },
1249
+ "outputs": {
1250
+ "type": "array",
1251
+ "items": {
1252
+ "type": "object",
1253
+ "properties": {
1254
+ "name": {
1255
+ "type": "string",
1256
+ "minLength": 1
1257
+ },
1258
+ "classification": {
1259
+ "$ref": "#/$defs/Classification"
1260
+ },
1261
+ "description": {
1262
+ "type": "string"
1263
+ }
1264
+ },
1265
+ "required": [
1266
+ "name"
1267
+ ],
1268
+ "additionalProperties": false,
1269
+ "patternProperties": {
1270
+ "^x-": {}
1271
+ }
1272
+ }
1273
+ },
1274
+ "budget": {
1275
+ "$ref": "#/$defs/Budget"
1276
+ },
1277
+ "forEach": {
1278
+ "$ref": "#/$defs/ForEach"
1279
+ },
1280
+ "agent": {
1281
+ "$ref": "#/$defs/Identifier"
1282
+ },
1283
+ "task": {
1284
+ "$ref": "#/$defs/Expression"
1285
+ },
1286
+ "command": {
1287
+ "type": "string",
1288
+ "minLength": 1
1289
+ },
1290
+ "image": {
1291
+ "type": "string",
1292
+ "minLength": 1
1293
+ },
1294
+ "env": {
1295
+ "type": "object",
1296
+ "propertyNames": {
1297
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
1298
+ },
1299
+ "additionalProperties": {
1300
+ "$ref": "#/$defs/Expression"
1301
+ }
1302
+ },
1303
+ "workingDir": {
1304
+ "type": "string",
1305
+ "minLength": 1
1306
+ },
1307
+ "approval": {
1308
+ "$ref": "#/$defs/ApprovalStep"
1309
+ }
1310
+ },
1311
+ "required": [
1312
+ "id"
1313
+ ],
1314
+ "additionalProperties": false,
1315
+ "patternProperties": {
1316
+ "^x-": {}
1317
+ },
1318
+ "if": {
1319
+ "required": [
1320
+ "type"
1321
+ ],
1322
+ "properties": {
1323
+ "type": {
1324
+ "const": "command"
1325
+ }
1326
+ }
1327
+ },
1328
+ "then": {
1329
+ "required": [
1330
+ "command"
1331
+ ],
1332
+ "not": {
1333
+ "anyOf": [
1334
+ {
1335
+ "required": [
1336
+ "agent"
1337
+ ]
1338
+ },
1339
+ {
1340
+ "required": [
1341
+ "task"
1342
+ ]
1343
+ },
1344
+ {
1345
+ "required": [
1346
+ "approval"
1347
+ ]
1348
+ }
1349
+ ]
1350
+ }
1351
+ },
1352
+ "else": {
1353
+ "if": {
1354
+ "required": [
1355
+ "type"
1356
+ ],
1357
+ "properties": {
1358
+ "type": {
1359
+ "const": "approval"
1360
+ }
1361
+ }
1362
+ },
1363
+ "then": {
1364
+ "required": [
1365
+ "approval"
1366
+ ],
1367
+ "not": {
1368
+ "anyOf": [
1369
+ {
1370
+ "required": [
1371
+ "agent"
1372
+ ]
1373
+ },
1374
+ {
1375
+ "required": [
1376
+ "task"
1377
+ ]
1378
+ },
1379
+ {
1380
+ "required": [
1381
+ "command"
1382
+ ]
1383
+ },
1384
+ {
1385
+ "required": [
1386
+ "image"
1387
+ ]
1388
+ },
1389
+ {
1390
+ "required": [
1391
+ "env"
1392
+ ]
1393
+ },
1394
+ {
1395
+ "required": [
1396
+ "workingDir"
1397
+ ]
1398
+ },
1399
+ {
1400
+ "required": [
1401
+ "forEach"
1402
+ ]
1403
+ }
1404
+ ]
1405
+ }
1406
+ },
1407
+ "else": {
1408
+ "required": [
1409
+ "agent"
1410
+ ],
1411
+ "not": {
1412
+ "anyOf": [
1413
+ {
1414
+ "required": [
1415
+ "command"
1416
+ ]
1417
+ },
1418
+ {
1419
+ "required": [
1420
+ "image"
1421
+ ]
1422
+ },
1423
+ {
1424
+ "required": [
1425
+ "env"
1426
+ ]
1427
+ },
1428
+ {
1429
+ "required": [
1430
+ "workingDir"
1431
+ ]
1432
+ },
1433
+ {
1434
+ "required": [
1435
+ "approval"
1436
+ ]
1437
+ }
1438
+ ]
1439
+ }
1440
+ }
1441
+ }
1442
+ },
1443
+ "ForEach": {
1444
+ "description": "Iteration over a list (spec 5.6.4): the step runs once per item, bounded by maxItems and concurrency.",
1445
+ "type": "object",
1446
+ "properties": {
1447
+ "items": {
1448
+ "description": "Exactly one reference to an array input or to an output of a step this step depends on.",
1449
+ "type": "string",
1450
+ "pattern": "^\\$\\{\\{ *(?:inputs\\.[a-zA-Z][a-zA-Z0-9_-]{0,62}|steps\\.[a-z][a-z0-9-]{0,62}\\.outputs\\.[^\\s.{}$]+) *\\}\\}$"
1451
+ },
1452
+ "maxItems": {
1453
+ "type": "integer",
1454
+ "minimum": 1
1455
+ },
1456
+ "concurrency": {
1457
+ "type": "integer",
1458
+ "minimum": 1
1459
+ }
1460
+ },
1461
+ "required": [
1462
+ "items",
1463
+ "maxItems"
1464
+ ],
1465
+ "additionalProperties": false,
1466
+ "patternProperties": {
1467
+ "^x-": {}
1468
+ }
1469
+ },
1470
+ "DataPolicy": {
1471
+ "description": "Data policy (spec 7.2, 7.3).",
1472
+ "type": "object",
1473
+ "properties": {
1474
+ "classification": {
1475
+ "$ref": "#/$defs/Classification"
1476
+ },
1477
+ "inputs": {
1478
+ "type": "array",
1479
+ "items": {
1480
+ "type": "object",
1481
+ "properties": {
1482
+ "name": {
1483
+ "type": "string",
1484
+ "minLength": 1
1485
+ },
1486
+ "classification": {
1487
+ "$ref": "#/$defs/Classification"
1488
+ }
1489
+ },
1490
+ "required": [
1491
+ "name",
1492
+ "classification"
1493
+ ],
1494
+ "additionalProperties": false,
1495
+ "patternProperties": {
1496
+ "^x-": {}
1497
+ }
1498
+ }
1499
+ },
1500
+ "outputs": {
1501
+ "type": "array",
1502
+ "items": {
1503
+ "type": "object",
1504
+ "properties": {
1505
+ "name": {
1506
+ "type": "string",
1507
+ "minLength": 1
1508
+ },
1509
+ "classification": {
1510
+ "$ref": "#/$defs/Classification"
1511
+ }
1512
+ },
1513
+ "required": [
1514
+ "name",
1515
+ "classification"
1516
+ ],
1517
+ "additionalProperties": false,
1518
+ "patternProperties": {
1519
+ "^x-": {}
1520
+ }
1521
+ }
1522
+ },
1523
+ "restrictions": {
1524
+ "type": "object",
1525
+ "properties": {
1526
+ "externalTransfer": {
1527
+ "enum": [
1528
+ "allow",
1529
+ "deny"
1530
+ ]
1531
+ }
1532
+ },
1533
+ "additionalProperties": false,
1534
+ "patternProperties": {
1535
+ "^x-": {}
1536
+ }
1537
+ },
1538
+ "residency": {
1539
+ "type": "object",
1540
+ "properties": {
1541
+ "allowed": {
1542
+ "type": "array",
1543
+ "items": {
1544
+ "type": "string",
1545
+ "minLength": 1
1546
+ }
1547
+ }
1548
+ },
1549
+ "additionalProperties": false,
1550
+ "patternProperties": {
1551
+ "^x-": {}
1552
+ }
1553
+ },
1554
+ "processing": {
1555
+ "type": "object",
1556
+ "properties": {
1557
+ "allowedProviders": {
1558
+ "type": "array",
1559
+ "items": {
1560
+ "type": "string",
1561
+ "minLength": 1
1562
+ }
1563
+ },
1564
+ "forbiddenProviders": {
1565
+ "type": "array",
1566
+ "items": {
1567
+ "type": "string",
1568
+ "minLength": 1
1569
+ }
1570
+ }
1571
+ },
1572
+ "additionalProperties": false,
1573
+ "patternProperties": {
1574
+ "^x-": {}
1575
+ }
1576
+ }
1577
+ },
1578
+ "additionalProperties": false,
1579
+ "patternProperties": {
1580
+ "^x-": {}
1581
+ }
1582
+ },
1583
+ "ModelPolicy": {
1584
+ "description": "Model policy (spec 7.4).",
1585
+ "type": "object",
1586
+ "properties": {
1587
+ "allowedProviders": {
1588
+ "type": "array",
1589
+ "items": {
1590
+ "type": "string",
1591
+ "minLength": 1
1592
+ }
1593
+ },
1594
+ "allowedModels": {
1595
+ "type": "array",
1596
+ "items": {
1597
+ "type": "string",
1598
+ "minLength": 1
1599
+ }
1600
+ },
1601
+ "forbiddenModels": {
1602
+ "type": "array",
1603
+ "items": {
1604
+ "type": "string",
1605
+ "minLength": 1
1606
+ }
1607
+ },
1608
+ "requirements": {
1609
+ "type": "object",
1610
+ "properties": {
1611
+ "approvalStatus": {
1612
+ "enum": [
1613
+ "approved",
1614
+ "pending",
1615
+ "rejected",
1616
+ "revoked"
1617
+ ]
1618
+ },
1619
+ "encryption": {
1620
+ "type": "boolean"
1621
+ },
1622
+ "region": {
1623
+ "type": "string",
1624
+ "minLength": 1
1625
+ },
1626
+ "evaluationStatus": {
1627
+ "enum": [
1628
+ "passed",
1629
+ "failed",
1630
+ "pending",
1631
+ "notEvaluated"
1632
+ ]
1633
+ }
1634
+ },
1635
+ "additionalProperties": false,
1636
+ "patternProperties": {
1637
+ "^x-": {}
1638
+ }
1639
+ }
1640
+ },
1641
+ "additionalProperties": false,
1642
+ "patternProperties": {
1643
+ "^x-": {}
1644
+ }
1645
+ },
1646
+ "Policies": {
1647
+ "description": "Workflow policy shorthands and includes (spec 8.1).",
1648
+ "type": "object",
1649
+ "properties": {
1650
+ "git": {
1651
+ "type": "object",
1652
+ "properties": {
1653
+ "allowPush": {
1654
+ "type": "boolean"
1655
+ },
1656
+ "allowForcePush": {
1657
+ "type": "boolean"
1658
+ }
1659
+ },
1660
+ "additionalProperties": false,
1661
+ "patternProperties": {
1662
+ "^x-": {}
1663
+ }
1664
+ },
1665
+ "pullRequest": {
1666
+ "type": "object",
1667
+ "properties": {
1668
+ "allowCreate": {
1669
+ "type": "boolean"
1670
+ }
1671
+ },
1672
+ "additionalProperties": false,
1673
+ "patternProperties": {
1674
+ "^x-": {}
1675
+ }
1676
+ },
1677
+ "merge": {
1678
+ "type": "object",
1679
+ "properties": {
1680
+ "allow": {
1681
+ "type": "boolean"
1682
+ }
1683
+ },
1684
+ "additionalProperties": false,
1685
+ "patternProperties": {
1686
+ "^x-": {}
1687
+ }
1688
+ },
1689
+ "production": {
1690
+ "type": "object",
1691
+ "properties": {
1692
+ "allow": {
1693
+ "type": "boolean"
1694
+ }
1695
+ },
1696
+ "additionalProperties": false,
1697
+ "patternProperties": {
1698
+ "^x-": {}
1699
+ }
1700
+ },
1701
+ "include": {
1702
+ "type": "array",
1703
+ "items": {
1704
+ "type": "object",
1705
+ "properties": {
1706
+ "name": {
1707
+ "$ref": "#/$defs/Name"
1708
+ },
1709
+ "version": {
1710
+ "$ref": "#/$defs/SemVer"
1711
+ },
1712
+ "digest": {
1713
+ "$ref": "#/$defs/Digest"
1714
+ }
1715
+ },
1716
+ "required": [
1717
+ "name",
1718
+ "version"
1719
+ ],
1720
+ "additionalProperties": false,
1721
+ "patternProperties": {
1722
+ "^x-": {}
1723
+ }
1724
+ }
1725
+ }
1726
+ },
1727
+ "additionalProperties": false,
1728
+ "patternProperties": {
1729
+ "^x-": {}
1730
+ }
1731
+ },
1732
+ "Audit": {
1733
+ "description": "Audit configuration (spec 10.2).",
1734
+ "type": "object",
1735
+ "properties": {
1736
+ "enabled": {
1737
+ "type": "boolean"
1738
+ },
1739
+ "payload": {
1740
+ "enum": [
1741
+ "metadata",
1742
+ "full"
1743
+ ]
1744
+ },
1745
+ "integrity": {
1746
+ "type": "object",
1747
+ "properties": {
1748
+ "mode": {
1749
+ "enum": [
1750
+ "none",
1751
+ "hash-chain",
1752
+ "signed"
1753
+ ]
1754
+ }
1755
+ },
1756
+ "additionalProperties": false,
1757
+ "patternProperties": {
1758
+ "^x-": {}
1759
+ }
1760
+ },
1761
+ "retention": {
1762
+ "type": "object",
1763
+ "properties": {
1764
+ "duration": {
1765
+ "$ref": "#/$defs/Duration"
1766
+ }
1767
+ },
1768
+ "additionalProperties": false,
1769
+ "patternProperties": {
1770
+ "^x-": {}
1771
+ }
1772
+ }
1773
+ },
1774
+ "additionalProperties": false,
1775
+ "patternProperties": {
1776
+ "^x-": {}
1777
+ }
1778
+ },
1779
+ "Environments": {
1780
+ "description": "Environments (spec 7.10). Keys are organizational environment names.",
1781
+ "type": "object",
1782
+ "propertyNames": {
1783
+ "pattern": "^.+$"
1784
+ },
1785
+ "additionalProperties": {
1786
+ "type": "object",
1787
+ "properties": {
1788
+ "autonomy": {
1789
+ "enum": [
1790
+ "unrestricted",
1791
+ "controlled",
1792
+ "approval-required",
1793
+ "prohibited"
1794
+ ]
1795
+ },
1796
+ "autoApprove": {
1797
+ "type": "array",
1798
+ "items": {
1799
+ "$ref": "#/$defs/ActionKey"
1800
+ }
1801
+ }
1802
+ },
1803
+ "required": [
1804
+ "autonomy"
1805
+ ],
1806
+ "additionalProperties": false,
1807
+ "patternProperties": {
1808
+ "^x-": {}
1809
+ }
1810
+ }
1811
+ },
1812
+ "Owner": {
1813
+ "description": "Ownership (spec 7.1): a team name (shorthand) or an object.",
1814
+ "oneOf": [
1815
+ {
1816
+ "type": "string",
1817
+ "minLength": 1
1818
+ },
1819
+ {
1820
+ "type": "object",
1821
+ "properties": {
1822
+ "team": {
1823
+ "type": "string",
1824
+ "minLength": 1
1825
+ },
1826
+ "contact": {
1827
+ "type": "string"
1828
+ },
1829
+ "businessOwner": {
1830
+ "type": "string"
1831
+ },
1832
+ "technicalOwner": {
1833
+ "type": "string"
1834
+ },
1835
+ "dataOwner": {
1836
+ "type": "string"
1837
+ }
1838
+ },
1839
+ "required": [
1840
+ "team"
1841
+ ],
1842
+ "additionalProperties": false,
1843
+ "patternProperties": {
1844
+ "^x-": {}
1845
+ }
1846
+ }
1847
+ ]
1848
+ },
1849
+ "Metadata": {
1850
+ "description": "Metadata common to all kinds (spec 4).",
1851
+ "type": "object",
1852
+ "properties": {
1853
+ "name": {
1854
+ "$ref": "#/$defs/Name"
1855
+ },
1856
+ "version": {
1857
+ "$ref": "#/$defs/SemVer"
1858
+ },
1859
+ "description": {
1860
+ "type": "string"
1861
+ },
1862
+ "owner": {
1863
+ "$ref": "#/$defs/Owner"
1864
+ },
1865
+ "classification": {
1866
+ "$ref": "#/$defs/Classification"
1867
+ },
1868
+ "purpose": {
1869
+ "type": "string"
1870
+ },
1871
+ "risk": {
1872
+ "type": "object",
1873
+ "properties": {
1874
+ "level": {
1875
+ "$ref": "#/$defs/RiskLevel"
1876
+ },
1877
+ "category": {
1878
+ "type": "array",
1879
+ "items": {
1880
+ "type": "string",
1881
+ "minLength": 1
1882
+ }
1883
+ }
1884
+ },
1885
+ "required": [
1886
+ "level"
1887
+ ],
1888
+ "additionalProperties": false,
1889
+ "patternProperties": {
1890
+ "^x-": {}
1891
+ }
1892
+ },
1893
+ "labels": {
1894
+ "type": "object",
1895
+ "propertyNames": {
1896
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._/-]{0,127}$"
1897
+ },
1898
+ "additionalProperties": {
1899
+ "type": "string"
1900
+ }
1901
+ },
1902
+ "annotations": {
1903
+ "type": "object",
1904
+ "propertyNames": {
1905
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._/-]{0,127}$"
1906
+ },
1907
+ "additionalProperties": {
1908
+ "type": "string"
1909
+ }
1910
+ },
1911
+ "integrity": {
1912
+ "type": "object",
1913
+ "properties": {
1914
+ "digest": {
1915
+ "$ref": "#/$defs/Digest"
1916
+ }
1917
+ },
1918
+ "required": [
1919
+ "digest"
1920
+ ],
1921
+ "additionalProperties": false,
1922
+ "patternProperties": {
1923
+ "^x-": {}
1924
+ }
1925
+ },
1926
+ "signature": {
1927
+ "type": "object",
1928
+ "properties": {
1929
+ "format": {
1930
+ "type": "string",
1931
+ "minLength": 1
1932
+ },
1933
+ "ref": {
1934
+ "type": "string",
1935
+ "minLength": 1
1936
+ },
1937
+ "identity": {
1938
+ "type": "string",
1939
+ "minLength": 1
1940
+ }
1941
+ },
1942
+ "additionalProperties": false,
1943
+ "patternProperties": {
1944
+ "^x-": {}
1945
+ }
1946
+ },
1947
+ "provenance": {
1948
+ "type": "object",
1949
+ "properties": {
1950
+ "format": {
1951
+ "type": "string",
1952
+ "minLength": 1
1953
+ },
1954
+ "ref": {
1955
+ "type": "string",
1956
+ "minLength": 1
1957
+ }
1958
+ },
1959
+ "additionalProperties": false,
1960
+ "patternProperties": {
1961
+ "^x-": {}
1962
+ }
1963
+ }
1964
+ },
1965
+ "required": [
1966
+ "name",
1967
+ "version",
1968
+ "owner"
1969
+ ],
1970
+ "additionalProperties": false,
1971
+ "patternProperties": {
1972
+ "^x-": {}
1973
+ }
1974
+ },
1975
+ "WorkflowSpec": {
1976
+ "description": "spec of kind Workflow (spec 5.1).",
1977
+ "type": "object",
1978
+ "properties": {
1979
+ "triggers": {
1980
+ "type": "array",
1981
+ "items": {
1982
+ "$ref": "#/$defs/Trigger"
1983
+ }
1984
+ },
1985
+ "inputs": {
1986
+ "type": "array",
1987
+ "items": {
1988
+ "$ref": "#/$defs/Input"
1989
+ }
1990
+ },
1991
+ "budget": {
1992
+ "$ref": "#/$defs/Budget"
1993
+ },
1994
+ "agents": {
1995
+ "type": "array",
1996
+ "items": {
1997
+ "$ref": "#/$defs/AgentEntry"
1998
+ }
1999
+ },
2000
+ "mcpServers": {
2001
+ "type": "array",
2002
+ "items": {
2003
+ "$ref": "#/$defs/McpServer"
2004
+ }
2005
+ },
2006
+ "actionGroups": {
2007
+ "$ref": "#/$defs/ActionGroups"
2008
+ },
2009
+ "workflow": {
2010
+ "type": "array",
2011
+ "items": {
2012
+ "$ref": "#/$defs/Step"
2013
+ }
2014
+ },
2015
+ "secrets": {
2016
+ "type": "array",
2017
+ "items": {
2018
+ "$ref": "#/$defs/Secret"
2019
+ }
2020
+ },
2021
+ "environment": {
2022
+ "type": "object",
2023
+ "properties": {
2024
+ "name": {
2025
+ "type": "string",
2026
+ "minLength": 1
2027
+ }
2028
+ },
2029
+ "required": [
2030
+ "name"
2031
+ ],
2032
+ "additionalProperties": false,
2033
+ "patternProperties": {
2034
+ "^x-": {}
2035
+ }
2036
+ },
2037
+ "environments": {
2038
+ "$ref": "#/$defs/Environments"
2039
+ },
2040
+ "permissions": {
2041
+ "$ref": "#/$defs/Permissions"
2042
+ },
2043
+ "dataPolicy": {
2044
+ "$ref": "#/$defs/DataPolicy"
2045
+ },
2046
+ "modelPolicy": {
2047
+ "$ref": "#/$defs/ModelPolicy"
2048
+ },
2049
+ "approval": {
2050
+ "$ref": "#/$defs/Approval"
2051
+ },
2052
+ "policies": {
2053
+ "$ref": "#/$defs/Policies"
2054
+ },
2055
+ "audit": {
2056
+ "$ref": "#/$defs/Audit"
2057
+ }
2058
+ },
2059
+ "required": [
2060
+ "agents",
2061
+ "workflow"
2062
+ ],
2063
+ "additionalProperties": false,
2064
+ "patternProperties": {
2065
+ "^x-": {}
2066
+ }
2067
+ },
2068
+ "AgentSpec": {
2069
+ "description": "spec of kind Agent (spec 6).",
2070
+ "type": "object",
2071
+ "properties": {
2072
+ "model": {
2073
+ "$ref": "#/$defs/Model"
2074
+ },
2075
+ "instructions": {
2076
+ "type": "string"
2077
+ },
2078
+ "promptRef": {
2079
+ "$ref": "#/$defs/PromptRef"
2080
+ },
2081
+ "tools": {
2082
+ "type": "array",
2083
+ "items": {
2084
+ "$ref": "#/$defs/ToolSource"
2085
+ }
2086
+ },
2087
+ "mcpServers": {
2088
+ "type": "array",
2089
+ "items": {
2090
+ "$ref": "#/$defs/McpServer"
2091
+ }
2092
+ },
2093
+ "actionGroups": {
2094
+ "$ref": "#/$defs/ActionGroups"
2095
+ },
2096
+ "permissions": {
2097
+ "$ref": "#/$defs/Permissions"
2098
+ },
2099
+ "budget": {
2100
+ "$ref": "#/$defs/Budget"
2101
+ },
2102
+ "secrets": {
2103
+ "type": "array",
2104
+ "items": {
2105
+ "$ref": "#/$defs/Secret"
2106
+ }
2107
+ }
2108
+ },
2109
+ "required": [
2110
+ "model"
2111
+ ],
2112
+ "additionalProperties": false,
2113
+ "patternProperties": {
2114
+ "^x-": {}
2115
+ },
2116
+ "not": {
2117
+ "required": [
2118
+ "instructions",
2119
+ "promptRef"
2120
+ ]
2121
+ }
2122
+ },
2123
+ "Condition": {
2124
+ "description": "Policy rule conditions (spec 8.3). Unknown attributes are rejected; ordering operators are limited to data.classification and risk.level.",
2125
+ "type": "object",
2126
+ "minProperties": 1,
2127
+ "additionalProperties": false,
2128
+ "properties": {
2129
+ "action": {
2130
+ "oneOf": [
2131
+ {
2132
+ "$ref": "#/$defs/ActionKey"
2133
+ },
2134
+ {
2135
+ "type": "object",
2136
+ "properties": {
2137
+ "in": {
2138
+ "type": "array",
2139
+ "items": {
2140
+ "$ref": "#/$defs/ActionKey"
2141
+ }
2142
+ },
2143
+ "notIn": {
2144
+ "type": "array",
2145
+ "items": {
2146
+ "$ref": "#/$defs/ActionKey"
2147
+ }
2148
+ },
2149
+ "equals": {
2150
+ "$ref": "#/$defs/ActionKey"
2151
+ },
2152
+ "notEquals": {
2153
+ "$ref": "#/$defs/ActionKey"
2154
+ }
2155
+ },
2156
+ "additionalProperties": false,
2157
+ "patternProperties": {
2158
+ "^x-": {}
2159
+ },
2160
+ "minProperties": 1
2161
+ }
2162
+ ]
2163
+ },
2164
+ "environment.name": {
2165
+ "oneOf": [
2166
+ {
2167
+ "type": "string",
2168
+ "minLength": 1
2169
+ },
2170
+ {
2171
+ "type": "object",
2172
+ "properties": {
2173
+ "in": {
2174
+ "type": "array",
2175
+ "items": {
2176
+ "type": "string",
2177
+ "minLength": 1
2178
+ }
2179
+ },
2180
+ "notIn": {
2181
+ "type": "array",
2182
+ "items": {
2183
+ "type": "string",
2184
+ "minLength": 1
2185
+ }
2186
+ },
2187
+ "equals": {
2188
+ "type": "string",
2189
+ "minLength": 1
2190
+ },
2191
+ "notEquals": {
2192
+ "type": "string",
2193
+ "minLength": 1
2194
+ }
2195
+ },
2196
+ "additionalProperties": false,
2197
+ "patternProperties": {
2198
+ "^x-": {}
2199
+ },
2200
+ "minProperties": 1
2201
+ }
2202
+ ]
2203
+ },
2204
+ "risk.level": {
2205
+ "oneOf": [
2206
+ {
2207
+ "$ref": "#/$defs/RiskLevel"
2208
+ },
2209
+ {
2210
+ "type": "object",
2211
+ "properties": {
2212
+ "in": {
2213
+ "type": "array",
2214
+ "items": {
2215
+ "$ref": "#/$defs/RiskLevel"
2216
+ }
2217
+ },
2218
+ "notIn": {
2219
+ "type": "array",
2220
+ "items": {
2221
+ "$ref": "#/$defs/RiskLevel"
2222
+ }
2223
+ },
2224
+ "equals": {
2225
+ "$ref": "#/$defs/RiskLevel"
2226
+ },
2227
+ "notEquals": {
2228
+ "$ref": "#/$defs/RiskLevel"
2229
+ },
2230
+ "gt": {
2231
+ "$ref": "#/$defs/RiskLevel"
2232
+ },
2233
+ "gte": {
2234
+ "$ref": "#/$defs/RiskLevel"
2235
+ },
2236
+ "lt": {
2237
+ "$ref": "#/$defs/RiskLevel"
2238
+ },
2239
+ "lte": {
2240
+ "$ref": "#/$defs/RiskLevel"
2241
+ }
2242
+ },
2243
+ "additionalProperties": false,
2244
+ "patternProperties": {
2245
+ "^x-": {}
2246
+ },
2247
+ "minProperties": 1
2248
+ }
2249
+ ]
2250
+ },
2251
+ "data.classification": {
2252
+ "oneOf": [
2253
+ {
2254
+ "$ref": "#/$defs/Classification"
2255
+ },
2256
+ {
2257
+ "type": "object",
2258
+ "properties": {
2259
+ "in": {
2260
+ "type": "array",
2261
+ "items": {
2262
+ "$ref": "#/$defs/Classification"
2263
+ }
2264
+ },
2265
+ "notIn": {
2266
+ "type": "array",
2267
+ "items": {
2268
+ "$ref": "#/$defs/Classification"
2269
+ }
2270
+ },
2271
+ "equals": {
2272
+ "$ref": "#/$defs/Classification"
2273
+ },
2274
+ "notEquals": {
2275
+ "$ref": "#/$defs/Classification"
2276
+ },
2277
+ "gt": {
2278
+ "$ref": "#/$defs/Classification"
2279
+ },
2280
+ "gte": {
2281
+ "$ref": "#/$defs/Classification"
2282
+ },
2283
+ "lt": {
2284
+ "$ref": "#/$defs/Classification"
2285
+ },
2286
+ "lte": {
2287
+ "$ref": "#/$defs/Classification"
2288
+ }
2289
+ },
2290
+ "additionalProperties": false,
2291
+ "patternProperties": {
2292
+ "^x-": {}
2293
+ },
2294
+ "minProperties": 1
2295
+ }
2296
+ ]
2297
+ },
2298
+ "destination.provider": {
2299
+ "oneOf": [
2300
+ {
2301
+ "type": "string",
2302
+ "minLength": 1
2303
+ },
2304
+ {
2305
+ "type": "object",
2306
+ "properties": {
2307
+ "in": {
2308
+ "type": "array",
2309
+ "items": {
2310
+ "type": "string",
2311
+ "minLength": 1
2312
+ }
2313
+ },
2314
+ "notIn": {
2315
+ "type": "array",
2316
+ "items": {
2317
+ "type": "string",
2318
+ "minLength": 1
2319
+ }
2320
+ },
2321
+ "equals": {
2322
+ "type": "string",
2323
+ "minLength": 1
2324
+ },
2325
+ "notEquals": {
2326
+ "type": "string",
2327
+ "minLength": 1
2328
+ }
2329
+ },
2330
+ "additionalProperties": false,
2331
+ "patternProperties": {
2332
+ "^x-": {}
2333
+ },
2334
+ "minProperties": 1
2335
+ }
2336
+ ]
2337
+ },
2338
+ "destination.region": {
2339
+ "oneOf": [
2340
+ {
2341
+ "type": "string",
2342
+ "minLength": 1
2343
+ },
2344
+ {
2345
+ "type": "object",
2346
+ "properties": {
2347
+ "in": {
2348
+ "type": "array",
2349
+ "items": {
2350
+ "type": "string",
2351
+ "minLength": 1
2352
+ }
2353
+ },
2354
+ "notIn": {
2355
+ "type": "array",
2356
+ "items": {
2357
+ "type": "string",
2358
+ "minLength": 1
2359
+ }
2360
+ },
2361
+ "equals": {
2362
+ "type": "string",
2363
+ "minLength": 1
2364
+ },
2365
+ "notEquals": {
2366
+ "type": "string",
2367
+ "minLength": 1
2368
+ }
2369
+ },
2370
+ "additionalProperties": false,
2371
+ "patternProperties": {
2372
+ "^x-": {}
2373
+ },
2374
+ "minProperties": 1
2375
+ }
2376
+ ]
2377
+ },
2378
+ "model.provider": {
2379
+ "oneOf": [
2380
+ {
2381
+ "type": "string",
2382
+ "minLength": 1
2383
+ },
2384
+ {
2385
+ "type": "object",
2386
+ "properties": {
2387
+ "in": {
2388
+ "type": "array",
2389
+ "items": {
2390
+ "type": "string",
2391
+ "minLength": 1
2392
+ }
2393
+ },
2394
+ "notIn": {
2395
+ "type": "array",
2396
+ "items": {
2397
+ "type": "string",
2398
+ "minLength": 1
2399
+ }
2400
+ },
2401
+ "equals": {
2402
+ "type": "string",
2403
+ "minLength": 1
2404
+ },
2405
+ "notEquals": {
2406
+ "type": "string",
2407
+ "minLength": 1
2408
+ }
2409
+ },
2410
+ "additionalProperties": false,
2411
+ "patternProperties": {
2412
+ "^x-": {}
2413
+ },
2414
+ "minProperties": 1
2415
+ }
2416
+ ]
2417
+ },
2418
+ "model.name": {
2419
+ "oneOf": [
2420
+ {
2421
+ "type": "string",
2422
+ "minLength": 1
2423
+ },
2424
+ {
2425
+ "type": "object",
2426
+ "properties": {
2427
+ "in": {
2428
+ "type": "array",
2429
+ "items": {
2430
+ "type": "string",
2431
+ "minLength": 1
2432
+ }
2433
+ },
2434
+ "notIn": {
2435
+ "type": "array",
2436
+ "items": {
2437
+ "type": "string",
2438
+ "minLength": 1
2439
+ }
2440
+ },
2441
+ "equals": {
2442
+ "type": "string",
2443
+ "minLength": 1
2444
+ },
2445
+ "notEquals": {
2446
+ "type": "string",
2447
+ "minLength": 1
2448
+ }
2449
+ },
2450
+ "additionalProperties": false,
2451
+ "patternProperties": {
2452
+ "^x-": {}
2453
+ },
2454
+ "minProperties": 1
2455
+ }
2456
+ ]
2457
+ },
2458
+ "actor.type": {
2459
+ "oneOf": [
2460
+ {
2461
+ "enum": [
2462
+ "agent",
2463
+ "human",
2464
+ "runtime",
2465
+ "system"
2466
+ ]
2467
+ },
2468
+ {
2469
+ "type": "object",
2470
+ "properties": {
2471
+ "in": {
2472
+ "type": "array",
2473
+ "items": {
2474
+ "enum": [
2475
+ "agent",
2476
+ "human",
2477
+ "runtime",
2478
+ "system"
2479
+ ]
2480
+ }
2481
+ },
2482
+ "notIn": {
2483
+ "type": "array",
2484
+ "items": {
2485
+ "enum": [
2486
+ "agent",
2487
+ "human",
2488
+ "runtime",
2489
+ "system"
2490
+ ]
2491
+ }
2492
+ },
2493
+ "equals": {
2494
+ "enum": [
2495
+ "agent",
2496
+ "human",
2497
+ "runtime",
2498
+ "system"
2499
+ ]
2500
+ },
2501
+ "notEquals": {
2502
+ "enum": [
2503
+ "agent",
2504
+ "human",
2505
+ "runtime",
2506
+ "system"
2507
+ ]
2508
+ }
2509
+ },
2510
+ "additionalProperties": false,
2511
+ "patternProperties": {
2512
+ "^x-": {}
2513
+ },
2514
+ "minProperties": 1
2515
+ }
2516
+ ]
2517
+ },
2518
+ "workflow.name": {
2519
+ "oneOf": [
2520
+ {
2521
+ "type": "string",
2522
+ "minLength": 1
2523
+ },
2524
+ {
2525
+ "type": "object",
2526
+ "properties": {
2527
+ "in": {
2528
+ "type": "array",
2529
+ "items": {
2530
+ "type": "string",
2531
+ "minLength": 1
2532
+ }
2533
+ },
2534
+ "notIn": {
2535
+ "type": "array",
2536
+ "items": {
2537
+ "type": "string",
2538
+ "minLength": 1
2539
+ }
2540
+ },
2541
+ "equals": {
2542
+ "type": "string",
2543
+ "minLength": 1
2544
+ },
2545
+ "notEquals": {
2546
+ "type": "string",
2547
+ "minLength": 1
2548
+ }
2549
+ },
2550
+ "additionalProperties": false,
2551
+ "patternProperties": {
2552
+ "^x-": {}
2553
+ },
2554
+ "minProperties": 1
2555
+ }
2556
+ ]
2557
+ },
2558
+ "step.id": {
2559
+ "oneOf": [
2560
+ {
2561
+ "type": "string",
2562
+ "minLength": 1
2563
+ },
2564
+ {
2565
+ "type": "object",
2566
+ "properties": {
2567
+ "in": {
2568
+ "type": "array",
2569
+ "items": {
2570
+ "type": "string",
2571
+ "minLength": 1
2572
+ }
2573
+ },
2574
+ "notIn": {
2575
+ "type": "array",
2576
+ "items": {
2577
+ "type": "string",
2578
+ "minLength": 1
2579
+ }
2580
+ },
2581
+ "equals": {
2582
+ "type": "string",
2583
+ "minLength": 1
2584
+ },
2585
+ "notEquals": {
2586
+ "type": "string",
2587
+ "minLength": 1
2588
+ }
2589
+ },
2590
+ "additionalProperties": false,
2591
+ "patternProperties": {
2592
+ "^x-": {}
2593
+ },
2594
+ "minProperties": 1
2595
+ }
2596
+ ]
2597
+ },
2598
+ "agent.id": {
2599
+ "oneOf": [
2600
+ {
2601
+ "type": "string",
2602
+ "minLength": 1
2603
+ },
2604
+ {
2605
+ "type": "object",
2606
+ "properties": {
2607
+ "in": {
2608
+ "type": "array",
2609
+ "items": {
2610
+ "type": "string",
2611
+ "minLength": 1
2612
+ }
2613
+ },
2614
+ "notIn": {
2615
+ "type": "array",
2616
+ "items": {
2617
+ "type": "string",
2618
+ "minLength": 1
2619
+ }
2620
+ },
2621
+ "equals": {
2622
+ "type": "string",
2623
+ "minLength": 1
2624
+ },
2625
+ "notEquals": {
2626
+ "type": "string",
2627
+ "minLength": 1
2628
+ }
2629
+ },
2630
+ "additionalProperties": false,
2631
+ "patternProperties": {
2632
+ "^x-": {}
2633
+ },
2634
+ "minProperties": 1
2635
+ }
2636
+ ]
2637
+ }
2638
+ }
2639
+ },
2640
+ "Rule": {
2641
+ "description": "Policy rule (spec 8.2).",
2642
+ "type": "object",
2643
+ "properties": {
2644
+ "id": {
2645
+ "$ref": "#/$defs/Identifier"
2646
+ },
2647
+ "when": {
2648
+ "$ref": "#/$defs/Condition"
2649
+ },
2650
+ "effect": {
2651
+ "enum": [
2652
+ "deny",
2653
+ "requireApproval"
2654
+ ]
2655
+ },
2656
+ "approval": {
2657
+ "type": "object",
2658
+ "properties": {
2659
+ "approvers": {
2660
+ "type": "array",
2661
+ "items": {
2662
+ "$ref": "#/$defs/Approver"
2663
+ }
2664
+ },
2665
+ "minApprovals": {
2666
+ "type": "integer",
2667
+ "minimum": 1
2668
+ },
2669
+ "timeout": {
2670
+ "$ref": "#/$defs/Duration"
2671
+ },
2672
+ "onTimeout": {
2673
+ "enum": [
2674
+ "reject",
2675
+ "fail"
2676
+ ]
2677
+ }
2678
+ },
2679
+ "additionalProperties": false,
2680
+ "patternProperties": {
2681
+ "^x-": {}
2682
+ }
2683
+ },
2684
+ "message": {
2685
+ "type": "string"
2686
+ }
2687
+ },
2688
+ "required": [
2689
+ "id",
2690
+ "when",
2691
+ "effect"
2692
+ ],
2693
+ "additionalProperties": false,
2694
+ "patternProperties": {
2695
+ "^x-": {}
2696
+ },
2697
+ "if": {
2698
+ "properties": {
2699
+ "effect": {
2700
+ "const": "requireApproval"
2701
+ }
2702
+ },
2703
+ "required": [
2704
+ "effect"
2705
+ ]
2706
+ },
2707
+ "then": {
2708
+ "required": [
2709
+ "approval"
2710
+ ]
2711
+ }
2712
+ },
2713
+ "PolicySpec": {
2714
+ "description": "spec of kind Policy (spec 8.2).",
2715
+ "type": "object",
2716
+ "properties": {
2717
+ "rules": {
2718
+ "type": "array",
2719
+ "items": {
2720
+ "$ref": "#/$defs/Rule"
2721
+ }
2722
+ }
2723
+ },
2724
+ "required": [
2725
+ "rules"
2726
+ ],
2727
+ "additionalProperties": false,
2728
+ "patternProperties": {
2729
+ "^x-": {}
2730
+ }
2731
+ },
2732
+ "Workflow": {
2733
+ "description": "A complete manifest of kind Workflow (spec 3.2, 5).",
2734
+ "type": "object",
2735
+ "properties": {
2736
+ "apiVersion": {
2737
+ "const": "awp.agenticworkflowprotocol.org/v1alpha2"
2738
+ },
2739
+ "kind": {
2740
+ "const": "Workflow"
2741
+ },
2742
+ "metadata": {
2743
+ "$ref": "#/$defs/Metadata"
2744
+ },
2745
+ "spec": {
2746
+ "$ref": "#/$defs/WorkflowSpec"
2747
+ }
2748
+ },
2749
+ "required": [
2750
+ "apiVersion",
2751
+ "kind",
2752
+ "metadata",
2753
+ "spec"
2754
+ ],
2755
+ "additionalProperties": false,
2756
+ "patternProperties": {
2757
+ "^x-": {}
2758
+ }
2759
+ },
2760
+ "Agent": {
2761
+ "description": "A complete manifest of kind Agent (spec 3.2, 6).",
2762
+ "type": "object",
2763
+ "properties": {
2764
+ "apiVersion": {
2765
+ "const": "awp.agenticworkflowprotocol.org/v1alpha2"
2766
+ },
2767
+ "kind": {
2768
+ "const": "Agent"
2769
+ },
2770
+ "metadata": {
2771
+ "$ref": "#/$defs/Metadata"
2772
+ },
2773
+ "spec": {
2774
+ "$ref": "#/$defs/AgentSpec"
2775
+ }
2776
+ },
2777
+ "required": [
2778
+ "apiVersion",
2779
+ "kind",
2780
+ "metadata",
2781
+ "spec"
2782
+ ],
2783
+ "additionalProperties": false,
2784
+ "patternProperties": {
2785
+ "^x-": {}
2786
+ }
2787
+ },
2788
+ "Policy": {
2789
+ "description": "A complete manifest of kind Policy (spec 3.2, 8.2).",
2790
+ "type": "object",
2791
+ "properties": {
2792
+ "apiVersion": {
2793
+ "const": "awp.agenticworkflowprotocol.org/v1alpha2"
2794
+ },
2795
+ "kind": {
2796
+ "const": "Policy"
2797
+ },
2798
+ "metadata": {
2799
+ "$ref": "#/$defs/Metadata"
2800
+ },
2801
+ "spec": {
2802
+ "$ref": "#/$defs/PolicySpec"
2803
+ }
2804
+ },
2805
+ "required": [
2806
+ "apiVersion",
2807
+ "kind",
2808
+ "metadata",
2809
+ "spec"
2810
+ ],
2811
+ "additionalProperties": false,
2812
+ "patternProperties": {
2813
+ "^x-": {}
2814
+ }
2815
+ }
2816
+ }
2817
+ }