jettypod 4.4.40 → 4.4.42
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/package.json
CHANGED
|
@@ -659,7 +659,23 @@ EOF
|
|
|
659
659
|
|
|
660
660
|
**4. Create step definitions** at `features/step_definitions/<feature-slug>-stable.steps.js`
|
|
661
661
|
|
|
662
|
-
**5.
|
|
662
|
+
**5. Commit BDD files immediately:**
|
|
663
|
+
|
|
664
|
+
```bash
|
|
665
|
+
git add features/
|
|
666
|
+
git commit -m "test: Add stable mode BDD scenarios and step definitions
|
|
667
|
+
|
|
668
|
+
Added error handling and edge case scenarios for stable mode.
|
|
669
|
+
- [N] new stable mode scenarios
|
|
670
|
+
- Step definitions for validation and error handling"
|
|
671
|
+
|
|
672
|
+
git push
|
|
673
|
+
```
|
|
674
|
+
|
|
675
|
+
**🛑 CRITICAL:** Commit IMMEDIATELY after generating files. Do NOT wait for user confirmation.
|
|
676
|
+
Other assistants may be working in parallel - uncommitted files will block their merges.
|
|
677
|
+
|
|
678
|
+
**6. Present proposal to user:**
|
|
663
679
|
|
|
664
680
|
```
|
|
665
681
|
📋 Stable Mode Transition
|
|
@@ -695,36 +711,50 @@ jettypod work create chore "[Chore title]" "[Description with scenarios addresse
|
|
|
695
711
|
|
|
696
712
|
Repeat for each confirmed chore.
|
|
697
713
|
|
|
698
|
-
**2.
|
|
714
|
+
**2. Release merge lock:**
|
|
699
715
|
|
|
700
716
|
```bash
|
|
701
|
-
|
|
702
|
-
|
|
717
|
+
jettypod work merge --release-lock
|
|
718
|
+
```
|
|
703
719
|
|
|
704
|
-
|
|
705
|
-
- [N] new stable mode scenarios
|
|
706
|
-
- Step definitions for validation and error handling"
|
|
720
|
+
**3. Set feature mode to stable:**
|
|
707
721
|
|
|
708
|
-
|
|
722
|
+
```bash
|
|
723
|
+
jettypod work set-mode <feature-id> stable
|
|
709
724
|
```
|
|
710
725
|
|
|
711
|
-
|
|
726
|
+
#### Step 7E: Start First Stable Chore and Invoke Stable Mode Skill
|
|
727
|
+
|
|
728
|
+
**🛑 CRITICAL HANDOFF - You MUST start the first chore BEFORE invoking stable-mode.**
|
|
729
|
+
|
|
730
|
+
**1. Get the first stable chore:**
|
|
712
731
|
|
|
713
732
|
```bash
|
|
714
|
-
jettypod
|
|
733
|
+
sqlite3 .jettypod/work.db "SELECT id, title FROM work_items WHERE parent_id = <feature-id> AND type = 'chore' AND mode = 'stable' AND status != 'done' ORDER BY created_at LIMIT 1"
|
|
715
734
|
```
|
|
716
735
|
|
|
717
|
-
**
|
|
736
|
+
**2. Start the first stable chore:**
|
|
718
737
|
|
|
719
738
|
```bash
|
|
720
|
-
jettypod work
|
|
739
|
+
jettypod work start <first-stable-chore-id>
|
|
721
740
|
```
|
|
722
741
|
|
|
723
|
-
|
|
742
|
+
**🛑 STOP AND CHECK:** Look at the output. You should see:
|
|
743
|
+
```
|
|
744
|
+
✅ Created worktree: /path/to/.jettypod-work/[id]-[title-slug]
|
|
745
|
+
```
|
|
746
|
+
|
|
747
|
+
If you see `⚠️ Working in main repository (worktree creation failed)`, fix the issue before continuing.
|
|
748
|
+
|
|
749
|
+
**3. Verify worktree exists:**
|
|
724
750
|
|
|
725
|
-
|
|
751
|
+
```bash
|
|
752
|
+
sqlite3 .jettypod/work.db "SELECT worktree_path FROM worktrees WHERE work_item_id = <first-stable-chore-id> AND status = 'active'"
|
|
753
|
+
```
|
|
726
754
|
|
|
727
|
-
**
|
|
755
|
+
If empty, **STOP** - worktree wasn't created properly.
|
|
756
|
+
|
|
757
|
+
**4. Display completion message:**
|
|
728
758
|
|
|
729
759
|
```
|
|
730
760
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
@@ -740,20 +770,23 @@ What we accomplished:
|
|
|
740
770
|
✅ Created step definitions for stable scenarios
|
|
741
771
|
✅ Created [N] stable mode chores
|
|
742
772
|
✅ Feature mode set to stable
|
|
773
|
+
✅ Started first stable chore #[id]
|
|
743
774
|
|
|
744
775
|
🚀 Now invoking stable-mode skill...
|
|
745
776
|
```
|
|
746
777
|
|
|
747
|
-
**Invoke stable-mode:**
|
|
778
|
+
**5. Invoke stable-mode:**
|
|
748
779
|
|
|
749
780
|
```
|
|
750
781
|
Use the Skill tool with skill: "stable-mode"
|
|
751
782
|
```
|
|
752
783
|
|
|
753
|
-
|
|
754
|
-
1.
|
|
755
|
-
2.
|
|
756
|
-
3.
|
|
784
|
+
**🛑 CRITICAL:** You MUST:
|
|
785
|
+
1. Run `work start` for the first stable chore
|
|
786
|
+
2. Verify the worktree was created
|
|
787
|
+
3. THEN invoke stable-mode using the Skill tool
|
|
788
|
+
|
|
789
|
+
If you skip `work start`, stable-mode will fail because no chore is in progress.
|
|
757
790
|
|
|
758
791
|
**End speed-mode skill.**
|
|
759
792
|
|
|
@@ -768,6 +801,8 @@ Before ending speed-mode skill, ensure:
|
|
|
768
801
|
- [ ] Step definitions created for stable scenarios
|
|
769
802
|
- [ ] Stable mode chores created
|
|
770
803
|
- [ ] Feature mode set to stable
|
|
804
|
+
- [ ] **First stable chore started with `work start`**
|
|
805
|
+
- [ ] **Worktree verified for first stable chore**
|
|
771
806
|
- [ ] **stable-mode skill invoked using Skill tool**
|
|
772
807
|
|
|
773
808
|
---
|