Self-healing: when a schema changes
Most integrations break silently the moment a field is renamed or removed on either side. Pravadh MW checks for this on every single run, before it writes anything.
What happens on a run
Every run introspects the target's live schema first and compares it against what the flow's mapping expects. If a mapped field is missing -- someone renamed or deleted it -- that's schema drift, and the engine stops before writing anything malformed.
Then what?
Depending on the flow's autonomy setting:
- Manual: the run simply fails with the drift detail. Nothing is proposed automatically.
- Propose & approve (the default): an LLM-backed repair agent looks at the drift and proposes a patched mapping. You see the proposed change and approve it before it's applied -- the run doesn't silently route around a broken field on its own.
- Auto-heal (safe): the same proposed patch is applied automatically, without waiting for approval. Reserve this for flows where you trust the pattern of drift enough not to want a human in the loop every time.
Retries versus healing
Schema drift and a transient connector error (a timeout, a rate limit) are handled differently on purpose. A transient error is retried automatically with backoff, up to the flow's retry policy -- no schema change involved, just "try again." Schema drift always goes through the diagnose-and-patch path above, because silently retrying a mapping that's actually wrong would just fail the same way again.