Skip to content

Heal History

Track and review all CI healing attempts across your repositories.

Overview

Every healing attempt is recorded in the heal_prs table with full traceability from CI failure to fix PR.

Viewing Heal History

Dashboard

The CI page in the dashboard shows:

  • Recent CI runs with healing status
  • Heal success/failure rates
  • List of auto-generated fix PRs

API

bash
# All heal history (paginated)
curl https://gitwire.yourdomain.com/api/heal \
  -H "Authorization: Bearer YOUR_API_KEY"

# Heal history for a specific repo
curl https://gitwire.yourdomain.com/api/heal/owner/repo \
  -H "Authorization: Bearer YOUR_API_KEY"

# Heal history for a specific CI run
curl https://gitwire.yourdomain.com/api/heal/run/12345678901 \
  -H "Authorization: Bearer YOUR_API_KEY"

# Statistics
curl https://gitwire.yourdomain.com/api/heal/stats \
  -H "Authorization: Bearer YOUR_API_KEY"

Statistics

The /api/heal/stats endpoint returns:

json
{
  "total": 42,
  "healed": 28,
  "failed": 8,
  "skipped": 6,
  "success_rate": 0.777
}

Database Tables

TablePurpose
ci_runsAll CI runs with healing fields
heal_prsAuto-generated fix PRs

Key Fields in ci_runs

ColumnDescription
heal_statuspending, attempted, healed, failed, skipped
heal_failure_typeOne of 9 failure type categories
heal_root_causeClaude's diagnosis text
heal_fix_appliedDescription of the fix
heal_confidencehigh, medium, or low
healed_atTimestamp of successful heal

Autonomous Contributor

Released under the MIT License.