It works like this:
It renders the page in a headless browser (Playwright).
It detects visual bugs (overflows, overlapping elements).
An LSTM model (trained on 10k+ fixes) suggests specific Tailwind classes to repair the DOM.
It's part of a larger experiment in autonomous coding ('The Sentient Stack'), but this tool is standalone.Code: https://github.com/fabriziosalmi/trinity Tech stack: Python, Playwright, PyTorch.
Would love your feedback on the healing logic."