@apexops/cli 0.10.0-next.5 → 0.11.0-next.1

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 (366) hide show
  1. package/assets/capability-packs/registry.v1.json +1 -62
  2. package/assets/client-projection-metadata/copilot-cli-agent-tools.json +12 -0
  3. package/assets/client-projections/github-copilot-cli/.github/copilot/settings.json +13 -0
  4. package/assets/client-projections/github-copilot-cli/.github/instructions/apex-prompt-authoring.instructions.md +1 -1
  5. package/assets/client-projections/github-copilot-cli/.github/workflows/governance-policy-baseline.yml +101 -0
  6. package/assets/client-projections/github-copilot-cli/tools/schemas/governance-baseline.schema.json +118 -0
  7. package/assets/client-projections/github-copilot-cli/tools/scripts/collect-governance-baseline.ps1 +817 -0
  8. package/assets/config/capability-packs.v1.json +1 -32
  9. package/assets/config/governance-reference.v1.json +26379 -0
  10. package/assets/config/recipe-packs.v1.json +1 -26
  11. package/assets/config/runtime-bundle.v1.json +7 -7
  12. package/assets/config/toolchain.v1.json +35 -33
  13. package/assets/config/workflow.v1.json +103 -72
  14. package/assets/customizations/.github/agents/apex-codegen.agent.md +8 -22
  15. package/assets/customizations/.github/agents/apex-validator.agent.md +14 -20
  16. package/assets/customizations/.github/agents/apex.agent.md +108 -75
  17. package/assets/customizations/.github/copilot/settings.json +13 -0
  18. package/assets/customizations/.github/instructions/apex-prompt-authoring.instructions.md +1 -1
  19. package/assets/customizations/.github/skills/apex-architecture/SKILL.md +62 -18
  20. package/assets/customizations/.github/skills/apex-artifacts/SKILL.md +28 -6
  21. package/assets/customizations/.github/skills/apex-azure-adr/SKILL.md +3 -0
  22. package/assets/customizations/.github/skills/apex-azure-cloud-migrate/SKILL.md +3 -0
  23. package/assets/customizations/.github/skills/apex-azure-compliance/SKILL.md +3 -0
  24. package/assets/customizations/.github/skills/apex-azure-compute/SKILL.md +3 -0
  25. package/assets/customizations/.github/skills/apex-azure-cost-optimization/SKILL.md +3 -0
  26. package/assets/customizations/.github/skills/apex-azure-defaults/SKILL.md +3 -0
  27. package/assets/customizations/.github/skills/apex-azure-defaults/references/governance-effects.md +5 -3
  28. package/assets/customizations/.github/skills/apex-azure-deploy/SKILL.md +3 -0
  29. package/assets/customizations/.github/skills/apex-azure-diagnostics/SKILL.md +3 -0
  30. package/assets/customizations/.github/skills/apex-azure-governance/SKILL.md +19 -3
  31. package/assets/customizations/.github/skills/apex-azure-governance/references/evidence-interpretation.md +38 -3
  32. package/assets/customizations/.github/skills/apex-azure-kusto/SKILL.md +3 -0
  33. package/assets/customizations/.github/skills/apex-azure-prepare/SKILL.md +5 -3
  34. package/assets/customizations/.github/skills/apex-azure-quotas/SKILL.md +6 -2
  35. package/assets/customizations/.github/skills/apex-azure-quotas/references/capacity-decision-rules.md +4 -3
  36. package/assets/customizations/.github/skills/apex-azure-quotas/references/operational-checklist.md +3 -2
  37. package/assets/customizations/.github/skills/apex-azure-rbac/SKILL.md +3 -0
  38. package/assets/customizations/.github/skills/apex-azure-resources/SKILL.md +3 -0
  39. package/assets/customizations/.github/skills/apex-azure-storage/SKILL.md +3 -0
  40. package/assets/customizations/.github/skills/apex-azure-validate/SKILL.md +3 -0
  41. package/assets/customizations/.github/skills/apex-bicep-patterns/SKILL.md +3 -0
  42. package/assets/customizations/.github/skills/apex-codegen/SKILL.md +6 -2
  43. package/assets/customizations/.github/skills/apex-entra-app-registration/SKILL.md +3 -0
  44. package/assets/customizations/.github/skills/apex-mermaid/SKILL.md +3 -0
  45. package/assets/customizations/.github/skills/apex-microsoft-docs/SKILL.md +3 -0
  46. package/assets/customizations/.github/skills/apex-next/SKILL.md +99 -0
  47. package/assets/customizations/.github/skills/apex-operations/SKILL.md +46 -16
  48. package/assets/customizations/.github/skills/apex-planning/SKILL.md +48 -19
  49. package/assets/customizations/.github/skills/apex-requirements/SKILL.md +61 -26
  50. package/assets/customizations/.github/skills/apex-terraform-import/SKILL.md +3 -0
  51. package/assets/customizations/.github/skills/apex-terraform-patterns/SKILL.md +3 -0
  52. package/assets/customizations/.github/skills/apex-terraform-test/SKILL.md +3 -0
  53. package/assets/customizations/.github/skills/apex-unslop/LICENSE.txt +21 -0
  54. package/assets/customizations/.github/skills/apex-unslop/SKILL.md +94 -0
  55. package/assets/customizations/.github/skills/apex-workflow/SKILL.md +15 -5
  56. package/assets/customizations/.github/workflows/governance-policy-baseline.yml +101 -0
  57. package/assets/customizations/README.md +8 -9
  58. package/assets/customizations/manifest.json +167 -209
  59. package/assets/customizations/tools/schemas/governance-baseline.schema.json +118 -0
  60. package/assets/customizations/tools/scripts/collect-governance-baseline.ps1 +817 -0
  61. package/assets/manifest.json +423 -4241
  62. package/assets/schemas/governance-baseline.schema.json +118 -0
  63. package/dist/assets.d.ts +18 -2
  64. package/dist/assets.js +115 -35
  65. package/dist/bootstrap-wizard.d.ts +37 -0
  66. package/dist/bootstrap-wizard.js +259 -0
  67. package/dist/cli.d.ts +17 -2
  68. package/dist/cli.js +180 -63
  69. package/dist/dependency-revision.js +8 -0
  70. package/dist/errors.d.ts +6 -1
  71. package/dist/errors.js +55 -0
  72. package/dist/host-profile.d.ts +47 -0
  73. package/dist/host-profile.js +269 -0
  74. package/dist/mcp-output-schemas.d.ts +43 -0
  75. package/dist/mcp-output-schemas.js +279 -0
  76. package/dist/mcp-tool-effects.d.ts +101 -0
  77. package/dist/mcp-tool-effects.js +66 -0
  78. package/dist/mcp.d.ts +50 -3
  79. package/dist/mcp.js +800 -87
  80. package/dist/runtime-binding.d.ts +37 -0
  81. package/dist/runtime-binding.js +131 -0
  82. package/dist/service.d.ts +643 -38
  83. package/dist/service.js +4937 -662
  84. package/dist/state-transfer.js +21 -1
  85. package/dist/target-scope.d.ts +4 -0
  86. package/dist/target-scope.js +9 -0
  87. package/dist/version.d.ts +3 -1
  88. package/dist/version.js +19 -1
  89. package/dist/workflow-validators.d.ts +20 -3
  90. package/dist/workflow-validators.js +408 -67
  91. package/dist/workspace-root.d.ts +7 -0
  92. package/dist/workspace-root.js +67 -0
  93. package/package.json +11 -12
  94. package/assets/capability-packs/azure-governance-discovery/source/scripts/discover.py +0 -1189
  95. package/assets/capability-packs/azure-governance-discovery/source/scripts/render_governance.py +0 -676
  96. package/assets/client-projections/github-copilot-cli/.github/agents/apex-architect.agent.md +0 -91
  97. package/assets/client-projections/github-copilot-cli/.github/agents/apex-operator.agent.md +0 -75
  98. package/assets/client-projections/github-copilot-cli/.github/agents/apex-planner.agent.md +0 -88
  99. package/assets/client-projections/github-copilot-cli/.github/agents/apex-requirements.agent.md +0 -99
  100. package/assets/client-projections/github-copilot-cli/.github/agents/apex.agent.md +0 -88
  101. package/assets/client-projections/github-copilot-cli/.github/mcp.json +0 -65
  102. package/assets/client-projections/github-copilot-cli/.github/skills/apex-architecture/SKILL.md +0 -36
  103. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/SKILL.md +0 -65
  104. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/references/presentation-conventions.md +0 -52
  105. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/references/reference-only-outlines.md +0 -78
  106. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/architecture-assessment.md +0 -35
  107. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/cost-estimate.md +0 -47
  108. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/deployment-summary.md +0 -35
  109. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/governance-constraints.md +0 -35
  110. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/implementation-plan.md +0 -43
  111. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/operations-runbook.md +0 -35
  112. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/requirements.md +0 -42
  113. package/assets/client-projections/github-copilot-cli/.github/skills/apex-artifacts/templates/resource-inventory.md +0 -29
  114. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-adr/SKILL.md +0 -52
  115. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-adr/references/decision-examples.md +0 -38
  116. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-adr/references/decision-guardrails.md +0 -36
  117. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-adr/references/decision-quality.md +0 -21
  118. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-adr/references/decision-record-fields.md +0 -57
  119. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cloud-migrate/SKILL.md +0 -55
  120. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cloud-migrate/references/lambda-to-functions-assessment.md +0 -29
  121. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cloud-migrate/references/migration-readiness.md +0 -27
  122. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cloud-migrate/references/staged-validation-handoff.md +0 -26
  123. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cloud-migrate/references/workload-mapping.md +0 -27
  124. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-compliance/SKILL.md +0 -58
  125. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-compliance/references/compliance-finding-criteria.md +0 -63
  126. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-compliance/references/operational-checklist.md +0 -24
  127. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-compute/SKILL.md +0 -36
  128. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-compute/references/compute-selection.md +0 -26
  129. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-compute/references/pricing-evidence.md +0 -11
  130. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-compute/references/recommendation-and-scale-rules.md +0 -44
  131. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cost-optimization/SKILL.md +0 -61
  132. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cost-optimization/references/cost-assessment-criteria.md +0 -61
  133. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-cost-optimization/references/operational-checklist.md +0 -24
  134. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/SKILL.md +0 -59
  135. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/avm-binding-guidance.md +0 -29
  136. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/baseline-fallbacks.md +0 -53
  137. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/cost-monitoring.md +0 -47
  138. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/decision-boundaries.md +0 -19
  139. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/governance-effects.md +0 -28
  140. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/naming.md +0 -47
  141. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/network-planning.md +0 -47
  142. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/security-baseline.md +0 -40
  143. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/service-selection.md +0 -51
  144. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-defaults/references/tag-precedence.md +0 -31
  145. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-deploy/SKILL.md +0 -50
  146. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-deploy/references/operational-checklist.md +0 -26
  147. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-deploy/references/preview-recovery-verification.md +0 -48
  148. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-diagnostics/SKILL.md +0 -60
  149. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-diagnostics/references/diagnostic-interpretation.md +0 -42
  150. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-diagnostics/references/operational-checklist.md +0 -24
  151. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-governance/SKILL.md +0 -52
  152. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-governance/references/evidence-interpretation.md +0 -58
  153. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-governance/references/operational-checklist.md +0 -25
  154. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-kusto/SKILL.md +0 -58
  155. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-kusto/references/kql-evidence-interpretation.md +0 -41
  156. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-kusto/references/operational-checklist.md +0 -25
  157. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-prepare/SKILL.md +0 -52
  158. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-prepare/references/functions-recipe-pack.md +0 -27
  159. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-prepare/references/preparation-lineage.md +0 -36
  160. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-quotas/SKILL.md +0 -53
  161. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-quotas/references/capacity-decision-rules.md +0 -48
  162. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-quotas/references/operational-checklist.md +0 -23
  163. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-rbac/SKILL.md +0 -45
  164. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-rbac/references/assignment-intent.md +0 -39
  165. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-rbac/references/least-privilege-selection.md +0 -50
  166. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-resources/SKILL.md +0 -54
  167. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-resources/references/inventory-query-patterns.md +0 -49
  168. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-resources/references/operational-checklist.md +0 -24
  169. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-storage/SKILL.md +0 -35
  170. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-storage/references/security-and-governance.md +0 -12
  171. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-storage/references/service-auth-and-sdk-boundary.md +0 -33
  172. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-storage/references/storage-selection.md +0 -12
  173. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-validate/SKILL.md +0 -49
  174. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-validate/references/operational-checklist.md +0 -24
  175. package/assets/client-projections/github-copilot-cli/.github/skills/apex-azure-validate/references/preflight-evidence.md +0 -43
  176. package/assets/client-projections/github-copilot-cli/.github/skills/apex-bicep-patterns/SKILL.md +0 -41
  177. package/assets/client-projections/github-copilot-cli/.github/skills/apex-bicep-patterns/references/avm-and-codegen-acceptance.md +0 -11
  178. package/assets/client-projections/github-copilot-cli/.github/skills/apex-bicep-patterns/references/codegen-acceptance-checklist.md +0 -46
  179. package/assets/client-projections/github-copilot-cli/.github/skills/apex-bicep-patterns/references/compiler-and-provider-gotchas.md +0 -74
  180. package/assets/client-projections/github-copilot-cli/.github/skills/apex-bicep-patterns/references/module-interfaces-and-parameters.md +0 -56
  181. package/assets/client-projections/github-copilot-cli/.github/skills/apex-bicep-patterns/references/network-and-observability.md +0 -52
  182. package/assets/client-projections/github-copilot-cli/.github/skills/apex-codegen/SKILL.md +0 -32
  183. package/assets/client-projections/github-copilot-cli/.github/skills/apex-entra-app-registration/SKILL.md +0 -53
  184. package/assets/client-projections/github-copilot-cli/.github/skills/apex-entra-app-registration/references/capability-receipts.md +0 -21
  185. package/assets/client-projections/github-copilot-cli/.github/skills/apex-entra-app-registration/references/design-and-diagnostics.md +0 -36
  186. package/assets/client-projections/github-copilot-cli/.github/skills/apex-entra-app-registration/references/oauth-registration-model.md +0 -26
  187. package/assets/client-projections/github-copilot-cli/.github/skills/apex-entra-app-registration/references/permissions-and-credentials.md +0 -27
  188. package/assets/client-projections/github-copilot-cli/.github/skills/apex-mermaid/SKILL.md +0 -44
  189. package/assets/client-projections/github-copilot-cli/.github/skills/apex-mermaid/references/styling.md +0 -33
  190. package/assets/client-projections/github-copilot-cli/.github/skills/apex-mermaid/references/syntax.md +0 -99
  191. package/assets/client-projections/github-copilot-cli/.github/skills/apex-microsoft-docs/SKILL.md +0 -53
  192. package/assets/client-projections/github-copilot-cli/.github/skills/apex-microsoft-docs/references/research-method.md +0 -91
  193. package/assets/client-projections/github-copilot-cli/.github/skills/apex-operations/SKILL.md +0 -34
  194. package/assets/client-projections/github-copilot-cli/.github/skills/apex-planning/SKILL.md +0 -36
  195. package/assets/client-projections/github-copilot-cli/.github/skills/apex-requirements/SKILL.md +0 -46
  196. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-import/SKILL.md +0 -47
  197. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-import/references/adoption-attestation.md +0 -10
  198. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-import/references/import-assessment.md +0 -14
  199. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-import/references/import-mapping.md +0 -27
  200. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-import/references/mapping-and-adoption-attestation.md +0 -12
  201. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-patterns/SKILL.md +0 -49
  202. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-patterns/references/module-composition-and-refactor.md +0 -20
  203. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-patterns/references/module-composition-and-state-boundaries.md +0 -11
  204. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-patterns/references/module-locks-and-codegen-acceptance.md +0 -14
  205. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-patterns/references/network-and-observability.md +0 -12
  206. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-patterns/references/plan-and-change-assessment.md +0 -24
  207. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-test/SKILL.md +0 -45
  208. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-test/references/evidence-acceptance.md +0 -10
  209. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-test/references/plan-mode-and-mock-design.md +0 -12
  210. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-test/references/plan-mode-test-design.md +0 -23
  211. package/assets/client-projections/github-copilot-cli/.github/skills/apex-terraform-test/references/test-design.md +0 -13
  212. package/assets/client-projections/github-copilot-cli/.github/skills/apex-workflow/SKILL.md +0 -37
  213. package/assets/client-projections/github-copilot-vscode/.github/agents/apex-architect.agent.md +0 -100
  214. package/assets/client-projections/github-copilot-vscode/.github/agents/apex-codegen.agent.md +0 -62
  215. package/assets/client-projections/github-copilot-vscode/.github/agents/apex-operator.agent.md +0 -79
  216. package/assets/client-projections/github-copilot-vscode/.github/agents/apex-planner.agent.md +0 -98
  217. package/assets/client-projections/github-copilot-vscode/.github/agents/apex-requirements.agent.md +0 -108
  218. package/assets/client-projections/github-copilot-vscode/.github/agents/apex-reviewer.agent.md +0 -63
  219. package/assets/client-projections/github-copilot-vscode/.github/agents/apex-validator.agent.md +0 -61
  220. package/assets/client-projections/github-copilot-vscode/.github/agents/apex.agent.md +0 -107
  221. package/assets/client-projections/github-copilot-vscode/.github/copilot-instructions.md +0 -13
  222. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-agent-authoring.instructions.md +0 -14
  223. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-artifact-contracts.instructions.md +0 -12
  224. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-automation.instructions.md +0 -12
  225. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-azure-yaml.instructions.md +0 -12
  226. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-bicep.instructions.md +0 -12
  227. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-code-quality.instructions.md +0 -12
  228. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-context.instructions.md +0 -12
  229. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-documentation.instructions.md +0 -12
  230. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-governance.instructions.md +0 -12
  231. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-instruction-authoring.instructions.md +0 -12
  232. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-javascript.instructions.md +0 -11
  233. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-json.instructions.md +0 -11
  234. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-markdown.instructions.md +0 -13
  235. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-powershell.instructions.md +0 -11
  236. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-prompt-authoring.instructions.md +0 -12
  237. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-python.instructions.md +0 -11
  238. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-safe-file-edits.instructions.md +0 -11
  239. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-safe-shell.instructions.md +0 -11
  240. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-shell.instructions.md +0 -11
  241. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-skill-authoring.instructions.md +0 -13
  242. package/assets/client-projections/github-copilot-vscode/.github/instructions/apex-terraform.instructions.md +0 -12
  243. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-architecture/SKILL.md +0 -36
  244. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/SKILL.md +0 -65
  245. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/references/presentation-conventions.md +0 -52
  246. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/references/reference-only-outlines.md +0 -78
  247. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/architecture-assessment.md +0 -35
  248. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/cost-estimate.md +0 -47
  249. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/deployment-summary.md +0 -35
  250. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/governance-constraints.md +0 -35
  251. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/implementation-plan.md +0 -43
  252. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/operations-runbook.md +0 -35
  253. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/requirements.md +0 -42
  254. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-artifacts/templates/resource-inventory.md +0 -29
  255. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-adr/SKILL.md +0 -52
  256. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-adr/references/decision-examples.md +0 -38
  257. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-adr/references/decision-guardrails.md +0 -36
  258. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-adr/references/decision-quality.md +0 -21
  259. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-adr/references/decision-record-fields.md +0 -57
  260. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cloud-migrate/SKILL.md +0 -55
  261. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cloud-migrate/references/lambda-to-functions-assessment.md +0 -29
  262. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cloud-migrate/references/migration-readiness.md +0 -27
  263. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cloud-migrate/references/staged-validation-handoff.md +0 -26
  264. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cloud-migrate/references/workload-mapping.md +0 -27
  265. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-compliance/SKILL.md +0 -58
  266. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-compliance/references/compliance-finding-criteria.md +0 -63
  267. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-compliance/references/operational-checklist.md +0 -24
  268. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-compute/SKILL.md +0 -36
  269. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-compute/references/compute-selection.md +0 -26
  270. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-compute/references/pricing-evidence.md +0 -11
  271. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-compute/references/recommendation-and-scale-rules.md +0 -44
  272. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cost-optimization/SKILL.md +0 -61
  273. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cost-optimization/references/cost-assessment-criteria.md +0 -61
  274. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-cost-optimization/references/operational-checklist.md +0 -24
  275. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/SKILL.md +0 -59
  276. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/avm-binding-guidance.md +0 -29
  277. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/baseline-fallbacks.md +0 -53
  278. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/cost-monitoring.md +0 -47
  279. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/decision-boundaries.md +0 -19
  280. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/governance-effects.md +0 -28
  281. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/naming.md +0 -47
  282. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/network-planning.md +0 -47
  283. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/security-baseline.md +0 -40
  284. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/service-selection.md +0 -51
  285. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-defaults/references/tag-precedence.md +0 -31
  286. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-deploy/SKILL.md +0 -50
  287. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-deploy/references/operational-checklist.md +0 -26
  288. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-deploy/references/preview-recovery-verification.md +0 -48
  289. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-diagnostics/SKILL.md +0 -60
  290. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-diagnostics/references/diagnostic-interpretation.md +0 -42
  291. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-diagnostics/references/operational-checklist.md +0 -24
  292. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-governance/SKILL.md +0 -52
  293. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-governance/references/evidence-interpretation.md +0 -58
  294. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-governance/references/operational-checklist.md +0 -25
  295. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-kusto/SKILL.md +0 -58
  296. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-kusto/references/kql-evidence-interpretation.md +0 -41
  297. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-kusto/references/operational-checklist.md +0 -25
  298. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-prepare/SKILL.md +0 -52
  299. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-prepare/references/functions-recipe-pack.md +0 -27
  300. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-prepare/references/preparation-lineage.md +0 -36
  301. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-quotas/SKILL.md +0 -53
  302. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-quotas/references/capacity-decision-rules.md +0 -48
  303. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-quotas/references/operational-checklist.md +0 -23
  304. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-rbac/SKILL.md +0 -45
  305. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-rbac/references/assignment-intent.md +0 -39
  306. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-rbac/references/least-privilege-selection.md +0 -50
  307. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-resources/SKILL.md +0 -54
  308. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-resources/references/inventory-query-patterns.md +0 -49
  309. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-resources/references/operational-checklist.md +0 -24
  310. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-storage/SKILL.md +0 -35
  311. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-storage/references/security-and-governance.md +0 -12
  312. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-storage/references/service-auth-and-sdk-boundary.md +0 -33
  313. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-storage/references/storage-selection.md +0 -12
  314. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-validate/SKILL.md +0 -49
  315. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-validate/references/operational-checklist.md +0 -24
  316. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-azure-validate/references/preflight-evidence.md +0 -43
  317. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-bicep-patterns/SKILL.md +0 -41
  318. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-bicep-patterns/references/avm-and-codegen-acceptance.md +0 -11
  319. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-bicep-patterns/references/codegen-acceptance-checklist.md +0 -46
  320. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-bicep-patterns/references/compiler-and-provider-gotchas.md +0 -74
  321. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-bicep-patterns/references/module-interfaces-and-parameters.md +0 -56
  322. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-bicep-patterns/references/network-and-observability.md +0 -52
  323. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-codegen/SKILL.md +0 -32
  324. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-entra-app-registration/SKILL.md +0 -53
  325. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-entra-app-registration/references/capability-receipts.md +0 -21
  326. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-entra-app-registration/references/design-and-diagnostics.md +0 -36
  327. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-entra-app-registration/references/oauth-registration-model.md +0 -26
  328. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-entra-app-registration/references/permissions-and-credentials.md +0 -27
  329. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-mermaid/SKILL.md +0 -44
  330. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-mermaid/references/styling.md +0 -33
  331. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-mermaid/references/syntax.md +0 -99
  332. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-microsoft-docs/SKILL.md +0 -53
  333. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-microsoft-docs/references/research-method.md +0 -91
  334. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-operations/SKILL.md +0 -34
  335. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-planning/SKILL.md +0 -36
  336. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-requirements/SKILL.md +0 -46
  337. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-import/SKILL.md +0 -47
  338. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-import/references/adoption-attestation.md +0 -10
  339. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-import/references/import-assessment.md +0 -14
  340. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-import/references/import-mapping.md +0 -27
  341. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-import/references/mapping-and-adoption-attestation.md +0 -12
  342. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-patterns/SKILL.md +0 -49
  343. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-patterns/references/module-composition-and-refactor.md +0 -20
  344. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-patterns/references/module-composition-and-state-boundaries.md +0 -11
  345. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-patterns/references/module-locks-and-codegen-acceptance.md +0 -14
  346. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-patterns/references/network-and-observability.md +0 -12
  347. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-patterns/references/plan-and-change-assessment.md +0 -24
  348. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-test/SKILL.md +0 -45
  349. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-test/references/evidence-acceptance.md +0 -10
  350. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-test/references/plan-mode-and-mock-design.md +0 -12
  351. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-test/references/plan-mode-test-design.md +0 -23
  352. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-terraform-test/references/test-design.md +0 -13
  353. package/assets/client-projections/github-copilot-vscode/.github/skills/apex-workflow/SKILL.md +0 -37
  354. package/assets/client-projections/github-copilot-vscode/.vscode/mcp.json +0 -29
  355. package/assets/customizations/.github/agents/apex-architect.agent.md +0 -93
  356. package/assets/customizations/.github/agents/apex-operator.agent.md +0 -72
  357. package/assets/customizations/.github/agents/apex-planner.agent.md +0 -91
  358. package/assets/customizations/.github/agents/apex-requirements.agent.md +0 -101
  359. package/assets/customizations/.github/agents/apex-reviewer.agent.md +0 -60
  360. package/assets/customizations/.github/mcp.json +0 -65
  361. package/assets/customizations/.github/skills/apex-azure-prepare/references/functions-recipe-pack.md +0 -27
  362. package/assets/customizations/.vscode/mcp.json +0 -29
  363. package/dist/azure-mcp-environment.d.ts +0 -2
  364. package/dist/azure-mcp-environment.js +0 -7
  365. package/dist/azure-mcp.d.ts +0 -2
  366. package/dist/azure-mcp.js +0 -21
@@ -1,46 +1,81 @@
1
1
  ---
2
2
  name: apex-requirements
3
- description: "Provides internal APEX requirements guidance for typed intake, scope, constraints, and budget."
3
+ description: "Provides internal APEX requirements guidance for typed intake, scope, constraints, service preferences and Gate 1."
4
4
  user-invocable: false
5
5
  ---
6
6
 
7
+ When calling any `apex/*` MCP tool, include the current session checkout or worktree as the required absolute
8
+ `workspace` path.
9
+
7
10
  ## APEX Requirements
8
11
 
9
- Use this skill only for an active requirements task.
12
+ Use this skill only when the kernel routes the active foreground `APEX` agent to a requirements input request, review
13
+ or task.
10
14
 
11
15
  ## Prerequisites
12
16
 
13
- - `apex/taskContext` returns a requirements task envelope.
14
- - The interactive Requirements agent is active when user input may be needed.
17
+ - Call `apex/status` first, then `apex/nextTask` only when status leaves runnable requirements work.
18
+ - Task context is read only for `status=task` with a requirements task ID.
15
19
  - The kernel's returned input request is the authoritative requirements question catalog.
20
+ - Apply the user's requested outcome and stop point before work begins. A prior handoff cannot expand scope. For
21
+ intake-only scope, stop after the matching intake context and do not submit artifacts, start review or ask for
22
+ approval.
16
23
 
17
24
  ## Workflow
18
25
 
19
- 1. Call `apex/nextTask`. Validate that a returned `task` is owned by the requirements role before reading its context.
20
- 2. When it returns `needs_input`, use its `intake` metadata and `questions` exactly as returned; do not maintain a
21
- separate client-side question list.
22
- 3. Ask the returned questions through the active client projection's question mechanism. Record each response as a
23
- supplied value, typed unknown, or explicit deferral with its owner; never replace an unknown with an inferred value.
24
- 4. Submit that request only through `apex/recordInput`, preserving its request ID, expected journal head, and owner
25
- epoch.
26
- 5. Call `apex/nextTask` again and repeat until it returns a requirements `task`; only then read `apex/taskContext`.
27
- 6. Treat service questions in the workload panel as a preference boundary. Present the kernel recommendation, then
28
- capture retained, prohibited, and preferred services, SKU preferences, and environment overrides without selecting
29
- architecture, SKUs, or implementation details.
30
- 7. Submit the task-context-defined output through `apex/requirementsComplete`, invoke the required Reviewer, and handle
31
- `needs_review` through one native findings panel and `apex/reviewDecide`.
32
- 8. After a clean or fully dispositioned review, ask for explicit Gate 1 approval. Call `apex/gateDecide` only after the
33
- user chooses Proceed, then continue to Architecture in the same turn.
34
-
35
- The kernel catalog and its versioned input contracts are authoritative. Do not choose architecture, SKUs, or
36
- implementation details while gathering requirements.
26
+ 1. Reuse facts the user already supplied in the current request. Present matching supplied facts as recommended
27
+ confirmations when the kernel asks for them; do not make the user retype them, and do not record them until the user
28
+ confirms or corrects them. Ask only for missing values. Never invent a project value, target, environment, IaC tool,
29
+ service preference, budget posture, unknown, deferral, owner, risk acceptance or approval.
30
+ 2. For `status=needs_input`, ask every returned question through `ask_user` in chat. Use native single-select or
31
+ multi-select controls without adding or reordering kernel options. If native multi-select is unavailable, show the
32
+ exact kernel options numbered in kernel order, collect the numbers, resolve them back to option values, and confirm
33
+ the complete selection before recording. Invalid, duplicate, empty, ambiguous or out-of-range entries require
34
+ correction. Recommendations are proposals only; never submit them without confirmation.
35
+ When the request includes intake metadata, report the round as `request.intake.ordinal` of
36
+ `request.intake.total` and continue through each remaining intake round only up to the user's requested stop point;
37
+ each round has its own request ID and must be recorded separately.
38
+ 3. Submit accepted answers only through `apex/recordInput` with the exact request ID, expected head and owner epoch from
39
+ the request, plus one typed answer per question. Preserve arrays and typed values such as classifications,
40
+ compliance selections, explicit deferrals and unknowns. A chat answer is not kernel acceptance; wait for
41
+ `recorded: true` before advancing.
42
+ 4. After accepted input, call `apex/nextTask` again. Do not poll unresolved input or review. For `needs_review`, present
43
+ the findings in one decision panel and submit permitted decisions through `apex/reviewDecide`.
44
+ 5. For `status=task`, call `apex/taskContext` with the exact `task.taskId`. If the context is externalized, read it in
45
+ bounded chunks through `apex/readTaskInput`. Use `taskContext.recordedInput` and `outputTemplates` as the complete
46
+ contract; do not read repository schemas or session history.
47
+ 6. Build the requirements output with business context, measurable success criteria, non-functional requirements,
48
+ security/compliance posture, budget and operations posture, regional constraints and candidate-service rationale for
49
+ Architecture. Treat stated performance and scale values as later-validated goals. If none are provided, record
50
+ `Performance and scale: check later (validated at a later stage)` rather than asking supplemental questions.
51
+ 7. Treat Azure services as candidates. Recommend viable compute, data, integration, identity and observability options
52
+ with concise fit and trade-off rationale, but never record a service or SKU as an Architecture decision. Capture
53
+ retained, prohibited or preferred services, SKU constraints or an explicit no-preference position.
54
+ 8. Populate narrative recommendations for access, ingress, DNS, personal-data inventory, retention/deletion,
55
+ data-subject handling and telemetry minimization. Recommendations are proposed, not confirmed requirements,
56
+ assigned owners or compliance evidence.
57
+ 9. Submit the typed requirements artifact through `apex/requirementsComplete`. Report the materialized read-only Gate 1
58
+ review package under `agent-output/<project>/<run>/`, including requirements, recommendations, SKU preferences and
59
+ challenger findings.
60
+ 10. Immediately call `apex/nextTask` after submitting requirements. When it returns the `requirements-review` task,
61
+ run the rubber-duck review steps in `apex-next` with that exact `task.taskId`. If rubber-duck is unavailable or the
62
+ capture fails twice, report the pending review task and stop.
63
+ 11. When `needs_review` returns, do not request task context or run rubber-duck again. Record a disposition for every
64
+ finding: fix, accept or dismiss with a reason, or acknowledge an obligation with an owner. For accept-risk, show
65
+ `owner: <project risk owner>, expires in 90 days`, draft the rationale and ask only for confirmation. Existing
66
+ blocking findings require the normal correction and fresh review path; do not automatically acknowledge, dismiss or
67
+ accept risk.
68
+ 12. After `apex/reviewDecide`, call `apex/status`. If Gate 1 is pending, report it and stop. Do not call
69
+ `apex/nextTask` while a gate is pending. If the user's scope permits approval and the user explicitly approves or
70
+ rejects Gate 1, call `apex/gateDecide` with `confirm: true`.
37
71
 
38
72
  ## Boundaries
39
73
 
40
- Do not read task context for `needs_input`, a task owned by another role, or a stale task ID. Treat `APEX_STALE` as a
41
- fresh-status requirement, and return kernel validation or authorization errors without fabricating a requirements
42
- result.
74
+ Do not read task context for `needs_input`, `needs_review`, a stale task ID, or a task owned by another role. Write only
75
+ through APEX MCP. ARM MCP access is read-only and only supports indicative pricing when the user asks for it. Generated
76
+ review projections are derived from accepted state and are never editable authority.
43
77
 
44
78
  ## Output
45
79
 
46
- Return the kernel result plus any unresolved user-owned fields.
80
+ Return the kernel result, review-package location, candidate-service rationale, challenger findings, unresolved
81
+ user-owned fields and the reason for stopping.
@@ -4,6 +4,9 @@ description: "Assess Terraform adoption of existing Azure resources in APEX. Use
4
4
  user-invocable: false
5
5
  ---
6
6
 
7
+ When calling any `apex/*` MCP tool, include the current session checkout or worktree as the required absolute
8
+ `workspace` path.
9
+
7
10
  # APEX Terraform Import Assessment
8
11
 
9
12
  Use this skill for an active Terraform adoption task concerning existing resources. It evaluates accepted inventory and
@@ -4,6 +4,9 @@ description: "Apply approved Terraform architecture intent in APEX. Use for hub-
4
4
  user-invocable: false
5
5
  ---
6
6
 
7
+ When calling any `apex/*` MCP tool, include the current session checkout or worktree as the required absolute
8
+ `workspace` path.
9
+
7
10
  # APEX Terraform Patterns
8
11
 
9
12
  Use this skill for an active Terraform-bound planning or CodeGen task. It records approved architecture intent and
@@ -4,6 +4,9 @@ description: "Design receipt-gated Terraform test intent in APEX. Use for unit a
4
4
  user-invocable: false
5
5
  ---
6
6
 
7
+ When calling any `apex/*` MCP tool, include the current session checkout or worktree as the required absolute
8
+ `workspace` path.
9
+
7
10
  # APEX Terraform Test Design
8
11
 
9
12
  Use this skill for an active Terraform test-design or validation task. It specifies coverage and assertion intent;
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Lauren Tan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,94 @@
1
+ ---
2
+ name: apex-unslop
3
+ user-invocable: true
4
+ disable-model-invocation: true
5
+ argument-hint: "text or document path, audience, and review or edit scope"
6
+ description: '**UTILITY SKILL** — Manually polish authorized prose for clarity and concrete language while preserving technical facts and APEX contracts. WHEN: explicitly invoked as /apex-unslop for prose review or cleanup. DO NOT USE FOR: code changes, technical validation, or automatic workflow finalization.'
7
+ license: MIT
8
+ metadata:
9
+ author: jonathan-vella
10
+ version: "1.0"
11
+ upstream: cursor/plugins/pstack/skills/unslop
12
+ upstream_commit: e8d856f0273b42ebafe0ec3546bd645709e7c1b0
13
+ ---
14
+
15
+ # APEX prose cleanup
16
+
17
+ Improve clarity when the user explicitly invokes this skill. Do not run automatically,
18
+ load it for every agent turn, or add it as a mandatory workflow step. Manual invocation
19
+ does not change the caller's model, tools, role or edit permissions. This is prose editing,
20
+ not an AI-authorship detector or a substitute for technical review.
21
+
22
+ ## Prerequisites
23
+
24
+ - Identify the requested text or file, audience, tone and whether the user wants review or edits.
25
+ - Read the current selected text and applicable file instructions. Ask only for unresolved scope.
26
+ - For files, establish ownership and review status before editing. Preserve unrelated user changes.
27
+
28
+ ## Scope and protected content
29
+
30
+ Edit only authorized natural-language prose. Review requests produce suggestions without file changes.
31
+ An ambiguous request does not authorize a repository-wide cleanup. The default for code, commands, identifiers,
32
+ configuration, structured data, quotations, license notices and generated content is leave unchanged.
33
+
34
+ Preserve facts, numbers, units, currencies, dates, SKU names, source URLs, citations, negation and requirement strength.
35
+ Preserve uncertainty, evidence limits, accepted risks and qualifications. Never turn "may" into "will", an estimate
36
+ into a guarantee, or accepted risk into remediation. Flag missing sources; never invent citations or delete an
37
+ unsupported claim's caveat just to make the prose sound confident. Do not invent an actor to force active voice.
38
+
39
+ APEX file contracts outrank style preferences. Preserve required H2 text/order, emoji-bearing template headings,
40
+ anchors, badge structures, links, tables and code fences. Use sentence case only for
41
+ unconstrained headings; do not globally replace punctuation or Unicode characters.
42
+
43
+ Do not edit kernel-managed APEX artifacts under `.apex/`, approved or hash-reviewed artifacts, or generated files in
44
+ place as a style pass. Propose the edits instead; the APEX agent stages artifact changes through the kernel before the
45
+ review, and later changes need a fresh review, never hash restamping. This skill cannot grant approvals, resolve
46
+ findings, change APEX run state, or waive a required check.
47
+
48
+ ## Workflow
49
+
50
+ 1. Establish scope and protected content. Reuse current context rather than loading unrelated files or all skills.
51
+ 2. Identify specific clarity problems. If the text is already clear, leave it alone.
52
+ 3. Make the smallest authorized edits, preserving meaning and the intended tone. Prefer one pass and one self-check.
53
+ 4. Compare the result with the original for factual changes, lost caveats, broken structure and over-compression.
54
+ 5. For file edits, run the relevant existing checks. Kernel validation and reviews own APEX artifacts; do not run them
55
+ as part of a style pass. Report any unverified requirement rather than claiming technical correctness.
56
+
57
+ ## Editing guidance
58
+
59
+ - Remove filler, generic conclusions, flattery and conversational boilerplate when they add no information.
60
+ - State mechanisms and concrete outcomes instead of praise or decorative metaphors. Do not invent measurements.
61
+ - Prefer familiar words and consistent terminology. "Use" often replaces "utilize"; technical terms such as
62
+ vector, API surface, harness, policy and managed identity remain when precise.
63
+ - Replace repetitive framing with a direct statement. Do not force every explanation into three items.
64
+ - Split dense sentences when it improves comprehension. Keep necessary articles, verbs and qualifications;
65
+ fewer words are not automatically clearer.
66
+ - Prefer active voice when the actor is known and relevant. Reduce stacked hedges, not justified uncertainty.
67
+ - Reduce gratuitous bold, punctuation and decorative emojis only where the document contract allows it.
68
+ - Preserve useful lists, labels, parentheses and colons. Treat vocabulary patterns as review cues, not a blacklist.
69
+ - Keep general security or safety requirements even when the same sentence could apply to another project.
70
+
71
+ ## Regression examples
72
+
73
+ | Original | Safe treatment |
74
+ | --- | --- |
75
+ | In order to validate the file, run the existing check. | To validate the file, run the existing check. |
76
+ | The estimate may exceed EUR 200 if usage increases. | Leave unchanged: uncertainty, currency and threshold matter. |
77
+ | Deployment MUST remain blocked until approval. | Preserve MUST, condition and meaning; flag technical concerns separately. |
78
+ | `P0v4`, `Standard_LRS`, `apex-recall`, `--verify-cache` | Preserve these identifiers exactly. |
79
+ | `## 🔒 Approval Gate` | Preserve the required heading and its anchor. |
80
+ | The accepted recovery risk has not been remediated. | Preserve the distinction between acceptance and remediation. |
81
+ | Industry reports suggest this is faster. | Request a source or propose a qualified rewrite; do not fabricate evidence. |
82
+
83
+ ## Output
84
+
85
+ For supplied text, return the revised text or the requested review. For file edits, name the changed files and
86
+ briefly summarize meaningful edits and checks. Separate technical concerns from style suggestions. Do not add
87
+ generic reassurance, an "AI score", or a claim that the result is human-authored.
88
+
89
+ ## Attribution
90
+
91
+ Adapted from Lauren Tan's [Unslop skill](https://github.com/cursor/plugins/tree/e8d856f0273b42ebafe0ec3546bd645709e7c1b0/pstack/skills/unslop),
92
+ part of Cursor's pstack plugin, under the [MIT license](LICENSE.txt).
93
+ APEX scopes the original style guidance to explicit requests and adds technical-content and review safeguards.
94
+ Upstream rule numbers are not retained as APEX rule identifiers. Updates require a reviewed adaptation, not a live import.
@@ -4,6 +4,9 @@ description: "Provides internal APEX workflow routing for status, resume, projec
4
4
  user-invocable: false
5
5
  ---
6
6
 
7
+ When calling any `apex/*` MCP tool, include the current session checkout or worktree as the required absolute
8
+ `workspace` path.
9
+
7
10
  ## APEX Workflow
8
11
 
9
12
  Use this skill to orient an interactive agent without reconstructing workflow state from chat or files.
@@ -16,21 +19,28 @@ Use this skill to orient an interactive agent without reconstructing workflow st
16
19
  ## Workflow
17
20
 
18
21
  1. Call `apex/status` for the selected project.
22
+ For a status-only request, report that result and stop without calling `apex/nextTask`.
23
+ If status returns `runtime_mismatch`, report both versions and its `nextAction`, then stop; every other APEX tool
24
+ fails with `APEX_RUNTIME_MISMATCH` until the user fixes the runtime or workspace version.
19
25
  2. If the selected project is wrong or absent, use the active client question mechanism to select a project, then repeat
20
26
  `apex/status`.
21
27
  3. If status identifies blockers, gates, or a terminal run, report that kernel state and do not infer a task.
22
- 4. Otherwise call `apex/nextTask`. For `needs_input`, return the exact request to its owning interactive role. For
23
- `task`, route only to the returned task owner through the active client projection.
28
+ 4. Otherwise route the next step with the `apex-next` skill (`.github/skills/apex-next/SKILL.md`). It maps
29
+ `needs_input`, `needs_review` and `status=task` results to their owner and preserves the exact request, review hash
30
+ or `task.taskId` for that owner task only. It must not add later-stage prerequisites to an earlier task, and it
31
+ continues directly when the active agent already owns the next result. Read task context only for `status=task`, as
32
+ its owner. Do not poll unresolved input or review results; obtain a fresh result after the owning role records
33
+ answers or dispositions.
24
34
  5. For resume, fetch fresh status instead of relying on an earlier conversation. On an `APEX_STALE` error, refresh
25
35
  status and do not reuse a task ID, request ID, journal head, or owner epoch.
26
36
 
27
- Do not infer progress from generated files, conversation history, or handoff completion. If selection is ambiguous, the
37
+ Do not infer progress from generated files, conversation history, or routing. If selection is ambiguous, the
28
38
  interactive agent may use its active client question mechanism before repeating `apex/status`.
29
39
 
30
40
  ## Boundaries
31
41
 
32
- `apex/nextTask` returns only `needs_input` or `task`. Terminal, blocked, missing-project, authorization, and stale
33
- conditions are represented by status or stable kernel errors; do not invent additional tool results or transitions.
42
+ `apex/nextTask` returns `needs_input`, `needs_review`, or `task`. Terminal, blocked, missing-project, authorization,
43
+ and stale conditions are represented by status or stable kernel errors; do not invent additional results or transitions.
34
44
 
35
45
  ## Output
36
46
 
@@ -0,0 +1,101 @@
1
+ name: Governance Policy Baseline
2
+
3
+ on:
4
+ schedule:
5
+ - cron: "0 5 * * 1"
6
+ workflow_dispatch:
7
+
8
+ concurrency:
9
+ group: ${{ github.workflow }}-${{ github.ref }}
10
+ cancel-in-progress: true
11
+
12
+ permissions:
13
+ contents: read
14
+
15
+ jobs:
16
+ collect-baseline:
17
+ if: vars.GOVERNANCE_BASELINE_ENABLED == 'true'
18
+ runs-on: ubuntu-latest
19
+ environment: governance
20
+ permissions:
21
+ contents: write
22
+ pull-requests: write
23
+ id-token: write
24
+ env:
25
+ AZURE_CLIENT_ID: ${{ vars.AZURE_CLIENT_ID || secrets.AZURE_CLIENT_ID }}
26
+ AZURE_TENANT_ID: ${{ vars.AZURE_TENANT_ID || secrets.AZURE_TENANT_ID }}
27
+ AZURE_SUBSCRIPTION_ID: ${{ vars.AZURE_SUBSCRIPTION_ID || secrets.AZURE_SUBSCRIPTION_ID }}
28
+ GOVERNANCE_MG_ID: ${{ vars.GOVERNANCE_MG_ID }}
29
+ GOVERNANCE_SUBSCRIPTION_ID: ${{ vars.GOVERNANCE_SUBSCRIPTION_ID }}
30
+ GOVERNANCE_MAX_SUBSCRIPTIONS: ${{ vars.GOVERNANCE_MAX_SUBSCRIPTIONS || '100' }}
31
+ steps:
32
+ - name: Validate collection configuration
33
+ shell: pwsh
34
+ run: |
35
+ $ErrorActionPreference = 'Stop'
36
+ $hasManagementGroup = -not [string]::IsNullOrEmpty($env:GOVERNANCE_MG_ID)
37
+ $hasSubscription = -not [string]::IsNullOrEmpty($env:GOVERNANCE_SUBSCRIPTION_ID)
38
+ if ($hasManagementGroup -eq $hasSubscription) {
39
+ throw 'Configure exactly one governance management group or subscription.'
40
+ }
41
+ if ($hasManagementGroup -and $env:GOVERNANCE_MG_ID -cnotmatch '\A[a-zA-Z0-9](?:[a-zA-Z0-9_().-]{0,88}[a-zA-Z0-9_()-])?\z') {
42
+ throw 'Invalid governance management group ID.'
43
+ }
44
+ $guidPattern = '\A[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\z'
45
+ if ($hasSubscription -and $env:GOVERNANCE_SUBSCRIPTION_ID -cnotmatch $guidPattern) {
46
+ throw 'Invalid governance subscription ID.'
47
+ }
48
+ foreach ($value in @($env:AZURE_CLIENT_ID, $env:AZURE_TENANT_ID, $env:AZURE_SUBSCRIPTION_ID)) {
49
+ if ([string]::IsNullOrEmpty($value) -or $value -cnotmatch $guidPattern) {
50
+ throw 'Configure valid Azure OIDC client, tenant, and login subscription IDs.'
51
+ }
52
+ }
53
+ $maximum = 0
54
+ if ($env:GOVERNANCE_MAX_SUBSCRIPTIONS -cnotmatch '\A[0-9]+\z' -or
55
+ -not [int]::TryParse($env:GOVERNANCE_MAX_SUBSCRIPTIONS, [ref]$maximum) -or $maximum -lt 1) {
56
+ throw 'Maximum subscriptions must be an integer from 1 through 2147483647.'
57
+ }
58
+
59
+ - name: Checkout repository
60
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
61
+
62
+ - name: Azure Login (OIDC)
63
+ uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0
64
+ with:
65
+ client-id: ${{ env.AZURE_CLIENT_ID }}
66
+ tenant-id: ${{ env.AZURE_TENANT_ID }}
67
+ subscription-id: ${{ env.AZURE_SUBSCRIPTION_ID }}
68
+
69
+ - name: Collect governance baseline
70
+ shell: pwsh
71
+ run: |
72
+ $ErrorActionPreference = 'Stop'
73
+ $parameters = @{ MaxSubscriptions = [int]$env:GOVERNANCE_MAX_SUBSCRIPTIONS; IncludeDefenderAuto = $true; IncludeDescendants = $true }
74
+ if ($env:GOVERNANCE_MG_ID) {
75
+ $parameters.ManagementGroupId = $env:GOVERNANCE_MG_ID
76
+ } else {
77
+ $parameters.SubscriptionId = $env:GOVERNANCE_SUBSCRIPTION_ID
78
+ }
79
+ try {
80
+ & ./tools/scripts/collect-governance-baseline.ps1 @parameters *> $null
81
+ $baseline = Get-Content -LiteralPath '.github/data/governance-policy-baseline.json' -Raw
82
+ if (-not (Test-Json -Json $baseline -SchemaFile './tools/schemas/governance-baseline.schema.json' -ErrorAction Stop)) {
83
+ throw 'Invalid baseline.'
84
+ }
85
+ } catch {
86
+ throw 'Governance collection or schema validation failed; no baseline PR will be created.'
87
+ }
88
+
89
+ - name: Create pull request
90
+ uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
91
+ with:
92
+ token: ${{ secrets.GITHUB_TOKEN }}
93
+ add-paths: .github/data/governance-policy-baseline.json
94
+ commit-message: "chore(data): Update governance policy baseline"
95
+ branch: "chore/governance-baseline-update"
96
+ delete-branch: true
97
+ title: "chore(data): Update governance policy baseline"
98
+ body: |
99
+ Updates only `.github/data/governance-policy-baseline.json`.
100
+ Human review and manual merge are required. Review scope, coverage,
101
+ exclusions, and policy changes before approving this baseline.
@@ -1,16 +1,15 @@
1
1
  ## Managed Workspace Source
2
2
 
3
- This directory is the versioned source bundle installed into consumer repositories by `apex init` and updated by
4
- `apex update`. Its payload uses supported workspace discovery paths:
3
+ This directory is the versioned source for two outputs:
5
4
 
6
- - `.github/agents/`
7
- - `.github/skills/`
8
- - `.github/copilot-instructions.md`
9
- - `.vscode/mcp.json`
5
+ - The thin workspace projection that `apex init` installs and `apex update` updates: `.github/copilot/settings.json`,
6
+ `.github/copilot-instructions.md`, `.github/instructions/`, and the governance workflow and scripts.
7
+ - The `apex` plugin built by `tools/scripts/build-plugin.mjs`: agents from `.github/agents/` and skills from
8
+ `.github/skills/`. The plugin owns these paths, so they are never copied into a consumer workspace.
10
9
 
11
- `manifest.json` records the bundle version, managed files, agent roles, supported targets, invocation edges, interaction
12
- types, recommended models, and cost tiers. A client projection omits roles that do not declare its target; unsupported
13
- roles are never installed or added to the managed lock.
10
+ `manifest.json` records the bundle version, managed workspace files, the plugin declaration and the files it owns,
11
+ agent roles, supported targets, invocation edges and interaction types. The plugin renders only roles that declare the
12
+ `github-copilot` target.
14
13
 
15
14
  ## Editing Policy
16
15