DEV Community

Dakota Huang profile picture

Dakota Huang

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

Location Seattle, WA Joined Joined on 
Make a JSONL of Returns and Raises Before One Extract

Make a JSONL of Returns and Raises Before One Extract

Comments
7 min read
Pin Import-Time State Before You Extract One Function

Pin Import-Time State Before You Extract One Function

Comments
6 min read
Pin the After-Tree, Then Extract One Writer

Pin the After-Tree, Then Extract One Writer

Comments 1
6 min read
Pin Sandbox Path Drift Before One Helper Extract

Pin Sandbox Path Drift Before One Helper Extract

Comments
6 min read
CWD Drift Breaks Path Extracts. Snapshot the Filesystem First.

CWD Drift Breaks Path Extracts. Snapshot the Filesystem First.

Comments
8 min read
The Smallest Safe Change Starts With an Import Snapshot

The Smallest Safe Change Starts With an Import Snapshot

Comments
6 min read
Characterize Path Resolution Before You Move One open()

Characterize Path Resolution Before You Move One open()

Comments
7 min read
pytest --collect-only Is Not Allowed to Dial Out

pytest --collect-only Is Not Allowed to Dial Out

Comments
7 min read
Freeze the Output Tree Before You Extract a Writer

Freeze the Output Tree Before You Extract a Writer

Comments
6 min read
Pin the Written Tree Before One Internal Extract

Pin the Written Tree Before One Internal Extract

Comments
7 min read
Lock argv, stdin, and exit codes before one extract

Lock argv, stdin, and exit codes before one extract

Comments
7 min read
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
loading...