@apexops/cli 0.10.0-next.4 → 0.11.0-next.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 (365) hide show
  1. package/README.md +40 -0
  2. package/assets/capability-packs/registry.v1.json +1 -62
  3. package/assets/client-projection-metadata/copilot-cli-agent-tools.json +20 -0
  4. package/assets/client-projections/github-copilot-cli/.github/copilot/settings.json +13 -0
  5. package/assets/client-projections/github-copilot-cli/.github/instructions/apex-prompt-authoring.instructions.md +1 -1
  6. package/assets/client-projections/github-copilot-cli/.github/workflows/governance-policy-baseline.yml +101 -0
  7. package/assets/client-projections/github-copilot-cli/tools/schemas/governance-baseline.schema.json +118 -0
  8. package/assets/client-projections/github-copilot-cli/tools/scripts/collect-governance-baseline.ps1 +817 -0
  9. package/assets/config/capability-packs.v1.json +1 -32
  10. package/assets/config/governance-reference.v1.json +26379 -0
  11. package/assets/config/recipe-packs.v1.json +1 -26
  12. package/assets/config/runtime-bundle.v1.json +7 -7
  13. package/assets/config/toolchain.v1.json +35 -33
  14. package/assets/config/workflow.v1.json +103 -72
  15. package/assets/customizations/.github/agents/apex-codegen.agent.md +8 -21
  16. package/assets/customizations/.github/agents/apex-validator.agent.md +14 -20
  17. package/assets/customizations/.github/agents/apex.agent.md +108 -75
  18. package/assets/customizations/.github/copilot/settings.json +13 -0
  19. package/assets/customizations/.github/instructions/apex-prompt-authoring.instructions.md +1 -1
  20. package/assets/customizations/.github/skills/apex-architecture/SKILL.md +62 -18
  21. package/assets/customizations/.github/skills/apex-artifacts/SKILL.md +28 -6
  22. package/assets/customizations/.github/skills/apex-azure-adr/SKILL.md +3 -0
  23. package/assets/customizations/.github/skills/apex-azure-cloud-migrate/SKILL.md +3 -0
  24. package/assets/customizations/.github/skills/apex-azure-compliance/SKILL.md +3 -0
  25. package/assets/customizations/.github/skills/apex-azure-compute/SKILL.md +3 -0
  26. package/assets/customizations/.github/skills/apex-azure-cost-optimization/SKILL.md +3 -0
  27. package/assets/customizations/.github/skills/apex-azure-defaults/SKILL.md +3 -0
  28. package/assets/customizations/.github/skills/apex-azure-defaults/references/governance-effects.md +5 -3
  29. package/assets/customizations/.github/skills/apex-azure-deploy/SKILL.md +3 -0
  30. package/assets/customizations/.github/skills/apex-azure-diagnostics/SKILL.md +3 -0
  31. package/assets/customizations/.github/skills/apex-azure-governance/SKILL.md +19 -3
  32. package/assets/customizations/.github/skills/apex-azure-governance/references/evidence-interpretation.md +38 -3
  33. package/assets/customizations/.github/skills/apex-azure-kusto/SKILL.md +3 -0
  34. package/assets/customizations/.github/skills/apex-azure-prepare/SKILL.md +5 -3
  35. package/assets/customizations/.github/skills/apex-azure-quotas/SKILL.md +3 -0
  36. package/assets/customizations/.github/skills/apex-azure-rbac/SKILL.md +3 -0
  37. package/assets/customizations/.github/skills/apex-azure-resources/SKILL.md +3 -0
  38. package/assets/customizations/.github/skills/apex-azure-storage/SKILL.md +3 -0
  39. package/assets/customizations/.github/skills/apex-azure-validate/SKILL.md +3 -0
  40. package/assets/customizations/.github/skills/apex-bicep-patterns/SKILL.md +3 -0
  41. package/assets/customizations/.github/skills/apex-codegen/SKILL.md +6 -2
  42. package/assets/customizations/.github/skills/apex-entra-app-registration/SKILL.md +3 -0
  43. package/assets/customizations/.github/skills/apex-mermaid/SKILL.md +3 -0
  44. package/assets/customizations/.github/skills/apex-microsoft-docs/SKILL.md +3 -0
  45. package/assets/customizations/.github/skills/apex-next/SKILL.md +99 -0
  46. package/assets/customizations/.github/skills/apex-operations/SKILL.md +46 -16
  47. package/assets/customizations/.github/skills/apex-planning/SKILL.md +48 -19
  48. package/assets/customizations/.github/skills/apex-requirements/SKILL.md +61 -23
  49. package/assets/customizations/.github/skills/apex-terraform-import/SKILL.md +3 -0
  50. package/assets/customizations/.github/skills/apex-terraform-patterns/SKILL.md +3 -0
  51. package/assets/customizations/.github/skills/apex-terraform-test/SKILL.md +3 -0
  52. package/assets/customizations/.github/skills/apex-unslop/LICENSE.txt +21 -0
  53. package/assets/customizations/.github/skills/apex-unslop/SKILL.md +94 -0
  54. package/assets/customizations/.github/skills/apex-workflow/SKILL.md +15 -5
  55. package/assets/customizations/.github/workflows/governance-policy-baseline.yml +101 -0
  56. package/assets/customizations/README.md +8 -9
  57. package/assets/customizations/manifest.json +167 -209
  58. package/assets/customizations/tools/schemas/governance-baseline.schema.json +118 -0
  59. package/assets/customizations/tools/scripts/collect-governance-baseline.ps1 +817 -0
  60. package/assets/manifest.json +419 -4237
  61. package/assets/schemas/governance-baseline.schema.json +118 -0
  62. package/dist/assets.d.ts +18 -2
  63. package/dist/assets.js +115 -35
  64. package/dist/bootstrap-wizard.d.ts +37 -0
  65. package/dist/bootstrap-wizard.js +259 -0
  66. package/dist/cli.d.ts +18 -2
  67. package/dist/cli.js +222 -65
  68. package/dist/dependency-revision.js +8 -0
  69. package/dist/errors.d.ts +6 -1
  70. package/dist/errors.js +55 -0
  71. package/dist/host-profile.d.ts +47 -0
  72. package/dist/host-profile.js +269 -0
  73. package/dist/mcp-output-schemas.d.ts +43 -0
  74. package/dist/mcp-output-schemas.js +279 -0
  75. package/dist/mcp-tool-effects.d.ts +101 -0
  76. package/dist/mcp-tool-effects.js +66 -0
  77. package/dist/mcp.d.ts +50 -3
  78. package/dist/mcp.js +833 -78
  79. package/dist/runtime-binding.d.ts +37 -0
  80. package/dist/runtime-binding.js +131 -0
  81. package/dist/service.d.ts +676 -31
  82. package/dist/service.js +5270 -587
  83. package/dist/state-transfer.js +44 -7
  84. package/dist/target-scope.d.ts +4 -0
  85. package/dist/target-scope.js +9 -0
  86. package/dist/version.d.ts +3 -1
  87. package/dist/version.js +19 -1
  88. package/dist/workflow-validators.d.ts +20 -3
  89. package/dist/workflow-validators.js +408 -67
  90. package/dist/workspace-root.d.ts +7 -0
  91. package/dist/workspace-root.js +67 -0
  92. package/package.json +11 -12
  93. package/assets/capability-packs/azure-governance-discovery/source/scripts/discover.py +0 -1189
  94. package/assets/capability-packs/azure-governance-discovery/source/scripts/render_governance.py +0 -676
  95. package/assets/client-projections/github-copilot-cli/.github/agents/apex-architect.agent.md +0 -90
  96. package/assets/client-projections/github-copilot-cli/.github/agents/apex-operator.agent.md +0 -75
  97. package/assets/client-projections/github-copilot-cli/.github/agents/apex-planner.agent.md +0 -86
  98. package/assets/client-projections/github-copilot-cli/.github/agents/apex-requirements.agent.md +0 -92
  99. package/assets/client-projections/github-copilot-cli/.github/agents/apex.agent.md +0 -88
  100. package/assets/client-projections/github-copilot-cli/.github/mcp.json +0 -60
  101. package/assets/client-projections/github-copilot-cli/.github/skills/apex-architecture/SKILL.md +0 -36
  102. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/SKILL.md +0 -65
  103. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/references/presentation-conventions.md +0 -52
  104. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/references/reference-only-outlines.md +0 -78
  105. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/architecture-assessment.md +0 -35
  106. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/cost-estimate.md +0 -47
  107. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/deployment-summary.md +0 -35
  108. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/governance-constraints.md +0 -35
  109. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/implementation-plan.md +0 -43
  110. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/operations-runbook.md +0 -35
  111. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/requirements.md +0 -42
  112. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/resource-inventory.md +0 -29
  113. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-adr/SKILL.md +0 -52
  114. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-adr/references/decision-examples.md +0 -38
  115. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-adr/references/decision-guardrails.md +0 -36
  116. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-adr/references/decision-quality.md +0 -21
  117. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-adr/references/decision-record-fields.md +0 -57
  118. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cloud-migrate/SKILL.md +0 -55
  119. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cloud-migrate/references/lambda-to-functions-assessment.md +0 -29
  120. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cloud-migrate/references/migration-readiness.md +0 -27
  121. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cloud-migrate/references/staged-validation-handoff.md +0 -26
  122. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cloud-migrate/references/workload-mapping.md +0 -27
  123. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-compliance/SKILL.md +0 -58
  124. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-compliance/references/compliance-finding-criteria.md +0 -63
  125. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-compliance/references/operational-checklist.md +0 -24
  126. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-compute/SKILL.md +0 -36
  127. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-compute/references/compute-selection.md +0 -26
  128. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-compute/references/pricing-evidence.md +0 -11
  129. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-compute/references/recommendation-and-scale-rules.md +0 -44
  130. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cost-optimization/SKILL.md +0 -61
  131. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cost-optimization/references/cost-assessment-criteria.md +0 -61
  132. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cost-optimization/references/operational-checklist.md +0 -24
  133. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/SKILL.md +0 -59
  134. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/avm-binding-guidance.md +0 -29
  135. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/baseline-fallbacks.md +0 -53
  136. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/cost-monitoring.md +0 -47
  137. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/decision-boundaries.md +0 -19
  138. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/governance-effects.md +0 -28
  139. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/naming.md +0 -47
  140. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/network-planning.md +0 -47
  141. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/security-baseline.md +0 -40
  142. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/service-selection.md +0 -51
  143. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/tag-precedence.md +0 -31
  144. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-deploy/SKILL.md +0 -50
  145. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-deploy/references/operational-checklist.md +0 -26
  146. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-deploy/references/preview-recovery-verification.md +0 -48
  147. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-diagnostics/SKILL.md +0 -60
  148. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-diagnostics/references/diagnostic-interpretation.md +0 -42
  149. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-diagnostics/references/operational-checklist.md +0 -24
  150. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-governance/SKILL.md +0 -52
  151. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-governance/references/evidence-interpretation.md +0 -58
  152. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-governance/references/operational-checklist.md +0 -25
  153. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-kusto/SKILL.md +0 -58
  154. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-kusto/references/kql-evidence-interpretation.md +0 -41
  155. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-kusto/references/operational-checklist.md +0 -25
  156. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-prepare/SKILL.md +0 -52
  157. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-prepare/references/functions-recipe-pack.md +0 -27
  158. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-prepare/references/preparation-lineage.md +0 -36
  159. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-quotas/SKILL.md +0 -53
  160. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-quotas/references/capacity-decision-rules.md +0 -48
  161. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-quotas/references/operational-checklist.md +0 -23
  162. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-rbac/SKILL.md +0 -45
  163. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-rbac/references/assignment-intent.md +0 -39
  164. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-rbac/references/least-privilege-selection.md +0 -50
  165. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-resources/SKILL.md +0 -54
  166. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-resources/references/inventory-query-patterns.md +0 -49
  167. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-resources/references/operational-checklist.md +0 -24
  168. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-storage/SKILL.md +0 -35
  169. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-storage/references/security-and-governance.md +0 -12
  170. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-storage/references/service-auth-and-sdk-boundary.md +0 -33
  171. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-storage/references/storage-selection.md +0 -12
  172. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-validate/SKILL.md +0 -49
  173. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-validate/references/operational-checklist.md +0 -24
  174. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-validate/references/preflight-evidence.md +0 -43
  175. package/assets/client-projections/github-copilot-cli/.github/skills/apex-bicep-patterns/SKILL.md +0 -41
  176. package/assets/client-projections/github-copilot-cli/.github/skills/apex-bicep-patterns/references/avm-and-codegen-acceptance.md +0 -11
  177. package/assets/client-projections/github-copilot-cli/.github/skills/apex-bicep-patterns/references/codegen-acceptance-checklist.md +0 -46
  178. package/assets/client-projections/github-copilot-cli/.github/skills/apex-bicep-patterns/references/compiler-and-provider-gotchas.md +0 -74
  179. package/assets/client-projections/github-copilot-cli/.github/skills/apex-bicep-patterns/references/module-interfaces-and-parameters.md +0 -56
  180. package/assets/client-projections/github-copilot-cli/.github/skills/apex-bicep-patterns/references/network-and-observability.md +0 -52
  181. package/assets/client-projections/github-copilot-cli/.github/skills/apex-codegen/SKILL.md +0 -32
  182. package/assets/client-projections/github-copilot-cli/.github/skills/apex-entra-app-registration/SKILL.md +0 -53
  183. package/assets/client-projections/github-copilot-cli/.github/skills/apex-entra-app-registration/references/capability-receipts.md +0 -21
  184. package/assets/client-projections/github-copilot-cli/.github/skills/apex-entra-app-registration/references/design-and-diagnostics.md +0 -36
  185. package/assets/client-projections/github-copilot-cli/.github/skills/apex-entra-app-registration/references/oauth-registration-model.md +0 -26
  186. package/assets/client-projections/github-copilot-cli/.github/skills/apex-entra-app-registration/references/permissions-and-credentials.md +0 -27
  187. package/assets/client-projections/github-copilot-cli/.github/skills/apex-mermaid/SKILL.md +0 -44
  188. package/assets/client-projections/github-copilot-cli/.github/skills/apex-mermaid/references/styling.md +0 -33
  189. package/assets/client-projections/github-copilot-cli/.github/skills/apex-mermaid/references/syntax.md +0 -99
  190. package/assets/client-projections/github-copilot-cli/.github/skills/apex-microsoft-docs/SKILL.md +0 -53
  191. package/assets/client-projections/github-copilot-cli/.github/skills/apex-microsoft-docs/references/research-method.md +0 -91
  192. package/assets/client-projections/github-copilot-cli/.github/skills/apex-operations/SKILL.md +0 -34
  193. package/assets/client-projections/github-copilot-cli/.github/skills/apex-planning/SKILL.md +0 -36
  194. package/assets/client-projections/github-copilot-cli/.github/skills/apex-requirements/SKILL.md +0 -43
  195. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-import/SKILL.md +0 -47
  196. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-import/references/adoption-attestation.md +0 -10
  197. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-import/references/import-assessment.md +0 -14
  198. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-import/references/import-mapping.md +0 -27
  199. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-import/references/mapping-and-adoption-attestation.md +0 -12
  200. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-patterns/SKILL.md +0 -49
  201. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-patterns/references/module-composition-and-refactor.md +0 -20
  202. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-patterns/references/module-composition-and-state-boundaries.md +0 -11
  203. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-patterns/references/module-locks-and-codegen-acceptance.md +0 -14
  204. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-patterns/references/network-and-observability.md +0 -12
  205. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-patterns/references/plan-and-change-assessment.md +0 -24
  206. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-test/SKILL.md +0 -45
  207. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-test/references/evidence-acceptance.md +0 -10
  208. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-test/references/plan-mode-and-mock-design.md +0 -12
  209. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-test/references/plan-mode-test-design.md +0 -23
  210. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-test/references/test-design.md +0 -13
  211. package/assets/client-projections/github-copilot-cli/.github/skills/apex-workflow/SKILL.md +0 -37
  212. package/assets/client-projections/github-copilot-vscode/.github/agents/apex-architect.agent.md +0 -99
  213. package/assets/client-projections/github-copilot-vscode/.github/agents/apex-codegen.agent.md +0 -62
  214. package/assets/client-projections/github-copilot-vscode/.github/agents/apex-operator.agent.md +0 -79
  215. package/assets/client-projections/github-copilot-vscode/.github/agents/apex-planner.agent.md +0 -96
  216. package/assets/client-projections/github-copilot-vscode/.github/agents/apex-requirements.agent.md +0 -101
  217. package/assets/client-projections/github-copilot-vscode/.github/agents/apex-reviewer.agent.md +0 -59
  218. package/assets/client-projections/github-copilot-vscode/.github/agents/apex-validator.agent.md +0 -61
  219. package/assets/client-projections/github-copilot-vscode/.github/agents/apex.agent.md +0 -107
  220. package/assets/client-projections/github-copilot-vscode/.github/copilot-instructions.md +0 -13
  221. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-agent-authoring.instructions.md +0 -14
  222. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-artifact-contracts.instructions.md +0 -12
  223. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-automation.instructions.md +0 -12
  224. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-azure-yaml.instructions.md +0 -12
  225. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-bicep.instructions.md +0 -12
  226. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-code-quality.instructions.md +0 -12
  227. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-context.instructions.md +0 -12
  228. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-documentation.instructions.md +0 -12
  229. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-governance.instructions.md +0 -12
  230. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-instruction-authoring.instructions.md +0 -12
  231. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-javascript.instructions.md +0 -11
  232. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-json.instructions.md +0 -11
  233. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-markdown.instructions.md +0 -13
  234. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-powershell.instructions.md +0 -11
  235. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-prompt-authoring.instructions.md +0 -12
  236. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-python.instructions.md +0 -11
  237. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-safe-file-edits.instructions.md +0 -11
  238. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-safe-shell.instructions.md +0 -11
  239. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-shell.instructions.md +0 -11
  240. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-skill-authoring.instructions.md +0 -13
  241. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-terraform.instructions.md +0 -12
  242. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-architecture/SKILL.md +0 -36
  243. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/SKILL.md +0 -65
  244. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/references/presentation-conventions.md +0 -52
  245. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/references/reference-only-outlines.md +0 -78
  246. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/architecture-assessment.md +0 -35
  247. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/cost-estimate.md +0 -47
  248. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/deployment-summary.md +0 -35
  249. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/governance-constraints.md +0 -35
  250. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/implementation-plan.md +0 -43
  251. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/operations-runbook.md +0 -35
  252. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/requirements.md +0 -42
  253. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/resource-inventory.md +0 -29
  254. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-adr/SKILL.md +0 -52
  255. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-adr/references/decision-examples.md +0 -38
  256. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-adr/references/decision-guardrails.md +0 -36
  257. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-adr/references/decision-quality.md +0 -21
  258. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-adr/references/decision-record-fields.md +0 -57
  259. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cloud-migrate/SKILL.md +0 -55
  260. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cloud-migrate/references/lambda-to-functions-assessment.md +0 -29
  261. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cloud-migrate/references/migration-readiness.md +0 -27
  262. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cloud-migrate/references/staged-validation-handoff.md +0 -26
  263. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cloud-migrate/references/workload-mapping.md +0 -27
  264. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-compliance/SKILL.md +0 -58
  265. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-compliance/references/compliance-finding-criteria.md +0 -63
  266. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-compliance/references/operational-checklist.md +0 -24
  267. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-compute/SKILL.md +0 -36
  268. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-compute/references/compute-selection.md +0 -26
  269. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-compute/references/pricing-evidence.md +0 -11
  270. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-compute/references/recommendation-and-scale-rules.md +0 -44
  271. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cost-optimization/SKILL.md +0 -61
  272. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cost-optimization/references/cost-assessment-criteria.md +0 -61
  273. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cost-optimization/references/operational-checklist.md +0 -24
  274. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/SKILL.md +0 -59
  275. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/avm-binding-guidance.md +0 -29
  276. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/baseline-fallbacks.md +0 -53
  277. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/cost-monitoring.md +0 -47
  278. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/decision-boundaries.md +0 -19
  279. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/governance-effects.md +0 -28
  280. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/naming.md +0 -47
  281. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/network-planning.md +0 -47
  282. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/security-baseline.md +0 -40
  283. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/service-selection.md +0 -51
  284. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/tag-precedence.md +0 -31
  285. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-deploy/SKILL.md +0 -50
  286. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-deploy/references/operational-checklist.md +0 -26
  287. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-deploy/references/preview-recovery-verification.md +0 -48
  288. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-diagnostics/SKILL.md +0 -60
  289. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-diagnostics/references/diagnostic-interpretation.md +0 -42
  290. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-diagnostics/references/operational-checklist.md +0 -24
  291. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-governance/SKILL.md +0 -52
  292. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-governance/references/evidence-interpretation.md +0 -58
  293. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-governance/references/operational-checklist.md +0 -25
  294. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-kusto/SKILL.md +0 -58
  295. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-kusto/references/kql-evidence-interpretation.md +0 -41
  296. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-kusto/references/operational-checklist.md +0 -25
  297. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-prepare/SKILL.md +0 -52
  298. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-prepare/references/functions-recipe-pack.md +0 -27
  299. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-prepare/references/preparation-lineage.md +0 -36
  300. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-quotas/SKILL.md +0 -53
  301. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-quotas/references/capacity-decision-rules.md +0 -48
  302. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-quotas/references/operational-checklist.md +0 -23
  303. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-rbac/SKILL.md +0 -45
  304. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-rbac/references/assignment-intent.md +0 -39
  305. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-rbac/references/least-privilege-selection.md +0 -50
  306. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-resources/SKILL.md +0 -54
  307. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-resources/references/inventory-query-patterns.md +0 -49
  308. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-resources/references/operational-checklist.md +0 -24
  309. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-storage/SKILL.md +0 -35
  310. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-storage/references/security-and-governance.md +0 -12
  311. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-storage/references/service-auth-and-sdk-boundary.md +0 -33
  312. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-storage/references/storage-selection.md +0 -12
  313. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-validate/SKILL.md +0 -49
  314. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-validate/references/operational-checklist.md +0 -24
  315. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-validate/references/preflight-evidence.md +0 -43
  316. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-bicep-patterns/SKILL.md +0 -41
  317. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-bicep-patterns/references/avm-and-codegen-acceptance.md +0 -11
  318. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-bicep-patterns/references/codegen-acceptance-checklist.md +0 -46
  319. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-bicep-patterns/references/compiler-and-provider-gotchas.md +0 -74
  320. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-bicep-patterns/references/module-interfaces-and-parameters.md +0 -56
  321. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-bicep-patterns/references/network-and-observability.md +0 -52
  322. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-codegen/SKILL.md +0 -32
  323. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-entra-app-registration/SKILL.md +0 -53
  324. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-entra-app-registration/references/capability-receipts.md +0 -21
  325. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-entra-app-registration/references/design-and-diagnostics.md +0 -36
  326. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-entra-app-registration/references/oauth-registration-model.md +0 -26
  327. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-entra-app-registration/references/permissions-and-credentials.md +0 -27
  328. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-mermaid/SKILL.md +0 -44
  329. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-mermaid/references/styling.md +0 -33
  330. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-mermaid/references/syntax.md +0 -99
  331. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-microsoft-docs/SKILL.md +0 -53
  332. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-microsoft-docs/references/research-method.md +0 -91
  333. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-operations/SKILL.md +0 -34
  334. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-planning/SKILL.md +0 -36
  335. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-requirements/SKILL.md +0 -43
  336. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-import/SKILL.md +0 -47
  337. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-import/references/adoption-attestation.md +0 -10
  338. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-import/references/import-assessment.md +0 -14
  339. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-import/references/import-mapping.md +0 -27
  340. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-import/references/mapping-and-adoption-attestation.md +0 -12
  341. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-patterns/SKILL.md +0 -49
  342. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-patterns/references/module-composition-and-refactor.md +0 -20
  343. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-patterns/references/module-composition-and-state-boundaries.md +0 -11
  344. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-patterns/references/module-locks-and-codegen-acceptance.md +0 -14
  345. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-patterns/references/network-and-observability.md +0 -12
  346. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-patterns/references/plan-and-change-assessment.md +0 -24
  347. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-test/SKILL.md +0 -45
  348. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-test/references/evidence-acceptance.md +0 -10
  349. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-test/references/plan-mode-and-mock-design.md +0 -12
  350. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-test/references/plan-mode-test-design.md +0 -23
  351. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-test/references/test-design.md +0 -13
  352. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-workflow/SKILL.md +0 -37
  353. package/assets/client-projections/github-copilot-vscode/.vscode/mcp.json +0 -29
  354. package/assets/customizations/.github/agents/apex-architect.agent.md +0 -92
  355. package/assets/customizations/.github/agents/apex-operator.agent.md +0 -72
  356. package/assets/customizations/.github/agents/apex-planner.agent.md +0 -89
  357. package/assets/customizations/.github/agents/apex-requirements.agent.md +0 -94
  358. package/assets/customizations/.github/agents/apex-reviewer.agent.md +0 -56
  359. package/assets/customizations/.github/mcp.json +0 -60
  360. package/assets/customizations/.github/skills/apex-azure-prepare/references/functions-recipe-pack.md +0 -27
  361. package/assets/customizations/.vscode/mcp.json +0 -29
  362. package/dist/azure-mcp-environment.d.ts +0 -2
  363. package/dist/azure-mcp-environment.js +0 -7
  364. package/dist/azure-mcp.d.ts +0 -2
  365. package/dist/azure-mcp.js +0 -21
@@ -2,7 +2,7 @@ import { lstat, readFile, readdir } from "node:fs/promises";
2
2
  import { isAbsolute, join, posix, relative, resolve, sep } from "node:path";
3
3
  import { BoundEnvelopeTransport } from "@apexops/capabilities";
4
4
  import { SECRET_FIELD_PATTERN, SECRET_VALUE_PATTERN } from "@apexops/contracts";
5
- import { EventJournal, atomicWriteBytes, canonicalJsonBytes, sha256Bytes, sha256Json, } from "@apexops/kernel";
5
+ import { EventJournal, REPEAT_GUARD_FILE, atomicWriteBytes, canonicalJsonBytes, sha256Bytes, sha256Json, } from "@apexops/kernel";
6
6
  export const STATE_TRANSFER_KIND = "apex-repository-state";
7
7
  export const STATE_TRANSFER_MAX_BUNDLE_BYTES = 16 * 1024 * 1024;
8
8
  export const STATE_TRANSFER_MAX_FILE_BYTES = 4 * 1024 * 1024;
@@ -24,6 +24,14 @@ function safeRelativePath(path) {
24
24
  posix.normalize(path) === path);
25
25
  }
26
26
  function prohibitedStatePath(path) {
27
+ if (path
28
+ .split("/")
29
+ .some((part) => part.startsWith(".run-mutation.") ||
30
+ part === ".run-transaction.json" ||
31
+ part === ".run-writer-lease.json" ||
32
+ part === REPEAT_GUARD_FILE)) {
33
+ return true;
34
+ }
27
35
  return /(?:^|\/)(?:credentials?(?:\.json)?|terraform\.tfstate(?:\.[^/]*)?|[^/]+\.tfplan(?:\.enc)?|state-plans?)(?:\/|$)/i.test(path);
28
36
  }
29
37
  function requireIdentifier(value, label) {
@@ -98,6 +106,18 @@ async function walkRegularFiles(root, directory = root) {
98
106
  const path = join(directory, entry.name);
99
107
  if (entry.isSymbolicLink())
100
108
  throw new Error(`State transfer source contains a symlink: ${path}`);
109
+ if (directory === root) {
110
+ // The writer lease and repeat records describe this machine's worktrees and are never transferred.
111
+ if (entry.name === ".run-writer-lease.json" || entry.name === REPEAT_GUARD_FILE)
112
+ continue;
113
+ if (entry.name === ".run-mutation.lock" || entry.name === ".run-transaction.json") {
114
+ throw new Error("State transfer requires a quiescent run without pending mutation recovery");
115
+ }
116
+ if (entry.isDirectory() &&
117
+ (entry.name === ".run-mutation.retired" || entry.name.startsWith(".run-mutation.pending-"))) {
118
+ continue;
119
+ }
120
+ }
101
121
  if (entry.isDirectory())
102
122
  files.push(...(await walkRegularFiles(root, path)));
103
123
  else if (entry.isFile())
@@ -186,6 +206,9 @@ export async function createStateTransferBundle(root, options, now = new Date())
186
206
  throw new Error("State transfer envelope cannot outlive its writer-transfer claim");
187
207
  }
188
208
  const runRoot = join(state.apexRoot, "projects", state.selection.projectId, "runs", state.selection.runId);
209
+ const generationRoot = join(state.apexRoot, "runtime-generations", state.run.runtimeLockHash);
210
+ const generationAvailable = (await readOptionalRegular(join(generationRoot, "apex.lock.json"), "runtime generation lock")) !== undefined;
211
+ const runtimeRoot = generationAvailable ? generationRoot : join(state.apexRoot, "runtime");
189
212
  const paths = new Set([
190
213
  "config.json",
191
214
  "apex.lock.json",
@@ -195,11 +218,13 @@ export async function createStateTransferBundle(root, options, now = new Date())
195
218
  paths.add(".gitignore");
196
219
  }
197
220
  try {
198
- for (const entry of await readdir(join(state.apexRoot, "runtime"), { withFileTypes: true })) {
199
- if (entry.isSymbolicLink())
200
- throw new Error(`State transfer runtime contains a symlink: ${entry.name}`);
201
- if (entry.isFile() && entry.name.endsWith(".json"))
202
- paths.add(`runtime/${entry.name}`);
221
+ for (const sourceRoot of [...new Set([runtimeRoot, join(state.apexRoot, "runtime")])]) {
222
+ for (const entry of await readdir(sourceRoot, { withFileTypes: true })) {
223
+ if (entry.isSymbolicLink())
224
+ throw new Error(`State transfer runtime contains a symlink: ${entry.name}`);
225
+ if (entry.isFile() && entry.name.endsWith(".json"))
226
+ paths.add(`runtime/${entry.name}`);
227
+ }
203
228
  }
204
229
  }
205
230
  catch (error) {
@@ -211,9 +236,21 @@ export async function createStateTransferBundle(root, options, now = new Date())
211
236
  }
212
237
  const sourceFiles = [];
213
238
  for (const path of [...paths].sort()) {
239
+ let sourcePath = join(state.apexRoot, ...path.split("/"));
240
+ if (path === "apex.lock.json") {
241
+ sourcePath = generationAvailable ? join(runtimeRoot, "apex.lock.json") : join(state.apexRoot, "apex.lock.json");
242
+ }
243
+ if (path.startsWith("runtime/")) {
244
+ const relativeRuntimePath = path.slice("runtime/".length);
245
+ const generationPath = join(runtimeRoot, relativeRuntimePath);
246
+ sourcePath =
247
+ (await readOptionalRegular(generationPath, "runtime generation file")) === undefined
248
+ ? join(state.apexRoot, "runtime", relativeRuntimePath)
249
+ : generationPath;
250
+ }
214
251
  sourceFiles.push({
215
252
  path,
216
- bytes: await readRegular(join(state.apexRoot, ...path.split("/")), "State transfer file"),
253
+ bytes: await readRegular(sourcePath, "State transfer file"),
217
254
  });
218
255
  }
219
256
  const runPrefix = `projects/${state.selection.projectId}/runs/${state.selection.runId}/`;
@@ -0,0 +1,4 @@
1
+ export declare const TARGET_SCOPE_PATTERN: RegExp;
2
+ export declare const TARGET_SCOPE_HINT = "local or /subscriptions/<id>[/resourceGroups/<name>]";
3
+ export declare function assertTargetScope(value: string): string;
4
+ //# sourceMappingURL=target-scope.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { ApexError, EXIT_CODES } from "./errors.js";
2
+ export const TARGET_SCOPE_PATTERN = /^(?:local|\/subscriptions\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}(?:\/resourceGroups\/[-\w.()]{1,90})?)$/iu;
3
+ export const TARGET_SCOPE_HINT = "local or /subscriptions/<id>[/resourceGroups/<name>]";
4
+ export function assertTargetScope(value) {
5
+ if (!TARGET_SCOPE_PATTERN.test(value))
6
+ throw new ApexError("APEX_USAGE", `--target must be ${TARGET_SCOPE_HINT}`, EXIT_CODES.usage);
7
+ return value;
8
+ }
9
+ //# sourceMappingURL=target-scope.js.map
package/dist/version.d.ts CHANGED
@@ -1,2 +1,4 @@
1
- export declare const APEX_VERSION: "0.10.0-next.4";
1
+ export declare const APEX_VERSION: "0.11.0-next.0";
2
+ export declare const MINIMUM_NODE_VERSION: "24.21.0";
3
+ export declare function meetsMinimumVersion(current: string, minimum: string): boolean;
2
4
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,2 +1,20 @@
1
- export const APEX_VERSION = "0.10.0-next.4";
1
+ export const APEX_VERSION = "0.11.0-next.0";
2
+ export const MINIMUM_NODE_VERSION = "24.21.0";
3
+ export function meetsMinimumVersion(current, minimum) {
4
+ const currentParts = current.split(".").map(Number);
5
+ const minimumParts = minimum.split(".").map(Number);
6
+ if (currentParts.length !== 3 ||
7
+ minimumParts.length !== 3 ||
8
+ currentParts.some((part) => !Number.isInteger(part) || part < 0) ||
9
+ minimumParts.some((part) => !Number.isInteger(part) || part < 0)) {
10
+ return false;
11
+ }
12
+ for (let index = 0; index < 3; index += 1) {
13
+ const currentPart = currentParts[index] ?? 0;
14
+ const minimumPart = minimumParts[index] ?? 0;
15
+ if (currentPart !== minimumPart)
16
+ return currentPart > minimumPart;
17
+ }
18
+ return true;
19
+ }
2
20
  //# sourceMappingURL=version.js.map
@@ -1,5 +1,5 @@
1
- import { type ApprovalEvidenceV1, type ArchitectureAvailabilityV1, type ExecutionPlanAttestationV1, type GateRecordV1, type ImplementationIntentV1, type OperationRecordV1, type QualityMeasurementsV1, type QualityScorecardV1, type ResourceInventoryV1, type RunConfigV1, type DeploymentPreviewV1 } from "@apexops/contracts";
2
- import { type ValidatorRegistry } from "@apexops/kernel";
1
+ import { type ApprovalEvidenceV1, type ArchitectureAvailabilityV1, type ExecutionPlanAttestationV1, type GateRecordV1, type IacBindingV1, type ImplementationIntentV1, type LogicalResourceManifestV1, type OperationRecordV1, type PolicyValidationBinding, type QualityMeasurementsV1, type QualityScorecardV1, type ResourceInventoryV1, type RunConfigV1, type DeploymentPreviewV1 } from "@apexops/contracts";
2
+ import { type ValidationIssue, type ValidatorRegistry } from "@apexops/kernel";
3
3
  export interface WorkflowTaskValidatorContext {
4
4
  readonly nodeId: string;
5
5
  readonly now: string;
@@ -14,6 +14,7 @@ export interface WorkflowTaskValidatorContext {
14
14
  readonly availabilityEvidence?: ArchitectureAvailabilityV1;
15
15
  readonly deploymentOperation?: OperationRecordV1;
16
16
  readonly deploymentInventory?: ResourceInventoryV1;
17
+ readonly importedPolicyEffects?: readonly string[];
17
18
  }
18
19
  export interface WorkflowGateValidatorContext {
19
20
  readonly gateNumber: number;
@@ -26,7 +27,6 @@ export interface WorkflowGateValidatorContext {
26
27
  readonly reviewBlockers: readonly string[];
27
28
  readonly expectedDependencyHash?: string;
28
29
  readonly currentDependencyRevision: string;
29
- readonly legacyRequirements: boolean;
30
30
  readonly expectedApprovalRecipientIdentity: string;
31
31
  readonly provedPreviewTransferClaimHash?: string;
32
32
  readonly preview?: DeploymentPreviewV1;
@@ -44,7 +44,12 @@ export interface WorkflowPreviewValidatorContext {
44
44
  readonly currentDependencyRevision: string;
45
45
  readonly expectedResourceIds: readonly string[];
46
46
  readonly intendedExecutionRecipientIdentity: string;
47
+ readonly ownershipIssues?: readonly ValidationIssue[];
48
+ readonly protectedResourceIds?: readonly string[];
47
49
  readonly attestation?: ExecutionPlanAttestationV1;
50
+ readonly policyValidationBinding?: PolicyValidationBinding & {
51
+ readonly receiptHash: string;
52
+ };
48
53
  }
49
54
  export interface WorkflowDeployValidatorContext {
50
55
  readonly now: string;
@@ -64,6 +69,18 @@ export interface WorkflowDeployValidatorContext {
64
69
  readonly validatorIds: readonly string[];
65
70
  };
66
71
  }
72
+ export interface NativeBicepResourceOwnership {
73
+ readonly expectedResourceIds: readonly string[];
74
+ readonly resourceIdsByLogicalId: Readonly<Record<string, string>>;
75
+ readonly protectedResourceIds: readonly string[];
76
+ readonly issues: readonly ValidationIssue[];
77
+ }
78
+ export declare function resolveNativeBicepResourceOwnership(context: {
79
+ readonly intent: ImplementationIntentV1;
80
+ readonly binding: IacBindingV1;
81
+ readonly manifest: LogicalResourceManifestV1;
82
+ readonly targetScope: string;
83
+ }): NativeBicepResourceOwnership;
67
84
  export interface WorkflowInventoryValidatorContext {
68
85
  readonly run: RunConfigV1;
69
86
  readonly preview: DeploymentPreviewV1;