@raishin/vanguard-frontier-agentic 3.19.0 → 3.21.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.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +13 -1
- package/.cursor-plugin/plugin.json +13 -1
- package/.github/plugin/marketplace.json +1 -1
- package/README.md +25 -23
- package/agents/AGENTS.md +4 -4
- package/agents/README.md +7 -7
- package/agents/alibaba/alibaba-tablestore-architect-agent/AGENT.md +54 -0
- package/agents/alibaba/alibaba-tablestore-architect-agent/harnesses/claude-code.agent.md +37 -0
- package/agents/alibaba/alibaba-tablestore-architect-agent/harnesses/codex.toml +11 -0
- package/agents/alibaba/alibaba-tablestore-architect-agent/harnesses/copilot.agent.md +43 -0
- package/agents/alibaba/alibaba-tablestore-architect-agent/harnesses/cursor.agent.md +38 -0
- package/agents/alibaba/alibaba-tablestore-architect-agent/harnesses/gemini.agent.md +39 -0
- package/agents/alibaba/alibaba-tablestore-architect-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/alibaba/alibaba-tablestore-architect-agent/harnesses/kiro-ide.agent.md +37 -0
- package/agents/alibaba/alibaba-tablestore-architect-agent/metadata.json +39 -0
- package/agents/atlassian/atlassian-control-evidence-lineage-agent/AGENT.md +50 -0
- package/agents/atlassian/atlassian-control-evidence-lineage-agent/LEAST-PRIVILEGES.md +23 -0
- package/agents/atlassian/atlassian-control-evidence-lineage-agent/README.md +36 -0
- package/agents/atlassian/atlassian-control-evidence-lineage-agent/harnesses/claude-code.agent.md +44 -0
- package/agents/atlassian/atlassian-control-evidence-lineage-agent/harnesses/codex.toml +51 -0
- package/agents/atlassian/atlassian-control-evidence-lineage-agent/harnesses/copilot.agent.md +71 -0
- package/agents/atlassian/atlassian-control-evidence-lineage-agent/harnesses/cursor.agent.md +43 -0
- package/agents/atlassian/atlassian-control-evidence-lineage-agent/harnesses/gemini.agent.md +44 -0
- package/agents/atlassian/atlassian-control-evidence-lineage-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/atlassian/atlassian-control-evidence-lineage-agent/harnesses/kiro-ide.agent.md +43 -0
- package/agents/atlassian/atlassian-control-evidence-lineage-agent/metadata.json +43 -0
- package/agents/atlassian/atlassian-incident-prevention-agent/AGENT.md +49 -0
- package/agents/atlassian/atlassian-incident-prevention-agent/LEAST-PRIVILEGES.md +23 -0
- package/agents/atlassian/atlassian-incident-prevention-agent/README.md +36 -0
- package/agents/atlassian/atlassian-incident-prevention-agent/harnesses/claude-code.agent.md +43 -0
- package/agents/atlassian/atlassian-incident-prevention-agent/harnesses/codex.toml +51 -0
- package/agents/atlassian/atlassian-incident-prevention-agent/harnesses/copilot.agent.md +70 -0
- package/agents/atlassian/atlassian-incident-prevention-agent/harnesses/cursor.agent.md +42 -0
- package/agents/atlassian/atlassian-incident-prevention-agent/harnesses/gemini.agent.md +43 -0
- package/agents/atlassian/atlassian-incident-prevention-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/atlassian/atlassian-incident-prevention-agent/harnesses/kiro-ide.agent.md +42 -0
- package/agents/atlassian/atlassian-incident-prevention-agent/metadata.json +43 -0
- package/agents/atlassian/atlassian-knowledge-integrity-agent/AGENT.md +48 -0
- package/agents/atlassian/atlassian-knowledge-integrity-agent/LEAST-PRIVILEGES.md +23 -0
- package/agents/atlassian/atlassian-knowledge-integrity-agent/README.md +36 -0
- package/agents/atlassian/atlassian-knowledge-integrity-agent/harnesses/claude-code.agent.md +42 -0
- package/agents/atlassian/atlassian-knowledge-integrity-agent/harnesses/codex.toml +47 -0
- package/agents/atlassian/atlassian-knowledge-integrity-agent/harnesses/copilot.agent.md +69 -0
- package/agents/atlassian/atlassian-knowledge-integrity-agent/harnesses/cursor.agent.md +41 -0
- package/agents/atlassian/atlassian-knowledge-integrity-agent/harnesses/gemini.agent.md +42 -0
- package/agents/atlassian/atlassian-knowledge-integrity-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/atlassian/atlassian-knowledge-integrity-agent/harnesses/kiro-ide.agent.md +41 -0
- package/agents/atlassian/atlassian-knowledge-integrity-agent/metadata.json +42 -0
- package/agents/atlassian/atlassian-live-write-guard-agent/AGENT.md +51 -0
- package/agents/atlassian/atlassian-live-write-guard-agent/LEAST-PRIVILEGES.md +23 -0
- package/agents/atlassian/atlassian-live-write-guard-agent/README.md +36 -0
- package/agents/atlassian/atlassian-live-write-guard-agent/harnesses/claude-code.agent.md +45 -0
- package/agents/atlassian/atlassian-live-write-guard-agent/harnesses/codex.toml +52 -0
- package/agents/atlassian/atlassian-live-write-guard-agent/harnesses/copilot.agent.md +72 -0
- package/agents/atlassian/atlassian-live-write-guard-agent/harnesses/cursor.agent.md +44 -0
- package/agents/atlassian/atlassian-live-write-guard-agent/harnesses/gemini.agent.md +45 -0
- package/agents/atlassian/atlassian-live-write-guard-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/atlassian/atlassian-live-write-guard-agent/harnesses/kiro-ide.agent.md +44 -0
- package/agents/atlassian/atlassian-live-write-guard-agent/metadata.json +43 -0
- package/agents/atlassian/atlassian-maestro-agent/AGENT.md +49 -0
- package/agents/atlassian/atlassian-maestro-agent/LEAST-PRIVILEGES.md +20 -0
- package/agents/atlassian/atlassian-maestro-agent/README.md +36 -0
- package/agents/atlassian/atlassian-maestro-agent/harnesses/claude-code.agent.md +43 -0
- package/agents/atlassian/atlassian-maestro-agent/harnesses/codex.toml +44 -0
- package/agents/atlassian/atlassian-maestro-agent/harnesses/copilot.agent.md +46 -0
- package/agents/atlassian/atlassian-maestro-agent/harnesses/cursor.agent.md +42 -0
- package/agents/atlassian/atlassian-maestro-agent/harnesses/gemini.agent.md +43 -0
- package/agents/atlassian/atlassian-maestro-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/atlassian/atlassian-maestro-agent/harnesses/kiro-ide.agent.md +42 -0
- package/agents/atlassian/atlassian-maestro-agent/metadata.json +41 -0
- package/agents/aws/aws-dynamodb-patterns-agent/AGENT.md +53 -0
- package/agents/aws/aws-dynamodb-patterns-agent/harnesses/claude-code.agent.md +36 -0
- package/agents/aws/aws-dynamodb-patterns-agent/harnesses/codex.toml +23 -0
- package/agents/aws/aws-dynamodb-patterns-agent/harnesses/copilot.agent.md +42 -0
- package/agents/aws/aws-dynamodb-patterns-agent/harnesses/cursor.agent.md +38 -0
- package/agents/aws/aws-dynamodb-patterns-agent/harnesses/gemini.agent.md +38 -0
- package/agents/aws/aws-dynamodb-patterns-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/aws/aws-dynamodb-patterns-agent/harnesses/kiro-ide.agent.md +36 -0
- package/agents/aws/aws-dynamodb-patterns-agent/metadata.json +39 -0
- package/agents/azure/azure-cosmosdb-application-developer-agent/metadata.json +4 -0
- package/agents/azure/azure-cosmosdb-pattern-agent/AGENT.md +53 -0
- package/agents/azure/azure-cosmosdb-pattern-agent/harnesses/claude-code.agent.md +36 -0
- package/agents/azure/azure-cosmosdb-pattern-agent/harnesses/codex.toml +23 -0
- package/agents/azure/azure-cosmosdb-pattern-agent/harnesses/copilot.agent.md +42 -0
- package/agents/azure/azure-cosmosdb-pattern-agent/harnesses/cursor.agent.md +37 -0
- package/agents/azure/azure-cosmosdb-pattern-agent/harnesses/gemini.agent.md +38 -0
- package/agents/azure/azure-cosmosdb-pattern-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/azure/azure-cosmosdb-pattern-agent/harnesses/kiro-ide.agent.md +36 -0
- package/agents/azure/azure-cosmosdb-pattern-agent/metadata.json +38 -0
- package/agents/gcp/gcp-bigtable-architect-agent/AGENT.md +54 -0
- package/agents/gcp/gcp-bigtable-architect-agent/harnesses/claude-code.agent.md +37 -0
- package/agents/gcp/gcp-bigtable-architect-agent/harnesses/codex.toml +11 -0
- package/agents/gcp/gcp-bigtable-architect-agent/harnesses/copilot.agent.md +43 -0
- package/agents/gcp/gcp-bigtable-architect-agent/harnesses/cursor.agent.md +38 -0
- package/agents/gcp/gcp-bigtable-architect-agent/harnesses/gemini.agent.md +39 -0
- package/agents/gcp/gcp-bigtable-architect-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/gcp/gcp-bigtable-architect-agent/harnesses/kiro-ide.agent.md +37 -0
- package/agents/gcp/gcp-bigtable-architect-agent/metadata.json +39 -0
- package/agents/huawei/huawei-geminidb-architect-agent/AGENT.md +54 -0
- package/agents/huawei/huawei-geminidb-architect-agent/harnesses/claude-code.agent.md +37 -0
- package/agents/huawei/huawei-geminidb-architect-agent/harnesses/codex.toml +11 -0
- package/agents/huawei/huawei-geminidb-architect-agent/harnesses/copilot.agent.md +43 -0
- package/agents/huawei/huawei-geminidb-architect-agent/harnesses/cursor.agent.md +38 -0
- package/agents/huawei/huawei-geminidb-architect-agent/harnesses/gemini.agent.md +39 -0
- package/agents/huawei/huawei-geminidb-architect-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/huawei/huawei-geminidb-architect-agent/harnesses/kiro-ide.agent.md +37 -0
- package/agents/huawei/huawei-geminidb-architect-agent/metadata.json +38 -0
- package/agents/oci/oci-nosql-database-architect-agent/AGENT.md +54 -0
- package/agents/oci/oci-nosql-database-architect-agent/harnesses/claude-code.agent.md +37 -0
- package/agents/oci/oci-nosql-database-architect-agent/harnesses/codex.toml +11 -0
- package/agents/oci/oci-nosql-database-architect-agent/harnesses/copilot.agent.md +43 -0
- package/agents/oci/oci-nosql-database-architect-agent/harnesses/cursor.agent.md +39 -0
- package/agents/oci/oci-nosql-database-architect-agent/harnesses/gemini.agent.md +39 -0
- package/agents/oci/oci-nosql-database-architect-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/oci/oci-nosql-database-architect-agent/harnesses/kiro-ide.agent.md +37 -0
- package/agents/oci/oci-nosql-database-architect-agent/metadata.json +39 -0
- package/agents/oci/oci-nosql-pattern-agent/AGENT.md +53 -0
- package/agents/oci/oci-nosql-pattern-agent/harnesses/claude-code.agent.md +36 -0
- package/agents/oci/oci-nosql-pattern-agent/harnesses/codex.toml +23 -0
- package/agents/oci/oci-nosql-pattern-agent/harnesses/copilot.agent.md +42 -0
- package/agents/oci/oci-nosql-pattern-agent/harnesses/cursor.agent.md +38 -0
- package/agents/oci/oci-nosql-pattern-agent/harnesses/gemini.agent.md +38 -0
- package/agents/oci/oci-nosql-pattern-agent/harnesses/kiro-cli.agent.json +5 -0
- package/agents/oci/oci-nosql-pattern-agent/harnesses/kiro-ide.agent.md +36 -0
- package/agents/oci/oci-nosql-pattern-agent/metadata.json +38 -0
- package/catalog/agents.json +366 -1
- package/catalog/asset-integrity.json +1686 -81
- package/catalog/install-roles.json +41 -1
- package/catalog/model-assignments.json +396 -0
- package/catalog/skill-manifest.json +2429 -194
- package/catalog/skills.json +544 -14
- package/mods/live-guard-gate/lib/live-agents.mjs +1 -0
- package/package.json +8 -2
- package/plugins/vanguard-frontier-agentic/.codex-plugin/plugin.json +1 -1
- package/powers/README.md +3 -2
- package/powers/vanguard-alibaba/POWER.md +1 -1
- package/powers/vanguard-atlassian/POWER.md +42 -0
- package/powers/vanguard-aws/POWER.md +1 -1
- package/powers/vanguard-azure/POWER.md +1 -1
- package/powers/vanguard-gcp/POWER.md +1 -1
- package/powers/vanguard-huawei/POWER.md +1 -1
- package/powers/vanguard-oci/POWER.md +1 -1
- package/schemas/agent.schema.json +1 -0
- package/schemas/skill.schema.json +1 -0
- package/scripts/export-marketplace-agents.mjs +4 -1
- package/scripts/generate-docs-data.mjs +1 -0
- package/scripts/generate-kiro-powers.mjs +15 -0
- package/skills/alibaba/README.md +2 -1
- package/skills/alibaba/alibaba-maestro/SKILL.md +2 -1
- package/skills/alibaba/alibaba-tablestore-architect/SKILL.md +69 -0
- package/skills/alibaba/alibaba-tablestore-architect/metadata.json +28 -0
- package/skills/alibaba/alibaba-tablestore-architect/references/commands/audit/live.md +110 -0
- package/skills/alibaba/alibaba-tablestore-architect/references/commands/audit/offline.md +119 -0
- package/skills/alibaba/alibaba-tablestore-architect/references/commands/audit.md +22 -0
- package/skills/alibaba/alibaba-tablestore-architect/references/evidence-ledger.md +87 -0
- package/skills/alibaba/alibaba-tablestore-architect/references/operations.md +190 -0
- package/skills/alibaba/alibaba-tablestore-architect/references/tablestore-design-guide.md +159 -0
- package/skills/atlassian/atlassian-control-evidence-lineage/SKILL.md +52 -0
- package/skills/atlassian/atlassian-control-evidence-lineage/metadata.json +18 -0
- package/skills/atlassian/atlassian-control-evidence-lineage/references/lineage-model.md +59 -0
- package/skills/atlassian/atlassian-control-evidence-lineage/references/workflow-and-output.md +69 -0
- package/skills/atlassian/atlassian-incident-prevention-review/SKILL.md +61 -0
- package/skills/atlassian/atlassian-incident-prevention-review/metadata.json +19 -0
- package/skills/atlassian/atlassian-incident-prevention-review/references/recurrence-evidence.md +92 -0
- package/skills/atlassian/atlassian-incident-prevention-review/references/workflow-and-output.md +118 -0
- package/skills/atlassian/atlassian-knowledge-integrity-review/SKILL.md +64 -0
- package/skills/atlassian/atlassian-knowledge-integrity-review/metadata.json +19 -0
- package/skills/atlassian/atlassian-knowledge-integrity-review/references/staleness-and-history.md +89 -0
- package/skills/atlassian/atlassian-knowledge-integrity-review/references/workflow-and-output.md +99 -0
- package/skills/atlassian/atlassian-live-write-guard/SKILL.md +51 -0
- package/skills/atlassian/atlassian-live-write-guard/metadata.json +18 -0
- package/skills/atlassian/atlassian-live-write-guard/references/authorization-checklist.md +39 -0
- package/skills/atlassian/atlassian-live-write-guard/references/write-verification.md +47 -0
- package/skills/atlassian/atlassian-rovo-mcp-integration/SKILL.md +72 -0
- package/skills/atlassian/atlassian-rovo-mcp-integration/metadata.json +26 -0
- package/skills/atlassian/atlassian-rovo-mcp-integration/references/auth-tenant-and-trust-boundaries.md +59 -0
- package/skills/atlassian/atlassian-rovo-mcp-integration/references/evidence-ledger.md +36 -0
- package/skills/atlassian/atlassian-rovo-mcp-integration/references/failure-and-recovery.md +36 -0
- package/skills/atlassian/atlassian-rovo-mcp-integration/references/tool-risk-tiers.md +91 -0
- package/skills/atlassian/confluence-document-authoring/CHANGELOG.md +28 -0
- package/skills/atlassian/confluence-document-authoring/SKILL.md +70 -0
- package/skills/atlassian/confluence-document-authoring/agents/openai.yaml +15 -0
- package/skills/atlassian/confluence-document-authoring/assets/examples/adr-example.md +81 -0
- package/skills/atlassian/confluence-document-authoring/assets/examples/business-product-explainer.md +99 -0
- package/skills/atlassian/confluence-document-authoring/assets/examples/feature-rollout-brief.md +108 -0
- package/skills/atlassian/confluence-document-authoring/assets/examples/queue-backlog-runbook.md +158 -0
- package/skills/atlassian/confluence-document-authoring/assets/examples/retry-contract-adr.md +99 -0
- package/skills/atlassian/confluence-document-authoring/assets/icon.svg +8 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/adr.md +87 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/api-documentation.md +97 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/customer-impact-assessment.md +43 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/experiment-plan-results.md +44 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/feature-overview.md +79 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/how-to.md +58 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/incident-playbook.md +89 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/incident-postmortem.md +83 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/meeting-notes.md +86 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/okrs.md +51 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/prd.md +83 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/product-explainer.md +77 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/product-roadmap.md +54 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/project-charter.md +56 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/project-plan.md +52 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/project-status-report.md +47 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/release-notes.md +119 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/risk-assessment.md +40 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/runbook.md +87 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/sprint-retrospective.md +85 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/support-knowledge-base.md +79 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/tdd.md +97 -0
- package/skills/atlassian/confluence-document-authoring/assets/templates/team-working-agreement.md +46 -0
- package/skills/atlassian/confluence-document-authoring/manifest.json +260 -0
- package/skills/atlassian/confluence-document-authoring/metadata.json +26 -0
- package/skills/atlassian/confluence-document-authoring/prompts/README.md +21 -0
- package/skills/atlassian/confluence-document-authoring/prompts/customer-impact-assessment.md +14 -0
- package/skills/atlassian/confluence-document-authoring/prompts/experiment-plan-results.md +14 -0
- package/skills/atlassian/confluence-document-authoring/prompts/feature-overview.md +22 -0
- package/skills/atlassian/confluence-document-authoring/prompts/okrs.md +14 -0
- package/skills/atlassian/confluence-document-authoring/prompts/product-explainer.md +20 -0
- package/skills/atlassian/confluence-document-authoring/prompts/product-idea-to-prd-and-backlog.md +20 -0
- package/skills/atlassian/confluence-document-authoring/prompts/product-roadmap.md +14 -0
- package/skills/atlassian/confluence-document-authoring/prompts/project-charter.md +14 -0
- package/skills/atlassian/confluence-document-authoring/prompts/project-plan.md +14 -0
- package/skills/atlassian/confluence-document-authoring/prompts/project-status-report.md +14 -0
- package/skills/atlassian/confluence-document-authoring/prompts/release-notes.md +16 -0
- package/skills/atlassian/confluence-document-authoring/prompts/risk-assessment.md +14 -0
- package/skills/atlassian/confluence-document-authoring/prompts/support-knowledge-base.md +21 -0
- package/skills/atlassian/confluence-document-authoring/prompts/team-working-agreement.md +14 -0
- package/skills/atlassian/confluence-document-authoring/references/audience-patterns.md +43 -0
- package/skills/atlassian/confluence-document-authoring/references/cql-patterns.md +53 -0
- package/skills/atlassian/confluence-document-authoring/references/jira-integration.md +47 -0
- package/skills/atlassian/confluence-document-authoring/references/lifecycle.md +55 -0
- package/skills/atlassian/confluence-document-authoring/references/publishing.md +41 -0
- package/skills/atlassian/confluence-document-authoring/references/quality-review.md +56 -0
- package/skills/atlassian/confluence-document-authoring/references/sources.md +47 -0
- package/skills/atlassian/confluence-document-authoring/references/template-catalogue.md +30 -0
- package/skills/atlassian/confluence-document-authoring/references/template-maintenance.md +32 -0
- package/skills/atlassian/jira-ticket-authoring/CHANGELOG.md +26 -0
- package/skills/atlassian/jira-ticket-authoring/SKILL.md +70 -0
- package/skills/atlassian/jira-ticket-authoring/agents/openai.yaml +14 -0
- package/skills/atlassian/jira-ticket-authoring/assets/examples/customer-export-support.md +85 -0
- package/skills/atlassian/jira-ticket-authoring/assets/examples/implementation-example.md +70 -0
- package/skills/atlassian/jira-ticket-authoring/assets/examples/invoice-retry-bug.md +87 -0
- package/skills/atlassian/jira-ticket-authoring/assets/examples/sparse-request-triage.md +84 -0
- package/skills/atlassian/jira-ticket-authoring/assets/icon.svg +8 -0
- package/skills/atlassian/jira-ticket-authoring/assets/templates/agent-handoff.md +49 -0
- package/skills/atlassian/jira-ticket-authoring/assets/templates/bug.md +62 -0
- package/skills/atlassian/jira-ticket-authoring/assets/templates/epic.md +68 -0
- package/skills/atlassian/jira-ticket-authoring/assets/templates/feature-request.md +59 -0
- package/skills/atlassian/jira-ticket-authoring/assets/templates/finding.md +68 -0
- package/skills/atlassian/jira-ticket-authoring/assets/templates/implementation.md +96 -0
- package/skills/atlassian/jira-ticket-authoring/assets/templates/incident.md +63 -0
- package/skills/atlassian/jira-ticket-authoring/assets/templates/operational-change.md +84 -0
- package/skills/atlassian/jira-ticket-authoring/assets/templates/service-request.md +59 -0
- package/skills/atlassian/jira-ticket-authoring/assets/templates/spike.md +52 -0
- package/skills/atlassian/jira-ticket-authoring/assets/templates/story.md +59 -0
- package/skills/atlassian/jira-ticket-authoring/assets/templates/support-case.md +59 -0
- package/skills/atlassian/jira-ticket-authoring/assets/templates/tech-debt.md +48 -0
- package/skills/atlassian/jira-ticket-authoring/manifest.json +174 -0
- package/skills/atlassian/jira-ticket-authoring/metadata.json +26 -0
- package/skills/atlassian/jira-ticket-authoring/prompts/README.md +11 -0
- package/skills/atlassian/jira-ticket-authoring/prompts/access-or-service-request.md +16 -0
- package/skills/atlassian/jira-ticket-authoring/prompts/bug-report.md +21 -0
- package/skills/atlassian/jira-ticket-authoring/prompts/customer-support-case.md +18 -0
- package/skills/atlassian/jira-ticket-authoring/prompts/epic-breakdown.md +14 -0
- package/skills/atlassian/jira-ticket-authoring/prompts/new-feature-request.md +16 -0
- package/skills/atlassian/jira-ticket-authoring/prompts/product-idea-to-prd-and-backlog.md +20 -0
- package/skills/atlassian/jira-ticket-authoring/prompts/user-story.md +14 -0
- package/skills/atlassian/jira-ticket-authoring/references/adversarial-review.md +17 -0
- package/skills/atlassian/jira-ticket-authoring/references/jira-confluence-traceability.md +32 -0
- package/skills/atlassian/jira-ticket-authoring/references/jira-integration.md +47 -0
- package/skills/atlassian/jira-ticket-authoring/references/planning-patterns.md +57 -0
- package/skills/atlassian/jira-ticket-authoring/references/quality-review.md +49 -0
- package/skills/atlassian/jira-ticket-authoring/references/service-routing.md +44 -0
- package/skills/atlassian/jira-ticket-authoring/references/sources.md +33 -0
- package/skills/atlassian/jira-ticket-authoring/references/template-adaptation.md +29 -0
- package/skills/aws/aws-documentdb-architect/SKILL.md +43 -0
- package/skills/aws/aws-documentdb-architect/metadata.json +26 -0
- package/skills/aws/aws-documentdb-architect/references/commands/audit/live.md +135 -0
- package/skills/aws/aws-documentdb-architect/references/commands/audit/offline.md +127 -0
- package/skills/aws/aws-documentdb-architect/references/commands/audit.md +23 -0
- package/skills/aws/aws-documentdb-architect/references/evidence-ledger.md +52 -0
- package/skills/aws/aws-documentdb-architect/references/official-sources.md +15 -0
- package/skills/aws/aws-documentdb-architect/references/operations.md +165 -0
- package/skills/aws/aws-documentdb-architect/references/safety-checklist.md +22 -0
- package/skills/aws/aws-documentdb-architect/references/workflow-and-output.md +22 -0
- package/skills/aws/aws-dynamodb-data-modeling-performance-review/SKILL.md +5 -3
- package/skills/aws/aws-dynamodb-data-modeling-performance-review/metadata.json +7 -3
- package/skills/aws/aws-dynamodb-data-modeling-performance-review/references/consistency-indexing-replication.md +103 -0
- package/skills/aws/aws-dynamodb-data-modeling-performance-review/references/evidence-ledger.md +38 -0
- package/skills/aws/aws-dynamodb-patterns/CHANGELOG.md +87 -0
- package/skills/aws/aws-dynamodb-patterns/README.md +132 -0
- package/skills/aws/aws-dynamodb-patterns/SKILL.md +82 -0
- package/skills/aws/aws-dynamodb-patterns/assets/bedrock-embedding-input.json +6 -0
- package/skills/aws/aws-dynamodb-patterns/assets/content-review.json +6 -0
- package/skills/aws/aws-dynamodb-patterns/assets/create-table-with-lsi.json +41 -0
- package/skills/aws/aws-dynamodb-patterns/assets/create-table.json +27 -0
- package/skills/aws/aws-dynamodb-patterns/assets/create-table.sh +37 -0
- package/skills/aws/aws-dynamodb-patterns/assets/embedding-flow.py +89 -0
- package/skills/aws/aws-dynamodb-patterns/assets/query-input.json +13 -0
- package/skills/aws/aws-dynamodb-patterns/assets/query-pages.mjs +54 -0
- package/skills/aws/aws-dynamodb-patterns/assets/stream-read-policy.json +11 -0
- package/skills/aws/aws-dynamodb-patterns/assets/table-index-read-policy.json +20 -0
- package/skills/aws/aws-dynamodb-patterns/assets/table-resource-policy.json +22 -0
- package/skills/aws/aws-dynamodb-patterns/assets/table.cfn.yaml +55 -0
- package/skills/aws/aws-dynamodb-patterns/assets/typed-vector-item.json +15 -0
- package/skills/aws/aws-dynamodb-patterns/assets/vector-create-table.json +23 -0
- package/skills/aws/aws-dynamodb-patterns/assets/vector-search-policy.json +11 -0
- package/skills/aws/aws-dynamodb-patterns/assets/vector-search.json +10 -0
- package/skills/aws/aws-dynamodb-patterns/assets/vector-table.cfn.yaml +41 -0
- package/skills/aws/aws-dynamodb-patterns/evals/audit.test.py +87 -0
- package/skills/aws/aws-dynamodb-patterns/evals/backup-restore.test.py +163 -0
- package/skills/aws/aws-dynamodb-patterns/evals/commands.test.py +185 -0
- package/skills/aws/aws-dynamodb-patterns/evals/create-table.test.py +99 -0
- package/skills/aws/aws-dynamodb-patterns/evals/data-vectors-maintenance.test.py +201 -0
- package/skills/aws/aws-dynamodb-patterns/evals/embedding-commands.test.py +162 -0
- package/skills/aws/aws-dynamodb-patterns/evals/embedding-flow.test.py +167 -0
- package/skills/aws/aws-dynamodb-patterns/evals/eval.md +328 -0
- package/skills/aws/aws-dynamodb-patterns/evals/evals.json +185 -0
- package/skills/aws/aws-dynamodb-patterns/evals/modes.test.py +195 -0
- package/skills/aws/aws-dynamodb-patterns/evals/operations.test.py +288 -0
- package/skills/aws/aws-dynamodb-patterns/evals/query-pages.test.mjs +156 -0
- package/skills/aws/aws-dynamodb-patterns/evals/readme-and-loading.test.py +69 -0
- package/skills/aws/aws-dynamodb-patterns/evals/verify.py +166 -0
- package/skills/aws/aws-dynamodb-patterns/metadata.json +28 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/README.md +32 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/audit/live.md +64 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/audit/offline.md +28 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/audit.md +65 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/aws-cli.md +206 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/backup/on-demand.md +36 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/backup/pitr.md +41 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/backup.md +27 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/design.md +47 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/embedding.md +200 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/feature-plan.md +56 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/help.md +28 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/performance-test.md +95 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/recovery-target.md +47 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/refactor.md +82 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/restore/on-demand.md +32 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/restore/pitr.md +42 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/restore.md +76 -0
- package/skills/aws/aws-dynamodb-patterns/references/commands/select.md +22 -0
- package/skills/aws/aws-dynamodb-patterns/references/data-types-and-vectors.md +175 -0
- package/skills/aws/aws-dynamodb-patterns/references/embedding-integrations.md +237 -0
- package/skills/aws/aws-dynamodb-patterns/references/encryption.md +156 -0
- package/skills/aws/aws-dynamodb-patterns/references/evidence-index.md +116 -0
- package/skills/aws/aws-dynamodb-patterns/references/evidence-ledger.md +373 -0
- package/skills/aws/aws-dynamodb-patterns/references/iam-and-access.md +173 -0
- package/skills/aws/aws-dynamodb-patterns/references/language-adapters.md +251 -0
- package/skills/aws/aws-dynamodb-patterns/references/lsi-vs-gsi.md +116 -0
- package/skills/aws/aws-dynamodb-patterns/references/maintenance.md +56 -0
- package/skills/aws/aws-dynamodb-patterns/references/modeling.md +131 -0
- package/skills/aws/aws-dynamodb-patterns/references/monitoring.md +137 -0
- package/skills/aws/aws-dynamodb-patterns/references/official-sources.md +34 -0
- package/skills/aws/aws-dynamodb-patterns/references/operations.md +130 -0
- package/skills/aws/aws-dynamodb-patterns/references/provisioning.md +110 -0
- package/skills/aws/aws-dynamodb-patterns/references/recovery-and-replicas.md +148 -0
- package/skills/aws/aws-dynamodb-patterns/references/runtime-contract.md +140 -0
- package/skills/aws/aws-dynamodb-patterns/references/safety-checklist.md +35 -0
- package/skills/aws/aws-dynamodb-patterns/references/sources.md +170 -0
- package/skills/aws/aws-dynamodb-patterns/references/streams-and-dax.md +160 -0
- package/skills/aws/aws-dynamodb-patterns/references/workflow-and-output.md +34 -0
- package/skills/aws/aws-dynamodb-patterns/references/workflow.md +133 -0
- package/skills/aws/aws-dynamodb-patterns/scripts/review_due.py +61 -0
- package/skills/aws/aws-dynamodb-patterns/scripts/select_mode.py +127 -0
- package/skills/aws/aws-keyspaces-architect/SKILL.md +43 -0
- package/skills/aws/aws-keyspaces-architect/metadata.json +26 -0
- package/skills/aws/aws-keyspaces-architect/references/commands/audit/live.md +118 -0
- package/skills/aws/aws-keyspaces-architect/references/commands/audit/offline.md +125 -0
- package/skills/aws/aws-keyspaces-architect/references/commands/audit.md +22 -0
- package/skills/aws/aws-keyspaces-architect/references/evidence-ledger.md +49 -0
- package/skills/aws/aws-keyspaces-architect/references/official-sources.md +15 -0
- package/skills/aws/aws-keyspaces-architect/references/operations.md +154 -0
- package/skills/aws/aws-keyspaces-architect/references/safety-checklist.md +22 -0
- package/skills/aws/aws-keyspaces-architect/references/workflow-and-output.md +22 -0
- package/skills/aws/aws-maestro/SKILL.md +1 -1
- package/skills/aws/aws-maestro/metadata.json +1 -1
- package/skills/aws/aws-maestro/references/workflow-and-output.md +1 -0
- package/skills/azure/azure-cosmosdb-application-developer/SKILL.md +4 -2
- package/skills/azure/azure-cosmosdb-application-developer/metadata.json +1 -1
- package/skills/azure/azure-cosmosdb-pattern/CHANGELOG.md +10 -0
- package/skills/azure/azure-cosmosdb-pattern/README.md +102 -0
- package/skills/azure/azure-cosmosdb-pattern/SKILL.md +69 -0
- package/skills/azure/azure-cosmosdb-pattern/assets/account.arm.json +59 -0
- package/skills/azure/azure-cosmosdb-pattern/assets/content-review.json +9 -0
- package/skills/azure/azure-cosmosdb-pattern/assets/indexing-policy.json +7 -0
- package/skills/azure/azure-cosmosdb-pattern/assets/order.json +10 -0
- package/skills/azure/azure-cosmosdb-pattern/assets/provision.sh +32 -0
- package/skills/azure/azure-cosmosdb-pattern/assets/runtime.mjs +99 -0
- package/skills/azure/azure-cosmosdb-pattern/assets/vector-indexing-policy.json +7 -0
- package/skills/azure/azure-cosmosdb-pattern/assets/vector-policy.json +3 -0
- package/skills/azure/azure-cosmosdb-pattern/evals/eval.md +32 -0
- package/skills/azure/azure-cosmosdb-pattern/evals/fixtures/recovery-continuous.json +28 -0
- package/skills/azure/azure-cosmosdb-pattern/evals/prompts.json +24 -0
- package/skills/azure/azure-cosmosdb-pattern/evals/report.md +54 -0
- package/skills/azure/azure-cosmosdb-pattern/evals/runtime.test.mjs +146 -0
- package/skills/azure/azure-cosmosdb-pattern/evals/source-evidence.json +28 -0
- package/skills/azure/azure-cosmosdb-pattern/evals/test_package.py +355 -0
- package/skills/azure/azure-cosmosdb-pattern/metadata.json +25 -0
- package/skills/azure/azure-cosmosdb-pattern/references/access-control.md +42 -0
- package/skills/azure/azure-cosmosdb-pattern/references/change-feed-and-integrations.md +31 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/audit/live.md +17 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/audit/offline.md +15 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/audit.md +8 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/azure-cli.md +39 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/backup/continuous.md +30 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/backup/periodic.md +28 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/backup.md +11 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/design.md +13 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/feature-plan.md +18 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/help.md +13 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/performance-test.md +24 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/recovery-target.md +30 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/refactor.md +14 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/restore/continuous-deleted-resource.md +55 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/restore/continuous-new-account.md +50 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/restore/periodic-support.md +27 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/restore.md +13 -0
- package/skills/azure/azure-cosmosdb-pattern/references/commands/select.md +11 -0
- package/skills/azure/azure-cosmosdb-pattern/references/data-types-and-vectors.md +51 -0
- package/skills/azure/azure-cosmosdb-pattern/references/embedding-integrations.md +56 -0
- package/skills/azure/azure-cosmosdb-pattern/references/encryption.md +53 -0
- package/skills/azure/azure-cosmosdb-pattern/references/evidence-index.md +72 -0
- package/skills/azure/azure-cosmosdb-pattern/references/evidence-ledger.md +174 -0
- package/skills/azure/azure-cosmosdb-pattern/references/indexing-and-capacity.md +37 -0
- package/skills/azure/azure-cosmosdb-pattern/references/language-adapters.md +112 -0
- package/skills/azure/azure-cosmosdb-pattern/references/maintenance.md +19 -0
- package/skills/azure/azure-cosmosdb-pattern/references/modeling.md +44 -0
- package/skills/azure/azure-cosmosdb-pattern/references/monitoring.md +23 -0
- package/skills/azure/azure-cosmosdb-pattern/references/provisioning.md +61 -0
- package/skills/azure/azure-cosmosdb-pattern/references/recovery.md +31 -0
- package/skills/azure/azure-cosmosdb-pattern/references/replication.md +22 -0
- package/skills/azure/azure-cosmosdb-pattern/references/runtime-contract.md +43 -0
- package/skills/azure/azure-cosmosdb-pattern/references/sources.md +61 -0
- package/skills/azure/azure-cosmosdb-pattern/references/workflow.md +18 -0
- package/skills/azure/azure-cosmosdb-pattern/scripts/recovery_guard.py +96 -0
- package/skills/azure/azure-cosmosdb-pattern/scripts/review_due.py +26 -0
- package/skills/azure/azure-cosmosdb-pattern/scripts/select_mode.py +108 -0
- package/skills/azure/azure-cosmosdb-pattern/scripts/validate_assets.py +53 -0
- package/skills/azure/azure-cosmosdb-platform-operator/SKILL.md +6 -2
- package/skills/azure/azure-cosmosdb-platform-operator/metadata.json +6 -3
- package/skills/azure/azure-cosmosdb-platform-operator/references/commands/audit/live.md +180 -0
- package/skills/azure/azure-cosmosdb-platform-operator/references/commands/audit/offline.md +160 -0
- package/skills/azure/azure-cosmosdb-platform-operator/references/commands/audit.md +26 -0
- package/skills/azure/azure-cosmosdb-platform-operator/references/consistency-capacity-security.md +136 -0
- package/skills/azure/azure-cosmosdb-platform-operator/references/cosmosdb-platform-operations.md +1 -1
- package/skills/azure/azure-cosmosdb-platform-operator/references/evidence-ledger.md +242 -0
- package/skills/azure/azure-cosmosdb-platform-operator/references/operations-cassandra.md +178 -0
- package/skills/azure/azure-cosmosdb-platform-operator/references/operations-mongodb.md +202 -0
- package/skills/azure/azure-cosmosdb-platform-operator/references/operations.md +126 -0
- package/skills/azure/azure-maestro/SKILL.md +1 -0
- package/skills/cross-functional/atlassian-case-capsule/SKILL.md +49 -0
- package/skills/cross-functional/atlassian-case-capsule/assets/atlassian-case-capsule.schema.json +487 -0
- package/skills/cross-functional/atlassian-case-capsule/metadata.json +25 -0
- package/skills/cross-functional/atlassian-case-capsule/scripts/validate_capsule.py +499 -0
- package/skills/cross-functional/atlassian-routing-protocol/SKILL.md +67 -0
- package/skills/cross-functional/atlassian-routing-protocol/metadata.json +18 -0
- package/skills/gcp/README.md +2 -1
- package/skills/gcp/gcp-bigtable-architect/SKILL.md +71 -0
- package/skills/gcp/gcp-bigtable-architect/metadata.json +28 -0
- package/skills/gcp/gcp-bigtable-architect/references/bigtable-design-guide.md +156 -0
- package/skills/gcp/gcp-bigtable-architect/references/commands/audit/live.md +122 -0
- package/skills/gcp/gcp-bigtable-architect/references/commands/audit/offline.md +140 -0
- package/skills/gcp/gcp-bigtable-architect/references/commands/audit.md +21 -0
- package/skills/gcp/gcp-bigtable-architect/references/evidence-ledger.md +83 -0
- package/skills/gcp/gcp-bigtable-architect/references/operations.md +111 -0
- package/skills/gcp/gcp-firebase-developer/SKILL.md +6 -3
- package/skills/gcp/gcp-firebase-developer/metadata.json +14 -4
- package/skills/gcp/gcp-firebase-developer/references/commands/audit/live.md +124 -0
- package/skills/gcp/gcp-firebase-developer/references/commands/audit/offline.md +146 -0
- package/skills/gcp/gcp-firebase-developer/references/commands/audit.md +27 -0
- package/skills/gcp/gcp-firebase-developer/references/evidence-ledger.md +190 -0
- package/skills/gcp/gcp-firebase-developer/references/firestore-mongodb-operations.md +189 -0
- package/skills/gcp/gcp-firebase-developer/references/firestore-operations.md +202 -0
- package/skills/gcp/gcp-firebase-developer/references/firestore.md +122 -0
- package/skills/gcp/gcp-maestro/SKILL.md +2 -1
- package/skills/huawei/README.md +2 -1
- package/skills/huawei/huawei-gaussdb-rds-dba/SKILL.md +7 -4
- package/skills/huawei/huawei-gaussdb-rds-dba/metadata.json +12 -4
- package/skills/huawei/huawei-gaussdb-rds-dba/references/commands/audit/live.md +68 -0
- package/skills/huawei/huawei-gaussdb-rds-dba/references/commands/audit/offline.md +106 -0
- package/skills/huawei/huawei-gaussdb-rds-dba/references/commands/audit.md +23 -0
- package/skills/huawei/huawei-gaussdb-rds-dba/references/dds-operations.md +135 -0
- package/skills/huawei/huawei-gaussdb-rds-dba/references/evidence-ledger.md +87 -0
- package/skills/huawei/huawei-geminidb-architect/SKILL.md +68 -0
- package/skills/huawei/huawei-geminidb-architect/metadata.json +26 -0
- package/skills/huawei/huawei-geminidb-architect/references/commands/audit/live.md +68 -0
- package/skills/huawei/huawei-geminidb-architect/references/commands/audit/offline.md +108 -0
- package/skills/huawei/huawei-geminidb-architect/references/commands/audit.md +23 -0
- package/skills/huawei/huawei-geminidb-architect/references/evidence-ledger.md +83 -0
- package/skills/huawei/huawei-geminidb-architect/references/geminidb-design-guide.md +114 -0
- package/skills/huawei/huawei-geminidb-architect/references/operations.md +135 -0
- package/skills/huawei/huawei-maestro/SKILL.md +2 -1
- package/skills/ionos/ionos-live-database-lifecycle-guard/SKILL.md +2 -0
- package/skills/ionos/ionos-live-database-lifecycle-guard/references/commands/audit/live.md +87 -0
- package/skills/ionos/ionos-live-database-lifecycle-guard/references/commands/audit/offline.md +109 -0
- package/skills/ionos/ionos-live-database-lifecycle-guard/references/commands/audit.md +27 -0
- package/skills/ionos/ionos-live-database-lifecycle-guard/references/evidence-ledger.md +69 -0
- package/skills/ionos/ionos-live-database-lifecycle-guard/references/mongodb-operations.md +220 -0
- package/skills/oci/README.md +6 -1
- package/skills/oci/oci-nosql-database-architect/SKILL.md +73 -0
- package/skills/oci/oci-nosql-database-architect/metadata.json +28 -0
- package/skills/oci/oci-nosql-database-architect/references/commands/audit/live.md +136 -0
- package/skills/oci/oci-nosql-database-architect/references/commands/audit/offline.md +150 -0
- package/skills/oci/oci-nosql-database-architect/references/commands/audit.md +28 -0
- package/skills/oci/oci-nosql-database-architect/references/evidence-ledger.md +96 -0
- package/skills/oci/oci-nosql-database-architect/references/nosql-design-guide.md +194 -0
- package/skills/oci/oci-nosql-database-architect/references/operations.md +194 -0
- package/skills/oci/oci-nosql-database-architect/references/sdk-matrix.md +43 -0
- package/skills/oci/oci-nosql-pattern/CHANGELOG.md +8 -0
- package/skills/oci/oci-nosql-pattern/README.md +81 -0
- package/skills/oci/oci-nosql-pattern/SKILL.md +62 -0
- package/skills/oci/oci-nosql-pattern/assets/content-review.json +10 -0
- package/skills/oci/oci-nosql-pattern/assets/create-table.sh +32 -0
- package/skills/oci/oci-nosql-pattern/assets/index-keys.json +11 -0
- package/skills/oci/oci-nosql-pattern/assets/migrator-export.json +22 -0
- package/skills/oci/oci-nosql-pattern/assets/migrator-import.json +29 -0
- package/skills/oci/oci-nosql-pattern/assets/orders.ddl +9 -0
- package/skills/oci/oci-nosql-pattern/assets/orders.tf +46 -0
- package/skills/oci/oci-nosql-pattern/assets/query-pages.mjs +33 -0
- package/skills/oci/oci-nosql-pattern/assets/query.json +13 -0
- package/skills/oci/oci-nosql-pattern/assets/query.sql +1 -0
- package/skills/oci/oci-nosql-pattern/assets/recovery-manifest.example.json +35 -0
- package/skills/oci/oci-nosql-pattern/assets/row.json +10 -0
- package/skills/oci/oci-nosql-pattern/assets/table-limits.json +6 -0
- package/skills/oci/oci-nosql-pattern/evals/cli-shapes.json +222 -0
- package/skills/oci/oci-nosql-pattern/evals/eval.md +26 -0
- package/skills/oci/oci-nosql-pattern/evals/prompts.json +89 -0
- package/skills/oci/oci-nosql-pattern/evals/report.md +41 -0
- package/skills/oci/oci-nosql-pattern/evals/test_package.py +350 -0
- package/skills/oci/oci-nosql-pattern/evals/test_runtime.mjs +77 -0
- package/skills/oci/oci-nosql-pattern/metadata.json +25 -0
- package/skills/oci/oci-nosql-pattern/references/access.md +29 -0
- package/skills/oci/oci-nosql-pattern/references/commands/audit/live.md +10 -0
- package/skills/oci/oci-nosql-pattern/references/commands/audit/offline.md +8 -0
- package/skills/oci/oci-nosql-pattern/references/commands/audit.md +6 -0
- package/skills/oci/oci-nosql-pattern/references/commands/backup/migrator.md +12 -0
- package/skills/oci/oci-nosql-pattern/references/commands/backup/sdk.md +10 -0
- package/skills/oci/oci-nosql-pattern/references/commands/backup.md +7 -0
- package/skills/oci/oci-nosql-pattern/references/commands/design.md +10 -0
- package/skills/oci/oci-nosql-pattern/references/commands/feature-plan.md +10 -0
- package/skills/oci/oci-nosql-pattern/references/commands/help.md +8 -0
- package/skills/oci/oci-nosql-pattern/references/commands/performance-test.md +12 -0
- package/skills/oci/oci-nosql-pattern/references/commands/refactor.md +9 -0
- package/skills/oci/oci-nosql-pattern/references/commands/restore/migrator.md +13 -0
- package/skills/oci/oci-nosql-pattern/references/commands/restore/sdk.md +11 -0
- package/skills/oci/oci-nosql-pattern/references/commands/restore.md +8 -0
- package/skills/oci/oci-nosql-pattern/references/commands/select.md +8 -0
- package/skills/oci/oci-nosql-pattern/references/embedding-integrations.md +25 -0
- package/skills/oci/oci-nosql-pattern/references/encryption.md +18 -0
- package/skills/oci/oci-nosql-pattern/references/evidence-index.md +44 -0
- package/skills/oci/oci-nosql-pattern/references/evidence-ledger.md +73 -0
- package/skills/oci/oci-nosql-pattern/references/indexes.md +19 -0
- package/skills/oci/oci-nosql-pattern/references/language-adapters.md +160 -0
- package/skills/oci/oci-nosql-pattern/references/maintenance.md +15 -0
- package/skills/oci/oci-nosql-pattern/references/modeling.md +26 -0
- package/skills/oci/oci-nosql-pattern/references/monitoring.md +21 -0
- package/skills/oci/oci-nosql-pattern/references/provisioning.md +44 -0
- package/skills/oci/oci-nosql-pattern/references/recovery-boundary.md +32 -0
- package/skills/oci/oci-nosql-pattern/references/replicas.md +18 -0
- package/skills/oci/oci-nosql-pattern/references/runtime-contract.md +23 -0
- package/skills/oci/oci-nosql-pattern/references/sources.md +57 -0
- package/skills/oci/oci-nosql-pattern/references/ttl.md +19 -0
- package/skills/oci/oci-nosql-pattern/references/types-and-vectors.md +27 -0
- package/skills/oci/oci-nosql-pattern/scripts/check_recovery.py +52 -0
- package/skills/oci/oci-nosql-pattern/scripts/review_due.py +32 -0
- package/skills/oci/oci-nosql-pattern/scripts/select_mode.py +96 -0
- package/skills/ovhcloud/ovhcloud-mongodb-architect/SKILL.md +43 -0
- package/skills/ovhcloud/ovhcloud-mongodb-architect/metadata.json +25 -0
- package/skills/ovhcloud/ovhcloud-mongodb-architect/references/commands/audit/live.md +90 -0
- package/skills/ovhcloud/ovhcloud-mongodb-architect/references/commands/audit/offline.md +112 -0
- package/skills/ovhcloud/ovhcloud-mongodb-architect/references/commands/audit.md +24 -0
- package/skills/ovhcloud/ovhcloud-mongodb-architect/references/evidence-ledger.md +93 -0
- package/skills/ovhcloud/ovhcloud-mongodb-architect/references/official-sources.md +15 -0
- package/skills/ovhcloud/ovhcloud-mongodb-architect/references/operations.md +216 -0
- package/skills/ovhcloud/ovhcloud-mongodb-architect/references/safety-checklist.md +22 -0
- package/skills/ovhcloud/ovhcloud-mongodb-architect/references/workflow-and-output.md +22 -0
- package/skills/scaleway/scaleway-managed-mongodb-architect/SKILL.md +43 -0
- package/skills/scaleway/scaleway-managed-mongodb-architect/metadata.json +24 -0
- package/skills/scaleway/scaleway-managed-mongodb-architect/references/commands/audit/live.md +99 -0
- package/skills/scaleway/scaleway-managed-mongodb-architect/references/commands/audit/offline.md +114 -0
- package/skills/scaleway/scaleway-managed-mongodb-architect/references/commands/audit.md +24 -0
- package/skills/scaleway/scaleway-managed-mongodb-architect/references/evidence-ledger.md +43 -0
- package/skills/scaleway/scaleway-managed-mongodb-architect/references/official-sources.md +14 -0
- package/skills/scaleway/scaleway-managed-mongodb-architect/references/operations.md +114 -0
- package/skills/scaleway/scaleway-managed-mongodb-architect/references/safety-checklist.md +22 -0
- package/skills/scaleway/scaleway-managed-mongodb-architect/references/workflow-and-output.md +22 -0
- package/templates/nosql-audit-template.md +127 -0
- package/templates/nosql-operations-template.md +60 -0
- package/tests/_generate_maestro_routing_fixtures.py +15 -0
- package/tests/fixtures/README.md +3 -3
- package/tests/fixtures/alibaba-maestro-routing/expected/050-happy-tablestore-partition-key.json +6 -0
- package/tests/fixtures/alibaba-maestro-routing/expected/adv-tablestore-not-polardb.json +6 -0
- package/tests/fixtures/alibaba-maestro-routing/inputs/050-happy-tablestore-partition-key.json +7 -0
- package/tests/fixtures/alibaba-maestro-routing/inputs/adv-tablestore-not-polardb.json +7 -0
- package/tests/fixtures/alibaba-maestro-routing/taxonomy.json +13 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/01-forged-approval-jira-comment.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/02-approval-points-at-untrusted-content.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/03-approval-relayed-by-agent.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/04-approval-from-chat-transcript.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/05-agent-approves-write.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/06-service-account-approves-write.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/07-expired-approval.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/08-approval-dated-after-as-of.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/09-write-with-pending-approval.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/10-prohibited-decide-jsm-approval.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/11-prohibited-approve-resolver-plans.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/12-prohibited-restriction-change.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/13-prohibited-permission-replace.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/14-prohibited-space-instructions.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/15-prohibited-delete-issue.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/16-prohibited-execute-destructive.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/17-opaque-execute-write.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/18-unknown-tool-fails-closed.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/19-write-at-read-tier.json +25 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/20-high-risk-at-t3.json +19 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/21-t4-single-approver.json +13 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/22-t4-requester-self-approval.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/23-cross-tenant-target.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/24-bulk-jql-write.json +9 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/25-bulk-wildcard-write.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/26-circular-delegation.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/27-delegation-depth-exceeded.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/28-chain-does-not-end-at-origin.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/29-fabricated-completion.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/30-stale-proposal-not-expired.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/31-agent-as-decision-owner.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/32-credential-in-context.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/33-instructions-labeled-trusted.json +9 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/34-unknown-field-token.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/35-unbounded-budget.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/36-empty-do-not-do.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/37-dual-requester-whitespace-is-schema.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/38-dual-same-human-by-case.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/39-dual-requester-by-case.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/40-agent-id-labelled-human-approver.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/41-service-account-requests-write.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/42-comment-relabelled-user-supplied.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/43-approval-locator-is-comment-case-variant.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/44-approval-locator-is-tenant-url.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/45-approval-locator-typed-but-comment.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/46-bare-jql-write-target.json +9 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/47-filter-write-target.json +9 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/48-range-write-target.json +9 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/49-t4-capsule-to-analysis-agent.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/50-non-board-origin.json +11 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/51-impossible-calendar-expiry.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/52-unbounded-approval-lifetime.json +9 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/53-t4-approval-over-8h.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/54-completion-readback-wrong-target.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/55-completion-readback-by-write-tool.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/56-completion-readback-before-approval.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/57-bearer-token-value.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/59-secret-colon-form.json +10 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/60-opaque-execute-read.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/61-cross-tenant-url-in-target.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/62-decision-owner-agent-uppercase.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/63-decision-owner-agent-without-suffix.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/64-budget-tool-calls-exceeded.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/65-budget-review-rounds-exceeded.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/66-approved-but-proposed-pending-elsewhere.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/67-approval-locator-is-a-page.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/68-approval-locator-is-plain-url.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/69-approval-locator-free-text.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/69-return-to-non-delegator.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/70-delegate-back-into-chain.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/71-completed-readback-after-expiry.json +10 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/72-edit-whole-project.json +9 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/73-archive-whole-space.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/74-lookalike-tenant-host.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/75-foreign-url-host.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/76-password-with-value.json +10 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/77-readback-by-discover.json +9 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/78-readback-by-other-product-tool.json +9 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/79-readback-verifies-unknown-write.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/80-completed-mixed-before-after-expiry.json +9 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/81-completed-read-only-with-stray-readback.json +16 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/82-two-creates-one-readback.json +20 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/83-duplicate-op-id.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/84-userinfo-host-spoof.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/85-userinfo-on-real-site.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/86-bare-lookalike-host.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/87-agent-id-labelled-human-requester.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/88-create-readback-other-project.json +9 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/89-create-readback-wrong-type.json +10 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/90-bare-foreign-host.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/invalid/91-foreign-url-inside-jql.json +8 -0
- package/tests/fixtures/atlassian-case-capsule/valid/01-t1-read-incident-review.json +114 -0
- package/tests/fixtures/atlassian-case-capsule/valid/02-t3-create-remediation.json +122 -0
- package/tests/fixtures/atlassian-case-capsule/valid/03-t4-archive-superseded-runbook.json +97 -0
- package/tests/fixtures/atlassian-case-capsule/valid/04-t3-completed-with-readback.json +149 -0
- package/tests/fixtures/atlassian-case-capsule/valid/05-t1-injection-flagged-as-untrusted.json +123 -0
- package/tests/fixtures/atlassian-case-capsule/valid/06-t3-proposed-awaiting-approval.json +114 -0
- package/tests/fixtures/atlassian-case-capsule/valid/07-t3-no-go-rejected-record.json +114 -0
- package/tests/fixtures/atlassian-case-capsule/valid/08-t3-expired-record.json +122 -0
- package/tests/fixtures/atlassian-case-capsule/valid/09-t3-completed-return-to-delegator.json +150 -0
- package/tests/fixtures/atlassian-case-capsule/valid/10-t3-safety-prose-and-atlassian-named-owner.json +123 -0
- package/tests/fixtures/atlassian-case-capsule/valid/11-t1-completed-read-only-review.json +115 -0
- package/tests/fixtures/atlassian-case-capsule/valid/12-t1-query-with-dotted-literals.json +114 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/01-happy-incident-prevention.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/02-happy-control-evidence.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/03-happy-knowledge-integrity.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/04-happy-adr-superseded.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/05-happy-ai-cost.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/06-cross-incident-knowledge.json +7 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/07-cross-audit-incident.json +7 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/08-gate-create-and-publish.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/09-adv-injection-in-comment.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/10-adv-prohibited-approval.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/11-adv-bulk-delete.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/12-adv-restriction-change.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/13-ambiguous-help.json +4 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/14-unsupported-delivery-bottleneck.json +4 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/15-direct-authoring-no-specialist.json +4 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/16-draft-only-must-not-gate.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/17-adv-restriction-change-no-product-word.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/18-adv-permission-grant.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/19-adv-alert-acknowledge.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/20-adv-purge-without-product-word.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/21-adv-space-ai-instructions.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/22-adv-injection-by-issue-key.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/23-negated-write-does-not-gate.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/24-noun-change-request-not-a-write.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/25-comment-on-whether-not-a-write.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/expected/26-requested-update-gates.json +6 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/01-happy-incident-prevention.json +7 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/02-happy-control-evidence.json +7 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/03-happy-knowledge-integrity.json +7 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/04-happy-adr-superseded.json +7 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/05-happy-ai-cost.json +8 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/06-cross-incident-knowledge.json +7 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/07-cross-audit-incident.json +7 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/08-gate-create-and-publish.json +7 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/09-adv-injection-in-comment.json +8 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/10-adv-prohibited-approval.json +8 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/11-adv-bulk-delete.json +8 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/12-adv-restriction-change.json +8 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/13-ambiguous-help.json +7 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/14-unsupported-delivery-bottleneck.json +7 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/15-direct-authoring-no-specialist.json +7 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/16-draft-only-must-not-gate.json +7 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/17-adv-restriction-change-no-product-word.json +8 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/18-adv-permission-grant.json +8 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/19-adv-alert-acknowledge.json +8 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/20-adv-purge-without-product-word.json +8 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/21-adv-space-ai-instructions.json +8 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/22-adv-injection-by-issue-key.json +8 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/23-negated-write-does-not-gate.json +7 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/24-noun-change-request-not-a-write.json +8 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/25-comment-on-whether-not-a-write.json +8 -0
- package/tests/fixtures/atlassian-maestro-routing/inputs/26-requested-update-gates.json +7 -0
- package/tests/fixtures/atlassian-maestro-routing/taxonomy.json +68 -0
- package/tests/fixtures/aws-maestro-routing/expected/042-happy-dynamodb-patterns.json +6 -0
- package/tests/fixtures/aws-maestro-routing/expected/043-happy-dynamodb-vector-index.json +6 -0
- package/tests/fixtures/aws-maestro-routing/inputs/042-happy-dynamodb-patterns.json +7 -0
- package/tests/fixtures/aws-maestro-routing/inputs/043-happy-dynamodb-vector-index.json +7 -0
- package/tests/fixtures/aws-maestro-routing/taxonomy.json +15 -1
- package/tests/fixtures/azure-maestro-routing/expected/028-happy-cosmosdb-pattern-feature-plan.json +6 -0
- package/tests/fixtures/azure-maestro-routing/expected/029-happy-cosmosdb-pattern-refactor.json +6 -0
- package/tests/fixtures/azure-maestro-routing/expected/adv-cosmos-hot-partition-not-key-vault.json +6 -0
- package/tests/fixtures/azure-maestro-routing/expected/adv-cosmos-partition-key-not-key-vault.json +6 -0
- package/tests/fixtures/azure-maestro-routing/expected/adv-cosmos-throttling-investigation.json +6 -0
- package/tests/fixtures/azure-maestro-routing/inputs/028-happy-cosmosdb-pattern-feature-plan.json +7 -0
- package/tests/fixtures/azure-maestro-routing/inputs/029-happy-cosmosdb-pattern-refactor.json +7 -0
- package/tests/fixtures/azure-maestro-routing/inputs/adv-cosmos-hot-partition-not-key-vault.json +7 -0
- package/tests/fixtures/azure-maestro-routing/inputs/adv-cosmos-partition-key-not-key-vault.json +7 -0
- package/tests/fixtures/azure-maestro-routing/inputs/adv-cosmos-throttling-investigation.json +7 -0
- package/tests/fixtures/azure-maestro-routing/taxonomy.json +21 -2
- package/tests/fixtures/gcp-maestro-routing/expected/049-happy-bigtable-row-key.json +6 -0
- package/tests/fixtures/gcp-maestro-routing/expected/adv-bigtable-not-firestore.json +8 -0
- package/tests/fixtures/gcp-maestro-routing/inputs/049-happy-bigtable-row-key.json +7 -0
- package/tests/fixtures/gcp-maestro-routing/inputs/adv-bigtable-not-firestore.json +7 -0
- package/tests/fixtures/gcp-maestro-routing/taxonomy.json +15 -0
- package/tests/fixtures/huawei-maestro-routing/expected/050-happy-geminidb-cassandra-partition.json +6 -0
- package/tests/fixtures/huawei-maestro-routing/expected/adv-geminidb-mongo-routes-dds.json +7 -0
- package/tests/fixtures/huawei-maestro-routing/inputs/050-happy-geminidb-cassandra-partition.json +7 -0
- package/tests/fixtures/huawei-maestro-routing/inputs/adv-geminidb-mongo-routes-dds.json +7 -0
- package/tests/fixtures/huawei-maestro-routing/taxonomy.json +15 -0
- package/tests/fixtures/nosql-scenarios/scenarios.json +472 -0
- package/tests/fixtures/oci-maestro-routing/expected/031-happy-nosql-database-architect.json +6 -0
- package/tests/fixtures/oci-maestro-routing/expected/032-happy-nosql-global-active-table.json +6 -0
- package/tests/fixtures/oci-maestro-routing/expected/033-happy-nosql-pattern-recovery.json +6 -0
- package/tests/fixtures/oci-maestro-routing/expected/034-happy-nosql-pattern-refactor.json +6 -0
- package/tests/fixtures/oci-maestro-routing/expected/adv-nosql-live-mutation.json +6 -0
- package/tests/fixtures/oci-maestro-routing/expected/adv-nosql-not-autonomous.json +7 -0
- package/tests/fixtures/oci-maestro-routing/inputs/031-happy-nosql-database-architect.json +7 -0
- package/tests/fixtures/oci-maestro-routing/inputs/032-happy-nosql-global-active-table.json +7 -0
- package/tests/fixtures/oci-maestro-routing/inputs/033-happy-nosql-pattern-recovery.json +7 -0
- package/tests/fixtures/oci-maestro-routing/inputs/034-happy-nosql-pattern-refactor.json +7 -0
- package/tests/fixtures/oci-maestro-routing/inputs/adv-nosql-live-mutation.json +7 -0
- package/tests/fixtures/oci-maestro-routing/inputs/adv-nosql-not-autonomous.json +7 -0
- package/tests/fixtures/oci-maestro-routing/taxonomy.json +27 -0
- package/tests/requirements-ci.txt +8 -0
- package/tests/validate-atlassian-case-capsule.py +24 -0
- package/tests/validate-aws-skill-quality.py +7 -0
- package/tests/validate-catalog.py +1 -0
- package/tests/validate-nosql-audit.py +741 -0
- package/tests/validate-nosql-operations.py +136 -0
- package/tests/validate-nosql-pattern-evals.py +96 -0
- package/tests/validate-nosql-scenarios.py +94 -0
- package/tests/validate-skill-manifest.py +6 -1
- package/tests/validate-skill-references.py +229 -0
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Offline command routing checks; never audit AWS or run a load test."""
|
|
3
|
+
import ast
|
|
4
|
+
import importlib.util
|
|
5
|
+
import json
|
|
6
|
+
from pathlib import Path
|
|
7
|
+
import subprocess
|
|
8
|
+
import sys
|
|
9
|
+
import unittest
|
|
10
|
+
from unittest.mock import patch
|
|
11
|
+
|
|
12
|
+
sys.dont_write_bytecode = True
|
|
13
|
+
ROOT = Path(__file__).resolve().parents[1]
|
|
14
|
+
SCRIPT = ROOT / "scripts/select_mode.py"
|
|
15
|
+
spec = importlib.util.spec_from_file_location("modes", SCRIPT)
|
|
16
|
+
modes = importlib.util.module_from_spec(spec)
|
|
17
|
+
spec.loader.exec_module(modes)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def cli(*args):
|
|
21
|
+
return subprocess.run([sys.executable, str(SCRIPT), *args], text=True,
|
|
22
|
+
capture_output=True, timeout=5)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class ModeTests(unittest.TestCase):
|
|
26
|
+
def test_real_help_and_json_command_inventory(self):
|
|
27
|
+
result = cli("--help")
|
|
28
|
+
self.assertEqual(result.returncode, 0, result.stderr)
|
|
29
|
+
self.assertIn("performance-test", result.stdout)
|
|
30
|
+
result = cli("help")
|
|
31
|
+
self.assertEqual(result.returncode, 0, result.stderr)
|
|
32
|
+
data = json.loads(result.stdout)
|
|
33
|
+
self.assertEqual(data["execution"], "none")
|
|
34
|
+
self.assertEqual(data["commands"], ["select", "design", "refactor", "backup", "restore", "audit", "performance-test", "feature-plan"])
|
|
35
|
+
|
|
36
|
+
def test_select_is_scoped_deduplicated_and_stateless(self):
|
|
37
|
+
plan = modes.build_plan(["select", "--features", "encryption,iam,encryption"])
|
|
38
|
+
self.assertEqual(plan["selected_features"], ["encryption", "iam"])
|
|
39
|
+
self.assertEqual(plan["read"], ["references/commands/select.md", "references/encryption.md", "references/iam-and-access.md"])
|
|
40
|
+
self.assertEqual(modes.build_plan(["select"])["selected_features"], ["core"])
|
|
41
|
+
self.assertEqual(plan["execution"], "none")
|
|
42
|
+
|
|
43
|
+
def test_audit_defaults_to_repo_and_never_claims_findings(self):
|
|
44
|
+
plan = modes.build_plan(["audit", "--features", "iam,tags"])
|
|
45
|
+
self.assertEqual(plan["evidence"], "repo")
|
|
46
|
+
self.assertEqual(plan["read"], ["references/commands/audit.md", "references/commands/audit/offline.md", "references/iam-and-access.md"])
|
|
47
|
+
self.assertNotIn("findings", plan)
|
|
48
|
+
live = modes.build_plan(["audit", "--evidence", "live-metadata"])
|
|
49
|
+
self.assertEqual(live["execution"], "none")
|
|
50
|
+
self.assertTrue(live["live_read_approval_required"])
|
|
51
|
+
|
|
52
|
+
def test_performance_produces_bounded_plan_not_measurements(self):
|
|
53
|
+
plan = modes.build_plan(["performance-test", "--features", "vectors",
|
|
54
|
+
"--environment", "nonproduction", "--duration-seconds", "45",
|
|
55
|
+
"--max-requests", "500", "--max-concurrency", "3"])
|
|
56
|
+
self.assertEqual(plan["limits"], {"duration_seconds": 45, "max_requests": 500,
|
|
57
|
+
"max_concurrency": 3})
|
|
58
|
+
self.assertEqual(plan["read"], ["references/commands/performance-test.md", "references/data-types-and-vectors.md"])
|
|
59
|
+
self.assertTrue(plan["run_approval_required"])
|
|
60
|
+
self.assertEqual(plan["execution"], "none")
|
|
61
|
+
self.assertNotIn("latency", plan)
|
|
62
|
+
|
|
63
|
+
def test_feature_plan_is_not_activation_and_rejects_incompatible_actions(self):
|
|
64
|
+
plan = modes.build_plan(["feature-plan", "--features", "pitr,streams", "--action", "enable"])
|
|
65
|
+
self.assertEqual(plan["action"], "enable")
|
|
66
|
+
self.assertEqual(plan["execution"], "none")
|
|
67
|
+
self.assertTrue(plan["change_approval_required"])
|
|
68
|
+
self.assertIn("references/commands/feature-plan.md", plan["read"])
|
|
69
|
+
self.assertEqual(modes.build_plan(["feature-plan", "--features", "encryption",
|
|
70
|
+
"--action", "configure"])["action"], "configure")
|
|
71
|
+
for args in [["feature-plan", "--features", "encryption", "--action", "disable"],
|
|
72
|
+
["feature-plan", "--features", "core", "--action", "enable"],
|
|
73
|
+
["feature-plan", "--features", "pitr,encryption", "--action", "enable"]]:
|
|
74
|
+
self.assertEqual(cli(*args).returncode, 2)
|
|
75
|
+
|
|
76
|
+
def test_invalid_modes_features_and_unbounded_inputs_fail_closed(self):
|
|
77
|
+
for args in [["execute"], ["select", "--features", "unknown"],
|
|
78
|
+
["select", "--features", "pitr,,streams"],
|
|
79
|
+
["performance-test", "--environment", "production"],
|
|
80
|
+
["performance-test", "--max-requests", "0"],
|
|
81
|
+
["performance-test", "--duration-seconds", "-1"],
|
|
82
|
+
["performance-test", "--max-concurrency", "infinite"],
|
|
83
|
+
["audit", "--execute"], ["feature-plan", "--action", "enable"]]:
|
|
84
|
+
with self.subTest(args=args):
|
|
85
|
+
result = cli(*args)
|
|
86
|
+
self.assertEqual(result.returncode, 2)
|
|
87
|
+
self.assertFalse(result.stdout)
|
|
88
|
+
|
|
89
|
+
def test_router_does_not_open_references_write_or_run_external_work(self):
|
|
90
|
+
with patch("builtins.open", side_effect=AssertionError("No file reads/writes")), \
|
|
91
|
+
patch.object(Path, "read_text", side_effect=AssertionError("No eager loading")), \
|
|
92
|
+
patch("subprocess.run", side_effect=AssertionError("No subprocess")):
|
|
93
|
+
plan = modes.build_plan(["audit", "--features", "vectors,encryption"])
|
|
94
|
+
self.assertEqual(plan["execution"], "none")
|
|
95
|
+
imports = {node.names[0].name for node in ast.walk(ast.parse(SCRIPT.read_text()))
|
|
96
|
+
if isinstance(node, ast.Import)}
|
|
97
|
+
self.assertEqual(imports, {"argparse", "json", "sys"})
|
|
98
|
+
|
|
99
|
+
def test_every_feature_routes_to_existing_lazy_resources(self):
|
|
100
|
+
for feature in modes.FEATURES:
|
|
101
|
+
plan = modes.build_plan(["select", "--features", feature])
|
|
102
|
+
for relative in plan["read"]:
|
|
103
|
+
self.assertTrue(relative.startswith("references/"))
|
|
104
|
+
self.assertTrue((ROOT / relative).is_file(), relative)
|
|
105
|
+
entry = (ROOT / "SKILL.md").read_text()
|
|
106
|
+
self.assertIn("references/commands/audit.md", entry)
|
|
107
|
+
self.assertIn("Do not recursively load", entry)
|
|
108
|
+
self.assertNotIn("SuccessfulRequestLatency", entry)
|
|
109
|
+
|
|
110
|
+
def test_slash_invocation_matches_real_cli_and_bare_prefix_shows_help(self):
|
|
111
|
+
args = ["audit", "--mode", "live", "--features", "iam"]
|
|
112
|
+
self.assertEqual(modes.build_plan(["/aws-dynamodb-patterns", *args]), modes.build_plan(args))
|
|
113
|
+
result = cli("/aws-dynamodb-patterns", *args)
|
|
114
|
+
self.assertEqual(result.returncode, 0, result.stderr)
|
|
115
|
+
self.assertEqual(json.loads(result.stdout)["audit_mode"], "live")
|
|
116
|
+
self.assertEqual(modes.build_plan(["/aws-dynamodb-patterns"])["read"], ["references/commands/help.md"])
|
|
117
|
+
|
|
118
|
+
def test_offline_and_live_routes_are_mutually_exclusive_and_legacy_flags_work(self):
|
|
119
|
+
for mode, legacy in [("offline", "repo"), ("live", "live-metadata")]:
|
|
120
|
+
with self.subTest(mode=mode):
|
|
121
|
+
plan = modes.build_plan(["audit", "--mode", mode, "--features", "encryption"])
|
|
122
|
+
self.assertEqual(plan, modes.build_plan(["audit", "--evidence", legacy, "--features", "encryption"]))
|
|
123
|
+
self.assertIn(f"references/commands/audit/{mode}.md", plan["read"])
|
|
124
|
+
other = "live" if mode == "offline" else "offline"
|
|
125
|
+
self.assertNotIn(f"references/commands/audit/{other}.md", plan["read"])
|
|
126
|
+
self.assertEqual(plan["live_read_approval_required"], mode == "live")
|
|
127
|
+
self.assertEqual(modes.build_plan(["audit"])["audit_mode"], "offline")
|
|
128
|
+
|
|
129
|
+
def test_conflicting_audit_flags_and_wrong_prefix_fail_closed(self):
|
|
130
|
+
for args in [["audit", "--mode", "live", "--evidence", "repo"],
|
|
131
|
+
["audit", "--mode", "automatic"], ["/other-skill", "audit"]]:
|
|
132
|
+
result = cli(*args)
|
|
133
|
+
self.assertEqual(result.returncode, 2)
|
|
134
|
+
self.assertFalse(result.stdout)
|
|
135
|
+
|
|
136
|
+
def test_commands_are_separate_files_not_a_flat_or_combined_workflow(self):
|
|
137
|
+
folder = ROOT / "references/commands"
|
|
138
|
+
for name in ["README", "help", "select", "audit", "performance-test", "feature-plan", "aws-cli", "embedding"]:
|
|
139
|
+
self.assertTrue((folder / f"{name}.md").is_file(), name)
|
|
140
|
+
for name in ["modes", "audit", "performance-testing", "feature-plans", "commands", "embedding-commands"]:
|
|
141
|
+
self.assertFalse((ROOT / "references" / f"{name}.md").exists(), name)
|
|
142
|
+
self.assertLess(len((folder / "README.md").read_text().splitlines()), 50)
|
|
143
|
+
|
|
144
|
+
def test_design_and_refactor_have_separate_lazy_routes_and_core_defaults(self):
|
|
145
|
+
for command in ["design", "refactor"]:
|
|
146
|
+
with self.subTest(command=command):
|
|
147
|
+
expected = [f"references/commands/{command}.md", "references/modeling.md", "references/runtime-contract.md"]
|
|
148
|
+
plan = modes.build_plan([command])
|
|
149
|
+
self.assertEqual(plan["read"], expected)
|
|
150
|
+
self.assertEqual(plan["selected_features"], ["core"])
|
|
151
|
+
self.assertEqual(plan["execution"], "none")
|
|
152
|
+
result = cli("/aws-dynamodb-patterns", command, "--features", "indexes,encryption")
|
|
153
|
+
self.assertEqual(result.returncode, 0, result.stderr)
|
|
154
|
+
routed = json.loads(result.stdout)
|
|
155
|
+
self.assertEqual(routed["read"], [f"references/commands/{command}.md",
|
|
156
|
+
"references/lsi-vs-gsi.md", "references/encryption.md"])
|
|
157
|
+
self.assertNotIn("references/workflow.md", routed["read"])
|
|
158
|
+
for flag in ["--execute", "--apply", "--mode"]:
|
|
159
|
+
self.assertEqual(cli(command, flag).returncode, 2)
|
|
160
|
+
|
|
161
|
+
def test_design_and_refactor_are_documented_and_do_not_alias_activation(self):
|
|
162
|
+
entry = (ROOT / "SKILL.md").read_text()
|
|
163
|
+
readme = (ROOT / "README.md").read_text()
|
|
164
|
+
help_doc = (ROOT / "references/commands/help.md").read_text()
|
|
165
|
+
for command in ["design", "refactor"]:
|
|
166
|
+
self.assertIn(f"references/commands/{command}.md", entry)
|
|
167
|
+
self.assertIn(f"/aws-dynamodb-patterns {command} --features", readme)
|
|
168
|
+
self.assertIn(command, help_doc)
|
|
169
|
+
self.assertTrue((ROOT / f"references/commands/{command}.md").is_file())
|
|
170
|
+
|
|
171
|
+
def test_backup_restore_default_to_pitr_and_support_explicit_on_demand(self):
|
|
172
|
+
for command in ["backup", "restore"]:
|
|
173
|
+
with self.subTest(command=command):
|
|
174
|
+
plan = modes.build_plan([command])
|
|
175
|
+
self.assertEqual(plan["method"], "pitr")
|
|
176
|
+
self.assertEqual(plan["selected_features"], ["pitr"])
|
|
177
|
+
self.assertEqual(plan["read"], [f"references/commands/{command}.md",
|
|
178
|
+
"references/commands/recovery-target.md",
|
|
179
|
+
f"references/commands/{command}/pitr.md"])
|
|
180
|
+
self.assertTrue(plan["change_approval_required"])
|
|
181
|
+
self.assertEqual(plan["execution"], "none")
|
|
182
|
+
result = cli("/aws-dynamodb-patterns", command, "--method", "on-demand")
|
|
183
|
+
self.assertEqual(result.returncode, 0, result.stderr)
|
|
184
|
+
self.assertEqual(json.loads(result.stdout)["method"], "on-demand")
|
|
185
|
+
self.assertNotIn(f"references/commands/{command}/pitr.md", json.loads(result.stdout)["read"])
|
|
186
|
+
self.assertNotIn("references/recovery-and-replicas.md", json.loads(result.stdout)["read"])
|
|
187
|
+
self.assertNotIn("references/recovery-and-replicas.md", plan["read"])
|
|
188
|
+
for flags in [["--execute"], ["--method", "unknown"]]:
|
|
189
|
+
self.assertEqual(cli(command, *flags).returncode, 2)
|
|
190
|
+
self.assertEqual(modes.build_plan(["restore"])["target_policy"], "new-table-only")
|
|
191
|
+
self.assertIn("references/recovery-and-replicas.md", modes.build_plan(["select", "--features", "pitr"])["read"])
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
if __name__ == "__main__":
|
|
195
|
+
unittest.main(verbosity=2)
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Offline tests for domain command argv and the shipped illustrative policies.
|
|
3
|
+
|
|
4
|
+
The policy checker encodes this package's narrow example contracts, NOT arbitrary
|
|
5
|
+
IAM evaluation. Passing it is not Access Analyzer, simulation or runtime proof.
|
|
6
|
+
Fake CLI execution never uses the real AWS binary, credentials or network.
|
|
7
|
+
"""
|
|
8
|
+
import copy
|
|
9
|
+
import json
|
|
10
|
+
import os
|
|
11
|
+
from pathlib import Path
|
|
12
|
+
import re
|
|
13
|
+
import subprocess
|
|
14
|
+
import tempfile
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
ROOT = Path(__file__).resolve().parents[1]
|
|
18
|
+
DOCS = ["iam-and-access.md", "streams-and-dax.md", "recovery-and-replicas.md", "monitoring.md"]
|
|
19
|
+
TABLE = "arn:aws:dynamodb:us-east-1:111122223333:table/Orders"
|
|
20
|
+
INDEX = TABLE + "/index/GSI1"
|
|
21
|
+
STREAM = TABLE + "/stream/2026-11-08T00:00:00.000"
|
|
22
|
+
PRINCIPAL = "arn:aws:iam::444455556666:role/DynamoReader"
|
|
23
|
+
SERVICES = {"sts", "iam", "accessanalyzer", "dynamodb", "dynamodbstreams", "dax", "lambda", "cloudwatch"}
|
|
24
|
+
FAKE = '''#!/usr/bin/env python3
|
|
25
|
+
import json,os,sys
|
|
26
|
+
with open(os.environ["CALL_LOG"],"a") as f: f.write(json.dumps(sys.argv[1:])+"\\n")
|
|
27
|
+
if "Table.GlobalSecondaryIndexes" in sys.argv:
|
|
28
|
+
print(os.environ.get("FAKE_INDEXES",'[{"IndexName":"OrdersByStatus","IndexStatus":"ACTIVE"}]'))
|
|
29
|
+
else: print("{}")
|
|
30
|
+
'''
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def blocks(name):
|
|
34
|
+
return re.findall(r"```bash\n(.*?)\n```", (ROOT / "references" / name).read_text(), re.S)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def flag(args, key):
|
|
38
|
+
return args[args.index(key) + 1]
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def values(args, key):
|
|
42
|
+
result = []
|
|
43
|
+
for value in args[args.index(key) + 1:]:
|
|
44
|
+
if value.startswith("--"):
|
|
45
|
+
break
|
|
46
|
+
result.append(value)
|
|
47
|
+
return result
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def operation(args):
|
|
51
|
+
service = next(value for value in args if value in SERVICES)
|
|
52
|
+
return service, args[args.index(service) + 1]
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def run_doc(name, missing=None, overrides=None):
|
|
56
|
+
with tempfile.TemporaryDirectory(prefix="ddb-operations-") as directory:
|
|
57
|
+
root = Path(directory)
|
|
58
|
+
(root / "aws").write_text(FAKE)
|
|
59
|
+
(root / "aws").chmod(0o700)
|
|
60
|
+
(root / "assets").symlink_to(ROOT / "assets", target_is_directory=True)
|
|
61
|
+
env = {
|
|
62
|
+
"PATH": f"{root}:{os.environ['PATH']}", "AWS_PROFILE": "offline-only",
|
|
63
|
+
"AWS_REGION": "us-east-1", "TABLE_NAME": "Orders", "TABLE_ARN": TABLE,
|
|
64
|
+
"STREAM_ARN": STREAM, "SHARD_ID": "shardId-offline", "SHARD_ITERATOR": "offline-iterator",
|
|
65
|
+
"FUNCTION_NAME": "offline-consumer", "DAX_CLUSTER_NAME": "offline-dax",
|
|
66
|
+
"DAX_NODE_TYPE": "dax.r5.large", "DAX_SUBNET_GROUP": "offline-subnets",
|
|
67
|
+
"DAX_SECURITY_GROUP_ID": "sg-00000000", "DAX_ROLE_ARN": "arn:aws:iam::111122223333:role/DaxService",
|
|
68
|
+
"RESTORE_TABLE_NAME": "OrdersRecovered", "REPLICA_REGION": "eu-west-1",
|
|
69
|
+
"IDENTITY_POLICY_FILE": "assets/table-index-read-policy.json",
|
|
70
|
+
"RESOURCE_POLICY_FILE": "assets/table-resource-policy.json", "EXPECTED_REVISION_ID": "observed-r1",
|
|
71
|
+
"METRIC_START_UTC": "2026-11-08T00:00:00Z", "METRIC_END_UTC": "2026-11-08T01:00:00Z",
|
|
72
|
+
"ALARM_NAME": "offline-gsi-throttles", "SNS_TOPIC_ARN": "arn:aws:sns:us-east-1:111122223333:OfflineAlerts",
|
|
73
|
+
"GSI_NAME": "OrdersByStatus",
|
|
74
|
+
"CALL_LOG": str(root / "calls.jsonl"),
|
|
75
|
+
}
|
|
76
|
+
env.update(overrides or {})
|
|
77
|
+
if missing:
|
|
78
|
+
env.pop(missing)
|
|
79
|
+
result = subprocess.run(["bash", "-c", "\n".join(blocks(name))],
|
|
80
|
+
cwd=root, env=env, text=True, capture_output=True, timeout=20)
|
|
81
|
+
log = root / "calls.jsonl"
|
|
82
|
+
calls = [json.loads(line) for line in log.read_text().splitlines()] if log.exists() else []
|
|
83
|
+
return result, calls
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
def as_list(value):
|
|
87
|
+
return value if isinstance(value, list) else [value]
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def check_policy(policy, kind):
|
|
91
|
+
"""The three deliberately read-only example shapes, not a general IAM validator."""
|
|
92
|
+
assert policy["Version"] == "2012-10-17"
|
|
93
|
+
found_index = False
|
|
94
|
+
for statement in policy["Statement"]:
|
|
95
|
+
assert statement["Effect"] == "Allow"
|
|
96
|
+
actions = set(as_list(statement["Action"]))
|
|
97
|
+
resources = set(as_list(statement["Resource"]))
|
|
98
|
+
assert all("*" not in a for a in actions)
|
|
99
|
+
assert all("*" not in r for r in resources)
|
|
100
|
+
if kind == "stream":
|
|
101
|
+
assert actions <= {"dynamodb:DescribeStream", "dynamodb:GetShardIterator", "dynamodb:GetRecords"}
|
|
102
|
+
assert resources == {STREAM}
|
|
103
|
+
assert "Principal" not in statement
|
|
104
|
+
else:
|
|
105
|
+
assert actions <= {"dynamodb:GetItem", "dynamodb:BatchGetItem", "dynamodb:Query"}
|
|
106
|
+
assert resources <= {TABLE, INDEX} and resources
|
|
107
|
+
if INDEX in resources:
|
|
108
|
+
assert actions == {"dynamodb:Query"} and TABLE in resources
|
|
109
|
+
found_index = True
|
|
110
|
+
if kind == "resource":
|
|
111
|
+
assert statement["Principal"] == {"AWS": PRINCIPAL}
|
|
112
|
+
assert "dynamodb:BatchGetItem" not in actions
|
|
113
|
+
else:
|
|
114
|
+
assert "Principal" not in statement
|
|
115
|
+
assert actions
|
|
116
|
+
if kind != "stream":
|
|
117
|
+
assert found_index, "The shipped example promises Query on the named index"
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
class OperationsTests(unittest.TestCase):
|
|
121
|
+
@classmethod
|
|
122
|
+
def setUpClass(cls):
|
|
123
|
+
cls.runs = {name: run_doc(name) for name in DOCS}
|
|
124
|
+
|
|
125
|
+
def test_domain_snippets_syntax_and_explicit_targets(self):
|
|
126
|
+
for name, (result, calls) in self.runs.items():
|
|
127
|
+
with self.subTest(document=name):
|
|
128
|
+
syntax = subprocess.run(["bash", "-n"], input="\n".join(blocks(name)),
|
|
129
|
+
text=True, capture_output=True)
|
|
130
|
+
self.assertEqual(syntax.returncode, 0, syntax.stderr)
|
|
131
|
+
self.assertEqual(result.returncode, 0, result.stderr)
|
|
132
|
+
self.assertTrue(calls)
|
|
133
|
+
for args in calls:
|
|
134
|
+
self.assertEqual(flag(args, "--profile"), "offline-only")
|
|
135
|
+
self.assertIn(flag(args, "--region"), {"us-east-1", "eu-west-1"})
|
|
136
|
+
self.assertIn("--no-cli-pager", args)
|
|
137
|
+
self.assertNotIn("--no-verify-ssl", args)
|
|
138
|
+
self.assertNotIn("--confirm-remove-self-resource-access", args)
|
|
139
|
+
|
|
140
|
+
def test_missing_core_target_fails_before_service_call(self):
|
|
141
|
+
for name in DOCS:
|
|
142
|
+
for variable in ("AWS_PROFILE", "AWS_REGION", "TABLE_NAME"):
|
|
143
|
+
with self.subTest(document=name, missing=variable):
|
|
144
|
+
result, calls = run_doc(name, missing=variable)
|
|
145
|
+
self.assertNotEqual(result.returncode, 0)
|
|
146
|
+
self.assertEqual(calls, [])
|
|
147
|
+
|
|
148
|
+
def test_iam_tags_and_resource_policy_group_arguments(self):
|
|
149
|
+
calls = self.runs["iam-and-access.md"][1]
|
|
150
|
+
actions = {operation(args) for args in calls}
|
|
151
|
+
self.assertIn(("accessanalyzer", "validate-policy"), actions)
|
|
152
|
+
self.assertIn(("iam", "simulate-custom-policy"), actions)
|
|
153
|
+
tagged = set()
|
|
154
|
+
for args in calls:
|
|
155
|
+
service, action = operation(args)
|
|
156
|
+
if action in {"tag-resource", "untag-resource", "list-tags-of-resource"}:
|
|
157
|
+
self.assertIn(flag(args, "--resource-arn"), {TABLE, STREAM})
|
|
158
|
+
if action == "tag-resource":
|
|
159
|
+
tagged.add(flag(args, "--resource-arn"))
|
|
160
|
+
if action == "put-resource-policy":
|
|
161
|
+
self.assertEqual(flag(args, "--resource-arn"), TABLE)
|
|
162
|
+
self.assertEqual(flag(args, "--expected-revision-id"), "observed-r1")
|
|
163
|
+
self.assertEqual(flag(args, "--policy"), "file://assets/table-resource-policy.json")
|
|
164
|
+
if service == "iam":
|
|
165
|
+
json.loads(flag(args, "--policy-input-list"))
|
|
166
|
+
self.assertEqual(set(values(args, "--resource-arns")), {TABLE, INDEX})
|
|
167
|
+
self.assertEqual(tagged, {TABLE, STREAM})
|
|
168
|
+
|
|
169
|
+
def test_stream_and_dax_groups_preserve_distinct_protocol_and_role(self):
|
|
170
|
+
calls = self.runs["streams-and-dax.md"][1]
|
|
171
|
+
for args in calls:
|
|
172
|
+
service, action = operation(args)
|
|
173
|
+
if service == "dynamodbstreams" and action != "get-records":
|
|
174
|
+
self.assertEqual(flag(args, "--stream-arn"), STREAM)
|
|
175
|
+
if action == "get-shard-iterator":
|
|
176
|
+
self.assertEqual(flag(args, "--shard-iterator-type"), "TRIM_HORIZON")
|
|
177
|
+
if action == "get-records":
|
|
178
|
+
self.assertEqual(flag(args, "--limit"), "25")
|
|
179
|
+
if service == "dax" and action == "create-cluster":
|
|
180
|
+
self.assertEqual(flag(args, "--replication-factor"), "3")
|
|
181
|
+
self.assertEqual(flag(args, "--cluster-endpoint-encryption-type"), "TLS")
|
|
182
|
+
self.assertEqual(flag(args, "--sse-specification"), "Enabled=true")
|
|
183
|
+
self.assertIn("--iam-role-arn", args)
|
|
184
|
+
self.assertIn("--security-group-ids", args)
|
|
185
|
+
self.assertIn(("lambda", "list-event-source-mappings"), {operation(a) for a in calls})
|
|
186
|
+
|
|
187
|
+
def test_pitr_and_replica_requests_have_safe_targets(self):
|
|
188
|
+
calls = self.runs["recovery-and-replicas.md"][1]
|
|
189
|
+
actions = {operation(a)[1] for a in calls}
|
|
190
|
+
self.assertNotIn("create-global-table", actions)
|
|
191
|
+
self.assertNotIn("update-global-table", actions)
|
|
192
|
+
for args in calls:
|
|
193
|
+
action = operation(args)[1]
|
|
194
|
+
if action == "restore-table-to-point-in-time":
|
|
195
|
+
self.assertNotEqual(flag(args, "--source-table-name"), flag(args, "--target-table-name"))
|
|
196
|
+
self.assertIn("--use-latest-restorable-time", args)
|
|
197
|
+
self.assertNotIn("--restore-date-time", args)
|
|
198
|
+
if action == "update-table":
|
|
199
|
+
self.assertEqual(flag(args, "--region"), "us-east-1")
|
|
200
|
+
self.assertEqual(json.loads(flag(args, "--replica-updates")),
|
|
201
|
+
[{"Create": {"RegionName": "eu-west-1"}}])
|
|
202
|
+
self.assertTrue(any(flag(a, "--region") == "eu-west-1" for a in calls))
|
|
203
|
+
|
|
204
|
+
def test_unsafe_restore_or_replica_target_is_rejected(self):
|
|
205
|
+
result, calls = run_doc("recovery-and-replicas.md", overrides={"RESTORE_TABLE_NAME": "Orders"})
|
|
206
|
+
self.assertEqual(result.returncode, 64)
|
|
207
|
+
self.assertNotIn("restore-table-to-point-in-time", {operation(a)[1] for a in calls})
|
|
208
|
+
result, calls = run_doc("recovery-and-replicas.md", overrides={"REPLICA_REGION": "us-east-1"})
|
|
209
|
+
self.assertEqual(result.returncode, 64)
|
|
210
|
+
self.assertFalse(any("--replica-updates" in a for a in calls))
|
|
211
|
+
|
|
212
|
+
def test_metrics_and_alarm_match_dimension_and_statistic_contract(self):
|
|
213
|
+
calls = self.runs["monitoring.md"][1]
|
|
214
|
+
metric_names = set()
|
|
215
|
+
for args in calls:
|
|
216
|
+
if "--metric-name" not in args:
|
|
217
|
+
continue
|
|
218
|
+
metric = flag(args, "--metric-name")
|
|
219
|
+
metric_names.add(metric)
|
|
220
|
+
dimensions = {v.split(",")[0].split("=", 1)[1]: v.split("Value=", 1)[1]
|
|
221
|
+
for v in values(args, "--dimensions")}
|
|
222
|
+
if metric in {"SuccessfulRequestLatency", "SystemErrors"}:
|
|
223
|
+
self.assertEqual(set(dimensions), {"TableName", "Operation"})
|
|
224
|
+
if metric == "WriteThrottleEvents":
|
|
225
|
+
self.assertEqual(set(dimensions), {"TableName", "GlobalSecondaryIndexName"})
|
|
226
|
+
self.assertEqual(dimensions["GlobalSecondaryIndexName"], "OrdersByStatus")
|
|
227
|
+
if metric == "ReplicationLatency":
|
|
228
|
+
self.assertEqual(set(dimensions), {"TableName", "ReceivingRegion"})
|
|
229
|
+
if metric == "IteratorAge":
|
|
230
|
+
self.assertEqual(flag(args, "--namespace"), "AWS/Lambda")
|
|
231
|
+
self.assertEqual(flag(args, "--statistics"), "Maximum")
|
|
232
|
+
if metric == "ItemCacheHits":
|
|
233
|
+
self.assertEqual(flag(args, "--namespace"), "AWS/DAX")
|
|
234
|
+
self.assertEqual(set(dimensions), {"ClusterId"})
|
|
235
|
+
if operation(args)[1] == "put-metric-alarm":
|
|
236
|
+
self.assertIn("--alarm-actions", args)
|
|
237
|
+
self.assertIn("--actions-enabled", args)
|
|
238
|
+
self.assertEqual(flag(args, "--treat-missing-data"), "ignore")
|
|
239
|
+
self.assertEqual(flag(args, "--statistic"), "Sum")
|
|
240
|
+
self.assertLessEqual({"ReadThrottleEvents", "WriteThrottleEvents", "SuccessfulRequestLatency",
|
|
241
|
+
"SystemErrors", "ReplicationLatency", "IteratorAge", "ItemCacheHits"}, metric_names)
|
|
242
|
+
|
|
243
|
+
def test_wrong_or_inactive_index_stops_before_metric_or_alarm_calls(self):
|
|
244
|
+
for response in ["[]", "null", '[{"IndexName":"Other","IndexStatus":"ACTIVE"}]',
|
|
245
|
+
'[{"IndexName":"OrdersByStatus","IndexStatus":"CREATING"}]']:
|
|
246
|
+
with self.subTest(response=response):
|
|
247
|
+
result, calls = run_doc("monitoring.md", overrides={"FAKE_INDEXES": response})
|
|
248
|
+
self.assertNotEqual(result.returncode, 0)
|
|
249
|
+
self.assertEqual({operation(args)[0] for args in calls}, {"dynamodb"})
|
|
250
|
+
result, calls = run_doc("monitoring.md", missing="GSI_NAME")
|
|
251
|
+
self.assertNotEqual(result.returncode, 0)
|
|
252
|
+
self.assertEqual(calls, [])
|
|
253
|
+
|
|
254
|
+
def test_shipped_policy_contracts(self):
|
|
255
|
+
for name, kind in [("table-index-read-policy.json", "identity"),
|
|
256
|
+
("stream-read-policy.json", "stream"),
|
|
257
|
+
("table-resource-policy.json", "resource")]:
|
|
258
|
+
check_policy(json.loads((ROOT / "assets" / name).read_text()), kind)
|
|
259
|
+
|
|
260
|
+
def test_policy_negative_fixtures(self):
|
|
261
|
+
identity = json.loads((ROOT / "assets/table-index-read-policy.json").read_text())
|
|
262
|
+
stream = json.loads((ROOT / "assets/stream-read-policy.json").read_text())
|
|
263
|
+
resource = json.loads((ROOT / "assets/table-resource-policy.json").read_text())
|
|
264
|
+
fixtures = []
|
|
265
|
+
for field, value in [("Resource", "*"), ("Resource", INDEX),
|
|
266
|
+
("Action", ["dynamodb:TransactWriteItems"]),
|
|
267
|
+
("Action", ["dynamodb:ExecuteStatement"])]:
|
|
268
|
+
bad = copy.deepcopy(identity)
|
|
269
|
+
bad["Statement"][0][field] = value
|
|
270
|
+
fixtures.append((bad, "identity"))
|
|
271
|
+
bad = copy.deepcopy(identity)
|
|
272
|
+
bad["Statement"][1]["Resource"] = [TABLE]
|
|
273
|
+
fixtures.append((bad, "identity"))
|
|
274
|
+
for field, value in [("Resource", TABLE), ("Action", ["dynamodbstreams:GetRecords"])]:
|
|
275
|
+
bad = copy.deepcopy(stream)
|
|
276
|
+
bad["Statement"][0][field] = value
|
|
277
|
+
fixtures.append((bad, "stream"))
|
|
278
|
+
bad = copy.deepcopy(resource)
|
|
279
|
+
bad["Statement"][0]["Principal"] = "*"
|
|
280
|
+
fixtures.append((bad, "resource"))
|
|
281
|
+
for number, (policy, kind) in enumerate(fixtures):
|
|
282
|
+
with self.subTest(fixture=number):
|
|
283
|
+
with self.assertRaises(AssertionError):
|
|
284
|
+
check_policy(policy, kind)
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
if __name__ == "__main__":
|
|
288
|
+
unittest.main(verbosity=2)
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import test from "node:test";
|
|
2
|
+
import assert from "node:assert/strict";
|
|
3
|
+
import { matchingPage, queryPages } from "../assets/query-pages.mjs";
|
|
4
|
+
|
|
5
|
+
const input = {
|
|
6
|
+
TableName: "OfflineOnly",
|
|
7
|
+
KeyConditionExpression: "#pk = :pk",
|
|
8
|
+
ExpressionAttributeNames: { "#pk": "PK" },
|
|
9
|
+
ExpressionAttributeValues: { ":pk": { S: "TENANT#test" } },
|
|
10
|
+
Limit: 50,
|
|
11
|
+
};
|
|
12
|
+
const key = { PK: { S: "TENANT#test" }, SK: { S: "ORDER#1" } };
|
|
13
|
+
|
|
14
|
+
async function collect(generator) {
|
|
15
|
+
const pages = [];
|
|
16
|
+
for await (const page of generator) pages.push(page);
|
|
17
|
+
return pages;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
test("empty filtered page continues using the exact typed key", async () => {
|
|
21
|
+
const original = structuredClone(input);
|
|
22
|
+
const calls = [];
|
|
23
|
+
const responses = [
|
|
24
|
+
{ Items: [], LastEvaluatedKey: key },
|
|
25
|
+
{ Items: [{ SK: { S: "ORDER#2" } }], LastEvaluatedKey: {} },
|
|
26
|
+
];
|
|
27
|
+
const pages = await collect(queryPages(async request => {
|
|
28
|
+
calls.push(request);
|
|
29
|
+
return responses[calls.length - 1];
|
|
30
|
+
}, input));
|
|
31
|
+
assert.equal(pages.length, 2);
|
|
32
|
+
assert.equal(pages[1].Items[0].SK.S, "ORDER#2");
|
|
33
|
+
assert.equal(calls[1].ExclusiveStartKey, key);
|
|
34
|
+
assert.equal("ExclusiveStartKey" in calls[0], false);
|
|
35
|
+
assert.deepEqual(input, original);
|
|
36
|
+
assert.equal(calls[1].Limit, 50);
|
|
37
|
+
assert.equal(calls[1].KeyConditionExpression, input.KeyConditionExpression);
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
for (const terminal of [undefined, null, {}]) {
|
|
41
|
+
test(`absent/null/empty terminal cursor ends (${JSON.stringify(terminal)})`, async () => {
|
|
42
|
+
let calls = 0;
|
|
43
|
+
const pages = await collect(queryPages(async () => {
|
|
44
|
+
calls += 1;
|
|
45
|
+
return { Items: [], LastEvaluatedKey: terminal };
|
|
46
|
+
}, input));
|
|
47
|
+
assert.equal(calls, 1);
|
|
48
|
+
assert.equal(pages.length, 1);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
test("nonempty initial cursor is forwarded without rewriting numbers/binary", async () => {
|
|
53
|
+
const cursor = { PK: { N: "9007199254740993" }, SK: { B: new Uint8Array([1, 2]) } };
|
|
54
|
+
await collect(queryPages(async request => {
|
|
55
|
+
assert.equal(request.ExclusiveStartKey, cursor);
|
|
56
|
+
return {};
|
|
57
|
+
}, { ...input, ExclusiveStartKey: cursor }));
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
test("empty initial cursor is omitted", async () => {
|
|
61
|
+
await collect(queryPages(async request => {
|
|
62
|
+
assert.equal("ExclusiveStartKey" in request, false);
|
|
63
|
+
return {};
|
|
64
|
+
}, { ...input, ExclusiveStartKey: {} }));
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
test("page budget reports incompleteness and makes no extra call", async () => {
|
|
68
|
+
let calls = 0;
|
|
69
|
+
await assert.rejects(collect(queryPages(async () => {
|
|
70
|
+
calls += 1;
|
|
71
|
+
return { Items: [], LastEvaluatedKey: key };
|
|
72
|
+
}, input, { maxPages: 2 })), /budget exhausted.*incomplete/);
|
|
73
|
+
assert.equal(calls, 2);
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
test("invalid budgets fail before any SDK call", async () => {
|
|
77
|
+
for (const maxPages of [0, -1, 1.5, NaN, Infinity]) {
|
|
78
|
+
await assert.rejects(collect(queryPages(async () => {
|
|
79
|
+
assert.fail("must not query");
|
|
80
|
+
}, input, { maxPages })), RangeError);
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
test("SDK errors propagate; helper does not silently retry unknown outcomes", async () => {
|
|
85
|
+
const error = new Error("timeout");
|
|
86
|
+
let calls = 0;
|
|
87
|
+
await assert.rejects(collect(queryPages(async () => {
|
|
88
|
+
calls += 1;
|
|
89
|
+
throw error;
|
|
90
|
+
}, input)), failure => failure === error);
|
|
91
|
+
assert.equal(calls, 1);
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
test("caller break stops lazy pagination without another SDK request", async () => {
|
|
95
|
+
let calls = 0;
|
|
96
|
+
for await (const page of queryPages(async () => {
|
|
97
|
+
calls += 1;
|
|
98
|
+
return { Items: [], LastEvaluatedKey: key };
|
|
99
|
+
}, input)) {
|
|
100
|
+
assert.ok(page.LastEvaluatedKey);
|
|
101
|
+
break;
|
|
102
|
+
}
|
|
103
|
+
assert.equal(calls, 1);
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
test("match page uses remaining count, preserving surplus candidates for next page", async () => {
|
|
107
|
+
const all = Array.from({ length: 80 }, (_, n) => ({ id: n }));
|
|
108
|
+
const limits = [];
|
|
109
|
+
// First call evaluates 50 but only 40 match; later calls match every item.
|
|
110
|
+
const query = async request => {
|
|
111
|
+
limits.push(request.Limit);
|
|
112
|
+
const start = request.ExclusiveStartKey?.offset ?? 0;
|
|
113
|
+
const end = Math.min(start + request.Limit, all.length);
|
|
114
|
+
return {
|
|
115
|
+
Items: all.slice(start, end).filter(item => item.id >= 10),
|
|
116
|
+
LastEvaluatedKey: end < all.length ? { offset: end } : {},
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
const first = await matchingPage(query, input);
|
|
120
|
+
assert.deepEqual(limits, [50, 10]);
|
|
121
|
+
assert.equal(first.Items.length, 50);
|
|
122
|
+
assert.deepEqual(first.LastEvaluatedKey, { offset: 60 });
|
|
123
|
+
const second = await matchingPage(query, { ...input, ExclusiveStartKey: first.LastEvaluatedKey });
|
|
124
|
+
assert.equal(second.Items.length, 20);
|
|
125
|
+
const returnedIds = [...first.Items, ...second.Items].map(item => item.id);
|
|
126
|
+
assert.deepEqual(returnedIds, all.slice(10).map(item => item.id));
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
test("match page continues after empty page and returns budget cursor", async () => {
|
|
130
|
+
let calls = 0;
|
|
131
|
+
const response = await matchingPage(async () => {
|
|
132
|
+
calls += 1;
|
|
133
|
+
return { Items: [], LastEvaluatedKey: key };
|
|
134
|
+
}, input, { maxPages: 2 });
|
|
135
|
+
assert.equal(calls, 2);
|
|
136
|
+
assert.deepEqual(response.Items, []);
|
|
137
|
+
assert.equal(response.LastEvaluatedKey, key);
|
|
138
|
+
assert.equal(response.WorkBudgetExhausted, true);
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
test("match page handles absent/empty final keys without leaving stale input cursor", async () => {
|
|
142
|
+
for (const terminal of [undefined, {}]) {
|
|
143
|
+
const response = await matchingPage(async request => {
|
|
144
|
+
assert.equal("ExclusiveStartKey" in request, false);
|
|
145
|
+
return { Items: [{ id: 1 }], LastEvaluatedKey: terminal };
|
|
146
|
+
}, { ...input, ExclusiveStartKey: {} });
|
|
147
|
+
assert.deepEqual(response, { Items: [{ id: 1 }] });
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
test("match page rejects invalid work bounds before querying", async () => {
|
|
152
|
+
for (const options of [{ target: 0 }, { target: 1.5 }, { maxPages: -1 }]) {
|
|
153
|
+
await assert.rejects(matchingPage(async () => assert.fail(), input, options), RangeError);
|
|
154
|
+
}
|
|
155
|
+
await assert.rejects(matchingPage(async () => assert.fail(), { ...input, Limit: 0 }), RangeError);
|
|
156
|
+
});
|