Harness Engineering on Rails
summary
Claim: an LLM plus wrapper is an agentic loop that should self-test and iterate so AI stops producing one-hour drafts that cost two days to polish. Practical fixes shown: run RuboCop and write custom RuboCop cops, add hooks so the harness blocks bad migrations and forces Rails generators (about 90% reliable), use focused LLM review skills and domain-specific scripts to turn a 5% automation pipeline into a tractable, much higher automation rate.
AI-written summary · about
chapters (19)
- 0:00AI coding promise
- 2:20Problem with slop
- 4:09What is an agent harness
- 7:03Agentic loop explained
- 8:49Harnessing Rails code
- 10:15Using Rubocop in harness
- 11:20Hooks for quality control
- 13:27Fixing migration mistakes
- 15:34Ambitious generator rules
- 17:00LLM review skills
- 18:24Agent orchestration
- 21:02Steering mechanisms overview
- 22:06Rails developer tools
- 23:28Goodhart's law warning
- 24:12Domain specific scripts
- 27:50Visualizing pipeline data
- 28:34Continuous improvement
- 30:21Mindset shift for agents
- 31:04Summary and thanks
