DEV Community

Rails, Not Rules: enforcing a coding agent's domain vocabulary with checks (opens in new tab)

Why I stopped telling my coding agent the domain language and started enforcing it. I wrote my coding agent's rules for the project's terminology as prose on April 24. I wrote a script to check those rules on May 2. The first run found 737 violations, in a codebase of roughly 150,000 lines that the agent had written under my direction and that I had, ostensibly, been keeping consistent the whole way. It's worth being precise about what those 737 were, because the easy reading (the agent ignor...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help