agent-devkit 0.1.5 → 0.2.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/README.md +14 -2
- package/package.json +1 -1
- package/runtime/README.md +127 -6
- package/runtime/agent +5 -0
- package/runtime/agents/README.md +34 -0
- package/runtime/agents/agent-devkit-agent-builder/AGENTS.md +24 -0
- package/runtime/agents/agent-devkit-agent-builder/README.md +37 -0
- package/runtime/agents/agent-devkit-agent-builder/agent.yaml +46 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/plan-agent/capability.yaml +29 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/plan-agent/decision-rules.md +7 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/plan-agent/runner.py +33 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/plan-agent/workflow.md +8 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/scaffold-agent/capability.yaml +31 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/scaffold-agent/decision-rules.md +9 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/scaffold-agent/runner.py +39 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/scaffold-agent/workflow.md +8 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/validate-agent-contract/capability.yaml +28 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/validate-agent-contract/decision-rules.md +6 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/validate-agent-contract/runner.py +33 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/validate-agent-contract/workflow.md +7 -0
- package/runtime/agents/agent-devkit-agent-builder/infra/integrations/agent-devkit/agent_builder_repository.py +527 -0
- package/runtime/agents/agent-devkit-agent-builder/knowledge/context.md +15 -0
- package/runtime/agents/agent-devkit-agent-builder/knowledge/policies.yaml +11 -0
- package/runtime/agents/agent-devkit-agent-builder/knowledge/system.md +11 -0
- package/runtime/agents/agent-devkit-agent-builder/templates/agent-plan-output.md +20 -0
- package/runtime/agents/agent-devkit-agent-builder/templates/scaffold-plan-output.md +13 -0
- package/runtime/agents/agent-devkit-agent-builder/templates/validation-report-output.md +13 -0
- package/runtime/agents/agent-devkit-agent-builder/tests/test_runners.py +188 -0
- package/runtime/agents/automation-architect/AGENTS.md +11 -0
- package/runtime/agents/automation-architect/README.md +27 -0
- package/runtime/agents/automation-architect/agent.yaml +57 -0
- package/runtime/agents/automation-architect/capabilities/classify-automation-request/capability.yaml +35 -0
- package/runtime/agents/automation-architect/capabilities/classify-automation-request/decision-rules.md +10 -0
- package/runtime/agents/automation-architect/capabilities/classify-automation-request/runner.py +37 -0
- package/runtime/agents/automation-architect/capabilities/classify-automation-request/workflow.md +7 -0
- package/runtime/agents/automation-architect/capabilities/delegate-automation-build/capability.yaml +34 -0
- package/runtime/agents/automation-architect/capabilities/delegate-automation-build/decision-rules.md +7 -0
- package/runtime/agents/automation-architect/capabilities/delegate-automation-build/runner.py +37 -0
- package/runtime/agents/automation-architect/capabilities/delegate-automation-build/workflow.md +6 -0
- package/runtime/agents/automation-architect/capabilities/plan-automation-solution/capability.yaml +35 -0
- package/runtime/agents/automation-architect/capabilities/plan-automation-solution/decision-rules.md +7 -0
- package/runtime/agents/automation-architect/capabilities/plan-automation-solution/runner.py +37 -0
- package/runtime/agents/automation-architect/capabilities/plan-automation-solution/workflow.md +7 -0
- package/runtime/agents/automation-architect/capabilities/review-automation-solution/capability.yaml +36 -0
- package/runtime/agents/automation-architect/capabilities/review-automation-solution/decision-rules.md +7 -0
- package/runtime/agents/automation-architect/capabilities/review-automation-solution/runner.py +39 -0
- package/runtime/agents/automation-architect/capabilities/review-automation-solution/workflow.md +7 -0
- package/runtime/agents/automation-architect/infra/integrations/automation-architecture/automation_architecture_repository.py +481 -0
- package/runtime/agents/automation-architect/knowledge/context.md +22 -0
- package/runtime/agents/automation-architect/knowledge/policies.yaml +20 -0
- package/runtime/agents/automation-architect/knowledge/system.md +8 -0
- package/runtime/agents/automation-architect/templates/automation-classification.md +6 -0
- package/runtime/agents/automation-architect/templates/automation-plan.md +5 -0
- package/runtime/agents/automation-architect/tests/test_runners.py +135 -0
- package/runtime/agents/aws-architecture-analyst/agent.yaml +17 -4
- package/runtime/agents/aws-cloudwatch-log-analyzer/agent.yaml +12 -2
- package/runtime/agents/aws-cloudwatch-log-analyzer/capabilities/analyze-service-error/capability.yaml +16 -0
- package/runtime/agents/aws-lambda-builder/AGENTS.md +27 -0
- package/runtime/agents/aws-lambda-builder/README.md +21 -0
- package/runtime/agents/aws-lambda-builder/agent.yaml +46 -0
- package/runtime/agents/aws-lambda-builder/capabilities/deploy-lambda-plan/capability.yaml +18 -0
- package/runtime/agents/aws-lambda-builder/capabilities/deploy-lambda-plan/decision-rules.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/deploy-lambda-plan/runner.py +33 -0
- package/runtime/agents/aws-lambda-builder/capabilities/deploy-lambda-plan/workflow.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/generate-lambda-project/capability.yaml +20 -0
- package/runtime/agents/aws-lambda-builder/capabilities/generate-lambda-project/decision-rules.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/generate-lambda-project/runner.py +39 -0
- package/runtime/agents/aws-lambda-builder/capabilities/generate-lambda-project/workflow.md +7 -0
- package/runtime/agents/aws-lambda-builder/capabilities/package-lambda/capability.yaml +22 -0
- package/runtime/agents/aws-lambda-builder/capabilities/package-lambda/decision-rules.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/package-lambda/runner.py +41 -0
- package/runtime/agents/aws-lambda-builder/capabilities/package-lambda/workflow.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/plan-lambda/capability.yaml +18 -0
- package/runtime/agents/aws-lambda-builder/capabilities/plan-lambda/decision-rules.md +7 -0
- package/runtime/agents/aws-lambda-builder/capabilities/plan-lambda/runner.py +33 -0
- package/runtime/agents/aws-lambda-builder/capabilities/plan-lambda/workflow.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/review-lambda-security/capability.yaml +18 -0
- package/runtime/agents/aws-lambda-builder/capabilities/review-lambda-security/decision-rules.md +7 -0
- package/runtime/agents/aws-lambda-builder/capabilities/review-lambda-security/runner.py +33 -0
- package/runtime/agents/aws-lambda-builder/capabilities/review-lambda-security/workflow.md +5 -0
- package/runtime/agents/aws-lambda-builder/infra/integrations/aws-lambda/aws_lambda_repository.py +688 -0
- package/runtime/agents/aws-lambda-builder/knowledge/context.md +12 -0
- package/runtime/agents/aws-lambda-builder/knowledge/policies.yaml +23 -0
- package/runtime/agents/aws-lambda-builder/knowledge/system.md +10 -0
- package/runtime/agents/aws-lambda-builder/templates/lambda-deploy-plan.md +3 -0
- package/runtime/agents/aws-lambda-builder/templates/lambda-package.md +3 -0
- package/runtime/agents/aws-lambda-builder/templates/lambda-plan.md +3 -0
- package/runtime/agents/aws-lambda-builder/templates/lambda-readme.md +3 -0
- package/runtime/agents/aws-lambda-builder/templates/lambda-security-review.md +3 -0
- package/runtime/agents/aws-lambda-builder/tests/test_runners.py +355 -0
- package/runtime/agents/aws-operations-operator/agent.yaml +18 -6
- package/runtime/agents/aws-security-governance-auditor/agent.yaml +17 -5
- package/runtime/agents/azure-devops-orchestrator/agent.yaml +15 -2
- package/runtime/agents/azure-devops-orchestrator/capabilities/read-card/capability.yaml +29 -0
- package/runtime/agents/bpo-analyser/agent.yaml +12 -2
- package/runtime/agents/bpo-analyser/knowledge/policies.yaml +2 -2
- package/runtime/agents/data-scientist-analyst/agent.yaml +16 -4
- package/runtime/agents/data-scientist-analyst/capabilities/generate-data-report/capability.yaml +1 -1
- package/runtime/agents/data-scientist-analyst/capabilities/generate-reconciliation-report/capability.yaml +1 -1
- package/runtime/agents/data-scientist-analyst/capabilities/run-data-pipeline/capability.yaml +1 -1
- package/runtime/agents/data-scientist-analyst/infra/integrations/agent-bridge/methods/analyze-sql-source.yaml +1 -1
- package/runtime/agents/data-scientist-analyst/knowledge/policies.yaml +4 -4
- package/runtime/agents/data-scientist-analyst/knowledge/system.md +1 -1
- package/runtime/agents/data-scientist-analyst/tests/test_runners.py +1 -1
- package/runtime/agents/database-change-operator/agent.yaml +12 -1
- package/runtime/agents/docker-container-builder/AGENTS.md +27 -0
- package/runtime/agents/docker-container-builder/README.md +21 -0
- package/runtime/agents/docker-container-builder/agent.yaml +52 -0
- package/runtime/agents/docker-container-builder/capabilities/analyze-containerization-target/capability.yaml +18 -0
- package/runtime/agents/docker-container-builder/capabilities/analyze-containerization-target/decision-rules.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/analyze-containerization-target/runner.py +32 -0
- package/runtime/agents/docker-container-builder/capabilities/analyze-containerization-target/workflow.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-compose/capability.yaml +18 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-compose/decision-rules.md +7 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-compose/runner.py +32 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-compose/workflow.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-container-project-files/capability.yaml +20 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-container-project-files/decision-rules.md +7 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-container-project-files/runner.py +38 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-container-project-files/workflow.md +7 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-dockerfile/capability.yaml +18 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-dockerfile/decision-rules.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-dockerfile/runner.py +32 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-dockerfile/workflow.md +7 -0
- package/runtime/agents/docker-container-builder/capabilities/plan-image-build/capability.yaml +18 -0
- package/runtime/agents/docker-container-builder/capabilities/plan-image-build/decision-rules.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/plan-image-build/runner.py +32 -0
- package/runtime/agents/docker-container-builder/capabilities/plan-image-build/workflow.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/review-docker-security/capability.yaml +21 -0
- package/runtime/agents/docker-container-builder/capabilities/review-docker-security/decision-rules.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/review-docker-security/runner.py +43 -0
- package/runtime/agents/docker-container-builder/capabilities/review-docker-security/workflow.md +5 -0
- package/runtime/agents/docker-container-builder/infra/integrations/docker-container/docker_container_repository.py +837 -0
- package/runtime/agents/docker-container-builder/knowledge/context.md +21 -0
- package/runtime/agents/docker-container-builder/knowledge/policies.yaml +13 -0
- package/runtime/agents/docker-container-builder/knowledge/system.md +21 -0
- package/runtime/agents/docker-container-builder/templates/container-plan.md +4 -0
- package/runtime/agents/docker-container-builder/templates/container-review.md +4 -0
- package/runtime/agents/docker-container-builder/templates/docker-compose.md +5 -0
- package/runtime/agents/docker-container-builder/templates/docker-readme.md +3 -0
- package/runtime/agents/docker-container-builder/templates/dockerfile.md +5 -0
- package/runtime/agents/docker-container-builder/tests/test_runners.py +255 -0
- package/runtime/agents/drawio-diagram-builder/agent.yaml +11 -2
- package/runtime/agents/drawio-diagram-builder/capabilities/execute-diagram-delivery/capability.yaml +1 -1
- package/runtime/agents/drawio-diagram-builder/capabilities/read-azure-card-context/capability.yaml +1 -1
- package/runtime/agents/elasticsearch-log-analyzer/agent.yaml +14 -2
- package/runtime/agents/elasticsearch-log-analyzer/capabilities/analyze-service-errors/capability.yaml +14 -0
- package/runtime/agents/excel-workbook-builder/agent.yaml +10 -0
- package/runtime/agents/excel-workbook-builder/capabilities/create-template/capability.yaml +1 -1
- package/runtime/agents/excel-workbook-builder/capabilities/create-template/workflow.md +1 -1
- package/runtime/agents/excel-workbook-builder/capabilities/create-template-version/capability.yaml +1 -1
- package/runtime/agents/excel-workbook-builder/capabilities/generate-template-input-file/capability.yaml +1 -2
- package/runtime/agents/excel-workbook-builder/capabilities/refine-template/capability.yaml +1 -1
- package/runtime/agents/excel-workbook-builder/capabilities/register-template/capability.yaml +1 -2
- package/runtime/agents/excel-workbook-builder/capabilities/register-template/workflow.md +1 -1
- package/runtime/agents/execution-loop-builder/AGENTS.md +24 -0
- package/runtime/agents/execution-loop-builder/README.md +19 -0
- package/runtime/agents/execution-loop-builder/agent.yaml +49 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-project-files/capability.yaml +20 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-project-files/decision-rules.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-project-files/runner.py +38 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-project-files/workflow.md +7 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-runner/capability.yaml +18 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-runner/decision-rules.md +5 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-runner/runner.py +32 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-runner/workflow.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/plan-execution-loop/capability.yaml +18 -0
- package/runtime/agents/execution-loop-builder/capabilities/plan-execution-loop/decision-rules.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/plan-execution-loop/runner.py +32 -0
- package/runtime/agents/execution-loop-builder/capabilities/plan-execution-loop/workflow.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/register-loop-task/capability.yaml +19 -0
- package/runtime/agents/execution-loop-builder/capabilities/register-loop-task/decision-rules.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/register-loop-task/runner.py +36 -0
- package/runtime/agents/execution-loop-builder/capabilities/register-loop-task/workflow.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/review-loop-safety/capability.yaml +19 -0
- package/runtime/agents/execution-loop-builder/capabilities/review-loop-safety/decision-rules.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/review-loop-safety/runner.py +39 -0
- package/runtime/agents/execution-loop-builder/capabilities/review-loop-safety/workflow.md +5 -0
- package/runtime/agents/execution-loop-builder/infra/integrations/execution-loop/execution_loop_repository.py +608 -0
- package/runtime/agents/execution-loop-builder/knowledge/context.md +26 -0
- package/runtime/agents/execution-loop-builder/knowledge/policies.yaml +13 -0
- package/runtime/agents/execution-loop-builder/knowledge/system.md +19 -0
- package/runtime/agents/execution-loop-builder/templates/loop-plan.md +3 -0
- package/runtime/agents/execution-loop-builder/templates/loop-readme.md +3 -0
- package/runtime/agents/execution-loop-builder/templates/loop-review.md +3 -0
- package/runtime/agents/execution-loop-builder/templates/loop-runner.py +2 -0
- package/runtime/agents/execution-loop-builder/tests/test_runners.py +274 -0
- package/runtime/agents/execution-reviewer/AGENTS.md +8 -0
- package/runtime/agents/execution-reviewer/README.md +13 -0
- package/runtime/agents/execution-reviewer/agent.yaml +27 -0
- package/runtime/agents/execution-reviewer/capabilities/review-agent-result/capability.yaml +14 -0
- package/runtime/agents/execution-reviewer/capabilities/review-agent-result/decision-rules.md +6 -0
- package/runtime/agents/execution-reviewer/capabilities/review-agent-result/workflow.md +7 -0
- package/runtime/agents/execution-reviewer/capabilities/review-final-output/capability.yaml +14 -0
- package/runtime/agents/execution-reviewer/capabilities/review-final-output/decision-rules.md +6 -0
- package/runtime/agents/execution-reviewer/capabilities/review-final-output/workflow.md +7 -0
- package/runtime/agents/execution-reviewer/capabilities/review-plan/capability.yaml +14 -0
- package/runtime/agents/execution-reviewer/capabilities/review-plan/decision-rules.md +6 -0
- package/runtime/agents/execution-reviewer/capabilities/review-plan/workflow.md +7 -0
- package/runtime/agents/execution-reviewer/infra/README.md +4 -0
- package/runtime/agents/execution-reviewer/knowledge/context.md +6 -0
- package/runtime/agents/execution-reviewer/knowledge/system.md +18 -0
- package/runtime/agents/execution-reviewer/templates/README.md +4 -0
- package/runtime/agents/figma-ui-ux-product-designer/agent.yaml +17 -5
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/analyze-product-context/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/conduct-design-interview/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/conduct-design-review-session/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/generate-dev-handoff/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/generate-user-journey-diagram/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/ingest-design-source/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/triage-design-feedback/capability.yaml +1 -1
- package/runtime/agents/generic-agent-builder/AGENTS.md +20 -0
- package/runtime/agents/generic-agent-builder/README.md +40 -0
- package/runtime/agents/generic-agent-builder/agent.yaml +43 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-agent-instructions/capability.yaml +18 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-agent-instructions/decision-rules.md +5 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-agent-instructions/runner.py +33 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-agent-instructions/workflow.md +6 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-project-agent-files/capability.yaml +20 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-project-agent-files/decision-rules.md +6 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-project-agent-files/runner.py +39 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-project-agent-files/workflow.md +7 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-skill/capability.yaml +18 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-skill/decision-rules.md +5 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-skill/runner.py +33 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-skill/workflow.md +5 -0
- package/runtime/agents/generic-agent-builder/capabilities/plan-generic-agent/capability.yaml +18 -0
- package/runtime/agents/generic-agent-builder/capabilities/plan-generic-agent/decision-rules.md +6 -0
- package/runtime/agents/generic-agent-builder/capabilities/plan-generic-agent/runner.py +33 -0
- package/runtime/agents/generic-agent-builder/capabilities/plan-generic-agent/workflow.md +6 -0
- package/runtime/agents/generic-agent-builder/capabilities/review-generic-agent/capability.yaml +20 -0
- package/runtime/agents/generic-agent-builder/capabilities/review-generic-agent/decision-rules.md +6 -0
- package/runtime/agents/generic-agent-builder/capabilities/review-generic-agent/runner.py +40 -0
- package/runtime/agents/generic-agent-builder/capabilities/review-generic-agent/workflow.md +7 -0
- package/runtime/agents/generic-agent-builder/infra/integrations/generic-agent/generic_agent_repository.py +445 -0
- package/runtime/agents/generic-agent-builder/knowledge/context.md +11 -0
- package/runtime/agents/generic-agent-builder/knowledge/policies.yaml +12 -0
- package/runtime/agents/generic-agent-builder/knowledge/system.md +17 -0
- package/runtime/agents/generic-agent-builder/templates/generic-agent-instructions.md +17 -0
- package/runtime/agents/generic-agent-builder/templates/generic-review-report.md +13 -0
- package/runtime/agents/generic-agent-builder/templates/generic-skill.md +14 -0
- package/runtime/agents/generic-agent-builder/tests/test_runners.py +220 -0
- package/runtime/agents/github-pr-reviewer/agent.yaml +17 -5
- package/runtime/agents/github-pr-reviewer/capabilities/create-review-automation/capability.yaml +1 -1
- package/runtime/agents/github-pr-reviewer/capabilities/inspect-pr/capability.yaml +1 -1
- package/runtime/agents/github-pr-reviewer/capabilities/list-review-requests/capability.yaml +1 -1
- package/runtime/agents/github-pr-reviewer/capabilities/review-pr-diff/capability.yaml +1 -1
- package/runtime/agents/knowledge-generator/agent.yaml +13 -3
- package/runtime/agents/knowledge-generator/capabilities/generate-knowledge/capability.yaml +1 -1
- package/runtime/agents/local-llm-operator/AGENTS.md +8 -0
- package/runtime/agents/local-llm-operator/README.md +12 -0
- package/runtime/agents/local-llm-operator/agent.yaml +28 -0
- package/runtime/agents/local-llm-operator/capabilities/delegate-operational-task/capability.yaml +14 -0
- package/runtime/agents/local-llm-operator/capabilities/delegate-operational-task/decision-rules.md +6 -0
- package/runtime/agents/local-llm-operator/capabilities/delegate-operational-task/workflow.md +7 -0
- package/runtime/agents/local-llm-operator/capabilities/inspect-local-models/capability.yaml +14 -0
- package/runtime/agents/local-llm-operator/capabilities/inspect-local-models/decision-rules.md +5 -0
- package/runtime/agents/local-llm-operator/capabilities/inspect-local-models/workflow.md +6 -0
- package/runtime/agents/local-llm-operator/capabilities/select-local-worker/capability.yaml +14 -0
- package/runtime/agents/local-llm-operator/capabilities/select-local-worker/decision-rules.md +6 -0
- package/runtime/agents/local-llm-operator/capabilities/select-local-worker/workflow.md +7 -0
- package/runtime/agents/local-llm-operator/infra/README.md +4 -0
- package/runtime/agents/local-llm-operator/knowledge/context.md +6 -0
- package/runtime/agents/local-llm-operator/knowledge/system.md +18 -0
- package/runtime/agents/local-llm-operator/templates/README.md +4 -0
- package/runtime/agents/n1-support-agent/agent.yaml +40 -1
- package/runtime/agents/n2-support-agent/agent.yaml +41 -2
- package/runtime/agents/n2-support-agent/knowledge/policies.yaml +2 -2
- package/runtime/agents/notification-operator/AGENTS.md +11 -0
- package/runtime/agents/notification-operator/README.md +15 -0
- package/runtime/agents/notification-operator/agent.yaml +43 -0
- package/runtime/agents/notification-operator/capabilities/configure-notification-channel/capability.yaml +19 -0
- package/runtime/agents/notification-operator/capabilities/configure-notification-channel/decision-rules.md +6 -0
- package/runtime/agents/notification-operator/capabilities/configure-notification-channel/runner.py +33 -0
- package/runtime/agents/notification-operator/capabilities/configure-notification-channel/workflow.md +6 -0
- package/runtime/agents/notification-operator/capabilities/format-task-completion-notification/capability.yaml +25 -0
- package/runtime/agents/notification-operator/capabilities/format-task-completion-notification/decision-rules.md +7 -0
- package/runtime/agents/notification-operator/capabilities/format-task-completion-notification/runner.py +49 -0
- package/runtime/agents/notification-operator/capabilities/format-task-completion-notification/workflow.md +6 -0
- package/runtime/agents/notification-operator/capabilities/send-task-completion-notification/capability.yaml +27 -0
- package/runtime/agents/notification-operator/capabilities/send-task-completion-notification/decision-rules.md +6 -0
- package/runtime/agents/notification-operator/capabilities/send-task-completion-notification/runner.py +68 -0
- package/runtime/agents/notification-operator/capabilities/send-task-completion-notification/workflow.md +7 -0
- package/runtime/agents/notification-operator/infra/README.md +6 -0
- package/runtime/agents/notification-operator/knowledge/context.md +10 -0
- package/runtime/agents/notification-operator/knowledge/policies.yaml +9 -0
- package/runtime/agents/notification-operator/knowledge/system.md +7 -0
- package/runtime/agents/notification-operator/templates/README.md +6 -0
- package/runtime/agents/notification-operator/tests/test_runners.py +108 -0
- package/runtime/agents/playwright-automation-builder/AGENTS.md +23 -0
- package/runtime/agents/playwright-automation-builder/README.md +43 -0
- package/runtime/agents/playwright-automation-builder/agent.yaml +48 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-project-files/capability.yaml +20 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-project-files/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-project-files/runner.py +38 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-project-files/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-script/capability.yaml +18 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-script/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-script/runner.py +32 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-script/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/plan-playwright-automation/capability.yaml +18 -0
- package/runtime/agents/playwright-automation-builder/capabilities/plan-playwright-automation/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/plan-playwright-automation/runner.py +32 -0
- package/runtime/agents/playwright-automation-builder/capabilities/plan-playwright-automation/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/review-playwright-artifacts/capability.yaml +19 -0
- package/runtime/agents/playwright-automation-builder/capabilities/review-playwright-artifacts/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/review-playwright-artifacts/runner.py +33 -0
- package/runtime/agents/playwright-automation-builder/capabilities/review-playwright-artifacts/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/run-playwright-check/capability.yaml +22 -0
- package/runtime/agents/playwright-automation-builder/capabilities/run-playwright-check/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/run-playwright-check/runner.py +40 -0
- package/runtime/agents/playwright-automation-builder/capabilities/run-playwright-check/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/wrap-playwright-as-capability/capability.yaml +22 -0
- package/runtime/agents/playwright-automation-builder/capabilities/wrap-playwright-as-capability/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/wrap-playwright-as-capability/runner.py +42 -0
- package/runtime/agents/playwright-automation-builder/capabilities/wrap-playwright-as-capability/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/infra/integrations/playwright-automation/playwright_automation_repository.py +865 -0
- package/runtime/agents/playwright-automation-builder/knowledge/context.md +19 -0
- package/runtime/agents/playwright-automation-builder/knowledge/policies.yaml +25 -0
- package/runtime/agents/playwright-automation-builder/knowledge/system.md +19 -0
- package/runtime/agents/playwright-automation-builder/templates/capability-wrapper.md +4 -0
- package/runtime/agents/playwright-automation-builder/templates/playwright-automation.py +12 -0
- package/runtime/agents/playwright-automation-builder/templates/playwright-readme.md +13 -0
- package/runtime/agents/playwright-automation-builder/templates/playwright-review-report.md +9 -0
- package/runtime/agents/playwright-automation-builder/templates/playwright-test.py +2 -0
- package/runtime/agents/playwright-automation-builder/tests/test_runners.py +261 -0
- package/runtime/agents/postgres-data-analyzer/agent.yaml +13 -2
- package/runtime/agents/presentation-deck-builder/agent.yaml +14 -3
- package/runtime/agents/presentation-deck-builder/capabilities/create-template/capability.yaml +1 -1
- package/runtime/agents/presentation-deck-builder/capabilities/create-template-version/capability.yaml +1 -1
- package/runtime/agents/presentation-deck-builder/capabilities/generate-template-input-file/capability.yaml +1 -1
- package/runtime/agents/presentation-deck-builder/capabilities/refine-template/capability.yaml +1 -1
- package/runtime/agents/presentation-deck-builder/capabilities/register-template/capability.yaml +1 -1
- package/runtime/agents/presentation-deck-builder/knowledge/prompts/create-template.md +1 -1
- package/runtime/agents/presentation-deck-builder/knowledge/prompts/generate-template-input-file.md +1 -1
- package/runtime/agents/provider-configurator/AGENTS.md +8 -0
- package/runtime/agents/provider-configurator/README.md +5 -0
- package/runtime/agents/provider-configurator/agent.yaml +27 -0
- package/runtime/agents/provider-configurator/capabilities/collect-provider-credentials/capability.yaml +14 -0
- package/runtime/agents/provider-configurator/capabilities/collect-provider-credentials/decision-rules.md +6 -0
- package/runtime/agents/provider-configurator/capabilities/collect-provider-credentials/workflow.md +7 -0
- package/runtime/agents/provider-configurator/capabilities/configure-provider-source/capability.yaml +14 -0
- package/runtime/agents/provider-configurator/capabilities/configure-provider-source/decision-rules.md +6 -0
- package/runtime/agents/provider-configurator/capabilities/configure-provider-source/workflow.md +8 -0
- package/runtime/agents/provider-configurator/capabilities/validate-provider-readiness/capability.yaml +14 -0
- package/runtime/agents/provider-configurator/capabilities/validate-provider-readiness/decision-rules.md +6 -0
- package/runtime/agents/provider-configurator/capabilities/validate-provider-readiness/workflow.md +7 -0
- package/runtime/agents/provider-configurator/infra/README.md +5 -0
- package/runtime/agents/provider-configurator/knowledge/context.md +8 -0
- package/runtime/agents/provider-configurator/knowledge/system.md +19 -0
- package/runtime/agents/provider-configurator/templates/README.md +4 -0
- package/runtime/agents/pyautogui-automation-builder/AGENTS.md +32 -0
- package/runtime/agents/pyautogui-automation-builder/README.md +44 -0
- package/runtime/agents/pyautogui-automation-builder/agent.yaml +45 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-project-files/capability.yaml +20 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-project-files/decision-rules.md +6 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-project-files/runner.py +39 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-project-files/workflow.md +7 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-script/capability.yaml +18 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-script/decision-rules.md +7 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-script/runner.py +33 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-script/workflow.md +7 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/plan-desktop-automation/capability.yaml +18 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/plan-desktop-automation/decision-rules.md +8 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/plan-desktop-automation/runner.py +33 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/plan-desktop-automation/workflow.md +9 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/review-pyautogui-script/capability.yaml +20 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/review-pyautogui-script/decision-rules.md +8 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/review-pyautogui-script/runner.py +43 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/review-pyautogui-script/workflow.md +7 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/wrap-pyautogui-as-capability/capability.yaml +22 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/wrap-pyautogui-as-capability/decision-rules.md +6 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/wrap-pyautogui-as-capability/runner.py +43 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/wrap-pyautogui-as-capability/workflow.md +7 -0
- package/runtime/agents/pyautogui-automation-builder/infra/integrations/pyautogui-automation/pyautogui_automation_repository.py +856 -0
- package/runtime/agents/pyautogui-automation-builder/knowledge/context.md +17 -0
- package/runtime/agents/pyautogui-automation-builder/knowledge/policies.yaml +24 -0
- package/runtime/agents/pyautogui-automation-builder/knowledge/system.md +13 -0
- package/runtime/agents/pyautogui-automation-builder/templates/capability-wrapper.md +3 -0
- package/runtime/agents/pyautogui-automation-builder/templates/pyautogui-automation.py +12 -0
- package/runtime/agents/pyautogui-automation-builder/templates/pyautogui-readme.md +3 -0
- package/runtime/agents/pyautogui-automation-builder/templates/pyautogui-review-report.md +3 -0
- package/runtime/agents/pyautogui-automation-builder/templates/pyautogui-test.py +2 -0
- package/runtime/agents/pyautogui-automation-builder/tests/test_runners.py +376 -0
- package/runtime/agents/python-automation-builder/AGENTS.md +25 -0
- package/runtime/agents/python-automation-builder/README.md +43 -0
- package/runtime/agents/python-automation-builder/agent.yaml +45 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-automation-project-files/capability.yaml +20 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-automation-project-files/decision-rules.md +6 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-automation-project-files/runner.py +39 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-automation-project-files/workflow.md +7 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-python-automation/capability.yaml +18 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-python-automation/decision-rules.md +5 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-python-automation/runner.py +33 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-python-automation/workflow.md +5 -0
- package/runtime/agents/python-automation-builder/capabilities/plan-python-automation/capability.yaml +18 -0
- package/runtime/agents/python-automation-builder/capabilities/plan-python-automation/decision-rules.md +6 -0
- package/runtime/agents/python-automation-builder/capabilities/plan-python-automation/runner.py +33 -0
- package/runtime/agents/python-automation-builder/capabilities/plan-python-automation/workflow.md +6 -0
- package/runtime/agents/python-automation-builder/capabilities/review-python-automation/capability.yaml +20 -0
- package/runtime/agents/python-automation-builder/capabilities/review-python-automation/decision-rules.md +6 -0
- package/runtime/agents/python-automation-builder/capabilities/review-python-automation/runner.py +43 -0
- package/runtime/agents/python-automation-builder/capabilities/review-python-automation/workflow.md +5 -0
- package/runtime/agents/python-automation-builder/capabilities/wrap-automation-as-capability/capability.yaml +22 -0
- package/runtime/agents/python-automation-builder/capabilities/wrap-automation-as-capability/decision-rules.md +6 -0
- package/runtime/agents/python-automation-builder/capabilities/wrap-automation-as-capability/runner.py +43 -0
- package/runtime/agents/python-automation-builder/capabilities/wrap-automation-as-capability/workflow.md +6 -0
- package/runtime/agents/python-automation-builder/infra/integrations/python-automation/python_automation_repository.py +717 -0
- package/runtime/agents/python-automation-builder/knowledge/context.md +15 -0
- package/runtime/agents/python-automation-builder/knowledge/policies.yaml +12 -0
- package/runtime/agents/python-automation-builder/knowledge/system.md +19 -0
- package/runtime/agents/python-automation-builder/templates/automation-readme.md +13 -0
- package/runtime/agents/python-automation-builder/templates/automation-review-report.md +13 -0
- package/runtime/agents/python-automation-builder/templates/automation-test.py +9 -0
- package/runtime/agents/python-automation-builder/templates/automation.py +19 -0
- package/runtime/agents/python-automation-builder/templates/capability-wrapper.md +4 -0
- package/runtime/agents/python-automation-builder/tests/test_runners.py +292 -0
- package/runtime/agents/selenium-automation-builder/AGENTS.md +27 -0
- package/runtime/agents/selenium-automation-builder/README.md +40 -0
- package/runtime/agents/selenium-automation-builder/agent.yaml +45 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-project-files/capability.yaml +20 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-project-files/decision-rules.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-project-files/runner.py +39 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-project-files/workflow.md +7 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-script/capability.yaml +18 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-script/decision-rules.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-script/runner.py +33 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-script/workflow.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/plan-selenium-automation/capability.yaml +18 -0
- package/runtime/agents/selenium-automation-builder/capabilities/plan-selenium-automation/decision-rules.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/plan-selenium-automation/runner.py +33 -0
- package/runtime/agents/selenium-automation-builder/capabilities/plan-selenium-automation/workflow.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/review-selenium-script/capability.yaml +20 -0
- package/runtime/agents/selenium-automation-builder/capabilities/review-selenium-script/decision-rules.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/review-selenium-script/runner.py +40 -0
- package/runtime/agents/selenium-automation-builder/capabilities/review-selenium-script/workflow.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/wrap-selenium-as-capability/capability.yaml +22 -0
- package/runtime/agents/selenium-automation-builder/capabilities/wrap-selenium-as-capability/decision-rules.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/wrap-selenium-as-capability/runner.py +43 -0
- package/runtime/agents/selenium-automation-builder/capabilities/wrap-selenium-as-capability/workflow.md +6 -0
- package/runtime/agents/selenium-automation-builder/infra/integrations/selenium-automation/selenium_automation_repository.py +793 -0
- package/runtime/agents/selenium-automation-builder/knowledge/context.md +15 -0
- package/runtime/agents/selenium-automation-builder/knowledge/policies.yaml +17 -0
- package/runtime/agents/selenium-automation-builder/knowledge/system.md +18 -0
- package/runtime/agents/selenium-automation-builder/templates/capability-wrapper.md +4 -0
- package/runtime/agents/selenium-automation-builder/templates/selenium-automation.py +20 -0
- package/runtime/agents/selenium-automation-builder/templates/selenium-readme.md +13 -0
- package/runtime/agents/selenium-automation-builder/templates/selenium-review-report.md +13 -0
- package/runtime/agents/selenium-automation-builder/templates/selenium-test.py +9 -0
- package/runtime/agents/selenium-automation-builder/tests/test_runners.py +282 -0
- package/runtime/agents/software-specification-analyst/agent.yaml +17 -4
- package/runtime/agents/software-specification-analyst/capabilities/analyze-multiple-projects/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/analyze-project-context/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/conduct-requirements-interview/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/create-complete-spec/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/create-final-spec-from-analysis/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/create-functional-spec/capability.yaml +11 -0
- package/runtime/agents/software-specification-analyst/capabilities/create-technical-spec/capability.yaml +12 -0
- package/runtime/agents/software-specification-analyst/capabilities/refine-analysis-with-feedback/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/write-user-stories/capability.yaml +12 -0
- package/runtime/agents/sqlserver-change-operator/agent.yaml +12 -1
- package/runtime/agents/sqlserver-data-analyzer/agent.yaml +13 -2
- package/runtime/agents/supabase-project-analyst/AGENTS.md +29 -0
- package/runtime/agents/supabase-project-analyst/README.md +23 -0
- package/runtime/agents/supabase-project-analyst/agent.yaml +53 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-auth-security/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-auth-security/decision-rules.md +5 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-auth-security/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-auth-security/workflow.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-rls-policies/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-rls-policies/decision-rules.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-rls-policies/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-rls-policies/workflow.md +7 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-storage-policies/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-storage-policies/decision-rules.md +5 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-storage-policies/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-storage-policies/workflow.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/generate-supabase-report/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/generate-supabase-report/decision-rules.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/generate-supabase-report/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/generate-supabase-report/workflow.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/inspect-supabase-project/capability.yaml +19 -0
- package/runtime/agents/supabase-project-analyst/capabilities/inspect-supabase-project/decision-rules.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/inspect-supabase-project/runner.py +36 -0
- package/runtime/agents/supabase-project-analyst/capabilities/inspect-supabase-project/workflow.md +7 -0
- package/runtime/agents/supabase-project-analyst/capabilities/plan-supabase-fix/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/plan-supabase-fix/decision-rules.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/plan-supabase-fix/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/plan-supabase-fix/workflow.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/review-migrations/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/review-migrations/decision-rules.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/review-migrations/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/review-migrations/workflow.md +5 -0
- package/runtime/agents/supabase-project-analyst/infra/integrations/supabase-project/supabase_project_repository.py +589 -0
- package/runtime/agents/supabase-project-analyst/knowledge/context.md +11 -0
- package/runtime/agents/supabase-project-analyst/knowledge/policies.yaml +24 -0
- package/runtime/agents/supabase-project-analyst/knowledge/system.md +10 -0
- package/runtime/agents/supabase-project-analyst/templates/supabase-audit.md +3 -0
- package/runtime/agents/supabase-project-analyst/templates/supabase-fix-plan.md +3 -0
- package/runtime/agents/supabase-project-analyst/templates/supabase-inspection.md +3 -0
- package/runtime/agents/supabase-project-analyst/templates/supabase-report.md +3 -0
- package/runtime/agents/supabase-project-analyst/tests/test_runners.py +239 -0
- package/runtime/agents/task-orchestrator/AGENTS.md +8 -0
- package/runtime/agents/task-orchestrator/README.md +7 -0
- package/runtime/agents/task-orchestrator/agent.yaml +53 -0
- package/runtime/agents/task-orchestrator/capabilities/coordinate-execution/capability.yaml +15 -0
- package/runtime/agents/task-orchestrator/capabilities/coordinate-execution/decision-rules.md +6 -0
- package/runtime/agents/task-orchestrator/capabilities/coordinate-execution/workflow.md +7 -0
- package/runtime/agents/task-orchestrator/capabilities/plan-task/capability.yaml +14 -0
- package/runtime/agents/task-orchestrator/capabilities/plan-task/decision-rules.md +6 -0
- package/runtime/agents/task-orchestrator/capabilities/plan-task/workflow.md +8 -0
- package/runtime/agents/task-orchestrator/capabilities/select-specialists/capability.yaml +14 -0
- package/runtime/agents/task-orchestrator/capabilities/select-specialists/decision-rules.md +6 -0
- package/runtime/agents/task-orchestrator/capabilities/select-specialists/workflow.md +7 -0
- package/runtime/agents/task-orchestrator/infra/README.md +5 -0
- package/runtime/agents/task-orchestrator/knowledge/context.md +9 -0
- package/runtime/agents/task-orchestrator/knowledge/system.md +20 -0
- package/runtime/agents/task-orchestrator/templates/README.md +4 -0
- package/runtime/agents/technical-integration-analyst/agent.yaml +15 -2
- package/runtime/agents/topdesk-orchestrator/agent.yaml +10 -2
- package/runtime/cli/README.md +76 -11
- package/runtime/cli/aikit/__init__.py +1 -1
- package/runtime/cli/aikit/acceptance.py +166 -0
- package/runtime/cli/aikit/agent_executor.py +89 -0
- package/runtime/cli/aikit/agent_registry.py +319 -0
- package/runtime/cli/aikit/app_home.py +87 -2
- package/runtime/cli/aikit/architecture.py +84 -0
- package/runtime/cli/aikit/audit.py +216 -3
- package/runtime/cli/aikit/autonomy.py +237 -0
- package/runtime/cli/aikit/capability_runtime.py +522 -0
- package/runtime/cli/aikit/catalog.py +246 -0
- package/runtime/cli/aikit/cli_dispatch.py +1078 -0
- package/runtime/cli/aikit/cli_parser.py +409 -0
- package/runtime/cli/aikit/collaboration.py +359 -0
- package/runtime/cli/aikit/configuration_orchestrator.py +52 -26
- package/runtime/cli/aikit/contribution.py +105 -0
- package/runtime/cli/aikit/control_router.py +298 -0
- package/runtime/cli/aikit/core/__init__.py +1 -0
- package/runtime/cli/aikit/core/capability_contract.py +112 -0
- package/runtime/cli/aikit/core/requests.py +69 -0
- package/runtime/cli/aikit/core/runtime.py +64 -0
- package/runtime/cli/aikit/decision_store.py +17 -0
- package/runtime/cli/aikit/diagnostics.py +10 -3
- package/runtime/cli/aikit/doctor_runtime.py +79 -0
- package/runtime/cli/aikit/errors.py +7 -0
- package/runtime/cli/aikit/eval.py +158 -0
- package/runtime/cli/aikit/execution_reviewer.py +195 -0
- package/runtime/cli/aikit/extensions.py +140 -0
- package/runtime/cli/aikit/fallback.py +1 -0
- package/runtime/cli/aikit/github_pr.py +23 -0
- package/runtime/cli/aikit/guardrails.py +25 -10
- package/runtime/cli/aikit/human_output.py +1026 -0
- package/runtime/cli/aikit/impact_map.py +294 -0
- package/runtime/cli/aikit/install.py +4 -3
- package/runtime/cli/aikit/interactive_wizard.py +79 -0
- package/runtime/cli/aikit/local_llm_operator.py +146 -0
- package/runtime/cli/aikit/lock.py +4 -1
- package/runtime/cli/aikit/main.py +11 -2561
- package/runtime/cli/aikit/mcp_manifest.py +229 -0
- package/runtime/cli/aikit/mcp_server.py +132 -0
- package/runtime/cli/aikit/mcp_tools.py +262 -0
- package/runtime/cli/aikit/mini_brain.py +227 -0
- package/runtime/cli/aikit/model_router.py +193 -20
- package/runtime/cli/aikit/module_controller.py +335 -0
- package/runtime/cli/aikit/natural_prompt_runtime.py +538 -0
- package/runtime/cli/aikit/notifications.py +716 -2
- package/runtime/cli/aikit/ollama.py +1 -0
- package/runtime/cli/aikit/orchestrator.py +1225 -0
- package/runtime/cli/aikit/output.py +63 -2
- package/runtime/cli/aikit/permissions.py +14 -4
- package/runtime/cli/aikit/prompt_injection.py +57 -0
- package/runtime/cli/aikit/review_gate.py +38 -6
- package/runtime/cli/aikit/roadmap.py +195 -0
- package/runtime/cli/aikit/roadmap_cli.py +70 -0
- package/runtime/cli/aikit/router.py +41 -12
- package/runtime/cli/aikit/router_explain.py +152 -0
- package/runtime/cli/aikit/runtime_paths.py +11 -0
- package/runtime/cli/aikit/secrets.py +113 -0
- package/runtime/cli/aikit/sessions.py +125 -2
- package/runtime/cli/aikit/setup_wizard_payload.py +32 -0
- package/runtime/cli/aikit/sources.py +298 -46
- package/runtime/cli/aikit/tasks.py +449 -21
- package/runtime/cli/aikit/wizard_state.py +517 -0
- package/runtime/cli/aikit/workflows.py +115 -0
- package/runtime/cli/aikit/write_policy.py +108 -0
- package/runtime/plugins/claude-code-ai-devkit/README.md +17 -0
- package/runtime/plugins/claude-code-ai-devkit/agents/README.md +29 -2
- package/runtime/plugins/claude-code-ai-devkit/agents/agent-devkit-db-analyst.md +44 -0
- package/runtime/plugins/claude-code-ai-devkit/agents/agent-devkit-execution-reviewer.md +38 -0
- package/runtime/plugins/claude-code-ai-devkit/agents/agent-devkit-pr-reviewer.md +42 -0
- package/runtime/plugins/claude-code-ai-devkit/agents/agent-devkit-repo-explorer.md +40 -0
- package/runtime/plugins/claude-code-ai-devkit/agents/agent-devkit-support-triage.md +43 -0
- package/runtime/plugins/claude-code-ai-devkit/plugin.json +1 -1
- package/runtime/plugins/claude-code-ai-devkit/skills/ai-devkit-router/SKILL.md +16 -0
- package/runtime/plugins/claude-skill-ai-devkit/ai-devkit/SKILL.md +1 -0
- package/runtime/plugins/claude-skill-ai-devkit/ai-devkit/references/subagents.md +21 -0
- package/runtime/plugins/claude-skill-ai-devkit/plugin.json +1 -1
- package/runtime/providers/azure-devops.yaml +9 -0
- package/runtime/providers/github.yaml +4 -0
- package/runtime/providers/local-notification.yaml +5 -2
- package/runtime/providers/local-scheduler.yaml +1 -1
- package/runtime/providers/supabase.yaml +46 -0
- package/runtime/scripts/release-catalog-snapshot.json +543 -0
- package/runtime/scripts/release-gate.py +141 -1
- package/runtime/scripts/validate-repo.py +312 -0
- package/runtime/vendor/skills/napkin/napkin.md +15 -9
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Contexto
|
|
2
|
+
|
|
3
|
+
O projeto ja possui agentes AWS para analise, auditoria e operacoes. Este agente
|
|
4
|
+
nao substitui essas responsabilidades:
|
|
5
|
+
|
|
6
|
+
- `aws-operations-operator` opera recursos existentes com confirmacao.
|
|
7
|
+
- `aws-security-governance-auditor` audita recursos existentes.
|
|
8
|
+
- `aws-architecture-analyst` analisa workloads existentes.
|
|
9
|
+
|
|
10
|
+
O `aws-lambda-builder` cria artefatos locais para novas Lambdas e planos de
|
|
11
|
+
deploy revisaveis. Deploy real deve ser implementado futuramente como capability
|
|
12
|
+
separada com `write_policy: confirm`.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
write_policy:
|
|
2
|
+
planning: read_only
|
|
3
|
+
project_generation: local_write
|
|
4
|
+
security_review: read_only
|
|
5
|
+
package_local: local_write
|
|
6
|
+
deploy_plan: dry_run
|
|
7
|
+
deploy_real: blocked_by_default
|
|
8
|
+
supported_runtime_families:
|
|
9
|
+
- python
|
|
10
|
+
- nodejs
|
|
11
|
+
supported_triggers:
|
|
12
|
+
- api-gateway
|
|
13
|
+
- eventbridge-schedule
|
|
14
|
+
- sqs
|
|
15
|
+
- sns
|
|
16
|
+
- s3-event
|
|
17
|
+
- manual-test-event
|
|
18
|
+
guardrails:
|
|
19
|
+
block_hardcoded_secrets: true
|
|
20
|
+
block_unjustified_iam_wildcards: true
|
|
21
|
+
require_local_tests: true
|
|
22
|
+
require_event_fixture: true
|
|
23
|
+
prohibit_real_deploy: true
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# System
|
|
2
|
+
|
|
3
|
+
Voce e o `aws-lambda-builder`, especialista em gerar projetos AWS Lambda sem
|
|
4
|
+
executar deploy real. Seu trabalho e produzir planos e artefatos locais
|
|
5
|
+
revisaveis: handler, fixtures, testes, template SAM, revisao de seguranca,
|
|
6
|
+
pacote zip local e plano de deploy.
|
|
7
|
+
|
|
8
|
+
Nunca invoque AWS CLI, SAM deploy, Serverless deploy ou CDK deploy. Quando o
|
|
9
|
+
usuario pedir deploy, gere plano e checklist, deixando claro que `deploy_real`
|
|
10
|
+
e falso nesta capability.
|
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Tests for the AWS Lambda Builder runners."""
|
|
3
|
+
|
|
4
|
+
from __future__ import annotations
|
|
5
|
+
|
|
6
|
+
import importlib.util
|
|
7
|
+
import json
|
|
8
|
+
import py_compile
|
|
9
|
+
import subprocess
|
|
10
|
+
import sys
|
|
11
|
+
import tempfile
|
|
12
|
+
import unittest
|
|
13
|
+
import zipfile
|
|
14
|
+
from pathlib import Path
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
ROOT = Path(__file__).resolve().parents[3]
|
|
18
|
+
AGENT = ROOT / "agent"
|
|
19
|
+
AGENT_DIR = ROOT / "agents" / "aws-lambda-builder"
|
|
20
|
+
REPOSITORY_PATH = AGENT_DIR / "infra" / "integrations" / "aws-lambda" / "aws_lambda_repository.py"
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def load_repository_module():
|
|
24
|
+
spec = importlib.util.spec_from_file_location("aws_lambda_repository", REPOSITORY_PATH)
|
|
25
|
+
if spec is None or spec.loader is None:
|
|
26
|
+
raise RuntimeError(f"cannot load repository from {REPOSITORY_PATH}")
|
|
27
|
+
module = importlib.util.module_from_spec(spec)
|
|
28
|
+
spec.loader.exec_module(module)
|
|
29
|
+
return module
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class AwsLambdaBuilderRunnersTest(unittest.TestCase):
|
|
33
|
+
def setUp(self) -> None:
|
|
34
|
+
self.repository_module = load_repository_module()
|
|
35
|
+
|
|
36
|
+
def write_spec(
|
|
37
|
+
self,
|
|
38
|
+
root: Path,
|
|
39
|
+
*,
|
|
40
|
+
lambda_name: str = "Orders Webhook",
|
|
41
|
+
target_project: Path | None = None,
|
|
42
|
+
runtime_family: str = "python",
|
|
43
|
+
runtime: str = "python3.12",
|
|
44
|
+
handler: str = "handler.lambda_handler",
|
|
45
|
+
trigger: str = "api-gateway",
|
|
46
|
+
deploy_strategy: str = "sam",
|
|
47
|
+
env_value: str = "${APP_TABLE_NAME}",
|
|
48
|
+
iam_action: str = "dynamodb:PutItem",
|
|
49
|
+
iam_resource: str = "arn:aws:dynamodb:us-east-1:123456789012:table/orders",
|
|
50
|
+
iam_justification: str = "",
|
|
51
|
+
observability_extra: str = " dlq_or_destination: arn:aws:sqs:us-east-1:123456789012:orders-dlq\n",
|
|
52
|
+
purpose: str = "Receive order webhooks and enqueue normalized events.",
|
|
53
|
+
) -> Path:
|
|
54
|
+
path = root / "lambda-spec.yaml"
|
|
55
|
+
target_project_line = f"target_project: {target_project}\n" if target_project else ""
|
|
56
|
+
path.write_text(
|
|
57
|
+
f"""
|
|
58
|
+
lambda_name: {json.dumps(lambda_name)}
|
|
59
|
+
{target_project_line}purpose: {json.dumps(purpose)}
|
|
60
|
+
runtime_family: {json.dumps(runtime_family)}
|
|
61
|
+
runtime: {json.dumps(runtime)}
|
|
62
|
+
handler: {json.dumps(handler)}
|
|
63
|
+
trigger: {json.dumps(trigger)}
|
|
64
|
+
deploy_strategy: {json.dumps(deploy_strategy)}
|
|
65
|
+
timeout_seconds: 30
|
|
66
|
+
memory_mb: 256
|
|
67
|
+
input_schema:
|
|
68
|
+
type: object
|
|
69
|
+
output_schema:
|
|
70
|
+
type: object
|
|
71
|
+
environment_variables:
|
|
72
|
+
- name: APP_TABLE_NAME
|
|
73
|
+
value: {json.dumps(env_value)}
|
|
74
|
+
iam_permissions:
|
|
75
|
+
- action: {json.dumps(iam_action)}
|
|
76
|
+
resource: {json.dumps(iam_resource)}
|
|
77
|
+
justification: {json.dumps(iam_justification)}
|
|
78
|
+
observability:
|
|
79
|
+
structured_logging: true
|
|
80
|
+
{observability_extra}""".lstrip(),
|
|
81
|
+
encoding="utf-8",
|
|
82
|
+
)
|
|
83
|
+
return path
|
|
84
|
+
|
|
85
|
+
def test_plan_lambda_returns_plan_without_writing(self) -> None:
|
|
86
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
87
|
+
root = Path(tmpdir)
|
|
88
|
+
spec_path = self.write_spec(root)
|
|
89
|
+
repository = self.repository_module.AwsLambdaRepository(root=root)
|
|
90
|
+
|
|
91
|
+
result = repository.plan_lambda(spec_path=spec_path)
|
|
92
|
+
|
|
93
|
+
self.assertEqual(result["status"], "ok")
|
|
94
|
+
self.assertEqual(result["lambda"]["slug"], "orders-webhook")
|
|
95
|
+
self.assertEqual(result["write_policy"], "read_only")
|
|
96
|
+
planned_paths = {item["path"] for item in result["planned_artifacts"]}
|
|
97
|
+
self.assertGreaterEqual(planned_paths, {"src/handler.py", "tests/test_handler.py", "template.yaml"})
|
|
98
|
+
self.assertFalse((root / "src").exists())
|
|
99
|
+
|
|
100
|
+
def test_plan_lambda_reports_needs_input(self) -> None:
|
|
101
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
102
|
+
root = Path(tmpdir)
|
|
103
|
+
spec_path = root / "lambda-spec.yaml"
|
|
104
|
+
spec_path.write_text("lambda_name: incomplete\n", encoding="utf-8")
|
|
105
|
+
repository = self.repository_module.AwsLambdaRepository(root=root)
|
|
106
|
+
|
|
107
|
+
result = repository.plan_lambda(spec_path=spec_path)
|
|
108
|
+
|
|
109
|
+
self.assertEqual(result["status"], "needs-input")
|
|
110
|
+
self.assertGreaterEqual(
|
|
111
|
+
set(result["missing_fields"]),
|
|
112
|
+
{
|
|
113
|
+
"purpose",
|
|
114
|
+
"runtime_family",
|
|
115
|
+
"runtime",
|
|
116
|
+
"handler",
|
|
117
|
+
"trigger",
|
|
118
|
+
"input_schema",
|
|
119
|
+
"output_schema",
|
|
120
|
+
"environment_variables",
|
|
121
|
+
"iam_permissions",
|
|
122
|
+
"observability",
|
|
123
|
+
"timeout_seconds",
|
|
124
|
+
"memory_mb",
|
|
125
|
+
"deploy_strategy",
|
|
126
|
+
},
|
|
127
|
+
)
|
|
128
|
+
|
|
129
|
+
def test_plan_blocks_invalid_trigger(self) -> None:
|
|
130
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
131
|
+
root = Path(tmpdir)
|
|
132
|
+
spec_path = self.write_spec(root, trigger="kinesis")
|
|
133
|
+
repository = self.repository_module.AwsLambdaRepository(root=root)
|
|
134
|
+
|
|
135
|
+
result = repository.plan_lambda(spec_path=spec_path)
|
|
136
|
+
|
|
137
|
+
self.assertEqual(result["status"], "blocked")
|
|
138
|
+
self.assertEqual(result["reason"], "unsupported_trigger")
|
|
139
|
+
|
|
140
|
+
def test_plan_blocks_invalid_runtime_family(self) -> None:
|
|
141
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
142
|
+
root = Path(tmpdir)
|
|
143
|
+
spec_path = self.write_spec(root, runtime_family="ruby", runtime="ruby3.3")
|
|
144
|
+
repository = self.repository_module.AwsLambdaRepository(root=root)
|
|
145
|
+
|
|
146
|
+
result = repository.plan_lambda(spec_path=spec_path)
|
|
147
|
+
|
|
148
|
+
self.assertEqual(result["status"], "blocked")
|
|
149
|
+
self.assertEqual(result["reason"], "unsupported_runtime_family")
|
|
150
|
+
|
|
151
|
+
def test_plan_blocks_hardcoded_secret_env_value(self) -> None:
|
|
152
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
153
|
+
root = Path(tmpdir)
|
|
154
|
+
spec_path = self.write_spec(root, env_value="plain-token", purpose="Uses API_TOKEN: plain-token")
|
|
155
|
+
repository = self.repository_module.AwsLambdaRepository(root=root)
|
|
156
|
+
|
|
157
|
+
result = repository.plan_lambda(spec_path=spec_path)
|
|
158
|
+
|
|
159
|
+
self.assertEqual(result["status"], "blocked")
|
|
160
|
+
self.assertEqual(result["reason"], "security_guardrail_failed")
|
|
161
|
+
codes = {finding["code"] for finding in result["findings"]}
|
|
162
|
+
self.assertIn("hardcoded_secret_marker", codes)
|
|
163
|
+
|
|
164
|
+
def test_plan_blocks_iam_wildcard_without_justification(self) -> None:
|
|
165
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
166
|
+
root = Path(tmpdir)
|
|
167
|
+
spec_path = self.write_spec(root, iam_action="dynamodb:*", iam_resource="*")
|
|
168
|
+
repository = self.repository_module.AwsLambdaRepository(root=root)
|
|
169
|
+
|
|
170
|
+
result = repository.plan_lambda(spec_path=spec_path)
|
|
171
|
+
|
|
172
|
+
self.assertEqual(result["status"], "blocked")
|
|
173
|
+
codes = {finding["code"] for finding in result["findings"]}
|
|
174
|
+
self.assertIn("iam_action_wildcard_without_justification", codes)
|
|
175
|
+
|
|
176
|
+
def test_review_lambda_security_warns_resource_wildcard_when_justified(self) -> None:
|
|
177
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
178
|
+
root = Path(tmpdir)
|
|
179
|
+
spec_path = self.write_spec(
|
|
180
|
+
root,
|
|
181
|
+
iam_action="dynamodb:*",
|
|
182
|
+
iam_resource="*",
|
|
183
|
+
iam_justification="temporary bootstrap until table ARNs are known",
|
|
184
|
+
)
|
|
185
|
+
repository = self.repository_module.AwsLambdaRepository(root=root)
|
|
186
|
+
|
|
187
|
+
result = repository.review_lambda_security(spec_path=spec_path)
|
|
188
|
+
|
|
189
|
+
self.assertEqual(result["status"], "ok")
|
|
190
|
+
self.assertTrue(result["valid"])
|
|
191
|
+
codes = {finding["code"] for finding in result["findings"]}
|
|
192
|
+
self.assertIn("iam_resource_wildcard", codes)
|
|
193
|
+
|
|
194
|
+
def test_generate_lambda_project_dry_run_does_not_write(self) -> None:
|
|
195
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
196
|
+
root = Path(tmpdir)
|
|
197
|
+
target_project = root / "target-project"
|
|
198
|
+
target_project.mkdir()
|
|
199
|
+
spec_path = self.write_spec(root, target_project=target_project)
|
|
200
|
+
repository = self.repository_module.AwsLambdaRepository(root=root)
|
|
201
|
+
|
|
202
|
+
result = repository.generate_lambda_project(spec_path=spec_path)
|
|
203
|
+
|
|
204
|
+
self.assertEqual(result["status"], "planned")
|
|
205
|
+
self.assertTrue(result["dry_run"])
|
|
206
|
+
planned_paths = {item["path"] for item in result["planned_files"]}
|
|
207
|
+
self.assertGreaterEqual(
|
|
208
|
+
planned_paths,
|
|
209
|
+
{
|
|
210
|
+
"orders-webhook/src/handler.py",
|
|
211
|
+
"orders-webhook/tests/test_handler.py",
|
|
212
|
+
"orders-webhook/events/api-gateway.json",
|
|
213
|
+
"orders-webhook/template.yaml",
|
|
214
|
+
},
|
|
215
|
+
)
|
|
216
|
+
self.assertFalse((target_project / "orders-webhook").exists())
|
|
217
|
+
|
|
218
|
+
def test_generate_python_project_execute_writes_inside_target_project(self) -> None:
|
|
219
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
220
|
+
root = Path(tmpdir)
|
|
221
|
+
target_project = root / "target-project"
|
|
222
|
+
target_project.mkdir()
|
|
223
|
+
spec_path = self.write_spec(root, target_project=target_project)
|
|
224
|
+
repository = self.repository_module.AwsLambdaRepository(root=root)
|
|
225
|
+
|
|
226
|
+
result = repository.generate_lambda_project(spec_path=spec_path, execute=True)
|
|
227
|
+
|
|
228
|
+
self.assertEqual(result["status"], "written")
|
|
229
|
+
handler = target_project / "orders-webhook" / "src" / "handler.py"
|
|
230
|
+
self.assertTrue(handler.exists())
|
|
231
|
+
py_compile.compile(str(handler), doraise=True)
|
|
232
|
+
for item in result["written_files"]:
|
|
233
|
+
path = Path(item["path"]).resolve()
|
|
234
|
+
self.assertTrue(path.is_relative_to(target_project.resolve()), item["path"])
|
|
235
|
+
|
|
236
|
+
def test_generate_node_project_execute_writes_node_files(self) -> None:
|
|
237
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
238
|
+
root = Path(tmpdir)
|
|
239
|
+
target_project = root / "target-project"
|
|
240
|
+
target_project.mkdir()
|
|
241
|
+
spec_path = self.write_spec(
|
|
242
|
+
root,
|
|
243
|
+
target_project=target_project,
|
|
244
|
+
runtime_family="nodejs",
|
|
245
|
+
runtime="nodejs20.x",
|
|
246
|
+
handler="handler.handler",
|
|
247
|
+
trigger="sqs",
|
|
248
|
+
)
|
|
249
|
+
repository = self.repository_module.AwsLambdaRepository(root=root)
|
|
250
|
+
|
|
251
|
+
result = repository.generate_lambda_project(spec_path=spec_path, execute=True)
|
|
252
|
+
|
|
253
|
+
self.assertEqual(result["status"], "written")
|
|
254
|
+
self.assertTrue((target_project / "orders-webhook" / "src" / "handler.js").exists())
|
|
255
|
+
self.assertTrue((target_project / "orders-webhook" / "tests" / "handler.test.js").exists())
|
|
256
|
+
self.assertTrue((target_project / "orders-webhook" / "package.json").exists())
|
|
257
|
+
|
|
258
|
+
def test_generate_lambda_project_blocks_overwrite_without_permission(self) -> None:
|
|
259
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
260
|
+
root = Path(tmpdir)
|
|
261
|
+
target_project = root / "target-project"
|
|
262
|
+
target_project.mkdir()
|
|
263
|
+
spec_path = self.write_spec(root, target_project=target_project)
|
|
264
|
+
repository = self.repository_module.AwsLambdaRepository(root=root)
|
|
265
|
+
repository.generate_lambda_project(spec_path=spec_path, execute=True)
|
|
266
|
+
|
|
267
|
+
result = repository.generate_lambda_project(spec_path=spec_path, execute=True)
|
|
268
|
+
|
|
269
|
+
self.assertEqual(result["status"], "blocked")
|
|
270
|
+
self.assertEqual(result["reason"], "target_exists")
|
|
271
|
+
|
|
272
|
+
def test_package_lambda_dry_run_does_not_create_zip(self) -> None:
|
|
273
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
274
|
+
root = Path(tmpdir)
|
|
275
|
+
project = self.write_project(root)
|
|
276
|
+
repository = self.repository_module.AwsLambdaRepository(root=root)
|
|
277
|
+
|
|
278
|
+
result = repository.package_lambda(project_path=project)
|
|
279
|
+
|
|
280
|
+
self.assertEqual(result["status"], "planned")
|
|
281
|
+
self.assertTrue(result["dry_run"])
|
|
282
|
+
self.assertFalse(Path(result["archive_path"]).exists())
|
|
283
|
+
self.assertIn("src/handler.py", result["files"])
|
|
284
|
+
|
|
285
|
+
def test_package_lambda_execute_creates_zip(self) -> None:
|
|
286
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
287
|
+
root = Path(tmpdir)
|
|
288
|
+
project = self.write_project(root)
|
|
289
|
+
repository = self.repository_module.AwsLambdaRepository(root=root)
|
|
290
|
+
|
|
291
|
+
result = repository.package_lambda(project_path=project, execute=True)
|
|
292
|
+
|
|
293
|
+
self.assertEqual(result["status"], "written")
|
|
294
|
+
archive = Path(result["archive_path"])
|
|
295
|
+
self.assertTrue(archive.exists())
|
|
296
|
+
with zipfile.ZipFile(archive) as package:
|
|
297
|
+
names = set(package.namelist())
|
|
298
|
+
self.assertIn("src/handler.py", names)
|
|
299
|
+
self.assertNotIn(".env", names)
|
|
300
|
+
|
|
301
|
+
def test_deploy_lambda_plan_never_executes_real_deploy(self) -> None:
|
|
302
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
303
|
+
root = Path(tmpdir)
|
|
304
|
+
spec_path = self.write_spec(root)
|
|
305
|
+
repository = self.repository_module.AwsLambdaRepository(root=root)
|
|
306
|
+
|
|
307
|
+
result = repository.deploy_lambda_plan(spec_path=spec_path)
|
|
308
|
+
|
|
309
|
+
self.assertEqual(result["status"], "ok")
|
|
310
|
+
self.assertFalse(result["deploy_real"])
|
|
311
|
+
self.assertEqual(result["write_policy"], "dry_run")
|
|
312
|
+
self.assertIn("sam deploy", " ".join(result["commands_to_review"]))
|
|
313
|
+
self.assertIn("sam deploy", result["blocked_actions"])
|
|
314
|
+
|
|
315
|
+
def test_plan_lambda_runner_is_executable_through_agent_cli(self) -> None:
|
|
316
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
317
|
+
spec_path = self.write_spec(Path(tmpdir))
|
|
318
|
+
|
|
319
|
+
result = subprocess.run(
|
|
320
|
+
[
|
|
321
|
+
sys.executable,
|
|
322
|
+
str(AGENT),
|
|
323
|
+
"--json",
|
|
324
|
+
"run",
|
|
325
|
+
"aws-lambda-builder",
|
|
326
|
+
"plan-lambda",
|
|
327
|
+
"--spec",
|
|
328
|
+
str(spec_path),
|
|
329
|
+
],
|
|
330
|
+
cwd=ROOT,
|
|
331
|
+
check=False,
|
|
332
|
+
text=True,
|
|
333
|
+
stdout=subprocess.PIPE,
|
|
334
|
+
stderr=subprocess.PIPE,
|
|
335
|
+
timeout=60,
|
|
336
|
+
)
|
|
337
|
+
|
|
338
|
+
self.assertEqual(result.returncode, 0, result.stderr or result.stdout)
|
|
339
|
+
payload = json.loads(result.stdout)
|
|
340
|
+
runner_payload = json.loads(payload["stdout"])
|
|
341
|
+
self.assertEqual(runner_payload["status"], "ok")
|
|
342
|
+
self.assertEqual(runner_payload["lambda"]["slug"], "orders-webhook")
|
|
343
|
+
|
|
344
|
+
def write_project(self, root: Path) -> Path:
|
|
345
|
+
project = root / "orders-webhook"
|
|
346
|
+
(project / "src").mkdir(parents=True)
|
|
347
|
+
(project / "events").mkdir()
|
|
348
|
+
(project / "src" / "handler.py").write_text("def lambda_handler(event, context):\n return {}\n", encoding="utf-8")
|
|
349
|
+
(project / "events" / "api-gateway.json").write_text("{}", encoding="utf-8")
|
|
350
|
+
(project / ".env").write_text("SECRET=value\n", encoding="utf-8")
|
|
351
|
+
return project
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
if __name__ == "__main__":
|
|
355
|
+
unittest.main()
|
|
@@ -64,10 +64,22 @@ agent_surface:
|
|
|
64
64
|
- ../../vendor/skills/CATALOG.md
|
|
65
65
|
|
|
66
66
|
write_policy:
|
|
67
|
-
read_operations:
|
|
68
|
-
dry_run:
|
|
69
|
-
execute_operations:
|
|
70
|
-
production_operations:
|
|
67
|
+
read_operations: read_only
|
|
68
|
+
dry_run: dry_run
|
|
69
|
+
execute_operations: confirm
|
|
70
|
+
production_operations: confirm
|
|
71
71
|
destructive_operations: blocked_by_default
|
|
72
|
-
account_validation:
|
|
73
|
-
sensitive_payloads:
|
|
72
|
+
account_validation: confirm
|
|
73
|
+
sensitive_payloads: output_only
|
|
74
|
+
|
|
75
|
+
routing:
|
|
76
|
+
anchors:
|
|
77
|
+
- aws
|
|
78
|
+
- cloudfront
|
|
79
|
+
- ecs
|
|
80
|
+
- eventbridge
|
|
81
|
+
- lambda
|
|
82
|
+
- sqs
|
|
83
|
+
intents:
|
|
84
|
+
- aws.operations
|
|
85
|
+
priority: 50
|
|
@@ -57,8 +57,20 @@ agent_surface:
|
|
|
57
57
|
- ../../vendor/skills/CATALOG.md
|
|
58
58
|
|
|
59
59
|
write_policy:
|
|
60
|
-
read_operations:
|
|
61
|
-
artifact_generation:
|
|
62
|
-
remediation_execution:
|
|
63
|
-
aws_mutations:
|
|
64
|
-
external_side_effects:
|
|
60
|
+
read_operations: read_only
|
|
61
|
+
artifact_generation: read_only
|
|
62
|
+
remediation_execution: blocked_by_default
|
|
63
|
+
aws_mutations: blocked_by_default
|
|
64
|
+
external_side_effects: blocked_by_default
|
|
65
|
+
|
|
66
|
+
routing:
|
|
67
|
+
anchors:
|
|
68
|
+
- aws
|
|
69
|
+
- cloudtrail
|
|
70
|
+
- iam
|
|
71
|
+
- s3
|
|
72
|
+
- security
|
|
73
|
+
- seguranca
|
|
74
|
+
intents:
|
|
75
|
+
- aws.security.audit
|
|
76
|
+
priority: 50
|
|
@@ -48,9 +48,22 @@ agent_surface:
|
|
|
48
48
|
- knowledge/policies.yaml
|
|
49
49
|
|
|
50
50
|
write_policy:
|
|
51
|
-
read_operations:
|
|
51
|
+
read_operations: read_only
|
|
52
52
|
comment_operations: confirm
|
|
53
53
|
tag_operations: confirm
|
|
54
54
|
assign_operations: confirm
|
|
55
55
|
move_state_operations: confirm
|
|
56
|
-
bulk_operations:
|
|
56
|
+
bulk_operations: confirm
|
|
57
|
+
|
|
58
|
+
routing:
|
|
59
|
+
anchors:
|
|
60
|
+
- azure
|
|
61
|
+
- board
|
|
62
|
+
- card
|
|
63
|
+
- devops
|
|
64
|
+
- item
|
|
65
|
+
- work
|
|
66
|
+
- workitem
|
|
67
|
+
intents:
|
|
68
|
+
- work-item.card
|
|
69
|
+
priority: 80
|
|
@@ -32,4 +32,33 @@ integration:
|
|
|
32
32
|
- ../../infra/integrations/azure/methods/get-work-item.yaml
|
|
33
33
|
- ../../infra/integrations/azure/methods/get-work-item-comments.yaml
|
|
34
34
|
|
|
35
|
+
runtime:
|
|
36
|
+
provider: azure-devops
|
|
37
|
+
source:
|
|
38
|
+
enabled: true
|
|
39
|
+
args:
|
|
40
|
+
project: --project
|
|
41
|
+
AZURE_DEVOPS_PROJECT: --project
|
|
42
|
+
fixture: --fixture
|
|
43
|
+
env:
|
|
44
|
+
org: AZURE_DEVOPS_ORG
|
|
45
|
+
organization: AZURE_DEVOPS_ORG
|
|
46
|
+
project: AZURE_DEVOPS_PROJECT
|
|
47
|
+
api_version: AZURE_DEVOPS_API_VERSION
|
|
48
|
+
AZURE_DEVOPS_ORG: AZURE_DEVOPS_ORG
|
|
49
|
+
AZURE_DEVOPS_PROJECT: AZURE_DEVOPS_PROJECT
|
|
50
|
+
AZURE_DEVOPS_API_VERSION: AZURE_DEVOPS_API_VERSION
|
|
51
|
+
|
|
35
52
|
write_policy: read_only
|
|
53
|
+
|
|
54
|
+
routing:
|
|
55
|
+
anchors:
|
|
56
|
+
- card
|
|
57
|
+
- tarefa
|
|
58
|
+
- work item
|
|
59
|
+
- workitem
|
|
60
|
+
intents:
|
|
61
|
+
- work-item.card.read
|
|
62
|
+
examples:
|
|
63
|
+
- analise o card 9900
|
|
64
|
+
priority: 90
|
|
@@ -60,5 +60,15 @@ agent_surface:
|
|
|
60
60
|
- knowledge/policies.yaml
|
|
61
61
|
|
|
62
62
|
write_policy:
|
|
63
|
-
read_operations:
|
|
64
|
-
mutation_operations:
|
|
63
|
+
read_operations: read_only
|
|
64
|
+
mutation_operations: blocked_by_default
|
|
65
|
+
|
|
66
|
+
routing:
|
|
67
|
+
anchors:
|
|
68
|
+
- bpo
|
|
69
|
+
- cpf
|
|
70
|
+
- proposal
|
|
71
|
+
- proposta
|
|
72
|
+
intents:
|
|
73
|
+
- bpo.proposal.analysis
|
|
74
|
+
priority: 50
|
|
@@ -98,7 +98,19 @@ agent_surface:
|
|
|
98
98
|
- knowledge/data-policies.md
|
|
99
99
|
|
|
100
100
|
write_policy:
|
|
101
|
-
read_operations:
|
|
102
|
-
generated_artifacts:
|
|
103
|
-
source_mutation:
|
|
104
|
-
external_side_effects:
|
|
101
|
+
read_operations: read_only
|
|
102
|
+
generated_artifacts: output_only
|
|
103
|
+
source_mutation: blocked_by_default
|
|
104
|
+
external_side_effects: blocked_by_default
|
|
105
|
+
|
|
106
|
+
routing:
|
|
107
|
+
anchors:
|
|
108
|
+
- cohort
|
|
109
|
+
- dados
|
|
110
|
+
- data
|
|
111
|
+
- dataset
|
|
112
|
+
- estatistica
|
|
113
|
+
- modelo
|
|
114
|
+
intents:
|
|
115
|
+
- data.analysis
|
|
116
|
+
priority: 50
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
# da spec agentic.
|
|
5
5
|
|
|
6
6
|
write_policy:
|
|
7
|
-
read_operations:
|
|
8
|
-
generated_artifacts:
|
|
9
|
-
source_mutation:
|
|
10
|
-
external_side_effects:
|
|
7
|
+
read_operations: read_only
|
|
8
|
+
generated_artifacts: output_only
|
|
9
|
+
source_mutation: blocked_by_default
|
|
10
|
+
external_side_effects: blocked_by_default
|
|
11
11
|
|
|
12
12
|
pii_masking:
|
|
13
13
|
mask_if_sensitive:
|
|
@@ -17,7 +17,7 @@ ESCOPO
|
|
|
17
17
|
conciliacao de planilhas, relatorios e delegacao de SQL read-only.
|
|
18
18
|
- Nao pode: alterar a fonte, escrever em bancos/planilhas/sistemas externos,
|
|
19
19
|
rodar acoes com efeito colateral. Tudo e somente leitura
|
|
20
|
-
(write_policy.source_mutation:
|
|
20
|
+
(write_policy.source_mutation: blocked_by_default; external_side_effects: blocked_by_default).
|
|
21
21
|
|
|
22
22
|
PRINCIPIOS DE DECISAO
|
|
23
23
|
1. Profile antes de concluir. Sempre rode profile-dataset (ou ja tenha o JSON)
|
|
@@ -1439,7 +1439,7 @@ class DataScientistAnalystRunnersTest(unittest.TestCase):
|
|
|
1439
1439
|
self.assertIn("write_policy", policies)
|
|
1440
1440
|
self.assertIn("pii_masking", policies)
|
|
1441
1441
|
self.assertIn("decision_rules", policies)
|
|
1442
|
-
self.assertEqual(policies["write_policy"]["source_mutation"], "
|
|
1442
|
+
self.assertEqual(policies["write_policy"]["source_mutation"], "blocked_by_default")
|
|
1443
1443
|
masked = policies["pii_masking"]["mask_if_sensitive"]
|
|
1444
1444
|
for field in ["cpf", "cnpj", "email", "telefone", "nome"]:
|
|
1445
1445
|
self.assertIn(field, masked, f"pii_masking must cover '{field}'")
|