agent-devkit 0.1.5 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -2
- package/package.json +1 -1
- package/runtime/README.md +127 -6
- package/runtime/agent +5 -0
- package/runtime/agents/README.md +34 -0
- package/runtime/agents/agent-devkit-agent-builder/AGENTS.md +24 -0
- package/runtime/agents/agent-devkit-agent-builder/README.md +37 -0
- package/runtime/agents/agent-devkit-agent-builder/agent.yaml +46 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/plan-agent/capability.yaml +29 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/plan-agent/decision-rules.md +7 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/plan-agent/runner.py +33 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/plan-agent/workflow.md +8 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/scaffold-agent/capability.yaml +31 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/scaffold-agent/decision-rules.md +9 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/scaffold-agent/runner.py +39 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/scaffold-agent/workflow.md +8 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/validate-agent-contract/capability.yaml +28 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/validate-agent-contract/decision-rules.md +6 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/validate-agent-contract/runner.py +33 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/validate-agent-contract/workflow.md +7 -0
- package/runtime/agents/agent-devkit-agent-builder/infra/integrations/agent-devkit/agent_builder_repository.py +527 -0
- package/runtime/agents/agent-devkit-agent-builder/knowledge/context.md +15 -0
- package/runtime/agents/agent-devkit-agent-builder/knowledge/policies.yaml +11 -0
- package/runtime/agents/agent-devkit-agent-builder/knowledge/system.md +11 -0
- package/runtime/agents/agent-devkit-agent-builder/templates/agent-plan-output.md +20 -0
- package/runtime/agents/agent-devkit-agent-builder/templates/scaffold-plan-output.md +13 -0
- package/runtime/agents/agent-devkit-agent-builder/templates/validation-report-output.md +13 -0
- package/runtime/agents/agent-devkit-agent-builder/tests/test_runners.py +188 -0
- package/runtime/agents/automation-architect/AGENTS.md +11 -0
- package/runtime/agents/automation-architect/README.md +27 -0
- package/runtime/agents/automation-architect/agent.yaml +57 -0
- package/runtime/agents/automation-architect/capabilities/classify-automation-request/capability.yaml +35 -0
- package/runtime/agents/automation-architect/capabilities/classify-automation-request/decision-rules.md +10 -0
- package/runtime/agents/automation-architect/capabilities/classify-automation-request/runner.py +37 -0
- package/runtime/agents/automation-architect/capabilities/classify-automation-request/workflow.md +7 -0
- package/runtime/agents/automation-architect/capabilities/delegate-automation-build/capability.yaml +34 -0
- package/runtime/agents/automation-architect/capabilities/delegate-automation-build/decision-rules.md +7 -0
- package/runtime/agents/automation-architect/capabilities/delegate-automation-build/runner.py +37 -0
- package/runtime/agents/automation-architect/capabilities/delegate-automation-build/workflow.md +6 -0
- package/runtime/agents/automation-architect/capabilities/plan-automation-solution/capability.yaml +35 -0
- package/runtime/agents/automation-architect/capabilities/plan-automation-solution/decision-rules.md +7 -0
- package/runtime/agents/automation-architect/capabilities/plan-automation-solution/runner.py +37 -0
- package/runtime/agents/automation-architect/capabilities/plan-automation-solution/workflow.md +7 -0
- package/runtime/agents/automation-architect/capabilities/review-automation-solution/capability.yaml +36 -0
- package/runtime/agents/automation-architect/capabilities/review-automation-solution/decision-rules.md +7 -0
- package/runtime/agents/automation-architect/capabilities/review-automation-solution/runner.py +39 -0
- package/runtime/agents/automation-architect/capabilities/review-automation-solution/workflow.md +7 -0
- package/runtime/agents/automation-architect/infra/integrations/automation-architecture/automation_architecture_repository.py +481 -0
- package/runtime/agents/automation-architect/knowledge/context.md +22 -0
- package/runtime/agents/automation-architect/knowledge/policies.yaml +20 -0
- package/runtime/agents/automation-architect/knowledge/system.md +8 -0
- package/runtime/agents/automation-architect/templates/automation-classification.md +6 -0
- package/runtime/agents/automation-architect/templates/automation-plan.md +5 -0
- package/runtime/agents/automation-architect/tests/test_runners.py +135 -0
- package/runtime/agents/aws-architecture-analyst/agent.yaml +17 -4
- package/runtime/agents/aws-cloudwatch-log-analyzer/agent.yaml +12 -2
- package/runtime/agents/aws-cloudwatch-log-analyzer/capabilities/analyze-service-error/capability.yaml +16 -0
- package/runtime/agents/aws-lambda-builder/AGENTS.md +27 -0
- package/runtime/agents/aws-lambda-builder/README.md +21 -0
- package/runtime/agents/aws-lambda-builder/agent.yaml +46 -0
- package/runtime/agents/aws-lambda-builder/capabilities/deploy-lambda-plan/capability.yaml +18 -0
- package/runtime/agents/aws-lambda-builder/capabilities/deploy-lambda-plan/decision-rules.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/deploy-lambda-plan/runner.py +33 -0
- package/runtime/agents/aws-lambda-builder/capabilities/deploy-lambda-plan/workflow.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/generate-lambda-project/capability.yaml +20 -0
- package/runtime/agents/aws-lambda-builder/capabilities/generate-lambda-project/decision-rules.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/generate-lambda-project/runner.py +39 -0
- package/runtime/agents/aws-lambda-builder/capabilities/generate-lambda-project/workflow.md +7 -0
- package/runtime/agents/aws-lambda-builder/capabilities/package-lambda/capability.yaml +22 -0
- package/runtime/agents/aws-lambda-builder/capabilities/package-lambda/decision-rules.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/package-lambda/runner.py +41 -0
- package/runtime/agents/aws-lambda-builder/capabilities/package-lambda/workflow.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/plan-lambda/capability.yaml +18 -0
- package/runtime/agents/aws-lambda-builder/capabilities/plan-lambda/decision-rules.md +7 -0
- package/runtime/agents/aws-lambda-builder/capabilities/plan-lambda/runner.py +33 -0
- package/runtime/agents/aws-lambda-builder/capabilities/plan-lambda/workflow.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/review-lambda-security/capability.yaml +18 -0
- package/runtime/agents/aws-lambda-builder/capabilities/review-lambda-security/decision-rules.md +7 -0
- package/runtime/agents/aws-lambda-builder/capabilities/review-lambda-security/runner.py +33 -0
- package/runtime/agents/aws-lambda-builder/capabilities/review-lambda-security/workflow.md +5 -0
- package/runtime/agents/aws-lambda-builder/infra/integrations/aws-lambda/aws_lambda_repository.py +688 -0
- package/runtime/agents/aws-lambda-builder/knowledge/context.md +12 -0
- package/runtime/agents/aws-lambda-builder/knowledge/policies.yaml +23 -0
- package/runtime/agents/aws-lambda-builder/knowledge/system.md +10 -0
- package/runtime/agents/aws-lambda-builder/templates/lambda-deploy-plan.md +3 -0
- package/runtime/agents/aws-lambda-builder/templates/lambda-package.md +3 -0
- package/runtime/agents/aws-lambda-builder/templates/lambda-plan.md +3 -0
- package/runtime/agents/aws-lambda-builder/templates/lambda-readme.md +3 -0
- package/runtime/agents/aws-lambda-builder/templates/lambda-security-review.md +3 -0
- package/runtime/agents/aws-lambda-builder/tests/test_runners.py +355 -0
- package/runtime/agents/aws-operations-operator/agent.yaml +18 -6
- package/runtime/agents/aws-security-governance-auditor/agent.yaml +17 -5
- package/runtime/agents/azure-devops-orchestrator/agent.yaml +15 -2
- package/runtime/agents/azure-devops-orchestrator/capabilities/read-card/capability.yaml +29 -0
- package/runtime/agents/bpo-analyser/agent.yaml +12 -2
- package/runtime/agents/bpo-analyser/knowledge/policies.yaml +2 -2
- package/runtime/agents/data-scientist-analyst/agent.yaml +16 -4
- package/runtime/agents/data-scientist-analyst/capabilities/generate-data-report/capability.yaml +1 -1
- package/runtime/agents/data-scientist-analyst/capabilities/generate-reconciliation-report/capability.yaml +1 -1
- package/runtime/agents/data-scientist-analyst/capabilities/run-data-pipeline/capability.yaml +1 -1
- package/runtime/agents/data-scientist-analyst/infra/integrations/agent-bridge/methods/analyze-sql-source.yaml +1 -1
- package/runtime/agents/data-scientist-analyst/knowledge/policies.yaml +4 -4
- package/runtime/agents/data-scientist-analyst/knowledge/system.md +1 -1
- package/runtime/agents/data-scientist-analyst/tests/test_runners.py +1 -1
- package/runtime/agents/database-change-operator/agent.yaml +12 -1
- package/runtime/agents/docker-container-builder/AGENTS.md +27 -0
- package/runtime/agents/docker-container-builder/README.md +21 -0
- package/runtime/agents/docker-container-builder/agent.yaml +52 -0
- package/runtime/agents/docker-container-builder/capabilities/analyze-containerization-target/capability.yaml +18 -0
- package/runtime/agents/docker-container-builder/capabilities/analyze-containerization-target/decision-rules.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/analyze-containerization-target/runner.py +32 -0
- package/runtime/agents/docker-container-builder/capabilities/analyze-containerization-target/workflow.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-compose/capability.yaml +18 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-compose/decision-rules.md +7 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-compose/runner.py +32 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-compose/workflow.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-container-project-files/capability.yaml +20 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-container-project-files/decision-rules.md +7 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-container-project-files/runner.py +38 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-container-project-files/workflow.md +7 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-dockerfile/capability.yaml +18 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-dockerfile/decision-rules.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-dockerfile/runner.py +32 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-dockerfile/workflow.md +7 -0
- package/runtime/agents/docker-container-builder/capabilities/plan-image-build/capability.yaml +18 -0
- package/runtime/agents/docker-container-builder/capabilities/plan-image-build/decision-rules.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/plan-image-build/runner.py +32 -0
- package/runtime/agents/docker-container-builder/capabilities/plan-image-build/workflow.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/review-docker-security/capability.yaml +21 -0
- package/runtime/agents/docker-container-builder/capabilities/review-docker-security/decision-rules.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/review-docker-security/runner.py +43 -0
- package/runtime/agents/docker-container-builder/capabilities/review-docker-security/workflow.md +5 -0
- package/runtime/agents/docker-container-builder/infra/integrations/docker-container/docker_container_repository.py +837 -0
- package/runtime/agents/docker-container-builder/knowledge/context.md +21 -0
- package/runtime/agents/docker-container-builder/knowledge/policies.yaml +13 -0
- package/runtime/agents/docker-container-builder/knowledge/system.md +21 -0
- package/runtime/agents/docker-container-builder/templates/container-plan.md +4 -0
- package/runtime/agents/docker-container-builder/templates/container-review.md +4 -0
- package/runtime/agents/docker-container-builder/templates/docker-compose.md +5 -0
- package/runtime/agents/docker-container-builder/templates/docker-readme.md +3 -0
- package/runtime/agents/docker-container-builder/templates/dockerfile.md +5 -0
- package/runtime/agents/docker-container-builder/tests/test_runners.py +255 -0
- package/runtime/agents/drawio-diagram-builder/agent.yaml +11 -2
- package/runtime/agents/drawio-diagram-builder/capabilities/execute-diagram-delivery/capability.yaml +1 -1
- package/runtime/agents/drawio-diagram-builder/capabilities/read-azure-card-context/capability.yaml +1 -1
- package/runtime/agents/elasticsearch-log-analyzer/agent.yaml +14 -2
- package/runtime/agents/elasticsearch-log-analyzer/capabilities/analyze-service-errors/capability.yaml +14 -0
- package/runtime/agents/excel-workbook-builder/agent.yaml +10 -0
- package/runtime/agents/excel-workbook-builder/capabilities/create-template/capability.yaml +1 -1
- package/runtime/agents/excel-workbook-builder/capabilities/create-template/workflow.md +1 -1
- package/runtime/agents/excel-workbook-builder/capabilities/create-template-version/capability.yaml +1 -1
- package/runtime/agents/excel-workbook-builder/capabilities/generate-template-input-file/capability.yaml +1 -2
- package/runtime/agents/excel-workbook-builder/capabilities/refine-template/capability.yaml +1 -1
- package/runtime/agents/excel-workbook-builder/capabilities/register-template/capability.yaml +1 -2
- package/runtime/agents/excel-workbook-builder/capabilities/register-template/workflow.md +1 -1
- package/runtime/agents/execution-loop-builder/AGENTS.md +24 -0
- package/runtime/agents/execution-loop-builder/README.md +19 -0
- package/runtime/agents/execution-loop-builder/agent.yaml +49 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-project-files/capability.yaml +20 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-project-files/decision-rules.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-project-files/runner.py +38 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-project-files/workflow.md +7 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-runner/capability.yaml +18 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-runner/decision-rules.md +5 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-runner/runner.py +32 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-runner/workflow.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/plan-execution-loop/capability.yaml +18 -0
- package/runtime/agents/execution-loop-builder/capabilities/plan-execution-loop/decision-rules.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/plan-execution-loop/runner.py +32 -0
- package/runtime/agents/execution-loop-builder/capabilities/plan-execution-loop/workflow.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/register-loop-task/capability.yaml +19 -0
- package/runtime/agents/execution-loop-builder/capabilities/register-loop-task/decision-rules.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/register-loop-task/runner.py +36 -0
- package/runtime/agents/execution-loop-builder/capabilities/register-loop-task/workflow.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/review-loop-safety/capability.yaml +19 -0
- package/runtime/agents/execution-loop-builder/capabilities/review-loop-safety/decision-rules.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/review-loop-safety/runner.py +39 -0
- package/runtime/agents/execution-loop-builder/capabilities/review-loop-safety/workflow.md +5 -0
- package/runtime/agents/execution-loop-builder/infra/integrations/execution-loop/execution_loop_repository.py +608 -0
- package/runtime/agents/execution-loop-builder/knowledge/context.md +26 -0
- package/runtime/agents/execution-loop-builder/knowledge/policies.yaml +13 -0
- package/runtime/agents/execution-loop-builder/knowledge/system.md +19 -0
- package/runtime/agents/execution-loop-builder/templates/loop-plan.md +3 -0
- package/runtime/agents/execution-loop-builder/templates/loop-readme.md +3 -0
- package/runtime/agents/execution-loop-builder/templates/loop-review.md +3 -0
- package/runtime/agents/execution-loop-builder/templates/loop-runner.py +2 -0
- package/runtime/agents/execution-loop-builder/tests/test_runners.py +274 -0
- package/runtime/agents/execution-reviewer/AGENTS.md +8 -0
- package/runtime/agents/execution-reviewer/README.md +13 -0
- package/runtime/agents/execution-reviewer/agent.yaml +27 -0
- package/runtime/agents/execution-reviewer/capabilities/review-agent-result/capability.yaml +14 -0
- package/runtime/agents/execution-reviewer/capabilities/review-agent-result/decision-rules.md +6 -0
- package/runtime/agents/execution-reviewer/capabilities/review-agent-result/workflow.md +7 -0
- package/runtime/agents/execution-reviewer/capabilities/review-final-output/capability.yaml +14 -0
- package/runtime/agents/execution-reviewer/capabilities/review-final-output/decision-rules.md +6 -0
- package/runtime/agents/execution-reviewer/capabilities/review-final-output/workflow.md +7 -0
- package/runtime/agents/execution-reviewer/capabilities/review-plan/capability.yaml +14 -0
- package/runtime/agents/execution-reviewer/capabilities/review-plan/decision-rules.md +6 -0
- package/runtime/agents/execution-reviewer/capabilities/review-plan/workflow.md +7 -0
- package/runtime/agents/execution-reviewer/infra/README.md +4 -0
- package/runtime/agents/execution-reviewer/knowledge/context.md +6 -0
- package/runtime/agents/execution-reviewer/knowledge/system.md +18 -0
- package/runtime/agents/execution-reviewer/templates/README.md +4 -0
- package/runtime/agents/figma-ui-ux-product-designer/agent.yaml +17 -5
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/analyze-product-context/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/conduct-design-interview/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/conduct-design-review-session/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/generate-dev-handoff/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/generate-user-journey-diagram/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/ingest-design-source/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/triage-design-feedback/capability.yaml +1 -1
- package/runtime/agents/generic-agent-builder/AGENTS.md +20 -0
- package/runtime/agents/generic-agent-builder/README.md +40 -0
- package/runtime/agents/generic-agent-builder/agent.yaml +43 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-agent-instructions/capability.yaml +18 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-agent-instructions/decision-rules.md +5 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-agent-instructions/runner.py +33 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-agent-instructions/workflow.md +6 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-project-agent-files/capability.yaml +20 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-project-agent-files/decision-rules.md +6 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-project-agent-files/runner.py +39 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-project-agent-files/workflow.md +7 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-skill/capability.yaml +18 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-skill/decision-rules.md +5 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-skill/runner.py +33 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-skill/workflow.md +5 -0
- package/runtime/agents/generic-agent-builder/capabilities/plan-generic-agent/capability.yaml +18 -0
- package/runtime/agents/generic-agent-builder/capabilities/plan-generic-agent/decision-rules.md +6 -0
- package/runtime/agents/generic-agent-builder/capabilities/plan-generic-agent/runner.py +33 -0
- package/runtime/agents/generic-agent-builder/capabilities/plan-generic-agent/workflow.md +6 -0
- package/runtime/agents/generic-agent-builder/capabilities/review-generic-agent/capability.yaml +20 -0
- package/runtime/agents/generic-agent-builder/capabilities/review-generic-agent/decision-rules.md +6 -0
- package/runtime/agents/generic-agent-builder/capabilities/review-generic-agent/runner.py +40 -0
- package/runtime/agents/generic-agent-builder/capabilities/review-generic-agent/workflow.md +7 -0
- package/runtime/agents/generic-agent-builder/infra/integrations/generic-agent/generic_agent_repository.py +445 -0
- package/runtime/agents/generic-agent-builder/knowledge/context.md +11 -0
- package/runtime/agents/generic-agent-builder/knowledge/policies.yaml +12 -0
- package/runtime/agents/generic-agent-builder/knowledge/system.md +17 -0
- package/runtime/agents/generic-agent-builder/templates/generic-agent-instructions.md +17 -0
- package/runtime/agents/generic-agent-builder/templates/generic-review-report.md +13 -0
- package/runtime/agents/generic-agent-builder/templates/generic-skill.md +14 -0
- package/runtime/agents/generic-agent-builder/tests/test_runners.py +220 -0
- package/runtime/agents/github-pr-reviewer/agent.yaml +17 -5
- package/runtime/agents/github-pr-reviewer/capabilities/create-review-automation/capability.yaml +1 -1
- package/runtime/agents/github-pr-reviewer/capabilities/inspect-pr/capability.yaml +1 -1
- package/runtime/agents/github-pr-reviewer/capabilities/list-review-requests/capability.yaml +1 -1
- package/runtime/agents/github-pr-reviewer/capabilities/review-pr-diff/capability.yaml +1 -1
- package/runtime/agents/knowledge-generator/agent.yaml +13 -3
- package/runtime/agents/knowledge-generator/capabilities/generate-knowledge/capability.yaml +1 -1
- package/runtime/agents/local-llm-operator/AGENTS.md +8 -0
- package/runtime/agents/local-llm-operator/README.md +12 -0
- package/runtime/agents/local-llm-operator/agent.yaml +28 -0
- package/runtime/agents/local-llm-operator/capabilities/delegate-operational-task/capability.yaml +14 -0
- package/runtime/agents/local-llm-operator/capabilities/delegate-operational-task/decision-rules.md +6 -0
- package/runtime/agents/local-llm-operator/capabilities/delegate-operational-task/workflow.md +7 -0
- package/runtime/agents/local-llm-operator/capabilities/inspect-local-models/capability.yaml +14 -0
- package/runtime/agents/local-llm-operator/capabilities/inspect-local-models/decision-rules.md +5 -0
- package/runtime/agents/local-llm-operator/capabilities/inspect-local-models/workflow.md +6 -0
- package/runtime/agents/local-llm-operator/capabilities/select-local-worker/capability.yaml +14 -0
- package/runtime/agents/local-llm-operator/capabilities/select-local-worker/decision-rules.md +6 -0
- package/runtime/agents/local-llm-operator/capabilities/select-local-worker/workflow.md +7 -0
- package/runtime/agents/local-llm-operator/infra/README.md +4 -0
- package/runtime/agents/local-llm-operator/knowledge/context.md +6 -0
- package/runtime/agents/local-llm-operator/knowledge/system.md +18 -0
- package/runtime/agents/local-llm-operator/templates/README.md +4 -0
- package/runtime/agents/n1-support-agent/agent.yaml +40 -1
- package/runtime/agents/n2-support-agent/agent.yaml +41 -2
- package/runtime/agents/n2-support-agent/knowledge/policies.yaml +2 -2
- package/runtime/agents/notification-operator/AGENTS.md +11 -0
- package/runtime/agents/notification-operator/README.md +15 -0
- package/runtime/agents/notification-operator/agent.yaml +43 -0
- package/runtime/agents/notification-operator/capabilities/configure-notification-channel/capability.yaml +19 -0
- package/runtime/agents/notification-operator/capabilities/configure-notification-channel/decision-rules.md +6 -0
- package/runtime/agents/notification-operator/capabilities/configure-notification-channel/runner.py +33 -0
- package/runtime/agents/notification-operator/capabilities/configure-notification-channel/workflow.md +6 -0
- package/runtime/agents/notification-operator/capabilities/format-task-completion-notification/capability.yaml +25 -0
- package/runtime/agents/notification-operator/capabilities/format-task-completion-notification/decision-rules.md +7 -0
- package/runtime/agents/notification-operator/capabilities/format-task-completion-notification/runner.py +49 -0
- package/runtime/agents/notification-operator/capabilities/format-task-completion-notification/workflow.md +6 -0
- package/runtime/agents/notification-operator/capabilities/send-task-completion-notification/capability.yaml +27 -0
- package/runtime/agents/notification-operator/capabilities/send-task-completion-notification/decision-rules.md +6 -0
- package/runtime/agents/notification-operator/capabilities/send-task-completion-notification/runner.py +68 -0
- package/runtime/agents/notification-operator/capabilities/send-task-completion-notification/workflow.md +7 -0
- package/runtime/agents/notification-operator/infra/README.md +6 -0
- package/runtime/agents/notification-operator/knowledge/context.md +10 -0
- package/runtime/agents/notification-operator/knowledge/policies.yaml +9 -0
- package/runtime/agents/notification-operator/knowledge/system.md +7 -0
- package/runtime/agents/notification-operator/templates/README.md +6 -0
- package/runtime/agents/notification-operator/tests/test_runners.py +108 -0
- package/runtime/agents/playwright-automation-builder/AGENTS.md +23 -0
- package/runtime/agents/playwright-automation-builder/README.md +43 -0
- package/runtime/agents/playwright-automation-builder/agent.yaml +48 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-project-files/capability.yaml +20 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-project-files/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-project-files/runner.py +38 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-project-files/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-script/capability.yaml +18 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-script/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-script/runner.py +32 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-script/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/plan-playwright-automation/capability.yaml +18 -0
- package/runtime/agents/playwright-automation-builder/capabilities/plan-playwright-automation/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/plan-playwright-automation/runner.py +32 -0
- package/runtime/agents/playwright-automation-builder/capabilities/plan-playwright-automation/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/review-playwright-artifacts/capability.yaml +19 -0
- package/runtime/agents/playwright-automation-builder/capabilities/review-playwright-artifacts/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/review-playwright-artifacts/runner.py +33 -0
- package/runtime/agents/playwright-automation-builder/capabilities/review-playwright-artifacts/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/run-playwright-check/capability.yaml +22 -0
- package/runtime/agents/playwright-automation-builder/capabilities/run-playwright-check/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/run-playwright-check/runner.py +40 -0
- package/runtime/agents/playwright-automation-builder/capabilities/run-playwright-check/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/wrap-playwright-as-capability/capability.yaml +22 -0
- package/runtime/agents/playwright-automation-builder/capabilities/wrap-playwright-as-capability/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/wrap-playwright-as-capability/runner.py +42 -0
- package/runtime/agents/playwright-automation-builder/capabilities/wrap-playwright-as-capability/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/infra/integrations/playwright-automation/playwright_automation_repository.py +865 -0
- package/runtime/agents/playwright-automation-builder/knowledge/context.md +19 -0
- package/runtime/agents/playwright-automation-builder/knowledge/policies.yaml +25 -0
- package/runtime/agents/playwright-automation-builder/knowledge/system.md +19 -0
- package/runtime/agents/playwright-automation-builder/templates/capability-wrapper.md +4 -0
- package/runtime/agents/playwright-automation-builder/templates/playwright-automation.py +12 -0
- package/runtime/agents/playwright-automation-builder/templates/playwright-readme.md +13 -0
- package/runtime/agents/playwright-automation-builder/templates/playwright-review-report.md +9 -0
- package/runtime/agents/playwright-automation-builder/templates/playwright-test.py +2 -0
- package/runtime/agents/playwright-automation-builder/tests/test_runners.py +261 -0
- package/runtime/agents/postgres-data-analyzer/agent.yaml +13 -2
- package/runtime/agents/presentation-deck-builder/agent.yaml +14 -3
- package/runtime/agents/presentation-deck-builder/capabilities/create-template/capability.yaml +1 -1
- package/runtime/agents/presentation-deck-builder/capabilities/create-template-version/capability.yaml +1 -1
- package/runtime/agents/presentation-deck-builder/capabilities/generate-template-input-file/capability.yaml +1 -1
- package/runtime/agents/presentation-deck-builder/capabilities/refine-template/capability.yaml +1 -1
- package/runtime/agents/presentation-deck-builder/capabilities/register-template/capability.yaml +1 -1
- package/runtime/agents/presentation-deck-builder/knowledge/prompts/create-template.md +1 -1
- package/runtime/agents/presentation-deck-builder/knowledge/prompts/generate-template-input-file.md +1 -1
- package/runtime/agents/provider-configurator/AGENTS.md +8 -0
- package/runtime/agents/provider-configurator/README.md +5 -0
- package/runtime/agents/provider-configurator/agent.yaml +27 -0
- package/runtime/agents/provider-configurator/capabilities/collect-provider-credentials/capability.yaml +14 -0
- package/runtime/agents/provider-configurator/capabilities/collect-provider-credentials/decision-rules.md +6 -0
- package/runtime/agents/provider-configurator/capabilities/collect-provider-credentials/workflow.md +7 -0
- package/runtime/agents/provider-configurator/capabilities/configure-provider-source/capability.yaml +14 -0
- package/runtime/agents/provider-configurator/capabilities/configure-provider-source/decision-rules.md +6 -0
- package/runtime/agents/provider-configurator/capabilities/configure-provider-source/workflow.md +8 -0
- package/runtime/agents/provider-configurator/capabilities/validate-provider-readiness/capability.yaml +14 -0
- package/runtime/agents/provider-configurator/capabilities/validate-provider-readiness/decision-rules.md +6 -0
- package/runtime/agents/provider-configurator/capabilities/validate-provider-readiness/workflow.md +7 -0
- package/runtime/agents/provider-configurator/infra/README.md +5 -0
- package/runtime/agents/provider-configurator/knowledge/context.md +8 -0
- package/runtime/agents/provider-configurator/knowledge/system.md +19 -0
- package/runtime/agents/provider-configurator/templates/README.md +4 -0
- package/runtime/agents/pyautogui-automation-builder/AGENTS.md +32 -0
- package/runtime/agents/pyautogui-automation-builder/README.md +44 -0
- package/runtime/agents/pyautogui-automation-builder/agent.yaml +45 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-project-files/capability.yaml +20 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-project-files/decision-rules.md +6 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-project-files/runner.py +39 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-project-files/workflow.md +7 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-script/capability.yaml +18 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-script/decision-rules.md +7 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-script/runner.py +33 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-script/workflow.md +7 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/plan-desktop-automation/capability.yaml +18 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/plan-desktop-automation/decision-rules.md +8 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/plan-desktop-automation/runner.py +33 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/plan-desktop-automation/workflow.md +9 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/review-pyautogui-script/capability.yaml +20 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/review-pyautogui-script/decision-rules.md +8 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/review-pyautogui-script/runner.py +43 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/review-pyautogui-script/workflow.md +7 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/wrap-pyautogui-as-capability/capability.yaml +22 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/wrap-pyautogui-as-capability/decision-rules.md +6 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/wrap-pyautogui-as-capability/runner.py +43 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/wrap-pyautogui-as-capability/workflow.md +7 -0
- package/runtime/agents/pyautogui-automation-builder/infra/integrations/pyautogui-automation/pyautogui_automation_repository.py +856 -0
- package/runtime/agents/pyautogui-automation-builder/knowledge/context.md +17 -0
- package/runtime/agents/pyautogui-automation-builder/knowledge/policies.yaml +24 -0
- package/runtime/agents/pyautogui-automation-builder/knowledge/system.md +13 -0
- package/runtime/agents/pyautogui-automation-builder/templates/capability-wrapper.md +3 -0
- package/runtime/agents/pyautogui-automation-builder/templates/pyautogui-automation.py +12 -0
- package/runtime/agents/pyautogui-automation-builder/templates/pyautogui-readme.md +3 -0
- package/runtime/agents/pyautogui-automation-builder/templates/pyautogui-review-report.md +3 -0
- package/runtime/agents/pyautogui-automation-builder/templates/pyautogui-test.py +2 -0
- package/runtime/agents/pyautogui-automation-builder/tests/test_runners.py +376 -0
- package/runtime/agents/python-automation-builder/AGENTS.md +25 -0
- package/runtime/agents/python-automation-builder/README.md +43 -0
- package/runtime/agents/python-automation-builder/agent.yaml +45 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-automation-project-files/capability.yaml +20 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-automation-project-files/decision-rules.md +6 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-automation-project-files/runner.py +39 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-automation-project-files/workflow.md +7 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-python-automation/capability.yaml +18 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-python-automation/decision-rules.md +5 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-python-automation/runner.py +33 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-python-automation/workflow.md +5 -0
- package/runtime/agents/python-automation-builder/capabilities/plan-python-automation/capability.yaml +18 -0
- package/runtime/agents/python-automation-builder/capabilities/plan-python-automation/decision-rules.md +6 -0
- package/runtime/agents/python-automation-builder/capabilities/plan-python-automation/runner.py +33 -0
- package/runtime/agents/python-automation-builder/capabilities/plan-python-automation/workflow.md +6 -0
- package/runtime/agents/python-automation-builder/capabilities/review-python-automation/capability.yaml +20 -0
- package/runtime/agents/python-automation-builder/capabilities/review-python-automation/decision-rules.md +6 -0
- package/runtime/agents/python-automation-builder/capabilities/review-python-automation/runner.py +43 -0
- package/runtime/agents/python-automation-builder/capabilities/review-python-automation/workflow.md +5 -0
- package/runtime/agents/python-automation-builder/capabilities/wrap-automation-as-capability/capability.yaml +22 -0
- package/runtime/agents/python-automation-builder/capabilities/wrap-automation-as-capability/decision-rules.md +6 -0
- package/runtime/agents/python-automation-builder/capabilities/wrap-automation-as-capability/runner.py +43 -0
- package/runtime/agents/python-automation-builder/capabilities/wrap-automation-as-capability/workflow.md +6 -0
- package/runtime/agents/python-automation-builder/infra/integrations/python-automation/python_automation_repository.py +717 -0
- package/runtime/agents/python-automation-builder/knowledge/context.md +15 -0
- package/runtime/agents/python-automation-builder/knowledge/policies.yaml +12 -0
- package/runtime/agents/python-automation-builder/knowledge/system.md +19 -0
- package/runtime/agents/python-automation-builder/templates/automation-readme.md +13 -0
- package/runtime/agents/python-automation-builder/templates/automation-review-report.md +13 -0
- package/runtime/agents/python-automation-builder/templates/automation-test.py +9 -0
- package/runtime/agents/python-automation-builder/templates/automation.py +19 -0
- package/runtime/agents/python-automation-builder/templates/capability-wrapper.md +4 -0
- package/runtime/agents/python-automation-builder/tests/test_runners.py +292 -0
- package/runtime/agents/selenium-automation-builder/AGENTS.md +27 -0
- package/runtime/agents/selenium-automation-builder/README.md +40 -0
- package/runtime/agents/selenium-automation-builder/agent.yaml +45 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-project-files/capability.yaml +20 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-project-files/decision-rules.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-project-files/runner.py +39 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-project-files/workflow.md +7 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-script/capability.yaml +18 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-script/decision-rules.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-script/runner.py +33 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-script/workflow.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/plan-selenium-automation/capability.yaml +18 -0
- package/runtime/agents/selenium-automation-builder/capabilities/plan-selenium-automation/decision-rules.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/plan-selenium-automation/runner.py +33 -0
- package/runtime/agents/selenium-automation-builder/capabilities/plan-selenium-automation/workflow.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/review-selenium-script/capability.yaml +20 -0
- package/runtime/agents/selenium-automation-builder/capabilities/review-selenium-script/decision-rules.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/review-selenium-script/runner.py +40 -0
- package/runtime/agents/selenium-automation-builder/capabilities/review-selenium-script/workflow.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/wrap-selenium-as-capability/capability.yaml +22 -0
- package/runtime/agents/selenium-automation-builder/capabilities/wrap-selenium-as-capability/decision-rules.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/wrap-selenium-as-capability/runner.py +43 -0
- package/runtime/agents/selenium-automation-builder/capabilities/wrap-selenium-as-capability/workflow.md +6 -0
- package/runtime/agents/selenium-automation-builder/infra/integrations/selenium-automation/selenium_automation_repository.py +793 -0
- package/runtime/agents/selenium-automation-builder/knowledge/context.md +15 -0
- package/runtime/agents/selenium-automation-builder/knowledge/policies.yaml +17 -0
- package/runtime/agents/selenium-automation-builder/knowledge/system.md +18 -0
- package/runtime/agents/selenium-automation-builder/templates/capability-wrapper.md +4 -0
- package/runtime/agents/selenium-automation-builder/templates/selenium-automation.py +20 -0
- package/runtime/agents/selenium-automation-builder/templates/selenium-readme.md +13 -0
- package/runtime/agents/selenium-automation-builder/templates/selenium-review-report.md +13 -0
- package/runtime/agents/selenium-automation-builder/templates/selenium-test.py +9 -0
- package/runtime/agents/selenium-automation-builder/tests/test_runners.py +282 -0
- package/runtime/agents/software-specification-analyst/agent.yaml +17 -4
- package/runtime/agents/software-specification-analyst/capabilities/analyze-multiple-projects/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/analyze-project-context/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/conduct-requirements-interview/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/create-complete-spec/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/create-final-spec-from-analysis/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/create-functional-spec/capability.yaml +11 -0
- package/runtime/agents/software-specification-analyst/capabilities/create-technical-spec/capability.yaml +12 -0
- package/runtime/agents/software-specification-analyst/capabilities/refine-analysis-with-feedback/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/write-user-stories/capability.yaml +12 -0
- package/runtime/agents/sqlserver-change-operator/agent.yaml +12 -1
- package/runtime/agents/sqlserver-data-analyzer/agent.yaml +13 -2
- package/runtime/agents/supabase-project-analyst/AGENTS.md +29 -0
- package/runtime/agents/supabase-project-analyst/README.md +23 -0
- package/runtime/agents/supabase-project-analyst/agent.yaml +53 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-auth-security/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-auth-security/decision-rules.md +5 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-auth-security/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-auth-security/workflow.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-rls-policies/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-rls-policies/decision-rules.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-rls-policies/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-rls-policies/workflow.md +7 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-storage-policies/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-storage-policies/decision-rules.md +5 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-storage-policies/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-storage-policies/workflow.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/generate-supabase-report/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/generate-supabase-report/decision-rules.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/generate-supabase-report/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/generate-supabase-report/workflow.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/inspect-supabase-project/capability.yaml +19 -0
- package/runtime/agents/supabase-project-analyst/capabilities/inspect-supabase-project/decision-rules.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/inspect-supabase-project/runner.py +36 -0
- package/runtime/agents/supabase-project-analyst/capabilities/inspect-supabase-project/workflow.md +7 -0
- package/runtime/agents/supabase-project-analyst/capabilities/plan-supabase-fix/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/plan-supabase-fix/decision-rules.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/plan-supabase-fix/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/plan-supabase-fix/workflow.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/review-migrations/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/review-migrations/decision-rules.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/review-migrations/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/review-migrations/workflow.md +5 -0
- package/runtime/agents/supabase-project-analyst/infra/integrations/supabase-project/supabase_project_repository.py +589 -0
- package/runtime/agents/supabase-project-analyst/knowledge/context.md +11 -0
- package/runtime/agents/supabase-project-analyst/knowledge/policies.yaml +24 -0
- package/runtime/agents/supabase-project-analyst/knowledge/system.md +10 -0
- package/runtime/agents/supabase-project-analyst/templates/supabase-audit.md +3 -0
- package/runtime/agents/supabase-project-analyst/templates/supabase-fix-plan.md +3 -0
- package/runtime/agents/supabase-project-analyst/templates/supabase-inspection.md +3 -0
- package/runtime/agents/supabase-project-analyst/templates/supabase-report.md +3 -0
- package/runtime/agents/supabase-project-analyst/tests/test_runners.py +239 -0
- package/runtime/agents/task-orchestrator/AGENTS.md +8 -0
- package/runtime/agents/task-orchestrator/README.md +7 -0
- package/runtime/agents/task-orchestrator/agent.yaml +53 -0
- package/runtime/agents/task-orchestrator/capabilities/coordinate-execution/capability.yaml +15 -0
- package/runtime/agents/task-orchestrator/capabilities/coordinate-execution/decision-rules.md +6 -0
- package/runtime/agents/task-orchestrator/capabilities/coordinate-execution/workflow.md +7 -0
- package/runtime/agents/task-orchestrator/capabilities/plan-task/capability.yaml +14 -0
- package/runtime/agents/task-orchestrator/capabilities/plan-task/decision-rules.md +6 -0
- package/runtime/agents/task-orchestrator/capabilities/plan-task/workflow.md +8 -0
- package/runtime/agents/task-orchestrator/capabilities/select-specialists/capability.yaml +14 -0
- package/runtime/agents/task-orchestrator/capabilities/select-specialists/decision-rules.md +6 -0
- package/runtime/agents/task-orchestrator/capabilities/select-specialists/workflow.md +7 -0
- package/runtime/agents/task-orchestrator/infra/README.md +5 -0
- package/runtime/agents/task-orchestrator/knowledge/context.md +9 -0
- package/runtime/agents/task-orchestrator/knowledge/system.md +20 -0
- package/runtime/agents/task-orchestrator/templates/README.md +4 -0
- package/runtime/agents/technical-integration-analyst/agent.yaml +15 -2
- package/runtime/agents/topdesk-orchestrator/agent.yaml +10 -2
- package/runtime/cli/README.md +76 -11
- package/runtime/cli/aikit/__init__.py +1 -1
- package/runtime/cli/aikit/acceptance.py +166 -0
- package/runtime/cli/aikit/agent_executor.py +89 -0
- package/runtime/cli/aikit/agent_registry.py +319 -0
- package/runtime/cli/aikit/app_home.py +87 -2
- package/runtime/cli/aikit/architecture.py +84 -0
- package/runtime/cli/aikit/audit.py +216 -3
- package/runtime/cli/aikit/autonomy.py +237 -0
- package/runtime/cli/aikit/capability_runtime.py +522 -0
- package/runtime/cli/aikit/catalog.py +246 -0
- package/runtime/cli/aikit/cli_dispatch.py +1078 -0
- package/runtime/cli/aikit/cli_parser.py +409 -0
- package/runtime/cli/aikit/collaboration.py +359 -0
- package/runtime/cli/aikit/configuration_orchestrator.py +52 -26
- package/runtime/cli/aikit/contribution.py +105 -0
- package/runtime/cli/aikit/control_router.py +298 -0
- package/runtime/cli/aikit/core/__init__.py +1 -0
- package/runtime/cli/aikit/core/capability_contract.py +112 -0
- package/runtime/cli/aikit/core/requests.py +69 -0
- package/runtime/cli/aikit/core/runtime.py +64 -0
- package/runtime/cli/aikit/decision_store.py +17 -0
- package/runtime/cli/aikit/diagnostics.py +10 -3
- package/runtime/cli/aikit/doctor_runtime.py +79 -0
- package/runtime/cli/aikit/errors.py +7 -0
- package/runtime/cli/aikit/eval.py +158 -0
- package/runtime/cli/aikit/execution_reviewer.py +195 -0
- package/runtime/cli/aikit/extensions.py +140 -0
- package/runtime/cli/aikit/fallback.py +1 -0
- package/runtime/cli/aikit/github_pr.py +23 -0
- package/runtime/cli/aikit/guardrails.py +25 -10
- package/runtime/cli/aikit/human_output.py +1026 -0
- package/runtime/cli/aikit/impact_map.py +294 -0
- package/runtime/cli/aikit/install.py +4 -3
- package/runtime/cli/aikit/interactive_wizard.py +79 -0
- package/runtime/cli/aikit/local_llm_operator.py +146 -0
- package/runtime/cli/aikit/lock.py +4 -1
- package/runtime/cli/aikit/main.py +11 -2561
- package/runtime/cli/aikit/mcp_manifest.py +229 -0
- package/runtime/cli/aikit/mcp_server.py +132 -0
- package/runtime/cli/aikit/mcp_tools.py +262 -0
- package/runtime/cli/aikit/mini_brain.py +227 -0
- package/runtime/cli/aikit/model_router.py +193 -20
- package/runtime/cli/aikit/module_controller.py +335 -0
- package/runtime/cli/aikit/natural_prompt_runtime.py +538 -0
- package/runtime/cli/aikit/notifications.py +716 -2
- package/runtime/cli/aikit/ollama.py +1 -0
- package/runtime/cli/aikit/orchestrator.py +1225 -0
- package/runtime/cli/aikit/output.py +63 -2
- package/runtime/cli/aikit/permissions.py +14 -4
- package/runtime/cli/aikit/prompt_injection.py +57 -0
- package/runtime/cli/aikit/review_gate.py +38 -6
- package/runtime/cli/aikit/roadmap.py +195 -0
- package/runtime/cli/aikit/roadmap_cli.py +70 -0
- package/runtime/cli/aikit/router.py +41 -12
- package/runtime/cli/aikit/router_explain.py +152 -0
- package/runtime/cli/aikit/runtime_paths.py +11 -0
- package/runtime/cli/aikit/secrets.py +113 -0
- package/runtime/cli/aikit/sessions.py +125 -2
- package/runtime/cli/aikit/setup_wizard_payload.py +32 -0
- package/runtime/cli/aikit/sources.py +298 -46
- package/runtime/cli/aikit/tasks.py +449 -21
- package/runtime/cli/aikit/wizard_state.py +517 -0
- package/runtime/cli/aikit/workflows.py +115 -0
- package/runtime/cli/aikit/write_policy.py +108 -0
- package/runtime/plugins/claude-code-ai-devkit/README.md +17 -0
- package/runtime/plugins/claude-code-ai-devkit/agents/README.md +29 -2
- package/runtime/plugins/claude-code-ai-devkit/agents/agent-devkit-db-analyst.md +44 -0
- package/runtime/plugins/claude-code-ai-devkit/agents/agent-devkit-execution-reviewer.md +38 -0
- package/runtime/plugins/claude-code-ai-devkit/agents/agent-devkit-pr-reviewer.md +42 -0
- package/runtime/plugins/claude-code-ai-devkit/agents/agent-devkit-repo-explorer.md +40 -0
- package/runtime/plugins/claude-code-ai-devkit/agents/agent-devkit-support-triage.md +43 -0
- package/runtime/plugins/claude-code-ai-devkit/plugin.json +1 -1
- package/runtime/plugins/claude-code-ai-devkit/skills/ai-devkit-router/SKILL.md +16 -0
- package/runtime/plugins/claude-skill-ai-devkit/ai-devkit/SKILL.md +1 -0
- package/runtime/plugins/claude-skill-ai-devkit/ai-devkit/references/subagents.md +21 -0
- package/runtime/plugins/claude-skill-ai-devkit/plugin.json +1 -1
- package/runtime/providers/azure-devops.yaml +9 -0
- package/runtime/providers/github.yaml +4 -0
- package/runtime/providers/local-notification.yaml +5 -2
- package/runtime/providers/local-scheduler.yaml +1 -1
- package/runtime/providers/supabase.yaml +46 -0
- package/runtime/scripts/release-catalog-snapshot.json +543 -0
- package/runtime/scripts/release-gate.py +141 -1
- package/runtime/scripts/validate-repo.py +312 -0
- package/runtime/vendor/skills/napkin/napkin.md +15 -9
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Tests for the Supabase Project Analyst runners."""
|
|
3
|
+
|
|
4
|
+
from __future__ import annotations
|
|
5
|
+
|
|
6
|
+
import importlib.util
|
|
7
|
+
import json
|
|
8
|
+
import subprocess
|
|
9
|
+
import sys
|
|
10
|
+
import tempfile
|
|
11
|
+
import unittest
|
|
12
|
+
from pathlib import Path
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
ROOT = Path(__file__).resolve().parents[3]
|
|
16
|
+
AGENT = ROOT / "agent"
|
|
17
|
+
AGENT_DIR = ROOT / "agents" / "supabase-project-analyst"
|
|
18
|
+
REPOSITORY_PATH = (
|
|
19
|
+
AGENT_DIR
|
|
20
|
+
/ "infra"
|
|
21
|
+
/ "integrations"
|
|
22
|
+
/ "supabase-project"
|
|
23
|
+
/ "supabase_project_repository.py"
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def load_repository_module():
|
|
28
|
+
spec = importlib.util.spec_from_file_location("supabase_project_repository", REPOSITORY_PATH)
|
|
29
|
+
if spec is None or spec.loader is None:
|
|
30
|
+
raise RuntimeError(f"cannot load repository from {REPOSITORY_PATH}")
|
|
31
|
+
module = importlib.util.module_from_spec(spec)
|
|
32
|
+
spec.loader.exec_module(module)
|
|
33
|
+
return module
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class SupabaseProjectAnalystRunnersTest(unittest.TestCase):
|
|
37
|
+
def setUp(self) -> None:
|
|
38
|
+
self.repository_module = load_repository_module()
|
|
39
|
+
|
|
40
|
+
def write_project(self, root: Path) -> Path:
|
|
41
|
+
supabase = root / "supabase"
|
|
42
|
+
migrations = supabase / "migrations"
|
|
43
|
+
functions = supabase / "functions" / "webhook"
|
|
44
|
+
migrations.mkdir(parents=True)
|
|
45
|
+
functions.mkdir(parents=True)
|
|
46
|
+
(supabase / "config.toml").write_text(
|
|
47
|
+
"""
|
|
48
|
+
project_id = "local-project"
|
|
49
|
+
[api]
|
|
50
|
+
schemas = ["public", "storage"]
|
|
51
|
+
[auth]
|
|
52
|
+
site_url = "http://localhost:3000"
|
|
53
|
+
additional_redirect_urls = ["postgresql://user:pass@example.com/app"]
|
|
54
|
+
""".lstrip(),
|
|
55
|
+
encoding="utf-8",
|
|
56
|
+
)
|
|
57
|
+
(root / ".env").write_text(
|
|
58
|
+
"SUPABASE_SERVICE_ROLE_KEY=secret-value\nSUPABASE_DB_URL=postgresql://user:pass@localhost/db\nSUPABASE_ANON_KEY=anon-secret\n",
|
|
59
|
+
encoding="utf-8",
|
|
60
|
+
)
|
|
61
|
+
(migrations / "20260101010101_init.sql").write_text(
|
|
62
|
+
"""
|
|
63
|
+
create table public.orders (
|
|
64
|
+
id uuid primary key,
|
|
65
|
+
user_id uuid not null,
|
|
66
|
+
raw_user_meta_data jsonb
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
create table public.public_notes (
|
|
70
|
+
id bigint generated always as identity primary key,
|
|
71
|
+
body text
|
|
72
|
+
);
|
|
73
|
+
alter table public.orders enable row level security;
|
|
74
|
+
|
|
75
|
+
create policy "orders read" on public.orders
|
|
76
|
+
for select to authenticated
|
|
77
|
+
using (true);
|
|
78
|
+
|
|
79
|
+
create policy "orders update" on public.orders
|
|
80
|
+
for update to authenticated
|
|
81
|
+
using ((select auth.uid()) = user_id);
|
|
82
|
+
|
|
83
|
+
create policy "orders role" on public.orders
|
|
84
|
+
for select
|
|
85
|
+
using (auth.role() = 'authenticated');
|
|
86
|
+
|
|
87
|
+
create policy "public files" on storage.objects
|
|
88
|
+
for select to anon
|
|
89
|
+
using (true);
|
|
90
|
+
|
|
91
|
+
create view public.order_view as select * from public.orders;
|
|
92
|
+
|
|
93
|
+
create function public.admin_orders()
|
|
94
|
+
returns setof public.orders
|
|
95
|
+
language sql
|
|
96
|
+
security definer
|
|
97
|
+
as $$
|
|
98
|
+
select * from public.orders;
|
|
99
|
+
$$;
|
|
100
|
+
|
|
101
|
+
grant select on public.orders to authenticated;
|
|
102
|
+
drop table public.legacy_orders;
|
|
103
|
+
""".lstrip(),
|
|
104
|
+
encoding="utf-8",
|
|
105
|
+
)
|
|
106
|
+
(functions / "index.ts").write_text(
|
|
107
|
+
"""
|
|
108
|
+
const serviceRole = Deno.env.get("SUPABASE_SERVICE_ROLE_KEY");
|
|
109
|
+
const userMetadata = event.user.user_metadata.role;
|
|
110
|
+
console.log(serviceRole, userMetadata);
|
|
111
|
+
""".lstrip(),
|
|
112
|
+
encoding="utf-8",
|
|
113
|
+
)
|
|
114
|
+
return root
|
|
115
|
+
|
|
116
|
+
def test_inspect_supabase_project_reads_local_context_without_secret_values(self) -> None:
|
|
117
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
118
|
+
project = self.write_project(Path(tmpdir))
|
|
119
|
+
repository = self.repository_module.SupabaseProjectRepository()
|
|
120
|
+
|
|
121
|
+
result = repository.inspect_supabase_project(project_path=project)
|
|
122
|
+
|
|
123
|
+
self.assertEqual(result["status"], "ok")
|
|
124
|
+
self.assertEqual(result["write_policy"], "read_only")
|
|
125
|
+
self.assertEqual(result["context"]["migrations_count"], 1)
|
|
126
|
+
self.assertEqual(result["context"]["edge_functions"], ["webhook"])
|
|
127
|
+
rendered = json.dumps(result)
|
|
128
|
+
self.assertNotIn("secret-value", rendered)
|
|
129
|
+
self.assertNotIn("anon-secret", rendered)
|
|
130
|
+
self.assertNotIn("postgresql://user:pass@localhost/db", rendered)
|
|
131
|
+
self.assertNotIn("postgresql://user:pass@example.com/app", rendered)
|
|
132
|
+
|
|
133
|
+
def test_audit_rls_policies_detects_common_supabase_risks(self) -> None:
|
|
134
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
135
|
+
project = self.write_project(Path(tmpdir))
|
|
136
|
+
repository = self.repository_module.SupabaseProjectRepository()
|
|
137
|
+
|
|
138
|
+
result = repository.audit_rls_policies(project_path=project)
|
|
139
|
+
|
|
140
|
+
codes = {finding["code"] for finding in result["findings"]}
|
|
141
|
+
self.assertIn("exposed_table_without_rls", codes)
|
|
142
|
+
self.assertIn("authenticated_without_ownership", codes)
|
|
143
|
+
self.assertIn("deprecated_auth_role", codes)
|
|
144
|
+
self.assertIn("update_policy_without_with_check", codes)
|
|
145
|
+
|
|
146
|
+
def test_audit_auth_security_detects_metadata_and_service_role(self) -> None:
|
|
147
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
148
|
+
project = self.write_project(Path(tmpdir))
|
|
149
|
+
repository = self.repository_module.SupabaseProjectRepository()
|
|
150
|
+
|
|
151
|
+
result = repository.audit_auth_security(project_path=project)
|
|
152
|
+
|
|
153
|
+
codes = {finding["code"] for finding in result["findings"]}
|
|
154
|
+
self.assertIn("user_metadata_authorization", codes)
|
|
155
|
+
self.assertIn("service_role_reference", codes)
|
|
156
|
+
self.assertIn("local_env_secret_present", codes)
|
|
157
|
+
rendered = json.dumps(result)
|
|
158
|
+
self.assertNotIn("secret-value", rendered)
|
|
159
|
+
|
|
160
|
+
def test_audit_storage_policies_detects_public_storage_policy(self) -> None:
|
|
161
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
162
|
+
project = self.write_project(Path(tmpdir))
|
|
163
|
+
repository = self.repository_module.SupabaseProjectRepository()
|
|
164
|
+
|
|
165
|
+
result = repository.audit_storage_policies(project_path=project)
|
|
166
|
+
|
|
167
|
+
codes = {finding["code"] for finding in result["findings"]}
|
|
168
|
+
self.assertIn("storage_public_policy", codes)
|
|
169
|
+
|
|
170
|
+
def test_review_migrations_detects_dangerous_constructs(self) -> None:
|
|
171
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
172
|
+
project = self.write_project(Path(tmpdir))
|
|
173
|
+
repository = self.repository_module.SupabaseProjectRepository()
|
|
174
|
+
|
|
175
|
+
result = repository.review_migrations(project_path=project)
|
|
176
|
+
|
|
177
|
+
codes = {finding["code"] for finding in result["findings"]}
|
|
178
|
+
self.assertIn("destructive_ddl", codes)
|
|
179
|
+
self.assertIn("security_definer_function", codes)
|
|
180
|
+
self.assertIn("view_without_security_invoker", codes)
|
|
181
|
+
self.assertIn("broad_grant_to_public_roles", codes)
|
|
182
|
+
|
|
183
|
+
def test_generate_supabase_report_consolidates_findings(self) -> None:
|
|
184
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
185
|
+
project = self.write_project(Path(tmpdir))
|
|
186
|
+
repository = self.repository_module.SupabaseProjectRepository()
|
|
187
|
+
|
|
188
|
+
result = repository.generate_supabase_report(project_path=project)
|
|
189
|
+
|
|
190
|
+
self.assertEqual(result["status"], "ok")
|
|
191
|
+
self.assertEqual(result["write_policy"], "output_only")
|
|
192
|
+
self.assertGreater(result["summary"]["findings"], 5)
|
|
193
|
+
self.assertTrue(result["recommendations"])
|
|
194
|
+
|
|
195
|
+
def test_plan_supabase_fix_is_dry_run_and_does_not_apply_sql(self) -> None:
|
|
196
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
197
|
+
project = self.write_project(Path(tmpdir))
|
|
198
|
+
repository = self.repository_module.SupabaseProjectRepository()
|
|
199
|
+
|
|
200
|
+
result = repository.plan_supabase_fix(project_path=project)
|
|
201
|
+
|
|
202
|
+
self.assertEqual(result["status"], "ok")
|
|
203
|
+
self.assertEqual(result["write_policy"], "dry_run")
|
|
204
|
+
self.assertFalse(result["apply_real"])
|
|
205
|
+
self.assertIn("execute_sql", result["blocked_actions"])
|
|
206
|
+
self.assertTrue(all(action["apply_real"] is False for action in result["actions"]))
|
|
207
|
+
|
|
208
|
+
def test_inspect_runner_is_executable_through_agent_cli(self) -> None:
|
|
209
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
210
|
+
project = self.write_project(Path(tmpdir))
|
|
211
|
+
|
|
212
|
+
result = subprocess.run(
|
|
213
|
+
[
|
|
214
|
+
sys.executable,
|
|
215
|
+
str(AGENT),
|
|
216
|
+
"--json",
|
|
217
|
+
"run",
|
|
218
|
+
"supabase-project-analyst",
|
|
219
|
+
"inspect-supabase-project",
|
|
220
|
+
"--project-path",
|
|
221
|
+
str(project),
|
|
222
|
+
],
|
|
223
|
+
cwd=ROOT,
|
|
224
|
+
check=False,
|
|
225
|
+
text=True,
|
|
226
|
+
stdout=subprocess.PIPE,
|
|
227
|
+
stderr=subprocess.PIPE,
|
|
228
|
+
timeout=60,
|
|
229
|
+
)
|
|
230
|
+
|
|
231
|
+
self.assertEqual(result.returncode, 0, result.stderr or result.stdout)
|
|
232
|
+
payload = json.loads(result.stdout)
|
|
233
|
+
runner_payload = json.loads(payload["stdout"])
|
|
234
|
+
self.assertEqual(runner_payload["status"], "ok")
|
|
235
|
+
self.assertEqual(runner_payload["context"]["migrations_count"], 1)
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
if __name__ == "__main__":
|
|
239
|
+
unittest.main()
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# AGENTS.md
|
|
2
|
+
|
|
3
|
+
Instrucoes locais para o agente `task-orchestrator`.
|
|
4
|
+
|
|
5
|
+
Este agente coordena planos multiagente. Ele nao executa operacoes de dominio
|
|
6
|
+
diretamente; seleciona especialistas, configura dependencias pendentes e exige
|
|
7
|
+
revisao final quando o trabalho envolve decisao, escrita, codigo ou documento.
|
|
8
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
id: task-orchestrator
|
|
2
|
+
kind: runtime-agent
|
|
3
|
+
name: Task Orchestrator
|
|
4
|
+
version: 0.1.6
|
|
5
|
+
status: draft
|
|
6
|
+
owner: agent-devkit
|
|
7
|
+
|
|
8
|
+
purpose: >
|
|
9
|
+
Coordenar prompts livres, selecionar agentes especialistas, montar planos de
|
|
10
|
+
execucao, identificar configuracoes pendentes e acionar revisao final.
|
|
11
|
+
|
|
12
|
+
runtime_role:
|
|
13
|
+
kind: coordinator
|
|
14
|
+
|
|
15
|
+
agent_mode:
|
|
16
|
+
type: planner
|
|
17
|
+
max_steps: 5
|
|
18
|
+
max_specialists: 3
|
|
19
|
+
max_llm_calls: 1
|
|
20
|
+
timeout_seconds: 300
|
|
21
|
+
can_call_capabilities: true
|
|
22
|
+
can_call_llm: optional
|
|
23
|
+
can_request_user_input: true
|
|
24
|
+
external_writes: false
|
|
25
|
+
allowed_capabilities:
|
|
26
|
+
- provider-configurator/configure-provider-source
|
|
27
|
+
- local-llm-operator/select-local-worker
|
|
28
|
+
- execution-reviewer/review-final-output
|
|
29
|
+
stop_conditions:
|
|
30
|
+
- success
|
|
31
|
+
- needs-input
|
|
32
|
+
- blocked
|
|
33
|
+
- max-steps
|
|
34
|
+
|
|
35
|
+
default_context:
|
|
36
|
+
- knowledge/system.md
|
|
37
|
+
- knowledge/context.md
|
|
38
|
+
|
|
39
|
+
capabilities:
|
|
40
|
+
- plan-task
|
|
41
|
+
- select-specialists
|
|
42
|
+
- coordinate-execution
|
|
43
|
+
|
|
44
|
+
agent_surface:
|
|
45
|
+
orchestrated_agents:
|
|
46
|
+
- provider-configurator/configure-provider-source
|
|
47
|
+
- local-llm-operator/select-local-worker
|
|
48
|
+
- execution-reviewer/review-final-output
|
|
49
|
+
|
|
50
|
+
write_policy:
|
|
51
|
+
default_mode: confirm
|
|
52
|
+
external_writes: delegated
|
|
53
|
+
requires_review: confirm
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
id: task-orchestrator.coordinate-execution
|
|
2
|
+
kind: capability
|
|
3
|
+
name: Coordinate Execution
|
|
4
|
+
version: 0.1.6
|
|
5
|
+
status: draft
|
|
6
|
+
purpose: Coordenar execucao de tarefas planejadas, bloqueios e revisao final.
|
|
7
|
+
write_policy: delegated
|
|
8
|
+
entrypoint:
|
|
9
|
+
workflow: workflow.md
|
|
10
|
+
inputs:
|
|
11
|
+
required: [execution_plan]
|
|
12
|
+
optional: [dry_run]
|
|
13
|
+
outputs:
|
|
14
|
+
artifacts: [orchestration-trace]
|
|
15
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
id: task-orchestrator.plan-task
|
|
2
|
+
kind: capability
|
|
3
|
+
name: Plan Task
|
|
4
|
+
version: 0.1.6
|
|
5
|
+
status: draft
|
|
6
|
+
purpose: Criar um plano multiagente a partir de um prompt livre.
|
|
7
|
+
write_policy: read_only
|
|
8
|
+
entrypoint:
|
|
9
|
+
workflow: workflow.md
|
|
10
|
+
inputs:
|
|
11
|
+
required: [prompt]
|
|
12
|
+
optional: [dry_run, project]
|
|
13
|
+
outputs:
|
|
14
|
+
artifacts: [execution-plan]
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Workflow
|
|
2
|
+
|
|
3
|
+
1. Normalizar o prompt sem preservar segredos.
|
|
4
|
+
2. Detectar rota deterministica quando existir.
|
|
5
|
+
3. Selecionar agente de dominio e especialistas.
|
|
6
|
+
4. Incluir configuracoes pendentes e revisao final.
|
|
7
|
+
5. Retornar plano sem executar escrita externa.
|
|
8
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
id: task-orchestrator.select-specialists
|
|
2
|
+
kind: capability
|
|
3
|
+
name: Select Specialists
|
|
4
|
+
version: 0.1.6
|
|
5
|
+
status: draft
|
|
6
|
+
purpose: Escolher agentes especialistas e capabilities candidatas para um plano.
|
|
7
|
+
write_policy: read_only
|
|
8
|
+
entrypoint:
|
|
9
|
+
workflow: workflow.md
|
|
10
|
+
inputs:
|
|
11
|
+
required: [prompt]
|
|
12
|
+
optional: [route, domain_agent]
|
|
13
|
+
outputs:
|
|
14
|
+
artifacts: [specialist-selection]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Context
|
|
2
|
+
|
|
3
|
+
O runtime Python executa a orquestracao, mas esta pasta define a superficie
|
|
4
|
+
agent-native versionada do coordenador.
|
|
5
|
+
|
|
6
|
+
Planos devem referenciar capabilities reais e manter rastreabilidade via
|
|
7
|
+
`execution_plan`, `specialist_tasks`, `configuration_tasks`, `review_task` e
|
|
8
|
+
`orchestration_trace`.
|
|
9
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# System
|
|
2
|
+
|
|
3
|
+
Voce e o Task Orchestrator do Agent DevKit.
|
|
4
|
+
|
|
5
|
+
Missao:
|
|
6
|
+
|
|
7
|
+
- entender o pedido do usuario;
|
|
8
|
+
- selecionar agentes especialistas;
|
|
9
|
+
- criar plano de execucao pequeno e auditavel;
|
|
10
|
+
- acionar configuracao quando faltar provider/source;
|
|
11
|
+
- delegar tarefas operacionais para modelos locais quando apropriado;
|
|
12
|
+
- exigir revisao final antes de concluir trabalho relevante.
|
|
13
|
+
|
|
14
|
+
Guardrails:
|
|
15
|
+
|
|
16
|
+
- nao executar escrita externa diretamente;
|
|
17
|
+
- nao inventar configuracao ausente;
|
|
18
|
+
- usar agentes reais registrados em `agents/`;
|
|
19
|
+
- manter o plano agnostico de cliente, projeto e credenciais.
|
|
20
|
+
|
|
@@ -53,7 +53,20 @@ agent_surface:
|
|
|
53
53
|
- knowledge/policies.yaml
|
|
54
54
|
|
|
55
55
|
write_policy:
|
|
56
|
-
read_operations:
|
|
57
|
-
artifact_generation:
|
|
56
|
+
read_operations: read_only
|
|
57
|
+
artifact_generation: read_only
|
|
58
58
|
external_calls: confirm
|
|
59
59
|
mutation_operations: confirm
|
|
60
|
+
|
|
61
|
+
routing:
|
|
62
|
+
anchors:
|
|
63
|
+
- api
|
|
64
|
+
- integracao
|
|
65
|
+
- integration
|
|
66
|
+
- mcp
|
|
67
|
+
- rest
|
|
68
|
+
- sftp
|
|
69
|
+
- soap
|
|
70
|
+
intents:
|
|
71
|
+
- technical.integration.analysis
|
|
72
|
+
priority: 50
|
|
@@ -48,7 +48,15 @@ agent_surface:
|
|
|
48
48
|
- knowledge/policies.yaml
|
|
49
49
|
|
|
50
50
|
write_policy:
|
|
51
|
-
read_operations:
|
|
51
|
+
read_operations: read_only
|
|
52
52
|
create_operations: confirm
|
|
53
53
|
update_operations: confirm
|
|
54
|
-
destructive_operations:
|
|
54
|
+
destructive_operations: blocked_by_default
|
|
55
|
+
|
|
56
|
+
routing:
|
|
57
|
+
anchors:
|
|
58
|
+
- chamado
|
|
59
|
+
- topdesk
|
|
60
|
+
intents:
|
|
61
|
+
- topdesk.incident
|
|
62
|
+
priority: 50
|
package/runtime/cli/README.md
CHANGED
|
@@ -48,9 +48,36 @@ agent run azure-devops-orchestrator read-card --project "Projeto" --id 123 --inc
|
|
|
48
48
|
backends. `agent providers` e `agent provider` leem o registry local de
|
|
49
49
|
providers e diagnosticam metadados disponiveis no processo atual. `agent
|
|
50
50
|
credential` resolve referencias de credenciais sem imprimir valores. `agent`
|
|
51
|
-
e a entrada em linguagem natural
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
e a entrada em linguagem natural: ele cria um `execution_plan` multiagente,
|
|
52
|
+
seleciona coordenador, especialistas, configurador de provider e revisor, e usa
|
|
53
|
+
capabilities deterministicas quando a rota estiver pronta. Backend LLM so e
|
|
54
|
+
necessario quando a tarefa nao puder ser resolvida por rota/capability local; se
|
|
55
|
+
nao houver backend disponivel, retorna uma mensagem instrutiva para usar
|
|
56
|
+
`agent run` ou configurar um backend.
|
|
57
|
+
|
|
58
|
+
Em `--json`, respostas de `agent "<prompt>"` incluem:
|
|
59
|
+
|
|
60
|
+
- `execution_plan`: contrato `ai-devkit.agentic-plan/v1`;
|
|
61
|
+
- `specialist_tasks`: capabilities escolhidas por agente;
|
|
62
|
+
- `configuration_tasks`: providers/fontes que precisam de opt-in;
|
|
63
|
+
- `review_task`: revisao final exigida pelo runtime;
|
|
64
|
+
- `orchestration_trace`: trilha resumida de coordenacao.
|
|
65
|
+
|
|
66
|
+
Os papeis de runtime tambem sao agentes reais versionados em `agents/`:
|
|
67
|
+
`task-orchestrator`, `provider-configurator`, `local-llm-operator` e
|
|
68
|
+
`execution-reviewer`. Eles aparecem em `agent agents list` e suas capabilities
|
|
69
|
+
podem ser inspecionadas como qualquer outro agente.
|
|
70
|
+
|
|
71
|
+
Quando o plano identifica uma tarefa operacional repetitiva e ha Ollama
|
|
72
|
+
configurado, o runtime delega essa parte ao `local-llm-operator` e injeta o
|
|
73
|
+
resultado como contexto para o coordenador principal. Essa delegacao nunca faz
|
|
74
|
+
escrita externa, aprovacao, decisao de permissao ou revisao final.
|
|
75
|
+
|
|
76
|
+
Quando `review_gate.required = true`, a conclusao passa pelo
|
|
77
|
+
`execution-reviewer` usando um reviewer independente, preferindo `claude-code`
|
|
78
|
+
ou `codex-cli`. Sem reviewer configurado, quando o reviewer retorna
|
|
79
|
+
`REVIEW BLOCKED`, ou quando nao retorna `REVIEW OK`, a execucao termina como
|
|
80
|
+
`needs-review` e nao como `ok`.
|
|
54
81
|
|
|
55
82
|
## Instalacao global e por projeto
|
|
56
83
|
|
|
@@ -87,7 +114,7 @@ Destinos criados:
|
|
|
87
114
|
|
|
88
115
|
- `.ai-devkit/config.yaml`: configuracao minima da instalacao, sem segredos.
|
|
89
116
|
- `.ai-devkit/ai-devkit.lock`: lock por projeto com runtime, commit e perfis.
|
|
90
|
-
- `~/.
|
|
117
|
+
- `~/.agent-devkit/runtime.lock`: lock global com runtime, commit e canal local.
|
|
91
118
|
- `.codex/plugins/ai-devkit`: bundle local do plugin Codex.
|
|
92
119
|
- `.codex/skills/ai-devkit-router`: skill de roteamento para Codex.
|
|
93
120
|
- `.claude/plugins/ai-devkit`: bundle local do plugin Claude Code.
|
|
@@ -124,7 +151,7 @@ agent install project --target . --host all --profiles sustentacao,infra
|
|
|
124
151
|
|
|
125
152
|
Arquivos gerados:
|
|
126
153
|
|
|
127
|
-
- global: `~/.
|
|
154
|
+
- global: `~/.agent-devkit/runtime.lock`
|
|
128
155
|
- projeto: `<project>/.ai-devkit/ai-devkit.lock`
|
|
129
156
|
|
|
130
157
|
O lock registra `source`, `repository`, `ref`, `commit`, `git_ref`, `dirty`,
|
|
@@ -309,9 +336,17 @@ agent --llm claude-code "analise este incidente"
|
|
|
309
336
|
agent --llm openai "crie um plano de testes"
|
|
310
337
|
```
|
|
311
338
|
|
|
312
|
-
A configuracao padrao fica em `~/.
|
|
313
|
-
testes, use `
|
|
314
|
-
diretorio.
|
|
339
|
+
A configuracao padrao fica em `~/.agent-devkit/config.json`. Para automacao e
|
|
340
|
+
testes, use `AGENT_DEVKIT_HOME`, `AI_DEVKIT_CONFIG_HOME` ou `AIKIT_CONFIG_HOME`
|
|
341
|
+
para apontar outro diretorio. `~/.ai-devkit` continua aceito como home legado
|
|
342
|
+
quando ja existir.
|
|
343
|
+
|
|
344
|
+
Para migrar explicitamente o home legado para o caminho canonico:
|
|
345
|
+
|
|
346
|
+
```bash
|
|
347
|
+
agent config migrate-home --dry-run
|
|
348
|
+
agent config migrate-home
|
|
349
|
+
```
|
|
315
350
|
|
|
316
351
|
## Providers
|
|
317
352
|
|
|
@@ -337,7 +372,7 @@ agent provider unset topdesk
|
|
|
337
372
|
`provider configure` grava apenas referencias seguras, como `env:VAR` e
|
|
338
373
|
`env-file:/caminho#VAR`; valores de segredos nunca sao persistidos nem exibidos.
|
|
339
374
|
Use `--session-only` para validar uma configuracao sem escrever em
|
|
340
|
-
`~/.
|
|
375
|
+
`~/.agent-devkit/config.json`. Arquivos passados com `--env-file` precisam conter
|
|
341
376
|
ao menos um campo reconhecido pelo provider selecionado.
|
|
342
377
|
|
|
343
378
|
Quando um prompt ou capability exige uma source/provider ausente, o runtime
|
|
@@ -350,10 +385,31 @@ agent --json "analise o card 7914 do projeto sustentacao no azure"
|
|
|
350
385
|
agent --json run topdesk-orchestrator read-incident --number "I 2606 001"
|
|
351
386
|
```
|
|
352
387
|
|
|
388
|
+
Fluxo de continuidade:
|
|
389
|
+
|
|
390
|
+
```bash
|
|
391
|
+
agent wizard list
|
|
392
|
+
agent wizard show <wizard-id>
|
|
393
|
+
agent wizard answer <wizard-id> sim
|
|
394
|
+
agent wizard answer <wizard-id> <resposta>
|
|
395
|
+
agent wizard cancel <wizard-id>
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
Quando a ultima resposta valida e recebida, o wizard salva uma source
|
|
399
|
+
reutilizavel em `~/.agent-devkit/config.json`, sem segredos em claro, e retoma o
|
|
400
|
+
prompt original. Use `agent wizard answer <wizard-id> <resposta> --no-run` para
|
|
401
|
+
salvar a configuracao sem retomar a execucao.
|
|
402
|
+
|
|
403
|
+
Em terminal interativo, `agent "<prompt>"` conduz essas perguntas diretamente.
|
|
404
|
+
Com `--json`, pipes ou automacao, ele retorna `needs-input` com `wizard_id` para
|
|
405
|
+
que o fluxo seja continuado de forma explicita e nao bloqueante.
|
|
406
|
+
|
|
353
407
|
## Decisoes, ferramentas e integracoes
|
|
354
408
|
|
|
355
|
-
Opt-ins e opt-outs ficam em `~/.
|
|
356
|
-
gerenciados por comando ou prompt
|
|
409
|
+
Opt-ins e opt-outs ficam em `~/.agent-devkit/config/decisions.json` e podem ser
|
|
410
|
+
gerenciados por comando ou prompt. O roteamento por prompt usa os catalogos de
|
|
411
|
+
toolchain, providers, skills e backends LLM; nao depende de uma lista fixa de
|
|
412
|
+
alvos.
|
|
357
413
|
|
|
358
414
|
```bash
|
|
359
415
|
agent decisions list
|
|
@@ -364,9 +420,18 @@ agent integrations list
|
|
|
364
420
|
agent skills list
|
|
365
421
|
agent "mostre minhas decisoes"
|
|
366
422
|
agent "desative o azure devops por enquanto"
|
|
423
|
+
agent "desative topdesk"
|
|
424
|
+
agent "habilite gh-cli"
|
|
425
|
+
agent "desative a skill security-review"
|
|
426
|
+
agent "desative openrouter"
|
|
367
427
|
agent "reative o ollama"
|
|
428
|
+
agent "liste llms"
|
|
429
|
+
agent "esqueca minha decisao sobre anthropic"
|
|
368
430
|
```
|
|
369
431
|
|
|
432
|
+
Quando um nome e ambiguo entre categorias, o retorno fica `needs-input` e inclui
|
|
433
|
+
`matches` para o usuario informar a categoria ou o id exato.
|
|
434
|
+
|
|
370
435
|
## Credential Resolver
|
|
371
436
|
|
|
372
437
|
O resolver de credenciais opera por referencias e origens, sem retornar valores
|