claude-autopm 2.8.2 → 2.8.4
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 +399 -637
- package/install/install.js +15 -5
- package/package.json +2 -1
- package/packages/plugin-ai/LICENSE +21 -0
- package/packages/plugin-ai/README.md +316 -0
- package/packages/plugin-ai/agents/anthropic-claude-expert.md +579 -0
- package/packages/plugin-ai/agents/azure-openai-expert.md +1411 -0
- package/packages/plugin-ai/agents/gemini-api-expert.md +880 -0
- package/packages/plugin-ai/agents/google-a2a-expert.md +1445 -0
- package/packages/plugin-ai/agents/huggingface-expert.md +2131 -0
- package/packages/plugin-ai/agents/langchain-expert.md +1427 -0
- package/packages/plugin-ai/agents/langgraph-workflow-expert.md +520 -0
- package/packages/plugin-ai/agents/openai-python-expert.md +1087 -0
- package/packages/plugin-ai/commands/a2a-setup.md +886 -0
- package/packages/plugin-ai/commands/ai-model-deployment.md +481 -0
- package/packages/plugin-ai/commands/anthropic-optimize.md +793 -0
- package/packages/plugin-ai/commands/huggingface-deploy.md +789 -0
- package/packages/plugin-ai/commands/langchain-optimize.md +807 -0
- package/packages/plugin-ai/commands/llm-optimize.md +348 -0
- package/packages/plugin-ai/commands/openai-optimize.md +863 -0
- package/packages/plugin-ai/commands/rag-optimize.md +841 -0
- package/packages/plugin-ai/commands/rag-setup-scaffold.md +382 -0
- package/packages/plugin-ai/package.json +66 -0
- package/packages/plugin-ai/plugin.json +519 -0
- package/packages/plugin-ai/rules/ai-model-standards.md +449 -0
- package/packages/plugin-ai/rules/prompt-engineering-standards.md +509 -0
- package/packages/plugin-ai/scripts/examples/huggingface-inference-example.py +145 -0
- package/packages/plugin-ai/scripts/examples/langchain-rag-example.py +366 -0
- package/packages/plugin-ai/scripts/examples/mlflow-tracking-example.py +224 -0
- package/packages/plugin-ai/scripts/examples/openai-chat-example.py +425 -0
- package/packages/plugin-cloud/README.md +268 -0
- package/packages/plugin-cloud/agents/README.md +55 -0
- package/packages/plugin-cloud/agents/aws-cloud-architect.md +521 -0
- package/packages/plugin-cloud/agents/azure-cloud-architect.md +436 -0
- package/packages/plugin-cloud/agents/gcp-cloud-architect.md +385 -0
- package/packages/plugin-cloud/agents/gcp-cloud-functions-engineer.md +306 -0
- package/packages/plugin-cloud/agents/gemini-api-expert.md +880 -0
- package/packages/plugin-cloud/agents/kubernetes-orchestrator.md +566 -0
- package/packages/plugin-cloud/agents/openai-python-expert.md +1087 -0
- package/packages/plugin-cloud/agents/terraform-infrastructure-expert.md +454 -0
- package/packages/plugin-cloud/commands/cloud-cost-optimize.md +243 -0
- package/packages/plugin-cloud/commands/cloud-validate.md +196 -0
- package/packages/plugin-cloud/commands/infra-deploy.md +38 -0
- package/packages/plugin-cloud/commands/k8s-deploy.md +37 -0
- package/packages/plugin-cloud/commands/ssh-security.md +65 -0
- package/packages/plugin-cloud/commands/traefik-setup.md +65 -0
- package/packages/plugin-cloud/hooks/pre-cloud-deploy.js +456 -0
- package/packages/plugin-cloud/package.json +64 -0
- package/packages/plugin-cloud/plugin.json +338 -0
- package/packages/plugin-cloud/rules/cloud-security-compliance.md +313 -0
- package/packages/plugin-cloud/rules/infrastructure-pipeline.md +128 -0
- package/packages/plugin-cloud/scripts/examples/aws-validate.sh +30 -0
- package/packages/plugin-cloud/scripts/examples/azure-setup.sh +33 -0
- package/packages/plugin-cloud/scripts/examples/gcp-setup.sh +39 -0
- package/packages/plugin-cloud/scripts/examples/k8s-validate.sh +40 -0
- package/packages/plugin-cloud/scripts/examples/terraform-init.sh +26 -0
- package/packages/plugin-core/README.md +274 -0
- package/packages/plugin-core/agents/core/agent-manager.md +296 -0
- package/packages/plugin-core/agents/core/code-analyzer.md +131 -0
- package/packages/plugin-core/agents/core/file-analyzer.md +162 -0
- package/packages/plugin-core/agents/core/test-runner.md +200 -0
- package/packages/plugin-core/commands/code-rabbit.md +128 -0
- package/packages/plugin-core/commands/prompt.md +9 -0
- package/packages/plugin-core/commands/re-init.md +9 -0
- package/packages/plugin-core/hooks/context7-reminder.md +29 -0
- package/packages/plugin-core/hooks/enforce-agents.js +125 -0
- package/packages/plugin-core/hooks/enforce-agents.sh +35 -0
- package/packages/plugin-core/hooks/pre-agent-context7.js +224 -0
- package/packages/plugin-core/hooks/pre-command-context7.js +229 -0
- package/packages/plugin-core/hooks/strict-enforce-agents.sh +39 -0
- package/packages/plugin-core/hooks/test-hook.sh +21 -0
- package/packages/plugin-core/hooks/unified-context7-enforcement.sh +38 -0
- package/packages/plugin-core/package.json +45 -0
- package/packages/plugin-core/plugin.json +387 -0
- package/packages/plugin-core/rules/agent-coordination.md +549 -0
- package/packages/plugin-core/rules/agent-mandatory.md +170 -0
- package/packages/plugin-core/rules/ai-integration-patterns.md +219 -0
- package/packages/plugin-core/rules/command-pipelines.md +208 -0
- package/packages/plugin-core/rules/context-optimization.md +176 -0
- package/packages/plugin-core/rules/context7-enforcement.md +327 -0
- package/packages/plugin-core/rules/datetime.md +122 -0
- package/packages/plugin-core/rules/definition-of-done.md +272 -0
- package/packages/plugin-core/rules/development-environments.md +19 -0
- package/packages/plugin-core/rules/development-workflow.md +198 -0
- package/packages/plugin-core/rules/framework-path-rules.md +180 -0
- package/packages/plugin-core/rules/frontmatter-operations.md +64 -0
- package/packages/plugin-core/rules/git-strategy.md +237 -0
- package/packages/plugin-core/rules/golden-rules.md +181 -0
- package/packages/plugin-core/rules/naming-conventions.md +111 -0
- package/packages/plugin-core/rules/no-pr-workflow.md +183 -0
- package/packages/plugin-core/rules/performance-guidelines.md +403 -0
- package/packages/plugin-core/rules/pipeline-mandatory.md +109 -0
- package/packages/plugin-core/rules/security-checklist.md +318 -0
- package/packages/plugin-core/rules/standard-patterns.md +197 -0
- package/packages/plugin-core/rules/strip-frontmatter.md +85 -0
- package/packages/plugin-core/rules/tdd.enforcement.md +103 -0
- package/packages/plugin-core/rules/use-ast-grep.md +113 -0
- package/packages/plugin-core/scripts/lib/datetime-utils.sh +254 -0
- package/packages/plugin-core/scripts/lib/frontmatter-utils.sh +294 -0
- package/packages/plugin-core/scripts/lib/github-utils.sh +221 -0
- package/packages/plugin-core/scripts/lib/logging-utils.sh +199 -0
- package/packages/plugin-core/scripts/lib/validation-utils.sh +339 -0
- package/packages/plugin-core/scripts/mcp/add.sh +7 -0
- package/packages/plugin-core/scripts/mcp/disable.sh +12 -0
- package/packages/plugin-core/scripts/mcp/enable.sh +12 -0
- package/packages/plugin-core/scripts/mcp/list.sh +7 -0
- package/packages/plugin-core/scripts/mcp/sync.sh +8 -0
- package/packages/plugin-data/README.md +315 -0
- package/packages/plugin-data/agents/airflow-orchestration-expert.md +158 -0
- package/packages/plugin-data/agents/kedro-pipeline-expert.md +304 -0
- package/packages/plugin-data/agents/langgraph-workflow-expert.md +530 -0
- package/packages/plugin-data/commands/airflow-dag-scaffold.md +413 -0
- package/packages/plugin-data/commands/kafka-pipeline-scaffold.md +503 -0
- package/packages/plugin-data/package.json +66 -0
- package/packages/plugin-data/plugin.json +294 -0
- package/packages/plugin-data/rules/data-quality-standards.md +373 -0
- package/packages/plugin-data/rules/etl-pipeline-standards.md +255 -0
- package/packages/plugin-data/scripts/examples/airflow-dag-example.py +245 -0
- package/packages/plugin-data/scripts/examples/dbt-transform-example.sql +238 -0
- package/packages/plugin-data/scripts/examples/kafka-streaming-example.py +257 -0
- package/packages/plugin-data/scripts/examples/pandas-etl-example.py +332 -0
- package/packages/plugin-databases/README.md +330 -0
- package/packages/plugin-databases/agents/README.md +50 -0
- package/packages/plugin-databases/agents/bigquery-expert.md +401 -0
- package/packages/plugin-databases/agents/cosmosdb-expert.md +375 -0
- package/packages/plugin-databases/agents/mongodb-expert.md +407 -0
- package/packages/plugin-databases/agents/postgresql-expert.md +329 -0
- package/packages/plugin-databases/agents/redis-expert.md +74 -0
- package/packages/plugin-databases/commands/db-optimize.md +612 -0
- package/packages/plugin-databases/package.json +60 -0
- package/packages/plugin-databases/plugin.json +237 -0
- package/packages/plugin-databases/rules/database-management-strategy.md +146 -0
- package/packages/plugin-databases/rules/database-pipeline.md +316 -0
- package/packages/plugin-databases/scripts/examples/bigquery-cost-analyze.sh +160 -0
- package/packages/plugin-databases/scripts/examples/cosmosdb-ru-optimize.sh +163 -0
- package/packages/plugin-databases/scripts/examples/mongodb-shard-check.sh +120 -0
- package/packages/plugin-databases/scripts/examples/postgres-index-analyze.sh +95 -0
- package/packages/plugin-databases/scripts/examples/redis-cache-stats.sh +121 -0
- package/packages/plugin-devops/README.md +367 -0
- package/packages/plugin-devops/agents/README.md +52 -0
- package/packages/plugin-devops/agents/azure-devops-specialist.md +308 -0
- package/packages/plugin-devops/agents/docker-containerization-expert.md +298 -0
- package/packages/plugin-devops/agents/github-operations-specialist.md +335 -0
- package/packages/plugin-devops/agents/mcp-context-manager.md +319 -0
- package/packages/plugin-devops/agents/observability-engineer.md +574 -0
- package/packages/plugin-devops/agents/ssh-operations-expert.md +1093 -0
- package/packages/plugin-devops/agents/traefik-proxy-expert.md +444 -0
- package/packages/plugin-devops/commands/ci-pipeline-create.md +581 -0
- package/packages/plugin-devops/commands/docker-optimize.md +493 -0
- package/packages/plugin-devops/commands/workflow-create.md +42 -0
- package/packages/plugin-devops/hooks/pre-docker-build.js +472 -0
- package/packages/plugin-devops/package.json +61 -0
- package/packages/plugin-devops/plugin.json +302 -0
- package/packages/plugin-devops/rules/ci-cd-kubernetes-strategy.md +25 -0
- package/packages/plugin-devops/rules/devops-troubleshooting-playbook.md +450 -0
- package/packages/plugin-devops/rules/docker-first-development.md +404 -0
- package/packages/plugin-devops/rules/github-operations.md +92 -0
- package/packages/plugin-devops/scripts/examples/docker-build-multistage.sh +43 -0
- package/packages/plugin-devops/scripts/examples/docker-compose-validate.sh +74 -0
- package/packages/plugin-devops/scripts/examples/github-workflow-validate.sh +48 -0
- package/packages/plugin-devops/scripts/examples/prometheus-health-check.sh +58 -0
- package/packages/plugin-devops/scripts/examples/ssh-key-setup.sh +74 -0
- package/packages/plugin-frameworks/README.md +309 -0
- package/packages/plugin-frameworks/agents/README.md +64 -0
- package/packages/plugin-frameworks/agents/e2e-test-engineer.md +579 -0
- package/packages/plugin-frameworks/agents/nats-messaging-expert.md +254 -0
- package/packages/plugin-frameworks/agents/react-frontend-engineer.md +393 -0
- package/packages/plugin-frameworks/agents/react-ui-expert.md +226 -0
- package/packages/plugin-frameworks/agents/tailwindcss-expert.md +1021 -0
- package/packages/plugin-frameworks/agents/ux-design-expert.md +244 -0
- package/packages/plugin-frameworks/commands/app-scaffold.md +50 -0
- package/packages/plugin-frameworks/commands/nextjs-optimize.md +692 -0
- package/packages/plugin-frameworks/commands/react-optimize.md +583 -0
- package/packages/plugin-frameworks/commands/tailwind-system.md +64 -0
- package/packages/plugin-frameworks/package.json +59 -0
- package/packages/plugin-frameworks/plugin.json +224 -0
- package/packages/plugin-frameworks/rules/performance-guidelines.md +403 -0
- package/packages/plugin-frameworks/rules/ui-development-standards.md +281 -0
- package/packages/plugin-frameworks/rules/ui-framework-rules.md +151 -0
- package/packages/plugin-frameworks/scripts/examples/react-component-perf.sh +34 -0
- package/packages/plugin-frameworks/scripts/examples/tailwind-optimize.sh +44 -0
- package/packages/plugin-frameworks/scripts/examples/vue-composition-check.sh +41 -0
- package/packages/plugin-languages/README.md +333 -0
- package/packages/plugin-languages/agents/README.md +50 -0
- package/packages/plugin-languages/agents/bash-scripting-expert.md +541 -0
- package/packages/plugin-languages/agents/javascript-frontend-engineer.md +197 -0
- package/packages/plugin-languages/agents/nodejs-backend-engineer.md +226 -0
- package/packages/plugin-languages/agents/python-backend-engineer.md +214 -0
- package/packages/plugin-languages/agents/python-backend-expert.md +289 -0
- package/packages/plugin-languages/commands/javascript-optimize.md +636 -0
- package/packages/plugin-languages/commands/nodejs-api-scaffold.md +341 -0
- package/packages/plugin-languages/commands/nodejs-optimize.md +689 -0
- package/packages/plugin-languages/commands/python-api-scaffold.md +261 -0
- package/packages/plugin-languages/commands/python-optimize.md +593 -0
- package/packages/plugin-languages/package.json +65 -0
- package/packages/plugin-languages/plugin.json +265 -0
- package/packages/plugin-languages/rules/code-quality-standards.md +496 -0
- package/packages/plugin-languages/rules/testing-standards.md +768 -0
- package/packages/plugin-languages/scripts/examples/bash-production-script.sh +520 -0
- package/packages/plugin-languages/scripts/examples/javascript-es6-patterns.js +291 -0
- package/packages/plugin-languages/scripts/examples/nodejs-async-iteration.js +360 -0
- package/packages/plugin-languages/scripts/examples/python-async-patterns.py +289 -0
- package/packages/plugin-languages/scripts/examples/typescript-patterns.ts +432 -0
- package/packages/plugin-ml/README.md +430 -0
- package/packages/plugin-ml/agents/automl-expert.md +326 -0
- package/packages/plugin-ml/agents/computer-vision-expert.md +550 -0
- package/packages/plugin-ml/agents/gradient-boosting-expert.md +455 -0
- package/packages/plugin-ml/agents/neural-network-architect.md +1228 -0
- package/packages/plugin-ml/agents/nlp-transformer-expert.md +584 -0
- package/packages/plugin-ml/agents/pytorch-expert.md +412 -0
- package/packages/plugin-ml/agents/reinforcement-learning-expert.md +2088 -0
- package/packages/plugin-ml/agents/scikit-learn-expert.md +228 -0
- package/packages/plugin-ml/agents/tensorflow-keras-expert.md +509 -0
- package/packages/plugin-ml/agents/time-series-expert.md +303 -0
- package/packages/plugin-ml/commands/ml-automl.md +572 -0
- package/packages/plugin-ml/commands/ml-train-optimize.md +657 -0
- package/packages/plugin-ml/package.json +52 -0
- package/packages/plugin-ml/plugin.json +338 -0
- package/packages/plugin-pm/README.md +368 -0
- package/packages/plugin-pm/claudeautopm-plugin-pm-2.0.0.tgz +0 -0
- package/packages/plugin-pm/commands/azure/COMMANDS.md +107 -0
- package/packages/plugin-pm/commands/azure/COMMAND_MAPPING.md +252 -0
- package/packages/plugin-pm/commands/azure/INTEGRATION_FIX.md +103 -0
- package/packages/plugin-pm/commands/azure/README.md +246 -0
- package/packages/plugin-pm/commands/azure/active-work.md +198 -0
- package/packages/plugin-pm/commands/azure/aliases.md +143 -0
- package/packages/plugin-pm/commands/azure/blocked-items.md +287 -0
- package/packages/plugin-pm/commands/azure/clean.md +93 -0
- package/packages/plugin-pm/commands/azure/docs-query.md +48 -0
- package/packages/plugin-pm/commands/azure/feature-decompose.md +380 -0
- package/packages/plugin-pm/commands/azure/feature-list.md +61 -0
- package/packages/plugin-pm/commands/azure/feature-new.md +115 -0
- package/packages/plugin-pm/commands/azure/feature-show.md +205 -0
- package/packages/plugin-pm/commands/azure/feature-start.md +130 -0
- package/packages/plugin-pm/commands/azure/fix-integration-example.md +93 -0
- package/packages/plugin-pm/commands/azure/help.md +150 -0
- package/packages/plugin-pm/commands/azure/import-us.md +269 -0
- package/packages/plugin-pm/commands/azure/init.md +211 -0
- package/packages/plugin-pm/commands/azure/next-task.md +262 -0
- package/packages/plugin-pm/commands/azure/search.md +160 -0
- package/packages/plugin-pm/commands/azure/sprint-status.md +235 -0
- package/packages/plugin-pm/commands/azure/standup.md +260 -0
- package/packages/plugin-pm/commands/azure/sync-all.md +99 -0
- package/packages/plugin-pm/commands/azure/task-analyze.md +186 -0
- package/packages/plugin-pm/commands/azure/task-close.md +329 -0
- package/packages/plugin-pm/commands/azure/task-edit.md +145 -0
- package/packages/plugin-pm/commands/azure/task-list.md +263 -0
- package/packages/plugin-pm/commands/azure/task-new.md +84 -0
- package/packages/plugin-pm/commands/azure/task-reopen.md +79 -0
- package/packages/plugin-pm/commands/azure/task-show.md +126 -0
- package/packages/plugin-pm/commands/azure/task-start.md +301 -0
- package/packages/plugin-pm/commands/azure/task-status.md +65 -0
- package/packages/plugin-pm/commands/azure/task-sync.md +67 -0
- package/packages/plugin-pm/commands/azure/us-edit.md +164 -0
- package/packages/plugin-pm/commands/azure/us-list.md +202 -0
- package/packages/plugin-pm/commands/azure/us-new.md +265 -0
- package/packages/plugin-pm/commands/azure/us-parse.md +253 -0
- package/packages/plugin-pm/commands/azure/us-show.md +188 -0
- package/packages/plugin-pm/commands/azure/us-status.md +320 -0
- package/packages/plugin-pm/commands/azure/validate.md +86 -0
- package/packages/plugin-pm/commands/azure/work-item-sync.md +47 -0
- package/packages/plugin-pm/commands/blocked.md +28 -0
- package/packages/plugin-pm/commands/clean.md +119 -0
- package/packages/plugin-pm/commands/context-create.md +136 -0
- package/packages/plugin-pm/commands/context-prime.md +170 -0
- package/packages/plugin-pm/commands/context-update.md +292 -0
- package/packages/plugin-pm/commands/context.md +28 -0
- package/packages/plugin-pm/commands/epic-close.md +86 -0
- package/packages/plugin-pm/commands/epic-decompose.md +370 -0
- package/packages/plugin-pm/commands/epic-edit.md +83 -0
- package/packages/plugin-pm/commands/epic-list.md +30 -0
- package/packages/plugin-pm/commands/epic-merge.md +222 -0
- package/packages/plugin-pm/commands/epic-oneshot.md +119 -0
- package/packages/plugin-pm/commands/epic-refresh.md +119 -0
- package/packages/plugin-pm/commands/epic-show.md +28 -0
- package/packages/plugin-pm/commands/epic-split.md +120 -0
- package/packages/plugin-pm/commands/epic-start.md +195 -0
- package/packages/plugin-pm/commands/epic-status.md +28 -0
- package/packages/plugin-pm/commands/epic-sync-modular.md +338 -0
- package/packages/plugin-pm/commands/epic-sync-original.md +473 -0
- package/packages/plugin-pm/commands/epic-sync.md +486 -0
- package/packages/plugin-pm/commands/github/workflow-create.md +42 -0
- package/packages/plugin-pm/commands/help.md +28 -0
- package/packages/plugin-pm/commands/import.md +115 -0
- package/packages/plugin-pm/commands/in-progress.md +28 -0
- package/packages/plugin-pm/commands/init.md +28 -0
- package/packages/plugin-pm/commands/issue-analyze.md +202 -0
- package/packages/plugin-pm/commands/issue-close.md +119 -0
- package/packages/plugin-pm/commands/issue-edit.md +93 -0
- package/packages/plugin-pm/commands/issue-reopen.md +87 -0
- package/packages/plugin-pm/commands/issue-show.md +41 -0
- package/packages/plugin-pm/commands/issue-start.md +234 -0
- package/packages/plugin-pm/commands/issue-status.md +95 -0
- package/packages/plugin-pm/commands/issue-sync.md +411 -0
- package/packages/plugin-pm/commands/next.md +28 -0
- package/packages/plugin-pm/commands/prd-edit.md +82 -0
- package/packages/plugin-pm/commands/prd-list.md +28 -0
- package/packages/plugin-pm/commands/prd-new.md +55 -0
- package/packages/plugin-pm/commands/prd-parse.md +42 -0
- package/packages/plugin-pm/commands/prd-status.md +28 -0
- package/packages/plugin-pm/commands/search.md +28 -0
- package/packages/plugin-pm/commands/standup.md +28 -0
- package/packages/plugin-pm/commands/status.md +28 -0
- package/packages/plugin-pm/commands/sync.md +99 -0
- package/packages/plugin-pm/commands/test-reference-update.md +151 -0
- package/packages/plugin-pm/commands/validate.md +28 -0
- package/packages/plugin-pm/commands/what-next.md +28 -0
- package/packages/plugin-pm/package.json +57 -0
- package/packages/plugin-pm/plugin.json +503 -0
- package/packages/plugin-pm/scripts/pm/analytics.js +425 -0
- package/packages/plugin-pm/scripts/pm/blocked.js +164 -0
- package/packages/plugin-pm/scripts/pm/blocked.sh +78 -0
- package/packages/plugin-pm/scripts/pm/clean.js +464 -0
- package/packages/plugin-pm/scripts/pm/context-create.js +216 -0
- package/packages/plugin-pm/scripts/pm/context-prime.js +335 -0
- package/packages/plugin-pm/scripts/pm/context-update.js +344 -0
- package/packages/plugin-pm/scripts/pm/context.js +338 -0
- package/packages/plugin-pm/scripts/pm/epic-close.js +347 -0
- package/packages/plugin-pm/scripts/pm/epic-edit.js +382 -0
- package/packages/plugin-pm/scripts/pm/epic-list.js +273 -0
- package/packages/plugin-pm/scripts/pm/epic-list.sh +109 -0
- package/packages/plugin-pm/scripts/pm/epic-show.js +291 -0
- package/packages/plugin-pm/scripts/pm/epic-show.sh +105 -0
- package/packages/plugin-pm/scripts/pm/epic-split.js +522 -0
- package/packages/plugin-pm/scripts/pm/epic-start/epic-start.js +183 -0
- package/packages/plugin-pm/scripts/pm/epic-start/epic-start.sh +94 -0
- package/packages/plugin-pm/scripts/pm/epic-status.js +291 -0
- package/packages/plugin-pm/scripts/pm/epic-status.sh +104 -0
- package/packages/plugin-pm/scripts/pm/epic-sync/README.md +208 -0
- package/packages/plugin-pm/scripts/pm/epic-sync/create-epic-issue.sh +77 -0
- package/packages/plugin-pm/scripts/pm/epic-sync/create-task-issues.sh +86 -0
- package/packages/plugin-pm/scripts/pm/epic-sync/update-epic-file.sh +79 -0
- package/packages/plugin-pm/scripts/pm/epic-sync/update-references.sh +89 -0
- package/packages/plugin-pm/scripts/pm/epic-sync.sh +137 -0
- package/packages/plugin-pm/scripts/pm/help.js +92 -0
- package/packages/plugin-pm/scripts/pm/help.sh +90 -0
- package/packages/plugin-pm/scripts/pm/in-progress.js +178 -0
- package/packages/plugin-pm/scripts/pm/in-progress.sh +93 -0
- package/packages/plugin-pm/scripts/pm/init.js +321 -0
- package/packages/plugin-pm/scripts/pm/init.sh +178 -0
- package/packages/plugin-pm/scripts/pm/issue-close.js +232 -0
- package/packages/plugin-pm/scripts/pm/issue-edit.js +310 -0
- package/packages/plugin-pm/scripts/pm/issue-show.js +272 -0
- package/packages/plugin-pm/scripts/pm/issue-start.js +181 -0
- package/packages/plugin-pm/scripts/pm/issue-sync/format-comment.sh +468 -0
- package/packages/plugin-pm/scripts/pm/issue-sync/gather-updates.sh +460 -0
- package/packages/plugin-pm/scripts/pm/issue-sync/post-comment.sh +330 -0
- package/packages/plugin-pm/scripts/pm/issue-sync/preflight-validation.sh +348 -0
- package/packages/plugin-pm/scripts/pm/issue-sync/update-frontmatter.sh +387 -0
- package/packages/plugin-pm/scripts/pm/lib/README.md +85 -0
- package/packages/plugin-pm/scripts/pm/lib/epic-discovery.js +119 -0
- package/packages/plugin-pm/scripts/pm/lib/logger.js +78 -0
- package/packages/plugin-pm/scripts/pm/next.js +189 -0
- package/packages/plugin-pm/scripts/pm/next.sh +72 -0
- package/packages/plugin-pm/scripts/pm/optimize.js +407 -0
- package/packages/plugin-pm/scripts/pm/pr-create.js +337 -0
- package/packages/plugin-pm/scripts/pm/pr-list.js +257 -0
- package/packages/plugin-pm/scripts/pm/prd-list.js +242 -0
- package/packages/plugin-pm/scripts/pm/prd-list.sh +103 -0
- package/packages/plugin-pm/scripts/pm/prd-new.js +684 -0
- package/packages/plugin-pm/scripts/pm/prd-parse.js +547 -0
- package/packages/plugin-pm/scripts/pm/prd-status.js +152 -0
- package/packages/plugin-pm/scripts/pm/prd-status.sh +63 -0
- package/packages/plugin-pm/scripts/pm/release.js +460 -0
- package/packages/plugin-pm/scripts/pm/search.js +192 -0
- package/packages/plugin-pm/scripts/pm/search.sh +89 -0
- package/packages/plugin-pm/scripts/pm/standup.js +362 -0
- package/packages/plugin-pm/scripts/pm/standup.sh +95 -0
- package/packages/plugin-pm/scripts/pm/status.js +148 -0
- package/packages/plugin-pm/scripts/pm/status.sh +59 -0
- package/packages/plugin-pm/scripts/pm/sync-batch.js +337 -0
- package/packages/plugin-pm/scripts/pm/sync.js +343 -0
- package/packages/plugin-pm/scripts/pm/template-list.js +141 -0
- package/packages/plugin-pm/scripts/pm/template-new.js +366 -0
- package/packages/plugin-pm/scripts/pm/validate.js +274 -0
- package/packages/plugin-pm/scripts/pm/validate.sh +106 -0
- package/packages/plugin-pm/scripts/pm/what-next.js +660 -0
- package/packages/plugin-testing/README.md +401 -0
- package/packages/plugin-testing/agents/frontend-testing-engineer.md +768 -0
- package/packages/plugin-testing/commands/jest-optimize.md +800 -0
- package/packages/plugin-testing/commands/playwright-optimize.md +887 -0
- package/packages/plugin-testing/commands/test-coverage.md +512 -0
- package/packages/plugin-testing/commands/test-performance.md +1041 -0
- package/packages/plugin-testing/commands/test-setup.md +414 -0
- package/packages/plugin-testing/package.json +40 -0
- package/packages/plugin-testing/plugin.json +197 -0
- package/packages/plugin-testing/rules/test-coverage-requirements.md +581 -0
- package/packages/plugin-testing/rules/testing-standards.md +529 -0
- package/packages/plugin-testing/scripts/examples/react-testing-example.test.jsx +460 -0
- package/packages/plugin-testing/scripts/examples/vitest-config-example.js +352 -0
- package/packages/plugin-testing/scripts/examples/vue-testing-example.test.js +586 -0
|
@@ -0,0 +1,549 @@
|
|
|
1
|
+
# Agent Coordination Rules
|
|
2
|
+
|
|
3
|
+
Comprehensive coordination system for multi-agent collaboration in ClaudeAutoPM.
|
|
4
|
+
|
|
5
|
+
## Core Principles
|
|
6
|
+
|
|
7
|
+
1. **File-level parallelism** - Agents working on different files never conflict
|
|
8
|
+
2. **Explicit coordination** - When same file needed, coordinate explicitly
|
|
9
|
+
3. **Fail fast** - Surface conflicts immediately, don't try to be clever
|
|
10
|
+
4. **Human resolution** - Critical conflicts are resolved by humans, not agents
|
|
11
|
+
5. **Context efficiency** - Share context pools to reduce duplication
|
|
12
|
+
6. **Parameter-based specialization** - Use parameters to specify framework/tool choices
|
|
13
|
+
|
|
14
|
+
## Agent Specialization Matrix
|
|
15
|
+
|
|
16
|
+
### Consolidated Agents (Optimized Ecosystem)
|
|
17
|
+
|
|
18
|
+
| Agent | Primary Domain | Can Modify | Coordinates With | Parameters |
|
|
19
|
+
|-------|---------------|------------|------------------|------------|
|
|
20
|
+
| python-backend-expert | Backend APIs | `*.py`, `requirements.txt`, `pyproject.toml` | react-ui-expert, kubernetes, cloud architects | framework: fastapi/flask/django |
|
|
21
|
+
| react-ui-expert | Frontend UI | `*.tsx`, `*.jsx`, `*.css`, `package.json` | python-backend, e2e-test | framework: mui/chakra/antd/bootstrap |
|
|
22
|
+
| e2e-test-engineer | E2E Tests | `tests/`, `*.spec.ts`, `playwright.config.ts` | react-ui, python-backend | tool: playwright/cypress |
|
|
23
|
+
| terraform-infrastructure-expert | Cloud Infrastructure | `terraform/`, `*.tf`, cloud configs | kubernetes, docker, cloud architects | provider: aws/azure/gcp |
|
|
24
|
+
| kubernetes-orchestrator | K8s Manifests | `k8s/`, `charts/`, `*.yaml` | cloud architects, github-ops | tool: helm/kustomize |
|
|
25
|
+
| docker-containerization-expert | Containers | `Dockerfile*`, `docker-compose*.yml` | All deployment agents | strategy: multi-stage/compose |
|
|
26
|
+
| postgresql-expert / mongodb-expert | Database | `migrations/`, `*.sql`, schema files | python-backend-engineer | engine: postgresql/mongodb/redis |
|
|
27
|
+
| github-operations-specialist | CI/CD | `.github/`, `*.yml`, `*.yaml` | All agents | platform: actions/azure-devops |
|
|
28
|
+
| mcp-context-manager | Context | `.claude/mcp-servers.json`, context pools | All agents | pool: shared/isolated |
|
|
29
|
+
|
|
30
|
+
### Specialized Agents (When Needed)
|
|
31
|
+
|
|
32
|
+
| Agent | Use Case | Replaces |
|
|
33
|
+
|-------|----------|----------|
|
|
34
|
+
| azure-devops-specialist | Azure DevOps specific | Part of github-operations |
|
|
35
|
+
| e2e-test-engineer | E2E testing with Playwright/Cypress | Support role |
|
|
36
|
+
| code-analyzer | Read-only analysis | Support role |
|
|
37
|
+
| file-analyzer | Log/file summarization | Support role |
|
|
38
|
+
| test-runner | Test execution only | Support role |
|
|
39
|
+
|
|
40
|
+
## Inter-Agent Communication Protocol
|
|
41
|
+
|
|
42
|
+
### Message Format
|
|
43
|
+
|
|
44
|
+
```markdown
|
|
45
|
+
📡 AGENT STATUS UPDATE
|
|
46
|
+
=====================
|
|
47
|
+
Agent: [agent-name]
|
|
48
|
+
Stream: [work-stream-id]
|
|
49
|
+
Status: [Starting/Working/Blocked/Complete]
|
|
50
|
+
Files: [list of files being modified]
|
|
51
|
+
Dependencies: [files/components needed from other agents]
|
|
52
|
+
ETA: [estimated completion time]
|
|
53
|
+
Context-Pool: [shared context pool name]
|
|
54
|
+
Parameters: [framework/tool selections]
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Coordination Signals
|
|
58
|
+
|
|
59
|
+
**CLAIM** - Agent claims ownership of files:
|
|
60
|
+
```markdown
|
|
61
|
+
🔒 FILE CLAIM
|
|
62
|
+
Agent: python-backend-expert
|
|
63
|
+
Files: [src/api/users.py, src/models/user.py]
|
|
64
|
+
Duration: ~15 minutes
|
|
65
|
+
Parameters: framework=fastapi, database=postgresql
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
**RELEASE** - Agent releases files after completion:
|
|
69
|
+
```markdown
|
|
70
|
+
🔓 FILE RELEASE
|
|
71
|
+
Agent: python-backend-expert
|
|
72
|
+
Files: [src/api/users.py, src/models/user.py]
|
|
73
|
+
Status: Changes committed
|
|
74
|
+
Next: react-ui-expert can consume API
|
|
75
|
+
Contract: OpenAPI spec at /docs/api.yaml
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**BLOCK** - Agent is blocked and needs assistance:
|
|
79
|
+
```markdown
|
|
80
|
+
⛔ BLOCKED
|
|
81
|
+
Agent: react-ui-expert
|
|
82
|
+
Waiting For: API endpoints from python-backend-expert
|
|
83
|
+
Files Needed: [src/api/users.py - getUserProfile method]
|
|
84
|
+
Parameters: framework=mui, typescript=strict
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Handoff Protocol
|
|
88
|
+
|
|
89
|
+
```markdown
|
|
90
|
+
✅ HANDOFF READY
|
|
91
|
+
From: python-backend-expert
|
|
92
|
+
To: e2e-test-engineer
|
|
93
|
+
Deliverable: User API implementation
|
|
94
|
+
Files: [src/api/users.py, src/models/user.py]
|
|
95
|
+
Tests Required: Unit and integration tests
|
|
96
|
+
Parameters Used: framework=fastapi, auth=jwt
|
|
97
|
+
Notes: Added rate limiting middleware
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## MCP Context Pool Architecture
|
|
101
|
+
|
|
102
|
+
### Optimized Pool Definitions
|
|
103
|
+
|
|
104
|
+
```yaml
|
|
105
|
+
backend-context:
|
|
106
|
+
agents: [python-backend-expert, postgresql-expert, mongodb-expert]
|
|
107
|
+
sources: [context7, context7]
|
|
108
|
+
filters: [python, fastapi, flask, django, sqlalchemy, databases]
|
|
109
|
+
persistence: true
|
|
110
|
+
|
|
111
|
+
frontend-context:
|
|
112
|
+
agents: [react-ui-expert, e2e-test-engineer]
|
|
113
|
+
sources: [context7, context7]
|
|
114
|
+
filters: [react, typescript, ui-frameworks, testing]
|
|
115
|
+
persistence: true
|
|
116
|
+
|
|
117
|
+
infrastructure-context:
|
|
118
|
+
agents: [terraform-infrastructure-expert, kubernetes-orchestrator, docker-containerization-expert]
|
|
119
|
+
sources: [context7, terraform-registry]
|
|
120
|
+
filters: [terraform, kubernetes, docker, cloud-providers]
|
|
121
|
+
persistence: true
|
|
122
|
+
|
|
123
|
+
devops-context:
|
|
124
|
+
agents: [github-operations-specialist, mcp-context-manager]
|
|
125
|
+
sources: [context7, github-mcp]
|
|
126
|
+
filters: [ci-cd, github-actions, azure-devops]
|
|
127
|
+
persistence: false
|
|
128
|
+
|
|
129
|
+
project-context:
|
|
130
|
+
agents: [ALL]
|
|
131
|
+
sources: [context7]
|
|
132
|
+
persistence: true
|
|
133
|
+
shared: true
|
|
134
|
+
auto-refresh: true
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## Work Stream Management
|
|
138
|
+
|
|
139
|
+
### Stream Assignment
|
|
140
|
+
|
|
141
|
+
```yaml
|
|
142
|
+
# From {issue}-analysis.md
|
|
143
|
+
Stream A: Backend Development
|
|
144
|
+
Agent: python-backend-expert
|
|
145
|
+
Parameters:
|
|
146
|
+
framework: fastapi
|
|
147
|
+
database: postgresql
|
|
148
|
+
auth: jwt
|
|
149
|
+
Files: src/api/*, src/models/*, src/db/*
|
|
150
|
+
Priority: P1
|
|
151
|
+
|
|
152
|
+
Stream B: Frontend Development
|
|
153
|
+
Agent: react-ui-expert
|
|
154
|
+
Parameters:
|
|
155
|
+
framework: mui
|
|
156
|
+
state: redux
|
|
157
|
+
style: css-in-js
|
|
158
|
+
Files: src/components/*, src/pages/*, src/hooks/*
|
|
159
|
+
Priority: P1
|
|
160
|
+
|
|
161
|
+
Stream C: Infrastructure
|
|
162
|
+
Agent: terraform-infrastructure-expert
|
|
163
|
+
Parameters:
|
|
164
|
+
provider: aws
|
|
165
|
+
iac: terraform
|
|
166
|
+
region: us-east-1
|
|
167
|
+
Files: terraform/*, infrastructure/*
|
|
168
|
+
Priority: P2
|
|
169
|
+
|
|
170
|
+
Stream D: Testing
|
|
171
|
+
Agent: e2e-test-engineer
|
|
172
|
+
Parameters:
|
|
173
|
+
tool: playwright
|
|
174
|
+
parallel: true
|
|
175
|
+
Files: tests/*, *.spec.ts
|
|
176
|
+
Priority: P2
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### Progress Tracking
|
|
180
|
+
|
|
181
|
+
```markdown
|
|
182
|
+
# .claude/epics/{epic}/updates/{issue}/stream-{id}.md
|
|
183
|
+
---
|
|
184
|
+
stream: Backend Development
|
|
185
|
+
agent: python-backend-expert
|
|
186
|
+
started: 2024-01-15T10:00:00Z
|
|
187
|
+
status: in_progress
|
|
188
|
+
parameters:
|
|
189
|
+
framework: fastapi
|
|
190
|
+
database: postgresql
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
## Completed
|
|
194
|
+
- ✅ User model created
|
|
195
|
+
- ✅ Authentication endpoints
|
|
196
|
+
- ✅ Database migrations
|
|
197
|
+
|
|
198
|
+
## In Progress
|
|
199
|
+
- 🔄 Authorization middleware
|
|
200
|
+
- 🔄 Rate limiting
|
|
201
|
+
|
|
202
|
+
## Blocked
|
|
203
|
+
- ⛔ Waiting for API Gateway config from infrastructure
|
|
204
|
+
|
|
205
|
+
## Next Steps
|
|
206
|
+
- Unit tests for auth flow
|
|
207
|
+
- Integration with frontend
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
## Technology Stack Coordination
|
|
211
|
+
|
|
212
|
+
### Frontend ↔ Backend
|
|
213
|
+
|
|
214
|
+
- **API Contract**: OpenAPI/Swagger specs in `/docs/api.yaml`
|
|
215
|
+
- **Type Generation**: Backend generates TypeScript types via `openapi-typescript`
|
|
216
|
+
- **Testing**: E2E tests validate full stack integration
|
|
217
|
+
- **Error Handling**: Consistent error format across stack
|
|
218
|
+
- **Data Validation**: Shared schemas via JSON Schema
|
|
219
|
+
|
|
220
|
+
### Application ↔ Infrastructure
|
|
221
|
+
|
|
222
|
+
- **Deployment**: Docker images → Kubernetes manifests → Cloud providers
|
|
223
|
+
- **Secrets**: Cloud KMS → K8s Secrets → Application env vars
|
|
224
|
+
- **Networking**: Infrastructure provides endpoints → Apps configure clients
|
|
225
|
+
- **Scaling**: Apps define requirements → Infrastructure implements policies
|
|
226
|
+
- **Monitoring**: Apps expose metrics → Infrastructure collects and alerts
|
|
227
|
+
|
|
228
|
+
### Development ↔ Operations
|
|
229
|
+
|
|
230
|
+
- **CI/CD**: GitHub Actions validates → Builds → Deploys
|
|
231
|
+
- **GitOps**: ArgoCD syncs validated changes automatically
|
|
232
|
+
- **Rollbacks**: Git reverts trigger automatic deployments
|
|
233
|
+
- **Feature Flags**: LaunchDarkly/ConfigCat for progressive rollouts
|
|
234
|
+
- **Observability**: OpenTelemetry spans across all services
|
|
235
|
+
|
|
236
|
+
## Workflow Patterns
|
|
237
|
+
|
|
238
|
+
### Full Stack Feature Development
|
|
239
|
+
|
|
240
|
+
```mermaid
|
|
241
|
+
graph LR
|
|
242
|
+
A[python-backend-expert] -->|API Contract| B[react-ui-expert]
|
|
243
|
+
B -->|UI Ready| C[e2e-test-engineer]
|
|
244
|
+
C -->|Tests Pass| D[github-operations-specialist]
|
|
245
|
+
D -->|CI/CD Ready| E[kubernetes-orchestrator]
|
|
246
|
+
E -->|Deployment Config| F[terraform-infrastructure-expert]
|
|
247
|
+
F -->|Infrastructure| G[Production]
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
### Hotfix Deployment
|
|
251
|
+
|
|
252
|
+
```mermaid
|
|
253
|
+
graph LR
|
|
254
|
+
A[code-analyzer] -->|Bug Identified| B[python-backend-expert]
|
|
255
|
+
B -->|Fix Applied| C[test-runner]
|
|
256
|
+
C -->|Tests Pass| D[github-operations-specialist]
|
|
257
|
+
D -->|Fast Track| E[Production]
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
### Infrastructure Migration
|
|
261
|
+
|
|
262
|
+
```mermaid
|
|
263
|
+
graph LR
|
|
264
|
+
A[terraform-infrastructure-expert] -->|New Infrastructure| B[docker-containerization-expert]
|
|
265
|
+
B -->|Updated Images| C[kubernetes-orchestrator]
|
|
266
|
+
C -->|Manifests Ready| D[github-operations-specialist]
|
|
267
|
+
D -->|Blue-Green Deploy| E[Production]
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
## File Access Coordination
|
|
271
|
+
|
|
272
|
+
### Check Before Modify
|
|
273
|
+
|
|
274
|
+
```bash
|
|
275
|
+
# Before modifying a shared file
|
|
276
|
+
git status {file}
|
|
277
|
+
|
|
278
|
+
# If modified by another agent, coordinate
|
|
279
|
+
if [[ $(git status --porcelain {file}) ]]; then
|
|
280
|
+
echo "📋 File {file} is being modified by another agent"
|
|
281
|
+
echo "⏳ Waiting for release signal..."
|
|
282
|
+
# Check update files for release signal
|
|
283
|
+
fi
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
### Atomic Commits
|
|
287
|
+
|
|
288
|
+
```bash
|
|
289
|
+
# Good - Single purpose, clear scope
|
|
290
|
+
git add src/api/users.py src/api/users.test.py
|
|
291
|
+
git commit -m "feat(api): Add user CRUD endpoints with JWT auth
|
|
292
|
+
|
|
293
|
+
Agent: python-backend-expert
|
|
294
|
+
Parameters: framework=fastapi, auth=jwt
|
|
295
|
+
Next: react-ui-expert
|
|
296
|
+
Tests: All passing"
|
|
297
|
+
|
|
298
|
+
# Bad - Mixed concerns, unclear scope
|
|
299
|
+
git add src/api/* src/db/* src/ui/*
|
|
300
|
+
git commit -m "Multiple changes"
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
## Conflict Resolution Protocol
|
|
304
|
+
|
|
305
|
+
### Level 1: Automatic Resolution
|
|
306
|
+
- Different files modified by different agents
|
|
307
|
+
- No semantic conflicts detected
|
|
308
|
+
- All tests pass without modification
|
|
309
|
+
- **Action**: Git auto-merge proceeds
|
|
310
|
+
|
|
311
|
+
### Level 2: Agent Coordination
|
|
312
|
+
- Same file, different sections modified
|
|
313
|
+
- Agents negotiate changes via update files
|
|
314
|
+
- Test validation required after merge
|
|
315
|
+
- **Action**: Agents coordinate sequentially
|
|
316
|
+
|
|
317
|
+
### Level 3: Human Intervention Required
|
|
318
|
+
- Conflicting business logic changes
|
|
319
|
+
- Architecture decisions needed
|
|
320
|
+
- Security implications detected
|
|
321
|
+
- Database schema conflicts
|
|
322
|
+
- **Action**: Stop work, escalate to human
|
|
323
|
+
|
|
324
|
+
## Priority Matrix
|
|
325
|
+
|
|
326
|
+
| Scenario | Priority | Lead Agent | Support Agents | SLA |
|
|
327
|
+
|----------|----------|------------|----------------|-----|
|
|
328
|
+
| Production Down | P0 | kubernetes-orchestrator | terraform-infrastructure-expert, python-backend | 15 min |
|
|
329
|
+
| Security Vulnerability | P0 | code-analyzer | python-backend, github-ops | 30 min |
|
|
330
|
+
| Data Loss Risk | P0 | postgresql-expert | terraform-infrastructure-expert, kubernetes | 15 min |
|
|
331
|
+
| Failed Deployment | P1 | github-operations-specialist | kubernetes-orchestrator | 1 hour |
|
|
332
|
+
| Performance Degradation | P1 | python-backend-expert | postgresql-expert, terraform-infrastructure-expert | 2 hours |
|
|
333
|
+
| Test Failures | P2 | e2e-test-engineer | react-ui, python-backend | 4 hours |
|
|
334
|
+
| Feature Development | P3 | Varies by stream | Full stack team | 1-5 days |
|
|
335
|
+
| Technical Debt | P4 | code-analyzer | All relevant agents | Best effort |
|
|
336
|
+
|
|
337
|
+
## Coordination Boundaries
|
|
338
|
+
|
|
339
|
+
### Never Modify Without Coordination
|
|
340
|
+
|
|
341
|
+
- **Production configurations** - Requires terraform-infrastructure-expert + kubernetes-orchestrator
|
|
342
|
+
- **Security settings** - Requires security review + python-backend-expert
|
|
343
|
+
- **API contracts** - Requires python-backend + react-ui agreement
|
|
344
|
+
- **Database schemas** - Requires postgresql-expert + python-backend
|
|
345
|
+
- **Authentication flows** - Requires security review + full stack team
|
|
346
|
+
- **Payment processing** - Requires security + compliance review
|
|
347
|
+
- **User data handling** - Requires privacy review + postgresql-expert
|
|
348
|
+
|
|
349
|
+
### Safe for Independent Work
|
|
350
|
+
|
|
351
|
+
- Documentation updates (own domain)
|
|
352
|
+
- Test additions (own test suite)
|
|
353
|
+
- Logging improvements (non-breaking)
|
|
354
|
+
- Code comments and docstrings
|
|
355
|
+
- Development tool configurations
|
|
356
|
+
- Local environment settings
|
|
357
|
+
- README updates
|
|
358
|
+
|
|
359
|
+
## Synchronization Points
|
|
360
|
+
|
|
361
|
+
### Mandatory Sync Points
|
|
362
|
+
|
|
363
|
+
1. **After each commit** - Pull latest changes
|
|
364
|
+
2. **Before modifying shared files** - Check ownership
|
|
365
|
+
3. **Every 30 minutes of work** - Status update
|
|
366
|
+
4. **At natural breakpoints** - Feature complete, blocked, etc.
|
|
367
|
+
5. **Before handoff** - Ensure clean state
|
|
368
|
+
|
|
369
|
+
### Sync Commands
|
|
370
|
+
|
|
371
|
+
```bash
|
|
372
|
+
# Standard sync
|
|
373
|
+
git pull --rebase origin epic/{name}
|
|
374
|
+
|
|
375
|
+
# Check for conflicts
|
|
376
|
+
if [[ $? -ne 0 ]]; then
|
|
377
|
+
echo "❌ Sync conflict detected"
|
|
378
|
+
echo "📝 Creating conflict report..."
|
|
379
|
+
git status > conflict-report.txt
|
|
380
|
+
echo "🚨 Escalating to human..."
|
|
381
|
+
exit 1
|
|
382
|
+
fi
|
|
383
|
+
|
|
384
|
+
# Update progress
|
|
385
|
+
echo "✅ Synced at $(date)" >> stream-{id}.md
|
|
386
|
+
git add stream-{id}.md
|
|
387
|
+
git commit -m "chore: Sync checkpoint"
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
## Best Practices
|
|
391
|
+
|
|
392
|
+
1. **Commit early and often** - Smaller commits = fewer conflicts
|
|
393
|
+
2. **Stay in your lane** - Only modify assigned files
|
|
394
|
+
3. **Use parameters explicitly** - Always specify framework/tool choices
|
|
395
|
+
4. **Share context efficiently** - Use MCP pools to reduce duplication
|
|
396
|
+
5. **Communicate proactively** - Update status before being blocked
|
|
397
|
+
6. **Pull frequently** - Stay synchronized with other agents
|
|
398
|
+
7. **Fail loudly** - Report issues immediately with full context
|
|
399
|
+
8. **Document decisions** - Include reasoning in commits
|
|
400
|
+
9. **Test continuously** - Never commit without running tests
|
|
401
|
+
10. **Respect boundaries** - Stay within expertise domain
|
|
402
|
+
|
|
403
|
+
## Emergency Protocols
|
|
404
|
+
|
|
405
|
+
### System Down
|
|
406
|
+
|
|
407
|
+
1. **kubernetes-orchestrator** takes incident command
|
|
408
|
+
2. **terraform-infrastructure-expert** checks infrastructure health
|
|
409
|
+
3. **python-backend-expert** validates application state
|
|
410
|
+
4. **postgresql-expert** verifies data integrity
|
|
411
|
+
5. **github-operations-specialist** prepares rollback if needed
|
|
412
|
+
|
|
413
|
+
### Security Breach
|
|
414
|
+
|
|
415
|
+
1. **code-analyzer** identifies scope and entry point
|
|
416
|
+
2. **terraform-infrastructure-expert** isolates affected resources
|
|
417
|
+
3. **python-backend-expert** patches vulnerability
|
|
418
|
+
4. **postgresql-expert** audits data access
|
|
419
|
+
5. **github-operations-specialist** deploys emergency fix
|
|
420
|
+
|
|
421
|
+
### Performance Crisis
|
|
422
|
+
|
|
423
|
+
1. **python-backend-expert** profiles application bottlenecks
|
|
424
|
+
2. **postgresql-expert** analyzes and optimizes queries
|
|
425
|
+
3. **docker-containerization-expert** optimizes container resources
|
|
426
|
+
4. **kubernetes-orchestrator** scales resources horizontally
|
|
427
|
+
5. **terraform-infrastructure-expert** provisions additional infrastructure
|
|
428
|
+
|
|
429
|
+
### Data Corruption
|
|
430
|
+
|
|
431
|
+
1. **postgresql-expert** stops writes immediately
|
|
432
|
+
2. **terraform-infrastructure-expert** initiates backup restoration
|
|
433
|
+
3. **kubernetes-orchestrator** redirects traffic to healthy replicas
|
|
434
|
+
4. **python-backend-expert** validates data integrity checks
|
|
435
|
+
5. **e2e-test-engineer** runs full regression suite
|
|
436
|
+
|
|
437
|
+
## Migration Guide
|
|
438
|
+
|
|
439
|
+
### From Legacy to Consolidated Agents
|
|
440
|
+
|
|
441
|
+
| Legacy Agent | New Agent | Parameters |
|
|
442
|
+
|--------------|-----------|------------|
|
|
443
|
+
| fastapi-backend-engineer | python-backend-expert | framework: fastapi |
|
|
444
|
+
| flask-backend-engineer | python-backend-expert | framework: flask |
|
|
445
|
+
| mui-react-expert | react-ui-expert | framework: mui |
|
|
446
|
+
| chakra-ui-expert | react-ui-expert | framework: chakra |
|
|
447
|
+
| antd-react-expert | react-ui-expert | framework: antd |
|
|
448
|
+
| bootstrap-ui-expert | react-ui-expert | framework: bootstrap |
|
|
449
|
+
| docker-expert | docker-containerization-expert | focus: dockerfile |
|
|
450
|
+
| docker-compose-expert | docker-containerization-expert | focus: compose |
|
|
451
|
+
| docker-development-orchestrator | docker-containerization-expert | focus: development |
|
|
452
|
+
| playwright-test-engineer | e2e-test-engineer | tool: playwright |
|
|
453
|
+
| playwright-mcp-frontend-tester | e2e-test-engineer | browser_control: mcp-enhanced |
|
|
454
|
+
|
|
455
|
+
### Backward Compatibility
|
|
456
|
+
|
|
457
|
+
- Legacy agent names automatically map to new agents
|
|
458
|
+
- Parameters inferred from legacy agent names
|
|
459
|
+
- Deprecation warnings shown in logs
|
|
460
|
+
- 30-day grace period for migration
|
|
461
|
+
|
|
462
|
+
## Performance Optimizations
|
|
463
|
+
|
|
464
|
+
### Context Reduction Strategies
|
|
465
|
+
|
|
466
|
+
- **Unified agents** reduce context overhead by 40%
|
|
467
|
+
- **Shared pools** eliminate duplication across agents
|
|
468
|
+
- **Parameter-based specialization** vs separate agents
|
|
469
|
+
- **Lazy loading** of documentation contexts
|
|
470
|
+
- **Smart caching** of frequently accessed resources
|
|
471
|
+
|
|
472
|
+
### Decision Optimization
|
|
473
|
+
|
|
474
|
+
- **Fewer agents** = faster agent selection
|
|
475
|
+
- **Clear parameter guidelines** reduce ambiguity
|
|
476
|
+
- **Decision matrices** for common scenarios
|
|
477
|
+
- **Pre-configured workflows** for standard tasks
|
|
478
|
+
|
|
479
|
+
### Maintenance Benefits
|
|
480
|
+
|
|
481
|
+
- **Single source of truth** per technical domain
|
|
482
|
+
- **Unified best practices** across similar agents
|
|
483
|
+
- **Simplified updates** to agent capabilities
|
|
484
|
+
- **Consistent behavior** across frameworks
|
|
485
|
+
- **Reduced training overhead** for new patterns
|
|
486
|
+
|
|
487
|
+
## Monitoring and Metrics
|
|
488
|
+
|
|
489
|
+
### Agent Performance Metrics
|
|
490
|
+
|
|
491
|
+
```yaml
|
|
492
|
+
metrics:
|
|
493
|
+
response_time: < 5 seconds
|
|
494
|
+
context_usage: < 70% of limit
|
|
495
|
+
success_rate: > 95%
|
|
496
|
+
conflict_rate: < 5%
|
|
497
|
+
handoff_success: > 98%
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
### Coordination Health Checks
|
|
501
|
+
|
|
502
|
+
```bash
|
|
503
|
+
# Check coordination health
|
|
504
|
+
./scripts/check-coordination-health.sh
|
|
505
|
+
|
|
506
|
+
# Output:
|
|
507
|
+
# ✅ No file conflicts detected
|
|
508
|
+
# ✅ All agents responsive
|
|
509
|
+
# ✅ Context pools synchronized
|
|
510
|
+
# ⚠️ 2 agents approaching context limit
|
|
511
|
+
# ✅ No blocked agents
|
|
512
|
+
```
|
|
513
|
+
|
|
514
|
+
## Appendix: Quick Reference
|
|
515
|
+
|
|
516
|
+
### Common Commands
|
|
517
|
+
|
|
518
|
+
```bash
|
|
519
|
+
# Claim files
|
|
520
|
+
echo "🔒 Claiming files: $FILES" >> updates/stream-$ID.md
|
|
521
|
+
|
|
522
|
+
# Release files
|
|
523
|
+
echo "🔓 Releasing files: $FILES" >> updates/stream-$ID.md
|
|
524
|
+
|
|
525
|
+
# Check ownership
|
|
526
|
+
git blame -L1,1 $FILE | awk '{print $2}'
|
|
527
|
+
|
|
528
|
+
# Sync safely
|
|
529
|
+
git stash && git pull --rebase && git stash pop
|
|
530
|
+
|
|
531
|
+
# Report blockage
|
|
532
|
+
echo "⛔ BLOCKED: $REASON" >> updates/stream-$ID.md
|
|
533
|
+
```
|
|
534
|
+
|
|
535
|
+
### Decision Trees
|
|
536
|
+
|
|
537
|
+
```mermaid
|
|
538
|
+
graph TD
|
|
539
|
+
A[Need to modify file] --> B{Is file claimed?}
|
|
540
|
+
B -->|Yes| C[Wait for release]
|
|
541
|
+
B -->|No| D[Claim file]
|
|
542
|
+
D --> E[Make changes]
|
|
543
|
+
E --> F[Run tests]
|
|
544
|
+
F --> G{Tests pass?}
|
|
545
|
+
G -->|Yes| H[Commit & Release]
|
|
546
|
+
G -->|No| I[Fix or escalate]
|
|
547
|
+
```
|
|
548
|
+
|
|
549
|
+
This unified coordination system provides clear boundaries, efficient communication protocols, and robust conflict resolution while maintaining the flexibility needed for complex multi-agent collaboration.
|