feat: wire team sync push into ship, retro, qa, and greptile skills

Add non-fatal sync steps to all 4 skill templates:
- /ship Step 8.5: write ship log JSON + push after PR creation
- /retro Step 13: push snapshot after JSON save
- /qa Phase 6.7: write qa-sync.json + push after health score
- greptile-triage: push each triage entry after history file writes

All calls use || true for zero disruption. Silent when sync not
configured.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-03-15 19:42:54 -05:00
parent dc3fcc8611
commit 06f2da2019
7 changed files with 113 additions and 0 deletions
+15
View File
@@ -259,6 +259,21 @@ $B snapshot -i -a -o "$REPORT_DIR/screenshots/issue-002.png"
}
```
7. **Sync to team** (non-fatal, silent if not configured):
```bash
cat > .gstack/qa-reports/qa-sync.json << 'QAEOF'
{
"url": "<target URL>",
"mode": "<full|quick|diff-aware|regression>",
"health_score": <N>,
"issues": [<issues array from step 6 above>],
"category_scores": {<category scores object>}
}
QAEOF
~/.claude/skills/gstack/bin/gstack-sync push-qa .gstack/qa-reports/qa-sync.json 2>/dev/null && echo "Synced to team ✓" || true
```
Substitute actual values. Uses snake_case keys matching the Supabase schema.
**Regression mode:** After writing the report, load the baseline file. Compare:
- Health score delta
- Issues fixed (in baseline but not current)
+15
View File
@@ -233,6 +233,21 @@ $B snapshot -i -a -o "$REPORT_DIR/screenshots/issue-002.png"
}
```
7. **Sync to team** (non-fatal, silent if not configured):
```bash
cat > .gstack/qa-reports/qa-sync.json << 'QAEOF'
{
"url": "<target URL>",
"mode": "<full|quick|diff-aware|regression>",
"health_score": <N>,
"issues": [<issues array from step 6 above>],
"category_scores": {<category scores object>}
}
QAEOF
~/.claude/skills/gstack/bin/gstack-sync push-qa .gstack/qa-reports/qa-sync.json 2>/dev/null && echo "Synced to team ✓" || true
```
Substitute actual values. Uses snake_case keys matching the Supabase schema.
**Regression mode:** After writing the report, load the baseline file. Compare:
- Health score delta
- Issues fixed (in baseline but not current)