convex-self-heal
Ce qu’il fait
Cette compétence prend une erreur de production d'une application Convex, trouve la cause et prépare une correction testée. Elle s'adresse aux responsables qui veulent une réparation relue sans tout écrire à la main, et elle ne fusionne jamais les modifications d'elle-même.
Quand l’utiliser
- ✓Quand votre application Convex en service génère une erreur répétée et que vous voulez qu'une correction soit préparée.
- ✓Quand vous voulez que l'agent teste une réparation sur une copie de prévisualisation avant que vous la relisiez.
- ✓Quand vous voulez confirmer qu'une erreur a cessé après la mise en ligne d'une correction.
Lien du skill
https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-self-heal/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Mon application en service renvoie toujours la même erreur. Trouve la cause, prépare une correction testée et laisse-moi la relire.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent lit l'erreur capturée, établit un diagnostic, rédige une réparation et la teste sur une copie de prévisualisation du déploiement. Il ouvre ensuite une correction que vous relisez et fusionnez, puis vérifie que l'erreur cesse après la mise en ligne.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
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
- GUARD: deploy-guard — this loop reads prod and PROPOSES prod changes; classify + announce the deployment and get the standing consent for the loop's scope up front (what classes of fix it may auto-prepare vs must always defer). Never auto-merge; the human merge is the fixed boundary.
- CAPTURE: require sentinel (prod errors in the user's own deployment, redacted at write time). If absent, offer to install it and stop — there is nothing to heal without capture.
- TRIAGE a new/ recurring error: pull it via the official MCP (data/run-once-query over the sentinel table, or the monitor's prod_error event). Classify: transient (retry/ignore — do NOT open a PR for a one-off network blip), config (env/secret — hand to env, never guess a secret), or a code/schema defect (proceed).
- ROOT-CAUSE on the findings bus: run the relevant audit pass on the implicated function — convex-insights (the failing requests + stacks), convex-advisor (if it's a read-limit/OCC cause), convex-reviewer/convex-authz (if it's a logic/authz defect). Produce a bus finding with evidence (the stack + the reproducing input) and a fixCapability. If root cause is unclear, STOP and report — a wrong fix is worse than an open error.
- REPAIR via the finding's fixCapability (convex-authz, reviewer fixers, convex-expert for perf) on a branch — never on prod directly.
- CERTIFY against the backend's own invariants BEFORE proposing (this is the differentiator — do not skip any that apply):
(a)
tsc --noEmitclean; (b) if the fix touches schema/data, run it through migrate-rehearse on a preview seeded with a prod snapshot — the schema-conformance gate must pass on real-shaped data; (c) reproduce-then-confirm-gone: replay the error's triggering input against the fixed code (a convex-test case or an MCP run on the preview) and assert the failure no longer occurs; (d) no-regression: the finding must be gone AND no new bus finding introduced on the touched function. A fix that fails any applicable certification is NOT proposed — it's reported as 'attempted, could not certify' with what failed. - PROPOSE, never merge: open a PR (or a diff for review) containing the fix, the certification evidence (tsc result, rehearsal outcome, the reproduced-then-gone assertion), the original error + finding, and the reversibility note. Label the change class. The human reviews and merges.
- PROMOTE on merge via deploy-guard's prod consent; after deploy, re-check the sentinel table +
logs(failures) to confirm that error signature stops recurring (do NOT useinsightsfor this — it tracks only OCC/read-limit perf events, not arbitrary error signatures) — the loop is only closed when the error stops recurring in prod. If it recurs, reopen with the new evidence. - BOUND it: only classes the user pre-approved in step 1 are auto-prepared (default-safe set: validator fixes, missing-index adds, ownership-check adds, non-destructive backfills); anything destructive, security-sensitive beyond an added check, or ambiguous is always deferred to explicit human direction. Log every action to an append-only record so the loop is auditable.
Rules
- The human keeps the merge button — this loop prepares and certifies fixes, it NEVER auto-merges or auto-deploys to prod (matches the industry boundary: no credible system ships unattended prod auto-merge).
- Certify before proposing: tsc + (schema→migrate-rehearse on a prod-snapshot preview) + reproduce-then-confirm-the-failure-is-gone + no new bus finding. An uncertified fix is reported as 'could not certify', never proposed as done.
- Triage first: transient blips get retried/ig
Questions fréquentes
L'agent peut-il fusionner la correction seul ?
Non. Une personne prend toujours la décision finale de fusion.
De quoi a-t-il besoin pour voir les erreurs ?
Le module complémentaire de capture d'erreurs Sentinel doit être installé, car sans erreurs capturées il n'y a rien à corriger.
Vérifie-t-il sa propre correction ?
Oui. Il lance des vérifications de types et une répétition sur une copie de prévisualisation avant que la correction ne passe en revue.
Détails
Description originale de l’auteur
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.
repo: openclaw/clawhub
Popularité
- Étoiles GitHub
- 9.5k
- Position au classement
- #12256
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
axiom-alerting
9.5kAide votre agent à créer et gérer des moniteurs et des routes de notification Axiom via l'API Axiom, et à vérifier que les alertes se comportent comme prévu.
axiom-sre
9.5kAide votre agent à enquêter pas à pas sur les incidents et les bogues de production, en testant chaque hypothèse dans les journaux Axiom avant de tirer une conclusion.
building-dashboards
9.5kAide votre agent à concevoir des tableaux de bord Axiom avec des graphiques, des requêtes et des filtres adaptés, en partant des décisions que le tableau de bord doit permettre de prendre.
controlling-costs
9.5kAide votre agent à repérer les données inutilisées dans Axiom et à construire des tableaux de bord et des moniteurs qui suivent et réduisent les coûts de journalisation.
Skills similaires
openclaw-update
394kAide votre agent à mettre à jour une passerelle OpenClaw existante, en choisissant la méthode adaptée à son installation et en gardant votre session active.
diagnose-gateway
394kAide votre agent à trouver pourquoi votre passerelle OpenClaw échoue, en vérifiant les paramètres, les canaux et les ports sans rien modifier.
crabbox-apps
394kAide votre agent à ouvrir et exécuter une application sur une machine cloud temporaire, puis à afficher sa vue dans le panneau latéral de votre chat.