@raishin/vanguard-frontier-agentic 1.9.0 → 2.0.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 (851) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.cursor-plugin/plugin.json +1 -1
  3. package/.github/plugin/marketplace.json +1 -1
  4. package/README.md +4 -0
  5. package/catalog/asset-integrity.json +30 -25
  6. package/package.json +3 -2
  7. package/plugins/vanguard-frontier-agentic/.codex-plugin/plugin.json +1 -1
  8. package/scripts/export-marketplace-agents.mjs +146 -84
  9. package/scripts/generate-changelog-counts.mjs +34 -0
  10. package/scripts/release-prepare.mjs +97 -5
  11. package/tests/AGENTS.md +17 -0
  12. package/tests/_generate_maestro_routing_fixtures.py +372 -0
  13. package/tests/export-cursor-kiro-skill-notice.test.mjs +92 -0
  14. package/tests/fixtures/README.md +53 -0
  15. package/tests/fixtures/alibaba-maestro-routing/expected/001-happy-ack-container-platform-operator.json +6 -0
  16. package/tests/fixtures/alibaba-maestro-routing/expected/002-happy-actiontrail-audit-analyst.json +6 -0
  17. package/tests/fixtures/alibaba-maestro-routing/expected/003-happy-analyticdb-realtime.json +6 -0
  18. package/tests/fixtures/alibaba-maestro-routing/expected/004-happy-certificate-manager-issuer-review.json +6 -0
  19. package/tests/fixtures/alibaba-maestro-routing/expected/005-happy-change-impact-advisor.json +6 -0
  20. package/tests/fixtures/alibaba-maestro-routing/expected/006-happy-china-compliance.json +6 -0
  21. package/tests/fixtures/alibaba-maestro-routing/expected/007-happy-cost-anomaly-watch-coordinator.json +6 -0
  22. package/tests/fixtures/alibaba-maestro-routing/expected/008-happy-cost-finops-analyst.json +6 -0
  23. package/tests/fixtures/alibaba-maestro-routing/expected/009-happy-daily-operations-briefing-coordinator.json +6 -0
  24. package/tests/fixtures/alibaba-maestro-routing/expected/010-happy-devops-cicd-operator.json +6 -0
  25. package/tests/fixtures/alibaba-maestro-routing/expected/011-happy-ecs-compute-operator.json +6 -0
  26. package/tests/fixtures/alibaba-maestro-routing/expected/012-happy-event-driven-architecture-review.json +6 -0
  27. package/tests/fixtures/alibaba-maestro-routing/expected/013-happy-function-serverless-operator.json +6 -0
  28. package/tests/fixtures/alibaba-maestro-routing/expected/014-happy-iac-change-safety-review.json +6 -0
  29. package/tests/fixtures/alibaba-maestro-routing/expected/015-happy-kms-secret-lifecycle-steward.json +6 -0
  30. package/tests/fixtures/alibaba-maestro-routing/expected/016-happy-landing-zone-architect.json +6 -0
  31. package/tests/fixtures/alibaba-maestro-routing/expected/017-happy-load-balancer-traffic-engineer.json +6 -0
  32. package/tests/fixtures/alibaba-maestro-routing/expected/018-happy-maxcompute-dataworks-analyst.json +6 -0
  33. package/tests/fixtures/alibaba-maestro-routing/expected/019-happy-migration-architect.json +6 -0
  34. package/tests/fixtures/alibaba-maestro-routing/expected/020-happy-mse-microservice-engine.json +6 -0
  35. package/tests/fixtures/alibaba-maestro-routing/expected/021-happy-network-architect.json +6 -0
  36. package/tests/fixtures/alibaba-maestro-routing/expected/022-happy-observability-incident-responder.json +6 -0
  37. package/tests/fixtures/alibaba-maestro-routing/expected/023-happy-oss-data-perimeter-governor.json +6 -0
  38. package/tests/fixtures/alibaba-maestro-routing/expected/024-happy-oss-storage-steward.json +6 -0
  39. package/tests/fixtures/alibaba-maestro-routing/expected/025-happy-polardb-rds-dba.json +6 -0
  40. package/tests/fixtures/alibaba-maestro-routing/expected/026-happy-ram-iam-review.json +6 -0
  41. package/tests/fixtures/alibaba-maestro-routing/expected/027-happy-registry-artifact-governor.json +6 -0
  42. package/tests/fixtures/alibaba-maestro-routing/expected/028-happy-resilience-bcdr-review.json +6 -0
  43. package/tests/fixtures/alibaba-maestro-routing/expected/029-happy-security-center-hardening.json +6 -0
  44. package/tests/fixtures/alibaba-maestro-routing/expected/030-happy-serverless-production-readiness.json +6 -0
  45. package/tests/fixtures/alibaba-maestro-routing/expected/031-happy-solution-architect.json +6 -0
  46. package/tests/fixtures/alibaba-maestro-routing/expected/032-happy-support-incident-coordinator.json +6 -0
  47. package/tests/fixtures/alibaba-maestro-routing/expected/033-happy-ticket-triage-escalation-coordinator.json +6 -0
  48. package/tests/fixtures/alibaba-maestro-routing/expected/034-happy-waf-cost-optimization-review.json +6 -0
  49. package/tests/fixtures/alibaba-maestro-routing/expected/035-happy-waf-reliability-review.json +6 -0
  50. package/tests/fixtures/alibaba-maestro-routing/expected/036-happy-waf-security-review.json +6 -0
  51. package/tests/fixtures/alibaba-maestro-routing/expected/adv-ambiguous.json +4 -0
  52. package/tests/fixtures/alibaba-maestro-routing/expected/adv-instruction-injection.json +6 -0
  53. package/tests/fixtures/alibaba-maestro-routing/expected/adv-liveguard-01-live-ack-rollout-guard.json +6 -0
  54. package/tests/fixtures/alibaba-maestro-routing/expected/adv-liveguard-02-live-cost-budget-action-guard.json +6 -0
  55. package/tests/fixtures/alibaba-maestro-routing/expected/adv-liveguard-03-live-kms-key-mutation-guard.json +6 -0
  56. package/tests/fixtures/alibaba-maestro-routing/expected/adv-liveguard-04-live-oss-bucket-policy-guard.json +6 -0
  57. package/tests/fixtures/alibaba-maestro-routing/expected/adv-liveguard-05-live-ram-policy-change-guard.json +6 -0
  58. package/tests/fixtures/alibaba-maestro-routing/expected/adv-liveguard-06-live-rds-polardb-mutation-guard.json +6 -0
  59. package/tests/fixtures/alibaba-maestro-routing/expected/adv-persona-replacement.json +6 -0
  60. package/tests/fixtures/alibaba-maestro-routing/expected/adv-secrets-bait.json +8 -0
  61. package/tests/fixtures/alibaba-maestro-routing/inputs/001-happy-ack-container-platform-operator.json +7 -0
  62. package/tests/fixtures/alibaba-maestro-routing/inputs/002-happy-actiontrail-audit-analyst.json +7 -0
  63. package/tests/fixtures/alibaba-maestro-routing/inputs/003-happy-analyticdb-realtime.json +7 -0
  64. package/tests/fixtures/alibaba-maestro-routing/inputs/004-happy-certificate-manager-issuer-review.json +7 -0
  65. package/tests/fixtures/alibaba-maestro-routing/inputs/005-happy-change-impact-advisor.json +7 -0
  66. package/tests/fixtures/alibaba-maestro-routing/inputs/006-happy-china-compliance.json +7 -0
  67. package/tests/fixtures/alibaba-maestro-routing/inputs/007-happy-cost-anomaly-watch-coordinator.json +7 -0
  68. package/tests/fixtures/alibaba-maestro-routing/inputs/008-happy-cost-finops-analyst.json +7 -0
  69. package/tests/fixtures/alibaba-maestro-routing/inputs/009-happy-daily-operations-briefing-coordinator.json +7 -0
  70. package/tests/fixtures/alibaba-maestro-routing/inputs/010-happy-devops-cicd-operator.json +7 -0
  71. package/tests/fixtures/alibaba-maestro-routing/inputs/011-happy-ecs-compute-operator.json +7 -0
  72. package/tests/fixtures/alibaba-maestro-routing/inputs/012-happy-event-driven-architecture-review.json +7 -0
  73. package/tests/fixtures/alibaba-maestro-routing/inputs/013-happy-function-serverless-operator.json +7 -0
  74. package/tests/fixtures/alibaba-maestro-routing/inputs/014-happy-iac-change-safety-review.json +7 -0
  75. package/tests/fixtures/alibaba-maestro-routing/inputs/015-happy-kms-secret-lifecycle-steward.json +7 -0
  76. package/tests/fixtures/alibaba-maestro-routing/inputs/016-happy-landing-zone-architect.json +7 -0
  77. package/tests/fixtures/alibaba-maestro-routing/inputs/017-happy-load-balancer-traffic-engineer.json +7 -0
  78. package/tests/fixtures/alibaba-maestro-routing/inputs/018-happy-maxcompute-dataworks-analyst.json +7 -0
  79. package/tests/fixtures/alibaba-maestro-routing/inputs/019-happy-migration-architect.json +7 -0
  80. package/tests/fixtures/alibaba-maestro-routing/inputs/020-happy-mse-microservice-engine.json +7 -0
  81. package/tests/fixtures/alibaba-maestro-routing/inputs/021-happy-network-architect.json +7 -0
  82. package/tests/fixtures/alibaba-maestro-routing/inputs/022-happy-observability-incident-responder.json +7 -0
  83. package/tests/fixtures/alibaba-maestro-routing/inputs/023-happy-oss-data-perimeter-governor.json +7 -0
  84. package/tests/fixtures/alibaba-maestro-routing/inputs/024-happy-oss-storage-steward.json +7 -0
  85. package/tests/fixtures/alibaba-maestro-routing/inputs/025-happy-polardb-rds-dba.json +7 -0
  86. package/tests/fixtures/alibaba-maestro-routing/inputs/026-happy-ram-iam-review.json +7 -0
  87. package/tests/fixtures/alibaba-maestro-routing/inputs/027-happy-registry-artifact-governor.json +7 -0
  88. package/tests/fixtures/alibaba-maestro-routing/inputs/028-happy-resilience-bcdr-review.json +7 -0
  89. package/tests/fixtures/alibaba-maestro-routing/inputs/029-happy-security-center-hardening.json +7 -0
  90. package/tests/fixtures/alibaba-maestro-routing/inputs/030-happy-serverless-production-readiness.json +7 -0
  91. package/tests/fixtures/alibaba-maestro-routing/inputs/031-happy-solution-architect.json +7 -0
  92. package/tests/fixtures/alibaba-maestro-routing/inputs/032-happy-support-incident-coordinator.json +7 -0
  93. package/tests/fixtures/alibaba-maestro-routing/inputs/033-happy-ticket-triage-escalation-coordinator.json +7 -0
  94. package/tests/fixtures/alibaba-maestro-routing/inputs/034-happy-waf-cost-optimization-review.json +7 -0
  95. package/tests/fixtures/alibaba-maestro-routing/inputs/035-happy-waf-reliability-review.json +7 -0
  96. package/tests/fixtures/alibaba-maestro-routing/inputs/036-happy-waf-security-review.json +7 -0
  97. package/tests/fixtures/alibaba-maestro-routing/inputs/adv-ambiguous.json +7 -0
  98. package/tests/fixtures/alibaba-maestro-routing/inputs/adv-instruction-injection.json +7 -0
  99. package/tests/fixtures/alibaba-maestro-routing/inputs/adv-liveguard-01-live-ack-rollout-guard.json +7 -0
  100. package/tests/fixtures/alibaba-maestro-routing/inputs/adv-liveguard-02-live-cost-budget-action-guard.json +7 -0
  101. package/tests/fixtures/alibaba-maestro-routing/inputs/adv-liveguard-03-live-kms-key-mutation-guard.json +7 -0
  102. package/tests/fixtures/alibaba-maestro-routing/inputs/adv-liveguard-04-live-oss-bucket-policy-guard.json +7 -0
  103. package/tests/fixtures/alibaba-maestro-routing/inputs/adv-liveguard-05-live-ram-policy-change-guard.json +7 -0
  104. package/tests/fixtures/alibaba-maestro-routing/inputs/adv-liveguard-06-live-rds-polardb-mutation-guard.json +7 -0
  105. package/tests/fixtures/alibaba-maestro-routing/inputs/adv-persona-replacement.json +7 -0
  106. package/tests/fixtures/alibaba-maestro-routing/inputs/adv-secrets-bait.json +7 -0
  107. package/tests/fixtures/alibaba-maestro-routing/taxonomy.json +480 -0
  108. package/tests/fixtures/aws-maestro-routing/expected/001-happy-agentcore.json +6 -0
  109. package/tests/fixtures/aws-maestro-routing/expected/002-happy-api-edge-delivery-review.json +6 -0
  110. package/tests/fixtures/aws-maestro-routing/expected/003-happy-bedrock-agent-security-governor.json +6 -0
  111. package/tests/fixtures/aws-maestro-routing/expected/004-happy-change-impact-advisor.json +6 -0
  112. package/tests/fixtures/aws-maestro-routing/expected/005-happy-ci-cd-release-engineer.json +6 -0
  113. package/tests/fixtures/aws-maestro-routing/expected/006-happy-compliance-evidence-mapper.json +6 -0
  114. package/tests/fixtures/aws-maestro-routing/expected/007-happy-cost-anomaly-watch-coordinator.json +6 -0
  115. package/tests/fixtures/aws-maestro-routing/expected/008-happy-cost-optimization-governor.json +6 -0
  116. package/tests/fixtures/aws-maestro-routing/expected/009-happy-daily-operations-briefing-coordinator.json +6 -0
  117. package/tests/fixtures/aws-maestro-routing/expected/010-happy-data-protection-backup-steward.json +6 -0
  118. package/tests/fixtures/aws-maestro-routing/expected/011-happy-deployment-hotfix-operator.json +6 -0
  119. package/tests/fixtures/aws-maestro-routing/expected/012-happy-devops-agent-skill-designer.json +6 -0
  120. package/tests/fixtures/aws-maestro-routing/expected/013-happy-dynamodb-data-modeling-performance-review.json +6 -0
  121. package/tests/fixtures/aws-maestro-routing/expected/014-happy-ec2-compute-operations-steward.json +6 -0
  122. package/tests/fixtures/aws-maestro-routing/expected/015-happy-ecs-fargate-platform-operator.json +6 -0
  123. package/tests/fixtures/aws-maestro-routing/expected/016-happy-ecs-service-remediation-operator.json +6 -0
  124. package/tests/fixtures/aws-maestro-routing/expected/017-happy-eks-platform-operator.json +6 -0
  125. package/tests/fixtures/aws-maestro-routing/expected/018-happy-event-driven-architecture-review.json +6 -0
  126. package/tests/fixtures/aws-maestro-routing/expected/019-happy-generative-ai-developer.json +6 -0
  127. package/tests/fixtures/aws-maestro-routing/expected/020-happy-iac-change-safety-review.json +6 -0
  128. package/tests/fixtures/aws-maestro-routing/expected/021-happy-iac-patch-executor.json +6 -0
  129. package/tests/fixtures/aws-maestro-routing/expected/022-happy-iam-least-privilege-review.json +6 -0
  130. package/tests/fixtures/aws-maestro-routing/expected/023-happy-kms-secrets-lifecycle-steward.json +6 -0
  131. package/tests/fixtures/aws-maestro-routing/expected/024-happy-landing-zone-governor.json +6 -0
  132. package/tests/fixtures/aws-maestro-routing/expected/025-happy-migration-cutover-architect.json +6 -0
  133. package/tests/fixtures/aws-maestro-routing/expected/026-happy-network-architect.json +6 -0
  134. package/tests/fixtures/aws-maestro-routing/expected/027-happy-non-destructive-task-automation-advisor.json +6 -0
  135. package/tests/fixtures/aws-maestro-routing/expected/028-happy-observability-incident-responder.json +6 -0
  136. package/tests/fixtures/aws-maestro-routing/expected/029-happy-pipeline-fix-operator.json +6 -0
  137. package/tests/fixtures/aws-maestro-routing/expected/030-happy-private-ca-issuer-review.json +6 -0
  138. package/tests/fixtures/aws-maestro-routing/expected/031-happy-rds-aurora-performance-investigator.json +6 -0
  139. package/tests/fixtures/aws-maestro-routing/expected/032-happy-resilience-bcdr-review.json +6 -0
  140. package/tests/fixtures/aws-maestro-routing/expected/033-happy-s3-data-perimeter-governor.json +6 -0
  141. package/tests/fixtures/aws-maestro-routing/expected/034-happy-security-posture-hardening.json +6 -0
  142. package/tests/fixtures/aws-maestro-routing/expected/035-happy-serverless-production-readiness.json +6 -0
  143. package/tests/fixtures/aws-maestro-routing/expected/036-happy-serverless-rollout-corrector.json +6 -0
  144. package/tests/fixtures/aws-maestro-routing/expected/037-happy-solution-architect.json +6 -0
  145. package/tests/fixtures/aws-maestro-routing/expected/038-happy-ticket-triage-escalation-coordinator.json +6 -0
  146. package/tests/fixtures/aws-maestro-routing/expected/039-happy-waf-cost-optimization-review.json +6 -0
  147. package/tests/fixtures/aws-maestro-routing/expected/040-happy-waf-reliability-review.json +6 -0
  148. package/tests/fixtures/aws-maestro-routing/expected/041-happy-waf-security-review.json +6 -0
  149. package/tests/fixtures/aws-maestro-routing/expected/adv-ambiguous.json +4 -0
  150. package/tests/fixtures/aws-maestro-routing/expected/adv-instruction-injection.json +6 -0
  151. package/tests/fixtures/aws-maestro-routing/expected/adv-liveguard-01-live-deployment-guarded-operator.json +6 -0
  152. package/tests/fixtures/aws-maestro-routing/expected/adv-liveguard-02-live-ecs-rollout-guard.json +6 -0
  153. package/tests/fixtures/aws-maestro-routing/expected/adv-liveguard-03-live-iac-change-guard.json +6 -0
  154. package/tests/fixtures/aws-maestro-routing/expected/adv-liveguard-04-live-pipeline-approval-operator.json +6 -0
  155. package/tests/fixtures/aws-maestro-routing/expected/adv-liveguard-05-live-serverless-release-guard.json +6 -0
  156. package/tests/fixtures/aws-maestro-routing/expected/adv-persona-replacement.json +6 -0
  157. package/tests/fixtures/aws-maestro-routing/expected/adv-secrets-bait.json +6 -0
  158. package/tests/fixtures/aws-maestro-routing/inputs/001-happy-agentcore.json +7 -0
  159. package/tests/fixtures/aws-maestro-routing/inputs/002-happy-api-edge-delivery-review.json +7 -0
  160. package/tests/fixtures/aws-maestro-routing/inputs/003-happy-bedrock-agent-security-governor.json +7 -0
  161. package/tests/fixtures/aws-maestro-routing/inputs/004-happy-change-impact-advisor.json +7 -0
  162. package/tests/fixtures/aws-maestro-routing/inputs/005-happy-ci-cd-release-engineer.json +7 -0
  163. package/tests/fixtures/aws-maestro-routing/inputs/006-happy-compliance-evidence-mapper.json +7 -0
  164. package/tests/fixtures/aws-maestro-routing/inputs/007-happy-cost-anomaly-watch-coordinator.json +7 -0
  165. package/tests/fixtures/aws-maestro-routing/inputs/008-happy-cost-optimization-governor.json +7 -0
  166. package/tests/fixtures/aws-maestro-routing/inputs/009-happy-daily-operations-briefing-coordinator.json +7 -0
  167. package/tests/fixtures/aws-maestro-routing/inputs/010-happy-data-protection-backup-steward.json +7 -0
  168. package/tests/fixtures/aws-maestro-routing/inputs/011-happy-deployment-hotfix-operator.json +7 -0
  169. package/tests/fixtures/aws-maestro-routing/inputs/012-happy-devops-agent-skill-designer.json +7 -0
  170. package/tests/fixtures/aws-maestro-routing/inputs/013-happy-dynamodb-data-modeling-performance-review.json +7 -0
  171. package/tests/fixtures/aws-maestro-routing/inputs/014-happy-ec2-compute-operations-steward.json +7 -0
  172. package/tests/fixtures/aws-maestro-routing/inputs/015-happy-ecs-fargate-platform-operator.json +7 -0
  173. package/tests/fixtures/aws-maestro-routing/inputs/016-happy-ecs-service-remediation-operator.json +7 -0
  174. package/tests/fixtures/aws-maestro-routing/inputs/017-happy-eks-platform-operator.json +7 -0
  175. package/tests/fixtures/aws-maestro-routing/inputs/018-happy-event-driven-architecture-review.json +7 -0
  176. package/tests/fixtures/aws-maestro-routing/inputs/019-happy-generative-ai-developer.json +7 -0
  177. package/tests/fixtures/aws-maestro-routing/inputs/020-happy-iac-change-safety-review.json +7 -0
  178. package/tests/fixtures/aws-maestro-routing/inputs/021-happy-iac-patch-executor.json +7 -0
  179. package/tests/fixtures/aws-maestro-routing/inputs/022-happy-iam-least-privilege-review.json +7 -0
  180. package/tests/fixtures/aws-maestro-routing/inputs/023-happy-kms-secrets-lifecycle-steward.json +7 -0
  181. package/tests/fixtures/aws-maestro-routing/inputs/024-happy-landing-zone-governor.json +7 -0
  182. package/tests/fixtures/aws-maestro-routing/inputs/025-happy-migration-cutover-architect.json +7 -0
  183. package/tests/fixtures/aws-maestro-routing/inputs/026-happy-network-architect.json +7 -0
  184. package/tests/fixtures/aws-maestro-routing/inputs/027-happy-non-destructive-task-automation-advisor.json +7 -0
  185. package/tests/fixtures/aws-maestro-routing/inputs/028-happy-observability-incident-responder.json +7 -0
  186. package/tests/fixtures/aws-maestro-routing/inputs/029-happy-pipeline-fix-operator.json +7 -0
  187. package/tests/fixtures/aws-maestro-routing/inputs/030-happy-private-ca-issuer-review.json +7 -0
  188. package/tests/fixtures/aws-maestro-routing/inputs/031-happy-rds-aurora-performance-investigator.json +7 -0
  189. package/tests/fixtures/aws-maestro-routing/inputs/032-happy-resilience-bcdr-review.json +7 -0
  190. package/tests/fixtures/aws-maestro-routing/inputs/033-happy-s3-data-perimeter-governor.json +7 -0
  191. package/tests/fixtures/aws-maestro-routing/inputs/034-happy-security-posture-hardening.json +7 -0
  192. package/tests/fixtures/aws-maestro-routing/inputs/035-happy-serverless-production-readiness.json +7 -0
  193. package/tests/fixtures/aws-maestro-routing/inputs/036-happy-serverless-rollout-corrector.json +7 -0
  194. package/tests/fixtures/aws-maestro-routing/inputs/037-happy-solution-architect.json +7 -0
  195. package/tests/fixtures/aws-maestro-routing/inputs/038-happy-ticket-triage-escalation-coordinator.json +7 -0
  196. package/tests/fixtures/aws-maestro-routing/inputs/039-happy-waf-cost-optimization-review.json +7 -0
  197. package/tests/fixtures/aws-maestro-routing/inputs/040-happy-waf-reliability-review.json +7 -0
  198. package/tests/fixtures/aws-maestro-routing/inputs/041-happy-waf-security-review.json +7 -0
  199. package/tests/fixtures/aws-maestro-routing/inputs/adv-ambiguous.json +7 -0
  200. package/tests/fixtures/aws-maestro-routing/inputs/adv-instruction-injection.json +7 -0
  201. package/tests/fixtures/aws-maestro-routing/inputs/adv-liveguard-01-live-deployment-guarded-operator.json +7 -0
  202. package/tests/fixtures/aws-maestro-routing/inputs/adv-liveguard-02-live-ecs-rollout-guard.json +7 -0
  203. package/tests/fixtures/aws-maestro-routing/inputs/adv-liveguard-03-live-iac-change-guard.json +7 -0
  204. package/tests/fixtures/aws-maestro-routing/inputs/adv-liveguard-04-live-pipeline-approval-operator.json +7 -0
  205. package/tests/fixtures/aws-maestro-routing/inputs/adv-liveguard-05-live-serverless-release-guard.json +7 -0
  206. package/tests/fixtures/aws-maestro-routing/inputs/adv-persona-replacement.json +7 -0
  207. package/tests/fixtures/aws-maestro-routing/inputs/adv-secrets-bait.json +7 -0
  208. package/tests/fixtures/aws-maestro-routing/taxonomy.json +537 -0
  209. package/tests/fixtures/azure-maestro-routing/expected/001-happy-ai-foundry-ops-governor.json +6 -0
  210. package/tests/fixtures/azure-maestro-routing/expected/002-happy-aks-platform-operator.json +6 -0
  211. package/tests/fixtures/azure-maestro-routing/expected/003-happy-app-service-production-readiness.json +6 -0
  212. package/tests/fixtures/azure-maestro-routing/expected/004-happy-cosmosdb-application-developer.json +6 -0
  213. package/tests/fixtures/azure-maestro-routing/expected/005-happy-cosmosdb-performance-investigator.json +6 -0
  214. package/tests/fixtures/azure-maestro-routing/expected/006-happy-cosmosdb-platform-operator.json +6 -0
  215. package/tests/fixtures/azure-maestro-routing/expected/007-happy-cost-estimation-review.json +6 -0
  216. package/tests/fixtures/azure-maestro-routing/expected/008-happy-cost-optimization-governor.json +6 -0
  217. package/tests/fixtures/azure-maestro-routing/expected/009-happy-entra-id-specialist.json +6 -0
  218. package/tests/fixtures/azure-maestro-routing/expected/010-happy-identity-governance-review.json +6 -0
  219. package/tests/fixtures/azure-maestro-routing/expected/011-happy-key-vault-secret-lifecycle-auditor.json +6 -0
  220. package/tests/fixtures/azure-maestro-routing/expected/012-happy-keyvault-certificate-issuer-review.json +6 -0
  221. package/tests/fixtures/azure-maestro-routing/expected/013-happy-landing-zone-architect.json +6 -0
  222. package/tests/fixtures/azure-maestro-routing/expected/014-happy-migrate-landing-zone-cutover.json +6 -0
  223. package/tests/fixtures/azure-maestro-routing/expected/015-happy-network-topology-review.json +6 -0
  224. package/tests/fixtures/azure-maestro-routing/expected/016-happy-observability-investigator.json +6 -0
  225. package/tests/fixtures/azure-maestro-routing/expected/017-happy-platform-automation-devops.json +6 -0
  226. package/tests/fixtures/azure-maestro-routing/expected/018-happy-private-endpoint-adoption-planner.json +6 -0
  227. package/tests/fixtures/azure-maestro-routing/expected/019-happy-rbac-review.json +6 -0
  228. package/tests/fixtures/azure-maestro-routing/expected/020-happy-resilience-bcdr-review.json +6 -0
  229. package/tests/fixtures/azure-maestro-routing/expected/021-happy-resource-health-incident-triage.json +6 -0
  230. package/tests/fixtures/azure-maestro-routing/expected/022-happy-role-selector.json +6 -0
  231. package/tests/fixtures/azure-maestro-routing/expected/023-happy-security-posture-hardening.json +6 -0
  232. package/tests/fixtures/azure-maestro-routing/expected/024-happy-subscription-resource-organization.json +6 -0
  233. package/tests/fixtures/azure-maestro-routing/expected/025-happy-waf-cost-optimization-review.json +6 -0
  234. package/tests/fixtures/azure-maestro-routing/expected/026-happy-waf-reliability-review.json +6 -0
  235. package/tests/fixtures/azure-maestro-routing/expected/027-happy-waf-security-review.json +6 -0
  236. package/tests/fixtures/azure-maestro-routing/expected/adv-ambiguous.json +4 -0
  237. package/tests/fixtures/azure-maestro-routing/expected/adv-instruction-injection.json +6 -0
  238. package/tests/fixtures/azure-maestro-routing/expected/adv-liveguard-01-governance-policy-guardrails.json +6 -0
  239. package/tests/fixtures/azure-maestro-routing/expected/adv-liveguard-02-live-aks-rollout-guard.json +6 -0
  240. package/tests/fixtures/azure-maestro-routing/expected/adv-liveguard-03-live-app-service-slot-swap-guard.json +6 -0
  241. package/tests/fixtures/azure-maestro-routing/expected/adv-liveguard-04-live-arm-deployment-stack-guard.json +6 -0
  242. package/tests/fixtures/azure-maestro-routing/expected/adv-liveguard-05-live-cost-budget-action-guard.json +6 -0
  243. package/tests/fixtures/azure-maestro-routing/expected/adv-liveguard-06-live-entra-role-assignment-guard.json +6 -0
  244. package/tests/fixtures/azure-maestro-routing/expected/adv-liveguard-07-live-keyvault-rotation-purge-guard.json +6 -0
  245. package/tests/fixtures/azure-maestro-routing/expected/adv-liveguard-08-live-pim-jit-activation-guard.json +6 -0
  246. package/tests/fixtures/azure-maestro-routing/expected/adv-persona-replacement.json +6 -0
  247. package/tests/fixtures/azure-maestro-routing/expected/adv-secrets-bait.json +8 -0
  248. package/tests/fixtures/azure-maestro-routing/inputs/001-happy-ai-foundry-ops-governor.json +7 -0
  249. package/tests/fixtures/azure-maestro-routing/inputs/002-happy-aks-platform-operator.json +7 -0
  250. package/tests/fixtures/azure-maestro-routing/inputs/003-happy-app-service-production-readiness.json +7 -0
  251. package/tests/fixtures/azure-maestro-routing/inputs/004-happy-cosmosdb-application-developer.json +7 -0
  252. package/tests/fixtures/azure-maestro-routing/inputs/005-happy-cosmosdb-performance-investigator.json +7 -0
  253. package/tests/fixtures/azure-maestro-routing/inputs/006-happy-cosmosdb-platform-operator.json +7 -0
  254. package/tests/fixtures/azure-maestro-routing/inputs/007-happy-cost-estimation-review.json +7 -0
  255. package/tests/fixtures/azure-maestro-routing/inputs/008-happy-cost-optimization-governor.json +7 -0
  256. package/tests/fixtures/azure-maestro-routing/inputs/009-happy-entra-id-specialist.json +7 -0
  257. package/tests/fixtures/azure-maestro-routing/inputs/010-happy-identity-governance-review.json +7 -0
  258. package/tests/fixtures/azure-maestro-routing/inputs/011-happy-key-vault-secret-lifecycle-auditor.json +7 -0
  259. package/tests/fixtures/azure-maestro-routing/inputs/012-happy-keyvault-certificate-issuer-review.json +7 -0
  260. package/tests/fixtures/azure-maestro-routing/inputs/013-happy-landing-zone-architect.json +7 -0
  261. package/tests/fixtures/azure-maestro-routing/inputs/014-happy-migrate-landing-zone-cutover.json +7 -0
  262. package/tests/fixtures/azure-maestro-routing/inputs/015-happy-network-topology-review.json +7 -0
  263. package/tests/fixtures/azure-maestro-routing/inputs/016-happy-observability-investigator.json +7 -0
  264. package/tests/fixtures/azure-maestro-routing/inputs/017-happy-platform-automation-devops.json +7 -0
  265. package/tests/fixtures/azure-maestro-routing/inputs/018-happy-private-endpoint-adoption-planner.json +7 -0
  266. package/tests/fixtures/azure-maestro-routing/inputs/019-happy-rbac-review.json +7 -0
  267. package/tests/fixtures/azure-maestro-routing/inputs/020-happy-resilience-bcdr-review.json +7 -0
  268. package/tests/fixtures/azure-maestro-routing/inputs/021-happy-resource-health-incident-triage.json +7 -0
  269. package/tests/fixtures/azure-maestro-routing/inputs/022-happy-role-selector.json +7 -0
  270. package/tests/fixtures/azure-maestro-routing/inputs/023-happy-security-posture-hardening.json +7 -0
  271. package/tests/fixtures/azure-maestro-routing/inputs/024-happy-subscription-resource-organization.json +7 -0
  272. package/tests/fixtures/azure-maestro-routing/inputs/025-happy-waf-cost-optimization-review.json +7 -0
  273. package/tests/fixtures/azure-maestro-routing/inputs/026-happy-waf-reliability-review.json +7 -0
  274. package/tests/fixtures/azure-maestro-routing/inputs/027-happy-waf-security-review.json +7 -0
  275. package/tests/fixtures/azure-maestro-routing/inputs/adv-ambiguous.json +7 -0
  276. package/tests/fixtures/azure-maestro-routing/inputs/adv-instruction-injection.json +7 -0
  277. package/tests/fixtures/azure-maestro-routing/inputs/adv-liveguard-01-governance-policy-guardrails.json +7 -0
  278. package/tests/fixtures/azure-maestro-routing/inputs/adv-liveguard-02-live-aks-rollout-guard.json +7 -0
  279. package/tests/fixtures/azure-maestro-routing/inputs/adv-liveguard-03-live-app-service-slot-swap-guard.json +7 -0
  280. package/tests/fixtures/azure-maestro-routing/inputs/adv-liveguard-04-live-arm-deployment-stack-guard.json +7 -0
  281. package/tests/fixtures/azure-maestro-routing/inputs/adv-liveguard-05-live-cost-budget-action-guard.json +7 -0
  282. package/tests/fixtures/azure-maestro-routing/inputs/adv-liveguard-06-live-entra-role-assignment-guard.json +7 -0
  283. package/tests/fixtures/azure-maestro-routing/inputs/adv-liveguard-07-live-keyvault-rotation-purge-guard.json +7 -0
  284. package/tests/fixtures/azure-maestro-routing/inputs/adv-liveguard-08-live-pim-jit-activation-guard.json +7 -0
  285. package/tests/fixtures/azure-maestro-routing/inputs/adv-persona-replacement.json +7 -0
  286. package/tests/fixtures/azure-maestro-routing/inputs/adv-secrets-bait.json +7 -0
  287. package/tests/fixtures/azure-maestro-routing/taxonomy.json +351 -0
  288. package/tests/fixtures/contabo-maestro-routing/expected/001-happy-capacity-planner.json +6 -0
  289. package/tests/fixtures/contabo-maestro-routing/expected/002-happy-cost-optimization-analyst.json +6 -0
  290. package/tests/fixtures/contabo-maestro-routing/expected/003-happy-security-hardening.json +6 -0
  291. package/tests/fixtures/contabo-maestro-routing/expected/adv-ambiguous.json +4 -0
  292. package/tests/fixtures/contabo-maestro-routing/expected/adv-instruction-injection.json +6 -0
  293. package/tests/fixtures/contabo-maestro-routing/expected/adv-liveguard-01-live-instance-lifecycle-guard.json +6 -0
  294. package/tests/fixtures/contabo-maestro-routing/expected/adv-liveguard-02-live-storage-operations-guard.json +6 -0
  295. package/tests/fixtures/contabo-maestro-routing/expected/adv-persona-replacement.json +6 -0
  296. package/tests/fixtures/contabo-maestro-routing/expected/adv-secrets-bait.json +6 -0
  297. package/tests/fixtures/contabo-maestro-routing/inputs/001-happy-capacity-planner.json +7 -0
  298. package/tests/fixtures/contabo-maestro-routing/inputs/002-happy-cost-optimization-analyst.json +7 -0
  299. package/tests/fixtures/contabo-maestro-routing/inputs/003-happy-security-hardening.json +7 -0
  300. package/tests/fixtures/contabo-maestro-routing/inputs/adv-ambiguous.json +7 -0
  301. package/tests/fixtures/contabo-maestro-routing/inputs/adv-instruction-injection.json +7 -0
  302. package/tests/fixtures/contabo-maestro-routing/inputs/adv-liveguard-01-live-instance-lifecycle-guard.json +7 -0
  303. package/tests/fixtures/contabo-maestro-routing/inputs/adv-liveguard-02-live-storage-operations-guard.json +7 -0
  304. package/tests/fixtures/contabo-maestro-routing/inputs/adv-persona-replacement.json +7 -0
  305. package/tests/fixtures/contabo-maestro-routing/inputs/adv-secrets-bait.json +7 -0
  306. package/tests/fixtures/contabo-maestro-routing/taxonomy.json +40 -0
  307. package/tests/fixtures/finops-cloud-price-advisor/expected/001-scaleway-instance-eu-fr.json +14 -0
  308. package/tests/fixtures/finops-cloud-price-advisor/expected/002-scaleway-storage-eu-nl.json +14 -0
  309. package/tests/fixtures/finops-cloud-price-advisor/expected/003-gandi-vps-no-key.json +16 -0
  310. package/tests/fixtures/finops-cloud-price-advisor/expected/004-gandi-cdn-with-key.json +17 -0
  311. package/tests/fixtures/finops-cloud-price-advisor/expected/005-alibaba-ecs-cny.json +16 -0
  312. package/tests/fixtures/finops-cloud-price-advisor/expected/006-alibaba-rds-ap-southeast.json +14 -0
  313. package/tests/fixtures/finops-cloud-price-advisor/expected/007-tencent-cvm-cny.json +16 -0
  314. package/tests/fixtures/finops-cloud-price-advisor/expected/008-tencent-db-ap-singapore.json +14 -0
  315. package/tests/fixtures/finops-cloud-price-advisor/expected/009-comparative-aws-vs-scaleway.json +14 -0
  316. package/tests/fixtures/finops-cloud-price-advisor/expected/010-comparative-azure-vs-alibaba.json +14 -0
  317. package/tests/fixtures/finops-cloud-price-advisor/expected/adv-001-gandi-key-storage-bait.json +14 -0
  318. package/tests/fixtures/finops-cloud-price-advisor/expected/adv-002-alibaba-credential-bait.json +15 -0
  319. package/tests/fixtures/finops-cloud-price-advisor/expected/adv-003-tencent-secretid-bait.json +14 -0
  320. package/tests/fixtures/finops-cloud-price-advisor/expected/adv-004-scrape-url-injection.json +15 -0
  321. package/tests/fixtures/finops-cloud-price-advisor/expected/adv-005-persona-replacement.json +15 -0
  322. package/tests/fixtures/finops-cloud-price-advisor/inputs/001-scaleway-instance-eu-fr.json +9 -0
  323. package/tests/fixtures/finops-cloud-price-advisor/inputs/002-scaleway-storage-eu-nl.json +9 -0
  324. package/tests/fixtures/finops-cloud-price-advisor/inputs/003-gandi-vps-no-key.json +10 -0
  325. package/tests/fixtures/finops-cloud-price-advisor/inputs/004-gandi-cdn-with-key.json +11 -0
  326. package/tests/fixtures/finops-cloud-price-advisor/inputs/005-alibaba-ecs-cny.json +9 -0
  327. package/tests/fixtures/finops-cloud-price-advisor/inputs/006-alibaba-rds-ap-southeast.json +9 -0
  328. package/tests/fixtures/finops-cloud-price-advisor/inputs/007-tencent-cvm-cny.json +9 -0
  329. package/tests/fixtures/finops-cloud-price-advisor/inputs/008-tencent-db-ap-singapore.json +9 -0
  330. package/tests/fixtures/finops-cloud-price-advisor/inputs/009-comparative-aws-vs-scaleway.json +10 -0
  331. package/tests/fixtures/finops-cloud-price-advisor/inputs/010-comparative-azure-vs-alibaba.json +10 -0
  332. package/tests/fixtures/finops-cloud-price-advisor/inputs/adv-001-gandi-key-storage-bait.json +12 -0
  333. package/tests/fixtures/finops-cloud-price-advisor/inputs/adv-002-alibaba-credential-bait.json +11 -0
  334. package/tests/fixtures/finops-cloud-price-advisor/inputs/adv-003-tencent-secretid-bait.json +11 -0
  335. package/tests/fixtures/finops-cloud-price-advisor/inputs/adv-004-scrape-url-injection.json +11 -0
  336. package/tests/fixtures/finops-cloud-price-advisor/inputs/adv-005-persona-replacement.json +11 -0
  337. package/tests/fixtures/finops-cloud-price-advisor/taxonomy.json +10 -0
  338. package/tests/fixtures/finops-maestro-routing/expected/001-happy-ai-economist.json +4 -0
  339. package/tests/fixtures/finops-maestro-routing/expected/002-happy-kubernetes-rightsizer.json +4 -0
  340. package/tests/fixtures/finops-maestro-routing/expected/003-happy-cloud-price-advisor.json +4 -0
  341. package/tests/fixtures/finops-maestro-routing/expected/004-parallel-ai-and-k8s.json +4 -0
  342. package/tests/fixtures/finops-maestro-routing/expected/005-parallel-k8s-and-price.json +4 -0
  343. package/tests/fixtures/finops-maestro-routing/expected/006-adversarial-instruction-injection.json +4 -0
  344. package/tests/fixtures/finops-maestro-routing/expected/007-adversarial-persona-replacement.json +4 -0
  345. package/tests/fixtures/finops-maestro-routing/expected/008-adversarial-secrets-bait.json +4 -0
  346. package/tests/fixtures/finops-maestro-routing/expected/009-ambiguous.json +4 -0
  347. package/tests/fixtures/finops-maestro-routing/inputs/001-happy-ai-economist.json +5 -0
  348. package/tests/fixtures/finops-maestro-routing/inputs/002-happy-kubernetes-rightsizer.json +5 -0
  349. package/tests/fixtures/finops-maestro-routing/inputs/003-happy-cloud-price-advisor.json +5 -0
  350. package/tests/fixtures/finops-maestro-routing/inputs/004-parallel-ai-and-k8s.json +5 -0
  351. package/tests/fixtures/finops-maestro-routing/inputs/005-parallel-k8s-and-price.json +5 -0
  352. package/tests/fixtures/finops-maestro-routing/inputs/006-adversarial-instruction-injection.json +5 -0
  353. package/tests/fixtures/finops-maestro-routing/inputs/007-adversarial-persona-replacement.json +5 -0
  354. package/tests/fixtures/finops-maestro-routing/inputs/008-adversarial-secrets-bait.json +5 -0
  355. package/tests/fixtures/finops-maestro-routing/inputs/009-ambiguous.json +5 -0
  356. package/tests/fixtures/finops-maestro-routing/taxonomy.json +144 -0
  357. package/tests/fixtures/gcp-maestro-routing/expected/001-happy-alloydb-ai-developer.json +6 -0
  358. package/tests/fixtures/gcp-maestro-routing/expected/002-happy-alloydb-cloudsql-dba.json +6 -0
  359. package/tests/fixtures/gcp-maestro-routing/expected/003-happy-anthos-multicloud-architect.json +6 -0
  360. package/tests/fixtures/gcp-maestro-routing/expected/004-happy-apigee-api-platform-operator.json +6 -0
  361. package/tests/fixtures/gcp-maestro-routing/expected/005-happy-bigquery-cost-performance-analyst.json +6 -0
  362. package/tests/fixtures/gcp-maestro-routing/expected/006-happy-certificate-manager-issuer-review.json +6 -0
  363. package/tests/fixtures/gcp-maestro-routing/expected/007-happy-change-impact-advisor.json +6 -0
  364. package/tests/fixtures/gcp-maestro-routing/expected/008-happy-cloud-auth-advisor.json +6 -0
  365. package/tests/fixtures/gcp-maestro-routing/expected/009-happy-cloud-run-functions-operator.json +6 -0
  366. package/tests/fixtures/gcp-maestro-routing/expected/010-happy-cloudbuild-deploy-cicd-operator.json +6 -0
  367. package/tests/fixtures/gcp-maestro-routing/expected/011-happy-compliance-assured-workloads.json +6 -0
  368. package/tests/fixtures/gcp-maestro-routing/expected/012-happy-compute-engine-operator.json +6 -0
  369. package/tests/fixtures/gcp-maestro-routing/expected/013-happy-cost-anomaly-watch-coordinator.json +6 -0
  370. package/tests/fixtures/gcp-maestro-routing/expected/014-happy-cost-finops-analyst.json +6 -0
  371. package/tests/fixtures/gcp-maestro-routing/expected/015-happy-daily-operations-briefing-coordinator.json +6 -0
  372. package/tests/fixtures/gcp-maestro-routing/expected/016-happy-data-pipeline-engineer.json +6 -0
  373. package/tests/fixtures/gcp-maestro-routing/expected/017-happy-event-driven-architecture-review.json +6 -0
  374. package/tests/fixtures/gcp-maestro-routing/expected/018-happy-firebase-developer.json +6 -0
  375. package/tests/fixtures/gcp-maestro-routing/expected/019-happy-gcs-data-perimeter-governor.json +6 -0
  376. package/tests/fixtures/gcp-maestro-routing/expected/020-happy-gemini-api-developer.json +6 -0
  377. package/tests/fixtures/gcp-maestro-routing/expected/021-happy-gke-platform-operator.json +6 -0
  378. package/tests/fixtures/gcp-maestro-routing/expected/022-happy-iac-change-safety-review.json +6 -0
  379. package/tests/fixtures/gcp-maestro-routing/expected/023-happy-iam-least-privilege-review.json +6 -0
  380. package/tests/fixtures/gcp-maestro-routing/expected/024-happy-landing-zone-architect.json +6 -0
  381. package/tests/fixtures/gcp-maestro-routing/expected/025-happy-load-balancer-traffic-engineer.json +6 -0
  382. package/tests/fixtures/gcp-maestro-routing/expected/026-happy-migration-cutover-architect.json +6 -0
  383. package/tests/fixtures/gcp-maestro-routing/expected/027-happy-network-architect.json +6 -0
  384. package/tests/fixtures/gcp-maestro-routing/expected/028-happy-networking-observability.json +6 -0
  385. package/tests/fixtures/gcp-maestro-routing/expected/029-happy-observability-incident-responder.json +6 -0
  386. package/tests/fixtures/gcp-maestro-routing/expected/030-happy-registry-artifact-governor.json +6 -0
  387. package/tests/fixtures/gcp-maestro-routing/expected/031-happy-resilience-bcdr-review.json +6 -0
  388. package/tests/fixtures/gcp-maestro-routing/expected/032-happy-resource-inventory-analyst.json +6 -0
  389. package/tests/fixtures/gcp-maestro-routing/expected/033-happy-secret-kms-lifecycle-steward.json +6 -0
  390. package/tests/fixtures/gcp-maestro-routing/expected/034-happy-security-posture-hardening.json +6 -0
  391. package/tests/fixtures/gcp-maestro-routing/expected/035-happy-serverless-production-readiness.json +6 -0
  392. package/tests/fixtures/gcp-maestro-routing/expected/036-happy-solution-architect.json +6 -0
  393. package/tests/fixtures/gcp-maestro-routing/expected/037-happy-spanner-architect.json +6 -0
  394. package/tests/fixtures/gcp-maestro-routing/expected/038-happy-support-incident-coordinator.json +6 -0
  395. package/tests/fixtures/gcp-maestro-routing/expected/039-happy-ticket-triage-escalation-coordinator.json +6 -0
  396. package/tests/fixtures/gcp-maestro-routing/expected/040-happy-vertex-ai-mlops-engineer.json +6 -0
  397. package/tests/fixtures/gcp-maestro-routing/expected/041-happy-vpc-service-controls-architect.json +6 -0
  398. package/tests/fixtures/gcp-maestro-routing/expected/042-happy-waf-cost-optimization-review.json +6 -0
  399. package/tests/fixtures/gcp-maestro-routing/expected/043-happy-waf-reliability-review.json +6 -0
  400. package/tests/fixtures/gcp-maestro-routing/expected/044-happy-waf-security-review.json +6 -0
  401. package/tests/fixtures/gcp-maestro-routing/expected/adv-ambiguous.json +4 -0
  402. package/tests/fixtures/gcp-maestro-routing/expected/adv-instruction-injection.json +6 -0
  403. package/tests/fixtures/gcp-maestro-routing/expected/adv-liveguard-01-live-bigquery-dataset-deletion-guard.json +6 -0
  404. package/tests/fixtures/gcp-maestro-routing/expected/adv-liveguard-02-live-cloud-run-traffic-migration-guard.json +6 -0
  405. package/tests/fixtures/gcp-maestro-routing/expected/adv-liveguard-03-live-cost-budget-action-guard.json +6 -0
  406. package/tests/fixtures/gcp-maestro-routing/expected/adv-liveguard-04-live-gke-rollout-guard.json +6 -0
  407. package/tests/fixtures/gcp-maestro-routing/expected/adv-liveguard-05-live-iam-policy-change-guard.json +6 -0
  408. package/tests/fixtures/gcp-maestro-routing/expected/adv-liveguard-06-live-kms-key-destruction-guard.json +6 -0
  409. package/tests/fixtures/gcp-maestro-routing/expected/adv-persona-replacement.json +6 -0
  410. package/tests/fixtures/gcp-maestro-routing/expected/adv-secrets-bait.json +8 -0
  411. package/tests/fixtures/gcp-maestro-routing/inputs/001-happy-alloydb-ai-developer.json +7 -0
  412. package/tests/fixtures/gcp-maestro-routing/inputs/002-happy-alloydb-cloudsql-dba.json +7 -0
  413. package/tests/fixtures/gcp-maestro-routing/inputs/003-happy-anthos-multicloud-architect.json +7 -0
  414. package/tests/fixtures/gcp-maestro-routing/inputs/004-happy-apigee-api-platform-operator.json +7 -0
  415. package/tests/fixtures/gcp-maestro-routing/inputs/005-happy-bigquery-cost-performance-analyst.json +7 -0
  416. package/tests/fixtures/gcp-maestro-routing/inputs/006-happy-certificate-manager-issuer-review.json +7 -0
  417. package/tests/fixtures/gcp-maestro-routing/inputs/007-happy-change-impact-advisor.json +7 -0
  418. package/tests/fixtures/gcp-maestro-routing/inputs/008-happy-cloud-auth-advisor.json +7 -0
  419. package/tests/fixtures/gcp-maestro-routing/inputs/009-happy-cloud-run-functions-operator.json +7 -0
  420. package/tests/fixtures/gcp-maestro-routing/inputs/010-happy-cloudbuild-deploy-cicd-operator.json +7 -0
  421. package/tests/fixtures/gcp-maestro-routing/inputs/011-happy-compliance-assured-workloads.json +7 -0
  422. package/tests/fixtures/gcp-maestro-routing/inputs/012-happy-compute-engine-operator.json +7 -0
  423. package/tests/fixtures/gcp-maestro-routing/inputs/013-happy-cost-anomaly-watch-coordinator.json +7 -0
  424. package/tests/fixtures/gcp-maestro-routing/inputs/014-happy-cost-finops-analyst.json +7 -0
  425. package/tests/fixtures/gcp-maestro-routing/inputs/015-happy-daily-operations-briefing-coordinator.json +7 -0
  426. package/tests/fixtures/gcp-maestro-routing/inputs/016-happy-data-pipeline-engineer.json +7 -0
  427. package/tests/fixtures/gcp-maestro-routing/inputs/017-happy-event-driven-architecture-review.json +7 -0
  428. package/tests/fixtures/gcp-maestro-routing/inputs/018-happy-firebase-developer.json +7 -0
  429. package/tests/fixtures/gcp-maestro-routing/inputs/019-happy-gcs-data-perimeter-governor.json +7 -0
  430. package/tests/fixtures/gcp-maestro-routing/inputs/020-happy-gemini-api-developer.json +7 -0
  431. package/tests/fixtures/gcp-maestro-routing/inputs/021-happy-gke-platform-operator.json +7 -0
  432. package/tests/fixtures/gcp-maestro-routing/inputs/022-happy-iac-change-safety-review.json +7 -0
  433. package/tests/fixtures/gcp-maestro-routing/inputs/023-happy-iam-least-privilege-review.json +7 -0
  434. package/tests/fixtures/gcp-maestro-routing/inputs/024-happy-landing-zone-architect.json +7 -0
  435. package/tests/fixtures/gcp-maestro-routing/inputs/025-happy-load-balancer-traffic-engineer.json +7 -0
  436. package/tests/fixtures/gcp-maestro-routing/inputs/026-happy-migration-cutover-architect.json +7 -0
  437. package/tests/fixtures/gcp-maestro-routing/inputs/027-happy-network-architect.json +7 -0
  438. package/tests/fixtures/gcp-maestro-routing/inputs/028-happy-networking-observability.json +7 -0
  439. package/tests/fixtures/gcp-maestro-routing/inputs/029-happy-observability-incident-responder.json +7 -0
  440. package/tests/fixtures/gcp-maestro-routing/inputs/030-happy-registry-artifact-governor.json +7 -0
  441. package/tests/fixtures/gcp-maestro-routing/inputs/031-happy-resilience-bcdr-review.json +7 -0
  442. package/tests/fixtures/gcp-maestro-routing/inputs/032-happy-resource-inventory-analyst.json +7 -0
  443. package/tests/fixtures/gcp-maestro-routing/inputs/033-happy-secret-kms-lifecycle-steward.json +7 -0
  444. package/tests/fixtures/gcp-maestro-routing/inputs/034-happy-security-posture-hardening.json +7 -0
  445. package/tests/fixtures/gcp-maestro-routing/inputs/035-happy-serverless-production-readiness.json +7 -0
  446. package/tests/fixtures/gcp-maestro-routing/inputs/036-happy-solution-architect.json +7 -0
  447. package/tests/fixtures/gcp-maestro-routing/inputs/037-happy-spanner-architect.json +7 -0
  448. package/tests/fixtures/gcp-maestro-routing/inputs/038-happy-support-incident-coordinator.json +7 -0
  449. package/tests/fixtures/gcp-maestro-routing/inputs/039-happy-ticket-triage-escalation-coordinator.json +7 -0
  450. package/tests/fixtures/gcp-maestro-routing/inputs/040-happy-vertex-ai-mlops-engineer.json +7 -0
  451. package/tests/fixtures/gcp-maestro-routing/inputs/041-happy-vpc-service-controls-architect.json +7 -0
  452. package/tests/fixtures/gcp-maestro-routing/inputs/042-happy-waf-cost-optimization-review.json +7 -0
  453. package/tests/fixtures/gcp-maestro-routing/inputs/043-happy-waf-reliability-review.json +7 -0
  454. package/tests/fixtures/gcp-maestro-routing/inputs/044-happy-waf-security-review.json +7 -0
  455. package/tests/fixtures/gcp-maestro-routing/inputs/adv-ambiguous.json +7 -0
  456. package/tests/fixtures/gcp-maestro-routing/inputs/adv-instruction-injection.json +7 -0
  457. package/tests/fixtures/gcp-maestro-routing/inputs/adv-liveguard-01-live-bigquery-dataset-deletion-guard.json +7 -0
  458. package/tests/fixtures/gcp-maestro-routing/inputs/adv-liveguard-02-live-cloud-run-traffic-migration-guard.json +7 -0
  459. package/tests/fixtures/gcp-maestro-routing/inputs/adv-liveguard-03-live-cost-budget-action-guard.json +7 -0
  460. package/tests/fixtures/gcp-maestro-routing/inputs/adv-liveguard-04-live-gke-rollout-guard.json +7 -0
  461. package/tests/fixtures/gcp-maestro-routing/inputs/adv-liveguard-05-live-iam-policy-change-guard.json +7 -0
  462. package/tests/fixtures/gcp-maestro-routing/inputs/adv-liveguard-06-live-kms-key-destruction-guard.json +7 -0
  463. package/tests/fixtures/gcp-maestro-routing/inputs/adv-persona-replacement.json +7 -0
  464. package/tests/fixtures/gcp-maestro-routing/inputs/adv-secrets-bait.json +7 -0
  465. package/tests/fixtures/gcp-maestro-routing/taxonomy.json +562 -0
  466. package/tests/fixtures/hetzner-maestro-routing/expected/001-happy-capacity-planner.json +6 -0
  467. package/tests/fixtures/hetzner-maestro-routing/expected/002-happy-cost-optimization-analyst.json +6 -0
  468. package/tests/fixtures/hetzner-maestro-routing/expected/003-happy-infrastructure-reviewer.json +6 -0
  469. package/tests/fixtures/hetzner-maestro-routing/expected/adv-ambiguous.json +4 -0
  470. package/tests/fixtures/hetzner-maestro-routing/expected/adv-instruction-injection.json +6 -0
  471. package/tests/fixtures/hetzner-maestro-routing/expected/adv-liveguard-01-live-firewall-rule-guard.json +6 -0
  472. package/tests/fixtures/hetzner-maestro-routing/expected/adv-liveguard-02-live-server-lifecycle-guard.json +6 -0
  473. package/tests/fixtures/hetzner-maestro-routing/expected/adv-persona-replacement.json +6 -0
  474. package/tests/fixtures/hetzner-maestro-routing/expected/adv-secrets-bait.json +6 -0
  475. package/tests/fixtures/hetzner-maestro-routing/inputs/001-happy-capacity-planner.json +7 -0
  476. package/tests/fixtures/hetzner-maestro-routing/inputs/002-happy-cost-optimization-analyst.json +7 -0
  477. package/tests/fixtures/hetzner-maestro-routing/inputs/003-happy-infrastructure-reviewer.json +7 -0
  478. package/tests/fixtures/hetzner-maestro-routing/inputs/adv-ambiguous.json +7 -0
  479. package/tests/fixtures/hetzner-maestro-routing/inputs/adv-instruction-injection.json +7 -0
  480. package/tests/fixtures/hetzner-maestro-routing/inputs/adv-liveguard-01-live-firewall-rule-guard.json +7 -0
  481. package/tests/fixtures/hetzner-maestro-routing/inputs/adv-liveguard-02-live-server-lifecycle-guard.json +7 -0
  482. package/tests/fixtures/hetzner-maestro-routing/inputs/adv-persona-replacement.json +7 -0
  483. package/tests/fixtures/hetzner-maestro-routing/inputs/adv-secrets-bait.json +7 -0
  484. package/tests/fixtures/hetzner-maestro-routing/taxonomy.json +40 -0
  485. package/tests/fixtures/huawei-maestro-routing/expected/001-happy-cce-container-platform-operator.json +6 -0
  486. package/tests/fixtures/huawei-maestro-routing/expected/002-happy-certificate-manager-issuer-review.json +6 -0
  487. package/tests/fixtures/huawei-maestro-routing/expected/003-happy-change-impact-advisor.json +6 -0
  488. package/tests/fixtures/huawei-maestro-routing/expected/004-happy-codearts-devops-operator.json +6 -0
  489. package/tests/fixtures/huawei-maestro-routing/expected/005-happy-compliance-sovereignty.json +6 -0
  490. package/tests/fixtures/huawei-maestro-routing/expected/006-happy-cost-anomaly-watch-coordinator.json +6 -0
  491. package/tests/fixtures/huawei-maestro-routing/expected/007-happy-cost-finops-analyst.json +6 -0
  492. package/tests/fixtures/huawei-maestro-routing/expected/008-happy-daily-operations-briefing-coordinator.json +6 -0
  493. package/tests/fixtures/huawei-maestro-routing/expected/009-happy-dew-kms-lifecycle-steward.json +6 -0
  494. package/tests/fixtures/huawei-maestro-routing/expected/010-happy-drs-data-replication-operator.json +6 -0
  495. package/tests/fixtures/huawei-maestro-routing/expected/011-happy-dws-dli-data-analyst.json +6 -0
  496. package/tests/fixtures/huawei-maestro-routing/expected/012-happy-ecs-compute-operator.json +6 -0
  497. package/tests/fixtures/huawei-maestro-routing/expected/013-happy-event-driven-architecture-review.json +6 -0
  498. package/tests/fixtures/huawei-maestro-routing/expected/014-happy-functiongraph-serverless-operator.json +6 -0
  499. package/tests/fixtures/huawei-maestro-routing/expected/015-happy-gaussdb-rds-dba.json +6 -0
  500. package/tests/fixtures/huawei-maestro-routing/expected/016-happy-iac-change-safety-review.json +6 -0
  501. package/tests/fixtures/huawei-maestro-routing/expected/017-happy-iam-least-privilege-review.json +6 -0
  502. package/tests/fixtures/huawei-maestro-routing/expected/018-happy-ief-edge-computing-operator.json +6 -0
  503. package/tests/fixtures/huawei-maestro-routing/expected/019-happy-landing-zone-architect.json +6 -0
  504. package/tests/fixtures/huawei-maestro-routing/expected/020-happy-load-balancer-traffic-engineer.json +6 -0
  505. package/tests/fixtures/huawei-maestro-routing/expected/021-happy-migration-architect.json +6 -0
  506. package/tests/fixtures/huawei-maestro-routing/expected/022-happy-modelarts-mlops-engineer.json +6 -0
  507. package/tests/fixtures/huawei-maestro-routing/expected/023-happy-network-architect.json +6 -0
  508. package/tests/fixtures/huawei-maestro-routing/expected/024-happy-obs-data-perimeter-governor.json +6 -0
  509. package/tests/fixtures/huawei-maestro-routing/expected/025-happy-obs-storage-steward.json +6 -0
  510. package/tests/fixtures/huawei-maestro-routing/expected/026-happy-observability-incident-responder.json +6 -0
  511. package/tests/fixtures/huawei-maestro-routing/expected/027-happy-registry-artifact-governor.json +6 -0
  512. package/tests/fixtures/huawei-maestro-routing/expected/028-happy-resilience-bcdr-review.json +6 -0
  513. package/tests/fixtures/huawei-maestro-routing/expected/029-happy-secmaster-security-operations.json +6 -0
  514. package/tests/fixtures/huawei-maestro-routing/expected/030-happy-serverless-production-readiness.json +6 -0
  515. package/tests/fixtures/huawei-maestro-routing/expected/031-happy-solution-architect.json +6 -0
  516. package/tests/fixtures/huawei-maestro-routing/expected/032-happy-support-incident-coordinator.json +6 -0
  517. package/tests/fixtures/huawei-maestro-routing/expected/033-happy-ticket-triage-escalation-coordinator.json +6 -0
  518. package/tests/fixtures/huawei-maestro-routing/expected/034-happy-waf-cost-optimization-review.json +6 -0
  519. package/tests/fixtures/huawei-maestro-routing/expected/035-happy-waf-reliability-review.json +6 -0
  520. package/tests/fixtures/huawei-maestro-routing/expected/036-happy-waf-security-review.json +8 -0
  521. package/tests/fixtures/huawei-maestro-routing/expected/adv-ambiguous.json +4 -0
  522. package/tests/fixtures/huawei-maestro-routing/expected/adv-instruction-injection.json +6 -0
  523. package/tests/fixtures/huawei-maestro-routing/expected/adv-liveguard-01-live-cce-rollout-guard.json +6 -0
  524. package/tests/fixtures/huawei-maestro-routing/expected/adv-liveguard-02-live-cost-budget-action-guard.json +6 -0
  525. package/tests/fixtures/huawei-maestro-routing/expected/adv-liveguard-03-live-gaussdb-mutation-guard.json +6 -0
  526. package/tests/fixtures/huawei-maestro-routing/expected/adv-liveguard-04-live-iam-policy-change-guard.json +6 -0
  527. package/tests/fixtures/huawei-maestro-routing/expected/adv-liveguard-05-live-kms-key-destruction-guard.json +6 -0
  528. package/tests/fixtures/huawei-maestro-routing/expected/adv-liveguard-06-live-obs-bucket-policy-guard.json +6 -0
  529. package/tests/fixtures/huawei-maestro-routing/expected/adv-persona-replacement.json +6 -0
  530. package/tests/fixtures/huawei-maestro-routing/expected/adv-secrets-bait.json +6 -0
  531. package/tests/fixtures/huawei-maestro-routing/inputs/001-happy-cce-container-platform-operator.json +7 -0
  532. package/tests/fixtures/huawei-maestro-routing/inputs/002-happy-certificate-manager-issuer-review.json +7 -0
  533. package/tests/fixtures/huawei-maestro-routing/inputs/003-happy-change-impact-advisor.json +7 -0
  534. package/tests/fixtures/huawei-maestro-routing/inputs/004-happy-codearts-devops-operator.json +7 -0
  535. package/tests/fixtures/huawei-maestro-routing/inputs/005-happy-compliance-sovereignty.json +7 -0
  536. package/tests/fixtures/huawei-maestro-routing/inputs/006-happy-cost-anomaly-watch-coordinator.json +7 -0
  537. package/tests/fixtures/huawei-maestro-routing/inputs/007-happy-cost-finops-analyst.json +7 -0
  538. package/tests/fixtures/huawei-maestro-routing/inputs/008-happy-daily-operations-briefing-coordinator.json +7 -0
  539. package/tests/fixtures/huawei-maestro-routing/inputs/009-happy-dew-kms-lifecycle-steward.json +7 -0
  540. package/tests/fixtures/huawei-maestro-routing/inputs/010-happy-drs-data-replication-operator.json +7 -0
  541. package/tests/fixtures/huawei-maestro-routing/inputs/011-happy-dws-dli-data-analyst.json +7 -0
  542. package/tests/fixtures/huawei-maestro-routing/inputs/012-happy-ecs-compute-operator.json +7 -0
  543. package/tests/fixtures/huawei-maestro-routing/inputs/013-happy-event-driven-architecture-review.json +7 -0
  544. package/tests/fixtures/huawei-maestro-routing/inputs/014-happy-functiongraph-serverless-operator.json +7 -0
  545. package/tests/fixtures/huawei-maestro-routing/inputs/015-happy-gaussdb-rds-dba.json +7 -0
  546. package/tests/fixtures/huawei-maestro-routing/inputs/016-happy-iac-change-safety-review.json +7 -0
  547. package/tests/fixtures/huawei-maestro-routing/inputs/017-happy-iam-least-privilege-review.json +7 -0
  548. package/tests/fixtures/huawei-maestro-routing/inputs/018-happy-ief-edge-computing-operator.json +7 -0
  549. package/tests/fixtures/huawei-maestro-routing/inputs/019-happy-landing-zone-architect.json +7 -0
  550. package/tests/fixtures/huawei-maestro-routing/inputs/020-happy-load-balancer-traffic-engineer.json +7 -0
  551. package/tests/fixtures/huawei-maestro-routing/inputs/021-happy-migration-architect.json +7 -0
  552. package/tests/fixtures/huawei-maestro-routing/inputs/022-happy-modelarts-mlops-engineer.json +7 -0
  553. package/tests/fixtures/huawei-maestro-routing/inputs/023-happy-network-architect.json +7 -0
  554. package/tests/fixtures/huawei-maestro-routing/inputs/024-happy-obs-data-perimeter-governor.json +7 -0
  555. package/tests/fixtures/huawei-maestro-routing/inputs/025-happy-obs-storage-steward.json +7 -0
  556. package/tests/fixtures/huawei-maestro-routing/inputs/026-happy-observability-incident-responder.json +7 -0
  557. package/tests/fixtures/huawei-maestro-routing/inputs/027-happy-registry-artifact-governor.json +7 -0
  558. package/tests/fixtures/huawei-maestro-routing/inputs/028-happy-resilience-bcdr-review.json +7 -0
  559. package/tests/fixtures/huawei-maestro-routing/inputs/029-happy-secmaster-security-operations.json +7 -0
  560. package/tests/fixtures/huawei-maestro-routing/inputs/030-happy-serverless-production-readiness.json +7 -0
  561. package/tests/fixtures/huawei-maestro-routing/inputs/031-happy-solution-architect.json +7 -0
  562. package/tests/fixtures/huawei-maestro-routing/inputs/032-happy-support-incident-coordinator.json +7 -0
  563. package/tests/fixtures/huawei-maestro-routing/inputs/033-happy-ticket-triage-escalation-coordinator.json +7 -0
  564. package/tests/fixtures/huawei-maestro-routing/inputs/034-happy-waf-cost-optimization-review.json +7 -0
  565. package/tests/fixtures/huawei-maestro-routing/inputs/035-happy-waf-reliability-review.json +7 -0
  566. package/tests/fixtures/huawei-maestro-routing/inputs/036-happy-waf-security-review.json +7 -0
  567. package/tests/fixtures/huawei-maestro-routing/inputs/adv-ambiguous.json +7 -0
  568. package/tests/fixtures/huawei-maestro-routing/inputs/adv-instruction-injection.json +7 -0
  569. package/tests/fixtures/huawei-maestro-routing/inputs/adv-liveguard-01-live-cce-rollout-guard.json +7 -0
  570. package/tests/fixtures/huawei-maestro-routing/inputs/adv-liveguard-02-live-cost-budget-action-guard.json +7 -0
  571. package/tests/fixtures/huawei-maestro-routing/inputs/adv-liveguard-03-live-gaussdb-mutation-guard.json +7 -0
  572. package/tests/fixtures/huawei-maestro-routing/inputs/adv-liveguard-04-live-iam-policy-change-guard.json +7 -0
  573. package/tests/fixtures/huawei-maestro-routing/inputs/adv-liveguard-05-live-kms-key-destruction-guard.json +7 -0
  574. package/tests/fixtures/huawei-maestro-routing/inputs/adv-liveguard-06-live-obs-bucket-policy-guard.json +7 -0
  575. package/tests/fixtures/huawei-maestro-routing/inputs/adv-persona-replacement.json +7 -0
  576. package/tests/fixtures/huawei-maestro-routing/inputs/adv-secrets-bait.json +7 -0
  577. package/tests/fixtures/huawei-maestro-routing/taxonomy.json +472 -0
  578. package/tests/fixtures/ionos-maestro-routing/expected/001-happy-cost-optimization-analyst.json +6 -0
  579. package/tests/fixtures/ionos-maestro-routing/expected/002-happy-datacenter-designer-reviewer.json +6 -0
  580. package/tests/fixtures/ionos-maestro-routing/expected/003-happy-kubernetes-platform-operator.json +6 -0
  581. package/tests/fixtures/ionos-maestro-routing/expected/004-happy-security-compliance-reviewer.json +6 -0
  582. package/tests/fixtures/ionos-maestro-routing/expected/adv-ambiguous.json +4 -0
  583. package/tests/fixtures/ionos-maestro-routing/expected/adv-instruction-injection.json +6 -0
  584. package/tests/fixtures/ionos-maestro-routing/expected/adv-liveguard-01-live-database-lifecycle-guard.json +6 -0
  585. package/tests/fixtures/ionos-maestro-routing/expected/adv-persona-replacement.json +6 -0
  586. package/tests/fixtures/ionos-maestro-routing/expected/adv-secrets-bait.json +6 -0
  587. package/tests/fixtures/ionos-maestro-routing/inputs/001-happy-cost-optimization-analyst.json +7 -0
  588. package/tests/fixtures/ionos-maestro-routing/inputs/002-happy-datacenter-designer-reviewer.json +7 -0
  589. package/tests/fixtures/ionos-maestro-routing/inputs/003-happy-kubernetes-platform-operator.json +7 -0
  590. package/tests/fixtures/ionos-maestro-routing/inputs/004-happy-security-compliance-reviewer.json +7 -0
  591. package/tests/fixtures/ionos-maestro-routing/inputs/adv-ambiguous.json +7 -0
  592. package/tests/fixtures/ionos-maestro-routing/inputs/adv-instruction-injection.json +7 -0
  593. package/tests/fixtures/ionos-maestro-routing/inputs/adv-liveguard-01-live-database-lifecycle-guard.json +7 -0
  594. package/tests/fixtures/ionos-maestro-routing/inputs/adv-persona-replacement.json +7 -0
  595. package/tests/fixtures/ionos-maestro-routing/inputs/adv-secrets-bait.json +7 -0
  596. package/tests/fixtures/ionos-maestro-routing/taxonomy.json +48 -0
  597. package/tests/fixtures/kubernetes-maestro-routing/expected/001-happy-external-secrets-operator-review.json +6 -0
  598. package/tests/fixtures/kubernetes-maestro-routing/expected/002-happy-kubecost-chargeback-allocation-review.json +6 -0
  599. package/tests/fixtures/kubernetes-maestro-routing/expected/003-happy-network-architecture-review.json +6 -0
  600. package/tests/fixtures/kubernetes-maestro-routing/expected/004-happy-pod-spec-review.json +6 -0
  601. package/tests/fixtures/kubernetes-maestro-routing/expected/005-happy-psa-review.json +6 -0
  602. package/tests/fixtures/kubernetes-maestro-routing/expected/006-happy-rbac-review.json +6 -0
  603. package/tests/fixtures/kubernetes-maestro-routing/expected/007-happy-workload-identity-review.json +6 -0
  604. package/tests/fixtures/kubernetes-maestro-routing/expected/adv-ambiguous.json +4 -0
  605. package/tests/fixtures/kubernetes-maestro-routing/expected/adv-instruction-injection.json +6 -0
  606. package/tests/fixtures/kubernetes-maestro-routing/expected/adv-liveguard-01-live-admission-policy-guard.json +6 -0
  607. package/tests/fixtures/kubernetes-maestro-routing/expected/adv-liveguard-02-live-argocd-sync-guard.json +6 -0
  608. package/tests/fixtures/kubernetes-maestro-routing/expected/adv-liveguard-03-live-mesh-policy-guard.json +6 -0
  609. package/tests/fixtures/kubernetes-maestro-routing/expected/adv-liveguard-04-live-network-architecture-mutation-guard.json +6 -0
  610. package/tests/fixtures/kubernetes-maestro-routing/expected/adv-liveguard-05-live-network-policy-guard.json +6 -0
  611. package/tests/fixtures/kubernetes-maestro-routing/expected/adv-liveguard-06-live-rbac-mutation-guard.json +6 -0
  612. package/tests/fixtures/kubernetes-maestro-routing/expected/adv-liveguard-07-live-velero-restore-guard.json +6 -0
  613. package/tests/fixtures/kubernetes-maestro-routing/expected/adv-persona-replacement.json +6 -0
  614. package/tests/fixtures/kubernetes-maestro-routing/expected/adv-secrets-bait.json +6 -0
  615. package/tests/fixtures/kubernetes-maestro-routing/inputs/001-happy-external-secrets-operator-review.json +7 -0
  616. package/tests/fixtures/kubernetes-maestro-routing/inputs/002-happy-kubecost-chargeback-allocation-review.json +7 -0
  617. package/tests/fixtures/kubernetes-maestro-routing/inputs/003-happy-network-architecture-review.json +7 -0
  618. package/tests/fixtures/kubernetes-maestro-routing/inputs/004-happy-pod-spec-review.json +7 -0
  619. package/tests/fixtures/kubernetes-maestro-routing/inputs/005-happy-psa-review.json +7 -0
  620. package/tests/fixtures/kubernetes-maestro-routing/inputs/006-happy-rbac-review.json +7 -0
  621. package/tests/fixtures/kubernetes-maestro-routing/inputs/007-happy-workload-identity-review.json +7 -0
  622. package/tests/fixtures/kubernetes-maestro-routing/inputs/adv-ambiguous.json +7 -0
  623. package/tests/fixtures/kubernetes-maestro-routing/inputs/adv-instruction-injection.json +7 -0
  624. package/tests/fixtures/kubernetes-maestro-routing/inputs/adv-liveguard-01-live-admission-policy-guard.json +7 -0
  625. package/tests/fixtures/kubernetes-maestro-routing/inputs/adv-liveguard-02-live-argocd-sync-guard.json +7 -0
  626. package/tests/fixtures/kubernetes-maestro-routing/inputs/adv-liveguard-03-live-mesh-policy-guard.json +7 -0
  627. package/tests/fixtures/kubernetes-maestro-routing/inputs/adv-liveguard-04-live-network-architecture-mutation-guard.json +7 -0
  628. package/tests/fixtures/kubernetes-maestro-routing/inputs/adv-liveguard-05-live-network-policy-guard.json +7 -0
  629. package/tests/fixtures/kubernetes-maestro-routing/inputs/adv-liveguard-06-live-rbac-mutation-guard.json +7 -0
  630. package/tests/fixtures/kubernetes-maestro-routing/inputs/adv-liveguard-07-live-velero-restore-guard.json +7 -0
  631. package/tests/fixtures/kubernetes-maestro-routing/inputs/adv-persona-replacement.json +7 -0
  632. package/tests/fixtures/kubernetes-maestro-routing/inputs/adv-secrets-bait.json +7 -0
  633. package/tests/fixtures/kubernetes-maestro-routing/taxonomy.json +98 -0
  634. package/tests/fixtures/nvidia-maestro-routing/README.md +24 -0
  635. package/tests/fixtures/nvidia-maestro-routing/expected/01-cuda-coalescing.json +6 -0
  636. package/tests/fixtures/nvidia-maestro-routing/expected/02-dcgm-coverage.json +6 -0
  637. package/tests/fixtures/nvidia-maestro-routing/expected/03-ngc-cosign-policy.json +6 -0
  638. package/tests/fixtures/nvidia-maestro-routing/expected/04-triton-batching.json +6 -0
  639. package/tests/fixtures/nvidia-maestro-routing/expected/05-trt-int8-calibration.json +6 -0
  640. package/tests/fixtures/nvidia-maestro-routing/expected/06-gpu-operator-securitycontext.json +6 -0
  641. package/tests/fixtures/nvidia-maestro-routing/expected/07-spectrumx-nccl.json +6 -0
  642. package/tests/fixtures/nvidia-maestro-routing/expected/08-dgx-bmc.json +6 -0
  643. package/tests/fixtures/nvidia-maestro-routing/expected/09-nemo-agent-toolkit.json +6 -0
  644. package/tests/fixtures/nvidia-maestro-routing/expected/10-nemo-genai.json +6 -0
  645. package/tests/fixtures/nvidia-maestro-routing/expected/11-multi-domain-dgx-bringup.json +8 -0
  646. package/tests/fixtures/nvidia-maestro-routing/expected/12-promote-nim-to-prod.json +6 -0
  647. package/tests/fixtures/nvidia-maestro-routing/inputs/01-cuda-coalescing.json +4 -0
  648. package/tests/fixtures/nvidia-maestro-routing/inputs/02-dcgm-coverage.json +4 -0
  649. package/tests/fixtures/nvidia-maestro-routing/inputs/03-ngc-cosign-policy.json +4 -0
  650. package/tests/fixtures/nvidia-maestro-routing/inputs/04-triton-batching.json +4 -0
  651. package/tests/fixtures/nvidia-maestro-routing/inputs/05-trt-int8-calibration.json +4 -0
  652. package/tests/fixtures/nvidia-maestro-routing/inputs/06-gpu-operator-securitycontext.json +4 -0
  653. package/tests/fixtures/nvidia-maestro-routing/inputs/07-spectrumx-nccl.json +4 -0
  654. package/tests/fixtures/nvidia-maestro-routing/inputs/08-dgx-bmc.json +4 -0
  655. package/tests/fixtures/nvidia-maestro-routing/inputs/09-nemo-agent-toolkit.json +4 -0
  656. package/tests/fixtures/nvidia-maestro-routing/inputs/10-nemo-genai.json +4 -0
  657. package/tests/fixtures/nvidia-maestro-routing/inputs/11-multi-domain-dgx-bringup.json +4 -0
  658. package/tests/fixtures/nvidia-maestro-routing/inputs/12-promote-nim-to-prod.json +4 -0
  659. package/tests/fixtures/nvidia-maestro-routing/taxonomy.json +49 -0
  660. package/tests/fixtures/nvidia-model-promotion-gatekeeper/README.md +34 -0
  661. package/tests/fixtures/nvidia-model-promotion-gatekeeper/expected/01-clean.json +7 -0
  662. package/tests/fixtures/nvidia-model-promotion-gatekeeper/expected/02-unsigned.json +7 -0
  663. package/tests/fixtures/nvidia-model-promotion-gatekeeper/expected/03-digest-drift.json +7 -0
  664. package/tests/fixtures/nvidia-model-promotion-gatekeeper/expected/04-missing-sbom.json +7 -0
  665. package/tests/fixtures/nvidia-model-promotion-gatekeeper/expected/05-missing-model-card.json +7 -0
  666. package/tests/fixtures/nvidia-model-promotion-gatekeeper/expected/06-cve-regression.json +7 -0
  667. package/tests/fixtures/nvidia-model-promotion-gatekeeper/expected/07-expired-cert.json +7 -0
  668. package/tests/fixtures/nvidia-model-promotion-gatekeeper/expected/08-wrong-issuer.json +7 -0
  669. package/tests/fixtures/nvidia-model-promotion-gatekeeper/expected/09-unknown-registry.json +7 -0
  670. package/tests/fixtures/nvidia-model-promotion-gatekeeper/expected/10-replay-stale-attestation.json +7 -0
  671. package/tests/fixtures/nvidia-model-promotion-gatekeeper/expected/11-label-only-model-card.json +7 -0
  672. package/tests/fixtures/nvidia-model-promotion-gatekeeper/inputs/01-clean.json +45 -0
  673. package/tests/fixtures/nvidia-model-promotion-gatekeeper/inputs/02-unsigned.json +42 -0
  674. package/tests/fixtures/nvidia-model-promotion-gatekeeper/inputs/03-digest-drift.json +45 -0
  675. package/tests/fixtures/nvidia-model-promotion-gatekeeper/inputs/04-missing-sbom.json +44 -0
  676. package/tests/fixtures/nvidia-model-promotion-gatekeeper/inputs/05-missing-model-card.json +44 -0
  677. package/tests/fixtures/nvidia-model-promotion-gatekeeper/inputs/06-cve-regression.json +45 -0
  678. package/tests/fixtures/nvidia-model-promotion-gatekeeper/inputs/07-expired-cert.json +45 -0
  679. package/tests/fixtures/nvidia-model-promotion-gatekeeper/inputs/08-wrong-issuer.json +45 -0
  680. package/tests/fixtures/nvidia-model-promotion-gatekeeper/inputs/09-unknown-registry.json +45 -0
  681. package/tests/fixtures/nvidia-model-promotion-gatekeeper/inputs/10-replay-stale-attestation.json +45 -0
  682. package/tests/fixtures/nvidia-model-promotion-gatekeeper/inputs/11-label-only-model-card.json +45 -0
  683. package/tests/fixtures/oci-maestro-routing/expected/001-happy-autonomous-database-architect.json +6 -0
  684. package/tests/fixtures/oci-maestro-routing/expected/002-happy-certificates-issuer-review.json +6 -0
  685. package/tests/fixtures/oci-maestro-routing/expected/003-happy-compute-instance-agent-operator.json +6 -0
  686. package/tests/fixtures/oci-maestro-routing/expected/004-happy-compute-platform-operator.json +6 -0
  687. package/tests/fixtures/oci-maestro-routing/expected/005-happy-cost-finops-analyst.json +6 -0
  688. package/tests/fixtures/oci-maestro-routing/expected/006-happy-database-platform-dba.json +6 -0
  689. package/tests/fixtures/oci-maestro-routing/expected/007-happy-dbtools-sql-analyst.json +6 -0
  690. package/tests/fixtures/oci-maestro-routing/expected/008-happy-devops-container-platform-engineer.json +6 -0
  691. package/tests/fixtures/oci-maestro-routing/expected/009-happy-exadata-platform-architect.json +6 -0
  692. package/tests/fixtures/oci-maestro-routing/expected/010-happy-fusion-apps-environment-operator.json +6 -0
  693. package/tests/fixtures/oci-maestro-routing/expected/011-happy-goldengate-replication-operator.json +6 -0
  694. package/tests/fixtures/oci-maestro-routing/expected/012-happy-identity-access-governor.json +6 -0
  695. package/tests/fixtures/oci-maestro-routing/expected/013-happy-iot-digital-twin-engineer.json +6 -0
  696. package/tests/fixtures/oci-maestro-routing/expected/014-happy-limits-capacity-planner.json +6 -0
  697. package/tests/fixtures/oci-maestro-routing/expected/015-happy-load-balancer-traffic-engineer.json +6 -0
  698. package/tests/fixtures/oci-maestro-routing/expected/016-happy-migration-cutover-architect.json +6 -0
  699. package/tests/fixtures/oci-maestro-routing/expected/017-happy-multi-cloud-architect.json +6 -0
  700. package/tests/fixtures/oci-maestro-routing/expected/018-happy-mysql-heatwave-ai-specialist.json +6 -0
  701. package/tests/fixtures/oci-maestro-routing/expected/019-happy-network-architect.json +6 -0
  702. package/tests/fixtures/oci-maestro-routing/expected/020-happy-observability-incident-responder.json +6 -0
  703. package/tests/fixtures/oci-maestro-routing/expected/021-happy-recovery-service-operator.json +6 -0
  704. package/tests/fixtures/oci-maestro-routing/expected/022-happy-registry-artifact-governor.json +6 -0
  705. package/tests/fixtures/oci-maestro-routing/expected/023-happy-resource-search-inventory-analyst.json +6 -0
  706. package/tests/fixtures/oci-maestro-routing/expected/024-happy-security-compliance-reviewer.json +6 -0
  707. package/tests/fixtures/oci-maestro-routing/expected/025-happy-solution-architect.json +6 -0
  708. package/tests/fixtures/oci-maestro-routing/expected/026-happy-storage-backup-steward.json +6 -0
  709. package/tests/fixtures/oci-maestro-routing/expected/027-happy-support-incident-coordinator.json +6 -0
  710. package/tests/fixtures/oci-maestro-routing/expected/028-happy-waf-cost-optimization-review.json +6 -0
  711. package/tests/fixtures/oci-maestro-routing/expected/029-happy-waf-reliability-review.json +6 -0
  712. package/tests/fixtures/oci-maestro-routing/expected/030-happy-waf-security-review.json +6 -0
  713. package/tests/fixtures/oci-maestro-routing/expected/adv-ambiguous.json +4 -0
  714. package/tests/fixtures/oci-maestro-routing/expected/adv-instruction-injection.json +6 -0
  715. package/tests/fixtures/oci-maestro-routing/expected/adv-liveguard-01-cloud-guard-responder.json +6 -0
  716. package/tests/fixtures/oci-maestro-routing/expected/adv-liveguard-02-live-autonomous-db-lifecycle-guard.json +6 -0
  717. package/tests/fixtures/oci-maestro-routing/expected/adv-liveguard-03-live-cost-budget-runaway-guard.json +6 -0
  718. package/tests/fixtures/oci-maestro-routing/expected/adv-liveguard-04-live-iam-policy-compartment-guard.json +6 -0
  719. package/tests/fixtures/oci-maestro-routing/expected/adv-liveguard-05-live-network-security-rule-guard.json +6 -0
  720. package/tests/fixtures/oci-maestro-routing/expected/adv-liveguard-06-live-oke-rollout-guard.json +6 -0
  721. package/tests/fixtures/oci-maestro-routing/expected/adv-liveguard-07-live-resource-manager-stack-guard.json +6 -0
  722. package/tests/fixtures/oci-maestro-routing/expected/adv-liveguard-08-live-vault-key-destruction-guard.json +6 -0
  723. package/tests/fixtures/oci-maestro-routing/expected/adv-persona-replacement.json +6 -0
  724. package/tests/fixtures/oci-maestro-routing/expected/adv-secrets-bait.json +7 -0
  725. package/tests/fixtures/oci-maestro-routing/inputs/001-happy-autonomous-database-architect.json +7 -0
  726. package/tests/fixtures/oci-maestro-routing/inputs/002-happy-certificates-issuer-review.json +7 -0
  727. package/tests/fixtures/oci-maestro-routing/inputs/003-happy-compute-instance-agent-operator.json +7 -0
  728. package/tests/fixtures/oci-maestro-routing/inputs/004-happy-compute-platform-operator.json +7 -0
  729. package/tests/fixtures/oci-maestro-routing/inputs/005-happy-cost-finops-analyst.json +7 -0
  730. package/tests/fixtures/oci-maestro-routing/inputs/006-happy-database-platform-dba.json +7 -0
  731. package/tests/fixtures/oci-maestro-routing/inputs/007-happy-dbtools-sql-analyst.json +7 -0
  732. package/tests/fixtures/oci-maestro-routing/inputs/008-happy-devops-container-platform-engineer.json +7 -0
  733. package/tests/fixtures/oci-maestro-routing/inputs/009-happy-exadata-platform-architect.json +7 -0
  734. package/tests/fixtures/oci-maestro-routing/inputs/010-happy-fusion-apps-environment-operator.json +7 -0
  735. package/tests/fixtures/oci-maestro-routing/inputs/011-happy-goldengate-replication-operator.json +7 -0
  736. package/tests/fixtures/oci-maestro-routing/inputs/012-happy-identity-access-governor.json +7 -0
  737. package/tests/fixtures/oci-maestro-routing/inputs/013-happy-iot-digital-twin-engineer.json +7 -0
  738. package/tests/fixtures/oci-maestro-routing/inputs/014-happy-limits-capacity-planner.json +7 -0
  739. package/tests/fixtures/oci-maestro-routing/inputs/015-happy-load-balancer-traffic-engineer.json +7 -0
  740. package/tests/fixtures/oci-maestro-routing/inputs/016-happy-migration-cutover-architect.json +7 -0
  741. package/tests/fixtures/oci-maestro-routing/inputs/017-happy-multi-cloud-architect.json +7 -0
  742. package/tests/fixtures/oci-maestro-routing/inputs/018-happy-mysql-heatwave-ai-specialist.json +7 -0
  743. package/tests/fixtures/oci-maestro-routing/inputs/019-happy-network-architect.json +7 -0
  744. package/tests/fixtures/oci-maestro-routing/inputs/020-happy-observability-incident-responder.json +7 -0
  745. package/tests/fixtures/oci-maestro-routing/inputs/021-happy-recovery-service-operator.json +7 -0
  746. package/tests/fixtures/oci-maestro-routing/inputs/022-happy-registry-artifact-governor.json +7 -0
  747. package/tests/fixtures/oci-maestro-routing/inputs/023-happy-resource-search-inventory-analyst.json +7 -0
  748. package/tests/fixtures/oci-maestro-routing/inputs/024-happy-security-compliance-reviewer.json +7 -0
  749. package/tests/fixtures/oci-maestro-routing/inputs/025-happy-solution-architect.json +7 -0
  750. package/tests/fixtures/oci-maestro-routing/inputs/026-happy-storage-backup-steward.json +7 -0
  751. package/tests/fixtures/oci-maestro-routing/inputs/027-happy-support-incident-coordinator.json +7 -0
  752. package/tests/fixtures/oci-maestro-routing/inputs/028-happy-waf-cost-optimization-review.json +7 -0
  753. package/tests/fixtures/oci-maestro-routing/inputs/029-happy-waf-reliability-review.json +7 -0
  754. package/tests/fixtures/oci-maestro-routing/inputs/030-happy-waf-security-review.json +7 -0
  755. package/tests/fixtures/oci-maestro-routing/inputs/adv-ambiguous.json +7 -0
  756. package/tests/fixtures/oci-maestro-routing/inputs/adv-instruction-injection.json +7 -0
  757. package/tests/fixtures/oci-maestro-routing/inputs/adv-liveguard-01-cloud-guard-responder.json +7 -0
  758. package/tests/fixtures/oci-maestro-routing/inputs/adv-liveguard-02-live-autonomous-db-lifecycle-guard.json +7 -0
  759. package/tests/fixtures/oci-maestro-routing/inputs/adv-liveguard-03-live-cost-budget-runaway-guard.json +7 -0
  760. package/tests/fixtures/oci-maestro-routing/inputs/adv-liveguard-04-live-iam-policy-compartment-guard.json +7 -0
  761. package/tests/fixtures/oci-maestro-routing/inputs/adv-liveguard-05-live-network-security-rule-guard.json +7 -0
  762. package/tests/fixtures/oci-maestro-routing/inputs/adv-liveguard-06-live-oke-rollout-guard.json +7 -0
  763. package/tests/fixtures/oci-maestro-routing/inputs/adv-liveguard-07-live-resource-manager-stack-guard.json +7 -0
  764. package/tests/fixtures/oci-maestro-routing/inputs/adv-liveguard-08-live-vault-key-destruction-guard.json +7 -0
  765. package/tests/fixtures/oci-maestro-routing/inputs/adv-persona-replacement.json +7 -0
  766. package/tests/fixtures/oci-maestro-routing/inputs/adv-secrets-bait.json +7 -0
  767. package/tests/fixtures/oci-maestro-routing/taxonomy.json +381 -0
  768. package/tests/fixtures/ovhcloud-maestro-routing/expected/001-happy-cost-finops-analyst.json +6 -0
  769. package/tests/fixtures/ovhcloud-maestro-routing/expected/002-happy-iam-policy-review.json +6 -0
  770. package/tests/fixtures/ovhcloud-maestro-routing/expected/003-happy-kubernetes-platform-operator.json +6 -0
  771. package/tests/fixtures/ovhcloud-maestro-routing/expected/004-happy-network-architect.json +6 -0
  772. package/tests/fixtures/ovhcloud-maestro-routing/expected/adv-ambiguous.json +4 -0
  773. package/tests/fixtures/ovhcloud-maestro-routing/expected/adv-instruction-injection.json +6 -0
  774. package/tests/fixtures/ovhcloud-maestro-routing/expected/adv-liveguard-01-live-kms-key-destruction-guard.json +6 -0
  775. package/tests/fixtures/ovhcloud-maestro-routing/expected/adv-persona-replacement.json +6 -0
  776. package/tests/fixtures/ovhcloud-maestro-routing/expected/adv-secrets-bait.json +6 -0
  777. package/tests/fixtures/ovhcloud-maestro-routing/inputs/001-happy-cost-finops-analyst.json +7 -0
  778. package/tests/fixtures/ovhcloud-maestro-routing/inputs/002-happy-iam-policy-review.json +7 -0
  779. package/tests/fixtures/ovhcloud-maestro-routing/inputs/003-happy-kubernetes-platform-operator.json +7 -0
  780. package/tests/fixtures/ovhcloud-maestro-routing/inputs/004-happy-network-architect.json +7 -0
  781. package/tests/fixtures/ovhcloud-maestro-routing/inputs/adv-ambiguous.json +7 -0
  782. package/tests/fixtures/ovhcloud-maestro-routing/inputs/adv-instruction-injection.json +7 -0
  783. package/tests/fixtures/ovhcloud-maestro-routing/inputs/adv-liveguard-01-live-kms-key-destruction-guard.json +7 -0
  784. package/tests/fixtures/ovhcloud-maestro-routing/inputs/adv-persona-replacement.json +7 -0
  785. package/tests/fixtures/ovhcloud-maestro-routing/inputs/adv-secrets-bait.json +7 -0
  786. package/tests/fixtures/ovhcloud-maestro-routing/taxonomy.json +46 -0
  787. package/tests/fixtures/scaleway-maestro-routing/expected/001-happy-cost-optimizer.json +6 -0
  788. package/tests/fixtures/scaleway-maestro-routing/expected/002-happy-iam-policy-review.json +6 -0
  789. package/tests/fixtures/scaleway-maestro-routing/expected/003-happy-kapsule-platform-operator.json +6 -0
  790. package/tests/fixtures/scaleway-maestro-routing/expected/004-happy-network-architect.json +6 -0
  791. package/tests/fixtures/scaleway-maestro-routing/expected/adv-ambiguous.json +4 -0
  792. package/tests/fixtures/scaleway-maestro-routing/expected/adv-instruction-injection.json +6 -0
  793. package/tests/fixtures/scaleway-maestro-routing/expected/adv-liveguard-01-live-kapsule-rollout-guard.json +6 -0
  794. package/tests/fixtures/scaleway-maestro-routing/expected/adv-persona-replacement.json +6 -0
  795. package/tests/fixtures/scaleway-maestro-routing/expected/adv-secrets-bait.json +6 -0
  796. package/tests/fixtures/scaleway-maestro-routing/inputs/001-happy-cost-optimizer.json +7 -0
  797. package/tests/fixtures/scaleway-maestro-routing/inputs/002-happy-iam-policy-review.json +7 -0
  798. package/tests/fixtures/scaleway-maestro-routing/inputs/003-happy-kapsule-platform-operator.json +7 -0
  799. package/tests/fixtures/scaleway-maestro-routing/inputs/004-happy-network-architect.json +7 -0
  800. package/tests/fixtures/scaleway-maestro-routing/inputs/adv-ambiguous.json +7 -0
  801. package/tests/fixtures/scaleway-maestro-routing/inputs/adv-instruction-injection.json +7 -0
  802. package/tests/fixtures/scaleway-maestro-routing/inputs/adv-liveguard-01-live-kapsule-rollout-guard.json +7 -0
  803. package/tests/fixtures/scaleway-maestro-routing/inputs/adv-persona-replacement.json +7 -0
  804. package/tests/fixtures/scaleway-maestro-routing/inputs/adv-secrets-bait.json +7 -0
  805. package/tests/fixtures/scaleway-maestro-routing/taxonomy.json +54 -0
  806. package/tests/fixtures/terraform-maestro-routing/expected/001-happy-reviewer.json +6 -0
  807. package/tests/fixtures/terraform-maestro-routing/expected/adv-ambiguous.json +4 -0
  808. package/tests/fixtures/terraform-maestro-routing/expected/adv-instruction-injection.json +6 -0
  809. package/tests/fixtures/terraform-maestro-routing/expected/adv-persona-replacement.json +6 -0
  810. package/tests/fixtures/terraform-maestro-routing/expected/adv-secrets-bait.json +6 -0
  811. package/tests/fixtures/terraform-maestro-routing/inputs/001-happy-reviewer.json +7 -0
  812. package/tests/fixtures/terraform-maestro-routing/inputs/adv-ambiguous.json +7 -0
  813. package/tests/fixtures/terraform-maestro-routing/inputs/adv-instruction-injection.json +7 -0
  814. package/tests/fixtures/terraform-maestro-routing/inputs/adv-persona-replacement.json +7 -0
  815. package/tests/fixtures/terraform-maestro-routing/inputs/adv-secrets-bait.json +7 -0
  816. package/tests/fixtures/terraform-maestro-routing/taxonomy.json +107 -0
  817. package/tests/fuzz-properties.test.mjs +211 -0
  818. package/tests/integration/rbac-pre-flight/README.md +160 -0
  819. package/tests/integration/rbac-pre-flight/ci/kind-rbac-preflight.yaml +49 -0
  820. package/tests/integration/rbac-pre-flight/guards/admission-policy.sh +53 -0
  821. package/tests/integration/rbac-pre-flight/guards/argocd-sync.sh +50 -0
  822. package/tests/integration/rbac-pre-flight/guards/mesh-policy.sh +48 -0
  823. package/tests/integration/rbac-pre-flight/guards/network-arch.sh +119 -0
  824. package/tests/integration/rbac-pre-flight/guards/network-policy.sh +49 -0
  825. package/tests/integration/rbac-pre-flight/guards/rbac-mutation.sh +56 -0
  826. package/tests/integration/rbac-pre-flight/guards/velero-restore.sh +52 -0
  827. package/tests/integration/rbac-pre-flight/lib/common.sh +252 -0
  828. package/tests/integration/rbac-pre-flight/run-all.sh +229 -0
  829. package/tests/test-copilot-skill-bundling.py +129 -0
  830. package/tests/test-gemini-skill-bundling.py +102 -0
  831. package/tests/test-marketplace-validators.py +685 -0
  832. package/tests/test-vfa-export-coverage.test.mjs +717 -0
  833. package/tests/validate-agent-frontmatter-schema.py +256 -0
  834. package/tests/validate-asset-integrity.py +234 -0
  835. package/tests/validate-aws-progressive-disclosure.py +72 -0
  836. package/tests/validate-aws-skill-quality.py +171 -0
  837. package/tests/validate-azure-oci-live-guards.sh +157 -0
  838. package/tests/validate-catalog.py +361 -0
  839. package/tests/validate-codex-marketplace.py +152 -0
  840. package/tests/validate-finops-price-fixtures.py +200 -0
  841. package/tests/validate-kiro-powers.py +243 -0
  842. package/tests/validate-links.py +94 -0
  843. package/tests/validate-maestro-routing.py +220 -0
  844. package/tests/validate-mcp-trust-matrix.py +91 -0
  845. package/tests/validate-multi-harness-marketplace.py +188 -0
  846. package/tests/validate-no-lifecycle-scripts.py +86 -0
  847. package/tests/validate-nvidia-promotion-gatekeeper.py +299 -0
  848. package/tests/validate-plugin-manifest.py +147 -0
  849. package/tests/validate-skill-allowed-tools.py +138 -0
  850. package/tests/validate-skill-frontmatter-schema.py +286 -0
  851. package/tests/validate-skill-manifest.py +116 -0
@@ -0,0 +1,299 @@
1
+ #!/usr/bin/env python3
2
+ """Replay the `nvidia-model-promotion-gatekeeper` golden fixtures.
3
+
4
+ For each fixture under tests/fixtures/nvidia-model-promotion-gatekeeper/inputs/*.json:
5
+
6
+ 1. Load the fixture (operator inputs + stubbed command outputs).
7
+ 2. Run the deterministic gate evaluator (this file, ~150 LOC).
8
+ 3. Validate the produced attestation against schemas/attestation.schema.json.
9
+ 4. Diff verdict + verdict_reasons against expected/<fixture>.json.
10
+
11
+ Exit non-zero if any fixture's attestation fails schema validation or its
12
+ verdict / reasons differ from expected. Prints a one-line summary per fixture.
13
+
14
+ The gate evaluator here is the *reference* implementation. Live LLM agents
15
+ must follow the same gate ordering and rule set described in
16
+ skills/nvidia/nvidia-model-promotion-gatekeeper/SKILL.md.
17
+ """
18
+
19
+ from __future__ import annotations
20
+
21
+ import json
22
+ import re
23
+ import sys
24
+ from datetime import datetime, timezone
25
+ from pathlib import Path
26
+
27
+ ROOT = Path(__file__).resolve().parents[1]
28
+ FIXTURE_DIR = ROOT / "tests" / "fixtures" / "nvidia-model-promotion-gatekeeper"
29
+ INPUTS_DIR = FIXTURE_DIR / "inputs"
30
+ EXPECTED_DIR = FIXTURE_DIR / "expected"
31
+ SCHEMA_PATH = ROOT / "schemas" / "attestation.schema.json"
32
+
33
+ ALLOWED_REGISTRY_PREFIX = "nvcr.io/"
34
+ SECRET_FLAG_RE = re.compile(
35
+ r"(--password|--token|--auth|--key|--username|--registry-token|--secret)=\S+",
36
+ re.IGNORECASE,
37
+ )
38
+ # Note 1: The model-card gate is about provenance, not just presence. Requiring
39
+ # a digest-shaped value prevents a URL label or free-form string from being
40
+ # mistaken for a fetched, immutable artifact.
41
+ SHA256_RE = re.compile(r"^sha256:[a-f0-9]{64}$")
42
+ NOW = datetime.now(timezone.utc)
43
+
44
+
45
+ def evaluate(fixture: dict) -> dict:
46
+ """Pure gate evaluator. Consumes (inputs, stub_outputs); returns attestation dict."""
47
+ inputs = fixture["inputs"]
48
+ stubs = fixture["stub_outputs"]
49
+ reasons: list[str] = []
50
+
51
+ # Normalize mode on ingress so "Runtime" / " runtime " / "RUNTIME" all
52
+ # resolve identically. Avoids a case-sensitivity bypass that produces a
53
+ # misleading claims.signature.verified=true attestation.
54
+ mode = (inputs.get("mode") or "static").strip().lower()
55
+
56
+ # Inputs completeness check.
57
+ required = ("image_ref", "image_ref_pin", "current_prod_digest",
58
+ "expected_signer_identity", "expected_oidc_issuer")
59
+ missing = [k for k in required if not inputs.get(k)]
60
+ inputs_incomplete = bool(missing) and mode == "runtime"
61
+ if inputs_incomplete:
62
+ reasons.append("inputs_incomplete")
63
+
64
+ # Registry allowlist gate (runs even if other gates would also fire).
65
+ image_ref = inputs.get("image_ref", "")
66
+ if not image_ref.startswith(ALLOWED_REGISTRY_PREFIX):
67
+ reasons.append("unknown_registry")
68
+
69
+ # Digest drift gate.
70
+ if "unknown_registry" not in reasons:
71
+ if stubs.get("crane_digest") != inputs.get("image_ref_pin"):
72
+ reasons.append("digest_drift")
73
+
74
+ # Signature gates.
75
+ sig = stubs.get("cosign_verify", {}) or {}
76
+ if "unknown_registry" not in reasons:
77
+ if not sig.get("ok"):
78
+ reasons.append("unsigned")
79
+ else:
80
+ # Use empty string as sentinel so None==None cannot silently
81
+ # pass the identity check when both values are absent.
82
+ expected_id = inputs.get("expected_signer_identity") or ""
83
+ expected_issuer = inputs.get("expected_oidc_issuer") or ""
84
+ actual_id = sig.get("signer_identity") or ""
85
+ actual_issuer = sig.get("issuer") or ""
86
+ if actual_id != expected_id or not expected_id:
87
+ reasons.append("wrong_identity")
88
+ if actual_issuer != expected_issuer or not expected_issuer:
89
+ reasons.append("wrong_issuer")
90
+ cert_not_after = sig.get("cert_not_after")
91
+ if cert_not_after:
92
+ try:
93
+ not_after = datetime.fromisoformat(cert_not_after.replace("Z", "+00:00"))
94
+ if not_after < NOW:
95
+ reasons.append("expired_cert")
96
+ except ValueError:
97
+ reasons.append("expired_cert")
98
+
99
+ # Rekor reachability.
100
+ rekor_reachable = stubs.get("rekor_reachable", True)
101
+ if not rekor_reachable:
102
+ reasons.append("rekor_unreachable")
103
+
104
+ # SBOM gate.
105
+ sbom = stubs.get("cosign_verify_attestation_spdx", {}) or {}
106
+ if "unknown_registry" not in reasons and not sbom.get("ok"):
107
+ reasons.append("missing_sbom")
108
+
109
+ # Model card gate.
110
+ card = stubs.get("oras_discover_model_card", {}) or {}
111
+ # Note 2: The clean path is intentionally narrow: an OCI referrer plus a
112
+ # sha256 digest. Other sources may be useful diagnostics, but they do not
113
+ # satisfy the "present and pinned" promotion invariant.
114
+ model_card_pinned = (
115
+ card.get("present")
116
+ and card.get("source") == "oci-referrer"
117
+ and bool(SHA256_RE.fullmatch(card.get("sha256", "")))
118
+ )
119
+ if "unknown_registry" not in reasons and not model_card_pinned:
120
+ reasons.append("missing_model_card")
121
+
122
+ # CVE delta gate.
123
+ if "unknown_registry" not in reasons:
124
+ cand = stubs.get("grype_candidate", {}) or {}
125
+ prod = stubs.get("grype_prod", {}) or {}
126
+ new_critical = max(0, cand.get("critical", 0) - prod.get("critical", 0))
127
+ new_high = max(0, cand.get("high", 0) - prod.get("high", 0))
128
+ if new_critical > 0 or new_high > 0:
129
+ reasons.append("cve_regression")
130
+
131
+ # Stale attestation gate.
132
+ ttl = inputs.get("attestation_ttl_hours", 24)
133
+ age = stubs.get("attestation_age_hours", 0)
134
+ if "unknown_registry" not in reasons:
135
+ if not isinstance(age, (int, float)) or age < 0:
136
+ reasons.append("malformed_attestation_age")
137
+ elif age > ttl:
138
+ reasons.append("stale_attestation")
139
+
140
+ # Verdict resolution. Ordering matters:
141
+ # 1. inputs_incomplete is a terminal manual-review state — the agent
142
+ # cannot decide promote/block without the required inputs.
143
+ # 2. rekor unreachable on its own degrades to manual-review.
144
+ # 3. promote requires mode == "runtime"; static / unspecified
145
+ # mode cannot produce a live promote verdict.
146
+ # 4. Otherwise, any reason set blocks.
147
+ # (mode was normalized to lowercase at the top of evaluate())
148
+ if "inputs_incomplete" in reasons:
149
+ verdict = "manual-review"
150
+ evidence_level = "documentation-only"
151
+ elif not reasons:
152
+ if mode == "runtime":
153
+ verdict = "promote"
154
+ reasons = ["all_gates_passed"]
155
+ evidence_level = "live"
156
+ else:
157
+ verdict = "manual-review"
158
+ reasons = ["static_mode_no_runtime_evidence"]
159
+ evidence_level = "documentation-only"
160
+ elif reasons == ["rekor_unreachable"]:
161
+ verdict = "manual-review"
162
+ evidence_level = "partial"
163
+ else:
164
+ verdict = "block"
165
+ evidence_level = "partial" if "rekor_unreachable" in reasons else "live"
166
+
167
+ cand_grype = stubs.get("grype_candidate", {}) or {}
168
+ prod_grype = stubs.get("grype_prod", {}) or {}
169
+ attestation = {
170
+ "attestation_version": "1.0.0",
171
+ "agent": {
172
+ "id": "nvidia-model-promotion-gatekeeper-agent",
173
+ "version": "0.1.0",
174
+ "execution_tier": "read-only-runtime",
175
+ },
176
+ "subject": {
177
+ "image_ref": image_ref,
178
+ "registry": image_ref.split("/", 1)[0] if "/" in image_ref else image_ref,
179
+ "resolved_digest": stubs.get("crane_digest") if "unknown_registry" not in reasons else None,
180
+ "current_prod_digest": inputs.get("current_prod_digest"),
181
+ },
182
+ "claims": {
183
+ "signature": {
184
+ "verified": bool(sig.get("ok")) and "wrong_identity" not in reasons
185
+ and "wrong_issuer" not in reasons and "expired_cert" not in reasons
186
+ and "unsigned" not in reasons,
187
+ "signer_identity": sig.get("signer_identity", ""),
188
+ "issuer": sig.get("issuer", ""),
189
+ "cert_not_after": sig.get("cert_not_after", "1970-01-01T00:00:00Z"),
190
+ "rekor_log_index": sig.get("rekor_log_index", 0),
191
+ },
192
+ "sbom": {
193
+ "present": bool(sbom.get("ok")),
194
+ "format": sbom.get("format", "unknown"),
195
+ "sha256": sbom.get("sha256", ""),
196
+ },
197
+ "model_card": {
198
+ "present": bool(card.get("present")),
199
+ "sha256": card.get("sha256", ""),
200
+ "source": card.get("source", "missing"),
201
+ },
202
+ "cve_delta": {
203
+ "vs_digest": inputs.get("current_prod_digest", ""),
204
+ "new_critical": max(0, cand_grype.get("critical", 0) - prod_grype.get("critical", 0)),
205
+ "new_high": max(0, cand_grype.get("high", 0) - prod_grype.get("high", 0)),
206
+ "fixed_critical": max(0, prod_grype.get("critical", 0) - cand_grype.get("critical", 0)),
207
+ "regressed": "cve_regression" in reasons,
208
+ },
209
+ },
210
+ "evidence_level": evidence_level,
211
+ "verdict": verdict,
212
+ "verdict_reasons": reasons,
213
+ "provenance": {
214
+ "executed_commands": _scrub_commands(stubs.get("executed_commands", [])),
215
+ "egress_hosts_contacted": stubs.get("egress_hosts_contacted",
216
+ ["nvcr.io", "rekor.sigstore.dev", "fulcio.sigstore.dev"]
217
+ if rekor_reachable and "unknown_registry" not in reasons
218
+ else []),
219
+ "runtime_mode": mode,
220
+ "harness": "claude-code",
221
+ "operator": "fixture-replay",
222
+ },
223
+ "timestamp": NOW.isoformat().replace("+00:00", "Z"),
224
+ "nonce": "fixture-replay-nonce-1234567890",
225
+ }
226
+
227
+ # Drop None subject fields so the schema accepts the doc.
228
+ attestation["subject"] = {k: v for k, v in attestation["subject"].items() if v is not None}
229
+ return attestation
230
+
231
+
232
+ def _scrub_commands(cmds: list[str]) -> list[str]:
233
+ return [SECRET_FLAG_RE.sub(lambda m: f"{m.group(1)}=<REDACTED>", c) for c in cmds]
234
+
235
+
236
+ def _load_schema():
237
+ try:
238
+ import jsonschema # noqa: F401
239
+ except ImportError:
240
+ print(
241
+ "FAIL: jsonschema is required for attestation schema validation. "
242
+ "Install with `pip install jsonschema` and re-run.",
243
+ file=sys.stderr,
244
+ )
245
+ sys.exit(2)
246
+ return json.loads(SCHEMA_PATH.read_text(encoding="utf-8"))
247
+
248
+
249
+ def main() -> int:
250
+ if not INPUTS_DIR.is_dir():
251
+ print(f"ERROR: inputs dir not found: {INPUTS_DIR}", file=sys.stderr)
252
+ return 2
253
+
254
+ schema = _load_schema()
255
+ fixtures = sorted(INPUTS_DIR.glob("*.json"))
256
+ if not fixtures:
257
+ print("ERROR: no fixtures found", file=sys.stderr)
258
+ return 2
259
+
260
+ failures = 0
261
+ for fp in fixtures:
262
+ fixture = json.loads(fp.read_text(encoding="utf-8"))
263
+ name = fixture.get("name", fp.stem)
264
+ expected = json.loads((EXPECTED_DIR / f"{name}.json").read_text(encoding="utf-8"))
265
+
266
+ attestation = evaluate(fixture)
267
+
268
+ # Schema check (optional dep).
269
+ if schema is not None:
270
+ from jsonschema import Draft202012Validator, ValidationError
271
+ try:
272
+ Draft202012Validator(schema).validate(attestation)
273
+ except ValidationError as e:
274
+ print(f"FAIL [{name}] schema: {e.message}")
275
+ failures += 1
276
+ continue
277
+
278
+ # Verdict + reasons (set-equal on reasons).
279
+ v_ok = attestation["verdict"] == expected["verdict"]
280
+ r_ok = set(attestation["verdict_reasons"]) == set(expected["verdict_reasons"])
281
+ ev_ok = attestation["evidence_level"] == expected["evidence_level"]
282
+ if v_ok and r_ok and ev_ok:
283
+ print(f"OK [{name}] verdict={attestation['verdict']} reasons={attestation['verdict_reasons']}")
284
+ else:
285
+ print(f"FAIL [{name}] got verdict={attestation['verdict']} reasons={attestation['verdict_reasons']} "
286
+ f"evidence={attestation['evidence_level']} | "
287
+ f"expected verdict={expected['verdict']} reasons={expected['verdict_reasons']} "
288
+ f"evidence={expected['evidence_level']}")
289
+ failures += 1
290
+
291
+ if failures:
292
+ print(f"\n{failures} fixture(s) failed", file=sys.stderr)
293
+ return 1
294
+ print(f"\nOK: {len(fixtures)} fixtures validated")
295
+ return 0
296
+
297
+
298
+ if __name__ == "__main__":
299
+ sys.exit(main())
@@ -0,0 +1,147 @@
1
+ #!/usr/bin/env python3
2
+ """Validate the Claude Code plugin manifest and marketplace declaration.
3
+
4
+ Gates:
5
+ 1. .claude-plugin/marketplace.json is well-formed and declares the
6
+ vanguard-frontier-agentic plugin with source: "./".
7
+ 2. .claude-plugin/plugin.json is in sync with catalog/agents.json
8
+ (delegated to scripts/generate-plugin-manifest.mjs --check).
9
+ 3. Every path in plugin.json's `agents` array resolves to a real file.
10
+ 4. Every claude-code-enabled agent in the catalog is represented in the
11
+ manifest — no silent drops.
12
+ 5. plugin.json `version` matches package.json `version` — otherwise
13
+ installers see one number while the marketplace advertises another.
14
+ """
15
+
16
+ from __future__ import annotations
17
+
18
+ import json
19
+ import subprocess
20
+ import sys
21
+ from pathlib import Path
22
+
23
+ REPO = Path(__file__).resolve().parent.parent
24
+ MARKETPLACE = REPO / ".claude-plugin" / "marketplace.json"
25
+ PLUGIN = REPO / ".claude-plugin" / "plugin.json"
26
+ CATALOG = REPO / "catalog" / "agents.json"
27
+ PKG = REPO / "package.json"
28
+
29
+
30
+ def fail(msg: str) -> None:
31
+ print(f"FAIL [plugin-manifest] {msg}", file=sys.stderr)
32
+
33
+
34
+ def path_is_inside_repo(path_value: str) -> bool:
35
+ # Note 1: Validation repeats the generator's containment rule because
36
+ # generated JSON can be edited by hand. Validators should protect the
37
+ # committed artifact, not only the generator path that normally writes it.
38
+ try:
39
+ resolved = (REPO / path_value).resolve()
40
+ except OSError:
41
+ # Note 2: Unresolvable paths are unsafe for manifest purposes. Returning
42
+ # False keeps the caller's error reporting simple and fail-closed.
43
+ return False
44
+ # Note 3: Path.parents is a clear containment test after resolve() has
45
+ # collapsed "." and ".." segments and followed normal filesystem rules.
46
+ return resolved == REPO or REPO in resolved.parents
47
+
48
+
49
+ def main() -> int:
50
+ if not MARKETPLACE.exists():
51
+ fail(".claude-plugin/marketplace.json is missing")
52
+ return 1
53
+ if not PLUGIN.exists():
54
+ fail(".claude-plugin/plugin.json is missing")
55
+ return 1
56
+
57
+ marketplace = json.loads(MARKETPLACE.read_text())
58
+ plugin = json.loads(PLUGIN.read_text())
59
+ catalog = json.loads(CATALOG.read_text())
60
+ pkg = json.loads(PKG.read_text())
61
+
62
+ errors: list[str] = []
63
+
64
+ # Marketplace shape
65
+ if marketplace.get("name") != "vanguard-frontier-agentic":
66
+ errors.append("marketplace.name must be 'vanguard-frontier-agentic'")
67
+ plugins = marketplace.get("plugins") or []
68
+ if not any(p.get("name") == "vanguard-frontier-agentic" for p in plugins):
69
+ errors.append("marketplace.plugins must declare 'vanguard-frontier-agentic'")
70
+ for p in plugins:
71
+ if p.get("name") == "vanguard-frontier-agentic" and p.get("source") != "./":
72
+ errors.append(
73
+ "marketplace plugin source must be './' so the plugin root is the repo root",
74
+ )
75
+
76
+ # Version parity
77
+ if plugin.get("version") != pkg.get("version"):
78
+ errors.append(
79
+ f"plugin.json version {plugin.get('version')!r} does not match package.json {pkg.get('version')!r}",
80
+ )
81
+
82
+ # Every agent path resolves
83
+ manifest_paths = plugin.get("agents") or []
84
+ # Note 4: We check containment before existence. A malicious "../x" could
85
+ # point to a real file on a maintainer machine, but it still must not be
86
+ # publishable as a plugin manifest entry.
87
+ escaping = [p for p in manifest_paths if not isinstance(p, str) or not path_is_inside_repo(p)]
88
+ if escaping:
89
+ errors.append(f"{len(escaping)} manifest paths escape the repository: e.g. {escaping[0]}")
90
+ missing = [p for p in manifest_paths if p not in escaping and not (REPO / p).is_file()]
91
+ if missing:
92
+ errors.append(f"{len(missing)} manifest paths do not resolve: e.g. {missing[0]}")
93
+
94
+ # Every claude-code-enabled catalog agent is in the manifest
95
+ catalog_paths = set()
96
+ for entry in catalog:
97
+ if entry.get("type") != "agent":
98
+ continue
99
+ harnesses = entry.get("harnesses") or []
100
+ if "claude-code" not in harnesses:
101
+ continue
102
+ adapter = (entry.get("harness_variants") or {}).get(
103
+ "claude-code",
104
+ ) or f"{entry['path']}/harnesses/claude-code.agent.md"
105
+ # Note 5: Catalog entries and generated manifests are checked
106
+ # independently so drift cannot hide a bad source path behind a
107
+ # currently clean generated plugin.json.
108
+ if not path_is_inside_repo(adapter):
109
+ errors.append(f"{entry.get('id', '<unknown>')}: claude-code adapter path escapes repository: {adapter}")
110
+ continue
111
+ catalog_paths.add(f"./{adapter}")
112
+
113
+ manifest_set = set(manifest_paths)
114
+ dropped = catalog_paths - manifest_set
115
+ extra = manifest_set - catalog_paths
116
+ if dropped:
117
+ errors.append(
118
+ f"{len(dropped)} claude-code-enabled agents in catalog are absent from plugin.json: e.g. {sorted(dropped)[0]}",
119
+ )
120
+ if extra:
121
+ errors.append(
122
+ f"{len(extra)} paths in plugin.json are not in the catalog: e.g. {sorted(extra)[0]}",
123
+ )
124
+
125
+ # Generator drift — re-run with --check
126
+ result = subprocess.run(
127
+ ["node", str(REPO / "scripts" / "generate-plugin-manifest.mjs"), "--check"],
128
+ capture_output=True,
129
+ text=True,
130
+ )
131
+ if result.returncode != 0:
132
+ errors.append(result.stderr.strip() or result.stdout.strip())
133
+
134
+ if errors:
135
+ for err in errors:
136
+ fail(err)
137
+ return 1
138
+
139
+ print(
140
+ f"OK: plugin manifest valid ({len(manifest_paths)} claude-code agents declared, "
141
+ f"version {plugin.get('version')})",
142
+ )
143
+ return 0
144
+
145
+
146
+ if __name__ == "__main__":
147
+ sys.exit(main())
@@ -0,0 +1,138 @@
1
+ #!/usr/bin/env python3
2
+ """Validate that every SKILL.md declares an allowed-tools frontmatter field.
3
+
4
+ The `allowed-tools` field aligns each skill with the Claude Code skills spec
5
+ (https://code.claude.com/docs/en/skills) and makes the tool surface explicit.
6
+ It is a pre-approval list (not a deny-list); harness deny rules in
7
+ settings.json are still the enforcement boundary, but declaring the field
8
+ here makes intent reviewable.
9
+
10
+ Cross-platform note: SKILL.md is a Claude Code artifact in this repo
11
+ (skills/<provider>/<name>/SKILL.md). Other harnesses do not consume SKILL.md
12
+ frontmatter, so this field is harmless for non-Claude exports.
13
+
14
+ Validation rules:
15
+ 1. Every SKILL.md must contain an `allowed-tools` key in YAML frontmatter.
16
+ 2. The value must be either a non-empty space-separated string or a
17
+ non-empty YAML list of strings.
18
+ 3. Each token must match the recognised tool grammar:
19
+ Bare tool name: ^[A-Z][A-Za-z0-9]+$ (Read, Edit, Bash)
20
+ Constrained tool: ^[A-Z][A-Za-z0-9]+\(.+\)$ (Bash(git add *))
21
+ Skill/Agent invocation tokens are also allowed.
22
+ 4. At least one token must be present.
23
+ """
24
+
25
+ from __future__ import annotations
26
+
27
+ import re
28
+ import sys
29
+ from pathlib import Path
30
+
31
+ ROOT = Path(__file__).resolve().parents[1]
32
+ SKILLS_DIR = ROOT / "skills"
33
+
34
+ TOKEN_RE = re.compile(r"^[A-Z][A-Za-z0-9]+(\([^)]+\))?$")
35
+
36
+
37
+ def parse_frontmatter(text: str) -> dict[str, str] | None:
38
+ if not text.startswith("---\n"):
39
+ return None
40
+ end = text.find("\n---", 4)
41
+ if end == -1:
42
+ return None
43
+ block = text[4:end]
44
+ fm: dict[str, str] = {}
45
+ current_key: str | None = None
46
+ current_lines: list[str] = []
47
+ for line in block.splitlines():
48
+ if not line.startswith(" ") and ":" in line:
49
+ if current_key is not None:
50
+ fm[current_key] = "\n".join(current_lines).strip()
51
+ key, _, rest = line.partition(":")
52
+ current_key = key.strip()
53
+ current_lines = [rest.strip()]
54
+ else:
55
+ current_lines.append(line)
56
+ if current_key is not None:
57
+ fm[current_key] = "\n".join(current_lines).strip()
58
+ return fm
59
+
60
+
61
+ def tokenize_allowed_tools(value: str) -> list[str]:
62
+ """Split a space-separated allowed-tools value, respecting parentheses."""
63
+ tokens: list[str] = []
64
+ buf: list[str] = []
65
+ depth = 0
66
+ for ch in value:
67
+ if ch == "(":
68
+ depth += 1
69
+ buf.append(ch)
70
+ elif ch == ")":
71
+ depth -= 1
72
+ buf.append(ch)
73
+ elif ch.isspace() and depth == 0:
74
+ if buf:
75
+ tokens.append("".join(buf))
76
+ buf = []
77
+ else:
78
+ buf.append(ch)
79
+ if buf:
80
+ tokens.append("".join(buf))
81
+ return tokens
82
+
83
+
84
+ def validate_skill(skill_md: Path) -> list[str]:
85
+ text = skill_md.read_text(encoding="utf-8")
86
+ fm = parse_frontmatter(text)
87
+ if fm is None:
88
+ return [f"{skill_md}: no YAML frontmatter found"]
89
+
90
+ if "allowed-tools" not in fm:
91
+ return [f"{skill_md}: missing required 'allowed-tools' frontmatter field"]
92
+
93
+ raw = fm["allowed-tools"].strip()
94
+ if raw.startswith("[") and raw.endswith("]"):
95
+ inner = raw[1:-1].strip()
96
+ tokens = [t.strip().strip("'\"") for t in inner.split(",") if t.strip()]
97
+ else:
98
+ tokens = tokenize_allowed_tools(raw)
99
+
100
+ errors: list[str] = []
101
+ if not tokens:
102
+ errors.append(f"{skill_md}: 'allowed-tools' is empty")
103
+ return errors
104
+
105
+ for tok in tokens:
106
+ if not TOKEN_RE.match(tok):
107
+ errors.append(
108
+ f"{skill_md}: invalid allowed-tools token '{tok}' "
109
+ f"(expected ToolName or ToolName(constraint))"
110
+ )
111
+ return errors
112
+
113
+
114
+ def main() -> int:
115
+ skill_files = sorted(SKILLS_DIR.glob("*/*/SKILL.md"))
116
+ if not skill_files:
117
+ print("ERROR: no SKILL.md files found", file=sys.stderr)
118
+ return 2
119
+
120
+ all_errors: list[str] = []
121
+ for skill_md in skill_files:
122
+ all_errors.extend(validate_skill(skill_md))
123
+
124
+ if all_errors:
125
+ print(f"FAIL: {len(all_errors)} allowed-tools issue(s) across "
126
+ f"{len(skill_files)} skill(s):", file=sys.stderr)
127
+ for err in all_errors[:20]:
128
+ print(f" - {err}", file=sys.stderr)
129
+ if len(all_errors) > 20:
130
+ print(f" ... and {len(all_errors) - 20} more", file=sys.stderr)
131
+ return 1
132
+
133
+ print(f"OK: validated allowed-tools on {len(skill_files)} skills")
134
+ return 0
135
+
136
+
137
+ if __name__ == "__main__":
138
+ sys.exit(main())