proagents 1.0.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/LICENSE +21 -0
- package/README.md +170 -0
- package/bin/proagents.js +90 -0
- package/lib/commands/feature.js +125 -0
- package/lib/commands/fix.js +60 -0
- package/lib/commands/help.js +76 -0
- package/lib/commands/init.js +64 -0
- package/lib/commands/status.js +91 -0
- package/lib/index.js +28 -0
- package/package.json +52 -0
- package/proagents/.learning/global/common-patterns.json +77 -0
- package/proagents/.learning/global/user-preferences.json +76 -0
- package/proagents/.learning/projects/example-project/corrections.json +99 -0
- package/proagents/.learning/projects/example-project/feedback.json +109 -0
- package/proagents/.learning/projects/example-project/metrics.json +101 -0
- package/proagents/.learning/projects/example-project/patterns.json +102 -0
- package/proagents/.learning/schemas/README.md +48 -0
- package/proagents/.learning/schemas/corrections-schema.json +100 -0
- package/proagents/.learning/schemas/feedback-schema.json +144 -0
- package/proagents/.learning/schemas/metrics-schema.json +96 -0
- package/proagents/.learning/schemas/patterns-schema.json +82 -0
- package/proagents/.learning/schemas/project-patterns-schema.json +125 -0
- package/proagents/.learning/schemas/user-preferences-schema.json +136 -0
- package/proagents/GETTING-STARTED-STORY.md +708 -0
- package/proagents/README.md +99 -0
- package/proagents/WORKFLOW.md +1234 -0
- package/proagents/active-features/.gitkeep +0 -0
- package/proagents/active-features/README.md +176 -0
- package/proagents/active-features/_index.json +74 -0
- package/proagents/active-features/feature-user-auth/dependencies.json +81 -0
- package/proagents/active-features/feature-user-auth/files-modified.json +126 -0
- package/proagents/active-features/feature-user-auth/status.json +122 -0
- package/proagents/active-features/schemas/dependencies-schema.json +119 -0
- package/proagents/active-features/schemas/feature-schema.json +132 -0
- package/proagents/active-features/schemas/files-schema.json +100 -0
- package/proagents/active-features/schemas/index-schema.json +95 -0
- package/proagents/adr/README.md +302 -0
- package/proagents/adr/examples/api-versioning.md +297 -0
- package/proagents/adr/examples/database-choice.md +264 -0
- package/proagents/adr/template.md +273 -0
- package/proagents/ai-models/README.md +141 -0
- package/proagents/ai-models/cost-management.md +362 -0
- package/proagents/ai-models/fallbacks.md +342 -0
- package/proagents/ai-models/model-config.md +318 -0
- package/proagents/ai-models/task-routing.md +503 -0
- package/proagents/ai-training/README.md +155 -0
- package/proagents/ai-training/continuous-learning.md +413 -0
- package/proagents/ai-training/domain-knowledge.md +378 -0
- package/proagents/ai-training/pattern-learning.md +455 -0
- package/proagents/ai-training/training-data.md +337 -0
- package/proagents/ai-training/user-preferences.md +346 -0
- package/proagents/api-versioning/README.md +257 -0
- package/proagents/api-versioning/changelog-template.md +225 -0
- package/proagents/api-versioning/deprecation-workflow.md +470 -0
- package/proagents/api-versioning/versioning-strategy.md +291 -0
- package/proagents/approval-workflows/README.md +146 -0
- package/proagents/approval-workflows/approval-config.md +332 -0
- package/proagents/approval-workflows/approval-stages.md +503 -0
- package/proagents/approval-workflows/emergency-bypass.md +351 -0
- package/proagents/approval-workflows/examples.md +859 -0
- package/proagents/approval-workflows/notifications.md +320 -0
- package/proagents/automation/README.md +38 -0
- package/proagents/automation/ai-behavior-rules.md +339 -0
- package/proagents/automation/ai-prompt-injection.md +331 -0
- package/proagents/automation/auto-decisions.md +535 -0
- package/proagents/automation/decision-defaults.yaml +317 -0
- package/proagents/cache/README.md +110 -0
- package/proagents/cache/analysis-metadata.json +76 -0
- package/proagents/cache/conventions.json +125 -0
- package/proagents/cache/dependencies.json +85 -0
- package/proagents/cache/features.json +115 -0
- package/proagents/cache/patterns.json +105 -0
- package/proagents/cache/schemas/conventions-schema.json +138 -0
- package/proagents/cache/schemas/dependencies-schema.json +95 -0
- package/proagents/cache/schemas/features-schema.json +104 -0
- package/proagents/cache/schemas/metadata-schema.json +83 -0
- package/proagents/cache/schemas/patterns-schema.json +136 -0
- package/proagents/cache/schemas/structure-schema.json +72 -0
- package/proagents/cache/structure.json +109 -0
- package/proagents/changelog/2024/01/2024-01-10-api-url-config.md +41 -0
- package/proagents/changelog/2024/01/2024-01-12-login-bug-fix.md +69 -0
- package/proagents/changelog/2024/01/2024-01-15-user-auth-feature.md +99 -0
- package/proagents/changelog/CHANGELOG.md +82 -0
- package/proagents/changelog/README.md +327 -0
- package/proagents/changelog/entry-template.md +283 -0
- package/proagents/checklists/README.md +261 -0
- package/proagents/checklists/code-quality.md +137 -0
- package/proagents/checklists/code-review.md +148 -0
- package/proagents/checklists/pr-checklist.md +78 -0
- package/proagents/checklists/pre-deployment.md +132 -0
- package/proagents/checklists/pre-implementation.md +80 -0
- package/proagents/checklists/testing.md +120 -0
- package/proagents/cicd/README.md +338 -0
- package/proagents/cicd/azure-devops.md +267 -0
- package/proagents/cicd/github-actions.md +375 -0
- package/proagents/cicd/gitlab-ci.md +278 -0
- package/proagents/cicd/jenkins.md +317 -0
- package/proagents/cli/README.md +392 -0
- package/proagents/cli/commands-reference.md +893 -0
- package/proagents/cli/ide-integration.md +584 -0
- package/proagents/cli/shortcuts.md +394 -0
- package/proagents/cli/slash-commands.md +507 -0
- package/proagents/collaboration/README.md +143 -0
- package/proagents/collaboration/roles.md +248 -0
- package/proagents/collaboration/sessions.md +390 -0
- package/proagents/collaboration/sync.md +358 -0
- package/proagents/compliance/README.md +206 -0
- package/proagents/compliance/access-control.md +310 -0
- package/proagents/compliance/audit-logging.md +444 -0
- package/proagents/compliance/compliance-frameworks.md +429 -0
- package/proagents/compliance/reports.md +491 -0
- package/proagents/compliance/retention-policies.md +454 -0
- package/proagents/config/README.md +181 -0
- package/proagents/config/integrations/README.md +68 -0
- package/proagents/config/integrations/github.yaml +211 -0
- package/proagents/config/integrations/jira.yaml +144 -0
- package/proagents/config/integrations/linear.yaml +157 -0
- package/proagents/config/integrations/notion.yaml +203 -0
- package/proagents/config/integrations/slack.yaml +230 -0
- package/proagents/config/rules/README.md +73 -0
- package/proagents/config/rules/custom-rules.template.yaml +188 -0
- package/proagents/config/rules/validation-rules.template.yaml +177 -0
- package/proagents/config/standards/README.md +58 -0
- package/proagents/config/standards/architecture-rules.template.md +124 -0
- package/proagents/config/standards/coding-standards.template.md +107 -0
- package/proagents/config/standards/naming-conventions.template.md +114 -0
- package/proagents/config/standards/testing-standards.template.md +213 -0
- package/proagents/config/templates/README.md +74 -0
- package/proagents/config/templates/api-route.template.ts +142 -0
- package/proagents/config/templates/component.template.tsx +55 -0
- package/proagents/config/templates/hook.template.ts +93 -0
- package/proagents/config/templates/test.template.ts +171 -0
- package/proagents/config-versioning/README.md +120 -0
- package/proagents/config-versioning/changelog.md +300 -0
- package/proagents/config-versioning/rollback.md +283 -0
- package/proagents/config-versioning/versioning.md +330 -0
- package/proagents/contract-testing/README.md +223 -0
- package/proagents/contract-testing/contract-testing.md +614 -0
- package/proagents/contract-testing/pact-integration.md +507 -0
- package/proagents/contract-testing/schema-validation.md +565 -0
- package/proagents/cost/README.md +48 -0
- package/proagents/cost/cost-template.md +283 -0
- package/proagents/cost/estimation-framework.md +287 -0
- package/proagents/database/README.md +72 -0
- package/proagents/database/examples/001-create-users.sql +129 -0
- package/proagents/database/examples/002-add-preferences.sql +94 -0
- package/proagents/database/examples/003-add-index.sql +105 -0
- package/proagents/database/examples/004-rename-column.sql +122 -0
- package/proagents/database/examples/005-add-foreign-key.sql +142 -0
- package/proagents/database/examples/006-data-migration.sql +196 -0
- package/proagents/database/examples/007-drop-column.sql +163 -0
- package/proagents/database/examples/README.md +89 -0
- package/proagents/database/migration-workflow.md +478 -0
- package/proagents/database/rollback-scripts.md +487 -0
- package/proagents/database/safety-checks.md +447 -0
- package/proagents/dependency-management/README.md +140 -0
- package/proagents/dependency-management/automation.md +363 -0
- package/proagents/dependency-management/compatibility.md +319 -0
- package/proagents/dependency-management/security-scanning.md +413 -0
- package/proagents/dependency-management/update-policies.md +374 -0
- package/proagents/disaster-recovery/README.md +247 -0
- package/proagents/disaster-recovery/automation.md +366 -0
- package/proagents/disaster-recovery/backup-recovery.md +571 -0
- package/proagents/disaster-recovery/incident-response.md +565 -0
- package/proagents/disaster-recovery/rollback-procedures.md +499 -0
- package/proagents/disaster-recovery/runbooks.md +603 -0
- package/proagents/disaster-recovery/scenarios.md +892 -0
- package/proagents/disaster-recovery/testing.md +438 -0
- package/proagents/environments/README.md +244 -0
- package/proagents/environments/configuration.md +437 -0
- package/proagents/environments/promotion.md +434 -0
- package/proagents/environments/setup.md +420 -0
- package/proagents/examples/README.md +55 -0
- package/proagents/examples/backend-nodejs/README.md +188 -0
- package/proagents/examples/backend-nodejs/complete-conversation.md +601 -0
- package/proagents/examples/backend-nodejs/proagents.config.yaml +415 -0
- package/proagents/examples/backend-nodejs/workflow-example.md +909 -0
- package/proagents/examples/fullstack-nextjs/README.md +155 -0
- package/proagents/examples/fullstack-nextjs/complete-conversation.md +604 -0
- package/proagents/examples/fullstack-nextjs/proagents.config.yaml +287 -0
- package/proagents/examples/fullstack-nextjs/workflow-example.md +553 -0
- package/proagents/examples/mobile-react-native/README.md +171 -0
- package/proagents/examples/mobile-react-native/complete-conversation.md +825 -0
- package/proagents/examples/mobile-react-native/proagents.config.yaml +330 -0
- package/proagents/examples/mobile-react-native/workflow-example.md +723 -0
- package/proagents/examples/web-frontend-react/README.md +125 -0
- package/proagents/examples/web-frontend-react/complete-conversation.md +556 -0
- package/proagents/examples/web-frontend-react/proagents.config.yaml +183 -0
- package/proagents/examples/web-frontend-react/workflow-example.md +603 -0
- package/proagents/existing-projects/README.md +65 -0
- package/proagents/existing-projects/challenges.md +861 -0
- package/proagents/existing-projects/coexistence-mode.md +483 -0
- package/proagents/existing-projects/compatibility-assessment.md +541 -0
- package/proagents/existing-projects/gradual-adoption.md +515 -0
- package/proagents/existing-projects/migration-strategies.md +788 -0
- package/proagents/existing-projects/pattern-reconciliation.md +489 -0
- package/proagents/existing-projects/team-onboarding.md +617 -0
- package/proagents/existing-projects/technical-debt-handling.md +644 -0
- package/proagents/feature-flags/README.md +263 -0
- package/proagents/feature-flags/ab-testing.md +413 -0
- package/proagents/feature-flags/configuration.md +420 -0
- package/proagents/feature-flags/kill-switches.md +444 -0
- package/proagents/feature-flags/rollout-strategies.md +392 -0
- package/proagents/getting-started/README.md +60 -0
- package/proagents/getting-started/ai-training-setup.md +380 -0
- package/proagents/getting-started/ide-setup.md +195 -0
- package/proagents/getting-started/mcp-setup.md +239 -0
- package/proagents/getting-started/pm-integration.md +336 -0
- package/proagents/getting-started/prompt-engineering.md +478 -0
- package/proagents/getting-started/team-onboarding.md +236 -0
- package/proagents/git/README.md +68 -0
- package/proagents/git/branch-strategy.md +164 -0
- package/proagents/git/commit-conventions.md +241 -0
- package/proagents/git/pr-workflow.md +286 -0
- package/proagents/git/rollback-procedures.md +416 -0
- package/proagents/i18n/README.md +133 -0
- package/proagents/i18n/extraction.md +433 -0
- package/proagents/i18n/tms-integration.md +332 -0
- package/proagents/i18n/translation-workflow.md +413 -0
- package/proagents/i18n/validation.md +355 -0
- package/proagents/ide-integration/README.md +124 -0
- package/proagents/ide-integration/cline-config.md +429 -0
- package/proagents/ide-integration/continue-config.md +380 -0
- package/proagents/ide-integration/cursor-rules.md +280 -0
- package/proagents/ide-integration/github-copilot.md +384 -0
- package/proagents/ide-integration/windsurf-rules.md +314 -0
- package/proagents/integrations/README.md +97 -0
- package/proagents/integrations/pm/README.md +344 -0
- package/proagents/learning/README.md +136 -0
- package/proagents/learning/adaptation.md +305 -0
- package/proagents/learning/data-collection.md +283 -0
- package/proagents/learning/implementation-guide.md +865 -0
- package/proagents/learning/reports.md +306 -0
- package/proagents/logging/README.md +276 -0
- package/proagents/logging/aggregation.md +475 -0
- package/proagents/logging/log-levels.md +376 -0
- package/proagents/logging/sensitive-data.md +423 -0
- package/proagents/logging/structured-logging.md +406 -0
- package/proagents/mcp/README.md +133 -0
- package/proagents/mcp/context-providers.md +442 -0
- package/proagents/mcp/server-config.md +306 -0
- package/proagents/mcp/tools-definition.md +513 -0
- package/proagents/metrics/README.md +174 -0
- package/proagents/metrics/code-quality-kpis.md +461 -0
- package/proagents/metrics/deployment-metrics.md +517 -0
- package/proagents/metrics/developer-productivity.md +368 -0
- package/proagents/metrics/learning-effectiveness.md +478 -0
- package/proagents/migrations/README.md +77 -0
- package/proagents/migrations/from-claude-projects.md +312 -0
- package/proagents/migrations/from-cursor-rules.md +345 -0
- package/proagents/migrations/from-custom-workflows.md +410 -0
- package/proagents/monitoring/README.md +308 -0
- package/proagents/monitoring/alerting.md +449 -0
- package/proagents/monitoring/dashboards.md +454 -0
- package/proagents/monitoring/health-checks.md +436 -0
- package/proagents/monitoring/metrics.md +434 -0
- package/proagents/multi-project/README.md +170 -0
- package/proagents/multi-project/coordinated-deploy.md +510 -0
- package/proagents/multi-project/cross-project-deps.md +395 -0
- package/proagents/multi-project/unified-changelog.md +477 -0
- package/proagents/multi-project/walkthroughs/monorepo-setup.md +787 -0
- package/proagents/multi-project/workspace-config.md +408 -0
- package/proagents/notifications/README.md +151 -0
- package/proagents/notifications/channels.md +457 -0
- package/proagents/notifications/preferences.md +415 -0
- package/proagents/notifications/routing.md +449 -0
- package/proagents/notifications/scheduling.md +425 -0
- package/proagents/notifications/templates.md +446 -0
- package/proagents/offline-mode/README.md +145 -0
- package/proagents/offline-mode/caching.md +344 -0
- package/proagents/offline-mode/offline-operations.md +312 -0
- package/proagents/offline-mode/queue-specifications.md +679 -0
- package/proagents/offline-mode/sync.md +475 -0
- package/proagents/parallel-features/README.md +85 -0
- package/proagents/parallel-features/conflict-detection.md +226 -0
- package/proagents/parallel-features/dependency-management.md +392 -0
- package/proagents/parallel-features/merge-coordination.md +506 -0
- package/proagents/parallel-features/tracking-system.md +416 -0
- package/proagents/patterns/README.md +305 -0
- package/proagents/patterns/api-errors.md +453 -0
- package/proagents/patterns/async-errors.md +521 -0
- package/proagents/patterns/error-types.md +437 -0
- package/proagents/patterns/ui-errors.md +595 -0
- package/proagents/performance/README.md +59 -0
- package/proagents/performance/bundle-analysis.md +375 -0
- package/proagents/performance/load-testing.md +563 -0
- package/proagents/performance/runtime-metrics.md +489 -0
- package/proagents/performance/web-vitals.md +425 -0
- package/proagents/plugins/README.md +139 -0
- package/proagents/plugins/creating-plugins.md +504 -0
- package/proagents/plugins/plugin-api.md +467 -0
- package/proagents/plugins/plugin-registry.md +276 -0
- package/proagents/pm-integration/README.md +151 -0
- package/proagents/pm-integration/asana.md +346 -0
- package/proagents/pm-integration/github-issues.md +308 -0
- package/proagents/pm-integration/gitlab-issues.md +482 -0
- package/proagents/pm-integration/jira.md +364 -0
- package/proagents/pm-integration/linear.md +409 -0
- package/proagents/pm-integration/notion.md +275 -0
- package/proagents/pm-integration/sync-config.md +533 -0
- package/proagents/pm-integration/trello.md +159 -0
- package/proagents/proagents.config.yaml +213 -0
- package/proagents/prompts/00-init-wizard.md +426 -0
- package/proagents/prompts/00-init.md +219 -0
- package/proagents/prompts/01-analysis.md +244 -0
- package/proagents/prompts/02-requirements.md +399 -0
- package/proagents/prompts/03-ui-design.md +493 -0
- package/proagents/prompts/04-planning.md +505 -0
- package/proagents/prompts/05-implementation.md +518 -0
- package/proagents/prompts/06-testing.md +620 -0
- package/proagents/prompts/06.5-code-review.md +512 -0
- package/proagents/prompts/07-documentation.md +673 -0
- package/proagents/prompts/08-deployment.md +539 -0
- package/proagents/prompts/09-rollback.md +554 -0
- package/proagents/prompts/README.md +51 -0
- package/proagents/prompts/accessibility/README.md +146 -0
- package/proagents/prompts/accessibility/aria.md +276 -0
- package/proagents/prompts/accessibility/audit.md +233 -0
- package/proagents/prompts/accessibility/keyboard.md +392 -0
- package/proagents/prompts/accessibility/wcag.md +189 -0
- package/proagents/prompts/debugging/README.md +51 -0
- package/proagents/prompts/debugging/error-analysis.md +385 -0
- package/proagents/prompts/debugging/performance-debug.md +381 -0
- package/proagents/prompts/debugging/systematic.md +270 -0
- package/proagents/prompts/performance/README.md +47 -0
- package/proagents/prompts/performance/analyze.md +265 -0
- package/proagents/prompts/performance/optimize.md +347 -0
- package/proagents/prompts/refactoring/README.md +51 -0
- package/proagents/prompts/refactoring/architecture.md +531 -0
- package/proagents/prompts/refactoring/code-smells.md +174 -0
- package/proagents/prompts/refactoring/patterns.md +516 -0
- package/proagents/prompts/security-audit/README.md +197 -0
- package/proagents/prompts/security-audit/code-review.md +260 -0
- package/proagents/prompts/security-audit/vulnerability-scan.md +288 -0
- package/proagents/reporting/README.md +158 -0
- package/proagents/reporting/dashboards.md +366 -0
- package/proagents/reporting/exports.md +524 -0
- package/proagents/reporting/quality-metrics.md +385 -0
- package/proagents/reporting/templates/README.md +56 -0
- package/proagents/reporting/templates/dashboard-config.json +187 -0
- package/proagents/reporting/templates/metrics-queries.md +427 -0
- package/proagents/reporting/templates/react-dashboard.tsx +544 -0
- package/proagents/reporting/templates/widgets.md +451 -0
- package/proagents/reporting/velocity-metrics.md +340 -0
- package/proagents/reverse-engineering/README.md +151 -0
- package/proagents/reverse-engineering/architecture-extraction.md +325 -0
- package/proagents/reverse-engineering/code-analysis.md +377 -0
- package/proagents/reverse-engineering/dependency-mapping.md +567 -0
- package/proagents/reverse-engineering/diagram-generation.md +586 -0
- package/proagents/reverse-engineering/documentation-generation.md +468 -0
- package/proagents/reverse-engineering/pattern-detection.md +569 -0
- package/proagents/reverse-engineering/quality-assessment.md +733 -0
- package/proagents/rules/README.md +179 -0
- package/proagents/rules/custom-rules-template.yaml +286 -0
- package/proagents/rules/custom-rules.md +754 -0
- package/proagents/rules/validation-rules-template.yaml +517 -0
- package/proagents/runbooks/README.md +219 -0
- package/proagents/runbooks/dependency-vulnerability.md +505 -0
- package/proagents/runbooks/incident-response.md +451 -0
- package/proagents/runbooks/performance-degradation.md +584 -0
- package/proagents/runbooks/production-debugging.md +489 -0
- package/proagents/scaffolding/README.md +64 -0
- package/proagents/scaffolding/nextjs/README.md +578 -0
- package/proagents/scaffolding/nextjs/templates/api-route.ts.template +185 -0
- package/proagents/scaffolding/nextjs/templates/page.tsx.template +109 -0
- package/proagents/scaffolding/nextjs/templates/server-action.ts.template +204 -0
- package/proagents/scaffolding/nodejs/README.md +558 -0
- package/proagents/scaffolding/nodejs/templates/controller.ts.template +167 -0
- package/proagents/scaffolding/nodejs/templates/repository.ts.template +155 -0
- package/proagents/scaffolding/nodejs/templates/service.ts.template +207 -0
- package/proagents/scaffolding/project-types.md +401 -0
- package/proagents/scaffolding/react/README.md +399 -0
- package/proagents/scaffolding/react/templates/component.tsx.template +88 -0
- package/proagents/scaffolding/react/templates/hook.ts.template +127 -0
- package/proagents/scaffolding/react/templates/service.ts.template +155 -0
- package/proagents/scaffolding/react/templates/test.tsx.template +149 -0
- package/proagents/scaffolding/react-native/README.md +476 -0
- package/proagents/scaffolding/react-native/templates/hook.ts.template +226 -0
- package/proagents/scaffolding/react-native/templates/screen.tsx.template +247 -0
- package/proagents/secrets/README.md +278 -0
- package/proagents/secrets/access-control.md +443 -0
- package/proagents/secrets/rotation.md +403 -0
- package/proagents/secrets/scanning.md +487 -0
- package/proagents/secrets/storage.md +394 -0
- package/proagents/security/README.md +71 -0
- package/proagents/security/owasp-checklist.md +390 -0
- package/proagents/security/sast-guide.md +473 -0
- package/proagents/security/security-report-template.md +343 -0
- package/proagents/security/vulnerability-scanning.md +329 -0
- package/proagents/slash-commands.json +161 -0
- package/proagents/standards/README.md +120 -0
- package/proagents/standards/architecture-patterns.md +728 -0
- package/proagents/standards/architecture-rules-template.md +489 -0
- package/proagents/standards/coding-standards-template.md +489 -0
- package/proagents/standards/examples/README.md +61 -0
- package/proagents/standards/examples/nodejs-api.md +560 -0
- package/proagents/standards/examples/react-nextjs.md +428 -0
- package/proagents/standards/naming-conventions-template.md +526 -0
- package/proagents/standards/override-system.md +717 -0
- package/proagents/standards/testing-standards-template.md +220 -0
- package/proagents/team/README.md +256 -0
- package/proagents/team/code-ownership.md +306 -0
- package/proagents/team/communication-templates.md +441 -0
- package/proagents/team/handoff-protocol.md +380 -0
- package/proagents/team/ide-setup/README.md +103 -0
- package/proagents/team/ide-setup/cursor.md +276 -0
- package/proagents/team/ide-setup/jetbrains.md +330 -0
- package/proagents/team/ide-setup/neovim.md +640 -0
- package/proagents/team/ide-setup/vscode.md +348 -0
- package/proagents/team/onboarding.md +278 -0
- package/proagents/templates/README.md +57 -0
- package/proagents/templates/code-review-report.md +255 -0
- package/proagents/templates/codebase-analysis-report.md +315 -0
- package/proagents/templates/deployment-checklist.md +277 -0
- package/proagents/templates/feature-requirements.md +142 -0
- package/proagents/templates/feature-status.md +231 -0
- package/proagents/templates/implementation-plan.md +373 -0
- package/proagents/templates/rollback-plan.md +331 -0
- package/proagents/templates/test-plan.md +336 -0
- package/proagents/templates/ui-specification.md +431 -0
- package/proagents/testing-standards/README.md +229 -0
- package/proagents/testing-standards/coverage-requirements.md +198 -0
- package/proagents/testing-standards/mocking-guidelines.md +478 -0
- package/proagents/testing-standards/test-naming.md +485 -0
- package/proagents/testing-standards/test-patterns.md +488 -0
- package/proagents/troubleshooting/README.md +730 -0
- package/proagents/troubleshooting/ai-issues.md +601 -0
- package/proagents/troubleshooting/workflow-issues.md +571 -0
- package/proagents/ui-integration/README.md +77 -0
- package/proagents/ui-integration/figma-guide.md +217 -0
- package/proagents/ui-integration/manual-export-guide.md +358 -0
- package/proagents/ui-integration/sketch-interpretation.md +471 -0
- package/proagents/webhooks/README.md +126 -0
- package/proagents/webhooks/endpoints.md +298 -0
- package/proagents/webhooks/events.md +316 -0
- package/proagents/webhooks/payloads.md +325 -0
- package/proagents/webhooks/reliability.md +363 -0
- package/proagents/webhooks/security.md +380 -0
- package/proagents/workflow-modes/README.md +136 -0
- package/proagents/workflow-modes/deferred-tracking.md +405 -0
- package/proagents/workflow-modes/entry-modes.md +397 -0
- package/proagents/workflow-modes/guardrails.md +405 -0
- package/proagents/workflow-modes/mode-detection.md +358 -0
- package/proagents/workflow-modes/mode-switching.md +372 -0
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
# GitHub Integration Configuration
|
|
2
|
+
# Copy these settings to your proagents.config.yaml under 'integrations.github'
|
|
3
|
+
|
|
4
|
+
# =============================================================================
|
|
5
|
+
# BASIC CONFIGURATION
|
|
6
|
+
# =============================================================================
|
|
7
|
+
|
|
8
|
+
github:
|
|
9
|
+
enabled: true
|
|
10
|
+
|
|
11
|
+
# Repository Settings
|
|
12
|
+
repository:
|
|
13
|
+
owner: "your-org" # GitHub org or username
|
|
14
|
+
name: "your-repo" # Repository name
|
|
15
|
+
default_branch: "main" # main | master
|
|
16
|
+
|
|
17
|
+
# Authentication
|
|
18
|
+
# Set in .env: GITHUB_TOKEN=ghp_xxx
|
|
19
|
+
# Required scopes: repo, workflow (for actions)
|
|
20
|
+
|
|
21
|
+
# =============================================================================
|
|
22
|
+
# BRANCH CONFIGURATION
|
|
23
|
+
# =============================================================================
|
|
24
|
+
|
|
25
|
+
branches:
|
|
26
|
+
# Branch naming pattern
|
|
27
|
+
pattern: "{{type}}/{{name}}" # e.g., feature/user-auth
|
|
28
|
+
|
|
29
|
+
# Branch types
|
|
30
|
+
types:
|
|
31
|
+
feature: "feature"
|
|
32
|
+
bug_fix: "fix"
|
|
33
|
+
quick_change: "hotfix"
|
|
34
|
+
refactoring: "refactor"
|
|
35
|
+
|
|
36
|
+
# Branch protection
|
|
37
|
+
protection:
|
|
38
|
+
require_pr: true
|
|
39
|
+
require_reviews: 1
|
|
40
|
+
require_ci_pass: true
|
|
41
|
+
|
|
42
|
+
# =============================================================================
|
|
43
|
+
# PULL REQUESTS
|
|
44
|
+
# =============================================================================
|
|
45
|
+
|
|
46
|
+
pull_requests:
|
|
47
|
+
# Auto-create PR when implementation complete
|
|
48
|
+
auto_create: true
|
|
49
|
+
|
|
50
|
+
# PR settings
|
|
51
|
+
settings:
|
|
52
|
+
draft: false # Create as draft PR
|
|
53
|
+
auto_merge: false # Enable auto-merge
|
|
54
|
+
delete_branch_on_merge: true
|
|
55
|
+
|
|
56
|
+
# Default reviewers
|
|
57
|
+
reviewers:
|
|
58
|
+
auto_assign: true
|
|
59
|
+
# Assign based on CODEOWNERS or specify
|
|
60
|
+
# default: ["reviewer1", "reviewer2"]
|
|
61
|
+
|
|
62
|
+
# Labels to add automatically
|
|
63
|
+
labels:
|
|
64
|
+
feature: ["enhancement"]
|
|
65
|
+
bug_fix: ["bug"]
|
|
66
|
+
quick_change: ["maintenance"]
|
|
67
|
+
|
|
68
|
+
# PR template (uses your existing template or this)
|
|
69
|
+
template: |
|
|
70
|
+
## Summary
|
|
71
|
+
{{summary}}
|
|
72
|
+
|
|
73
|
+
## Changes
|
|
74
|
+
{{changes}}
|
|
75
|
+
|
|
76
|
+
## Test Plan
|
|
77
|
+
{{test_plan}}
|
|
78
|
+
|
|
79
|
+
## Checklist
|
|
80
|
+
- [ ] Tests added/updated
|
|
81
|
+
- [ ] Documentation updated
|
|
82
|
+
- [ ] No breaking changes
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
Generated by ProAgents
|
|
86
|
+
|
|
87
|
+
# =============================================================================
|
|
88
|
+
# ISSUES INTEGRATION
|
|
89
|
+
# =============================================================================
|
|
90
|
+
|
|
91
|
+
issues:
|
|
92
|
+
# Sync with GitHub Issues
|
|
93
|
+
enabled: true
|
|
94
|
+
|
|
95
|
+
# Create GitHub issue for features
|
|
96
|
+
create_on_feature_start: false # Usually use Jira/Linear instead
|
|
97
|
+
|
|
98
|
+
# Link PR to issue
|
|
99
|
+
link_pr_to_issue: true
|
|
100
|
+
|
|
101
|
+
# Close issue on merge
|
|
102
|
+
close_on_merge: true
|
|
103
|
+
|
|
104
|
+
# Labels
|
|
105
|
+
labels:
|
|
106
|
+
feature: ["enhancement", "proagents"]
|
|
107
|
+
bug_fix: ["bug", "proagents"]
|
|
108
|
+
|
|
109
|
+
# =============================================================================
|
|
110
|
+
# GITHUB ACTIONS
|
|
111
|
+
# =============================================================================
|
|
112
|
+
|
|
113
|
+
actions:
|
|
114
|
+
# Wait for CI checks
|
|
115
|
+
wait_for_checks: true
|
|
116
|
+
|
|
117
|
+
# Required checks before merge
|
|
118
|
+
required_checks:
|
|
119
|
+
- "test"
|
|
120
|
+
- "lint"
|
|
121
|
+
- "build"
|
|
122
|
+
|
|
123
|
+
# Timeout for checks (minutes)
|
|
124
|
+
check_timeout: 30
|
|
125
|
+
|
|
126
|
+
# Trigger workflows
|
|
127
|
+
trigger_on:
|
|
128
|
+
pr_created: true
|
|
129
|
+
pr_merged: true
|
|
130
|
+
|
|
131
|
+
# =============================================================================
|
|
132
|
+
# RELEASES
|
|
133
|
+
# =============================================================================
|
|
134
|
+
|
|
135
|
+
releases:
|
|
136
|
+
# Auto-create release on deployment
|
|
137
|
+
auto_create: true
|
|
138
|
+
|
|
139
|
+
# Tag format
|
|
140
|
+
tag_format: "v{{version}}"
|
|
141
|
+
|
|
142
|
+
# Generate release notes from commits
|
|
143
|
+
auto_notes: true
|
|
144
|
+
|
|
145
|
+
# Release types
|
|
146
|
+
types:
|
|
147
|
+
major: "Breaking changes"
|
|
148
|
+
minor: "New features"
|
|
149
|
+
patch: "Bug fixes"
|
|
150
|
+
|
|
151
|
+
# =============================================================================
|
|
152
|
+
# WEBHOOKS
|
|
153
|
+
# =============================================================================
|
|
154
|
+
|
|
155
|
+
webhooks:
|
|
156
|
+
# Receive GitHub events
|
|
157
|
+
enabled: false
|
|
158
|
+
|
|
159
|
+
# Events to subscribe
|
|
160
|
+
events:
|
|
161
|
+
- push
|
|
162
|
+
- pull_request
|
|
163
|
+
- check_run
|
|
164
|
+
- deployment
|
|
165
|
+
|
|
166
|
+
# Webhook secret (for validation)
|
|
167
|
+
# Set in .env: GITHUB_WEBHOOK_SECRET=xxx
|
|
168
|
+
|
|
169
|
+
# =============================================================================
|
|
170
|
+
# COMMIT SETTINGS
|
|
171
|
+
# =============================================================================
|
|
172
|
+
|
|
173
|
+
commits:
|
|
174
|
+
# Commit message format
|
|
175
|
+
convention: "conventional" # conventional | simple
|
|
176
|
+
|
|
177
|
+
# Sign commits (requires GPG setup)
|
|
178
|
+
sign: false
|
|
179
|
+
|
|
180
|
+
# Co-author attribution
|
|
181
|
+
co_author: "ProAgents <proagents@example.com>"
|
|
182
|
+
|
|
183
|
+
# Commit message templates
|
|
184
|
+
templates:
|
|
185
|
+
feature: "feat({{scope}}): {{message}}"
|
|
186
|
+
fix: "fix({{scope}}): {{message}}"
|
|
187
|
+
docs: "docs({{scope}}): {{message}}"
|
|
188
|
+
refactor: "refactor({{scope}}): {{message}}"
|
|
189
|
+
|
|
190
|
+
# =============================================================================
|
|
191
|
+
# EXAMPLE USAGE
|
|
192
|
+
# =============================================================================
|
|
193
|
+
|
|
194
|
+
# After configuration:
|
|
195
|
+
#
|
|
196
|
+
# 1. Feature starts:
|
|
197
|
+
# /feature start "Add OAuth login"
|
|
198
|
+
# → Creates branch: feature/add-oauth-login
|
|
199
|
+
# → Commits follow conventional format
|
|
200
|
+
#
|
|
201
|
+
# 2. Implementation complete:
|
|
202
|
+
# /feature review
|
|
203
|
+
# → Creates PR with template
|
|
204
|
+
# → Assigns reviewers
|
|
205
|
+
# → Adds labels
|
|
206
|
+
# → Links to tracking issue
|
|
207
|
+
#
|
|
208
|
+
# 3. PR merged:
|
|
209
|
+
# → Branch deleted
|
|
210
|
+
# → Related issues closed
|
|
211
|
+
# → Release created (if configured)
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
# Jira Integration Configuration
|
|
2
|
+
# Copy these settings to your proagents.config.yaml under 'integrations.jira'
|
|
3
|
+
|
|
4
|
+
# =============================================================================
|
|
5
|
+
# BASIC CONFIGURATION
|
|
6
|
+
# =============================================================================
|
|
7
|
+
|
|
8
|
+
jira:
|
|
9
|
+
enabled: true
|
|
10
|
+
|
|
11
|
+
# Connection Settings
|
|
12
|
+
connection:
|
|
13
|
+
base_url: "https://your-company.atlassian.net" # Your Jira instance URL
|
|
14
|
+
api_version: "3" # Jira Cloud API version
|
|
15
|
+
|
|
16
|
+
# Authentication (use environment variables!)
|
|
17
|
+
auth:
|
|
18
|
+
type: "api_token" # api_token | oauth | basic
|
|
19
|
+
# Set these in .env file:
|
|
20
|
+
# JIRA_EMAIL=your-email@company.com
|
|
21
|
+
# JIRA_API_TOKEN=your-api-token
|
|
22
|
+
|
|
23
|
+
# Project Settings
|
|
24
|
+
project:
|
|
25
|
+
key: "PROJ" # Your Jira project key
|
|
26
|
+
default_issue_type: "Story" # Story | Bug | Task | etc.
|
|
27
|
+
default_priority: "Medium" # Highest | High | Medium | Low | Lowest
|
|
28
|
+
|
|
29
|
+
# =============================================================================
|
|
30
|
+
# ISSUE MAPPING
|
|
31
|
+
# =============================================================================
|
|
32
|
+
|
|
33
|
+
# Map ProAgents modes to Jira issue types
|
|
34
|
+
issue_types:
|
|
35
|
+
feature: "Story"
|
|
36
|
+
bug_fix: "Bug"
|
|
37
|
+
quick_change: "Task"
|
|
38
|
+
refactoring: "Task"
|
|
39
|
+
|
|
40
|
+
# Custom field mappings
|
|
41
|
+
custom_fields:
|
|
42
|
+
# Map ProAgents data to Jira custom fields
|
|
43
|
+
# Format: jira_field_id: proagents_source
|
|
44
|
+
feature_branch: "customfield_10001"
|
|
45
|
+
pr_link: "customfield_10002"
|
|
46
|
+
test_coverage: "customfield_10003"
|
|
47
|
+
|
|
48
|
+
# =============================================================================
|
|
49
|
+
# WORKFLOW SYNC
|
|
50
|
+
# =============================================================================
|
|
51
|
+
|
|
52
|
+
# Map ProAgents phases to Jira transitions
|
|
53
|
+
transitions:
|
|
54
|
+
# When ProAgents enters a phase, transition Jira to corresponding status
|
|
55
|
+
analysis_start: "In Progress"
|
|
56
|
+
implementation_start: "In Development"
|
|
57
|
+
testing_start: "In Testing"
|
|
58
|
+
code_review_start: "In Review"
|
|
59
|
+
deployment_start: "Deploying"
|
|
60
|
+
complete: "Done"
|
|
61
|
+
blocked: "Blocked"
|
|
62
|
+
|
|
63
|
+
# Auto-create issues
|
|
64
|
+
auto_create:
|
|
65
|
+
on_feature_start: true
|
|
66
|
+
include_requirements: true
|
|
67
|
+
include_acceptance_criteria: true
|
|
68
|
+
|
|
69
|
+
# Auto-update issues
|
|
70
|
+
auto_update:
|
|
71
|
+
on_phase_change: true
|
|
72
|
+
on_commit: false # Can be noisy
|
|
73
|
+
on_pr_create: true
|
|
74
|
+
on_deployment: true
|
|
75
|
+
|
|
76
|
+
# =============================================================================
|
|
77
|
+
# COMMENTS AND LOGGING
|
|
78
|
+
# =============================================================================
|
|
79
|
+
|
|
80
|
+
comments:
|
|
81
|
+
# Add comments to Jira issues during workflow
|
|
82
|
+
on_analysis_complete: true
|
|
83
|
+
on_implementation_complete: true
|
|
84
|
+
on_test_results: true
|
|
85
|
+
on_deployment: true
|
|
86
|
+
|
|
87
|
+
# Comment format
|
|
88
|
+
format: "markdown" # markdown | plain
|
|
89
|
+
|
|
90
|
+
# Include details in comments
|
|
91
|
+
include:
|
|
92
|
+
- commit_links
|
|
93
|
+
- pr_links
|
|
94
|
+
- test_coverage
|
|
95
|
+
- deployment_url
|
|
96
|
+
|
|
97
|
+
# =============================================================================
|
|
98
|
+
# SPRINT INTEGRATION
|
|
99
|
+
# =============================================================================
|
|
100
|
+
|
|
101
|
+
sprints:
|
|
102
|
+
enabled: true
|
|
103
|
+
|
|
104
|
+
# Auto-assign new issues to current sprint
|
|
105
|
+
auto_assign_sprint: true
|
|
106
|
+
|
|
107
|
+
# Sprint field (usually standard, but can be custom)
|
|
108
|
+
sprint_field: "customfield_10020"
|
|
109
|
+
|
|
110
|
+
# =============================================================================
|
|
111
|
+
# NOTIFICATIONS
|
|
112
|
+
# =============================================================================
|
|
113
|
+
|
|
114
|
+
notifications:
|
|
115
|
+
# Notify watchers
|
|
116
|
+
notify_watchers: true
|
|
117
|
+
|
|
118
|
+
# Add mentions
|
|
119
|
+
mention_on:
|
|
120
|
+
- deployment
|
|
121
|
+
- blocker
|
|
122
|
+
|
|
123
|
+
# =============================================================================
|
|
124
|
+
# EXAMPLE USAGE
|
|
125
|
+
# =============================================================================
|
|
126
|
+
|
|
127
|
+
# After configuration, ProAgents will:
|
|
128
|
+
#
|
|
129
|
+
# 1. Create Jira issue when you start a feature:
|
|
130
|
+
# /feature start "Add user authentication"
|
|
131
|
+
# → Creates PROJ-123: Add user authentication
|
|
132
|
+
#
|
|
133
|
+
# 2. Update Jira as you progress:
|
|
134
|
+
# Phase: Analysis → Jira: In Progress
|
|
135
|
+
# Phase: Implementation → Jira: In Development
|
|
136
|
+
# Phase: Testing → Jira: In Testing
|
|
137
|
+
#
|
|
138
|
+
# 3. Add comments with details:
|
|
139
|
+
# "Analysis completed. See requirements: [link]"
|
|
140
|
+
# "PR created: #456. Ready for review."
|
|
141
|
+
#
|
|
142
|
+
# 4. Complete when done:
|
|
143
|
+
# /feature complete
|
|
144
|
+
# → Jira: Done, with full summary
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# Linear Integration Configuration
|
|
2
|
+
# Copy these settings to your proagents.config.yaml under 'integrations.linear'
|
|
3
|
+
|
|
4
|
+
# =============================================================================
|
|
5
|
+
# BASIC CONFIGURATION
|
|
6
|
+
# =============================================================================
|
|
7
|
+
|
|
8
|
+
linear:
|
|
9
|
+
enabled: true
|
|
10
|
+
|
|
11
|
+
# Connection Settings
|
|
12
|
+
connection:
|
|
13
|
+
# Authentication (use environment variables!)
|
|
14
|
+
# Set in .env: LINEAR_API_KEY=lin_api_xxx
|
|
15
|
+
api_url: "https://api.linear.app/graphql"
|
|
16
|
+
|
|
17
|
+
# Team Settings
|
|
18
|
+
team:
|
|
19
|
+
id: "TEAM-123" # Your Linear team ID
|
|
20
|
+
key: "ENG" # Team key prefix for issues
|
|
21
|
+
|
|
22
|
+
# =============================================================================
|
|
23
|
+
# ISSUE CONFIGURATION
|
|
24
|
+
# =============================================================================
|
|
25
|
+
|
|
26
|
+
# Default settings for new issues
|
|
27
|
+
defaults:
|
|
28
|
+
priority: 2 # 0=No Priority, 1=Urgent, 2=High, 3=Normal, 4=Low
|
|
29
|
+
estimate: null # Story points (null = unestimated)
|
|
30
|
+
|
|
31
|
+
# Map ProAgents modes to Linear labels
|
|
32
|
+
labels:
|
|
33
|
+
feature: "feature"
|
|
34
|
+
bug_fix: "bug"
|
|
35
|
+
quick_change: "chore"
|
|
36
|
+
refactoring: "refactor"
|
|
37
|
+
|
|
38
|
+
# Project assignment
|
|
39
|
+
projects:
|
|
40
|
+
auto_assign: true
|
|
41
|
+
# Map features to projects by pattern
|
|
42
|
+
mapping:
|
|
43
|
+
"auth*": "project_auth_id"
|
|
44
|
+
"payment*": "project_payments_id"
|
|
45
|
+
"*": "project_default_id" # Fallback
|
|
46
|
+
|
|
47
|
+
# =============================================================================
|
|
48
|
+
# WORKFLOW SYNC
|
|
49
|
+
# =============================================================================
|
|
50
|
+
|
|
51
|
+
# Map ProAgents phases to Linear workflow states
|
|
52
|
+
workflow_states:
|
|
53
|
+
# Format: proagents_phase: linear_state_name
|
|
54
|
+
pending: "Backlog"
|
|
55
|
+
analysis_start: "In Progress"
|
|
56
|
+
implementation_start: "In Progress"
|
|
57
|
+
testing_start: "In Review"
|
|
58
|
+
code_review_start: "In Review"
|
|
59
|
+
complete: "Done"
|
|
60
|
+
cancelled: "Canceled"
|
|
61
|
+
|
|
62
|
+
# Auto-sync settings
|
|
63
|
+
sync:
|
|
64
|
+
# Create Linear issue when feature starts
|
|
65
|
+
create_on_start: true
|
|
66
|
+
|
|
67
|
+
# Update Linear status with phase changes
|
|
68
|
+
update_on_phase: true
|
|
69
|
+
|
|
70
|
+
# Add comments for key events
|
|
71
|
+
comment_on:
|
|
72
|
+
- analysis_complete
|
|
73
|
+
- pr_created
|
|
74
|
+
- tests_passed
|
|
75
|
+
- deployed
|
|
76
|
+
|
|
77
|
+
# Link to GitHub PRs
|
|
78
|
+
link_github_prs: true
|
|
79
|
+
|
|
80
|
+
# =============================================================================
|
|
81
|
+
# CYCLE (SPRINT) INTEGRATION
|
|
82
|
+
# =============================================================================
|
|
83
|
+
|
|
84
|
+
cycles:
|
|
85
|
+
enabled: true
|
|
86
|
+
|
|
87
|
+
# Auto-assign to current cycle
|
|
88
|
+
auto_assign_current: true
|
|
89
|
+
|
|
90
|
+
# Include in cycle reports
|
|
91
|
+
include_in_reports: true
|
|
92
|
+
|
|
93
|
+
# =============================================================================
|
|
94
|
+
# BIDIRECTIONAL SYNC
|
|
95
|
+
# =============================================================================
|
|
96
|
+
|
|
97
|
+
bidirectional:
|
|
98
|
+
enabled: true
|
|
99
|
+
|
|
100
|
+
# If issue is updated in Linear, reflect in ProAgents
|
|
101
|
+
sync_from_linear:
|
|
102
|
+
priority: true
|
|
103
|
+
assignee: true
|
|
104
|
+
labels: true
|
|
105
|
+
due_date: true
|
|
106
|
+
|
|
107
|
+
# Conflict resolution
|
|
108
|
+
conflict_resolution: "linear_wins" # linear_wins | proagents_wins | newest
|
|
109
|
+
|
|
110
|
+
# =============================================================================
|
|
111
|
+
# COMMENTS AND UPDATES
|
|
112
|
+
# =============================================================================
|
|
113
|
+
|
|
114
|
+
comments:
|
|
115
|
+
# Format for automated comments
|
|
116
|
+
format: "markdown"
|
|
117
|
+
|
|
118
|
+
# Templates
|
|
119
|
+
templates:
|
|
120
|
+
analysis_complete: |
|
|
121
|
+
**Analysis Complete**
|
|
122
|
+
- Requirements documented
|
|
123
|
+
- Implementation plan ready
|
|
124
|
+
- Estimated effort: {{estimate}}
|
|
125
|
+
|
|
126
|
+
pr_created: |
|
|
127
|
+
**Pull Request Created**
|
|
128
|
+
[PR #{{pr_number}}]({{pr_url}})
|
|
129
|
+
- Branch: `{{branch}}`
|
|
130
|
+
- Changes: {{files_changed}} files
|
|
131
|
+
|
|
132
|
+
deployed: |
|
|
133
|
+
**Deployed to {{environment}}**
|
|
134
|
+
- Commit: {{commit_sha}}
|
|
135
|
+
- URL: {{deployment_url}}
|
|
136
|
+
|
|
137
|
+
# =============================================================================
|
|
138
|
+
# EXAMPLE USAGE
|
|
139
|
+
# =============================================================================
|
|
140
|
+
|
|
141
|
+
# After configuration:
|
|
142
|
+
#
|
|
143
|
+
# 1. Start feature:
|
|
144
|
+
# /feature start "Add dark mode"
|
|
145
|
+
# → Creates ENG-456: Add dark mode
|
|
146
|
+
# → Assigns to current cycle
|
|
147
|
+
# → Sets status: In Progress
|
|
148
|
+
#
|
|
149
|
+
# 2. Automatic updates as you work:
|
|
150
|
+
# - Comments added for milestones
|
|
151
|
+
# - PR automatically linked
|
|
152
|
+
# - Status updated with phases
|
|
153
|
+
#
|
|
154
|
+
# 3. View in Linear:
|
|
155
|
+
# - Full history in activity feed
|
|
156
|
+
# - Links to code and PRs
|
|
157
|
+
# - Cycle velocity tracking
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
# Notion Integration Configuration
|
|
2
|
+
# Copy these settings to your proagents.config.yaml under 'integrations.notion'
|
|
3
|
+
|
|
4
|
+
# =============================================================================
|
|
5
|
+
# BASIC CONFIGURATION
|
|
6
|
+
# =============================================================================
|
|
7
|
+
|
|
8
|
+
notion:
|
|
9
|
+
enabled: true
|
|
10
|
+
|
|
11
|
+
# Authentication
|
|
12
|
+
# Set in .env: NOTION_API_KEY=secret_xxx
|
|
13
|
+
# Create integration at: https://www.notion.so/my-integrations
|
|
14
|
+
|
|
15
|
+
# =============================================================================
|
|
16
|
+
# DATABASE CONFIGURATION
|
|
17
|
+
# =============================================================================
|
|
18
|
+
|
|
19
|
+
databases:
|
|
20
|
+
# Features/Tasks database
|
|
21
|
+
features:
|
|
22
|
+
id: "your-database-id" # From database URL
|
|
23
|
+
properties:
|
|
24
|
+
# Map ProAgents fields to Notion properties
|
|
25
|
+
title: "Name" # Title property
|
|
26
|
+
status: "Status" # Select property
|
|
27
|
+
phase: "Phase" # Select property
|
|
28
|
+
developer: "Assignee" # Person property
|
|
29
|
+
branch: "Branch" # Text property
|
|
30
|
+
pr_url: "PR Link" # URL property
|
|
31
|
+
created: "Created" # Date property
|
|
32
|
+
|
|
33
|
+
# Documentation database (optional)
|
|
34
|
+
documentation:
|
|
35
|
+
id: "your-docs-database-id"
|
|
36
|
+
properties:
|
|
37
|
+
title: "Title"
|
|
38
|
+
category: "Category"
|
|
39
|
+
last_updated: "Last Updated"
|
|
40
|
+
|
|
41
|
+
# Changelog database (optional)
|
|
42
|
+
changelog:
|
|
43
|
+
id: "your-changelog-database-id"
|
|
44
|
+
properties:
|
|
45
|
+
title: "Change"
|
|
46
|
+
type: "Type"
|
|
47
|
+
date: "Date"
|
|
48
|
+
commit: "Commit"
|
|
49
|
+
|
|
50
|
+
# =============================================================================
|
|
51
|
+
# SYNC SETTINGS
|
|
52
|
+
# =============================================================================
|
|
53
|
+
|
|
54
|
+
sync:
|
|
55
|
+
# What to sync
|
|
56
|
+
features:
|
|
57
|
+
enabled: true
|
|
58
|
+
create_on_start: true
|
|
59
|
+
update_on_phase: true
|
|
60
|
+
|
|
61
|
+
documentation:
|
|
62
|
+
enabled: true
|
|
63
|
+
# Sync generated docs to Notion
|
|
64
|
+
auto_sync: true
|
|
65
|
+
# Sync on these events
|
|
66
|
+
sync_on:
|
|
67
|
+
- feature_complete
|
|
68
|
+
- documentation_update
|
|
69
|
+
|
|
70
|
+
changelog:
|
|
71
|
+
enabled: true
|
|
72
|
+
# Create entry for each change
|
|
73
|
+
auto_create: true
|
|
74
|
+
|
|
75
|
+
# =============================================================================
|
|
76
|
+
# STATUS MAPPING
|
|
77
|
+
# =============================================================================
|
|
78
|
+
|
|
79
|
+
status_mapping:
|
|
80
|
+
# Map ProAgents phases to Notion status options
|
|
81
|
+
pending: "Not Started"
|
|
82
|
+
analysis: "Planning"
|
|
83
|
+
requirements: "Planning"
|
|
84
|
+
design: "Planning"
|
|
85
|
+
implementation: "In Progress"
|
|
86
|
+
testing: "In Progress"
|
|
87
|
+
review: "In Review"
|
|
88
|
+
documentation: "In Review"
|
|
89
|
+
deployment: "Deploying"
|
|
90
|
+
complete: "Done"
|
|
91
|
+
blocked: "Blocked"
|
|
92
|
+
|
|
93
|
+
# =============================================================================
|
|
94
|
+
# CONTENT TEMPLATES
|
|
95
|
+
# =============================================================================
|
|
96
|
+
|
|
97
|
+
templates:
|
|
98
|
+
# Page content for new features
|
|
99
|
+
feature_page: |
|
|
100
|
+
## Overview
|
|
101
|
+
{{description}}
|
|
102
|
+
|
|
103
|
+
## Requirements
|
|
104
|
+
{{requirements}}
|
|
105
|
+
|
|
106
|
+
## Implementation Plan
|
|
107
|
+
{{implementation_plan}}
|
|
108
|
+
|
|
109
|
+
## Progress
|
|
110
|
+
- [ ] Analysis
|
|
111
|
+
- [ ] Design
|
|
112
|
+
- [ ] Implementation
|
|
113
|
+
- [ ] Testing
|
|
114
|
+
- [ ] Review
|
|
115
|
+
- [ ] Documentation
|
|
116
|
+
|
|
117
|
+
## Links
|
|
118
|
+
- Branch: `{{branch}}`
|
|
119
|
+
- PR: {{pr_url}}
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
*Generated by ProAgents*
|
|
123
|
+
|
|
124
|
+
# Documentation page template
|
|
125
|
+
documentation_page: |
|
|
126
|
+
# {{title}}
|
|
127
|
+
|
|
128
|
+
{{content}}
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
Last updated: {{date}}
|
|
132
|
+
Generated by ProAgents
|
|
133
|
+
|
|
134
|
+
# =============================================================================
|
|
135
|
+
# PAGE STRUCTURE
|
|
136
|
+
# =============================================================================
|
|
137
|
+
|
|
138
|
+
pages:
|
|
139
|
+
# Where to create feature pages
|
|
140
|
+
features_parent: "your-parent-page-id"
|
|
141
|
+
|
|
142
|
+
# Documentation structure
|
|
143
|
+
docs_parent: "your-docs-page-id"
|
|
144
|
+
|
|
145
|
+
# Include sub-pages
|
|
146
|
+
include_subpages: true
|
|
147
|
+
|
|
148
|
+
# =============================================================================
|
|
149
|
+
# BIDIRECTIONAL SYNC
|
|
150
|
+
# =============================================================================
|
|
151
|
+
|
|
152
|
+
bidirectional:
|
|
153
|
+
enabled: false # Enable to sync changes FROM Notion
|
|
154
|
+
|
|
155
|
+
# What to sync back
|
|
156
|
+
sync_from_notion:
|
|
157
|
+
status: true
|
|
158
|
+
assignee: true
|
|
159
|
+
priority: false
|
|
160
|
+
|
|
161
|
+
# Polling interval (Notion doesn't have webhooks)
|
|
162
|
+
poll_interval_minutes: 5
|
|
163
|
+
|
|
164
|
+
# =============================================================================
|
|
165
|
+
# BLOCKS AND FORMATTING
|
|
166
|
+
# =============================================================================
|
|
167
|
+
|
|
168
|
+
formatting:
|
|
169
|
+
# Use Notion blocks for rich content
|
|
170
|
+
use_blocks: true
|
|
171
|
+
|
|
172
|
+
# Convert markdown to Notion blocks
|
|
173
|
+
convert_markdown: true
|
|
174
|
+
|
|
175
|
+
# Code block language detection
|
|
176
|
+
auto_detect_language: true
|
|
177
|
+
|
|
178
|
+
# Table of contents
|
|
179
|
+
include_toc: true
|
|
180
|
+
|
|
181
|
+
# =============================================================================
|
|
182
|
+
# EXAMPLE USAGE
|
|
183
|
+
# =============================================================================
|
|
184
|
+
|
|
185
|
+
# After configuration:
|
|
186
|
+
#
|
|
187
|
+
# 1. Feature starts:
|
|
188
|
+
# → New page created in Features database
|
|
189
|
+
# → Status: "Planning"
|
|
190
|
+
# → Content from template
|
|
191
|
+
#
|
|
192
|
+
# 2. Phase changes:
|
|
193
|
+
# → Status property updated
|
|
194
|
+
# → Progress checkboxes updated
|
|
195
|
+
#
|
|
196
|
+
# 3. Documentation generated:
|
|
197
|
+
# → New page in Docs database
|
|
198
|
+
# → Linked to feature page
|
|
199
|
+
#
|
|
200
|
+
# 4. Feature complete:
|
|
201
|
+
# → Status: "Done"
|
|
202
|
+
# → Changelog entry created
|
|
203
|
+
# → Links added (PR, deployment)
|