specweave 0.28.0 → 0.28.3

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.
Files changed (67) hide show
  1. package/README.md +62 -74
  2. package/dist/plugins/specweave-github/lib/github-client-v2.d.ts +6 -2
  3. package/dist/plugins/specweave-github/lib/github-client-v2.d.ts.map +1 -1
  4. package/dist/plugins/specweave-github/lib/github-client-v2.js +28 -8
  5. package/dist/plugins/specweave-github/lib/github-client-v2.js.map +1 -1
  6. package/dist/plugins/specweave-github/lib/github-feature-sync-cli.d.ts +21 -0
  7. package/dist/plugins/specweave-github/lib/github-feature-sync-cli.d.ts.map +1 -0
  8. package/dist/plugins/specweave-github/lib/github-feature-sync-cli.js +166 -0
  9. package/dist/plugins/specweave-github/lib/github-feature-sync-cli.js.map +1 -0
  10. package/dist/src/core/repo-structure/platform-registry.d.ts.map +1 -1
  11. package/dist/src/core/repo-structure/platform-registry.js +3 -2
  12. package/dist/src/core/repo-structure/platform-registry.js.map +1 -1
  13. package/dist/src/core/repo-structure/prompt-consolidator.d.ts.map +1 -1
  14. package/dist/src/core/repo-structure/prompt-consolidator.js +4 -2
  15. package/dist/src/core/repo-structure/prompt-consolidator.js.map +1 -1
  16. package/dist/src/core/repo-structure/repo-structure-manager.d.ts +1 -1
  17. package/dist/src/core/repo-structure/repo-structure-manager.d.ts.map +1 -1
  18. package/dist/src/core/repo-structure/repo-structure-manager.js +23 -43
  19. package/dist/src/core/repo-structure/repo-structure-manager.js.map +1 -1
  20. package/dist/src/core/sync/label-detector.d.ts.map +1 -1
  21. package/dist/src/core/sync/label-detector.js +22 -9
  22. package/dist/src/core/sync/label-detector.js.map +1 -1
  23. package/dist/src/metrics/calculators/deployment-frequency.d.ts +12 -8
  24. package/dist/src/metrics/calculators/deployment-frequency.d.ts.map +1 -1
  25. package/dist/src/metrics/calculators/deployment-frequency.js +16 -12
  26. package/dist/src/metrics/calculators/deployment-frequency.js.map +1 -1
  27. package/dist/src/metrics/dora-calculator.d.ts +2 -1
  28. package/dist/src/metrics/dora-calculator.d.ts.map +1 -1
  29. package/dist/src/metrics/dora-calculator.js +9 -4
  30. package/dist/src/metrics/dora-calculator.js.map +1 -1
  31. package/dist/src/metrics/github-client.d.ts +12 -0
  32. package/dist/src/metrics/github-client.d.ts.map +1 -1
  33. package/dist/src/metrics/github-client.js +30 -0
  34. package/dist/src/metrics/github-client.js.map +1 -1
  35. package/dist/src/sync/sync-coordinator.d.ts +33 -0
  36. package/dist/src/sync/sync-coordinator.d.ts.map +1 -1
  37. package/dist/src/sync/sync-coordinator.js +203 -2
  38. package/dist/src/sync/sync-coordinator.js.map +1 -1
  39. package/dist/src/utils/auth-helpers.d.ts.map +1 -1
  40. package/dist/src/utils/auth-helpers.js +13 -1
  41. package/dist/src/utils/auth-helpers.js.map +1 -1
  42. package/dist/src/utils/env-file-generator.d.ts +8 -23
  43. package/dist/src/utils/env-file-generator.d.ts.map +1 -1
  44. package/dist/src/utils/env-file-generator.js +31 -71
  45. package/dist/src/utils/env-file-generator.js.map +1 -1
  46. package/package.json +7 -2
  47. package/plugins/specweave/agents/architect/AGENT.md +2 -2
  48. package/plugins/specweave/agents/docs-writer/AGENT.md +2 -2
  49. package/plugins/specweave/agents/pm/AGENT.md +2 -2
  50. package/plugins/specweave/agents/qa-lead/AGENT.md +2 -2
  51. package/plugins/specweave/agents/security/AGENT.md +2 -2
  52. package/plugins/specweave/agents/tdd-orchestrator/AGENT.md +2 -2
  53. package/plugins/specweave/agents/tech-lead/AGENT.md +2 -2
  54. package/plugins/specweave/agents/test-aware-planner/AGENT.md +2 -2
  55. package/plugins/specweave/hooks/hooks.json +10 -0
  56. package/plugins/specweave/hooks/post-increment-completion.sh +84 -0
  57. package/plugins/specweave/hooks/post-increment-planning.sh +114 -7
  58. package/plugins/specweave/hooks/post-metadata-change.sh +18 -0
  59. package/plugins/specweave/lib/hooks/sync-increment-closure.js +66 -0
  60. package/plugins/specweave/lib/hooks/sync-increment-closure.ts +111 -0
  61. package/plugins/specweave-github/lib/github-client-v2.js +32 -8
  62. package/plugins/specweave-github/lib/github-client-v2.ts +31 -9
  63. package/plugins/specweave-github/lib/github-feature-sync-cli.js +135 -0
  64. package/plugins/specweave-github/lib/github-feature-sync-cli.ts +194 -0
  65. package/plugins/specweave-github/skills/github-issue-standard/SKILL.md +43 -0
  66. package/plugins/specweave-infrastructure/agents/devops/AGENT.md +2 -2
  67. package/src/templates/.env.example +9 -26
@@ -2,8 +2,8 @@
2
2
  name: devops
3
3
  description: DevOps and infrastructure expert that generates IaC ONE COMPONENT AT A TIME (VPC → Compute → Database → Monitoring) to prevent crashes. Handles Terraform, Kubernetes, Docker, CI/CD. **CRITICAL CHUNKING RULE - Large deployments (EKS + RDS + monitoring = 20+ files) done incrementally.** Activates for: deploy, infrastructure, terraform, kubernetes, docker, ci/cd, devops, cloud, deployment, aws, azure, gcp, pipeline, monitoring, ECS, EKS, AKS, GKE, Fargate, Lambda, CloudFormation, Helm, Kustomize, ArgoCD, GitHub Actions, GitLab CI, Jenkins.
4
4
  tools: Read, Write, Edit, Bash
5
- model: claude-sonnet-4-5-20250929
6
- model_preference: haiku
5
+ model: claude-opus-4-5-20251101
6
+ model_preference: opus
7
7
  cost_profile: execution
8
8
  fallback_behavior: flexible
9
9
  max_response_tokens: 2000
@@ -53,35 +53,18 @@ VERCEL_TOKEN=your-vercel-token-here
53
53
  # ============================================================================
54
54
 
55
55
  # ----------------------------------------------------------------------------
56
- # GitHub - 3 Strategies for Team Organization
56
+ # GitHub
57
57
  # ----------------------------------------------------------------------------
58
+ # RECOMMENDED: Use gh CLI instead of tokens
59
+ # gh auth login
60
+ #
61
+ # Only use GITHUB_TOKEN if gh CLI is not available (e.g., CI/CD)
58
62
  # Guide: https://github.com/settings/tokens
59
- # Scopes: repo, read:org, workflow
63
+ # Scopes: repo, read:org
60
64
 
61
- # Required for all strategies:
62
- GH_TOKEN=ghp_your-github-token-40-chars
63
-
64
- # Strategy 1: Repository-per-team (MOST COMMON)
65
- # Use when: Each team has separate repositories (microservices, multi-repo)
66
- # Example: Frontend team → frontend-app, Backend team → backend-api
67
- GITHUB_STRATEGY=repository-per-team
68
- GITHUB_OWNER=myorg
69
- GITHUB_REPOS=frontend-app,backend-api,mobile-app,qa-tools
70
-
71
- # Strategy 2: Team-based (MONOREPO)
72
- # Use when: Single repository with team-based filtering
73
- # Example: Monorepo with teams working on different parts
74
- # GITHUB_STRATEGY=team-based
75
- # GITHUB_OWNER=myorg
76
- # GITHUB_REPO=main-product
77
- # GITHUB_TEAMS=frontend-team,backend-team,mobile-team,qa-team
78
-
79
- # Strategy 3: Team-multi-repo (COMPLEX)
80
- # Use when: Teams own multiple repositories (platform teams)
81
- # Example: Platform team owns api-gateway + auth-service
82
- # GITHUB_STRATEGY=team-multi-repo
83
- # GITHUB_OWNER=myorg
84
- # GITHUB_TEAM_REPO_MAPPING='{"platform-team":["api-gateway","auth-service"],"frontend-team":["web-app","mobile-app"]}'
65
+ GITHUB_TOKEN=ghp_your-github-token-40-chars
66
+
67
+ # All other GitHub configuration is in .specweave/config.json
85
68
 
86
69
  # ----------------------------------------------------------------------------
87
70
  # Jira - 3 Strategies for Team Organization