# Healing And Memory

WebTest AI healing is bounded and review-first.

When enabled, healing can recover from a deterministic click failure by evaluating a limited set of candidates collected from the page and accessibility tree. A successful recovery can write a proposal artifact. It does not silently rewrite committed specs or inventory.

Typical review flow:

```bash
webtest-ai heal list --proposal artifacts/<runId>/<testId>/ui-inventory.proposed.json
webtest-ai heal queue --proposal artifacts/<runId>/<testId>/ui-inventory.proposed.json
webtest-ai heal pending
webtest-ai heal approve-pending --all
```

Default inventory path:

```bash
.webtest-ai/ui-inventory.json
```

Keep local inventory and pending review files out of source control unless your team intentionally promotes them.
