DEV Community

Riley Wang profile picture

Riley Wang

Software engineer by day, open source contributor by night.

Location Singapore Joined Joined on 
Your Agent Said "Done". The Trace Shows Nothing Changed.

Your Agent Said "Done". The Trace Shows Nothing Changed.

Comments
5 min read
Your Agent Said "Done". The Trace Shows Nothing Changed.

Your Agent Said "Done". The Trace Shows Nothing Changed.

Comments
5 min read
The Diff Wasn't the Model: Fingerprint the Environment Before You Replay a Trace

The Diff Wasn't the Model: Fingerprint the Environment Before You Replay a Trace

Comments 1
6 min read
Record Once, Replay Forever: Cassette Tests for Flaky Agent Tool Calls

Record Once, Replay Forever: Cassette Tests for Flaky Agent Tool Calls

Comments
4 min read
Same Call, Same Result: A No-Progress Detector for Agent Tool Loops

Same Call, Same Result: A No-Progress Detector for Agent Tool Loops

Comments
5 min read
The Token Leader Is Not the Latency Leader: Build a Span Ledger for Agent Runs

The Token Leader Is Not the Latency Leader: Build a Span Ledger for Agent Runs

Comments
7 min read
Scrub the Trace, Keep the Failure: A Redaction Gate You Can Test

Scrub the Trace, Keep the Failure: A Redaction Gate You Can Test

Comments
5 min read
Sample Runs, Not Spans: Shrink Agent Traces Without Losing Failures

Sample Runs, Not Spans: Shrink Agent Traces Without Losing Failures

Comments
5 min read
Validate the Trace Before You Trust the Trial: A Conformance Linter for Agent Runs

Validate the Trace Before You Trust the Trial: A Conformance Linter for Agent Runs

Comments
6 min read
Hash Three Boundaries Before You Blame the Model

Hash Three Boundaries Before You Blame the Model

Comments
7 min read
Retry Wrote Twice. Store commit_state Before the Next Attempt.

Retry Wrote Twice. Store commit_state Before the Next Attempt.

Comments
7 min read
Remote 200, Local Exit 1. Store the Turn Id on Both Sides.

Remote 200, Local Exit 1. Store the Turn Id on Both Sides.

Comments
8 min read
Name the Span That Spent the Agent Budget

Name the Span That Spent the Agent Budget

Comments
7 min read
Tool Previews Lie. Store stdout_bytes and a Truncation Flag.

Tool Previews Lie. Store stdout_bytes and a Truncation Flag.

Comments
6 min read
Hash the Tool Catalog Before You Trust the Trace

Hash the Tool Catalog Before You Trust the Trace

Comments
6 min read
The Timeline Has Holes. Record Span Sequence Numbers.

The Timeline Has Holes. Record Span Sequence Numbers.

Comments 1
6 min read
The Agent Reported Green. Record argv and the Exit Code.

The Agent Reported Green. Record argv and the Exit Code.

Comments
7 min read
Lint Agent Traces Before You Debug the Model

Lint Agent Traces Before You Debug the Model

Comments
6 min read
After Each Tool Span, Hash the Working Tree

After Each Tool Span, Hash the Working Tree

Comments
6 min read
The Reply Looks Finished. Record the Finish Reason.

The Reply Looks Finished. Record the Finish Reason.

Comments
6 min read
Your Trace Shows the Wrong Order. Measure Clock Skew Before You Debug

Your Trace Shows the Wrong Order. Measure Clock Skew Before You Debug

Comments
5 min read
Tool Output Looks Complete. Record the Injected Slice.

Tool Output Looks Complete. Record the Injected Slice.

Comments
8 min read
Agent Traces Hide the Fork. Record Ranked Options.

Agent Traces Hide the Fork. Record Ranked Options.

Comments
6 min read
Green Agent Loops Never End. Require a Terminal Span

Green Agent Loops Never End. Require a Terminal Span

Comments
6 min read
Retries Look Green. Count Attempts on Every Tool Span

Retries Look Green. Count Attempts on Every Tool Span

Comments
7 min read
Agent Traces Hide Wait Time. Split Three Lanes.

Agent Traces Hide Wait Time. Split Three Lanes.

Comments
7 min read
Orphan Tool Calls Look Like Hangs. Pair Every Result.

Orphan Tool Calls Look Like Hangs. Pair Every Result.

Comments
7 min read
Nested Agent Failures Hide in Flat Logs. Build a Span Tree.

Nested Agent Failures Hide in Flat Logs. Build a Span Tree.

Comments
7 min read
Concurrent Tool Calls Scramble Logs. Diff the Span DAG Instead.

Concurrent Tool Calls Scramble Logs. Diff the Span DAG Instead.

Comments
7 min read
Your Agent Is Leaking Tokens. Build a Decision Ledger on a Free Server.

Your Agent Is Leaking Tokens. Build a Decision Ledger on a Free Server.

Comments
4 min read
When the Token Well Runs Dry: A Degradation State Machine for LLM Services

When the Token Well Runs Dry: A Degradation State Machine for LLM Services

Comments
4 min read
How I Built a Self-Auditing Agent Loop on a Free Server

How I Built a Self-Auditing Agent Loop on a Free Server

Comments
5 min read
Log Where Each Tool Argument Came From

Log Where Each Tool Argument Came From

Comments
7 min read
Why Your Agent Fails Only in Production: A Trace-and-Diff Loop on a Free Server

Why Your Agent Fails Only in Production: A Trace-and-Diff Loop on a Free Server

Comments 1
4 min read
The Agent's Key Ring: Scoping Tool Permissions with a Deny-by-Default Wrapper

The Agent's Key Ring: Scoping Tool Permissions with a Deny-by-Default Wrapper

Comments
4 min read
Diff Every Tool Call: Replaying Agent Runs from a JSONL Trace

Diff Every Tool Call: Replaying Agent Runs from a JSONL Trace

5
Comments 3
4 min read
Your Agent's Context Is Rotting. Here's How I Traced the Decay.

Your Agent's Context Is Rotting. Here's How I Traced the Decay.

Comments 1
4 min read
Trace Agent Tool Calls on a Free Server: A 10M-Token Debug Loop

Trace Agent Tool Calls on a Free Server: A 10M-Token Debug Loop

1
Comments
4 min read
Trace First, Blame Later: A Debug Loop for Failing Agent Runs

Trace First, Blame Later: A Debug Loop for Failing Agent Runs

1
Comments
5 min read
Agent Runs Fail Quietly. Here's the Trace Harness I Use to Find Out Why.

Agent Runs Fail Quietly. Here's the Trace Harness I Use to Find Out Why.

Comments
4 min read
Build a Token-Budgeted LLM Service on a Free Server: A Step-by-Step Tutorial

Build a Token-Budgeted LLM Service on a Free Server: A Step-by-Step Tutorial

Comments
5 min read
Token Forensics: Auditing LLM Usage on a Free Server

Token Forensics: Auditing LLM Usage on a Free Server

Comments
5 min read
MiniMax H3 Is Making Noise. My First Check Isn’t the Leaderboard.

MiniMax H3 Is Making Noise. My First Check Isn’t the Leaderboard.

Comments
3 min read
A New Cheap Model Dropped This Week. Here's the Harness I Run Before I Switch Anything

A New Cheap Model Dropped This Week. Here's the Harness I Run Before I Switch Anything

Comments
5 min read
I Stopped Trusting My Agent's Boundaries Until I Could Break Them in a Throwaway Sandbox

I Stopped Trusting My Agent's Boundaries Until I Could Break Them in a Throwaway Sandbox

Comments
5 min read
Stop Benchmarking Coding Models by Vibes: A Repeatable 20-Task Harness You Can Run Tonight

Stop Benchmarking Coding Models by Vibes: A Repeatable 20-Task Harness You Can Run Tonight

2
Comments
5 min read
loading...