Post

ui_guardrails ( github.com/meticulous/g... ) is getting a feed ramp. When I released the gem at Rails World, it was mostly around blocking bad AI decisions from getting through CI. But that didn't help the AI not just make random crap up or ignore the design system and components. Release soon!

github.comGitHub - meticulous/guardrails: A Rails toolset that helps discover UI drift in AI-assisted applications.A Rails toolset that helps discover UI drift in AI-assisted applications. - meticulous/guardrails

2 reposts4 likes

It's README mentions 'drift' more than once, but the gem runs one-off tasks, right? It doesn't create any baseline to compare drift over time (unless using snap_drift_capybara) if I understand it correctly?

The gem can run one off or run in CI. I run it in CI and I’m looking for drift which is what I’m thinking of when the AI inserts random code it shouldn’t such as in-line styles or tailwind or things of that nature. 

I do run it with snap diff capybara specifically looking for accessibility failures and I have a new internal thing that I’m working where it actually is doing PDFs for visual comparison to see changes in the UI. But that’s not live in code yet.