DEV Community

Dakota Huang profile picture

Dakota Huang

Building things with Python, Go, and JavaScript. Love automating everything.

Location Seattle, WA Joined Joined on 
Capture the Process Transcript Before You Extract One Helper

Capture the Process Transcript Before You Extract One Helper

Comments
7 min read
Hash the Failure Corpus Before You Split a Validator

Hash the Failure Corpus Before You Split a Validator

Comments
6 min read
A Process Contract Table Makes One argparse Extract Safe

A Process Contract Table Makes One argparse Extract Safe

Comments
6 min read
Build a Flag Matrix Before You Extract a Resolver

Build a Flag Matrix Before You Extract a Resolver

Comments
6 min read
Stop Extracting Helpers Until Return Shapes Are Pinned

Stop Extracting Helpers Until Return Shapes Are Pinned

Comments
7 min read
Characterize Failure Tokens Before You Extract a Predicate

Characterize Failure Tokens Before You Extract a Predicate

Comments
7 min read
Pin Return-Shape Schemas Before You Extract One Function

Pin Return-Shape Schemas Before You Extract One Function

Comments
7 min read
Pin Public Scenarios Before One Private Extract

Pin Public Scenarios Before One Private Extract

Comments
6 min read
Freeze the Output Directory, Then Extract One Seam

Freeze the Output Directory, Then Extract One Seam

Comments
7 min read
Ledger One Entrypoint Before You Touch the Mess

Ledger One Entrypoint Before You Touch the Mess

Comments
7 min read
Pin a Working-Tree Oracle Before You Edit a Messy Package

Pin a Working-Tree Oracle Before You Edit a Messy Package

Comments
7 min read
Freeze the Call Trace Before You Split a God File

Freeze the Call Trace Before You Split a God File

Comments
7 min read
Record the Messy Module First. Change One Helper Second.

Record the Messy Module First. Change One Helper Second.

Comments 1
8 min read
Pin the Entrypoint Snapshot Before Any Internal Refactor

Pin the Entrypoint Snapshot Before Any Internal Refactor

Comments
8 min read
The Process Oracle Comes Before the Helper Extract

The Process Oracle Comes Before the Helper Extract

Comments
7 min read
The Refactor Gate Is a Runtime Return-Shape Ledger

The Refactor Gate Is a Runtime Return-Shape Ledger

Comments
7 min read
Exit-Path Coverage Is the Extract Gate

Exit-Path Coverage Is the Extract Gate

Comments
5 min read
Lock Output Contracts Before You Rewrite One Path

Lock Output Contracts Before You Rewrite One Path

Comments
6 min read
Probe One Function to JSONL, Then Change Only Its Body

Probe One Function to JSONL, Then Change Only Its Body

Comments
6 min read
Freeze One Function's I/O Table, Then Change One Branch

Freeze One Function's I/O Table, Then Change One Branch

Comments
6 min read
Canonicalize Mixed Returns Before You Rewrite One Function

Canonicalize Mixed Returns Before You Rewrite One Function

Comments
8 min read
Build an I/O Oracle Table, Then Change One Branch

Build an I/O Oracle Table, Then Change One Branch

Comments
6 min read
Build an Outcome Grid, Then Relocate a Single Function

Build an Outcome Grid, Then Relocate a Single Function

Comments
7 min read
A Dispatcher Refactor Starts With a Finite Branch Table

A Dispatcher Refactor Starts With a Finite Branch Table

Comments
6 min read
A Behavior Ledger Makes One-File Refactors Honest

A Behavior Ledger Makes One-File Refactors Honest

Comments
6 min read
Freeze Impure Seams, Then Change One Injection Point

Freeze Impure Seams, Then Change One Injection Point

Comments
7 min read
Hash Every Write Before You Extract a Helper

Hash Every Write Before You Extract a Helper

Comments
7 min read
Pin the CLI Tape Before You Edit a Messy Repo

Pin the CLI Tape Before You Edit a Messy Repo

Comments
7 min read
Pin One Seam With Golden Files, Then Change One File

Pin One Seam With Golden Files, Then Change One File

Comments
8 min read
Pin a Golden Workspace Before You Refactor the Mess

Pin a Golden Workspace Before You Refactor the Mess

Comments
6 min read
Record the CLI Edge Before You Extract a Function

Record the CLI Edge Before You Extract a Function

Comments
7 min read
Hash the Output Tree Before You Extract One Helper

Hash the Output Tree Before You Extract One Helper

Comments
6 min read
Freeze the Mess With Golden Files, Then Change One Seam

Freeze the Mess With Golden Files, Then Change One Seam

Comments
8 min read
Hash the Entrypoint Before You Extract One Module

Hash the Entrypoint Before You Extract One Module

Comments
9 min read
CLI Goldens Are the Spec Your Messy Repo Already Has

CLI Goldens Are the Spec Your Messy Repo Already Has

Comments
7 min read
Pin the Output Tree Before You Touch Messy Code

Pin the Output Tree Before You Touch Messy Code

Comments
7 min read
Record the Hot Path, Then Extract One Seam

Record the Hot Path, Then Extract One Seam

Comments
5 min read
Freeze the Export Table Before You Touch a Messy File

Freeze the Export Table Before You Touch a Messy File

Comments
8 min read
Cache the Repetition: A Quota-Saving Proxy for Free Model Endpoints

Cache the Repetition: A Quota-Saving Proxy for Free Model Endpoints

Comments
2 min read
The Quota You Can't See: A Client-Side Ledger for Free Model Tiers

The Quota You Can't See: A Client-Side Ledger for Free Model Tiers

Comments
4 min read
Don't Truncate Chat: Token-Aware Context Compressor

Don't Truncate Chat: Token-Aware Context Compressor

Comments
5 min read
Capture Three Channels, Then Change One Concern

Capture Three Channels, Then Change One Concern

Comments
7 min read
Refactor One Function After Characterization Holds

Refactor One Function After Characterization Holds

Comments
7 min read
Snapshot Hidden Process State Before You Split a God Module

Snapshot Hidden Process State Before You Split a God Module

Comments
6 min read
Pin Mixed Outputs Before You Split a God Module

Pin Mixed Outputs Before You Split a God Module

Comments
6 min read
Golden-Master a Tangled Script Before the Cleanup Diff

Golden-Master a Tangled Script Before the Cleanup Diff

Comments
7 min read
Snapshot File Deltas Before You Extract Glue

Snapshot File Deltas Before You Extract Glue

Comments
7 min read
Treat a Tangled File as a Black Box First

Treat a Tangled File as a Black Box First

Comments
7 min read
Lock Report Bytes Before You Extract One Function

Lock Report Bytes Before You Extract One Function

Comments
7 min read
Characterize the Job Envelope Before You Touch Helpers

Characterize the Job Envelope Before You Touch Helpers

Comments
8 min read
Characterize the Job Envelope Before You Touch Helpers

Characterize the Job Envelope Before You Touch Helpers

Comments
8 min read
Record Four CLI Channels Before You Change One Flag

Record Four CLI Channels Before You Change One Flag

Comments
8 min read
Pin Package Output Before You Change One Branch

Pin Package Output Before You Change One Branch

Comments
6 min read
Freeze the Repo Seam Before You Cut a Single File

Freeze the Repo Seam Before You Cut a Single File

Comments
7 min read
Edit Once: Freeze a Messy Module at the Process Boundary

Edit Once: Freeze a Messy Module at the Process Boundary

Comments
7 min read
The Smallest Safe Change: Refactor a Messy Function One Step at a Time

The Smallest Safe Change: Refactor a Messy Function One Step at a Time

Comments
4 min read
Refactor on a Budget: Why Your Diff Size Should Be a Hard Limit

Refactor on a Budget: Why Your Diff Size Should Be a Hard Limit

Comments
4 min read
The Smallest Safe Change: A Refactor Budget for Messy Repos

The Smallest Safe Change: A Refactor Budget for Messy Repos

Comments
4 min read
The Refactor Preflight: 20 Minutes That Decide Your Outcome

The Refactor Preflight: 20 Minutes That Decide Your Outcome

Comments
3 min read
Lock Down a Legacy Function in 30 Minutes: AI Tests, Mutation Checks, and a Free Server

Lock Down a Legacy Function in 30 Minutes: AI Tests, Mutation Checks, and a Free Server

Comments
4 min read
loading...