# Convex Self Heal

Production error → triaged, root-caused, repaired, and certified (tsc + rehearsal +...

- Repository: https://github.com/openclaw/clawhub (9543 stars)
- Category: Git and review
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add openclaw/clawhub --skill convex-self-heal -g -a claude-code -y`
Codex: `npx skills add openclaw/clawhub --skill convex-self-heal -g -a codex -y`
Cursor: `npx skills add openclaw/clawhub --skill convex-self-heal -g -a cursor -y`
Gemini CLI: `npx skills add openclaw/clawhub --skill convex-self-heal -g -a gemini-cli -y`

## Description

Production error → triaged, root-caused, repaired, and certified (tsc + rehearsal + reproduce-then-gone) fix PR for a human to merge, then confirm the error stops recurring. Never auto-merges.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

<!-- GENERATED from convex-agents content/capabilities/self-heal.json, do not edit by hand. -->

# Gated production self-healing loop

Sentry/Datadog/Vercel can go error→investigate→draft-PR, but they treat the backend as opaque and stop at the human merge gate with an unverified diff. Convex can do the step they can't: because the error rows live in the user's own deployment and the fix can be rehearsed on a preview of that deployment, the platform certifies the fix against real invariants before anyone reviews it. This capability is the composition capstone, it wires sentinel (capture) → the findings bus (diagnose) → the fixers (repair) → migrate-rehearse/tsc/probe (certify) → a human PR (decide) → deploy-guard (promote). The human keeps the merge button; the machine does everything up to and including proving the fix works.

## Workflow

The rest: https://github.com/openclaw/clawhub/blob/HEAD/.agents/skills/convex-self-heal/SKILL.md
