agent-devkit 0.1.6 → 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 +13 -1
- package/package.json +1 -1
- package/runtime/README.md +53 -1
- package/runtime/agent +5 -0
- package/runtime/agents/README.md +26 -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/agent.yaml +6 -4
- package/runtime/agents/execution-reviewer/capabilities/review-agent-result/capability.yaml +1 -2
- package/runtime/agents/execution-reviewer/capabilities/review-final-output/capability.yaml +1 -2
- package/runtime/agents/execution-reviewer/capabilities/review-plan/capability.yaml +1 -2
- 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/agent.yaml +6 -4
- package/runtime/agents/local-llm-operator/capabilities/delegate-operational-task/capability.yaml +1 -2
- package/runtime/agents/local-llm-operator/capabilities/inspect-local-models/capability.yaml +1 -2
- package/runtime/agents/local-llm-operator/capabilities/select-local-worker/capability.yaml +1 -2
- 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/agent.yaml +6 -4
- package/runtime/agents/provider-configurator/capabilities/collect-provider-credentials/capability.yaml +1 -2
- package/runtime/agents/provider-configurator/capabilities/configure-provider-source/capability.yaml +1 -2
- package/runtime/agents/provider-configurator/capabilities/validate-provider-readiness/capability.yaml +1 -2
- 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/agent.yaml +25 -3
- package/runtime/agents/task-orchestrator/capabilities/plan-task/capability.yaml +1 -2
- package/runtime/agents/task-orchestrator/capabilities/select-specialists/capability.yaml +1 -2
- package/runtime/agents/technical-integration-analyst/agent.yaml +15 -2
- package/runtime/agents/topdesk-orchestrator/agent.yaml +10 -2
- package/runtime/cli/aikit/__init__.py +1 -1
- package/runtime/cli/aikit/acceptance.py +166 -0
- package/runtime/cli/aikit/agent_executor.py +26 -3
- package/runtime/cli/aikit/agent_registry.py +244 -5
- package/runtime/cli/aikit/architecture.py +84 -0
- package/runtime/cli/aikit/audit.py +172 -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/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/diagnostics.py +8 -2
- 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 +21 -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/interactive_wizard.py +79 -0
- package/runtime/cli/aikit/local_llm_operator.py +35 -1
- package/runtime/cli/aikit/main.py +9 -2834
- 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 +182 -18
- 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 +809 -119
- 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 +88 -2
- package/runtime/cli/aikit/setup_wizard_payload.py +32 -0
- package/runtime/cli/aikit/sources.py +298 -50
- package/runtime/cli/aikit/tasks.py +449 -21
- package/runtime/cli/aikit/wizard_state.py +15 -1
- 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,19 @@
|
|
|
1
|
+
# Contexto
|
|
2
|
+
|
|
3
|
+
Playwright cobre automacao de navegador moderno, validacao visual, screenshots,
|
|
4
|
+
traces, console logs e fluxos E2E locais.
|
|
5
|
+
|
|
6
|
+
Use Playwright quando:
|
|
7
|
+
|
|
8
|
+
- a tarefa e web;
|
|
9
|
+
- nao ha API melhor;
|
|
10
|
+
- nao ha requisito Selenium/Grid;
|
|
11
|
+
- screenshots ou traces ajudam a validar o resultado;
|
|
12
|
+
- seletores acessiveis existem ou podem ser definidos.
|
|
13
|
+
|
|
14
|
+
Nao use Playwright para:
|
|
15
|
+
|
|
16
|
+
- automacao desktop fora do navegador;
|
|
17
|
+
- tarefas resolviveis por API/CLI sem browser;
|
|
18
|
+
- Selenium Grid ou projetos legados WebDriver;
|
|
19
|
+
- execucoes destrutivas sem ambiente controlado.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
policies:
|
|
2
|
+
supported_scope: playwright-modern-web-automation
|
|
3
|
+
default_write_mode: dry_run
|
|
4
|
+
external_side_effects: blocked_by_default
|
|
5
|
+
secrets: never_persist
|
|
6
|
+
storage_state: never_commit_sensitive_state
|
|
7
|
+
target_project_boundary: required_for_writes
|
|
8
|
+
overwrite: blocked_without_explicit_permission
|
|
9
|
+
selector_preference:
|
|
10
|
+
- role
|
|
11
|
+
- label
|
|
12
|
+
- test_id
|
|
13
|
+
- text
|
|
14
|
+
- css
|
|
15
|
+
selector_avoid:
|
|
16
|
+
- absolute_xpath
|
|
17
|
+
- generated_class
|
|
18
|
+
- coordinates
|
|
19
|
+
- fixed_sleep
|
|
20
|
+
artifacts:
|
|
21
|
+
screenshots: supported
|
|
22
|
+
traces: supported
|
|
23
|
+
videos: optional
|
|
24
|
+
console_logs: supported
|
|
25
|
+
selenium_boundary: use_selenium_only_for_webdriver_legacy_or_grid
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# System
|
|
2
|
+
|
|
3
|
+
Voce e o `playwright-automation-builder`, especialista em automacoes web
|
|
4
|
+
modernas com Playwright.
|
|
5
|
+
|
|
6
|
+
Seu papel e transformar uma necessidade web em contrato executavel,
|
|
7
|
+
guardrails, script, artifacts e wrapper local revisavel. Use Playwright quando
|
|
8
|
+
a tarefa for web e nao houver requisito tecnico para Selenium/WebDriver.
|
|
9
|
+
|
|
10
|
+
## Regras
|
|
11
|
+
|
|
12
|
+
1. Planeje antes de gerar script.
|
|
13
|
+
2. Use dry-run por padrao.
|
|
14
|
+
3. Exija `--execute` para abrir browser.
|
|
15
|
+
4. Exija `--confirm` para side effects.
|
|
16
|
+
5. Nao hardcode credenciais.
|
|
17
|
+
6. Nao persistir storage state sensivel.
|
|
18
|
+
7. Prefira seletores acessiveis e estaveis.
|
|
19
|
+
8. Gere artifacts curtos, auditaveis e marcados como sensiveis quando aplicavel.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# {{ automation_name }}
|
|
2
|
+
|
|
3
|
+
{{ purpose }}
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
python playwright_automation.py --dry-run
|
|
9
|
+
python playwright_automation.py --execute --headless
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Use `--confirm` only after reviewing dry-run output when side effects are not
|
|
13
|
+
read-only.
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Tests for the Playwright Automation 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
|
+
from pathlib import Path
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
ROOT = Path(__file__).resolve().parents[3]
|
|
17
|
+
AGENT = ROOT / "agent"
|
|
18
|
+
AGENT_DIR = ROOT / "agents" / "playwright-automation-builder"
|
|
19
|
+
REPOSITORY_PATH = AGENT_DIR / "infra" / "integrations" / "playwright-automation" / "playwright_automation_repository.py"
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def load_repository_module():
|
|
23
|
+
spec = importlib.util.spec_from_file_location("playwright_automation_repository", REPOSITORY_PATH)
|
|
24
|
+
if spec is None or spec.loader is None:
|
|
25
|
+
raise RuntimeError(f"cannot load repository from {REPOSITORY_PATH}")
|
|
26
|
+
module = importlib.util.module_from_spec(spec)
|
|
27
|
+
spec.loader.exec_module(module)
|
|
28
|
+
return module
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class PlaywrightAutomationBuilderRunnersTest(unittest.TestCase):
|
|
32
|
+
def setUp(self) -> None:
|
|
33
|
+
self.repository_module = load_repository_module()
|
|
34
|
+
|
|
35
|
+
def write_spec(
|
|
36
|
+
self,
|
|
37
|
+
root: Path,
|
|
38
|
+
*,
|
|
39
|
+
automation_name: str = "Login Smoke Check",
|
|
40
|
+
target_project: Path | None = None,
|
|
41
|
+
side_effects: str = "read-only",
|
|
42
|
+
selector_kind: str = "role",
|
|
43
|
+
purpose: str = "Validate that a login page renders a submit button.",
|
|
44
|
+
) -> Path:
|
|
45
|
+
path = root / "playwright-spec.yaml"
|
|
46
|
+
target_project_line = f"target_project: {target_project}\n" if target_project else ""
|
|
47
|
+
path.write_text(
|
|
48
|
+
f"""
|
|
49
|
+
automation_name: {automation_name}
|
|
50
|
+
{target_project_line}purpose: {purpose}
|
|
51
|
+
target_url: https://example.test/login
|
|
52
|
+
browser: chromium
|
|
53
|
+
auth_strategy: none
|
|
54
|
+
side_effects: {side_effects}
|
|
55
|
+
selectors:
|
|
56
|
+
- name: submit
|
|
57
|
+
kind: {selector_kind}
|
|
58
|
+
value: button
|
|
59
|
+
name_value: Entrar
|
|
60
|
+
steps:
|
|
61
|
+
- open target_url
|
|
62
|
+
- assert submit visible
|
|
63
|
+
assertions:
|
|
64
|
+
- submit visible
|
|
65
|
+
artifacts:
|
|
66
|
+
- screenshot
|
|
67
|
+
- trace
|
|
68
|
+
- report
|
|
69
|
+
quality_gates:
|
|
70
|
+
- stable selectors are used
|
|
71
|
+
""".lstrip(),
|
|
72
|
+
encoding="utf-8",
|
|
73
|
+
)
|
|
74
|
+
return path
|
|
75
|
+
|
|
76
|
+
def test_plan_playwright_automation_returns_plan_without_writing(self) -> None:
|
|
77
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
78
|
+
root = Path(tmpdir)
|
|
79
|
+
spec_path = self.write_spec(root)
|
|
80
|
+
repository = self.repository_module.PlaywrightAutomationRepository(root=root)
|
|
81
|
+
|
|
82
|
+
result = repository.plan_playwright_automation(spec_path=spec_path)
|
|
83
|
+
|
|
84
|
+
self.assertEqual(result["status"], "ok")
|
|
85
|
+
self.assertEqual(result["automation"]["slug"], "login-smoke-check")
|
|
86
|
+
self.assertEqual(result["browser"], "chromium")
|
|
87
|
+
self.assertEqual(result["write_policy"], "read_only")
|
|
88
|
+
self.assertFalse((root / "playwright_automation.py").exists())
|
|
89
|
+
planned_paths = {item["path"] for item in result["planned_artifacts"]}
|
|
90
|
+
self.assertIn("playwright_automation.py", planned_paths)
|
|
91
|
+
|
|
92
|
+
def test_plan_reports_missing_fields(self) -> None:
|
|
93
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
94
|
+
root = Path(tmpdir)
|
|
95
|
+
spec_path = root / "playwright-spec.yaml"
|
|
96
|
+
spec_path.write_text("automation_name: incomplete\n", encoding="utf-8")
|
|
97
|
+
repository = self.repository_module.PlaywrightAutomationRepository(root=root)
|
|
98
|
+
|
|
99
|
+
result = repository.plan_playwright_automation(spec_path=spec_path)
|
|
100
|
+
|
|
101
|
+
self.assertEqual(result["status"], "needs-input")
|
|
102
|
+
self.assertGreaterEqual(
|
|
103
|
+
set(result["missing_fields"]),
|
|
104
|
+
{"purpose", "browser", "selectors", "steps", "assertions", "auth_strategy", "side_effects"},
|
|
105
|
+
)
|
|
106
|
+
|
|
107
|
+
def test_plan_blocks_secret_marker(self) -> None:
|
|
108
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
109
|
+
root = Path(tmpdir)
|
|
110
|
+
spec_path = self.write_spec(root, purpose="Login with PASSWORD=abc in the page.")
|
|
111
|
+
repository = self.repository_module.PlaywrightAutomationRepository(root=root)
|
|
112
|
+
|
|
113
|
+
result = repository.plan_playwright_automation(spec_path=spec_path)
|
|
114
|
+
|
|
115
|
+
self.assertEqual(result["status"], "blocked")
|
|
116
|
+
self.assertEqual(result["reason"], "forbidden_sensitive_marker")
|
|
117
|
+
|
|
118
|
+
def test_generate_playwright_script_contains_required_guardrails(self) -> None:
|
|
119
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
120
|
+
root = Path(tmpdir)
|
|
121
|
+
spec_path = self.write_spec(root)
|
|
122
|
+
repository = self.repository_module.PlaywrightAutomationRepository(root=root)
|
|
123
|
+
|
|
124
|
+
result = repository.generate_playwright_script(spec_path=spec_path)
|
|
125
|
+
|
|
126
|
+
self.assertEqual(result["status"], "ok")
|
|
127
|
+
content = result["content"]
|
|
128
|
+
self.assertIn("sync_playwright", content)
|
|
129
|
+
self.assertIn("--dry-run", content)
|
|
130
|
+
self.assertIn("--execute", content)
|
|
131
|
+
self.assertIn("--headless", content)
|
|
132
|
+
self.assertIn("--browser", content)
|
|
133
|
+
self.assertIn("--screenshot-dir", content)
|
|
134
|
+
self.assertIn("--trace-dir", content)
|
|
135
|
+
self.assertIn("context.tracing.start", content)
|
|
136
|
+
py_compile.compile(str(self.write_temp_script(root, content)), doraise=True)
|
|
137
|
+
|
|
138
|
+
def test_generated_script_dry_run_does_not_import_playwright(self) -> None:
|
|
139
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
140
|
+
root = Path(tmpdir)
|
|
141
|
+
spec_path = self.write_spec(root)
|
|
142
|
+
repository = self.repository_module.PlaywrightAutomationRepository(root=root)
|
|
143
|
+
script_path = self.write_temp_script(root, repository.generate_playwright_script(spec_path=spec_path)["content"])
|
|
144
|
+
|
|
145
|
+
result = subprocess.run(
|
|
146
|
+
[sys.executable, str(script_path), "--dry-run"],
|
|
147
|
+
cwd=root,
|
|
148
|
+
check=False,
|
|
149
|
+
text=True,
|
|
150
|
+
stdout=subprocess.PIPE,
|
|
151
|
+
stderr=subprocess.PIPE,
|
|
152
|
+
timeout=30,
|
|
153
|
+
)
|
|
154
|
+
|
|
155
|
+
self.assertEqual(result.returncode, 0, result.stderr)
|
|
156
|
+
payload = json.loads(result.stdout)
|
|
157
|
+
self.assertTrue(payload["dry_run"])
|
|
158
|
+
self.assertEqual(payload["plan"]["automation"], "login-smoke-check")
|
|
159
|
+
|
|
160
|
+
def test_generate_project_files_dry_run_and_execute(self) -> None:
|
|
161
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
162
|
+
root = Path(tmpdir)
|
|
163
|
+
target_project = root / "target-project"
|
|
164
|
+
target_project.mkdir()
|
|
165
|
+
spec_path = self.write_spec(root, target_project=target_project)
|
|
166
|
+
repository = self.repository_module.PlaywrightAutomationRepository(root=root)
|
|
167
|
+
|
|
168
|
+
planned = repository.generate_playwright_project_files(spec_path=spec_path)
|
|
169
|
+
written = repository.generate_playwright_project_files(spec_path=spec_path, execute=True)
|
|
170
|
+
|
|
171
|
+
self.assertEqual(planned["status"], "planned")
|
|
172
|
+
self.assertTrue(planned["dry_run"])
|
|
173
|
+
self.assertEqual(written["status"], "written")
|
|
174
|
+
self.assertTrue((target_project / "login-smoke-check" / "playwright_automation.py").exists())
|
|
175
|
+
|
|
176
|
+
def test_run_playwright_check_is_plan_first_and_blocks_unconfirmed_side_effects(self) -> None:
|
|
177
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
178
|
+
root = Path(tmpdir)
|
|
179
|
+
read_spec = self.write_spec(root)
|
|
180
|
+
submit_spec = self.write_spec(root, automation_name="Submit Form", side_effects="form-submit")
|
|
181
|
+
repository = self.repository_module.PlaywrightAutomationRepository(root=root)
|
|
182
|
+
|
|
183
|
+
planned = repository.run_playwright_check(spec_path=read_spec)
|
|
184
|
+
blocked = repository.run_playwright_check(spec_path=submit_spec, execute=True)
|
|
185
|
+
|
|
186
|
+
self.assertEqual(planned["status"], "planned")
|
|
187
|
+
self.assertTrue(planned["dry_run"])
|
|
188
|
+
self.assertEqual(blocked["status"], "blocked")
|
|
189
|
+
self.assertEqual(blocked["reason"], "confirmation_required")
|
|
190
|
+
|
|
191
|
+
def test_review_playwright_artifacts_detects_missing_and_accepts_generated_script(self) -> None:
|
|
192
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
193
|
+
root = Path(tmpdir)
|
|
194
|
+
spec_path = self.write_spec(root)
|
|
195
|
+
repository = self.repository_module.PlaywrightAutomationRepository(root=root)
|
|
196
|
+
script = repository.generate_playwright_script(spec_path=spec_path)["content"]
|
|
197
|
+
|
|
198
|
+
script_review = repository.review_playwright_artifacts(paths=[], text=script)
|
|
199
|
+
missing_review = repository.review_playwright_artifacts(paths=[root / "missing-trace.zip"])
|
|
200
|
+
|
|
201
|
+
self.assertTrue(script_review["valid"], script_review["findings"])
|
|
202
|
+
self.assertEqual(missing_review["status"], "failed")
|
|
203
|
+
self.assertTrue(any("missing" in finding for finding in missing_review["findings"]))
|
|
204
|
+
|
|
205
|
+
def test_wrap_playwright_as_capability_execute_writes_compilable_runner(self) -> None:
|
|
206
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
207
|
+
root = Path(tmpdir)
|
|
208
|
+
target_project = root / "target-project"
|
|
209
|
+
target_project.mkdir()
|
|
210
|
+
spec_path = self.write_spec(root, target_project=target_project)
|
|
211
|
+
repository = self.repository_module.PlaywrightAutomationRepository(root=root)
|
|
212
|
+
|
|
213
|
+
result = repository.wrap_playwright_as_capability(
|
|
214
|
+
spec_path=spec_path,
|
|
215
|
+
agent_id="web-ops-agent",
|
|
216
|
+
capability_id="login-smoke-check",
|
|
217
|
+
execute=True,
|
|
218
|
+
)
|
|
219
|
+
|
|
220
|
+
self.assertEqual(result["status"], "written")
|
|
221
|
+
runner = target_project / "agents" / "web-ops-agent" / "capabilities" / "login-smoke-check" / "runner.py"
|
|
222
|
+
self.assertTrue(runner.exists())
|
|
223
|
+
py_compile.compile(str(runner), doraise=True)
|
|
224
|
+
|
|
225
|
+
def test_plan_playwright_automation_runner_is_executable_through_agent_cli(self) -> None:
|
|
226
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
227
|
+
spec_path = self.write_spec(Path(tmpdir))
|
|
228
|
+
|
|
229
|
+
result = subprocess.run(
|
|
230
|
+
[
|
|
231
|
+
sys.executable,
|
|
232
|
+
str(AGENT),
|
|
233
|
+
"--json",
|
|
234
|
+
"run",
|
|
235
|
+
"playwright-automation-builder",
|
|
236
|
+
"plan-playwright-automation",
|
|
237
|
+
"--spec",
|
|
238
|
+
str(spec_path),
|
|
239
|
+
],
|
|
240
|
+
cwd=ROOT,
|
|
241
|
+
check=False,
|
|
242
|
+
text=True,
|
|
243
|
+
stdout=subprocess.PIPE,
|
|
244
|
+
stderr=subprocess.PIPE,
|
|
245
|
+
timeout=60,
|
|
246
|
+
)
|
|
247
|
+
|
|
248
|
+
self.assertEqual(result.returncode, 0, result.stderr or result.stdout)
|
|
249
|
+
payload = json.loads(result.stdout)
|
|
250
|
+
runner_payload = json.loads(payload["stdout"])
|
|
251
|
+
self.assertEqual(runner_payload["status"], "ok")
|
|
252
|
+
self.assertEqual(runner_payload["automation"]["slug"], "login-smoke-check")
|
|
253
|
+
|
|
254
|
+
def write_temp_script(self, root: Path, content: str) -> Path:
|
|
255
|
+
script = root / "playwright_automation.py"
|
|
256
|
+
script.write_text(content, encoding="utf-8")
|
|
257
|
+
return script
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
if __name__ == "__main__":
|
|
261
|
+
unittest.main()
|
|
@@ -88,5 +88,16 @@ agent_surface:
|
|
|
88
88
|
- knowledge/policies.yaml
|
|
89
89
|
|
|
90
90
|
write_policy:
|
|
91
|
-
read_operations:
|
|
92
|
-
write_operations:
|
|
91
|
+
read_operations: read_only
|
|
92
|
+
write_operations: blocked_by_default
|
|
93
|
+
|
|
94
|
+
routing:
|
|
95
|
+
anchors:
|
|
96
|
+
- banco
|
|
97
|
+
- database
|
|
98
|
+
- postgres
|
|
99
|
+
- postgresql
|
|
100
|
+
- sql
|
|
101
|
+
intents:
|
|
102
|
+
- database.postgres.analysis
|
|
103
|
+
priority: 45
|
|
@@ -49,7 +49,18 @@ agent_surface:
|
|
|
49
49
|
- ../../vendor/skills/CATALOG.md
|
|
50
50
|
|
|
51
51
|
write_policy:
|
|
52
|
-
template_registration:
|
|
53
|
-
template_overwrite:
|
|
52
|
+
template_registration: confirm
|
|
53
|
+
template_overwrite: blocked_by_default
|
|
54
54
|
deck_generation: output_only
|
|
55
|
-
external_side_effects:
|
|
55
|
+
external_side_effects: blocked_by_default
|
|
56
|
+
|
|
57
|
+
routing:
|
|
58
|
+
anchors:
|
|
59
|
+
- apresentacao
|
|
60
|
+
- deck
|
|
61
|
+
- powerpoint
|
|
62
|
+
- presentation
|
|
63
|
+
- slides
|
|
64
|
+
intents:
|
|
65
|
+
- presentation.deck
|
|
66
|
+
priority: 50
|
|
@@ -20,7 +20,7 @@ um template draft estruturado a partir de um brief.
|
|
|
20
20
|
5. Marcar como `draft` — nunca `validated` automaticamente.
|
|
21
21
|
|
|
22
22
|
## RUBRICA / REGRAS DE DECISAO
|
|
23
|
-
- `
|
|
23
|
+
- `confirm`: nao crie nenhum arquivo sem confirmacao.
|
|
24
24
|
- Nunca reutilize identidade visual de outro template sem pedido explicito.
|
|
25
25
|
- Nunca marque como `validated` automaticamente.
|
|
26
26
|
- Se brief for muito vago: perguntar ate ter informacao suficiente.
|
package/runtime/agents/presentation-deck-builder/knowledge/prompts/generate-template-input-file.md
CHANGED
|
@@ -19,7 +19,7 @@ de uma versao de template a partir do `slide-map.yaml`.
|
|
|
19
19
|
|
|
20
20
|
## RUBRICA / REGRAS DE DECISAO
|
|
21
21
|
- Versao inexistente: erro imediato.
|
|
22
|
-
- Regerar e idempotente (sobrescreve sem perguntar: write_policy
|
|
22
|
+
- Regerar e idempotente (sobrescreve sem perguntar: write_policy local_write).
|
|
23
23
|
|
|
24
24
|
## SAIDA
|
|
25
25
|
- "Input schema gerado: <path>/input-schema.xlsx"
|
|
@@ -9,6 +9,9 @@ purpose: >
|
|
|
9
9
|
Conduzir wizards agenticos de configuracao de providers e sources, coletando
|
|
10
10
|
opt-in, campos de projeto e referencias seguras de credencial.
|
|
11
11
|
|
|
12
|
+
runtime_role:
|
|
13
|
+
kind: provider-configurator
|
|
14
|
+
|
|
12
15
|
default_context:
|
|
13
16
|
- knowledge/system.md
|
|
14
17
|
- knowledge/context.md
|
|
@@ -19,7 +22,6 @@ capabilities:
|
|
|
19
22
|
- validate-provider-readiness
|
|
20
23
|
|
|
21
24
|
write_policy:
|
|
22
|
-
config_writes:
|
|
23
|
-
stores_secret_values:
|
|
24
|
-
default_mode:
|
|
25
|
-
|
|
25
|
+
config_writes: confirm
|
|
26
|
+
stores_secret_values: blocked_by_default
|
|
27
|
+
default_mode: confirm
|
|
@@ -4,7 +4,7 @@ name: Collect Provider Credentials
|
|
|
4
4
|
version: 0.1.6
|
|
5
5
|
status: draft
|
|
6
6
|
purpose: Coletar referencias seguras para credenciais de provider.
|
|
7
|
-
write_policy:
|
|
7
|
+
write_policy: local_config_write
|
|
8
8
|
entrypoint:
|
|
9
9
|
workflow: workflow.md
|
|
10
10
|
inputs:
|
|
@@ -12,4 +12,3 @@ inputs:
|
|
|
12
12
|
optional: [auth_method]
|
|
13
13
|
outputs:
|
|
14
14
|
artifacts: [credential-references]
|
|
15
|
-
|
package/runtime/agents/provider-configurator/capabilities/configure-provider-source/capability.yaml
CHANGED
|
@@ -4,7 +4,7 @@ name: Configure Provider Source
|
|
|
4
4
|
version: 0.1.6
|
|
5
5
|
status: draft
|
|
6
6
|
purpose: Conduzir wizard para configurar uma source reutilizavel de provider.
|
|
7
|
-
write_policy:
|
|
7
|
+
write_policy: local_config_write
|
|
8
8
|
entrypoint:
|
|
9
9
|
workflow: workflow.md
|
|
10
10
|
inputs:
|
|
@@ -12,4 +12,3 @@ inputs:
|
|
|
12
12
|
optional: [prompt, route, agent_id, capability_id, reason]
|
|
13
13
|
outputs:
|
|
14
14
|
artifacts: [source-config]
|
|
15
|
-
|
|
@@ -4,7 +4,7 @@ name: Validate Provider Readiness
|
|
|
4
4
|
version: 0.1.6
|
|
5
5
|
status: draft
|
|
6
6
|
purpose: Validar se um provider ou source esta pronto para uso sem expor segredo.
|
|
7
|
-
write_policy:
|
|
7
|
+
write_policy: read_only
|
|
8
8
|
entrypoint:
|
|
9
9
|
workflow: workflow.md
|
|
10
10
|
inputs:
|
|
@@ -12,4 +12,3 @@ inputs:
|
|
|
12
12
|
optional: [source_id]
|
|
13
13
|
outputs:
|
|
14
14
|
artifacts: [readiness-report]
|
|
15
|
-
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# PyAutoGUI Automation Builder
|
|
2
|
+
|
|
3
|
+
Instrucoes locais para trabalhar no agente `pyautogui-automation-builder`.
|
|
4
|
+
|
|
5
|
+
## Responsabilidade
|
|
6
|
+
|
|
7
|
+
Este agente planeja, gera e revisa automacoes desktop com PyAutoGUI apenas
|
|
8
|
+
quando nao houver API, CLI, MCP, automacao web ou automacao nativa mais segura
|
|
9
|
+
disponivel. PyAutoGUI e tratado como ultimo recurso porque opera diretamente na
|
|
10
|
+
interface grafica.
|
|
11
|
+
|
|
12
|
+
## Fora De Escopo
|
|
13
|
+
|
|
14
|
+
- Automacoes Python gerais: pertencem ao `python-automation-builder`.
|
|
15
|
+
- Selenium/WebDriver: pertence ao `selenium-automation-builder`.
|
|
16
|
+
- Playwright moderno e validacao visual rica: problema 27.
|
|
17
|
+
- OCR/framework visual completo.
|
|
18
|
+
- Execucao real de automacao desktop durante geracao.
|
|
19
|
+
- Rodar PyAutoGUI em ambiente headless sem suporte grafico.
|
|
20
|
+
|
|
21
|
+
## Guardrails
|
|
22
|
+
|
|
23
|
+
- Exigir revisao de alternativas mais seguras antes de gerar.
|
|
24
|
+
- Exigir aceite explicito de risco visual.
|
|
25
|
+
- Bloquear operacoes destrutivas por padrao.
|
|
26
|
+
- Gerar dry-run por padrao.
|
|
27
|
+
- Exigir `--execute --confirm` para qualquer acao real.
|
|
28
|
+
- Manter `pyautogui.FAILSAFE = True`.
|
|
29
|
+
- Capturar screenshots antes/depois/erro.
|
|
30
|
+
- Validar janela/tela esperada quando possivel.
|
|
31
|
+
- Evitar coordenadas absolutas puras salvo ultimo recurso justificado.
|
|
32
|
+
- Nao gravar senhas, tokens ou credenciais em codigo, logs ou screenshots.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# PyAutoGUI Automation Builder
|
|
2
|
+
|
|
3
|
+
Agente especialista para automacoes desktop visuais com PyAutoGUI, usadas como
|
|
4
|
+
ultimo recurso quando API, CLI, MCP, Playwright, Selenium ou automacao nativa do
|
|
5
|
+
sistema operacional nao resolvem a tarefa.
|
|
6
|
+
|
|
7
|
+
## Capabilities
|
|
8
|
+
|
|
9
|
+
- `plan-desktop-automation`: planeja automacao desktop sem escrever arquivos.
|
|
10
|
+
- `generate-pyautogui-script`: gera script PyAutoGUI em modo output-only.
|
|
11
|
+
- `generate-pyautogui-project-files`: planeja ou escreve pacote local de
|
|
12
|
+
automacao.
|
|
13
|
+
- `review-pyautogui-script`: revisa guardrails de um script PyAutoGUI.
|
|
14
|
+
- `wrap-pyautogui-as-capability`: empacota automacao aprovada como capability.
|
|
15
|
+
|
|
16
|
+
## Contrato De Entrada
|
|
17
|
+
|
|
18
|
+
Specs YAML/JSON devem informar:
|
|
19
|
+
|
|
20
|
+
- `automation_name`
|
|
21
|
+
- `purpose`
|
|
22
|
+
- `target_app`
|
|
23
|
+
- `target_window`
|
|
24
|
+
- `platform`
|
|
25
|
+
- `steps`
|
|
26
|
+
- `screen_preconditions`
|
|
27
|
+
- `verification_strategy`
|
|
28
|
+
- `safer_alternatives_checked`
|
|
29
|
+
- `user_accepts_visual_risk`
|
|
30
|
+
- `side_effects`
|
|
31
|
+
- `coordinates_policy`
|
|
32
|
+
|
|
33
|
+
## Exemplo
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
./agent --json run pyautogui-automation-builder plan-desktop-automation \
|
|
37
|
+
--spec desktop-spec.yaml
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Politica
|
|
41
|
+
|
|
42
|
+
Scripts gerados nao executam a automacao por padrao. A execucao real exige
|
|
43
|
+
`--execute --confirm`, screenshots e validacao visual basica. Operacoes
|
|
44
|
+
destrutivas sao bloqueadas no planejamento.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
id: pyautogui-automation-builder
|
|
2
|
+
kind: specialist-agent
|
|
3
|
+
name: PyAutoGUI Automation Builder
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
status: draft
|
|
6
|
+
owner: agent-devkit
|
|
7
|
+
purpose: >
|
|
8
|
+
Planejar, gerar, revisar e empacotar automacoes desktop com PyAutoGUI como
|
|
9
|
+
ultimo recurso, com dry-run, confirmacao forte, screenshots e failsafe.
|
|
10
|
+
default_context:
|
|
11
|
+
- knowledge/system.md
|
|
12
|
+
- knowledge/context.md
|
|
13
|
+
- knowledge/policies.yaml
|
|
14
|
+
env:
|
|
15
|
+
required: []
|
|
16
|
+
optional: []
|
|
17
|
+
capabilities:
|
|
18
|
+
- plan-desktop-automation
|
|
19
|
+
- generate-pyautogui-script
|
|
20
|
+
- generate-pyautogui-project-files
|
|
21
|
+
- review-pyautogui-script
|
|
22
|
+
- wrap-pyautogui-as-capability
|
|
23
|
+
agent_surface:
|
|
24
|
+
repositories:
|
|
25
|
+
- infra/integrations/pyautogui-automation/pyautogui_automation_repository.py
|
|
26
|
+
policies:
|
|
27
|
+
- knowledge/policies.yaml
|
|
28
|
+
write_policy:
|
|
29
|
+
planning: read_only
|
|
30
|
+
generation: output_only
|
|
31
|
+
project_files: local_write
|
|
32
|
+
review: read_only
|
|
33
|
+
capability_wrapper: local_write
|
|
34
|
+
external_side_effects: blocked_by_default
|
|
35
|
+
routing:
|
|
36
|
+
anchors:
|
|
37
|
+
- pyautogui-automation-builder
|
|
38
|
+
- pyautogui
|
|
39
|
+
- desktop-automation
|
|
40
|
+
- automacao-desktop
|
|
41
|
+
intents:
|
|
42
|
+
- desktop-automation.plan
|
|
43
|
+
- pyautogui.generate
|
|
44
|
+
- pyautogui.review
|
|
45
|
+
priority: 50
|