gitcontribute healthChecks SQLite database integrity, GitHub API connectivity, and local filesystem state.
CI Pipeline: https://github.com/morluto/gitcontribute/actions
Monitor the CI workflow for build status, test coverage trends, and lint results. Coverage reports are uploaded as artifacts on each run.
Release Dashboard: https://github.com/morluto/gitcontribute/releases
Track version history and release notes. Each release is built via GoReleaser with cross-platform binaries and checksums.
If SQLite corruption is detected:
-
Stop all running GitContribute and MCP processes.
-
Run
gitcontribute doctor --strict. A timeout warning is not proof of corruption; an actual SQLite quick-check error is. -
Inspect the candidate backup independently.
-
Restore through the supported command, which first creates a safety backup:
gitcontribute corpus restore /safe/path/corpus.db --yes
-
Run
gitcontribute corpus inspectandgitcontribute doctor --strict.
If GitHub API rate limits are hit:
- Check current limits:
gh api /rate_limit - Wait for the reset window (shown in
X-RateLimit-Resetheader) - Reduce concurrent operations via
--concurrencyflag
The GitHub client uses a circuit breaker that opens after 5 consecutive failures.
When the circuit is open, all requests fail fast with ErrCircuitOpen rather
than retrying. After a 30-second cooldown, a single probe request is allowed.
If the probe succeeds, the circuit closes; if it fails, the circuit re-opens.
To check circuit status, enable debug logging:
GITCONTRIBUTE_LOG_LEVEL=debug gitcontribute archive sync owner/repoIf jobs appear stuck:
- List active jobs:
gitcontribute jobs list --status running - Check for lock conflicts:
gitcontribute jobs reconcile - Force-release stale locks if the owning process is confirmed dead
Do not run Goose directly against a user corpus. Use the product-owned lifecycle:
- Stop running MCP processes and inspect without mutation:
gitcontribute corpus inspect --json. - Preserve the backup path and checksum printed by the failed migration.
- Fix the migration in a newer binary; never edit an already released migration in place.
- Retry with
gitcontribute corpus migrate --yes. - If recovery requires returning to the pre-migration database, use
gitcontribute corpus restore BACKUP --yes. Reinstalling an older binary alone cannot roll back an advanced schema.