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,15 @@
|
|
|
1
|
+
# Context
|
|
2
|
+
|
|
3
|
+
Selenium deve ser escolhido quando existe requisito WebDriver, Selenium Grid,
|
|
4
|
+
browser remoto corporativo, projeto legado, extensoes de browser ou padrao de
|
|
5
|
+
equipe ja estabelecido.
|
|
6
|
+
|
|
7
|
+
Playwright continua sendo preferencia para automacao web moderna quando nao ha
|
|
8
|
+
necessidade de WebDriver.
|
|
9
|
+
|
|
10
|
+
Classificacao de side effects:
|
|
11
|
+
|
|
12
|
+
- `read-only`: navegacao, leitura e captura sem alterar estado.
|
|
13
|
+
- `form-submit`: envio de formulario ou clique de salvamento.
|
|
14
|
+
- `external-write`: alteracao em sistema externo.
|
|
15
|
+
- `destructive`: exclusao, compra, cancelamento ou acao irreversivel.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
policies:
|
|
2
|
+
supported_scope: selenium-webdriver-automation
|
|
3
|
+
selenium_reasons:
|
|
4
|
+
- existing-selenium
|
|
5
|
+
- selenium-grid
|
|
6
|
+
- remote-browser
|
|
7
|
+
- webdriver-required
|
|
8
|
+
- legacy-project
|
|
9
|
+
- browser-extension
|
|
10
|
+
- team-standard
|
|
11
|
+
- playwright-not-allowed
|
|
12
|
+
playwright_preference: problem 27
|
|
13
|
+
default_write_mode: dry_run
|
|
14
|
+
external_side_effects: blocked_by_default
|
|
15
|
+
secrets: never_persist
|
|
16
|
+
waits: explicit_webdriverwait_required
|
|
17
|
+
sleep: forbidden_as_primary_wait
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# System
|
|
2
|
+
|
|
3
|
+
Voce e o `selenium-automation-builder`, especialista em automacoes
|
|
4
|
+
Selenium/WebDriver.
|
|
5
|
+
|
|
6
|
+
Seu trabalho e gerar automacoes Selenium apenas quando houver motivo tecnico
|
|
7
|
+
claro. Quando Playwright for mais adequado, recomende o problema 27 em vez de
|
|
8
|
+
forcar Selenium.
|
|
9
|
+
|
|
10
|
+
## Regras Principais
|
|
11
|
+
|
|
12
|
+
- Exigir justificativa para Selenium.
|
|
13
|
+
- Usar `WebDriverWait` e expected conditions.
|
|
14
|
+
- Evitar `time.sleep`.
|
|
15
|
+
- Incluir `--dry-run`, `--execute`, `--confirm`, `--headless`, `--browser`,
|
|
16
|
+
`--remote-url`, `--timeout` e `--screenshot-dir`.
|
|
17
|
+
- Capturar screenshot em falha.
|
|
18
|
+
- Nao hardcodar credenciais.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Generated Selenium automation template."""
|
|
3
|
+
|
|
4
|
+
import argparse
|
|
5
|
+
import json
|
|
6
|
+
import logging
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def main() -> int:
|
|
10
|
+
parser = argparse.ArgumentParser()
|
|
11
|
+
parser.add_argument("--dry-run", action="store_true")
|
|
12
|
+
parser.add_argument("--execute", action="store_true")
|
|
13
|
+
args = parser.parse_args()
|
|
14
|
+
logging.basicConfig(level=logging.INFO, format="%(levelname)s %(message)s")
|
|
15
|
+
print(json.dumps({"dry_run": not args.execute}))
|
|
16
|
+
return 0
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
if __name__ == "__main__":
|
|
20
|
+
raise SystemExit(main())
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import subprocess
|
|
2
|
+
import sys
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def test_selenium_automation_dry_run():
|
|
7
|
+
script = Path(__file__).resolve().parents[1] / "selenium_automation.py"
|
|
8
|
+
result = subprocess.run([sys.executable, str(script), "--dry-run"], text=True, capture_output=True)
|
|
9
|
+
assert result.returncode == 0
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Tests for the Selenium 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" / "selenium-automation-builder"
|
|
19
|
+
REPOSITORY_PATH = AGENT_DIR / "infra" / "integrations" / "selenium-automation" / "selenium_automation_repository.py"
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def load_repository_module():
|
|
23
|
+
spec = importlib.util.spec_from_file_location("selenium_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 SeleniumAutomationBuilderRunnersTest(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 = "Legacy Login Check",
|
|
40
|
+
target_project: Path | None = None,
|
|
41
|
+
selenium_reasons: list[str] | None = None,
|
|
42
|
+
purpose: str = "Check a legacy login page through WebDriver-compatible browser automation.",
|
|
43
|
+
side_effects: str = "read-only",
|
|
44
|
+
) -> Path:
|
|
45
|
+
path = root / "selenium-spec.yaml"
|
|
46
|
+
target_project_line = f"target_project: {target_project}\n" if target_project else ""
|
|
47
|
+
reasons = ["webdriver-required"] if selenium_reasons is None else selenium_reasons
|
|
48
|
+
reason_block = "selenium_reasons: []" if not reasons else "selenium_reasons:\n" + "\n".join(f" - {item}" for item in reasons)
|
|
49
|
+
path.write_text(
|
|
50
|
+
f"""
|
|
51
|
+
automation_name: {automation_name}
|
|
52
|
+
{target_project_line}purpose: {purpose}
|
|
53
|
+
target_url: https://example.test/login
|
|
54
|
+
browser: chrome
|
|
55
|
+
remote_url_env: SELENIUM_REMOTE_URL
|
|
56
|
+
auth_strategy: env
|
|
57
|
+
side_effects: {side_effects}
|
|
58
|
+
{reason_block}
|
|
59
|
+
selectors:
|
|
60
|
+
- name: username
|
|
61
|
+
by: css
|
|
62
|
+
value: '[name="username"]'
|
|
63
|
+
- name: submit
|
|
64
|
+
by: css
|
|
65
|
+
value: 'button[type="submit"]'
|
|
66
|
+
steps:
|
|
67
|
+
- open target_url
|
|
68
|
+
- wait for username
|
|
69
|
+
- capture status
|
|
70
|
+
quality_gates:
|
|
71
|
+
- explicit waits are used
|
|
72
|
+
- screenshot is captured on failure
|
|
73
|
+
""".lstrip(),
|
|
74
|
+
encoding="utf-8",
|
|
75
|
+
)
|
|
76
|
+
return path
|
|
77
|
+
|
|
78
|
+
def test_plan_selenium_automation_returns_plan_without_writing(self) -> None:
|
|
79
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
80
|
+
root = Path(tmpdir)
|
|
81
|
+
spec_path = self.write_spec(root)
|
|
82
|
+
repository = self.repository_module.SeleniumAutomationRepository(root=root)
|
|
83
|
+
|
|
84
|
+
result = repository.plan_selenium_automation(spec_path=spec_path)
|
|
85
|
+
|
|
86
|
+
self.assertEqual(result["status"], "ok")
|
|
87
|
+
self.assertEqual(result["automation"]["slug"], "legacy-login-check")
|
|
88
|
+
self.assertEqual(result["browser"], "chrome")
|
|
89
|
+
self.assertEqual(result["write_policy"], "read_only")
|
|
90
|
+
planned_paths = {item["path"] for item in result["planned_artifacts"]}
|
|
91
|
+
self.assertIn("selenium_automation.py", planned_paths)
|
|
92
|
+
self.assertFalse((root / "selenium_automation.py").exists())
|
|
93
|
+
|
|
94
|
+
def test_plan_selenium_automation_reports_needs_input(self) -> None:
|
|
95
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
96
|
+
root = Path(tmpdir)
|
|
97
|
+
spec_path = root / "selenium-spec.yaml"
|
|
98
|
+
spec_path.write_text("automation_name: incomplete\n", encoding="utf-8")
|
|
99
|
+
repository = self.repository_module.SeleniumAutomationRepository(root=root)
|
|
100
|
+
|
|
101
|
+
result = repository.plan_selenium_automation(spec_path=spec_path)
|
|
102
|
+
|
|
103
|
+
self.assertEqual(result["status"], "needs-input")
|
|
104
|
+
self.assertGreaterEqual(
|
|
105
|
+
set(result["missing_fields"]),
|
|
106
|
+
{"purpose", "browser", "selectors", "steps", "auth_strategy", "side_effects", "selenium_reasons"},
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
def test_plan_recommends_playwright_when_selenium_not_justified(self) -> None:
|
|
110
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
111
|
+
root = Path(tmpdir)
|
|
112
|
+
spec_path = self.write_spec(root, selenium_reasons=[])
|
|
113
|
+
repository = self.repository_module.SeleniumAutomationRepository(root=root)
|
|
114
|
+
|
|
115
|
+
result = repository.plan_selenium_automation(spec_path=spec_path)
|
|
116
|
+
|
|
117
|
+
self.assertEqual(result["status"], "needs-playwright-review")
|
|
118
|
+
self.assertEqual(result["reason"], "selenium_not_justified")
|
|
119
|
+
self.assertIn("problem 27", " ".join(result["next_steps"]).lower())
|
|
120
|
+
|
|
121
|
+
def test_plan_blocks_secret_marker(self) -> None:
|
|
122
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
123
|
+
root = Path(tmpdir)
|
|
124
|
+
spec_path = self.write_spec(root, purpose="Login with PASSWORD=abc in the page.")
|
|
125
|
+
repository = self.repository_module.SeleniumAutomationRepository(root=root)
|
|
126
|
+
|
|
127
|
+
result = repository.plan_selenium_automation(spec_path=spec_path)
|
|
128
|
+
|
|
129
|
+
self.assertEqual(result["status"], "blocked")
|
|
130
|
+
self.assertEqual(result["reason"], "forbidden_sensitive_marker")
|
|
131
|
+
|
|
132
|
+
def test_generate_selenium_script_contains_required_guardrails(self) -> None:
|
|
133
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
134
|
+
root = Path(tmpdir)
|
|
135
|
+
spec_path = self.write_spec(root)
|
|
136
|
+
repository = self.repository_module.SeleniumAutomationRepository(root=root)
|
|
137
|
+
|
|
138
|
+
result = repository.generate_selenium_script(spec_path=spec_path)
|
|
139
|
+
|
|
140
|
+
self.assertEqual(result["status"], "ok")
|
|
141
|
+
content = result["content"]
|
|
142
|
+
self.assertIn("WebDriverWait", content)
|
|
143
|
+
self.assertIn("--headless", content)
|
|
144
|
+
self.assertIn("--browser", content)
|
|
145
|
+
self.assertIn("--remote-url", content)
|
|
146
|
+
self.assertIn("--dry-run", content)
|
|
147
|
+
self.assertIn("--confirm", content)
|
|
148
|
+
self.assertIn("save_screenshot", content)
|
|
149
|
+
self.assertNotIn("time.sleep", content)
|
|
150
|
+
py_compile.compile(str(self.write_temp_script(root, content)), doraise=True)
|
|
151
|
+
|
|
152
|
+
def test_generate_selenium_project_files_dry_run_does_not_write(self) -> None:
|
|
153
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
154
|
+
root = Path(tmpdir)
|
|
155
|
+
target_project = root / "target-project"
|
|
156
|
+
target_project.mkdir()
|
|
157
|
+
spec_path = self.write_spec(root, target_project=target_project)
|
|
158
|
+
repository = self.repository_module.SeleniumAutomationRepository(root=root)
|
|
159
|
+
|
|
160
|
+
result = repository.generate_selenium_project_files(spec_path=spec_path)
|
|
161
|
+
|
|
162
|
+
self.assertEqual(result["status"], "planned")
|
|
163
|
+
self.assertTrue(result["dry_run"])
|
|
164
|
+
planned_paths = {item["path"] for item in result["planned_files"]}
|
|
165
|
+
self.assertGreaterEqual(
|
|
166
|
+
planned_paths,
|
|
167
|
+
{
|
|
168
|
+
"legacy-login-check/selenium_automation.py",
|
|
169
|
+
"legacy-login-check/README.md",
|
|
170
|
+
"legacy-login-check/tests/test_selenium_automation.py",
|
|
171
|
+
},
|
|
172
|
+
)
|
|
173
|
+
self.assertFalse((target_project / "legacy-login-check").exists())
|
|
174
|
+
|
|
175
|
+
def test_generate_selenium_project_files_execute_writes_inside_target_project(self) -> None:
|
|
176
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
177
|
+
root = Path(tmpdir)
|
|
178
|
+
target_project = root / "target-project"
|
|
179
|
+
target_project.mkdir()
|
|
180
|
+
spec_path = self.write_spec(root, target_project=target_project)
|
|
181
|
+
repository = self.repository_module.SeleniumAutomationRepository(root=root)
|
|
182
|
+
|
|
183
|
+
result = repository.generate_selenium_project_files(spec_path=spec_path, execute=True)
|
|
184
|
+
|
|
185
|
+
self.assertEqual(result["status"], "written")
|
|
186
|
+
self.assertTrue((target_project / "legacy-login-check" / "selenium_automation.py").exists())
|
|
187
|
+
for item in result["written_files"]:
|
|
188
|
+
path = Path(item["path"]).resolve()
|
|
189
|
+
self.assertTrue(path.is_relative_to(target_project.resolve()), item["path"])
|
|
190
|
+
|
|
191
|
+
def test_generate_selenium_project_files_blocks_overwrite_without_permission(self) -> None:
|
|
192
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
193
|
+
root = Path(tmpdir)
|
|
194
|
+
target_project = root / "target-project"
|
|
195
|
+
target_project.mkdir()
|
|
196
|
+
spec_path = self.write_spec(root, target_project=target_project)
|
|
197
|
+
repository = self.repository_module.SeleniumAutomationRepository(root=root)
|
|
198
|
+
repository.generate_selenium_project_files(spec_path=spec_path, execute=True)
|
|
199
|
+
|
|
200
|
+
result = repository.generate_selenium_project_files(spec_path=spec_path, execute=True)
|
|
201
|
+
|
|
202
|
+
self.assertEqual(result["status"], "blocked")
|
|
203
|
+
self.assertEqual(result["reason"], "target_exists")
|
|
204
|
+
|
|
205
|
+
def test_review_selenium_script_detects_missing_explicit_waits(self) -> None:
|
|
206
|
+
repository = self.repository_module.SeleniumAutomationRepository(root=ROOT)
|
|
207
|
+
|
|
208
|
+
result = repository.review_selenium_script(text="driver.find_element('css selector', '#x')", side_effects="read-only")
|
|
209
|
+
|
|
210
|
+
self.assertFalse(result["valid"])
|
|
211
|
+
self.assertEqual(result["status"], "failed")
|
|
212
|
+
self.assertTrue(any("webdriverwait" in finding.lower() for finding in result["findings"]))
|
|
213
|
+
|
|
214
|
+
def test_review_selenium_script_accepts_generated_script(self) -> None:
|
|
215
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
216
|
+
root = Path(tmpdir)
|
|
217
|
+
spec_path = self.write_spec(root)
|
|
218
|
+
repository = self.repository_module.SeleniumAutomationRepository(root=root)
|
|
219
|
+
script = repository.generate_selenium_script(spec_path=spec_path)["content"]
|
|
220
|
+
|
|
221
|
+
result = repository.review_selenium_script(text=script, side_effects="read-only")
|
|
222
|
+
|
|
223
|
+
self.assertTrue(result["valid"], result["findings"])
|
|
224
|
+
self.assertEqual(result["findings"], [])
|
|
225
|
+
|
|
226
|
+
def test_wrap_selenium_as_capability_execute_writes_compilable_runner(self) -> None:
|
|
227
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
228
|
+
root = Path(tmpdir)
|
|
229
|
+
target_project = root / "target-project"
|
|
230
|
+
target_project.mkdir()
|
|
231
|
+
spec_path = self.write_spec(root, target_project=target_project)
|
|
232
|
+
repository = self.repository_module.SeleniumAutomationRepository(root=root)
|
|
233
|
+
|
|
234
|
+
result = repository.wrap_selenium_as_capability(
|
|
235
|
+
spec_path=spec_path,
|
|
236
|
+
agent_id="web-ops-agent",
|
|
237
|
+
capability_id="legacy-login-check",
|
|
238
|
+
execute=True,
|
|
239
|
+
)
|
|
240
|
+
|
|
241
|
+
self.assertEqual(result["status"], "written")
|
|
242
|
+
runner = target_project / "agents" / "web-ops-agent" / "capabilities" / "legacy-login-check" / "runner.py"
|
|
243
|
+
self.assertTrue(runner.exists())
|
|
244
|
+
py_compile.compile(str(runner), doraise=True)
|
|
245
|
+
|
|
246
|
+
def test_plan_selenium_automation_runner_is_executable_through_agent_cli(self) -> None:
|
|
247
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
248
|
+
spec_path = self.write_spec(Path(tmpdir))
|
|
249
|
+
|
|
250
|
+
result = subprocess.run(
|
|
251
|
+
[
|
|
252
|
+
sys.executable,
|
|
253
|
+
str(AGENT),
|
|
254
|
+
"--json",
|
|
255
|
+
"run",
|
|
256
|
+
"selenium-automation-builder",
|
|
257
|
+
"plan-selenium-automation",
|
|
258
|
+
"--spec",
|
|
259
|
+
str(spec_path),
|
|
260
|
+
],
|
|
261
|
+
cwd=ROOT,
|
|
262
|
+
check=False,
|
|
263
|
+
text=True,
|
|
264
|
+
stdout=subprocess.PIPE,
|
|
265
|
+
stderr=subprocess.PIPE,
|
|
266
|
+
timeout=60,
|
|
267
|
+
)
|
|
268
|
+
|
|
269
|
+
self.assertEqual(result.returncode, 0, result.stderr or result.stdout)
|
|
270
|
+
payload = json.loads(result.stdout)
|
|
271
|
+
runner_payload = json.loads(payload["stdout"])
|
|
272
|
+
self.assertEqual(runner_payload["status"], "ok")
|
|
273
|
+
self.assertEqual(runner_payload["automation"]["slug"], "legacy-login-check")
|
|
274
|
+
|
|
275
|
+
def write_temp_script(self, root: Path, content: str) -> Path:
|
|
276
|
+
script = root / "selenium_automation.py"
|
|
277
|
+
script.write_text(content, encoding="utf-8")
|
|
278
|
+
return script
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
if __name__ == "__main__":
|
|
282
|
+
unittest.main()
|
|
@@ -48,8 +48,21 @@ agent_surface:
|
|
|
48
48
|
- ../../vendor/skills/CATALOG.md
|
|
49
49
|
|
|
50
50
|
write_policy:
|
|
51
|
-
read_operations:
|
|
52
|
-
project_analysis:
|
|
53
|
-
specification_generation:
|
|
51
|
+
read_operations: read_only
|
|
52
|
+
project_analysis: output_only
|
|
53
|
+
specification_generation: output_only
|
|
54
54
|
overwrite_operations: confirm
|
|
55
|
-
external_side_effects:
|
|
55
|
+
external_side_effects: blocked_by_default
|
|
56
|
+
|
|
57
|
+
routing:
|
|
58
|
+
anchors:
|
|
59
|
+
- demanda
|
|
60
|
+
- especificacao
|
|
61
|
+
- historia
|
|
62
|
+
- requirements
|
|
63
|
+
- requisitos
|
|
64
|
+
- specification
|
|
65
|
+
- stories
|
|
66
|
+
intents:
|
|
67
|
+
- specification.analysis
|
|
68
|
+
priority: 60
|
|
@@ -19,3 +19,14 @@ integration:
|
|
|
19
19
|
repository: null
|
|
20
20
|
methods: []
|
|
21
21
|
write_policy: read_only
|
|
22
|
+
|
|
23
|
+
routing:
|
|
24
|
+
anchors:
|
|
25
|
+
- especificacao funcional
|
|
26
|
+
- functional spec
|
|
27
|
+
- regra de negocio
|
|
28
|
+
intents:
|
|
29
|
+
- spec.functional
|
|
30
|
+
examples:
|
|
31
|
+
- gere uma especificacao funcional
|
|
32
|
+
priority: 80
|
|
@@ -19,3 +19,15 @@ integration:
|
|
|
19
19
|
repository: null
|
|
20
20
|
methods: []
|
|
21
21
|
write_policy: read_only
|
|
22
|
+
|
|
23
|
+
routing:
|
|
24
|
+
anchors:
|
|
25
|
+
- arquitetura
|
|
26
|
+
- especificacao tecnica
|
|
27
|
+
- spec tecnica
|
|
28
|
+
- technical spec
|
|
29
|
+
intents:
|
|
30
|
+
- spec.technical
|
|
31
|
+
examples:
|
|
32
|
+
- gere uma especificacao tecnica para essa demanda
|
|
33
|
+
priority: 80
|
|
@@ -19,3 +19,15 @@ integration:
|
|
|
19
19
|
repository: null
|
|
20
20
|
methods: []
|
|
21
21
|
write_policy: read_only
|
|
22
|
+
|
|
23
|
+
routing:
|
|
24
|
+
anchors:
|
|
25
|
+
- criterios de aceite
|
|
26
|
+
- historia
|
|
27
|
+
- user stories
|
|
28
|
+
- user story
|
|
29
|
+
intents:
|
|
30
|
+
- spec.user-stories
|
|
31
|
+
examples:
|
|
32
|
+
- escreva historias de usuario
|
|
33
|
+
priority: 80
|
|
@@ -61,6 +61,17 @@ agent_surface:
|
|
|
61
61
|
- knowledge/policies.yaml
|
|
62
62
|
|
|
63
63
|
write_policy:
|
|
64
|
-
read_operations:
|
|
64
|
+
read_operations: read_only
|
|
65
65
|
write_operations: confirm
|
|
66
66
|
destructive_operations: blocked_by_default
|
|
67
|
+
|
|
68
|
+
routing:
|
|
69
|
+
anchors:
|
|
70
|
+
- banco
|
|
71
|
+
- migracao
|
|
72
|
+
- migration
|
|
73
|
+
- sql
|
|
74
|
+
- sqlserver
|
|
75
|
+
intents:
|
|
76
|
+
- database.sqlserver.change
|
|
77
|
+
priority: 35
|
|
@@ -85,5 +85,16 @@ agent_surface:
|
|
|
85
85
|
- knowledge/policies.yaml
|
|
86
86
|
|
|
87
87
|
write_policy:
|
|
88
|
-
read_operations:
|
|
89
|
-
write_operations:
|
|
88
|
+
read_operations: read_only
|
|
89
|
+
write_operations: blocked_by_default
|
|
90
|
+
|
|
91
|
+
routing:
|
|
92
|
+
anchors:
|
|
93
|
+
- banco
|
|
94
|
+
- database
|
|
95
|
+
- sql
|
|
96
|
+
- sqlserver
|
|
97
|
+
- tabela
|
|
98
|
+
intents:
|
|
99
|
+
- database.sqlserver.analysis
|
|
100
|
+
priority: 45
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Supabase Project Analyst
|
|
2
|
+
|
|
3
|
+
Instrucoes locais para trabalhar no agente `supabase-project-analyst`.
|
|
4
|
+
|
|
5
|
+
## Responsabilidade
|
|
6
|
+
|
|
7
|
+
Este agente analisa projetos Supabase em modo read-only, com foco em Postgres,
|
|
8
|
+
RLS, Auth, Storage, Edge Functions, migrations, performance e seguranca. A
|
|
9
|
+
primeira fase analisa arquivos locais e readiness de CLI/MCP sem aplicar SQL.
|
|
10
|
+
|
|
11
|
+
## Fora De Escopo
|
|
12
|
+
|
|
13
|
+
- Aplicar migrations.
|
|
14
|
+
- Executar SQL real.
|
|
15
|
+
- Criar projeto Supabase.
|
|
16
|
+
- Alterar RLS, Auth, Storage ou configuracao remota.
|
|
17
|
+
- Armazenar credenciais OAuth/token.
|
|
18
|
+
- Substituir `postgres-data-analyzer` para analise SQL generica.
|
|
19
|
+
|
|
20
|
+
## Guardrails
|
|
21
|
+
|
|
22
|
+
- Nunca imprimir `service_role`, access token, DB URL ou JWT secret.
|
|
23
|
+
- Nunca usar `raw_user_meta_data`/`user_metadata` como autorizacao segura.
|
|
24
|
+
- Alertar para tabelas expostas sem RLS.
|
|
25
|
+
- Alertar para `auth.role()`, `TO authenticated` sem ownership e UPDATE sem
|
|
26
|
+
`WITH CHECK`.
|
|
27
|
+
- Alertar para `SECURITY DEFINER` em schema exposto e views sem
|
|
28
|
+
`security_invoker`.
|
|
29
|
+
- Gerar SQL apenas como sugestao, nunca aplicar.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Supabase Project Analyst
|
|
2
|
+
|
|
3
|
+
Agente especialista em diagnostico read-only de projetos Supabase locais:
|
|
4
|
+
configuracao, migrations, RLS, Auth, Storage, Edge Functions e plano de
|
|
5
|
+
correcao sem executar alteracoes.
|
|
6
|
+
|
|
7
|
+
## Capabilities
|
|
8
|
+
|
|
9
|
+
- `inspect-supabase-project`: coleta contexto local e readiness de CLI/MCP.
|
|
10
|
+
- `audit-rls-policies`: audita RLS e policies em SQL local.
|
|
11
|
+
- `audit-auth-security`: audita Auth, claims e exposicao de secrets.
|
|
12
|
+
- `audit-storage-policies`: audita buckets/policies de Storage em SQL local.
|
|
13
|
+
- `review-migrations`: revisa migrations e DDL perigoso.
|
|
14
|
+
- `generate-supabase-report`: consolida findings em relatorio output-only.
|
|
15
|
+
- `plan-supabase-fix`: gera plano e SQL sugerido sem aplicar.
|
|
16
|
+
|
|
17
|
+
## Uso
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
./agent --json run supabase-project-analyst inspect-supabase-project --project-path .
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Este agente nao executa SQL e nao aplica migrations.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
id: supabase-project-analyst
|
|
2
|
+
kind: specialist-agent
|
|
3
|
+
name: Supabase Project Analyst
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
status: draft
|
|
6
|
+
owner: agent-devkit
|
|
7
|
+
purpose: >
|
|
8
|
+
Diagnosticar projetos Supabase em modo read-only, analisando configuracao
|
|
9
|
+
local, migrations, RLS, Auth, Storage, Edge Functions, riscos e planos de
|
|
10
|
+
correcao sem aplicar mudancas.
|
|
11
|
+
default_context:
|
|
12
|
+
- knowledge/system.md
|
|
13
|
+
- knowledge/context.md
|
|
14
|
+
- knowledge/policies.yaml
|
|
15
|
+
env:
|
|
16
|
+
required: []
|
|
17
|
+
optional:
|
|
18
|
+
- SUPABASE_PROJECT_REF
|
|
19
|
+
- SUPABASE_ACCESS_TOKEN
|
|
20
|
+
- SUPABASE_DB_URL
|
|
21
|
+
- SUPABASE_SERVICE_ROLE_KEY
|
|
22
|
+
capabilities:
|
|
23
|
+
- inspect-supabase-project
|
|
24
|
+
- audit-rls-policies
|
|
25
|
+
- audit-auth-security
|
|
26
|
+
- audit-storage-policies
|
|
27
|
+
- review-migrations
|
|
28
|
+
- generate-supabase-report
|
|
29
|
+
- plan-supabase-fix
|
|
30
|
+
agent_surface:
|
|
31
|
+
repositories:
|
|
32
|
+
- infra/integrations/supabase-project/supabase_project_repository.py
|
|
33
|
+
policies:
|
|
34
|
+
- knowledge/policies.yaml
|
|
35
|
+
write_policy:
|
|
36
|
+
inspection: read_only
|
|
37
|
+
audits: read_only
|
|
38
|
+
report: output_only
|
|
39
|
+
fix_plan: dry_run
|
|
40
|
+
sql_execution: blocked_by_default
|
|
41
|
+
remote_changes: blocked_by_default
|
|
42
|
+
routing:
|
|
43
|
+
anchors:
|
|
44
|
+
- supabase
|
|
45
|
+
- rls
|
|
46
|
+
- storage policies
|
|
47
|
+
- edge functions
|
|
48
|
+
- supabase auth
|
|
49
|
+
intents:
|
|
50
|
+
- supabase.project.audit
|
|
51
|
+
- supabase.rls.audit
|
|
52
|
+
- supabase.security.review
|
|
53
|
+
priority: 50
|