@smartsoft001-mobilems/claude-plugins 2.70.0 → 2.71.0

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001-mobilems/claude-plugins",
3
- "version": "2.70.0",
3
+ "version": "2.71.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "flow",
3
3
  "description": "Development flow commands for Linear-driven development workflow",
4
- "version": "2.70.0"
4
+ "version": "2.71.0"
5
5
  }
@@ -336,19 +336,76 @@ If user chooses not to verify, end the command here.
336
336
 
337
337
  **If workflow FAILED**:
338
338
 
339
- ```markdown
340
- ## ❌ CI Pipeline Failed
339
+ 1. **Get failed job logs**:
341
340
 
342
- **Workflow**: <workflow-name>
343
- **Run ID**: <run-id>
344
- **Conclusion**: failure
341
+ ```bash
342
+ gh run view <run-id> --log-failed 2>&1 | tail -100
343
+ ```
345
344
 
346
- ### View logs
345
+ 2. **Revert Linear task to "To Do"**:
347
346
 
348
- Run `gh run view <run-id> --log-failed` to see error details.
347
+ If Linear task was provided and status was changed to "In Review":
348
+ - Move the parent task back to "To Do" status
349
+ - For tasks with subtasks: Move all subtasks that were changed to "In Review" back to "To Do"
349
350
 
350
- Or visit: https://github.com/<owner>/<repo>/actions/runs/<run-id>
351
- ```
351
+ 3. **Add error comment to Linear task**:
352
+
353
+ Create a comment on the **parent task** with CI error details:
354
+
355
+ ```markdown
356
+ ## ❌ CI Build Failed
357
+
358
+ ### Branch
359
+
360
+ `<branch-name>`
361
+
362
+ ### Workflow
363
+
364
+ **Name**: <workflow-name>
365
+ **Run ID**: <run-id>
366
+ **URL**: https://github.com/<owner>/<repo>/actions/runs/<run-id>
367
+
368
+ ### Error Details
369
+
370
+ ```
371
+ <last 50-100 lines of error logs from gh run view --log-failed>
372
+ ```
373
+
374
+ ### Status
375
+
376
+ Task przywrócony do "To Do" z powodu błędu CI.
377
+
378
+ ---
379
+
380
+ _Raport wygenerowany przez Claude Code_
381
+ ```
382
+
383
+ 4. **Show error to user**:
384
+
385
+ ```markdown
386
+ ## ❌ CI Pipeline Failed
387
+
388
+ **Workflow**: <workflow-name>
389
+ **Run ID**: <run-id>
390
+ **Conclusion**: failure
391
+
392
+ ### Linear Task Status
393
+
394
+ ⚠️ Task [linearTaskId] przywrócony do "To Do"
395
+ ✅ Komentarz z błędem dodany do taska
396
+
397
+ ### View logs
398
+
399
+ Run `gh run view <run-id> --log-failed` to see error details.
400
+
401
+ Or visit: https://github.com/<owner>/<repo>/actions/runs/<run-id>
402
+
403
+ ### Następne kroki
404
+
405
+ 1. Przeanalizuj błędy w CI
406
+ 2. Napraw problemy lokalnie
407
+ 3. Uruchom `/push-local` ponownie
408
+ ```
352
409
 
353
410
  Stop here if workflow failed.
354
411
 
@@ -485,7 +542,8 @@ Show complete summary:
485
542
  8. **Deployment verification is optional**: Always ask user before starting the 10-minute verification process
486
543
  9. **Read SITE_URL from .env.dev**: Use the SITE_URL variable from `.env.dev` file for QA verification
487
544
  10. **Version comparison**: Compare `package.json` version with `<meta name="app-version">` tag on QA site
488
- 11. **Branch-specific post-push actions**:
545
+ 11. **Revert on CI failure**: If CI pipeline fails, move task back to "To Do" and add error comment
546
+ 12. **Branch-specific post-push actions**:
489
547
  - **`development` branch**: Offer deployment verification (CI monitoring + QA version check)
490
548
  - **Feature branch (e.g., `MOB-123`)**: Check/create PR to `development` when all subtasks are ready
491
549
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "flow-legacy",
3
3
  "description": "Development flow commands for legacy Angular 14 projects with Linear-driven workflow",
4
- "version": "2.70.0"
4
+ "version": "2.71.0"
5
5
  }
@@ -337,19 +337,76 @@ If user chooses not to verify, end the command here.
337
337
 
338
338
  **If workflow FAILED**:
339
339
 
340
- ```markdown
341
- ## ❌ CI Pipeline Failed
340
+ 1. **Get failed job logs**:
342
341
 
343
- **Workflow**: <workflow-name>
344
- **Run ID**: <run-id>
345
- **Conclusion**: failure
342
+ ```bash
343
+ gh run view <run-id> --log-failed 2>&1 | tail -100
344
+ ```
346
345
 
347
- ### View logs
346
+ 2. **Revert Linear task to "To Do"**:
348
347
 
349
- Run `gh run view <run-id> --log-failed` to see error details.
348
+ If Linear task was provided and status was changed to "In Review":
349
+ - Move the parent task back to "To Do" status
350
+ - For tasks with subtasks: Move all subtasks that were changed to "In Review" back to "To Do"
350
351
 
351
- Or visit: https://github.com/<owner>/<repo>/actions/runs/<run-id>
352
- ```
352
+ 3. **Add error comment to Linear task**:
353
+
354
+ Create a comment on the **parent task** with CI error details:
355
+
356
+ ```markdown
357
+ ## ❌ CI Build Failed
358
+
359
+ ### Branch
360
+
361
+ `<branch-name>`
362
+
363
+ ### Workflow
364
+
365
+ **Name**: <workflow-name>
366
+ **Run ID**: <run-id>
367
+ **URL**: https://github.com/<owner>/<repo>/actions/runs/<run-id>
368
+
369
+ ### Error Details
370
+
371
+ ```
372
+ <last 50-100 lines of error logs from gh run view --log-failed>
373
+ ```
374
+
375
+ ### Status
376
+
377
+ Task przywrócony do "To Do" z powodu błędu CI.
378
+
379
+ ---
380
+
381
+ _Raport wygenerowany przez Claude Code (flow-legacy)_
382
+ ```
383
+
384
+ 4. **Show error to user**:
385
+
386
+ ```markdown
387
+ ## ❌ CI Pipeline Failed
388
+
389
+ **Workflow**: <workflow-name>
390
+ **Run ID**: <run-id>
391
+ **Conclusion**: failure
392
+
393
+ ### Linear Task Status
394
+
395
+ ⚠️ Task [linearTaskId] przywrócony do "To Do"
396
+ ✅ Komentarz z błędem dodany do taska
397
+
398
+ ### View logs
399
+
400
+ Run `gh run view <run-id> --log-failed` to see error details.
401
+
402
+ Or visit: https://github.com/<owner>/<repo>/actions/runs/<run-id>
403
+
404
+ ### Następne kroki
405
+
406
+ 1. Przeanalizuj błędy w CI
407
+ 2. Napraw problemy lokalnie
408
+ 3. Uruchom `/push` ponownie
409
+ ```
353
410
 
354
411
  Stop here if workflow failed.
355
412
 
@@ -416,7 +473,8 @@ Angular 14 (legacy patterns)
416
473
  7. **Document incomplete subtasks**: Always explain WHY a subtask wasn't completed
417
474
  8. **Deployment verification is optional**: Always ask user before starting the verification process
418
475
  9. **Read SITE_URL from .env.dev**: Use the SITE_URL variable from `.env.dev` file for QA verification
419
- 10. **Branch-specific post-push actions**:
476
+ 10. **Revert on CI failure**: If CI pipeline fails, move task back to "To Do" and add error comment
477
+ 11. **Branch-specific post-push actions**:
420
478
  - **`development` branch**: Offer deployment verification (CI monitoring + QA version check)
421
479
  - **Feature branch (e.g., `MOB-123`)**: Check/create PR to `development` when all subtasks are ready
422
480