Check GitHub sync status for SpecWeave increment. Shows issue number, sync state, progress, last update, and any sync issues. Useful for troubleshooting and monitoring.
Check GitHub sync status for a SpecWeave increment. Shows issue number, sync state, progress, last update, and any sync issues. Useful for troubleshooting and monitoring.
/plugin marketplace add anton-abyzov/specweave/plugin install sw-github@specweaveDisplay the current GitHub sync status for a SpecWeave increment.
/sw:github:status [increment-id] [options]
increment-id: Increment ID (optional, defaults to current increment)--all: Show status for all increments--verbose: Show detailed sync information--json: Output in JSON format--check-health: Run health check on sync connection# Check current increment
/sw:github:status
# Check specific increment
/sw:github:status 0004
# Check all increments
/sw:github:status --all
# Verbose output with full details
/sw:github:status 0004 --verbose
# JSON output for scripting
/sw:github:status 0004 --json
# Health check
/sw:github:status --check-health
π GitHub Sync Status: Increment 0004
Increment: 0004-plugin-architecture
Status: In Progress
Priority: P1
GitHub Issue: #130
URL: https://github.com/owner/repo/issues/130
State: Open
Labels: specweave, increment, P1, in-progress
Sync Status: β
Up-to-date
Last Synced: 5 minutes ago (2025-10-30 16:55:00)
Sync Count: 7
Auto-Sync: Enabled (every-task)
Progress:
- Tasks: 7/48 completed (15%)
- Week: 1 of 4 (Foundation)
- Current Task: T-008 - Implement Cursor compiler
GitHub vs Local:
β
Progress matches
β
Labels match
β
Status matches
β
No conflicts detected
π GitHub Sync Status: Increment 0004 (Detailed)
βββββββββββββββββββββββββββββββββββββββββββ
BASIC INFO
βββββββββββββββββββββββββββββββββββββββββββ
Increment ID: 0004
Full Name: 0004-plugin-architecture
Title: Plugin Architecture
Status: in_progress
Priority: P1
Created: 2025-10-01 10:00:00
Duration: 29 days
βββββββββββββββββββββββββββββββββββββββββββ
GITHUB ISSUE
βββββββββββββββββββββββββββββββββββββββββββ
Issue Number: #130
Issue URL: https://github.com/owner/repo/issues/130
Issue State: open
Issue Created: 2025-10-01 10:15:00
Issue Updated: 2025-10-30 16:55:00
Labels:
- specweave
- increment
- P1
- in-progress
Milestone: v0.4.0 (due: 2025-11-30)
Assignees: @developer1, @developer2
Comments: 12
- 7 auto-sync comments
- 5 manual comments
Last Comment:
By: @developer2
At: 2025-10-30 16:00:00
Text: "Cursor adapter completed, moving to testing..."
βββββββββββββββββββββββββββββββββββββββββββ
SYNC STATUS
βββββββββββββββββββββββββββββββββββββββββββ
Sync State: β
Up-to-date
Last Synced: 5 minutes ago (2025-10-30 16:55:00)
Sync Method: Auto (post-task hook)
Sync Count: 7
Failed Syncs: 0
Auto-Sync Settings:
- Enabled: Yes
- Frequency: every-task
- Post Comments: Yes
- Update Checklist: Yes
- Update Labels: Yes
- Include Files: Yes
- Include Time: Yes
βββββββββββββββββββββββββββββββββββββββββββ
PROGRESS
βββββββββββββββββββββββββββββββββββββββββββ
Tasks: 7/48 completed (15%)
Week 1: Foundation (7/12 tasks, 58%)
β
T-001: Plugin types
β
T-002: Manifest schema
β
T-003: PluginLoader
β
T-004: PluginManager
β
T-005: PluginDetector
β
T-006: Adapter interface
β
T-007: Claude installer
β³ T-008: Cursor compiler (in progress)
βΈοΈ T-009: Copilot compiler
βΈοΈ T-010: Generic compiler
βΈοΈ T-011: Config schema
βΈοΈ T-012: Update .gitignore
Week 2: GitHub Plugin (0/10 tasks, 0%)
Week 3: Additional Plugins (0/15 tasks, 0%)
Week 4: Documentation (0/11 tasks, 0%)
Current Task: T-008
Estimated: 6 hours
Started: 2025-10-30 15:00:00
Duration: 2 hours (33% of estimate)
βββββββββββββββββββββββββββββββββββββββββββ
COMPARISON (GitHub vs Local)
βββββββββββββββββββββββββββββββββββββββββββ
β
Progress: 7/48 (both sides match)
β
Labels: All 4 labels match
β
Status: in_progress (both sides)
β
Comments: All synced (no missing)
No conflicts detected.
Last comparison: Just now
βββββββββββββββββββββββββββββββββββββββββββ
METADATA
βββββββββββββββββββββββββββββββββββββββββββ
Metadata File: .specweave/increments/0004/.metadata.yaml
GitHub Section:
issue_number: 130
issue_url: https://github.com/owner/repo/issues/130
created_at: 2025-10-01T10:15:00Z
last_synced_at: 2025-10-30T16:55:00Z
sync_count: 7
closing_comment_ids: []
Repository: owner/repo
Remote URL: https://github.com/owner/repo.git
Branch: features/0004-plugin-architecture
βββββββββββββββββββββββββββββββββββββββββββ
HEALTH
βββββββββββββββββββββββββββββββββββββββββββ
β
GitHub CLI: Authenticated
β
Repository Access: Write
β
Issue Exists: Yes
β
Network: Connected
β
Rate Limit: 4,823 / 5,000 remaining
β
Sync Hook: Installed and working
All systems operational.
π GitHub Sync Status: All Increments
ββββββββ¬βββββββββββββββββ¬βββββββββ¬βββββββββ¬βββββββββββ¬ββββββββββββββ
β ID β Title β Issue β State β Progress β Last Synced β
ββββββββΌβββββββββββββββββΌβββββββββΌβββββββββΌβββββββββββΌββββββββββββββ€
β 0001 β Core Framework β #100 β Closed β 100% β 30 days ago β
β 0002 β Enhancements β #110 β Closed β 100% β 15 days ago β
β 0003 β Model Select β #120 β Closed β 100% β 5 days ago β
β 0004 β Plugins β #130 β Open β 15% β 5 mins ago β
β 0005 β Auth β #135 β Open β 0% β Never β
ββββββββ΄βββββββββββββββββ΄βββββββββ΄βββββββββ΄βββββββββββ΄ββββββββββββββ
Summary:
- Total Increments: 5
- Synced: 4
- Not Synced: 1 (0005)
- Open Issues: 2
- Closed Issues: 2
Issues:
β οΈ Increment 0005: Not synced to GitHub (run /sw:github:create-issue 0005)
{
"increment": {
"id": "0004",
"name": "0004-plugin-architecture",
"title": "Plugin Architecture",
"status": "in_progress",
"priority": "P1",
"created_at": "2025-10-01T10:00:00Z",
"duration_days": 29
},
"github": {
"issue_number": 130,
"issue_url": "https://github.com/owner/repo/issues/130",
"state": "open",
"labels": ["specweave", "increment", "P1", "in-progress"],
"milestone": "v0.4.0",
"assignees": ["developer1", "developer2"],
"comments_count": 12,
"created_at": "2025-10-01T10:15:00Z",
"updated_at": "2025-10-30T16:55:00Z"
},
"sync": {
"status": "up-to-date",
"last_synced_at": "2025-10-30T16:55:00Z",
"sync_count": 7,
"failed_syncs": 0,
"auto_sync_enabled": true,
"sync_frequency": "every-task",
"conflicts": []
},
"progress": {
"tasks_completed": 7,
"tasks_total": 48,
"percentage": 15,
"current_task": "T-008",
"current_week": 1
},
"health": {
"github_cli_authenticated": true,
"repository_access": "write",
"issue_exists": true,
"network_connected": true,
"rate_limit_remaining": 4823,
"rate_limit_total": 5000,
"sync_hook_working": true
}
}
π₯ GitHub Sync Health Check
Checking system components...
β
GitHub CLI
Version: 2.38.0
Authenticated: Yes
User: developer1
β
Repository Access
Repository: owner/repo
Access Level: Write
Remote: https://github.com/owner/repo.git
β
Network Connectivity
GitHub API: Reachable
Latency: 45ms
Status: All systems operational
β
Rate Limits
Remaining: 4,823 / 5,000
Resets at: 2025-10-30 17:00:00 (5 minutes)
Status: Healthy
β
Sync Configuration
Config file: .specweave/config.yaml
Plugin enabled: Yes
Auto-sync: Enabled
Frequency: every-task
β
Hooks
Post-task hook: Installed
Last fired: 5 minutes ago
Status: Working
β
Metadata Integrity
Metadata file: Exists
Issue number: 130 (valid)
Timestamps: Consistent
All systems healthy! β
Settings from .specweave/config.yaml:
plugins:
settings:
specweave-github:
# Display settings
status_display:
default_format: "basic" # or "verbose", "json"
show_health: true
show_comparison: true
/sw:github:status 0004
See current sync state, progress, and last update time.
/sw:github:status 0004 --verbose
Get detailed sync information to diagnose problems.
/sw:github:status --all
Dashboard view of all increments and their sync state.
/sw:github:status 0004 --json | jq '.sync.status'
Check sync status in scripts/automation.
/sw:github:status --check-health
Verify all sync components are working correctly.
| State | Meaning |
|---|---|
| β Up-to-date | Local and GitHub match |
| β οΈ Out of sync | Changes not yet synced |
| π Syncing | Sync in progress |
| β Failed | Last sync failed |
| βΈοΈ Paused | Auto-sync disabled |
| β Unknown | Cannot determine state |
Out of Sync:
β οΈ Sync Status: Out of sync (2 changes pending)
Local changes not synced to GitHub:
- Task T-008 completed (1 hour ago)
- Task T-009 started (30 minutes ago)
Action: Run /sw:github:sync 0004
Sync Failed:
β Sync Status: Failed (last attempt 10 minutes ago)
Error: Rate limit exceeded
Rate limit resets at: 2025-10-30 17:00:00
Action: Wait for rate limit reset, then retry
No GitHub Issue:
β οΈ Sync Status: Not synced
No GitHub issue found for increment 0004.
Action: Create issue first
/sw:github:create-issue 0004
gh) installed/sw:github:create-issue: Create GitHub issue/sw:github:sync: Sync increment with GitHub/sw:github:close-issue: Close GitHub issue/sw:progress: Check increment progress (local only)Quick Check: Run /sw:github:status before syncing to see if sync is needed
Verbose Mode: Use --verbose when troubleshooting sync issues
JSON Output: Use --json for automation and scripting
Health Check: Run --check-health if syncs are failing
Monitor All: Use --all to get a dashboard of all increments
Monitor sync status in real-time:
# Refresh every 30 seconds
watch -n 30 '/sw:github:status 0004'
Define custom health checks:
plugins:
settings:
specweave-github:
health_checks:
- name: "Rate Limit"
threshold: 100 # Warn if < 100 remaining
critical: 10 # Error if < 10
- name: "Sync Lag"
threshold: 3600 # Warn if not synced in 1 hour
critical: 86400 # Error if not synced in 24 hours
Get notified of status changes:
plugins:
settings:
specweave-github:
notifications:
- event: "sync_failed"
action: "slack"
channel: "#dev-alerts"
- event: "rate_limit_low"
threshold: 100
action: "email"
recipients: ["admin@example.com"]
Generate HTML dashboard:
/sw:github:status --all --format html > status.html
open status.html
Command: /sw:github:status
Plugin: specweave-github
Agent: github-manager
Version: 1.0.0
Last Updated: 2025-10-30