agent-devkit 0.1.6 → 0.3.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 +59 -5
- package/bin/agent.mjs +133 -7
- package/package.json +1 -1
- package/runtime/README.md +239 -5
- package/runtime/agent +36 -5
- package/runtime/agents/README.md +44 -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/contribution-reviewer/AGENTS.md +8 -0
- package/runtime/agents/contribution-reviewer/README.md +8 -0
- package/runtime/agents/contribution-reviewer/agent.yaml +40 -0
- package/runtime/agents/contribution-reviewer/capabilities/plan-contribution-pr/capability.yaml +27 -0
- package/runtime/agents/contribution-reviewer/capabilities/plan-contribution-pr/decision-rules.md +5 -0
- package/runtime/agents/contribution-reviewer/capabilities/plan-contribution-pr/workflow.md +6 -0
- package/runtime/agents/contribution-reviewer/capabilities/review-contribution/capability.yaml +25 -0
- package/runtime/agents/contribution-reviewer/capabilities/review-contribution/decision-rules.md +5 -0
- package/runtime/agents/contribution-reviewer/capabilities/review-contribution/workflow.md +5 -0
- package/runtime/agents/contribution-reviewer/capabilities/validate-local-contribution/capability.yaml +26 -0
- package/runtime/agents/contribution-reviewer/capabilities/validate-local-contribution/decision-rules.md +5 -0
- package/runtime/agents/contribution-reviewer/capabilities/validate-local-contribution/workflow.md +6 -0
- package/runtime/agents/contribution-reviewer/infra/README.md +6 -0
- package/runtime/agents/contribution-reviewer/knowledge/context.md +8 -0
- package/runtime/agents/contribution-reviewer/knowledge/system.md +8 -0
- package/runtime/agents/contribution-reviewer/templates/README.md +3 -0
- 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-author/AGENTS.md +7 -0
- package/runtime/agents/knowledge-author/README.md +7 -0
- package/runtime/agents/knowledge-author/agent.yaml +37 -0
- package/runtime/agents/knowledge-author/capabilities/create-knowledge-snapshot/capability.yaml +30 -0
- package/runtime/agents/knowledge-author/capabilities/create-knowledge-snapshot/decision-rules.md +6 -0
- package/runtime/agents/knowledge-author/capabilities/create-knowledge-snapshot/workflow.md +7 -0
- package/runtime/agents/knowledge-author/infra/.gitkeep +1 -0
- package/runtime/agents/knowledge-author/knowledge/context.md +4 -0
- package/runtime/agents/knowledge-author/knowledge/system.md +4 -0
- package/runtime/agents/knowledge-author/templates/.gitkeep +1 -0
- package/runtime/agents/knowledge-curator/AGENTS.md +7 -0
- package/runtime/agents/knowledge-curator/README.md +6 -0
- package/runtime/agents/knowledge-curator/agent.yaml +37 -0
- package/runtime/agents/knowledge-curator/capabilities/curate-knowledge-base/capability.yaml +29 -0
- package/runtime/agents/knowledge-curator/capabilities/curate-knowledge-base/decision-rules.md +6 -0
- package/runtime/agents/knowledge-curator/capabilities/curate-knowledge-base/workflow.md +7 -0
- package/runtime/agents/knowledge-curator/infra/.gitkeep +1 -0
- package/runtime/agents/knowledge-curator/knowledge/context.md +4 -0
- package/runtime/agents/knowledge-curator/knowledge/system.md +4 -0
- package/runtime/agents/knowledge-curator/templates/.gitkeep +1 -0
- package/runtime/agents/knowledge-generator/agent.yaml +13 -3
- package/runtime/agents/knowledge-generator/capabilities/generate-knowledge/capability.yaml +1 -1
- package/runtime/agents/knowledge-infra-builder/AGENTS.md +8 -0
- package/runtime/agents/knowledge-infra-builder/README.md +8 -0
- package/runtime/agents/knowledge-infra-builder/agent.yaml +38 -0
- package/runtime/agents/knowledge-infra-builder/capabilities/create-knowledge-base/capability.yaml +30 -0
- package/runtime/agents/knowledge-infra-builder/capabilities/create-knowledge-base/decision-rules.md +6 -0
- package/runtime/agents/knowledge-infra-builder/capabilities/create-knowledge-base/workflow.md +7 -0
- package/runtime/agents/knowledge-infra-builder/infra/.gitkeep +1 -0
- package/runtime/agents/knowledge-infra-builder/knowledge/context.md +4 -0
- package/runtime/agents/knowledge-infra-builder/knowledge/system.md +4 -0
- package/runtime/agents/knowledge-infra-builder/templates/.gitkeep +1 -0
- package/runtime/agents/knowledge-owner/AGENTS.md +7 -0
- package/runtime/agents/knowledge-owner/README.md +6 -0
- package/runtime/agents/knowledge-owner/agent.yaml +37 -0
- package/runtime/agents/knowledge-owner/capabilities/publish-knowledge-snapshot/capability.yaml +28 -0
- package/runtime/agents/knowledge-owner/capabilities/publish-knowledge-snapshot/decision-rules.md +6 -0
- package/runtime/agents/knowledge-owner/capabilities/publish-knowledge-snapshot/workflow.md +7 -0
- package/runtime/agents/knowledge-owner/infra/.gitkeep +1 -0
- package/runtime/agents/knowledge-owner/knowledge/context.md +4 -0
- package/runtime/agents/knowledge-owner/knowledge/system.md +4 -0
- package/runtime/agents/knowledge-owner/templates/.gitkeep +1 -0
- package/runtime/agents/knowledge-reviewer/AGENTS.md +7 -0
- package/runtime/agents/knowledge-reviewer/README.md +7 -0
- package/runtime/agents/knowledge-reviewer/agent.yaml +36 -0
- package/runtime/agents/knowledge-reviewer/capabilities/review-knowledge-snapshot/capability.yaml +26 -0
- package/runtime/agents/knowledge-reviewer/capabilities/review-knowledge-snapshot/decision-rules.md +6 -0
- package/runtime/agents/knowledge-reviewer/capabilities/review-knowledge-snapshot/workflow.md +7 -0
- package/runtime/agents/knowledge-reviewer/infra/.gitkeep +1 -0
- package/runtime/agents/knowledge-reviewer/knowledge/context.md +4 -0
- package/runtime/agents/knowledge-reviewer/knowledge/system.md +4 -0
- package/runtime/agents/knowledge-reviewer/templates/.gitkeep +1 -0
- 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/local-memory-manager/AGENTS.md +5 -0
- package/runtime/agents/local-memory-manager/README.md +7 -0
- package/runtime/agents/local-memory-manager/agent.yaml +38 -0
- package/runtime/agents/local-memory-manager/capabilities/curate-local-memory/capability.yaml +19 -0
- package/runtime/agents/local-memory-manager/capabilities/curate-local-memory/decision-rules.md +5 -0
- package/runtime/agents/local-memory-manager/capabilities/curate-local-memory/workflow.md +6 -0
- package/runtime/agents/local-memory-manager/capabilities/inspect-local-memory/capability.yaml +19 -0
- package/runtime/agents/local-memory-manager/capabilities/inspect-local-memory/decision-rules.md +5 -0
- package/runtime/agents/local-memory-manager/capabilities/inspect-local-memory/workflow.md +5 -0
- package/runtime/agents/local-memory-manager/infra/.gitkeep +1 -0
- package/runtime/agents/local-memory-manager/knowledge/context.md +4 -0
- package/runtime/agents/local-memory-manager/knowledge/system.md +4 -0
- package/runtime/agents/local-memory-manager/templates/.gitkeep +1 -0
- package/runtime/agents/memory-sync-manager/AGENTS.md +7 -0
- package/runtime/agents/memory-sync-manager/README.md +7 -0
- package/runtime/agents/memory-sync-manager/agent.yaml +37 -0
- package/runtime/agents/memory-sync-manager/capabilities/plan-memory-backup/capability.yaml +29 -0
- package/runtime/agents/memory-sync-manager/capabilities/plan-memory-backup/decision-rules.md +6 -0
- package/runtime/agents/memory-sync-manager/capabilities/plan-memory-backup/workflow.md +7 -0
- package/runtime/agents/memory-sync-manager/infra/.gitkeep +1 -0
- package/runtime/agents/memory-sync-manager/knowledge/context.md +4 -0
- package/runtime/agents/memory-sync-manager/knowledge/system.md +4 -0
- package/runtime/agents/memory-sync-manager/templates/.gitkeep +1 -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/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/shared-memory-curator/AGENTS.md +5 -0
- package/runtime/agents/shared-memory-curator/README.md +6 -0
- package/runtime/agents/shared-memory-curator/agent.yaml +38 -0
- package/runtime/agents/shared-memory-curator/capabilities/create-shared-memory/capability.yaml +19 -0
- package/runtime/agents/shared-memory-curator/capabilities/create-shared-memory/decision-rules.md +5 -0
- package/runtime/agents/shared-memory-curator/capabilities/create-shared-memory/workflow.md +5 -0
- package/runtime/agents/shared-memory-curator/capabilities/publish-shared-submission/capability.yaml +19 -0
- package/runtime/agents/shared-memory-curator/capabilities/publish-shared-submission/decision-rules.md +5 -0
- package/runtime/agents/shared-memory-curator/capabilities/publish-shared-submission/workflow.md +5 -0
- package/runtime/agents/shared-memory-curator/capabilities/review-shared-submission/capability.yaml +19 -0
- package/runtime/agents/shared-memory-curator/capabilities/review-shared-submission/decision-rules.md +5 -0
- package/runtime/agents/shared-memory-curator/capabilities/review-shared-submission/workflow.md +5 -0
- package/runtime/agents/shared-memory-curator/infra/.gitkeep +1 -0
- package/runtime/agents/shared-memory-curator/knowledge/context.md +5 -0
- package/runtime/agents/shared-memory-curator/knowledge/system.md +4 -0
- package/runtime/agents/shared-memory-curator/templates/.gitkeep +1 -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/README.md +35 -4
- 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 +247 -6
- package/runtime/cli/aikit/agentic_commands.py +158 -0
- package/runtime/cli/aikit/app_home.py +1 -0
- package/runtime/cli/aikit/architecture.py +84 -0
- package/runtime/cli/aikit/audit.py +187 -8
- package/runtime/cli/aikit/autonomy.py +237 -0
- package/runtime/cli/aikit/capability_runtime.py +522 -0
- package/runtime/cli/aikit/catalog.py +516 -0
- package/runtime/cli/aikit/cli_dispatch.py +1554 -0
- package/runtime/cli/aikit/cli_parser.py +547 -0
- package/runtime/cli/aikit/collaboration.py +359 -0
- package/runtime/cli/aikit/configuration_orchestrator.py +52 -26
- package/runtime/cli/aikit/contribution.py +235 -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 +164 -0
- package/runtime/cli/aikit/errors.py +7 -0
- package/runtime/cli/aikit/eval.py +504 -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 +1332 -0
- package/runtime/cli/aikit/impact_map.py +294 -0
- package/runtime/cli/aikit/interactive_wizard.py +227 -0
- package/runtime/cli/aikit/knowledge_base.py +1067 -0
- package/runtime/cli/aikit/llm.py +12 -4
- package/runtime/cli/aikit/local_artifacts.py +444 -0
- package/runtime/cli/aikit/local_llm.py +161 -0
- package/runtime/cli/aikit/local_llm_operator.py +35 -1
- package/runtime/cli/aikit/main.py +23 -2833
- package/runtime/cli/aikit/mcp_manifest.py +1027 -0
- package/runtime/cli/aikit/mcp_server.py +132 -0
- package/runtime/cli/aikit/mcp_tools.py +900 -0
- package/runtime/cli/aikit/memory.py +405 -0
- package/runtime/cli/aikit/mini_brain.py +246 -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 +662 -0
- package/runtime/cli/aikit/notifications.py +716 -2
- package/runtime/cli/aikit/ollama.py +64 -14
- package/runtime/cli/aikit/onboarding.py +551 -0
- package/runtime/cli/aikit/orchestrator.py +809 -119
- package/runtime/cli/aikit/output.py +130 -2
- package/runtime/cli/aikit/permissions.py +14 -4
- package/runtime/cli/aikit/prompt_injection.py +68 -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 +114 -0
- package/runtime/cli/aikit/sessions.py +88 -2
- package/runtime/cli/aikit/setup_wizard_payload.py +35 -0
- package/runtime/cli/aikit/shared_memory.py +415 -0
- package/runtime/cli/aikit/sources.py +298 -50
- package/runtime/cli/aikit/specialist_readiness.py +152 -0
- package/runtime/cli/aikit/tasks.py +553 -22
- package/runtime/cli/aikit/team.py +380 -0
- package/runtime/cli/aikit/toolchain.py +7 -2
- package/runtime/cli/aikit/wizard_state.py +15 -1
- package/runtime/cli/aikit/workflows.py +216 -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/knowledge-github.yaml +40 -0
- package/runtime/providers/knowledge-google-drive.yaml +32 -0
- package/runtime/providers/knowledge-local.yaml +26 -0
- package/runtime/providers/knowledge-notion.yaml +32 -0
- package/runtime/providers/knowledge-obsidian.yaml +24 -0
- package/runtime/providers/knowledge-onedrive.yaml +36 -0
- package/runtime/providers/knowledge-s3.yaml +45 -0
- package/runtime/providers/knowledge-sharepoint.yaml +39 -0
- package/runtime/providers/knowledge-supabase.yaml +43 -0
- package/runtime/providers/knowledge-vector.yaml +39 -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/requirements.txt +6 -0
- package/runtime/scripts/docker-cli-qa.sh +453 -0
- package/runtime/scripts/release-catalog-snapshot.json +594 -0
- package/runtime/scripts/release-gate.py +189 -8
- package/runtime/scripts/validate-repo.py +312 -0
- package/runtime/tooling/toolchain.yaml +92 -0
- package/runtime/vendor/skills/napkin/napkin.md +32 -12
- package/runtime/workflows/azure-card-analysis/README.md +3 -0
- package/runtime/workflows/azure-card-analysis/workflow.yaml +30 -0
- package/runtime/workflows/daily-pr-review/README.md +3 -0
- package/runtime/workflows/daily-pr-review/workflow.yaml +31 -0
- package/runtime/workflows/incident-analysis/README.md +3 -0
- package/runtime/workflows/incident-analysis/workflow.yaml +33 -0
- package/runtime/workflows/release-prep/README.md +3 -0
- package/runtime/workflows/release-prep/workflow.yaml +30 -0
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Tests for the Generic Agent Builder runners."""
|
|
3
|
+
|
|
4
|
+
from __future__ import annotations
|
|
5
|
+
|
|
6
|
+
import importlib.util
|
|
7
|
+
import json
|
|
8
|
+
import subprocess
|
|
9
|
+
import sys
|
|
10
|
+
import tempfile
|
|
11
|
+
import unittest
|
|
12
|
+
from pathlib import Path
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
ROOT = Path(__file__).resolve().parents[3]
|
|
16
|
+
AGENT = ROOT / "agent"
|
|
17
|
+
AGENT_DIR = ROOT / "agents" / "generic-agent-builder"
|
|
18
|
+
REPOSITORY_PATH = AGENT_DIR / "infra" / "integrations" / "generic-agent" / "generic_agent_repository.py"
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def load_repository_module():
|
|
22
|
+
spec = importlib.util.spec_from_file_location("generic_agent_repository", REPOSITORY_PATH)
|
|
23
|
+
if spec is None or spec.loader is None:
|
|
24
|
+
raise RuntimeError(f"cannot load repository from {REPOSITORY_PATH}")
|
|
25
|
+
module = importlib.util.module_from_spec(spec)
|
|
26
|
+
spec.loader.exec_module(module)
|
|
27
|
+
return module
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class GenericAgentBuilderRunnersTest(unittest.TestCase):
|
|
31
|
+
def setUp(self) -> None:
|
|
32
|
+
self.repository_module = load_repository_module()
|
|
33
|
+
|
|
34
|
+
def write_spec(
|
|
35
|
+
self,
|
|
36
|
+
root: Path,
|
|
37
|
+
*,
|
|
38
|
+
target_host: str = "generic",
|
|
39
|
+
target_project: Path | None = None,
|
|
40
|
+
domain_context: str = "Support triage for internal software projects.",
|
|
41
|
+
) -> Path:
|
|
42
|
+
path = root / "generic-agent-spec.yaml"
|
|
43
|
+
target_project_line = f"target_project: {target_project}\n" if target_project else ""
|
|
44
|
+
path.write_text(
|
|
45
|
+
f"""
|
|
46
|
+
target_host: {target_host}
|
|
47
|
+
{target_project_line}agent_name: Support Review Agent
|
|
48
|
+
purpose: >
|
|
49
|
+
Review support tickets and produce concise operational guidance.
|
|
50
|
+
allowed_tools:
|
|
51
|
+
- shell
|
|
52
|
+
- file_search
|
|
53
|
+
forbidden_actions:
|
|
54
|
+
- write secrets
|
|
55
|
+
- bypass host permissions
|
|
56
|
+
domain_context: {domain_context}
|
|
57
|
+
output_format: Markdown report with facts, risks and next steps.
|
|
58
|
+
quality_gates:
|
|
59
|
+
- cite assumptions
|
|
60
|
+
- ask human before external writes
|
|
61
|
+
""".lstrip(),
|
|
62
|
+
encoding="utf-8",
|
|
63
|
+
)
|
|
64
|
+
return path
|
|
65
|
+
|
|
66
|
+
def test_plan_generic_agent_returns_host_profile_without_writing(self) -> None:
|
|
67
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
68
|
+
root = Path(tmpdir)
|
|
69
|
+
spec_path = self.write_spec(root)
|
|
70
|
+
repository = self.repository_module.GenericAgentRepository(root=root)
|
|
71
|
+
|
|
72
|
+
result = repository.plan_generic_agent(spec_path=spec_path)
|
|
73
|
+
|
|
74
|
+
self.assertEqual(result["status"], "ok")
|
|
75
|
+
self.assertEqual(result["target_host"], "generic")
|
|
76
|
+
planned_paths = {item["path"] for item in result["planned_artifacts"]}
|
|
77
|
+
self.assertIn("AGENTS.md", planned_paths)
|
|
78
|
+
self.assertFalse((root / "AGENTS.md").exists())
|
|
79
|
+
|
|
80
|
+
def test_plan_generic_agent_reports_needs_input_for_incomplete_spec(self) -> None:
|
|
81
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
82
|
+
root = Path(tmpdir)
|
|
83
|
+
spec_path = root / "generic-agent-spec.yaml"
|
|
84
|
+
spec_path.write_text("target_host: generic\n", encoding="utf-8")
|
|
85
|
+
repository = self.repository_module.GenericAgentRepository(root=root)
|
|
86
|
+
|
|
87
|
+
result = repository.plan_generic_agent(spec_path=spec_path)
|
|
88
|
+
|
|
89
|
+
self.assertEqual(result["status"], "needs-input")
|
|
90
|
+
self.assertGreaterEqual(set(result["missing_fields"]), {"agent_name", "purpose", "domain_context"})
|
|
91
|
+
|
|
92
|
+
def test_generate_agent_instructions_contains_guardrails_and_limits(self) -> None:
|
|
93
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
94
|
+
root = Path(tmpdir)
|
|
95
|
+
spec_path = self.write_spec(root)
|
|
96
|
+
repository = self.repository_module.GenericAgentRepository(root=root)
|
|
97
|
+
|
|
98
|
+
result = repository.generate_agent_instructions(spec_path=spec_path)
|
|
99
|
+
|
|
100
|
+
self.assertEqual(result["status"], "ok")
|
|
101
|
+
content = result["content"]
|
|
102
|
+
self.assertIn("## Role", content)
|
|
103
|
+
self.assertIn("## Workflow", content)
|
|
104
|
+
self.assertIn("## Guardrails", content)
|
|
105
|
+
self.assertIn("## Human Escalation", content)
|
|
106
|
+
self.assertIn("Ask a human", content)
|
|
107
|
+
self.assertIn("bypass host permissions", content)
|
|
108
|
+
|
|
109
|
+
def test_generate_skill_returns_skill_without_writing(self) -> None:
|
|
110
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
111
|
+
root = Path(tmpdir)
|
|
112
|
+
spec_path = self.write_spec(root, target_host="claude")
|
|
113
|
+
repository = self.repository_module.GenericAgentRepository(root=root)
|
|
114
|
+
|
|
115
|
+
result = repository.generate_skill(spec_path=spec_path)
|
|
116
|
+
|
|
117
|
+
self.assertEqual(result["status"], "ok")
|
|
118
|
+
self.assertIn("---", result["content"])
|
|
119
|
+
self.assertIn("name: support-review-agent", result["content"])
|
|
120
|
+
self.assertIn("# Support Review Agent", result["content"])
|
|
121
|
+
self.assertFalse((root / "SKILL.md").exists())
|
|
122
|
+
|
|
123
|
+
def test_generate_project_agent_files_dry_run_does_not_write(self) -> None:
|
|
124
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
125
|
+
root = Path(tmpdir)
|
|
126
|
+
target_project = root / "target-project"
|
|
127
|
+
target_project.mkdir()
|
|
128
|
+
spec_path = self.write_spec(root, target_project=target_project)
|
|
129
|
+
repository = self.repository_module.GenericAgentRepository(root=root)
|
|
130
|
+
|
|
131
|
+
result = repository.generate_project_agent_files(spec_path=spec_path)
|
|
132
|
+
|
|
133
|
+
self.assertEqual(result["status"], "planned")
|
|
134
|
+
self.assertTrue(result["dry_run"])
|
|
135
|
+
planned_paths = {item["path"] for item in result["planned_files"]}
|
|
136
|
+
self.assertIn("AGENTS.md", planned_paths)
|
|
137
|
+
self.assertFalse((target_project / "AGENTS.md").exists())
|
|
138
|
+
|
|
139
|
+
def test_generate_project_agent_files_execute_writes_inside_target_project(self) -> None:
|
|
140
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
141
|
+
root = Path(tmpdir)
|
|
142
|
+
target_project = root / "target-project"
|
|
143
|
+
target_project.mkdir()
|
|
144
|
+
spec_path = self.write_spec(root, target_project=target_project)
|
|
145
|
+
repository = self.repository_module.GenericAgentRepository(root=root)
|
|
146
|
+
|
|
147
|
+
result = repository.generate_project_agent_files(spec_path=spec_path, execute=True)
|
|
148
|
+
|
|
149
|
+
self.assertEqual(result["status"], "written")
|
|
150
|
+
self.assertTrue((target_project / "AGENTS.md").exists())
|
|
151
|
+
for item in result["written_files"]:
|
|
152
|
+
path = Path(item["path"]).resolve()
|
|
153
|
+
self.assertTrue(path.is_relative_to(target_project.resolve()), item["path"])
|
|
154
|
+
|
|
155
|
+
def test_generate_project_agent_files_blocks_overwrite_without_permission(self) -> None:
|
|
156
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
157
|
+
root = Path(tmpdir)
|
|
158
|
+
target_project = root / "target-project"
|
|
159
|
+
target_project.mkdir()
|
|
160
|
+
spec_path = self.write_spec(root, target_project=target_project)
|
|
161
|
+
repository = self.repository_module.GenericAgentRepository(root=root)
|
|
162
|
+
repository.generate_project_agent_files(spec_path=spec_path, execute=True)
|
|
163
|
+
|
|
164
|
+
result = repository.generate_project_agent_files(spec_path=spec_path, execute=True)
|
|
165
|
+
|
|
166
|
+
self.assertEqual(result["status"], "blocked")
|
|
167
|
+
self.assertEqual(result["reason"], "target_exists")
|
|
168
|
+
|
|
169
|
+
def test_plan_generic_agent_blocks_secret_marker(self) -> None:
|
|
170
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
171
|
+
root = Path(tmpdir)
|
|
172
|
+
spec_path = self.write_spec(root, domain_context="Use API_KEY=abc during triage.")
|
|
173
|
+
repository = self.repository_module.GenericAgentRepository(root=root)
|
|
174
|
+
|
|
175
|
+
result = repository.plan_generic_agent(spec_path=spec_path)
|
|
176
|
+
|
|
177
|
+
self.assertEqual(result["status"], "blocked")
|
|
178
|
+
self.assertEqual(result["reason"], "forbidden_sensitive_marker")
|
|
179
|
+
|
|
180
|
+
def test_review_generic_agent_detects_missing_guardrails(self) -> None:
|
|
181
|
+
repository = self.repository_module.GenericAgentRepository(root=ROOT)
|
|
182
|
+
|
|
183
|
+
result = repository.review_generic_agent(text="# Agent\n\nAlways answer quickly.", target_host="generic")
|
|
184
|
+
|
|
185
|
+
self.assertFalse(result["valid"])
|
|
186
|
+
self.assertEqual(result["status"], "failed")
|
|
187
|
+
self.assertTrue(any("guardrail" in finding.lower() for finding in result["findings"]))
|
|
188
|
+
|
|
189
|
+
def test_plan_generic_agent_runner_is_executable_through_agent_cli(self) -> None:
|
|
190
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
191
|
+
spec_path = self.write_spec(Path(tmpdir))
|
|
192
|
+
|
|
193
|
+
result = subprocess.run(
|
|
194
|
+
[
|
|
195
|
+
sys.executable,
|
|
196
|
+
str(AGENT),
|
|
197
|
+
"--json",
|
|
198
|
+
"run",
|
|
199
|
+
"generic-agent-builder",
|
|
200
|
+
"plan-generic-agent",
|
|
201
|
+
"--spec",
|
|
202
|
+
str(spec_path),
|
|
203
|
+
],
|
|
204
|
+
cwd=ROOT,
|
|
205
|
+
check=False,
|
|
206
|
+
text=True,
|
|
207
|
+
stdout=subprocess.PIPE,
|
|
208
|
+
stderr=subprocess.PIPE,
|
|
209
|
+
timeout=60,
|
|
210
|
+
)
|
|
211
|
+
|
|
212
|
+
self.assertEqual(result.returncode, 0, result.stderr or result.stdout)
|
|
213
|
+
payload = json.loads(result.stdout)
|
|
214
|
+
runner_payload = json.loads(payload["stdout"])
|
|
215
|
+
self.assertEqual(runner_payload["status"], "ok")
|
|
216
|
+
self.assertEqual(runner_payload["target_host"], "generic")
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
if __name__ == "__main__":
|
|
220
|
+
unittest.main()
|
|
@@ -26,8 +26,20 @@ capabilities:
|
|
|
26
26
|
- create-review-automation
|
|
27
27
|
|
|
28
28
|
write_policy:
|
|
29
|
-
read_operations:
|
|
30
|
-
comments:
|
|
31
|
-
approvals:
|
|
32
|
-
request_changes:
|
|
33
|
-
default_mode:
|
|
29
|
+
read_operations: read_only
|
|
30
|
+
comments: confirm
|
|
31
|
+
approvals: confirm
|
|
32
|
+
request_changes: confirm
|
|
33
|
+
default_mode: read_only
|
|
34
|
+
|
|
35
|
+
routing:
|
|
36
|
+
anchors:
|
|
37
|
+
- gh
|
|
38
|
+
- github
|
|
39
|
+
- pr
|
|
40
|
+
- prs
|
|
41
|
+
- pull
|
|
42
|
+
- request
|
|
43
|
+
intents:
|
|
44
|
+
- github.pr-review
|
|
45
|
+
priority: 50
|
package/runtime/agents/github-pr-reviewer/capabilities/create-review-automation/capability.yaml
CHANGED
|
@@ -4,7 +4,7 @@ name: Create review automation
|
|
|
4
4
|
status: draft
|
|
5
5
|
version: 0.1.0
|
|
6
6
|
purpose: Criar task local diaria para revisar PRs pendentes em modo report-only.
|
|
7
|
-
write_policy:
|
|
7
|
+
write_policy: local_write
|
|
8
8
|
entrypoint:
|
|
9
9
|
workflow: workflow.md
|
|
10
10
|
output_template: ../../templates/pr-automation-output.md
|
|
@@ -4,7 +4,7 @@ name: List review requests
|
|
|
4
4
|
status: draft
|
|
5
5
|
version: 0.1.0
|
|
6
6
|
purpose: Listar PRs aguardando revisao do usuario autenticado no GitHub CLI.
|
|
7
|
-
write_policy:
|
|
7
|
+
write_policy: read_only
|
|
8
8
|
entrypoint:
|
|
9
9
|
workflow: workflow.md
|
|
10
10
|
output_template: ../../templates/pr-list-output.md
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
id: knowledge-author
|
|
2
|
+
kind: specialist-agent
|
|
3
|
+
name: Knowledge Author
|
|
4
|
+
version: 0.3.0
|
|
5
|
+
status: draft
|
|
6
|
+
owner: agent-devkit
|
|
7
|
+
|
|
8
|
+
purpose: >
|
|
9
|
+
Criar snapshots de conhecimento reutilizavel a partir de uso real,
|
|
10
|
+
sanitizando dados sensiveis, generalizando aprendizados e enviando conteudo
|
|
11
|
+
apenas para revisao.
|
|
12
|
+
|
|
13
|
+
routing:
|
|
14
|
+
anchors:
|
|
15
|
+
- knowledge snapshot create
|
|
16
|
+
- criar snapshot
|
|
17
|
+
- proposta de conhecimento
|
|
18
|
+
keywords:
|
|
19
|
+
- snapshot
|
|
20
|
+
- runbook
|
|
21
|
+
- learning
|
|
22
|
+
- generalizar
|
|
23
|
+
intents:
|
|
24
|
+
- knowledge.snapshot.create
|
|
25
|
+
- knowledge.snapshot.submit
|
|
26
|
+
|
|
27
|
+
default_context:
|
|
28
|
+
- knowledge/system.md
|
|
29
|
+
- knowledge/context.md
|
|
30
|
+
|
|
31
|
+
capabilities:
|
|
32
|
+
- create-knowledge-snapshot
|
|
33
|
+
|
|
34
|
+
write_policy:
|
|
35
|
+
external_writes: blocked_by_default
|
|
36
|
+
default_mode: local_config_write
|
|
37
|
+
blocks_on_high_risk: confirm
|
package/runtime/agents/knowledge-author/capabilities/create-knowledge-snapshot/capability.yaml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
id: knowledge-author.create-knowledge-snapshot
|
|
2
|
+
kind: capability
|
|
3
|
+
name: Create knowledge snapshot
|
|
4
|
+
version: 0.3.0
|
|
5
|
+
status: draft
|
|
6
|
+
purpose: Gerar snapshot revisavel, sanitizado e generalizavel a partir de conteudo operacional.
|
|
7
|
+
entrypoint:
|
|
8
|
+
workflow: workflow.md
|
|
9
|
+
write_policy: local_config_write
|
|
10
|
+
inputs:
|
|
11
|
+
type: object
|
|
12
|
+
properties:
|
|
13
|
+
title:
|
|
14
|
+
type: string
|
|
15
|
+
content:
|
|
16
|
+
type: string
|
|
17
|
+
source:
|
|
18
|
+
type: string
|
|
19
|
+
outputs:
|
|
20
|
+
type: object
|
|
21
|
+
artifacts:
|
|
22
|
+
- path: knowledge-base/snapshots/pending
|
|
23
|
+
kind: markdown
|
|
24
|
+
sensitive: false
|
|
25
|
+
routing:
|
|
26
|
+
anchors:
|
|
27
|
+
- knowledge snapshot create
|
|
28
|
+
- criar snapshot
|
|
29
|
+
intents:
|
|
30
|
+
- knowledge.snapshot.create
|
package/runtime/agents/knowledge-author/capabilities/create-knowledge-snapshot/decision-rules.md
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# Regras De Decisao
|
|
2
|
+
|
|
3
|
+
- Rejeitar conteudo puramente conversacional ou preferencia pessoal.
|
|
4
|
+
- Sanitizar segredo, PII desnecessaria, URL privada e path local.
|
|
5
|
+
- Exigir titulo, origem, escopo e utilidade recorrente.
|
|
6
|
+
- Enviar apenas para revisao; nunca publicar diretamente.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Workflow
|
|
2
|
+
|
|
3
|
+
1. Identificar aprendizado reutilizavel no conteudo de entrada.
|
|
4
|
+
2. Remover detalhes sensiveis e especificidade excessiva.
|
|
5
|
+
3. Classificar dominio, tags, origem e evidencias.
|
|
6
|
+
4. Calcular score inicial de utilidade e generalidade.
|
|
7
|
+
5. Gravar snapshot pendente para revisao.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
id: knowledge-curator
|
|
2
|
+
kind: specialist-agent
|
|
3
|
+
name: Knowledge Curator
|
|
4
|
+
version: 0.3.0
|
|
5
|
+
status: draft
|
|
6
|
+
owner: agent-devkit
|
|
7
|
+
|
|
8
|
+
purpose: >
|
|
9
|
+
Fazer curadoria continua da knowledge base, consolidando duplicados,
|
|
10
|
+
mantendo taxonomia, propondo arquivamentos e reindexando apenas dados
|
|
11
|
+
derivados da base canonica.
|
|
12
|
+
|
|
13
|
+
routing:
|
|
14
|
+
anchors:
|
|
15
|
+
- knowledge curate
|
|
16
|
+
- curadoria de knowledge
|
|
17
|
+
- reindexar knowledge
|
|
18
|
+
keywords:
|
|
19
|
+
- curate
|
|
20
|
+
- taxonomy
|
|
21
|
+
- reindex
|
|
22
|
+
- duplicate
|
|
23
|
+
intents:
|
|
24
|
+
- knowledge.curate
|
|
25
|
+
- knowledge.reindex
|
|
26
|
+
|
|
27
|
+
default_context:
|
|
28
|
+
- knowledge/system.md
|
|
29
|
+
- knowledge/context.md
|
|
30
|
+
|
|
31
|
+
capabilities:
|
|
32
|
+
- curate-knowledge-base
|
|
33
|
+
|
|
34
|
+
write_policy:
|
|
35
|
+
external_writes: blocked_by_default
|
|
36
|
+
default_mode: local_config_write
|
|
37
|
+
blocks_on_high_risk: confirm
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
id: knowledge-curator.curate-knowledge-base
|
|
2
|
+
kind: capability
|
|
3
|
+
name: Curate knowledge base
|
|
4
|
+
version: 0.3.0
|
|
5
|
+
status: draft
|
|
6
|
+
purpose: Planejar curadoria, deduplicacao, arquivamento e reindexacao da knowledge base.
|
|
7
|
+
entrypoint:
|
|
8
|
+
workflow: workflow.md
|
|
9
|
+
write_policy: local_config_write
|
|
10
|
+
inputs:
|
|
11
|
+
type: object
|
|
12
|
+
properties:
|
|
13
|
+
scope:
|
|
14
|
+
type: string
|
|
15
|
+
dry_run:
|
|
16
|
+
type: boolean
|
|
17
|
+
outputs:
|
|
18
|
+
type: object
|
|
19
|
+
artifacts:
|
|
20
|
+
- path: knowledge-base/reviews
|
|
21
|
+
kind: markdown
|
|
22
|
+
sensitive: false
|
|
23
|
+
routing:
|
|
24
|
+
anchors:
|
|
25
|
+
- knowledge curate
|
|
26
|
+
- reindex knowledge
|
|
27
|
+
intents:
|
|
28
|
+
- knowledge.curate
|
|
29
|
+
- knowledge.reindex
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# Regras De Decisao
|
|
2
|
+
|
|
3
|
+
- Curadoria nao substitui aprovacao do `knowledge-owner`.
|
|
4
|
+
- Arquivamento deve preservar rastreabilidade e auditoria.
|
|
5
|
+
- Indices derivados podem ser apagados e recriados da base canonica.
|
|
6
|
+
- Alteracoes editoriais de alto impacto exigem plano e revisao.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Workflow
|
|
2
|
+
|
|
3
|
+
1. Inventariar entradas, snapshots, reviews e indices.
|
|
4
|
+
2. Detectar duplicidade, obsolescencia, lacunas e inconsistencias de tags.
|
|
5
|
+
3. Propor consolidacao ou arquivamento com justificativa.
|
|
6
|
+
4. Recriar indices derivados quando solicitado.
|
|
7
|
+
5. Registrar plano de curadoria para revisao.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -39,7 +39,17 @@ agent_surface:
|
|
|
39
39
|
- ../../vendor/skills/CATALOG.md
|
|
40
40
|
|
|
41
41
|
write_policy:
|
|
42
|
-
read_operations:
|
|
43
|
-
knowledge_generation:
|
|
42
|
+
read_operations: read_only
|
|
43
|
+
knowledge_generation: output_only
|
|
44
44
|
overwrite_operations: confirm
|
|
45
|
-
external_side_effects:
|
|
45
|
+
external_side_effects: blocked_by_default
|
|
46
|
+
|
|
47
|
+
routing:
|
|
48
|
+
anchors:
|
|
49
|
+
- conhecimento
|
|
50
|
+
- documentacao
|
|
51
|
+
- knowledge
|
|
52
|
+
- runbook
|
|
53
|
+
intents:
|
|
54
|
+
- knowledge.generate
|
|
55
|
+
priority: 50
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# AGENTS.md
|
|
2
|
+
|
|
3
|
+
Instrucoes locais para o agente `knowledge-infra-builder`.
|
|
4
|
+
|
|
5
|
+
- Manter a knowledge base file-first como fonte canonica.
|
|
6
|
+
- Nunca gravar tokens ou owner keys em Markdown.
|
|
7
|
+
- Planejar providers remotos sem executar escrita externa sem confirmacao.
|
|
8
|
+
- Separar memoria local, personalidade e knowledge compartilhado.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# knowledge-infra-builder
|
|
2
|
+
|
|
3
|
+
Agente especialista em criar e diagnosticar a infraestrutura file-first da
|
|
4
|
+
knowledge base compartilhada do Agent DevKit.
|
|
5
|
+
|
|
6
|
+
Ele prepara a estrutura `knowledge-base/`, manifesta politicas, tokens por
|
|
7
|
+
referencia segura e indice lexical local. Providers remotos continuam opt-in e
|
|
8
|
+
nao sao acionados por padrao.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
id: knowledge-infra-builder
|
|
2
|
+
kind: specialist-agent
|
|
3
|
+
name: Knowledge Infra Builder
|
|
4
|
+
version: 0.3.0
|
|
5
|
+
status: draft
|
|
6
|
+
owner: agent-devkit
|
|
7
|
+
|
|
8
|
+
purpose: >
|
|
9
|
+
Criar, validar e diagnosticar a infraestrutura file-first de bases de
|
|
10
|
+
conhecimento compartilhadas, mantendo tokens em referencias seguras e
|
|
11
|
+
providers remotos como opt-in.
|
|
12
|
+
|
|
13
|
+
routing:
|
|
14
|
+
anchors:
|
|
15
|
+
- knowledge-base create
|
|
16
|
+
- criar base de conhecimento
|
|
17
|
+
- infraestrutura de knowledge
|
|
18
|
+
keywords:
|
|
19
|
+
- knowledge-base
|
|
20
|
+
- storage
|
|
21
|
+
- provider
|
|
22
|
+
- tokens
|
|
23
|
+
- indexes
|
|
24
|
+
intents:
|
|
25
|
+
- knowledge.infra.create
|
|
26
|
+
- knowledge.infra.diagnose
|
|
27
|
+
|
|
28
|
+
default_context:
|
|
29
|
+
- knowledge/system.md
|
|
30
|
+
- knowledge/context.md
|
|
31
|
+
|
|
32
|
+
capabilities:
|
|
33
|
+
- create-knowledge-base
|
|
34
|
+
|
|
35
|
+
write_policy:
|
|
36
|
+
external_writes: blocked_by_default
|
|
37
|
+
default_mode: local_config_write
|
|
38
|
+
blocks_on_high_risk: confirm
|
package/runtime/agents/knowledge-infra-builder/capabilities/create-knowledge-base/capability.yaml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
id: knowledge-infra-builder.create-knowledge-base
|
|
2
|
+
kind: capability
|
|
3
|
+
name: Create knowledge base
|
|
4
|
+
version: 0.3.0
|
|
5
|
+
status: draft
|
|
6
|
+
purpose: Criar ou planejar a estrutura canonica `knowledge-base/` com tokens por referencia segura.
|
|
7
|
+
entrypoint:
|
|
8
|
+
workflow: workflow.md
|
|
9
|
+
write_policy: local_config_write
|
|
10
|
+
inputs:
|
|
11
|
+
type: object
|
|
12
|
+
properties:
|
|
13
|
+
provider:
|
|
14
|
+
type: string
|
|
15
|
+
name:
|
|
16
|
+
type: string
|
|
17
|
+
dry_run:
|
|
18
|
+
type: boolean
|
|
19
|
+
outputs:
|
|
20
|
+
type: object
|
|
21
|
+
artifacts:
|
|
22
|
+
- path: knowledge-base/kb.yaml
|
|
23
|
+
kind: markdown
|
|
24
|
+
sensitive: false
|
|
25
|
+
routing:
|
|
26
|
+
anchors:
|
|
27
|
+
- knowledge-base create
|
|
28
|
+
- criar knowledge base
|
|
29
|
+
intents:
|
|
30
|
+
- knowledge.infra.create
|
package/runtime/agents/knowledge-infra-builder/capabilities/create-knowledge-base/decision-rules.md
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# Regras De Decisao
|
|
2
|
+
|
|
3
|
+
- Criar somente estrutura file-first local sem confirmacao extra.
|
|
4
|
+
- Providers remotos devem ser planejados ou exigir opt-in explicito.
|
|
5
|
+
- Tokens devem aparecer apenas como `secret-ref`, nunca como valor bruto.
|
|
6
|
+
- Indices vetoriais sao derivados e opcionais; o indice lexical local e o minimo.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Workflow
|
|
2
|
+
|
|
3
|
+
1. Validar se ja existe `knowledge-base/kb.yaml`.
|
|
4
|
+
2. Definir provider local por padrao ou planejar provider remoto solicitado.
|
|
5
|
+
3. Criar diretorios canonicos, politicas iniciais e manifesto.
|
|
6
|
+
4. Gerar referencias separadas para read, contribute, review, admin e owner.
|
|
7
|
+
5. Inicializar indice lexical vazio e diagnostico da base.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|