jettypod 4.1.1 → 4.1.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.
- package/.devpod/current-work.json +10 -0
- package/.devpod/work.db +0 -0
- package/package.json +3 -2
- package/skills-templates/stable-mode/SKILL.md +62 -36
- package/test-tmp/{external-transition-1762982858258 → external-transition-1762983159050}/.claude/skills/stable-mode/SKILL.md +62 -36
- package/test-tmp/external-transition-1762983159304/.claude/settings.json +24 -0
- package/test-tmp/external-transition-1762983159304/.claude/skills/epic-planning/SKILL.md +297 -0
- package/test-tmp/external-transition-1762983159304/.claude/skills/external-transition/SKILL.md +384 -0
- package/test-tmp/external-transition-1762983159304/.claude/skills/feature-planning/SKILL.md +464 -0
- package/test-tmp/external-transition-1762983159304/.claude/skills/production-mode/SKILL.md +369 -0
- package/test-tmp/external-transition-1762983159304/.claude/skills/speed-mode/SKILL.md +481 -0
- package/test-tmp/external-transition-1762983159304/.claude/skills/stable-mode/SKILL.md +713 -0
- package/test-tmp/external-transition-1762983159545/.claude/settings.json +24 -0
- package/test-tmp/external-transition-1762983159545/.claude/skills/epic-planning/SKILL.md +297 -0
- package/test-tmp/external-transition-1762983159545/.claude/skills/external-transition/SKILL.md +384 -0
- package/test-tmp/external-transition-1762983159545/.claude/skills/feature-planning/SKILL.md +464 -0
- package/test-tmp/external-transition-1762983159545/.claude/skills/production-mode/SKILL.md +369 -0
- package/test-tmp/external-transition-1762983159545/.claude/skills/speed-mode/SKILL.md +481 -0
- package/test-tmp/external-transition-1762983159545/.claude/skills/stable-mode/SKILL.md +713 -0
- package/test-tmp/external-transition-1762983159795/.claude/settings.json +24 -0
- package/test-tmp/external-transition-1762983159795/.claude/skills/epic-planning/SKILL.md +297 -0
- package/test-tmp/external-transition-1762983159795/.claude/skills/external-transition/SKILL.md +384 -0
- package/test-tmp/external-transition-1762983159795/.claude/skills/feature-planning/SKILL.md +464 -0
- package/test-tmp/external-transition-1762983159795/.claude/skills/production-mode/SKILL.md +369 -0
- package/test-tmp/external-transition-1762983159795/.claude/skills/speed-mode/SKILL.md +481 -0
- package/test-tmp/external-transition-1762983159795/.claude/skills/stable-mode/SKILL.md +713 -0
- package/test-tmp/external-transition-1762983160031/.claude/settings.json +24 -0
- package/test-tmp/external-transition-1762983160031/.claude/skills/epic-planning/SKILL.md +297 -0
- package/test-tmp/external-transition-1762983160031/.claude/skills/external-transition/SKILL.md +384 -0
- package/test-tmp/external-transition-1762983160031/.claude/skills/feature-planning/SKILL.md +464 -0
- package/test-tmp/external-transition-1762983160031/.claude/skills/production-mode/SKILL.md +369 -0
- package/test-tmp/external-transition-1762983160031/.claude/skills/speed-mode/SKILL.md +481 -0
- package/test-tmp/external-transition-1762983160031/.claude/skills/stable-mode/SKILL.md +713 -0
- package/test-tmp/external-transition-1762983160249/.claude/settings.json +24 -0
- package/test-tmp/external-transition-1762983160249/.claude/skills/epic-planning/SKILL.md +297 -0
- package/test-tmp/external-transition-1762983160249/.claude/skills/external-transition/SKILL.md +384 -0
- package/test-tmp/external-transition-1762983160249/.claude/skills/feature-planning/SKILL.md +464 -0
- package/test-tmp/external-transition-1762983160249/.claude/skills/production-mode/SKILL.md +369 -0
- package/test-tmp/external-transition-1762983160249/.claude/skills/speed-mode/SKILL.md +481 -0
- package/test-tmp/external-transition-1762983160249/.claude/skills/stable-mode/SKILL.md +713 -0
- package/test-tmp/external-transition-1762983160548/.claude/settings.json +24 -0
- package/test-tmp/external-transition-1762983160548/.claude/skills/epic-planning/SKILL.md +297 -0
- package/test-tmp/external-transition-1762983160548/.claude/skills/external-transition/SKILL.md +384 -0
- package/test-tmp/external-transition-1762983160548/.claude/skills/feature-planning/SKILL.md +464 -0
- package/test-tmp/external-transition-1762983160548/.claude/skills/production-mode/SKILL.md +369 -0
- package/test-tmp/external-transition-1762983160548/.claude/skills/speed-mode/SKILL.md +481 -0
- package/test-tmp/external-transition-1762983160548/.claude/skills/stable-mode/SKILL.md +713 -0
- package/test-tmp/external-transition-1762983160653/.claude/settings.json +24 -0
- package/test-tmp/external-transition-1762983160653/.claude/skills/epic-planning/SKILL.md +297 -0
- package/test-tmp/external-transition-1762983160653/.claude/skills/external-transition/SKILL.md +384 -0
- package/test-tmp/external-transition-1762983160653/.claude/skills/feature-planning/SKILL.md +464 -0
- package/test-tmp/external-transition-1762983160653/.claude/skills/production-mode/SKILL.md +369 -0
- package/test-tmp/external-transition-1762983160653/.claude/skills/speed-mode/SKILL.md +481 -0
- package/test-tmp/external-transition-1762983160653/.claude/skills/stable-mode/SKILL.md +713 -0
- package/test-tmp/external-transition-1762983160783/.claude/settings.json +24 -0
- package/test-tmp/external-transition-1762983160783/.claude/skills/epic-planning/SKILL.md +297 -0
- package/test-tmp/external-transition-1762983160783/.claude/skills/external-transition/SKILL.md +384 -0
- package/test-tmp/external-transition-1762983160783/.claude/skills/feature-planning/SKILL.md +464 -0
- package/test-tmp/external-transition-1762983160783/.claude/skills/production-mode/SKILL.md +369 -0
- package/test-tmp/external-transition-1762983160783/.claude/skills/speed-mode/SKILL.md +481 -0
- package/test-tmp/external-transition-1762983160783/.claude/skills/stable-mode/SKILL.md +713 -0
- package/test-tmp/external-transition-1762983160886/.claude/settings.json +24 -0
- package/test-tmp/external-transition-1762983160886/.claude/skills/epic-planning/SKILL.md +297 -0
- package/test-tmp/external-transition-1762983160886/.claude/skills/external-transition/SKILL.md +384 -0
- package/test-tmp/external-transition-1762983160886/.claude/skills/feature-planning/SKILL.md +464 -0
- package/test-tmp/external-transition-1762983160886/.claude/skills/production-mode/SKILL.md +369 -0
- package/test-tmp/external-transition-1762983160886/.claude/skills/speed-mode/SKILL.md +481 -0
- package/test-tmp/external-transition-1762983160886/.claude/skills/stable-mode/SKILL.md +713 -0
- package/test-tmp/external-transition-1762983160988/.claude/settings.json +24 -0
- package/test-tmp/external-transition-1762983160988/.claude/skills/epic-planning/SKILL.md +297 -0
- package/test-tmp/external-transition-1762983160988/.claude/skills/external-transition/SKILL.md +384 -0
- package/test-tmp/external-transition-1762983160988/.claude/skills/feature-planning/SKILL.md +464 -0
- package/test-tmp/external-transition-1762983160988/.claude/skills/production-mode/SKILL.md +369 -0
- package/test-tmp/external-transition-1762983160988/.claude/skills/speed-mode/SKILL.md +481 -0
- package/test-tmp/external-transition-1762983160988/.claude/skills/stable-mode/SKILL.md +713 -0
- package/test-tmp/external-transition-1762983161151/.claude/settings.json +24 -0
- package/test-tmp/external-transition-1762983161151/.claude/skills/epic-planning/SKILL.md +297 -0
- package/test-tmp/external-transition-1762983161151/.claude/skills/external-transition/SKILL.md +384 -0
- package/test-tmp/external-transition-1762983161151/.claude/skills/feature-planning/SKILL.md +464 -0
- package/test-tmp/external-transition-1762983161151/.claude/skills/production-mode/SKILL.md +369 -0
- package/test-tmp/external-transition-1762983161151/.claude/skills/speed-mode/SKILL.md +481 -0
- package/test-tmp/external-transition-1762983161151/.claude/skills/stable-mode/SKILL.md +713 -0
- package/test-tmp/external-transition-1762983161276/.claude/settings.json +24 -0
- package/test-tmp/external-transition-1762983161276/.claude/skills/epic-planning/SKILL.md +297 -0
- package/test-tmp/external-transition-1762983161276/.claude/skills/external-transition/SKILL.md +384 -0
- package/test-tmp/external-transition-1762983161276/.claude/skills/feature-planning/SKILL.md +464 -0
- package/test-tmp/external-transition-1762983161276/.claude/skills/production-mode/SKILL.md +369 -0
- package/test-tmp/external-transition-1762983161276/.claude/skills/speed-mode/SKILL.md +481 -0
- package/test-tmp/external-transition-1762983161276/.claude/skills/stable-mode/SKILL.md +713 -0
- package/test-tmp/external-transition-1762983161477/.claude/settings.json +24 -0
- package/test-tmp/external-transition-1762983161477/.claude/skills/epic-planning/SKILL.md +297 -0
- package/test-tmp/external-transition-1762983161477/.claude/skills/external-transition/SKILL.md +384 -0
- package/test-tmp/external-transition-1762983161477/.claude/skills/feature-planning/SKILL.md +464 -0
- package/test-tmp/external-transition-1762983161477/.claude/skills/production-mode/SKILL.md +369 -0
- package/test-tmp/external-transition-1762983161477/.claude/skills/speed-mode/SKILL.md +481 -0
- package/test-tmp/external-transition-1762983161477/.claude/skills/stable-mode/SKILL.md +713 -0
- package/test-tmp/external-transition-1762983161583/.claude/settings.json +24 -0
- package/test-tmp/external-transition-1762983161583/.claude/skills/epic-planning/SKILL.md +297 -0
- package/test-tmp/external-transition-1762983161583/.claude/skills/external-transition/SKILL.md +384 -0
- package/test-tmp/external-transition-1762983161583/.claude/skills/feature-planning/SKILL.md +464 -0
- package/test-tmp/external-transition-1762983161583/.claude/skills/production-mode/SKILL.md +369 -0
- package/test-tmp/external-transition-1762983161583/.claude/skills/speed-mode/SKILL.md +481 -0
- package/test-tmp/external-transition-1762983161583/.claude/skills/stable-mode/SKILL.md +713 -0
- package/test-tmp/production-mode-1762983158973/features/test-feature.feature +22 -0
- package/test-tmp/production-mode-1762983158988/features/new-feature.feature +17 -0
- package/test-tmp/production-mode-1762983159002/features/test-feature.feature +4 -0
- package/test-tmp/production-mode-1762983159007/features/test-feature.feature +4 -0
- package/test-tmp/production-mode-1762983159013/features/test-feature.feature +4 -0
- package/test-tmp/production-mode-1762983159019/features/test-feature.feature +4 -0
- package/test-tmp/production-mode-1762983159034/features/test-feature.feature +4 -0
- /package/test-tmp/{external-transition-1762982858258 → external-transition-1762983159050}/.claude/settings.json +0 -0
- /package/test-tmp/{external-transition-1762982858258 → external-transition-1762983159050}/.claude/skills/epic-planning/SKILL.md +0 -0
- /package/test-tmp/{external-transition-1762982858258 → external-transition-1762983159050}/.claude/skills/external-transition/SKILL.md +0 -0
- /package/test-tmp/{external-transition-1762982858258 → external-transition-1762983159050}/.claude/skills/feature-planning/SKILL.md +0 -0
- /package/test-tmp/{external-transition-1762982858258 → external-transition-1762983159050}/.claude/skills/production-mode/SKILL.md +0 -0
- /package/test-tmp/{external-transition-1762982858258 → external-transition-1762983159050}/.claude/skills/speed-mode/SKILL.md +0 -0
- /package/test-tmp/{production-mode-1762982854924 → production-mode-1762983158995}/features/test-feature.feature +0 -0
package/test-tmp/external-transition-1762983159304/.claude/skills/external-transition/SKILL.md
ADDED
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: external-transition
|
|
3
|
+
description: Guide users through transitioning project from internal to external state when they mention launch, production deployment, or accepting real users. Explains infrastructure work creation and gets confirmation before executing.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# External Transition Skill
|
|
7
|
+
|
|
8
|
+
Guides users through transitioning their JettyPod project from internal (staging/preview) to external (production-ready) state.
|
|
9
|
+
|
|
10
|
+
## When to Activate
|
|
11
|
+
|
|
12
|
+
This skill should activate when the user expresses intent to:
|
|
13
|
+
- Launch to production
|
|
14
|
+
- Accept external/real users
|
|
15
|
+
- Deploy publicly
|
|
16
|
+
- Go live
|
|
17
|
+
- Prepare for production
|
|
18
|
+
- Make the project production-ready
|
|
19
|
+
- Similar language indicating readiness for customer/public access
|
|
20
|
+
|
|
21
|
+
## Instructions
|
|
22
|
+
|
|
23
|
+
When this skill is activated, follow this structured approach:
|
|
24
|
+
|
|
25
|
+
### Step 1: Explain the Transition
|
|
26
|
+
|
|
27
|
+
**CRITICAL:** Do not execute anything yet. First explain what this transition means.
|
|
28
|
+
|
|
29
|
+
Say to the user:
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
You're ready to transition to external state. Here's what that means:
|
|
33
|
+
|
|
34
|
+
🏗️ **Infrastructure Work Items Will Be Created:**
|
|
35
|
+
|
|
36
|
+
I'll create an "Infrastructure Readiness" epic with 15 work items across 4 categories:
|
|
37
|
+
|
|
38
|
+
• **Security Infrastructure (5 items)**
|
|
39
|
+
- Input validation on public endpoints
|
|
40
|
+
- SQL injection prevention
|
|
41
|
+
- XSS protection
|
|
42
|
+
- Rate limiting on public APIs
|
|
43
|
+
- Authentication/authorization
|
|
44
|
+
|
|
45
|
+
• **Monitoring Setup (3 items)**
|
|
46
|
+
- Error tracking integration
|
|
47
|
+
- Performance monitoring
|
|
48
|
+
- Audit logging
|
|
49
|
+
|
|
50
|
+
• **Infrastructure Setup (4 items)**
|
|
51
|
+
- Database backup automation
|
|
52
|
+
- Rollback procedures tested
|
|
53
|
+
- Load testing completed
|
|
54
|
+
- Graceful degradation under load
|
|
55
|
+
|
|
56
|
+
• **Compliance (3 items)**
|
|
57
|
+
- Privacy policy
|
|
58
|
+
- Data retention policy
|
|
59
|
+
- Security headers implemented
|
|
60
|
+
|
|
61
|
+
📦 **Production Chores Will Be Generated:**
|
|
62
|
+
|
|
63
|
+
For each feature currently in stable mode, I'll:
|
|
64
|
+
• Generate production scenarios from your chosen standards
|
|
65
|
+
• Append scenarios to the feature's BDD file
|
|
66
|
+
• Create production chores (security, scale, compliance)
|
|
67
|
+
• Move features to production mode and reopen them
|
|
68
|
+
|
|
69
|
+
This uses your feature's BDD scenarios as context for what needs hardening.
|
|
70
|
+
|
|
71
|
+
⚠️ **Mode Requirement Changes:**
|
|
72
|
+
|
|
73
|
+
After this transition, ALL customer-facing features MUST be built through Production mode (not Stable).
|
|
74
|
+
|
|
75
|
+
This change is essentially permanent - you're declaring that real users will access your project.
|
|
76
|
+
|
|
77
|
+
Ready to proceed? (yes/no)
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Step 2: Wait for Initial Confirmation
|
|
81
|
+
|
|
82
|
+
**CRITICAL:** Do NOT proceed without explicit confirmation from the user.
|
|
83
|
+
|
|
84
|
+
Wait for the user to respond with "yes" or similar affirmative response.
|
|
85
|
+
|
|
86
|
+
If they say "no" or express hesitation, ask what concerns they have or what they need to clarify.
|
|
87
|
+
|
|
88
|
+
### Step 3: Production Standards Selection
|
|
89
|
+
|
|
90
|
+
After user confirms, explain production standards and show preset options:
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
Before we transition, let's establish your production standards. These define what "production-ready" means for your project and will guide all future production work.
|
|
94
|
+
|
|
95
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
96
|
+
📋 Choose Your Production Standards Preset
|
|
97
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
98
|
+
|
|
99
|
+
🚀 **Startup MVP**
|
|
100
|
+
Early-stage products, internal tools going external, prototypes with first users
|
|
101
|
+
|
|
102
|
+
Examples: Beta SaaS with first 20 customers, internal tool opened to partners, developer tool in early access, side project gaining traction
|
|
103
|
+
|
|
104
|
+
What you get:
|
|
105
|
+
✅ HTTPS/TLS, basic auth, structured logging
|
|
106
|
+
✅ Health checks, daily backups (24h RPO)
|
|
107
|
+
✅ Single region, 2 instances, 99.0% SLO
|
|
108
|
+
❌ No 24/7 on-call, no multi-region
|
|
109
|
+
|
|
110
|
+
Cost: $200–$500/mo | Time: 1–2 weeks
|
|
111
|
+
|
|
112
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
113
|
+
|
|
114
|
+
🏢 **Production SaaS**
|
|
115
|
+
Established SaaS with paying customers, revenue dependency, uptime expectations
|
|
116
|
+
|
|
117
|
+
Examples: B2B SaaS with annual contracts, consumer app with 5k DAU, API service with enterprise customers, e-commerce platform
|
|
118
|
+
|
|
119
|
+
What you get:
|
|
120
|
+
✅ WAF + rate limiting, OAuth/OIDC
|
|
121
|
+
✅ APM with SLO dashboards, PII sanitization
|
|
122
|
+
✅ Zero-downtime deployments, 15min backups
|
|
123
|
+
✅ Multi-AZ, on-call rotation, 99.9% SLO
|
|
124
|
+
⚠️ Single region (multi-region optional)
|
|
125
|
+
|
|
126
|
+
Cost: $1.5k–$4k/mo infra + $2k–$3k/mo ops | Time: 4–6 weeks
|
|
127
|
+
|
|
128
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
129
|
+
|
|
130
|
+
🏛️ **Enterprise**
|
|
131
|
+
Mission-critical systems, large customer base with strict SLAs, Fortune 500 customers
|
|
132
|
+
|
|
133
|
+
Examples: Enterprise SaaS for F500, financial services platform, infrastructure/DevOps tooling, global marketplace
|
|
134
|
+
|
|
135
|
+
What you get:
|
|
136
|
+
✅ Everything in Production SaaS, plus:
|
|
137
|
+
✅ Multi-region active-passive or active-active
|
|
138
|
+
✅ Advanced DDoS, mTLS, per-tenant encryption
|
|
139
|
+
✅ SOC2 Type II ready, chaos engineering
|
|
140
|
+
✅ PITR backups (1min RPO), 99.95% SLO
|
|
141
|
+
|
|
142
|
+
Cost: $5k–$15k/mo infra + $4k–$8k/mo ops | Time: 8–12 weeks
|
|
143
|
+
|
|
144
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
145
|
+
|
|
146
|
+
🏥 **Regulated (Healthcare, Finance, Gov)**
|
|
147
|
+
Products handling PHI, PCI, FedRAMP - strict compliance mandates, legal liability
|
|
148
|
+
|
|
149
|
+
Examples: Healthcare app (HIPAA), fintech/payments (PCI), government contractor (FedRAMP), legal tech, HR platform
|
|
150
|
+
|
|
151
|
+
What you get:
|
|
152
|
+
✅ Everything in Enterprise, plus:
|
|
153
|
+
✅ HIPAA/PCI/FedRAMP compliance controls
|
|
154
|
+
✅ Encryption at rest/in transit, MFA, PAM
|
|
155
|
+
✅ Quarterly pentesting, annual audits
|
|
156
|
+
✅ Real-time replication, 99.99% SLO
|
|
157
|
+
|
|
158
|
+
Cost: $10k–$30k/mo infra + $6k–$12k/mo ops + $20k–$50k/yr audits | Time: 12–24 weeks
|
|
159
|
+
|
|
160
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
161
|
+
|
|
162
|
+
Which preset best matches your needs? (startup-mvp / production-saas / enterprise / regulated)
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### Step 4: Refinement Questions
|
|
166
|
+
|
|
167
|
+
After user selects preset, ask 3-5 refinement questions to tailor standards:
|
|
168
|
+
|
|
169
|
+
**For All Presets:**
|
|
170
|
+
|
|
171
|
+
1. **What does your app do?** (free text)
|
|
172
|
+
- Use to validate preset choice and infer compliance needs
|
|
173
|
+
|
|
174
|
+
2. **How many users do you expect?**
|
|
175
|
+
- Options: 1-10 / 10-100 / 100-1k / 1k-10k / 10k+
|
|
176
|
+
- Use to adjust performance budgets
|
|
177
|
+
|
|
178
|
+
3. **What happens if it's down for an hour?**
|
|
179
|
+
- Options: No big deal / Users annoyed / Revenue loss / Contractual violation / Safety risk
|
|
180
|
+
- Use to validate SLO and on-call needs
|
|
181
|
+
|
|
182
|
+
4. **What happens if you lose the last day of data?**
|
|
183
|
+
- Options: Annoying / Bad but recoverable / Major problem / Catastrophic
|
|
184
|
+
- Use to adjust RPO (24h → 15min → 1min)
|
|
185
|
+
|
|
186
|
+
5. **Does it handle sensitive data? If yes, what kind?**
|
|
187
|
+
- Examples: Passwords only / Email addresses / Credit cards / Health records
|
|
188
|
+
- Use to activate PII sanitization, encryption, compliance
|
|
189
|
+
|
|
190
|
+
**Additional for Production SaaS / Enterprise / Regulated:**
|
|
191
|
+
|
|
192
|
+
6. **Where are your users?** (Single country / North America / Europe / Global)
|
|
193
|
+
- Use for data residency requirements
|
|
194
|
+
|
|
195
|
+
7. **Do you have compliance requirements?** (GDPR / CCPA / SOC2 / HIPAA / PCI / None yet)
|
|
196
|
+
- Use to activate specific compliance standards
|
|
197
|
+
|
|
198
|
+
8. **How often do you want to deploy?** (Daily+ / Weekly / Monthly)
|
|
199
|
+
- Use to recommend canary/feature flags
|
|
200
|
+
|
|
201
|
+
### Step 5: Generate and Show Recommendations
|
|
202
|
+
|
|
203
|
+
After collecting answers, use the `lib/production-standards-engine.js` to generate tailored standards, then show recommendations:
|
|
204
|
+
|
|
205
|
+
```
|
|
206
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
207
|
+
📋 Recommended Production Standards
|
|
208
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
209
|
+
|
|
210
|
+
Based on:
|
|
211
|
+
• Preset: [preset name]
|
|
212
|
+
• App: [user's description]
|
|
213
|
+
• Users: [user count]
|
|
214
|
+
• Downtime impact: [impact level]
|
|
215
|
+
• Data loss impact: [impact level]
|
|
216
|
+
• Sensitive data: [yes/no + types]
|
|
217
|
+
• Compliance: [requirements]
|
|
218
|
+
|
|
219
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
220
|
+
|
|
221
|
+
✅ SECURITY ([X] standards)
|
|
222
|
+
|
|
223
|
+
[✓] TLS/HTTPS enforcement
|
|
224
|
+
Why: [reasoning]
|
|
225
|
+
Test: [acceptance criteria]
|
|
226
|
+
|
|
227
|
+
[✓] [Other security standards...]
|
|
228
|
+
|
|
229
|
+
✅ PERFORMANCE & SCALE ([X] standards)
|
|
230
|
+
|
|
231
|
+
[✓] Performance budgets
|
|
232
|
+
Why: [reasoning]
|
|
233
|
+
Test: [acceptance criteria]
|
|
234
|
+
|
|
235
|
+
[✓] [Other scale standards...]
|
|
236
|
+
|
|
237
|
+
✅ COMPLIANCE ([X] standards)
|
|
238
|
+
|
|
239
|
+
[✓] [Compliance standards if applicable]
|
|
240
|
+
|
|
241
|
+
✅ INFRASTRUCTURE ([X] standards)
|
|
242
|
+
|
|
243
|
+
[✓] [Infrastructure standards]
|
|
244
|
+
|
|
245
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
246
|
+
|
|
247
|
+
💰 Estimated Cost: $[X]–$[Y]/mo
|
|
248
|
+
|
|
249
|
+
Infrastructure: $[range]
|
|
250
|
+
Operations: $[range]
|
|
251
|
+
Drivers: [list of cost drivers]
|
|
252
|
+
|
|
253
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
254
|
+
|
|
255
|
+
⚠️ Warnings (if any)
|
|
256
|
+
|
|
257
|
+
• [Warning messages for edge cases]
|
|
258
|
+
|
|
259
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
260
|
+
|
|
261
|
+
Accept these standards? (yes / review / customize)
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
### Step 6: Handle Customization
|
|
265
|
+
|
|
266
|
+
If user chooses "review" or "customize", offer interactive customization:
|
|
267
|
+
|
|
268
|
+
```
|
|
269
|
+
Which standards would you like to adjust?
|
|
270
|
+
|
|
271
|
+
Commands:
|
|
272
|
+
• disable <id> - Disable a non-required standard
|
|
273
|
+
• adjust <id> - Modify threshold/config
|
|
274
|
+
• show <id> - Show details for a standard
|
|
275
|
+
• done - Accept current configuration
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
Allow user to toggle/adjust standards, then regenerate the summary.
|
|
279
|
+
|
|
280
|
+
### Step 7: Save Production Standards
|
|
281
|
+
|
|
282
|
+
After user accepts, save standards to `.jettypod/production-standards.json` using the engine's output format.
|
|
283
|
+
|
|
284
|
+
Confirm to user:
|
|
285
|
+
|
|
286
|
+
```
|
|
287
|
+
✅ Production standards saved to .jettypod/production-standards.json
|
|
288
|
+
|
|
289
|
+
These standards will guide all production mode work going forward.
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
### Step 8: Final Confirmation for Transition
|
|
293
|
+
|
|
294
|
+
Now confirm the actual state transition:
|
|
295
|
+
|
|
296
|
+
```
|
|
297
|
+
Ready to execute the external transition? (yes/no)
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
Wait for final "yes" confirmation.
|
|
301
|
+
|
|
302
|
+
### Step 9: Execute Transition
|
|
303
|
+
|
|
304
|
+
Only after receiving explicit "yes" confirmation, execute the transition using the Bash tool:
|
|
305
|
+
|
|
306
|
+
```bash
|
|
307
|
+
node jettypod.js project external
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
### Step 10: Report Results
|
|
311
|
+
|
|
312
|
+
After the command completes successfully, relay the results to the user:
|
|
313
|
+
|
|
314
|
+
```
|
|
315
|
+
✅ **Transition Complete!**
|
|
316
|
+
|
|
317
|
+
Your project is now in external state.
|
|
318
|
+
|
|
319
|
+
📦 Created Infrastructure Readiness epic with:
|
|
320
|
+
• 4 features (Security, Monitoring, Infrastructure, Compliance)
|
|
321
|
+
• 15 chores across those features
|
|
322
|
+
|
|
323
|
+
🔍 Production mode work items are now visible in your backlog.
|
|
324
|
+
|
|
325
|
+
**Next Steps:**
|
|
326
|
+
|
|
327
|
+
1. Run `jettypod backlog` to see all infrastructure work items
|
|
328
|
+
2. Start working on infrastructure: `jettypod work start [epic-id]`
|
|
329
|
+
3. Remember: All customer-facing features must use Production mode from now on
|
|
330
|
+
|
|
331
|
+
**Want to start on infrastructure work now?**
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
### Step 11: Guide Next Actions
|
|
335
|
+
|
|
336
|
+
If the user wants to start infrastructure work:
|
|
337
|
+
- Suggest they run `jettypod backlog` to see the epic
|
|
338
|
+
- Offer to help them start work on specific infrastructure items
|
|
339
|
+
|
|
340
|
+
If they want to continue building features:
|
|
341
|
+
- Remind them that customer-facing features require Production mode
|
|
342
|
+
- Explain that Production mode includes security, scale, and compliance chores
|
|
343
|
+
|
|
344
|
+
## Key Principles
|
|
345
|
+
|
|
346
|
+
1. **Always explain before executing** - User must understand the implications
|
|
347
|
+
2. **Always get confirmation** - This is a significant project state change
|
|
348
|
+
3. **Emphasize no duplication** - Production chores already exist from stable mode
|
|
349
|
+
4. **Clarify mode requirements** - Customer-facing features need Production mode
|
|
350
|
+
5. **Guide next steps** - Help user understand what to do after transition
|
|
351
|
+
|
|
352
|
+
## Example Flow
|
|
353
|
+
|
|
354
|
+
**User:** "I think we're ready to launch this to real users"
|
|
355
|
+
|
|
356
|
+
**Claude:** [Explains transition as shown in Step 1]
|
|
357
|
+
|
|
358
|
+
**User:** "Yes, let's do it"
|
|
359
|
+
|
|
360
|
+
**Claude:** [Executes command via Bash tool]
|
|
361
|
+
|
|
362
|
+
**Claude:** [Reports results as shown in Step 4]
|
|
363
|
+
|
|
364
|
+
**User:** "What should I work on first?"
|
|
365
|
+
|
|
366
|
+
**Claude:** "I'd suggest starting with the Security Infrastructure items since those are critical for protecting user data. Want me to show you what's in that category?"
|
|
367
|
+
|
|
368
|
+
## Validation
|
|
369
|
+
|
|
370
|
+
Before completing external transition, ensure:
|
|
371
|
+
- [ ] User expressed intent to go external/production
|
|
372
|
+
- [ ] Transition implications explained clearly
|
|
373
|
+
- [ ] User provided initial confirmation
|
|
374
|
+
- [ ] Production standards preset shown (4 options)
|
|
375
|
+
- [ ] User selected preset
|
|
376
|
+
- [ ] Refinement questions asked (3-8 questions based on preset)
|
|
377
|
+
- [ ] Standards generated using production-standards-engine.js
|
|
378
|
+
- [ ] Recommendations shown with reasoning and acceptance criteria
|
|
379
|
+
- [ ] User accepted or customized standards
|
|
380
|
+
- [ ] Production standards saved to .jettypod/production-standards.json
|
|
381
|
+
- [ ] Final confirmation obtained
|
|
382
|
+
- [ ] Command executed successfully via Bash tool
|
|
383
|
+
- [ ] Results reported to user
|
|
384
|
+
- [ ] Next steps suggested
|