Skip to content
Navigation menu
Search
Powered by Algolia
Search
Log in
Create account
DEV Community
Close
#
refactoring
Follow
Hide
Posts
Left menu
đź‘‹
Sign in
for the ability to sort posts by
relevant
,
latest
, or
top
.
Right menu
We locked 25,396 behaviors before our agent refactors its own code, bugs included
Rulestack
Rulestack
Rulestack
Follow
Oct 21
We locked 25,396 behaviors before our agent refactors its own code, bugs included
#
claudecode
#
ai
#
testing
#
refactoring
Comments
Add Comment
11 min read
Moderation
The agent split the giant PR into three smaller PRs — and the bug that lived between them stayed invisible
Jeff
Jeff
Jeff
Follow
Oct 20
The agent split the giant PR into three smaller PRs — and the bug that lived between them stayed invisible
#
ai
#
agents
#
codereview
#
refactoring
Comments
Add Comment
4 min read
Moderation
Prove the Smallest Safe Change Is Mechanical: An AST Diff Gate
Dakota Huang
Dakota Huang
Dakota Huang
Follow
Oct 20
Prove the Smallest Safe Change Is Mechanical: An AST Diff Gate
#
python
#
refactoring
#
testing
#
devtools
Comments
Add Comment
5 min read
Moderation
1,400 PRs and 800k Lines Deleted: How OpenAI Cleans Up Its Code with Agents (and What You Should Steal)
Den
Den
Den
Follow
Oct 20
1,400 PRs and 800k Lines Deleted: How OpenAI Cleans Up Its Code with Agents (and What You Should Steal)
#
ai
#
devops
#
refactoring
#
productivity
Comments
Add Comment
16 min read
Moderation
The Agent Added a Cache Layer Because the Comment Said This Function Was Slow
Jeff
Jeff
Jeff
Follow
Oct 20
The Agent Added a Cache Layer Because the Comment Said This Function Was Slow
#
ai
#
agents
#
review
#
refactoring
Comments
Add Comment
3 min read
Moderation
Witness Maps: Never Refactor a Line That No Test Executes
Dakota Wu
Dakota Wu
Dakota Wu
Follow
Oct 20
Witness Maps: Never Refactor a Line That No Test Executes
#
testing
#
refactoring
#
ai
#
python
Comments
Add Comment
7 min read
Moderation
Census the Names a Function Reads Before You Extract It
Dakota Huang
Dakota Huang
Dakota Huang
Follow
Oct 20
Census the Names a Function Reads Before You Extract It
#
python
#
testing
#
refactoring
#
devtools
Comments
Add Comment
5 min read
Moderation
Freeze the Export Surface Before a Messy Refactor: A Manifest Gate in Python
Dakota Huang
Dakota Huang
Dakota Huang
Follow
Oct 20
Freeze the Export Surface Before a Messy Refactor: A Manifest Gate in Python
#
refactoring
#
python
#
testing
#
ai
Comments
Add Comment
6 min read
Moderation
Time Your Safety Net First: A Budget Gate for Characterization Tests in Messy Repos
Dakota Huang
Dakota Huang
Dakota Huang
Follow
Oct 20
Time Your Safety Net First: A Budget Gate for Characterization Tests in Messy Repos
#
testing
#
refactoring
#
performance
#
devops
Comments
Add Comment
5 min read
Moderation
Test the Process, Not the Module: A Black-Box Characterization Gate for a Repo You Can't Import
Dakota Huang
Dakota Huang
Dakota Huang
Follow
Oct 20
Test the Process, Not the Module: A Black-Box Characterization Gate for a Repo You Can't Import
#
testing
#
refactoring
#
python
#
legacy
Comments
Add Comment
5 min read
Moderation
Characterize the Boundary, Not the Module: An Import-Graph Gate for Messy Refactors
Dakota Huang
Dakota Huang
Dakota Huang
Follow
Oct 20
Characterize the Boundary, Not the Module: An Import-Graph Gate for Messy Refactors
#
python
#
testing
#
refactoring
#
ai
Comments
Add Comment
5 min read
Moderation
Record the Ordered Side-Effect Ledger Before You Move One Function
Dakota Huang
Dakota Huang
Dakota Huang
Follow
Oct 19
Record the Ordered Side-Effect Ledger Before You Move One Function
#
refactoring
#
testing
#
python
#
devtools
Comments
Add Comment
4 min read
Moderation
Record the Call Order, Not the Return Value: A Ledger Gate for Messy Refactors
Dakota Huang
Dakota Huang
Dakota Huang
Follow
Oct 19
Record the Call Order, Not the Return Value: A Ledger Gate for Messy Refactors
#
testing
#
refactoring
#
python
#
ai
Comments
Add Comment
5 min read
Moderation
I automated my refactoring method with GitLab Duo agents. The agent writes the fix, a CI gate decides the merge.
Karlis Gutans
Karlis Gutans
Karlis Gutans
Follow
Oct 20
I automated my refactoring method with GitLab Duo agents. The agent writes the fix, a CI gate decides the merge.
#
gitlab
#
ai
#
python
#
refactoring
Comments
2
 comments
5 min read
Moderation
One Rung per Commit: A Refactor Ladder for Reviewing AI Cleanup Diffs
Dakota Wu
Dakota Wu
Dakota Wu
Follow
Oct 19
One Rung per Commit: A Refactor Ladder for Reviewing AI Cleanup Diffs
#
refactoring
#
testing
#
python
#
ai
Comments
Add Comment
6 min read
Moderation
đź‘‹
Sign in
for the ability to sort posts by
relevant
,
latest
, or
top
.
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account