claude-autopm 2.7.0 → 2.8.1
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 +191 -48
- package/autopm/.claude/.env +158 -0
- package/autopm/.claude/settings.local.json +9 -0
- package/bin/autopm.js +9 -2
- package/bin/commands/epic.js +23 -3
- package/lib/cli/commands/issue.js +360 -20
- package/lib/providers/AzureDevOpsProvider.js +575 -0
- package/lib/providers/GitHubProvider.js +475 -0
- package/lib/services/EpicService.js +1092 -3
- package/lib/services/IssueService.js +991 -0
- package/package.json +6 -1
package/README.md
CHANGED
|
@@ -15,11 +15,12 @@ Transform your development workflow with intelligent automation, parallel AI age
|
|
|
15
15
|
|
|
16
16
|
ClaudeAutoPM is a comprehensive project management and development automation framework designed specifically for [Claude Code](https://claude.ai/code). It combines:
|
|
17
17
|
|
|
18
|
-
- **
|
|
18
|
+
- **136+ CLI commands** including 24 complete PM commands (Issue, Workflow, Context, Utility)
|
|
19
19
|
- **39 specialized AI agents** for intelligent tasks (analysis, design, development)
|
|
20
20
|
- **Dynamic team management** with automatic agent switching
|
|
21
|
-
- **Hybrid execution modes** - choose between
|
|
21
|
+
- **Hybrid execution modes** - choose between CLI commands or AI assistance
|
|
22
22
|
- **Full GitHub & Azure DevOps integration** for seamless workflow
|
|
23
|
+
- **TDD-developed** with 168+ tests and 91%+ coverage
|
|
23
24
|
|
|
24
25
|
### The Problem We Solve
|
|
25
26
|
|
|
@@ -44,54 +45,141 @@ PRD → Epic Decomposition → Parallel Development → Testing → Production
|
|
|
44
45
|
|
|
45
46
|
## ✨ Key Features
|
|
46
47
|
|
|
47
|
-
###
|
|
48
|
+
### 🎉 **NEW in v2.8.0-alpha: Complete GitHub Integration!**
|
|
48
49
|
|
|
49
|
-
**
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
50
|
+
**Full Bidirectional GitHub Sync** - Seamless integration with GitHub Issues
|
|
51
|
+
- ✅ **GitHubProvider** - Complete GitHub REST API wrapper with 99% test coverage
|
|
52
|
+
- 🔄 **Issue Sync** - Push/pull issues with conflict detection and resolution
|
|
53
|
+
- 📦 **Epic Sync** - Sync epics as GitHub issues with task checkboxes
|
|
54
|
+
- 🎯 **84 Tests** - Comprehensive test coverage (45 + 39 tests)
|
|
55
|
+
- ⚡ **Rate Limiting** - Smart rate limiting with exponential backoff
|
|
56
|
+
- 🔀 **Conflict Resolution** - 5 strategies (local, remote, newest, manual, merge)
|
|
54
57
|
|
|
55
|
-
**New Commands:**
|
|
58
|
+
**New GitHub Sync Commands:**
|
|
56
59
|
|
|
57
60
|
```bash
|
|
58
|
-
#
|
|
61
|
+
# Issue Synchronization
|
|
62
|
+
autopm issue sync <number> # Bidirectional sync
|
|
63
|
+
autopm issue sync <number> --push # Push local → GitHub
|
|
64
|
+
autopm issue sync <number> --pull # Pull GitHub → local
|
|
65
|
+
autopm issue sync-status <number> # Check sync status
|
|
66
|
+
autopm issue sync-resolve <number> # Resolve conflicts
|
|
67
|
+
--strategy newest|local|remote
|
|
68
|
+
|
|
69
|
+
# What Gets Synced:
|
|
70
|
+
# - Issue title, description, status
|
|
71
|
+
# - Labels, assignees, milestones
|
|
72
|
+
# - Comments and updates
|
|
73
|
+
# - Task progress and completion
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
**Features:**
|
|
77
|
+
- **Smart Conflict Detection**: Timestamp-based with multiple resolution strategies
|
|
78
|
+
- **Sync Mapping**: Bidirectional tracking in `.claude/sync-map.json`
|
|
79
|
+
- **Epic Support**: Epics → GitHub issues with "epic" label, tasks → checkboxes
|
|
80
|
+
- **Rate Limiting**: Respects 5,000 req/hour limit with exponential backoff
|
|
81
|
+
- **Error Handling**: Comprehensive error messages and recovery
|
|
82
|
+
- **Real API Testing**: 17 integration tests with actual GitHub API
|
|
83
|
+
|
|
84
|
+
**Conflict Resolution UI:**
|
|
85
|
+
```bash
|
|
86
|
+
⚠️ Sync Conflict Detected!
|
|
87
|
+
|
|
88
|
+
Conflict Details:
|
|
89
|
+
Local newer: false
|
|
90
|
+
Remote newer: true
|
|
91
|
+
|
|
92
|
+
Resolution Options:
|
|
93
|
+
1. Use local: autopm issue sync-resolve 123 --strategy local
|
|
94
|
+
2. Use remote: autopm issue sync-resolve 123 --strategy remote
|
|
95
|
+
3. Use newest: autopm issue sync-resolve 123 --strategy newest
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
**Setup:**
|
|
99
|
+
```bash
|
|
100
|
+
# Configure GitHub credentials
|
|
101
|
+
export GITHUB_TOKEN=ghp_your_personal_access_token
|
|
102
|
+
export GITHUB_OWNER=your_username
|
|
103
|
+
export GITHUB_REPO=your_repository
|
|
104
|
+
|
|
105
|
+
# Verify connection
|
|
106
|
+
node test/integration/test-github-manual.js
|
|
107
|
+
|
|
108
|
+
# Start syncing!
|
|
109
|
+
autopm issue sync 123
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
**Documentation:**
|
|
113
|
+
- [GitHub Testing Guide](docs/GITHUB-TESTING-GUIDE.md) - Complete setup and testing
|
|
114
|
+
- [Phase 1 Summary](docs/PHASE1-GITHUB-INTEGRATION-SUMMARY.md) - Technical details
|
|
115
|
+
- [Phase 1 Complete](docs/PHASE1-COMPLETE.md) - Implementation summary
|
|
116
|
+
|
|
117
|
+
**What's Next:**
|
|
118
|
+
- Phase 2: Azure DevOps Integration (similar patterns)
|
|
119
|
+
- Webhooks for real-time updates
|
|
120
|
+
- Provider migration tools
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
### 🎉 **v2.7.0: 100% CLI Implementation Complete!**
|
|
125
|
+
|
|
126
|
+
**All 24 Planned Commands Implemented** - Complete CLI suite for project management
|
|
127
|
+
- ✅ **24/24 Commands** - Full roadmap delivered (Issue, Workflow, Context, Utility)
|
|
128
|
+
- 🎯 **168 Tests** - 91.4% average coverage, 100% function coverage
|
|
129
|
+
- 🎨 **Modern UX** - Progress spinners, color-coded output, intuitive commands
|
|
130
|
+
- ⚡ **TDD Methodology** - Test-driven development throughout
|
|
131
|
+
- 📚 **Context7 Best Practices** - 2025 industry standards applied
|
|
132
|
+
|
|
133
|
+
**Complete Command Suite:**
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
# Issue Management (6 commands)
|
|
137
|
+
autopm issue show <number> # Display issue details
|
|
138
|
+
autopm issue start <number> # Start working on issue
|
|
139
|
+
autopm issue close <number> # Close completed issue
|
|
140
|
+
autopm issue status <number> # Check issue status
|
|
141
|
+
autopm issue edit <number> # Edit issue in editor
|
|
142
|
+
autopm issue sync <number> # Sync with provider
|
|
143
|
+
|
|
144
|
+
# Workflow Commands (6 commands)
|
|
145
|
+
autopm pm next # Get next priority task
|
|
146
|
+
autopm pm what-next # AI-powered suggestions
|
|
147
|
+
autopm pm standup # Generate daily standup
|
|
148
|
+
autopm pm status # Project status overview
|
|
149
|
+
autopm pm in-progress # Show active tasks
|
|
150
|
+
autopm pm blocked # List blocked tasks
|
|
151
|
+
|
|
152
|
+
# Context Management (4 commands)
|
|
153
|
+
autopm context create <type> # Create context from template
|
|
154
|
+
autopm context prime # Generate project snapshot
|
|
155
|
+
autopm context update <type> # Update existing context
|
|
156
|
+
autopm context show [type] # Show or list contexts
|
|
157
|
+
|
|
158
|
+
# Project Utilities (6 commands)
|
|
159
|
+
autopm pm init # Initialize PM structure
|
|
160
|
+
autopm pm validate # Validate project (--fix for repair)
|
|
161
|
+
autopm pm sync # Sync with provider
|
|
162
|
+
autopm pm clean # Clean stale artifacts
|
|
163
|
+
autopm pm search <query> # Search entities (BM25)
|
|
164
|
+
autopm pm import <source> # Import from external sources
|
|
165
|
+
|
|
166
|
+
# PRD Management (legacy)
|
|
59
167
|
autopm prd parse my-prd --ai # AI-powered PRD parsing
|
|
60
|
-
autopm prd parse my-prd --stream # Real-time streaming output
|
|
61
168
|
autopm prd extract-epics my-prd # Extract epics from PRD
|
|
62
|
-
autopm prd summarize my-prd # Generate
|
|
63
|
-
autopm prd validate my-prd # Validate structure & quality
|
|
64
|
-
|
|
65
|
-
# Task Management
|
|
66
|
-
autopm task list epic-001 # Display all tasks from epic
|
|
67
|
-
autopm task prioritize epic-001 # AI-powered prioritization
|
|
68
|
-
|
|
69
|
-
# Agent Invocation
|
|
70
|
-
autopm agent list # Display available agents
|
|
71
|
-
autopm agent search "kubernetes" # Search agents by keyword
|
|
72
|
-
autopm agent invoke aws-architect "Design VPC" # Invoke agent with task
|
|
73
|
-
autopm agent invoke --stream agent-name "task" # Streaming invocation
|
|
169
|
+
autopm prd summarize my-prd # Generate summary
|
|
74
170
|
```
|
|
75
171
|
|
|
76
|
-
**
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
- 📡 Streaming support for real-time AI responses
|
|
80
|
-
- ❌ Comprehensive error handling with user-friendly messages
|
|
81
|
-
- 📋 Consistent patterns across all commands
|
|
82
|
-
|
|
83
|
-
**Technical Implementation:**
|
|
84
|
-
- Extended PRDService with 4 non-streaming methods
|
|
85
|
-
- All services support both streaming and non-streaming modes
|
|
86
|
-
- Proper separation of concerns (CLI → Service → Provider)
|
|
172
|
+
**Architecture:**
|
|
173
|
+
- 4 Service Layers: IssueService, WorkflowService, ContextService, UtilityService
|
|
174
|
+
- Separation of concerns (CLI → Service → Provider)
|
|
87
175
|
- Zero breaking changes to existing functionality
|
|
88
|
-
-
|
|
176
|
+
- Production-ready implementation
|
|
89
177
|
|
|
90
|
-
**
|
|
91
|
-
-
|
|
92
|
-
-
|
|
93
|
-
-
|
|
94
|
-
-
|
|
178
|
+
**Milestone Achievement:**
|
|
179
|
+
- Phase 1 (v2.5.0): Issue Commands - 6 commands, 54 tests
|
|
180
|
+
- Phase 2 (v2.6.0): Workflow Commands - 6 commands, 39 tests
|
|
181
|
+
- Phase 3 (v2.7.0): Context & Utility - 10 commands, 75 tests
|
|
182
|
+
- **Total: 24 commands, 168 tests, 91.4% coverage** 🎉
|
|
95
183
|
|
|
96
184
|
---
|
|
97
185
|
|
|
@@ -208,13 +296,33 @@ Organized into dynamic teams that load based on your work context:
|
|
|
208
296
|
|
|
209
297
|
### 🔄 **Hybrid Execution Model**
|
|
210
298
|
|
|
211
|
-
|
|
299
|
+
ClaudeAutoPM provides two distinct interfaces optimized for different operations:
|
|
212
300
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
301
|
+
#### 🔧 CLI (`autopm`) - Non-AI Utilities
|
|
302
|
+
Fast, deterministic operations that don't require AI:
|
|
303
|
+
```bash
|
|
304
|
+
autopm install # Framework installation
|
|
305
|
+
autopm config set provider github # Configuration management
|
|
306
|
+
autopm team load fullstack # Load agent teams
|
|
307
|
+
autopm mcp enable context7 # Manage MCP servers
|
|
308
|
+
autopm epic status auth # View epic progress (read-only)
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
**When to use:** Setup, configuration, read-only utilities, CI/CD scripts
|
|
312
|
+
|
|
313
|
+
#### 🤖 Claude Code (`/pm:*`) - AI-Powered Operations
|
|
314
|
+
Intelligent operations leveraging Claude's AI:
|
|
315
|
+
```bash
|
|
316
|
+
/pm:prd-new user-auth # Create PRD with AI assistance
|
|
317
|
+
/pm:epic-decompose user-auth # Intelligent task breakdown
|
|
318
|
+
/pm:next # Smart task prioritization
|
|
319
|
+
/pm:standup # Generate progress summary
|
|
320
|
+
/pm:what-next # AI suggests next actions
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
**When to use:** Creation, modification, intelligent analysis, development workflow
|
|
324
|
+
|
|
325
|
+
📖 **[Full CLI vs Claude Code Guide](docs/CLI-vs-CLAUDE-CODE.md)**
|
|
218
326
|
|
|
219
327
|
### 🎭 **Dynamic Team Management**
|
|
220
328
|
|
|
@@ -297,6 +405,35 @@ claude --dangerously-skip-permissions .
|
|
|
297
405
|
|
|
298
406
|
### Your First Workflow
|
|
299
407
|
|
|
408
|
+
**Option A: Using New CLI Commands (v2.7.0+)**
|
|
409
|
+
```bash
|
|
410
|
+
# 1. Initialize project structure
|
|
411
|
+
autopm pm init
|
|
412
|
+
|
|
413
|
+
# 2. Create PRD (in Claude Code or manually)
|
|
414
|
+
/pm:prd-new "Build user authentication system"
|
|
415
|
+
|
|
416
|
+
# 3. Decompose into epic
|
|
417
|
+
/pm:epic-decompose prd-001-authentication.md
|
|
418
|
+
|
|
419
|
+
# 4. Check what to do next
|
|
420
|
+
autopm pm what-next
|
|
421
|
+
|
|
422
|
+
# 5. Start working on next task
|
|
423
|
+
autopm pm next
|
|
424
|
+
autopm issue start 123
|
|
425
|
+
|
|
426
|
+
# 6. Generate daily standup
|
|
427
|
+
autopm pm standup
|
|
428
|
+
|
|
429
|
+
# 7. Complete and close issue
|
|
430
|
+
autopm issue close 123
|
|
431
|
+
|
|
432
|
+
# 8. Sync with provider
|
|
433
|
+
autopm pm sync
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
**Option B: Classic Claude Code Workflow**
|
|
300
437
|
```bash
|
|
301
438
|
# 1. Create a PRD (in Claude Code)
|
|
302
439
|
/pm:prd-new "Build user authentication system"
|
|
@@ -325,6 +462,7 @@ claude --dangerously-skip-permissions .
|
|
|
325
462
|
|
|
326
463
|
### Core Concepts
|
|
327
464
|
- [Architecture Overview](docs/core-concepts/architecture.md)
|
|
465
|
+
- [CLI vs Claude Code](docs/CLI-vs-CLAUDE-CODE.md) ⭐ **Essential reading**
|
|
328
466
|
- [Hybrid Execution](docs/core-concepts/hybrid-execution.md)
|
|
329
467
|
- [Agent System](docs/core-concepts/agent-system.md)
|
|
330
468
|
- [Team Management](docs/core-concepts/team-management.md)
|
|
@@ -457,8 +595,13 @@ claude --dangerously-skip-permissions .
|
|
|
457
595
|
|
|
458
596
|
## 📦 What's Included
|
|
459
597
|
|
|
460
|
-
### CLI Commands (
|
|
461
|
-
- **Project Management**:
|
|
598
|
+
### CLI Commands (136+ total)
|
|
599
|
+
- **Project Management**: 24 complete PM commands (Issue, Workflow, Context, Utility) ✨ NEW in v2.7.0
|
|
600
|
+
- Issue Management (6): show, start, close, status, edit, sync
|
|
601
|
+
- Workflow (6): next, what-next, standup, status, in-progress, blocked
|
|
602
|
+
- Context (4): create, prime, update, show
|
|
603
|
+
- Utilities (6): init, validate, sync, clean, search, import
|
|
604
|
+
- **PRD & Epic**: PRD parsing, epic decomposition, task management
|
|
462
605
|
- **Development**: Scaffolding, testing, deployment
|
|
463
606
|
- **Configuration**: Provider setup, team management, MCP servers
|
|
464
607
|
- **DevOps**: Docker, Kubernetes, CI/CD automation
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
# ============================================
|
|
2
|
+
# MCP (Model Context Protocol) Configuration
|
|
3
|
+
# ============================================
|
|
4
|
+
|
|
5
|
+
# Context7 MCP Server Configuration
|
|
6
|
+
# ------------------------------------------
|
|
7
|
+
# Get your API key from https://context7.com/account
|
|
8
|
+
CONTEXT7_API_KEY=your-context7-api-key-here
|
|
9
|
+
|
|
10
|
+
# MCP endpoint URL (default: mcp.context7.com/mcp)
|
|
11
|
+
CONTEXT7_MCP_URL=mcp.context7.com/mcp
|
|
12
|
+
|
|
13
|
+
# Context7 API URL (default: context7.com/api/v1)
|
|
14
|
+
CONTEXT7_API_URL=context7.com/api/v1
|
|
15
|
+
|
|
16
|
+
# Your Context7 workspace ID or name
|
|
17
|
+
CONTEXT7_WORKSPACE=your-workspace-id-or-name
|
|
18
|
+
|
|
19
|
+
# Context mode: documentation or codebase
|
|
20
|
+
# documentation = for accessing docs, codebase = for code context
|
|
21
|
+
CONTEXT7_MODE=documentation
|
|
22
|
+
|
|
23
|
+
# Cache TTL in seconds (optional, default: 3600)
|
|
24
|
+
CONTEXT7_CACHE_TTL=3600
|
|
25
|
+
|
|
26
|
+
# ============================================
|
|
27
|
+
# GitHub MCP Server Configuration
|
|
28
|
+
# ============================================
|
|
29
|
+
|
|
30
|
+
# GitHub Personal Access Token
|
|
31
|
+
# Create at: https://github.com/settings/tokens
|
|
32
|
+
# Required scopes: repo, workflow, read:org
|
|
33
|
+
GITHUB_TOKEN=your-github-personal-access-token
|
|
34
|
+
|
|
35
|
+
# GitHub API URL (default for public GitHub)
|
|
36
|
+
GITHUB_API_URL=https://api.github.com
|
|
37
|
+
|
|
38
|
+
# ============================================
|
|
39
|
+
# Playwright MCP Server Configuration
|
|
40
|
+
# ============================================
|
|
41
|
+
|
|
42
|
+
# Browser to use for Playwright tests (chromium, firefox, webkit)
|
|
43
|
+
PLAYWRIGHT_BROWSER=chromium
|
|
44
|
+
|
|
45
|
+
# Run browser in headless mode (true/false)
|
|
46
|
+
PLAYWRIGHT_HEADLESS=true
|
|
47
|
+
|
|
48
|
+
# ============================================
|
|
49
|
+
# Azure DevOps Configuration (Optional)
|
|
50
|
+
# ============================================
|
|
51
|
+
|
|
52
|
+
# Azure DevOps Personal Access Token
|
|
53
|
+
# Create at: https://dev.azure.com/{yourorganization}/_usersSettings/tokens
|
|
54
|
+
AZURE_DEVOPS_PAT=your-azure-devops-pat
|
|
55
|
+
|
|
56
|
+
# Azure DevOps Organization
|
|
57
|
+
AZURE_DEVOPS_ORG=your-organization
|
|
58
|
+
|
|
59
|
+
# Azure DevOps Project
|
|
60
|
+
AZURE_DEVOPS_PROJECT=your-project
|
|
61
|
+
|
|
62
|
+
# Azure DevOps API URL (optional, for Azure DevOps Server)
|
|
63
|
+
# AZURE_DEVOPS_API_URL=https://dev.azure.com
|
|
64
|
+
|
|
65
|
+
# ============================================
|
|
66
|
+
# Cloud Provider Credentials (Optional)
|
|
67
|
+
# ============================================
|
|
68
|
+
|
|
69
|
+
# AWS Configuration
|
|
70
|
+
# ------------------------------------------
|
|
71
|
+
AWS_ACCESS_KEY_ID=your-aws-access-key
|
|
72
|
+
AWS_SECRET_ACCESS_KEY=your-aws-secret-key
|
|
73
|
+
AWS_DEFAULT_REGION=us-east-1
|
|
74
|
+
# Optional: AWS profile to use
|
|
75
|
+
# AWS_PROFILE=default
|
|
76
|
+
|
|
77
|
+
# Azure Cloud Configuration
|
|
78
|
+
# ------------------------------------------
|
|
79
|
+
AZURE_SUBSCRIPTION_ID=your-azure-subscription-id
|
|
80
|
+
AZURE_TENANT_ID=your-azure-tenant-id
|
|
81
|
+
AZURE_CLIENT_ID=your-azure-client-id
|
|
82
|
+
AZURE_CLIENT_SECRET=your-azure-client-secret
|
|
83
|
+
# Optional: Azure Cloud environment (AzureCloud, AzureChinaCloud, AzureUSGovernment, AzureGermanCloud)
|
|
84
|
+
# AZURE_CLOUD_ENVIRONMENT=AzureCloud
|
|
85
|
+
|
|
86
|
+
# Google Cloud Platform Configuration
|
|
87
|
+
# ------------------------------------------
|
|
88
|
+
GCP_PROJECT_ID=your-gcp-project-id
|
|
89
|
+
# Path to service account key JSON file
|
|
90
|
+
GCP_SERVICE_ACCOUNT_KEY=path/to/service-account-key.json
|
|
91
|
+
# Optional: GCP region
|
|
92
|
+
# GCP_REGION=us-central1
|
|
93
|
+
|
|
94
|
+
# ============================================
|
|
95
|
+
# AI Provider API Keys (Optional)
|
|
96
|
+
# ============================================
|
|
97
|
+
|
|
98
|
+
# OpenAI Configuration
|
|
99
|
+
# ------------------------------------------
|
|
100
|
+
OPENAI_API_KEY=your-openai-api-key
|
|
101
|
+
# Optional: OpenAI organization ID
|
|
102
|
+
# OPENAI_ORG_ID=your-org-id
|
|
103
|
+
# Optional: API base URL for custom endpoints
|
|
104
|
+
# OPENAI_API_BASE=https://api.openai.com/v1
|
|
105
|
+
|
|
106
|
+
# Google Gemini Configuration
|
|
107
|
+
# ------------------------------------------
|
|
108
|
+
GEMINI_API_KEY=your-gemini-api-key
|
|
109
|
+
# Optional: Gemini model to use
|
|
110
|
+
# GEMINI_MODEL=gemini-pro
|
|
111
|
+
|
|
112
|
+
# ============================================
|
|
113
|
+
# Additional MCP Servers (Optional)
|
|
114
|
+
# ============================================
|
|
115
|
+
|
|
116
|
+
# Database MCP Server
|
|
117
|
+
# ------------------------------------------
|
|
118
|
+
# DATABASE_MCP_URL=your-database-mcp-url
|
|
119
|
+
# DATABASE_MCP_TOKEN=your-database-token
|
|
120
|
+
|
|
121
|
+
# Custom MCP Server
|
|
122
|
+
# ------------------------------------------
|
|
123
|
+
# CUSTOM_MCP_URL=your-custom-mcp-url
|
|
124
|
+
# CUSTOM_MCP_API_KEY=your-custom-api-key
|
|
125
|
+
|
|
126
|
+
# ============================================
|
|
127
|
+
# MCP Context Pool Settings
|
|
128
|
+
# ============================================
|
|
129
|
+
|
|
130
|
+
# Maximum context pool size for shared contexts
|
|
131
|
+
MCP_CONTEXT_POOL_MAX_SIZE=100MB
|
|
132
|
+
|
|
133
|
+
# Context retention period (e.g., 7d, 24h, 1w)
|
|
134
|
+
MCP_CONTEXT_RETENTION=7d
|
|
135
|
+
|
|
136
|
+
# Context refresh interval (daily, hourly, on-change)
|
|
137
|
+
MCP_CONTEXT_REFRESH=daily
|
|
138
|
+
|
|
139
|
+
# ============================================
|
|
140
|
+
# Development & Testing
|
|
141
|
+
# ============================================
|
|
142
|
+
|
|
143
|
+
# Enable MCP debug logging (true/false)
|
|
144
|
+
MCP_DEBUG=false
|
|
145
|
+
|
|
146
|
+
# MCP log level (error, warn, info, debug, trace)
|
|
147
|
+
MCP_LOG_LEVEL=info
|
|
148
|
+
|
|
149
|
+
# ============================================
|
|
150
|
+
# IMPORTANT SECURITY NOTES
|
|
151
|
+
# ============================================
|
|
152
|
+
# 1. NEVER commit this file to version control
|
|
153
|
+
# 2. This file is already in .gitignore
|
|
154
|
+
# 3. Keep this file secure with proper permissions
|
|
155
|
+
# 4. Rotate API keys regularly
|
|
156
|
+
# 5. Use environment-specific .env files for different environments
|
|
157
|
+
# 6. Consider using a secrets management service for production
|
|
158
|
+
# ============================================
|
package/bin/autopm.js
CHANGED
|
@@ -321,8 +321,15 @@ function main() {
|
|
|
321
321
|
autopm team load <name> # Load specific team (frontend/backend/fullstack/devops)
|
|
322
322
|
autopm team current # Check currently active team
|
|
323
323
|
|
|
324
|
-
|
|
325
|
-
|
|
324
|
+
📊 Epic Status (Read-Only Utilities):
|
|
325
|
+
autopm epic list # List all available epics
|
|
326
|
+
autopm epic status <name> # Show epic progress and metrics
|
|
327
|
+
autopm epic breakdown <name> # Show detailed task breakdown
|
|
328
|
+
|
|
329
|
+
💡 Note: To CREATE or MODIFY epics, use Claude Code /pm:* commands
|
|
330
|
+
|
|
331
|
+
💡 Claude Code PM Commands (AI-Powered):
|
|
332
|
+
/pm:what-next # ⭐ Smart suggestions for what to do next
|
|
326
333
|
/pm:status # Project overview and health
|
|
327
334
|
/pm:prd-new <name> # Create new PRD
|
|
328
335
|
/pm:epic-decompose <name> # Break PRD into tasks
|
package/bin/commands/epic.js
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Epic Command for autopm CLI
|
|
3
|
-
*
|
|
3
|
+
* Read-only utility for viewing epic status and breakdown
|
|
4
|
+
*
|
|
5
|
+
* NOTE: This is a READ-ONLY utility command for viewing epics.
|
|
6
|
+
* To CREATE or MODIFY epics, use Claude Code commands:
|
|
7
|
+
* /pm:prd-new <name> - Create new PRD
|
|
8
|
+
* /pm:epic-decompose <name> - Decompose PRD into epic
|
|
9
|
+
* /pm:epic-sync <name> - Sync epic with provider
|
|
10
|
+
* /pm:epic-edit <name> - Edit existing epic
|
|
11
|
+
*
|
|
12
|
+
* This CLI command is for quick status checks outside of Claude Code.
|
|
4
13
|
*/
|
|
5
14
|
|
|
6
15
|
const path = require('path');
|
|
@@ -9,7 +18,7 @@ const fs = require('fs');
|
|
|
9
18
|
|
|
10
19
|
module.exports = {
|
|
11
20
|
command: 'epic <action> [name]',
|
|
12
|
-
describe: '
|
|
21
|
+
describe: 'View epic status and breakdown (read-only utility)',
|
|
13
22
|
|
|
14
23
|
builder: (yargs) => {
|
|
15
24
|
return yargs
|
|
@@ -30,7 +39,18 @@ module.exports = {
|
|
|
30
39
|
})
|
|
31
40
|
.example('autopm epic list', 'List all available epics')
|
|
32
41
|
.example('autopm epic status fullstack', 'Show status of fullstack epic')
|
|
33
|
-
.example('autopm epic breakdown fullstack', 'Show detailed task breakdown')
|
|
42
|
+
.example('autopm epic breakdown fullstack', 'Show detailed task breakdown')
|
|
43
|
+
.epilogue(`
|
|
44
|
+
📝 Note: This is a READ-ONLY command for viewing epics.
|
|
45
|
+
|
|
46
|
+
To create or modify epics, use Claude Code:
|
|
47
|
+
/pm:prd-new <name> - Create new PRD
|
|
48
|
+
/pm:epic-decompose <name> - Decompose PRD into epic
|
|
49
|
+
/pm:epic-sync <name> - Sync epic with provider
|
|
50
|
+
/pm:epic-edit <name> - Edit existing epic
|
|
51
|
+
|
|
52
|
+
Use this CLI command for quick status checks outside Claude Code.
|
|
53
|
+
`);
|
|
34
54
|
},
|
|
35
55
|
|
|
36
56
|
handler: async (argv) => {
|