get-shit-done-cc 1.3.9 → 1.3.10
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.
|
@@ -1225,7 +1225,26 @@ Use AskUserQuestion:
|
|
|
1225
1225
|
</step>
|
|
1226
1226
|
|
|
1227
1227
|
<step name="offer_next">
|
|
1228
|
-
**
|
|
1228
|
+
**First, determine if more plans exist in this phase:**
|
|
1229
|
+
|
|
1230
|
+
```bash
|
|
1231
|
+
# Get current phase directory from the plan we just executed
|
|
1232
|
+
PHASE_DIR=$(dirname "$PLAN_PATH")
|
|
1233
|
+
|
|
1234
|
+
# Count PLAN files vs SUMMARY files
|
|
1235
|
+
PLAN_COUNT=$(ls "$PHASE_DIR"/*-PLAN.md 2>/dev/null | wc -l | tr -d ' ')
|
|
1236
|
+
SUMMARY_COUNT=$(ls "$PHASE_DIR"/*-SUMMARY.md 2>/dev/null | wc -l | tr -d ' ')
|
|
1237
|
+
|
|
1238
|
+
echo "Plans: $PLAN_COUNT, Summaries: $SUMMARY_COUNT"
|
|
1239
|
+
|
|
1240
|
+
if [[ $SUMMARY_COUNT -lt $PLAN_COUNT ]]; then
|
|
1241
|
+
echo "MORE_PLANS_EXIST"
|
|
1242
|
+
else
|
|
1243
|
+
echo "PHASE_COMPLETE"
|
|
1244
|
+
fi
|
|
1245
|
+
```
|
|
1246
|
+
|
|
1247
|
+
**If MORE_PLANS_EXIST (more plans in this phase):**
|
|
1229
1248
|
|
|
1230
1249
|
<if mode="yolo">
|
|
1231
1250
|
```
|
package/package.json
CHANGED