DEV Community

Sam Sun profile picture

Sam Sun

Full-stack developer passionate about open source and clean code.

Location New York, NY Joined Joined on 
Refuse the Next Attempt While the Trace File Is Shapeless

Refuse the Next Attempt While the Trace File Is Shapeless

Comments
6 min read
Hold the Score Until the Collector Acks the Link Set

Hold the Score Until the Collector Acks the Link Set

Comments
7 min read
Keep Tool Bodies Local When Spans Leave the Machine

Keep Tool Bodies Local When Spans Leave the Machine

Comments
7 min read
Block the Retry When the Tool Span Already Failed

Block the Retry When the Tool Span Already Failed

Comments
6 min read
A Parent Success Span Can Outlive a Dropped Tool Child

A Parent Success Span Can Outlive a Dropped Tool Child

Comments
7 min read
Unpromoted Tool Logs Cannot Close a Debug Loop

Unpromoted Tool Logs Cannot Close a Debug Loop

Comments
7 min read
A Laptop Clock Cannot Order Remote Agent Spans

A Laptop Clock Cannot Order Remote Agent Spans

Comments
9 min read
An Agent Claim Is Open Until a Child Span Closes It

An Agent Claim Is Open Until a Child Span Closes It

Comments
7 min read
Unfingerprinted Generation Spans Cannot Be Diffed

Unfingerprinted Generation Spans Cannot Be Diffed

Comments
6 min read
Join Tool Exits to Spans Before Trusting the Summary

Join Tool Exits to Spans Before Trusting the Summary

Comments
6 min read
Wall-Clock Minus Exclusive Spans Is the Untraced Remainder

Wall-Clock Minus Exclusive Spans Is the Untraced Remainder

Comments
6 min read
Map Every Working-Tree Delta to a Closed Tool Span

Map Every Working-Tree Delta to a Closed Tool Span

Comments 1
7 min read
Off-Trace Token Counts Cannot Gate a Run

Off-Trace Token Counts Cannot Gate a Run

Comments
7 min read
A Trace You Cannot Replay Is Only a Log

A Trace You Cannot Replay Is Only a Log

Comments
6 min read
Call the Agent Fixed Only After a Bounded Trace Diff

Call the Agent Fixed Only After a Bounded Trace Diff

Comments 1
8 min read
Fail the Run If the Trace Forest Splits

Fail the Run If the Trace Forest Splits

Comments
7 min read
Stdout Cannot Halt an Agent Loop

Stdout Cannot Halt an Agent Loop

Comments
7 min read
Treat Span Cardinality as a Hard Error

Treat Span Cardinality as a Hard Error

Comments
6 min read
Causal Order Beats Timestamps in Agent Traces

Causal Order Beats Timestamps in Agent Traces

Comments
8 min read
Gate Agent Success on Closed Spans

Gate Agent Success on Closed Spans

Comments
6 min read
Fail the Tool Call If the Trace Cannot Cite a Source

Fail the Tool Call If the Trace Cannot Cite a Source

Comments
8 min read
Diff the Run Card, Not the Log Stream

Diff the Run Card, Not the Log Stream

Comments
8 min read
The Data Boundary Problem: Using a Free Server Without Leaking Your Prompts

The Data Boundary Problem: Using a Free Server Without Leaking Your Prompts

Comments
4 min read
The 429 Cascade: Debugging a Code-Review Bot on a Free Endpoint

The 429 Cascade: Debugging a Code-Review Bot on a Free Endpoint

Comments
5 min read
MiniMax H3: Run a 30-Minute Adoption Gate Before You Commit

MiniMax H3: Run a 30-Minute Adoption Gate Before You Commit

Comments
2 min read
Stdout Order Is Not Causality: A Parent-Span Contract for Agents

Stdout Order Is Not Causality: A Parent-Span Contract for Agents

Comments
8 min read
Quota Is a Test Signal: Budgeting Free Model Calls Like CI Minutes

Quota Is a Test Signal: Budgeting Free Model Calls Like CI Minutes

Comments
5 min read
Free Tokens Won't Fix Black-Box Agent Runs: Build a Trace Loop

Free Tokens Won't Fix Black-Box Agent Runs: Build a Trace Loop

Comments
4 min read
Agent Summaries Are Claims, Not Logs: A Trace Audit Loop

Agent Summaries Are Claims, Not Logs: A Trace Audit Loop

Comments
4 min read
A Free-Tier Trace Loop for Agent Run Regression

A Free-Tier Trace Loop for Agent Run Regression

Comments 1
4 min read
Diff the Traces, Not the Code: A Bisection Loop for Agent Runs

Diff the Traces, Not the Code: A Bisection Loop for Agent Runs

Comments
4 min read
Turn Agent Tool Calls Into Run Receipts

Turn Agent Tool Calls Into Run Receipts

1
Comments
4 min read
Agent Runs Are Black Boxes: A Trace-First Debug Loop

Agent Runs Are Black Boxes: A Trace-First Debug Loop

Comments 2
4 min read
Free Model Access and Free Hosting: A Decision Guide for Agent Workloads

Free Model Access and Free Hosting: A Decision Guide for Agent Workloads

Comments
3 min read
Free Endpoints Are a Contract, Not a Gift: A Fit Test for Agent Workloads

Free Endpoints Are a Contract, Not a Gift: A Fit Test for Agent Workloads

Comments 1
5 min read
Your Retry Loop Is a Token Incinerator: A Cascade Router for Mixed-Tier Endpoints

Your Retry Loop Is a Token Incinerator: A Cascade Router for Mixed-Tier Endpoints

Comments
5 min read
Free vs Self-Hosted Models: A Break-Even Framework for Agent Workloads

Free vs Self-Hosted Models: A Break-Even Framework for Agent Workloads

Comments
5 min read
A Cost-Per-Token Benchmark Is Not Enough: A Reproducible Harness for Free and Cheap Model Endpoints

A Cost-Per-Token Benchmark Is Not Enough: A Reproducible Harness for Free and Cheap Model Endpoints

Comments
4 min read
A Preflight Harness for Tool-Using Coding Agents

A Preflight Harness for Tool-Using Coding Agents

Comments 1
5 min read
loading...