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,188 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Tests for the Agent DevKit Agent Builder runners."""
|
|
3
|
+
|
|
4
|
+
from __future__ import annotations
|
|
5
|
+
|
|
6
|
+
import importlib.util
|
|
7
|
+
import json
|
|
8
|
+
import subprocess
|
|
9
|
+
import sys
|
|
10
|
+
import tempfile
|
|
11
|
+
import unittest
|
|
12
|
+
from pathlib import Path
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
ROOT = Path(__file__).resolve().parents[3]
|
|
16
|
+
AGENT = ROOT / "agent"
|
|
17
|
+
AGENT_DIR = ROOT / "agents" / "agent-devkit-agent-builder"
|
|
18
|
+
REPOSITORY_PATH = AGENT_DIR / "infra" / "integrations" / "agent-devkit" / "agent_builder_repository.py"
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def load_repository_module():
|
|
22
|
+
spec = importlib.util.spec_from_file_location("agent_builder_repository", REPOSITORY_PATH)
|
|
23
|
+
if spec is None or spec.loader is None:
|
|
24
|
+
raise RuntimeError(f"cannot load repository from {REPOSITORY_PATH}")
|
|
25
|
+
module = importlib.util.module_from_spec(spec)
|
|
26
|
+
spec.loader.exec_module(module)
|
|
27
|
+
return module
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class AgentBuilderRunnersTest(unittest.TestCase):
|
|
31
|
+
def setUp(self) -> None:
|
|
32
|
+
self.repository_module = load_repository_module()
|
|
33
|
+
|
|
34
|
+
def write_spec(self, root: Path, *, agent_id: str = "sample-builder-agent") -> Path:
|
|
35
|
+
path = root / "agent-spec.yaml"
|
|
36
|
+
path.write_text(
|
|
37
|
+
f"""
|
|
38
|
+
agent_id: {agent_id}
|
|
39
|
+
name: Sample Builder Agent
|
|
40
|
+
purpose: >
|
|
41
|
+
Criar artefatos de exemplo para validar o builder interno do Agent DevKit.
|
|
42
|
+
domain: internal tooling
|
|
43
|
+
capabilities:
|
|
44
|
+
- id: inspect-sample
|
|
45
|
+
purpose: Inspecionar uma fonte local em modo read-only.
|
|
46
|
+
write_policy: read_only
|
|
47
|
+
providers: []
|
|
48
|
+
risk_profile: low
|
|
49
|
+
""".lstrip(),
|
|
50
|
+
encoding="utf-8",
|
|
51
|
+
)
|
|
52
|
+
return path
|
|
53
|
+
|
|
54
|
+
def test_plan_agent_returns_planned_files_without_writing(self) -> None:
|
|
55
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
56
|
+
root = Path(tmpdir)
|
|
57
|
+
spec_path = self.write_spec(root)
|
|
58
|
+
repository = self.repository_module.AgentBuilderRepository(root=root)
|
|
59
|
+
|
|
60
|
+
result = repository.plan_agent(spec_path=spec_path)
|
|
61
|
+
|
|
62
|
+
self.assertEqual(result["status"], "ok")
|
|
63
|
+
self.assertEqual(result["agent"]["id"], "sample-builder-agent")
|
|
64
|
+
planned_paths = {item["path"] for item in result["planned_files"]}
|
|
65
|
+
self.assertGreaterEqual(
|
|
66
|
+
planned_paths,
|
|
67
|
+
{
|
|
68
|
+
"agents/sample-builder-agent/agent.yaml",
|
|
69
|
+
"agents/sample-builder-agent/AGENTS.md",
|
|
70
|
+
"agents/sample-builder-agent/README.md",
|
|
71
|
+
"agents/sample-builder-agent/capabilities/inspect-sample/capability.yaml",
|
|
72
|
+
"agents/sample-builder-agent/capabilities/inspect-sample/workflow.md",
|
|
73
|
+
"agents/sample-builder-agent/capabilities/inspect-sample/decision-rules.md",
|
|
74
|
+
},
|
|
75
|
+
)
|
|
76
|
+
self.assertFalse((root / "agents" / "sample-builder-agent").exists())
|
|
77
|
+
|
|
78
|
+
def test_plan_agent_reports_needs_input_for_incomplete_spec(self) -> None:
|
|
79
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
80
|
+
root = Path(tmpdir)
|
|
81
|
+
spec_path = root / "agent-spec.yaml"
|
|
82
|
+
spec_path.write_text("agent_id: incomplete-agent\n", encoding="utf-8")
|
|
83
|
+
repository = self.repository_module.AgentBuilderRepository(root=root)
|
|
84
|
+
|
|
85
|
+
result = repository.plan_agent(spec_path=spec_path)
|
|
86
|
+
|
|
87
|
+
self.assertEqual(result["status"], "needs-input")
|
|
88
|
+
self.assertGreaterEqual(set(result["missing_fields"]), {"name", "purpose", "domain", "capabilities"})
|
|
89
|
+
|
|
90
|
+
def test_scaffold_agent_dry_run_does_not_write_files(self) -> None:
|
|
91
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
92
|
+
root = Path(tmpdir)
|
|
93
|
+
spec_path = self.write_spec(root)
|
|
94
|
+
repository = self.repository_module.AgentBuilderRepository(root=root)
|
|
95
|
+
|
|
96
|
+
result = repository.scaffold_agent(spec_path=spec_path, execute=False)
|
|
97
|
+
|
|
98
|
+
self.assertEqual(result["status"], "planned")
|
|
99
|
+
self.assertTrue(result["dry_run"])
|
|
100
|
+
self.assertFalse((root / "agents" / "sample-builder-agent").exists())
|
|
101
|
+
|
|
102
|
+
def test_scaffold_agent_execute_writes_only_inside_agent_directory(self) -> None:
|
|
103
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
104
|
+
root = Path(tmpdir)
|
|
105
|
+
spec_path = self.write_spec(root)
|
|
106
|
+
repository = self.repository_module.AgentBuilderRepository(root=root)
|
|
107
|
+
|
|
108
|
+
result = repository.scaffold_agent(spec_path=spec_path, execute=True)
|
|
109
|
+
|
|
110
|
+
self.assertEqual(result["status"], "written")
|
|
111
|
+
agent_root = root / "agents" / "sample-builder-agent"
|
|
112
|
+
self.assertTrue((agent_root / "agent.yaml").exists())
|
|
113
|
+
self.assertTrue((agent_root / "AGENTS.md").exists())
|
|
114
|
+
self.assertTrue((agent_root / "README.md").exists())
|
|
115
|
+
self.assertTrue((agent_root / "knowledge" / "system.md").exists())
|
|
116
|
+
self.assertTrue((agent_root / "templates" / "README.md").exists())
|
|
117
|
+
self.assertTrue((agent_root / "infra" / "README.md").exists())
|
|
118
|
+
for item in result["written_files"]:
|
|
119
|
+
path = (root / item["path"]).resolve()
|
|
120
|
+
self.assertTrue(path.is_relative_to(agent_root.resolve()), item["path"])
|
|
121
|
+
|
|
122
|
+
def test_scaffold_agent_blocks_overwrite_without_explicit_permission(self) -> None:
|
|
123
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
124
|
+
root = Path(tmpdir)
|
|
125
|
+
spec_path = self.write_spec(root)
|
|
126
|
+
repository = self.repository_module.AgentBuilderRepository(root=root)
|
|
127
|
+
repository.scaffold_agent(spec_path=spec_path, execute=True)
|
|
128
|
+
|
|
129
|
+
result = repository.scaffold_agent(spec_path=spec_path, execute=True)
|
|
130
|
+
|
|
131
|
+
self.assertEqual(result["status"], "blocked")
|
|
132
|
+
self.assertEqual(result["reason"], "agent_exists")
|
|
133
|
+
|
|
134
|
+
def test_plan_agent_blocks_path_traversal_agent_id(self) -> None:
|
|
135
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
136
|
+
root = Path(tmpdir)
|
|
137
|
+
spec_path = self.write_spec(root, agent_id="../bad-agent")
|
|
138
|
+
repository = self.repository_module.AgentBuilderRepository(root=root)
|
|
139
|
+
|
|
140
|
+
result = repository.plan_agent(spec_path=spec_path)
|
|
141
|
+
|
|
142
|
+
self.assertEqual(result["status"], "blocked")
|
|
143
|
+
self.assertEqual(result["reason"], "invalid_agent_id")
|
|
144
|
+
|
|
145
|
+
def test_validate_agent_contract_accepts_generated_agent(self) -> None:
|
|
146
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
147
|
+
root = Path(tmpdir)
|
|
148
|
+
spec_path = self.write_spec(root)
|
|
149
|
+
repository = self.repository_module.AgentBuilderRepository(root=root)
|
|
150
|
+
repository.scaffold_agent(spec_path=spec_path, execute=True)
|
|
151
|
+
|
|
152
|
+
result = repository.validate_agent_contract(agent_id="sample-builder-agent")
|
|
153
|
+
|
|
154
|
+
self.assertTrue(result["valid"])
|
|
155
|
+
self.assertEqual(result["errors"], [])
|
|
156
|
+
|
|
157
|
+
def test_plan_agent_runner_is_executable_through_agent_cli(self) -> None:
|
|
158
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
159
|
+
spec_path = self.write_spec(Path(tmpdir))
|
|
160
|
+
|
|
161
|
+
result = subprocess.run(
|
|
162
|
+
[
|
|
163
|
+
sys.executable,
|
|
164
|
+
str(AGENT),
|
|
165
|
+
"--json",
|
|
166
|
+
"run",
|
|
167
|
+
"agent-devkit-agent-builder",
|
|
168
|
+
"plan-agent",
|
|
169
|
+
"--spec",
|
|
170
|
+
str(spec_path),
|
|
171
|
+
],
|
|
172
|
+
cwd=ROOT,
|
|
173
|
+
check=False,
|
|
174
|
+
text=True,
|
|
175
|
+
stdout=subprocess.PIPE,
|
|
176
|
+
stderr=subprocess.PIPE,
|
|
177
|
+
timeout=60,
|
|
178
|
+
)
|
|
179
|
+
|
|
180
|
+
self.assertEqual(result.returncode, 0, result.stderr or result.stdout)
|
|
181
|
+
payload = json.loads(result.stdout)
|
|
182
|
+
runner_payload = json.loads(payload["stdout"])
|
|
183
|
+
self.assertEqual(runner_payload["status"], "ok")
|
|
184
|
+
self.assertEqual(runner_payload["agent"]["id"], "sample-builder-agent")
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
if __name__ == "__main__":
|
|
188
|
+
unittest.main()
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Automation Architect
|
|
2
|
+
|
|
3
|
+
Instrucoes locais para trabalhar no agente `automation-architect`.
|
|
4
|
+
|
|
5
|
+
- Mantenha o agente como arquiteto de automacoes, nao como executor universal.
|
|
6
|
+
- Prefira classificacao deterministica e explicavel antes de qualquer uso de LLM.
|
|
7
|
+
- Nao replique geradores especializados existentes; delegue por contrato para o
|
|
8
|
+
agente mais especifico.
|
|
9
|
+
- Bloqueie escrita externa e execucao real por padrao.
|
|
10
|
+
- Justifique qualquer recomendacao de browser ou desktop automation quando API,
|
|
11
|
+
CLI ou repository forem alternativas plausiveis.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Automation Architect
|
|
2
|
+
|
|
3
|
+
Agente especialista para classificar pedidos de automacao, escolher a tecnologia
|
|
4
|
+
adequada, planejar a solucao e indicar delegacao para builders especificos do
|
|
5
|
+
Agent DevKit.
|
|
6
|
+
|
|
7
|
+
## Capabilities
|
|
8
|
+
|
|
9
|
+
- `classify-automation-request`: classifica um pedido de automacao e recomenda
|
|
10
|
+
abordagem, riscos e agente especializado.
|
|
11
|
+
- `plan-automation-solution`: gera plano de arquitetura da automacao, incluindo
|
|
12
|
+
contrato, guardrails, alternativa e proximo passo.
|
|
13
|
+
- `delegate-automation-build`: retorna um contrato de delegacao manual para o
|
|
14
|
+
builder adequado, sem executar o agente delegado.
|
|
15
|
+
- `review-automation-solution`: revisa plano ou solucao de automacao contra os
|
|
16
|
+
guardrails do arquiteto.
|
|
17
|
+
|
|
18
|
+
## Exemplo
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
agent run automation-architect classify-automation-request \
|
|
22
|
+
--request "automatize a coleta diaria de relatorios via API e salve CSV"
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
O agente deve escolher o caminho mais simples e robusto: API/CLI/repository antes
|
|
26
|
+
de browser, browser antes de desktop visual, e cloud/serverless apenas quando o
|
|
27
|
+
problema realmente pedir execucao event-driven ou gerenciada.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
id: automation-architect
|
|
2
|
+
kind: specialist-agent
|
|
3
|
+
name: Automation Architect
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
status: draft
|
|
6
|
+
owner: agent-devkit
|
|
7
|
+
purpose: >
|
|
8
|
+
Classificar pedidos de automacao, escolher a abordagem correta, planejar a
|
|
9
|
+
solucao e delegar por contrato para builders especializados sem duplicar os
|
|
10
|
+
geradores de Python, Selenium, PyAutoGUI, Lambda, Docker ou loops.
|
|
11
|
+
default_context:
|
|
12
|
+
- knowledge/system.md
|
|
13
|
+
- knowledge/context.md
|
|
14
|
+
- knowledge/policies.yaml
|
|
15
|
+
env:
|
|
16
|
+
required: []
|
|
17
|
+
optional: []
|
|
18
|
+
capabilities:
|
|
19
|
+
- classify-automation-request
|
|
20
|
+
- plan-automation-solution
|
|
21
|
+
- delegate-automation-build
|
|
22
|
+
- review-automation-solution
|
|
23
|
+
agent_surface:
|
|
24
|
+
repositories:
|
|
25
|
+
- infra/integrations/automation-architecture/automation_architecture_repository.py
|
|
26
|
+
policies:
|
|
27
|
+
- knowledge/policies.yaml
|
|
28
|
+
write_policy:
|
|
29
|
+
classification: read_only
|
|
30
|
+
planning: read_only
|
|
31
|
+
delegation: delegated
|
|
32
|
+
review: read_only
|
|
33
|
+
external_side_effects: blocked_by_default
|
|
34
|
+
routing:
|
|
35
|
+
anchors:
|
|
36
|
+
- automation-architect
|
|
37
|
+
- automation-architecture
|
|
38
|
+
- arquiteto-automacao
|
|
39
|
+
- automatize
|
|
40
|
+
- automacao
|
|
41
|
+
keywords:
|
|
42
|
+
- automation
|
|
43
|
+
- automacao
|
|
44
|
+
- automatizar
|
|
45
|
+
- automatize
|
|
46
|
+
- robotizar
|
|
47
|
+
- workflow
|
|
48
|
+
intents:
|
|
49
|
+
- automation.classify
|
|
50
|
+
- automation.plan
|
|
51
|
+
- automation.delegate
|
|
52
|
+
- automation.review
|
|
53
|
+
examples:
|
|
54
|
+
- automatize esta tarefa
|
|
55
|
+
- escolha a melhor forma de automatizar
|
|
56
|
+
- que tipo de automacao devo usar
|
|
57
|
+
priority: 80
|
package/runtime/agents/automation-architect/capabilities/classify-automation-request/capability.yaml
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
id: automation-architect.classify-automation-request
|
|
2
|
+
kind: capability
|
|
3
|
+
name: Classify Automation Request
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
status: draft
|
|
6
|
+
purpose: Classificar pedido de automacao e recomendar tecnologia, agente e riscos sem escrever arquivos.
|
|
7
|
+
entrypoint:
|
|
8
|
+
runner: runner.py
|
|
9
|
+
workflow: workflow.md
|
|
10
|
+
output_template: ../../templates/automation-classification.md
|
|
11
|
+
inputs:
|
|
12
|
+
required: []
|
|
13
|
+
optional:
|
|
14
|
+
- request
|
|
15
|
+
- spec
|
|
16
|
+
outputs:
|
|
17
|
+
artifacts:
|
|
18
|
+
- automation-classification.json
|
|
19
|
+
write_policy: read_only
|
|
20
|
+
routing:
|
|
21
|
+
anchors:
|
|
22
|
+
- classificar-automacao
|
|
23
|
+
- classify-automation
|
|
24
|
+
- automation-request
|
|
25
|
+
keywords:
|
|
26
|
+
- automatize
|
|
27
|
+
- automatizar
|
|
28
|
+
- automacao
|
|
29
|
+
- automation
|
|
30
|
+
intents:
|
|
31
|
+
- automation.classify
|
|
32
|
+
examples:
|
|
33
|
+
- escolha o tipo correto de automacao
|
|
34
|
+
- classifique esta automacao
|
|
35
|
+
priority: 80
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Regras De Decisao
|
|
2
|
+
|
|
3
|
+
- Prefira API/CLI/repository a browser automation.
|
|
4
|
+
- Prefira Python deterministico para automacoes locais e APIs simples.
|
|
5
|
+
- Use Selenium somente com requisito WebDriver/Grid/legado.
|
|
6
|
+
- Use PyAutoGUI apenas quando nao houver API, CLI, arquivo ou automacao web.
|
|
7
|
+
- Use Lambda para evento cloud/serverless.
|
|
8
|
+
- Use Docker para empacotamento, isolamento e reprodutibilidade.
|
|
9
|
+
- Use loop engineering para retry, budget, criterio de parada ou agenda local.
|
|
10
|
+
- Nao declarar delegacao disponivel quando o builder correspondente nao existe.
|
package/runtime/agents/automation-architect/capabilities/classify-automation-request/runner.py
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Runner for automation-architect/classify-automation-request."""
|
|
3
|
+
|
|
4
|
+
from __future__ import annotations
|
|
5
|
+
|
|
6
|
+
import argparse
|
|
7
|
+
import json
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
import sys
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
REPOSITORY_DIR = Path(__file__).resolve().parents[2] / "infra" / "integrations" / "automation-architecture"
|
|
13
|
+
sys.path.insert(0, str(REPOSITORY_DIR))
|
|
14
|
+
|
|
15
|
+
from automation_architecture_repository import AutomationArchitectureError, AutomationArchitectureRepository # noqa: E402
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def main() -> int:
|
|
19
|
+
parser = argparse.ArgumentParser(description="Classify an automation request")
|
|
20
|
+
parser.add_argument("--request")
|
|
21
|
+
parser.add_argument("--spec")
|
|
22
|
+
args = parser.parse_args()
|
|
23
|
+
|
|
24
|
+
try:
|
|
25
|
+
result = AutomationArchitectureRepository().classify_automation_request(
|
|
26
|
+
request=args.request,
|
|
27
|
+
spec_path=Path(args.spec) if args.spec else None,
|
|
28
|
+
)
|
|
29
|
+
except AutomationArchitectureError as exc:
|
|
30
|
+
print(str(exc), file=sys.stderr)
|
|
31
|
+
return 1
|
|
32
|
+
print(json.dumps(result, ensure_ascii=False, indent=2))
|
|
33
|
+
return 0
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
if __name__ == "__main__":
|
|
37
|
+
raise SystemExit(main())
|
package/runtime/agents/automation-architect/capabilities/classify-automation-request/workflow.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Workflow
|
|
2
|
+
|
|
3
|
+
1. Ler `--request` ou `--spec`.
|
|
4
|
+
2. Extrair sinais de ambiente, alvo, side effects e periodicidade.
|
|
5
|
+
3. Escolher o tipo de automacao mais simples e robusto.
|
|
6
|
+
4. Indicar agente/capability recomendado quando existir.
|
|
7
|
+
5. Marcar baixa confianca quando faltar contexto essencial.
|
package/runtime/agents/automation-architect/capabilities/delegate-automation-build/capability.yaml
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
id: automation-architect.delegate-automation-build
|
|
2
|
+
kind: capability
|
|
3
|
+
name: Delegate Automation Build
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
status: draft
|
|
6
|
+
purpose: Gerar contrato de delegacao manual para o builder especializado adequado, sem executar automaticamente.
|
|
7
|
+
entrypoint:
|
|
8
|
+
runner: runner.py
|
|
9
|
+
workflow: workflow.md
|
|
10
|
+
inputs:
|
|
11
|
+
required: []
|
|
12
|
+
optional:
|
|
13
|
+
- request
|
|
14
|
+
- spec
|
|
15
|
+
outputs:
|
|
16
|
+
artifacts:
|
|
17
|
+
- automation-delegation.json
|
|
18
|
+
write_policy: delegated
|
|
19
|
+
routing:
|
|
20
|
+
anchors:
|
|
21
|
+
- delegar-automacao
|
|
22
|
+
- automation-delegation
|
|
23
|
+
- delegate-automation
|
|
24
|
+
keywords:
|
|
25
|
+
- delegar
|
|
26
|
+
- encaminhar
|
|
27
|
+
- builder
|
|
28
|
+
- automacao
|
|
29
|
+
intents:
|
|
30
|
+
- automation.delegate
|
|
31
|
+
examples:
|
|
32
|
+
- encaminhe para o builder correto
|
|
33
|
+
- delegue a construcao da automacao
|
|
34
|
+
priority: 70
|
package/runtime/agents/automation-architect/capabilities/delegate-automation-build/decision-rules.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Regras De Decisao
|
|
2
|
+
|
|
3
|
+
- Nao chamar outro agente automaticamente.
|
|
4
|
+
- Nao delegar para builder inexistente.
|
|
5
|
+
- Marcar Playwright como `available_delegate: false` ate existir builder.
|
|
6
|
+
- Preservar baixa confianca e perguntas pendentes no contrato de delegacao.
|
|
7
|
+
- Informar policy de escrita esperada antes de qualquer geracao.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Runner for automation-architect/delegate-automation-build."""
|
|
3
|
+
|
|
4
|
+
from __future__ import annotations
|
|
5
|
+
|
|
6
|
+
import argparse
|
|
7
|
+
import json
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
import sys
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
REPOSITORY_DIR = Path(__file__).resolve().parents[2] / "infra" / "integrations" / "automation-architecture"
|
|
13
|
+
sys.path.insert(0, str(REPOSITORY_DIR))
|
|
14
|
+
|
|
15
|
+
from automation_architecture_repository import AutomationArchitectureError, AutomationArchitectureRepository # noqa: E402
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def main() -> int:
|
|
19
|
+
parser = argparse.ArgumentParser(description="Build a manual automation delegation contract")
|
|
20
|
+
parser.add_argument("--request")
|
|
21
|
+
parser.add_argument("--spec")
|
|
22
|
+
args = parser.parse_args()
|
|
23
|
+
|
|
24
|
+
try:
|
|
25
|
+
result = AutomationArchitectureRepository().delegate_automation_build(
|
|
26
|
+
request=args.request,
|
|
27
|
+
spec_path=Path(args.spec) if args.spec else None,
|
|
28
|
+
)
|
|
29
|
+
except AutomationArchitectureError as exc:
|
|
30
|
+
print(str(exc), file=sys.stderr)
|
|
31
|
+
return 1
|
|
32
|
+
print(json.dumps(result, ensure_ascii=False, indent=2))
|
|
33
|
+
return 0
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
if __name__ == "__main__":
|
|
37
|
+
raise SystemExit(main())
|
package/runtime/agents/automation-architect/capabilities/plan-automation-solution/capability.yaml
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
id: automation-architect.plan-automation-solution
|
|
2
|
+
kind: capability
|
|
3
|
+
name: Plan Automation Solution
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
status: draft
|
|
6
|
+
purpose: Gerar plano de arquitetura de automacao com contrato, guardrails, alternativas e delegacao sugerida.
|
|
7
|
+
entrypoint:
|
|
8
|
+
runner: runner.py
|
|
9
|
+
workflow: workflow.md
|
|
10
|
+
output_template: ../../templates/automation-plan.md
|
|
11
|
+
inputs:
|
|
12
|
+
required: []
|
|
13
|
+
optional:
|
|
14
|
+
- request
|
|
15
|
+
- spec
|
|
16
|
+
outputs:
|
|
17
|
+
artifacts:
|
|
18
|
+
- automation-plan.json
|
|
19
|
+
write_policy: read_only
|
|
20
|
+
routing:
|
|
21
|
+
anchors:
|
|
22
|
+
- planejar-automacao
|
|
23
|
+
- automation-plan
|
|
24
|
+
- plan-automation
|
|
25
|
+
keywords:
|
|
26
|
+
- plano
|
|
27
|
+
- planeje
|
|
28
|
+
- arquitetura
|
|
29
|
+
- automacao
|
|
30
|
+
intents:
|
|
31
|
+
- automation.plan
|
|
32
|
+
examples:
|
|
33
|
+
- planeje a melhor automacao
|
|
34
|
+
- crie um plano para automatizar
|
|
35
|
+
priority: 80
|
package/runtime/agents/automation-architect/capabilities/plan-automation-solution/decision-rules.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Regras De Decisao
|
|
2
|
+
|
|
3
|
+
- Plano read-only nao escreve artefatos finais.
|
|
4
|
+
- Plano deve conter alternativa mais simples e tecnologia evitada.
|
|
5
|
+
- Plano deve explicitar quando Playwright e recomendado mas ainda sem builder.
|
|
6
|
+
- Plano deve preservar policy do builder delegado.
|
|
7
|
+
- Plano deve pedir confirmacao para escrita externa, desktop visual ou baixa confianca.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Runner for automation-architect/plan-automation-solution."""
|
|
3
|
+
|
|
4
|
+
from __future__ import annotations
|
|
5
|
+
|
|
6
|
+
import argparse
|
|
7
|
+
import json
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
import sys
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
REPOSITORY_DIR = Path(__file__).resolve().parents[2] / "infra" / "integrations" / "automation-architecture"
|
|
13
|
+
sys.path.insert(0, str(REPOSITORY_DIR))
|
|
14
|
+
|
|
15
|
+
from automation_architecture_repository import AutomationArchitectureError, AutomationArchitectureRepository # noqa: E402
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def main() -> int:
|
|
19
|
+
parser = argparse.ArgumentParser(description="Plan an automation solution")
|
|
20
|
+
parser.add_argument("--request")
|
|
21
|
+
parser.add_argument("--spec")
|
|
22
|
+
args = parser.parse_args()
|
|
23
|
+
|
|
24
|
+
try:
|
|
25
|
+
result = AutomationArchitectureRepository().plan_automation_solution(
|
|
26
|
+
request=args.request,
|
|
27
|
+
spec_path=Path(args.spec) if args.spec else None,
|
|
28
|
+
)
|
|
29
|
+
except AutomationArchitectureError as exc:
|
|
30
|
+
print(str(exc), file=sys.stderr)
|
|
31
|
+
return 1
|
|
32
|
+
print(json.dumps(result, ensure_ascii=False, indent=2))
|
|
33
|
+
return 0
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
if __name__ == "__main__":
|
|
37
|
+
raise SystemExit(main())
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Workflow
|
|
2
|
+
|
|
3
|
+
1. Classificar o pedido.
|
|
4
|
+
2. Montar contrato de entradas, saidas, alvo, side effects e execucao.
|
|
5
|
+
3. Listar riscos e guardrails.
|
|
6
|
+
4. Indicar delegacao manual para builder especifico quando aplicavel.
|
|
7
|
+
5. Expor perguntas pendentes quando a confianca for baixa.
|
package/runtime/agents/automation-architect/capabilities/review-automation-solution/capability.yaml
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
id: automation-architect.review-automation-solution
|
|
2
|
+
kind: capability
|
|
3
|
+
name: Review Automation Solution
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
status: draft
|
|
6
|
+
purpose: Revisar plano ou solucao de automacao contra escolha tecnologica, riscos, secrets e policies.
|
|
7
|
+
entrypoint:
|
|
8
|
+
runner: runner.py
|
|
9
|
+
workflow: workflow.md
|
|
10
|
+
inputs:
|
|
11
|
+
required: []
|
|
12
|
+
optional:
|
|
13
|
+
- request
|
|
14
|
+
- spec
|
|
15
|
+
- solution
|
|
16
|
+
outputs:
|
|
17
|
+
artifacts:
|
|
18
|
+
- automation-review.json
|
|
19
|
+
write_policy: read_only
|
|
20
|
+
routing:
|
|
21
|
+
anchors:
|
|
22
|
+
- revisar-automacao
|
|
23
|
+
- automation-review
|
|
24
|
+
- review-automation
|
|
25
|
+
keywords:
|
|
26
|
+
- revisar
|
|
27
|
+
- review
|
|
28
|
+
- risco
|
|
29
|
+
- guardrails
|
|
30
|
+
- automacao
|
|
31
|
+
intents:
|
|
32
|
+
- automation.review
|
|
33
|
+
examples:
|
|
34
|
+
- revise esta solucao de automacao
|
|
35
|
+
- avalie riscos da automacao
|
|
36
|
+
priority: 70
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Regras De Decisao
|
|
2
|
+
|
|
3
|
+
- Falhar quando houver segredo hardcoded.
|
|
4
|
+
- Falhar quando PyAutoGUI for escolhido sem justificativa de ultimo recurso.
|
|
5
|
+
- Falhar quando browser/desktop automation substituir API/CLI disponivel.
|
|
6
|
+
- Exigir confirmacao para escrita externa, destructive side effects e desktop visual.
|
|
7
|
+
- Aceitar planos read-only com riscos e perguntas explicitas.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Runner for automation-architect/review-automation-solution."""
|
|
3
|
+
|
|
4
|
+
from __future__ import annotations
|
|
5
|
+
|
|
6
|
+
import argparse
|
|
7
|
+
import json
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
import sys
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
REPOSITORY_DIR = Path(__file__).resolve().parents[2] / "infra" / "integrations" / "automation-architecture"
|
|
13
|
+
sys.path.insert(0, str(REPOSITORY_DIR))
|
|
14
|
+
|
|
15
|
+
from automation_architecture_repository import AutomationArchitectureError, AutomationArchitectureRepository # noqa: E402
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def main() -> int:
|
|
19
|
+
parser = argparse.ArgumentParser(description="Review an automation solution")
|
|
20
|
+
parser.add_argument("--request")
|
|
21
|
+
parser.add_argument("--spec")
|
|
22
|
+
parser.add_argument("--solution")
|
|
23
|
+
args = parser.parse_args()
|
|
24
|
+
|
|
25
|
+
try:
|
|
26
|
+
result = AutomationArchitectureRepository().review_automation_solution(
|
|
27
|
+
request=args.request,
|
|
28
|
+
spec_path=Path(args.spec) if args.spec else None,
|
|
29
|
+
solution=args.solution,
|
|
30
|
+
)
|
|
31
|
+
except AutomationArchitectureError as exc:
|
|
32
|
+
print(str(exc), file=sys.stderr)
|
|
33
|
+
return 1
|
|
34
|
+
print(json.dumps(result, ensure_ascii=False, indent=2))
|
|
35
|
+
return 0
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == "__main__":
|
|
39
|
+
raise SystemExit(main())
|
package/runtime/agents/automation-architect/capabilities/review-automation-solution/workflow.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Workflow
|
|
2
|
+
|
|
3
|
+
1. Ler pedido/spec e opcionalmente a solucao proposta.
|
|
4
|
+
2. Reclassificar o pedido como baseline.
|
|
5
|
+
3. Verificar se a tecnologia escolhida e adequada.
|
|
6
|
+
4. Procurar riscos de secrets, escrita externa e automacao visual fragil.
|
|
7
|
+
5. Retornar achados e recomendacao de aprovacao.
|