@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,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aws-dynamodb-patterns
|
|
3
|
+
description: "Design, implement, refactor, audit and debug Amazon DynamoDB access patterns in any language. Use for keys/indexes, single/multi-table models, IAM/tags/resource policies, encryption/KMS, TTL/PITR, backup/restore, replicas, Streams/DAX, native vectors/embeddings, Bedrock/S3 integrations, CloudFormation/CLI, bounded performance-test plans and content-freshness reviews. Selective command/feature routes load on demand. Not permission to access AWS, change features or run load."
|
|
4
|
+
allowed-tools: Read Grep Glob Bash(python3 scripts/select_mode.py:*) Bash(python3 scripts/review_due.py:*)
|
|
5
|
+
metadata:
|
|
6
|
+
author: "github: VincentChuWaiChow"
|
|
7
|
+
version: "1.8.0"
|
|
8
|
+
updated: "2026-11-08"
|
|
9
|
+
category: data
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# AWS DynamoDB Patterns
|
|
13
|
+
|
|
14
|
+
Select the smallest relevant route. Do not recursively load linked guides, siblings,
|
|
15
|
+
examples or evals. Instructions/examples are not proof of runtime correctness.
|
|
16
|
+
|
|
17
|
+
## Always-on boundaries
|
|
18
|
+
|
|
19
|
+
- Before live reads confirm account/role, Region, table/index and allowed evidence;
|
|
20
|
+
require exact approval for writes, deployment, backfill, deletion or load tests.
|
|
21
|
+
- Never inspect credentials, print customer items or execute examples on skill load.
|
|
22
|
+
Preserve the current IaC owner/data; no reset/recreation or hidden hot-path scans.
|
|
23
|
+
- Use the existing language/SDK; do not default to an ORM, Toolbox or single-table.
|
|
24
|
+
- Separate facts, assumptions, local checks and runtime evidence. Return selected
|
|
25
|
+
scope, findings and PASS/MISS/UNVERIFIED proportionately; never claim bulletproof.
|
|
26
|
+
|
|
27
|
+
## Command routes
|
|
28
|
+
|
|
29
|
+
Recognize `/aws-dynamodb-patterns <command>` when host discovery supports it;
|
|
30
|
+
Codex may use `$aws-dynamodb-patterns`, or plain language. No host registration is
|
|
31
|
+
performed. Real selector: `python3 scripts/select_mode.py <command>` (paths only).
|
|
32
|
+
|
|
33
|
+
| Command | Read only this route |
|
|
34
|
+
|---|---|
|
|
35
|
+
| help | [Help](references/commands/help.md); show commands and stop |
|
|
36
|
+
| select | [Selected features](references/commands/select.md) |
|
|
37
|
+
| design | [Table/access-pattern design](references/commands/design.md) |
|
|
38
|
+
| refactor | [Existing-model/code updates](references/commands/refactor.md) |
|
|
39
|
+
| backup | [PITR/on-demand protection](references/commands/backup.md), then only the selected method |
|
|
40
|
+
| restore | [New-table recovery](references/commands/restore.md), then only the selected method |
|
|
41
|
+
| audit | [Audit](references/commands/audit.md), then only the chosen offline/live variant |
|
|
42
|
+
| performance-test | [Performance test](references/commands/performance-test.md) |
|
|
43
|
+
| feature-plan | [Feature plan](references/commands/feature-plan.md) |
|
|
44
|
+
|
|
45
|
+
Audit defaults offline. Live mode is an authorization-gated metadata workflow;
|
|
46
|
+
selection is neither approval nor execution. Unknown commands fail; no fallback
|
|
47
|
+
from help into source/environment inspection. Combinations are manual, not chains.
|
|
48
|
+
|
|
49
|
+
## Task routes
|
|
50
|
+
|
|
51
|
+
| Task | Load only when needed |
|
|
52
|
+
|---|---|
|
|
53
|
+
| Broad data-access design/implementation and validation sequence | [Workflow](references/workflow.md), then selected domain detail |
|
|
54
|
+
| Keys, relationships, access patterns, single/multi-table choice | [Modeling](references/modeling.md) |
|
|
55
|
+
| LSI/GSI selection and constraints | [Indexes](references/lsi-vs-gsi.md) |
|
|
56
|
+
| Query/write correctness, cursors, retries, transactions, migration | [Runtime contract](references/runtime-contract.md) |
|
|
57
|
+
| Attribute types, native vector schemas/search | [Data types/vectors](references/data-types-and-vectors.md) |
|
|
58
|
+
| Embedding meaning/precision, Bedrock/S3/KB architecture | [Embedding integrations](references/embedding-integrations.md) |
|
|
59
|
+
| IAM, tags/ABAC, resource policies | [Access](references/iam-and-access.md) |
|
|
60
|
+
| Key ownership, encryption selection/lifecycle | [Encryption](references/encryption.md) |
|
|
61
|
+
| TTL/PITR, recovery, replicas | [Runtime TTL](references/runtime-contract.md) or [recovery](references/recovery-and-replicas.md), as selected |
|
|
62
|
+
| Stream consumers or DAX cache | [Streams/DAX](references/streams-and-dax.md) |
|
|
63
|
+
| Metrics/alarms | [Monitoring](references/monitoring.md) |
|
|
64
|
+
| Table CloudFormation/CLI provisioning | [Provisioning](references/provisioning.md), then selected asset |
|
|
65
|
+
| Language-specific SDK or optional Toolbox | [Adapters](references/language-adapters.md), matching section only |
|
|
66
|
+
| Core AWS or embedding CLI examples | [Core CLI](references/commands/aws-cli.md) or [embedding CLI](references/commands/embedding.md) |
|
|
67
|
+
| Current claims/source provenance | [Sources](references/sources.md) |
|
|
68
|
+
| Due review or skill edits | [Maintenance](references/maintenance.md) or [eval contract](evals/eval.md) |
|
|
69
|
+
|
|
70
|
+
At substantive use (not help), run `scripts/review_due.py --as-of YYYY-MM-DD` with
|
|
71
|
+
the actual client-local date. Review every June/December; if due/overdue load
|
|
72
|
+
Maintenance and remind the user. Never advance the ledger on load or claim a full
|
|
73
|
+
review from a targeted update. This is not a background/calendar notification.
|
|
74
|
+
|
|
75
|
+
## Repository references
|
|
76
|
+
|
|
77
|
+
Load these only when needed:
|
|
78
|
+
|
|
79
|
+
- [Operations reference](references/operations.md) — one-page backup and restore, disaster recovery, billing dimensions, monitoring, performance, IAM, tagging, encryption, network isolation and audit logging.
|
|
80
|
+
- [Workflow and output contract](references/workflow-and-output.md) — which workflow to load and the answer shape.
|
|
81
|
+
- [Official sources](references/official-sources.md) — evidence ledger, evidence index and primary AWS pages.
|
|
82
|
+
- [Safety checklist](references/safety-checklist.md) — before any live read or proposed change.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"BillingMode": "PAY_PER_REQUEST",
|
|
3
|
+
"DeletionProtectionEnabled": true,
|
|
4
|
+
"AttributeDefinitions": [
|
|
5
|
+
{"AttributeName": "PK", "AttributeType": "S"},
|
|
6
|
+
{"AttributeName": "SK", "AttributeType": "S"},
|
|
7
|
+
{"AttributeName": "GSI1PK", "AttributeType": "S"},
|
|
8
|
+
{"AttributeName": "GSI1SK", "AttributeType": "S"},
|
|
9
|
+
{"AttributeName": "LSI1SK", "AttributeType": "S"}
|
|
10
|
+
],
|
|
11
|
+
"KeySchema": [
|
|
12
|
+
{"AttributeName": "PK", "KeyType": "HASH"},
|
|
13
|
+
{"AttributeName": "SK", "KeyType": "RANGE"}
|
|
14
|
+
],
|
|
15
|
+
"GlobalSecondaryIndexes": [
|
|
16
|
+
{
|
|
17
|
+
"IndexName": "GSI1",
|
|
18
|
+
"KeySchema": [
|
|
19
|
+
{"AttributeName": "GSI1PK", "KeyType": "HASH"},
|
|
20
|
+
{"AttributeName": "GSI1SK", "KeyType": "RANGE"}
|
|
21
|
+
],
|
|
22
|
+
"Projection": {
|
|
23
|
+
"ProjectionType": "INCLUDE",
|
|
24
|
+
"NonKeyAttributes": ["status", "orderId", "totalMinor", "currency"]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"LocalSecondaryIndexes": [
|
|
29
|
+
{
|
|
30
|
+
"IndexName": "LSI1",
|
|
31
|
+
"KeySchema": [
|
|
32
|
+
{"AttributeName": "PK", "KeyType": "HASH"},
|
|
33
|
+
{"AttributeName": "LSI1SK", "KeyType": "RANGE"}
|
|
34
|
+
],
|
|
35
|
+
"Projection": {
|
|
36
|
+
"ProjectionType": "INCLUDE",
|
|
37
|
+
"NonKeyAttributes": ["status", "orderId"]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"BillingMode": "PAY_PER_REQUEST",
|
|
3
|
+
"DeletionProtectionEnabled": true,
|
|
4
|
+
"AttributeDefinitions": [
|
|
5
|
+
{"AttributeName": "PK", "AttributeType": "S"},
|
|
6
|
+
{"AttributeName": "SK", "AttributeType": "S"},
|
|
7
|
+
{"AttributeName": "GSI1PK", "AttributeType": "S"},
|
|
8
|
+
{"AttributeName": "GSI1SK", "AttributeType": "S"}
|
|
9
|
+
],
|
|
10
|
+
"KeySchema": [
|
|
11
|
+
{"AttributeName": "PK", "KeyType": "HASH"},
|
|
12
|
+
{"AttributeName": "SK", "KeyType": "RANGE"}
|
|
13
|
+
],
|
|
14
|
+
"GlobalSecondaryIndexes": [
|
|
15
|
+
{
|
|
16
|
+
"IndexName": "GSI1",
|
|
17
|
+
"KeySchema": [
|
|
18
|
+
{"AttributeName": "GSI1PK", "KeyType": "HASH"},
|
|
19
|
+
{"AttributeName": "GSI1SK", "KeyType": "RANGE"}
|
|
20
|
+
],
|
|
21
|
+
"Projection": {
|
|
22
|
+
"ProjectionType": "INCLUDE",
|
|
23
|
+
"NonKeyAttributes": ["status", "orderId", "totalMinor", "currency"]
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Example only: execute after explicit approval of the printed target and cost.
|
|
3
|
+
# Requires AWS CLI v2 and an existing authorized profile; no login/install here.
|
|
4
|
+
set -euo pipefail
|
|
5
|
+
: "${AWS_PROFILE:?Select the approved existing profile}"
|
|
6
|
+
: "${AWS_REGION:?Select the approved Region}"
|
|
7
|
+
: "${TABLE_NAME:?Select the approved new table name}"
|
|
8
|
+
: "${EXPECTED_ACCOUNT_ID:?Set the approved target account ID}"
|
|
9
|
+
|
|
10
|
+
asset_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
|
|
11
|
+
aws_cmd=(aws --profile "$AWS_PROFILE" --region "$AWS_REGION" --no-cli-pager)
|
|
12
|
+
|
|
13
|
+
# Identity failure stops execution. The caller reviews the role, not just account.
|
|
14
|
+
"${aws_cmd[@]}" sts get-caller-identity
|
|
15
|
+
account_id=$("${aws_cmd[@]}" sts get-caller-identity --query Account --output text)
|
|
16
|
+
if [[ "$account_id" != "$EXPECTED_ACCOUNT_ID" ]]; then
|
|
17
|
+
printf '%s\n' 'Account mismatch: stopped before table creation.' >&2
|
|
18
|
+
exit 1
|
|
19
|
+
fi
|
|
20
|
+
printf 'Target: account=%s profile=%s region=%s new-table=%s\n' \
|
|
21
|
+
"$account_id" "$AWS_PROFILE" "$AWS_REGION" "$TABLE_NAME"
|
|
22
|
+
read -r -p "Type CREATE ${TABLE_NAME} to create this billable resource: " confirmation
|
|
23
|
+
[[ "$confirmation" == "CREATE ${TABLE_NAME}" ]] || exit 1
|
|
24
|
+
|
|
25
|
+
# Existing name yields ResourceInUseException; do not catch it and adopt the table.
|
|
26
|
+
"${aws_cmd[@]}" dynamodb create-table \
|
|
27
|
+
--table-name "$TABLE_NAME" --cli-input-json "file://${asset_dir}/create-table.json"
|
|
28
|
+
"${aws_cmd[@]}" dynamodb wait table-exists --table-name "$TABLE_NAME"
|
|
29
|
+
"${aws_cmd[@]}" dynamodb update-time-to-live --table-name "$TABLE_NAME" \
|
|
30
|
+
--time-to-live-specification 'Enabled=true,AttributeName=expiresAt'
|
|
31
|
+
"${aws_cmd[@]}" dynamodb update-continuous-backups --table-name "$TABLE_NAME" \
|
|
32
|
+
--point-in-time-recovery-specification 'PointInTimeRecoveryEnabled=true'
|
|
33
|
+
|
|
34
|
+
# Readback is control-plane evidence, not application/runtime proof.
|
|
35
|
+
"${aws_cmd[@]}" dynamodb describe-table --table-name "$TABLE_NAME"
|
|
36
|
+
"${aws_cmd[@]}" dynamodb describe-time-to-live --table-name "$TABLE_NAME"
|
|
37
|
+
"${aws_cmd[@]}" dynamodb describe-continuous-backups --table-name "$TABLE_NAME"
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"""Injected Boto3-style clients; importing this module makes no service calls.
|
|
2
|
+
|
|
3
|
+
Example only: caller owns authorization, chunking, versioned keys, retries, item
|
|
4
|
+
size, and a dedicated COSINE/1024 index for this exact model configuration.
|
|
5
|
+
"""
|
|
6
|
+
import json
|
|
7
|
+
import math
|
|
8
|
+
import struct
|
|
9
|
+
|
|
10
|
+
MODEL_ID = "amazon.titan-embed-text-v2:0"
|
|
11
|
+
DIMENSIONS = 1024
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def required(*values):
|
|
15
|
+
if any(not isinstance(value, str) or not value.strip() for value in values):
|
|
16
|
+
raise ValueError("Explicit nonempty targets, authenticated tenant and text required")
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def number_values(values, dimensions):
|
|
20
|
+
"""Quantize once, then emit low-level DynamoDB Number tags.
|
|
21
|
+
|
|
22
|
+
This conservative example rejects subnormal values and nonzero underflow;
|
|
23
|
+
that policy is not an assertion that AWS rejects every subnormal value.
|
|
24
|
+
"""
|
|
25
|
+
if type(dimensions) is not int or not 1 <= dimensions <= 4096:
|
|
26
|
+
raise ValueError("Invalid dimensions")
|
|
27
|
+
if not isinstance(values, list) or len(values) != dimensions:
|
|
28
|
+
raise ValueError("Embedding length must match the dedicated index")
|
|
29
|
+
result = []
|
|
30
|
+
for value in values:
|
|
31
|
+
if type(value) not in (int, float):
|
|
32
|
+
raise ValueError("Numeric coordinates required; no bool/string/binary")
|
|
33
|
+
try:
|
|
34
|
+
original = float(value)
|
|
35
|
+
rounded = struct.unpack("!f", struct.pack("!f", original))[0]
|
|
36
|
+
except (OverflowError, struct.error) as error:
|
|
37
|
+
raise ValueError("Coordinate overflows float32") from error
|
|
38
|
+
if not math.isfinite(rounded):
|
|
39
|
+
raise ValueError("NaN/Infinity are not embedding coordinates")
|
|
40
|
+
if (original != 0 and rounded == 0) or 0 < abs(rounded) < 2.0 ** -126:
|
|
41
|
+
raise ValueError("Example policy rejects underflow/subnormal coordinates")
|
|
42
|
+
# Nine significant digits preserve f32 round-trips, not nine decimal places.
|
|
43
|
+
result.append({"N": format(rounded, ".9g")})
|
|
44
|
+
if not any(float(value["N"]) != 0 for value in result):
|
|
45
|
+
raise ValueError("Zero vector is unsuitable for this COSINE example")
|
|
46
|
+
return result
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def embed_text(bedrock, text):
|
|
50
|
+
required(text)
|
|
51
|
+
response = bedrock.invoke_model(
|
|
52
|
+
modelId=MODEL_ID, contentType="application/json", accept="application/json",
|
|
53
|
+
body=json.dumps({"inputText": text, "dimensions": DIMENSIONS,
|
|
54
|
+
"normalize": True, "embeddingTypes": ["float"]}))
|
|
55
|
+
payload = json.loads(response["body"].read())
|
|
56
|
+
return number_values(payload["embedding"], DIMENSIONS)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def index_chunk(bedrock, dynamodb, table, tenant, chunk_key, text, source):
|
|
60
|
+
"""Billable model call and item write when explicitly invoked by the caller."""
|
|
61
|
+
required(table, tenant, chunk_key, text)
|
|
62
|
+
if not isinstance(source, dict) or set(source) != {"bucket", "key", "version_id"}:
|
|
63
|
+
raise ValueError("Explicit versioned source reference required")
|
|
64
|
+
required(*source.values())
|
|
65
|
+
if source["version_id"] == "null":
|
|
66
|
+
raise ValueError("This example requires a pinned, non-null S3 object version")
|
|
67
|
+
numbers = embed_text(bedrock, text)
|
|
68
|
+
return dynamodb.put_item(
|
|
69
|
+
TableName=table, ConditionExpression="attribute_not_exists(PK)", Item={
|
|
70
|
+
"PK": {"S": chunk_key}, "Tenant": {"S": tenant},
|
|
71
|
+
"Status": {"S": "PUBLISHED"}, "ChunkText": {"S": text},
|
|
72
|
+
"Source": {"M": {key: {"S": value} for key, value in source.items()}},
|
|
73
|
+
"EmbeddingModel": {"S": MODEL_ID},
|
|
74
|
+
"EmbeddingDimensions": {"N": str(DIMENSIONS)},
|
|
75
|
+
"EmbeddingNormalized": {"BOOL": True}, "Embedding": {"L": numbers}})
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def search_chunks(bedrock, dynamodb, table, index, tenant, question, top_k=10):
|
|
79
|
+
"""Caller derives tenant/index from trusted configuration, never request input."""
|
|
80
|
+
required(table, index, tenant, question)
|
|
81
|
+
if type(top_k) is not int or not 1 <= top_k <= 100:
|
|
82
|
+
raise ValueError("TopK must be an integer in 1..100")
|
|
83
|
+
return dynamodb.search_vectors(
|
|
84
|
+
TableName=table, IndexName=index, TopK=top_k,
|
|
85
|
+
SearchVector=embed_text(bedrock, question),
|
|
86
|
+
SearchConditionExpression="#tenant = :tenant AND #status = :status",
|
|
87
|
+
ExpressionAttributeNames={"#tenant": "Tenant", "#status": "Status"},
|
|
88
|
+
ExpressionAttributeValues={":tenant": {"S": tenant},
|
|
89
|
+
":status": {"S": "PUBLISHED"}})
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"TableName": "REPLACE_WITH_APPROVED_TABLE",
|
|
3
|
+
"KeyConditionExpression": "#pk = :pk AND begins_with(#sk, :prefix)",
|
|
4
|
+
"ExpressionAttributeNames": {"#pk": "PK", "#sk": "SK"},
|
|
5
|
+
"ExpressionAttributeValues": {
|
|
6
|
+
":pk": {"S": "TENANT#acme#CUSTOMER#c42"},
|
|
7
|
+
":prefix": {"S": "ORDER#"}
|
|
8
|
+
},
|
|
9
|
+
"ConsistentRead": true,
|
|
10
|
+
"ScanIndexForward": false,
|
|
11
|
+
"Limit": 50,
|
|
12
|
+
"ReturnConsumedCapacity": "TOTAL"
|
|
13
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal, trusted request input only. query(request) is an injected async SDK
|
|
3
|
+
* adapter. No SDK dependency, network activity or credential lookup on import.
|
|
4
|
+
* Yield whole pages, including empty ones, so callers retain continuation state.
|
|
5
|
+
* This does not validate public cursors, authorize tenants or create snapshots.
|
|
6
|
+
*/
|
|
7
|
+
export async function* queryPages(query, input, { maxPages = 100 } = {}) {
|
|
8
|
+
if (!Number.isInteger(maxPages) || maxPages < 1) {
|
|
9
|
+
throw new RangeError("maxPages must be a positive integer");
|
|
10
|
+
}
|
|
11
|
+
let cursor = input.ExclusiveStartKey;
|
|
12
|
+
for (let page = 0; page < maxPages; page += 1) {
|
|
13
|
+
const request = { ...input };
|
|
14
|
+
// Snapshot the request's continuation reference; never mutate caller input.
|
|
15
|
+
if (cursor && Object.keys(cursor).length > 0) {
|
|
16
|
+
request.ExclusiveStartKey = cursor;
|
|
17
|
+
} else {
|
|
18
|
+
delete request.ExclusiveStartKey;
|
|
19
|
+
}
|
|
20
|
+
const result = await query(request);
|
|
21
|
+
yield result;
|
|
22
|
+
cursor = result.LastEvaluatedKey;
|
|
23
|
+
if (!cursor || Object.keys(cursor).length === 0) return;
|
|
24
|
+
}
|
|
25
|
+
throw new Error("Query page budget exhausted; results are incomplete");
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Bounded HTTP match-page collector for an internal, authorized Query request.
|
|
30
|
+
* Return the service continuation even after empty/short pages or budget expiry.
|
|
31
|
+
* The API layer must sign/store it and enforce tenant/query binding externally.
|
|
32
|
+
*/
|
|
33
|
+
export async function matchingPage(query, input, { target = 50, maxPages = 10 } = {}) {
|
|
34
|
+
const cap = input.Limit ?? 50;
|
|
35
|
+
for (const value of [target, maxPages, cap]) {
|
|
36
|
+
if (!Number.isInteger(value) || value < 1) {
|
|
37
|
+
throw new RangeError("target, maxPages and Limit must be positive integers");
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
const Items = [];
|
|
41
|
+
let cursor = input.ExclusiveStartKey;
|
|
42
|
+
for (let page = 0; page < maxPages; page += 1) {
|
|
43
|
+
const request = { ...input, Limit: Math.min(cap, target - Items.length) };
|
|
44
|
+
if (cursor && Object.keys(cursor).length > 0) request.ExclusiveStartKey = cursor;
|
|
45
|
+
else delete request.ExclusiveStartKey;
|
|
46
|
+
const result = await query(request);
|
|
47
|
+
// Returned matches <= evaluated items <= requested Limit: no slicing needed.
|
|
48
|
+
Items.push(...(result.Items ?? []));
|
|
49
|
+
cursor = result.LastEvaluatedKey;
|
|
50
|
+
if (!cursor || Object.keys(cursor).length === 0) return { Items };
|
|
51
|
+
if (Items.length === target) return { Items, LastEvaluatedKey: cursor };
|
|
52
|
+
}
|
|
53
|
+
return { Items, LastEvaluatedKey: cursor, WorkBudgetExhausted: true };
|
|
54
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Version": "2012-10-17",
|
|
3
|
+
"Statement": [
|
|
4
|
+
{
|
|
5
|
+
"Sid": "ReadNamedStreamIncarnation",
|
|
6
|
+
"Effect": "Allow",
|
|
7
|
+
"Action": ["dynamodb:DescribeStream", "dynamodb:GetShardIterator", "dynamodb:GetRecords"],
|
|
8
|
+
"Resource": "arn:aws:dynamodb:us-east-1:111122223333:table/Orders/stream/2026-11-08T00:00:00.000"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Version": "2012-10-17",
|
|
3
|
+
"Statement": [
|
|
4
|
+
{
|
|
5
|
+
"Sid": "ReadItemsOnNamedTable",
|
|
6
|
+
"Effect": "Allow",
|
|
7
|
+
"Action": ["dynamodb:GetItem", "dynamodb:BatchGetItem"],
|
|
8
|
+
"Resource": "arn:aws:dynamodb:us-east-1:111122223333:table/Orders"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"Sid": "QueryNamedTableAndIndex",
|
|
12
|
+
"Effect": "Allow",
|
|
13
|
+
"Action": ["dynamodb:Query"],
|
|
14
|
+
"Resource": [
|
|
15
|
+
"arn:aws:dynamodb:us-east-1:111122223333:table/Orders",
|
|
16
|
+
"arn:aws:dynamodb:us-east-1:111122223333:table/Orders/index/GSI1"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Version": "2012-10-17",
|
|
3
|
+
"Statement": [
|
|
4
|
+
{
|
|
5
|
+
"Sid": "NamedExternalRoleReadItems",
|
|
6
|
+
"Effect": "Allow",
|
|
7
|
+
"Principal": {"AWS": "arn:aws:iam::444455556666:role/DynamoReader"},
|
|
8
|
+
"Action": ["dynamodb:GetItem"],
|
|
9
|
+
"Resource": "arn:aws:dynamodb:us-east-1:111122223333:table/Orders"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"Sid": "NamedExternalRoleQuery",
|
|
13
|
+
"Effect": "Allow",
|
|
14
|
+
"Principal": {"AWS": "arn:aws:iam::444455556666:role/DynamoReader"},
|
|
15
|
+
"Action": ["dynamodb:Query"],
|
|
16
|
+
"Resource": [
|
|
17
|
+
"arn:aws:dynamodb:us-east-1:111122223333:table/Orders",
|
|
18
|
+
"arn:aws:dynamodb:us-east-1:111122223333:table/Orders/index/GSI1"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
AWSTemplateFormatVersion: '2010-09-09'
|
|
2
|
+
Description: Example customer-orders table with a sparse tenant open-order index
|
|
3
|
+
Parameters:
|
|
4
|
+
TableName:
|
|
5
|
+
Type: String
|
|
6
|
+
MinLength: 3
|
|
7
|
+
MaxLength: 255
|
|
8
|
+
AllowedPattern: '[A-Za-z0-9_.-]+'
|
|
9
|
+
Resources:
|
|
10
|
+
OrdersTable:
|
|
11
|
+
Type: AWS::DynamoDB::Table
|
|
12
|
+
DeletionPolicy: Retain
|
|
13
|
+
UpdateReplacePolicy: Retain
|
|
14
|
+
Properties:
|
|
15
|
+
TableName: !Ref TableName
|
|
16
|
+
BillingMode: PAY_PER_REQUEST
|
|
17
|
+
DeletionProtectionEnabled: true
|
|
18
|
+
AttributeDefinitions:
|
|
19
|
+
- AttributeName: PK
|
|
20
|
+
AttributeType: S
|
|
21
|
+
- AttributeName: SK
|
|
22
|
+
AttributeType: S
|
|
23
|
+
- AttributeName: GSI1PK
|
|
24
|
+
AttributeType: S
|
|
25
|
+
- AttributeName: GSI1SK
|
|
26
|
+
AttributeType: S
|
|
27
|
+
KeySchema:
|
|
28
|
+
- AttributeName: PK
|
|
29
|
+
KeyType: HASH
|
|
30
|
+
- AttributeName: SK
|
|
31
|
+
KeyType: RANGE
|
|
32
|
+
GlobalSecondaryIndexes:
|
|
33
|
+
- IndexName: GSI1
|
|
34
|
+
KeySchema:
|
|
35
|
+
- AttributeName: GSI1PK
|
|
36
|
+
KeyType: HASH
|
|
37
|
+
- AttributeName: GSI1SK
|
|
38
|
+
KeyType: RANGE
|
|
39
|
+
Projection:
|
|
40
|
+
ProjectionType: INCLUDE
|
|
41
|
+
NonKeyAttributes:
|
|
42
|
+
- status
|
|
43
|
+
- orderId
|
|
44
|
+
- totalMinor
|
|
45
|
+
- currency
|
|
46
|
+
TimeToLiveSpecification:
|
|
47
|
+
AttributeName: expiresAt
|
|
48
|
+
Enabled: true
|
|
49
|
+
PointInTimeRecoverySpecification:
|
|
50
|
+
PointInTimeRecoveryEnabled: true
|
|
51
|
+
Outputs:
|
|
52
|
+
TableName:
|
|
53
|
+
Value: !Ref OrdersTable
|
|
54
|
+
TableArn:
|
|
55
|
+
Value: !GetAtt OrdersTable.Arn
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"PK": {"S": "doc#1"},
|
|
3
|
+
"Tenant": {"S": "example"},
|
|
4
|
+
"Status": {"S": "PUBLISHED"},
|
|
5
|
+
"Title": {"S": "Synthetic three-dimensional example"},
|
|
6
|
+
"Price": {"N": "12.50"},
|
|
7
|
+
"Content": {"B": "SGVsbG8="},
|
|
8
|
+
"Active": {"BOOL": true},
|
|
9
|
+
"DeletedAt": {"NULL": true},
|
|
10
|
+
"Embedding": {"L": [{"N": "0.1"}, {"N": "0.2"}, {"N": "0.3"}]},
|
|
11
|
+
"Metadata": {"M": {"source": {"S": "fixture"}}},
|
|
12
|
+
"Labels": {"SS": ["aws", "example"]},
|
|
13
|
+
"Scores": {"NS": ["1", "2"]},
|
|
14
|
+
"Chunks": {"BS": ["AQI=", "AwQ="]}
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"BillingMode": "PAY_PER_REQUEST",
|
|
3
|
+
"DeletionProtectionEnabled": true,
|
|
4
|
+
"AttributeDefinitions": [
|
|
5
|
+
{"AttributeName": "PK", "AttributeType": "S"},
|
|
6
|
+
{"AttributeName": "Tenant", "AttributeType": "S"},
|
|
7
|
+
{"AttributeName": "Status", "AttributeType": "S"}
|
|
8
|
+
],
|
|
9
|
+
"KeySchema": [{"AttributeName": "PK", "KeyType": "HASH"}],
|
|
10
|
+
"VectorIndexes": [
|
|
11
|
+
{
|
|
12
|
+
"IndexName": "EmbeddingIndex",
|
|
13
|
+
"VectorAttribute": {"AttributeName": "Embedding"},
|
|
14
|
+
"Dimensions": 3,
|
|
15
|
+
"DistanceFunction": "COSINE",
|
|
16
|
+
"SearchSchema": [
|
|
17
|
+
{"AttributeName": "Tenant", "SearchSchemaElementType": "HASH"},
|
|
18
|
+
{"AttributeName": "Status", "SearchSchemaElementType": "INLINE_FILTER"}
|
|
19
|
+
],
|
|
20
|
+
"Projection": {"ProjectionType": "INCLUDE", "NonKeyAttributes": ["Title"]}
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"TableName": "REPLACE_WITH_APPROVED_VECTOR_TABLE",
|
|
3
|
+
"IndexName": "EmbeddingIndex",
|
|
4
|
+
"SearchVector": [{"N": "0.1"}, {"N": "0.2"}, {"N": "0.3"}],
|
|
5
|
+
"TopK": 10,
|
|
6
|
+
"SearchConditionExpression": "#tenant = :tenant AND #status = :status",
|
|
7
|
+
"ExpressionAttributeNames": {"#tenant": "Tenant", "#status": "Status"},
|
|
8
|
+
"ExpressionAttributeValues": {":tenant": {"S": "example"}, ":status": {"S": "PUBLISHED"}},
|
|
9
|
+
"ReturnConsumedCapacity": "INDEXES"
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
AWSTemplateFormatVersion: '2010-09-09'
|
|
2
|
+
Description: Optional three-dimensional native-vector demonstration, not a production model
|
|
3
|
+
Parameters:
|
|
4
|
+
TableName:
|
|
5
|
+
Type: String
|
|
6
|
+
MinLength: 3
|
|
7
|
+
MaxLength: 255
|
|
8
|
+
AllowedPattern: '[A-Za-z0-9_.-]+'
|
|
9
|
+
Resources:
|
|
10
|
+
VectorDocuments:
|
|
11
|
+
Type: AWS::DynamoDB::Table
|
|
12
|
+
DeletionPolicy: Retain
|
|
13
|
+
UpdateReplacePolicy: Retain
|
|
14
|
+
Properties:
|
|
15
|
+
TableName: !Ref TableName
|
|
16
|
+
BillingMode: PAY_PER_REQUEST
|
|
17
|
+
DeletionProtectionEnabled: true
|
|
18
|
+
AttributeDefinitions:
|
|
19
|
+
- AttributeName: PK
|
|
20
|
+
AttributeType: S
|
|
21
|
+
- AttributeName: Tenant
|
|
22
|
+
AttributeType: S
|
|
23
|
+
- AttributeName: Status
|
|
24
|
+
AttributeType: S
|
|
25
|
+
KeySchema:
|
|
26
|
+
- AttributeName: PK
|
|
27
|
+
KeyType: HASH
|
|
28
|
+
VectorIndexes:
|
|
29
|
+
- IndexName: EmbeddingIndex
|
|
30
|
+
VectorAttribute:
|
|
31
|
+
AttributeName: Embedding
|
|
32
|
+
Dimensions: 3
|
|
33
|
+
DistanceFunction: COSINE
|
|
34
|
+
SearchSchema:
|
|
35
|
+
- AttributeName: Tenant
|
|
36
|
+
SearchSchemaElementType: HASH
|
|
37
|
+
- AttributeName: Status
|
|
38
|
+
SearchSchemaElementType: INLINE_FILTER
|
|
39
|
+
Projection:
|
|
40
|
+
ProjectionType: INCLUDE
|
|
41
|
+
NonKeyAttributes: [Title]
|