Five-by-five survival matrix: five truncation policies (head-N, tail-N, head+tail, middle-out, match-centred) against five positions of a planted evidence line in a 400,110-character payload at a 20,000-character budget. Head-N keeps the line only at 0%, tail-N only at 100%, head+tail at 0% and 100%, middle-out only at 50%, and the pattern-centred window at all five positions.

Your Agent Drops 380 KB of Tool Output. Which Line Survives?

A coding agent runs a test suite, a log tail or a recursive grep. The tool returns 400 KB. The harness caps it before the text reaches the model, and the cap is almost always a character or byte budget applied to a fixed part of the string — the head, or the two ends. The agent then answers confidently about a failure whose stack frame was at 62% of the output and never made it into the prompt. ...

November 22, 2026 · 10 min · baeseokjae
Diagram of four read-only enforcement layers for a production debugging agent: the agent's tool policy is only its own promise, while the credential scope, the database read-only transaction and the runtime expression guard refuse writes outside the model. The footer records the local fixture run of 9 scripted calls, 4 allowed and 5 refused.

Production Debugging Agents: What “Read-Only” Really Protects

An agent that can look at a production incident is useful. An agent that can also change production is a second incident waiting for a bad day. Most teams resolve that tension by choosing one extreme: hand the agent the same credentials an on-call engineer uses, or keep it out of the incident entirely and go back to kubectl and grep. The direct answer to the middle path is this: “read-only” is not one control, it is four, and they do not fail together. The agent’s tool selection is advisory. The other three — the credential or API scope the call travels over, the database transaction mode, and the runtime guard on evaluated expressions — are enforced somewhere outside the agent’s goodwill. A session is only as safe as the outermost enforced layer, and it is only auditable if the enforcement decision is recorded per call. ...

November 16, 2026 · 13 min · baeseokjae
Conceptual checklist for context compaction: Original transcript, then Compressed summary, then Fact retention probes. Compare retained facts, not just summary fluency.

Agent Context Compaction: What Gets Lost—and How to Test It

An agent works for two hours. The harness compacts the transcript, the run continues, and somewhere in the next twenty turns it re-runs a migration it has already run, asks the user for a value the user typed an hour ago, or refactors a file it was explicitly told not to touch. Nothing in the run log marks the turn where that fact disappeared. The summary reads fluently, the task still finishes, and the only trace of the loss is work the agent repeats. ...

November 2, 2026 · 11 min · baeseokjae
Conceptual checklist for tool-call retries: Timeout observed, then Commit state unknown, then Stable request identity. A timeout does not establish whether the action happened.

Agent Tool Retries: How Duplicate Actions Happen

An agent loop calls a tool that files a ticket, posts a review comment, or inserts a row. The call stalls and the client gives up at its timeout. The loop does what every retry wrapper does: it tries again. Nobody in that loop knows whether the first attempt reached the database, so the second attempt may be the first real write or the second one. When it is the second, the user sees a duplicate comment under a single logical step, and the token meter shows one step because the meter counts steps, not executions. ...

November 1, 2026 · 11 min · baeseokjae

Agent Traces That Don't Join: gen_ai.system vs gen_ai.provider.name and a Join-Key Contract for Mixed-Framework Fleets (2026)

A team runs a LangGraph service, an OpenAI Agents SDK worker, and a coding-agent CLI with telemetry switched on this quarter. Every producer is instrumented, every span arrives, and the per-agent cost dashboard still covers exactly one of the three. The others are not erroring; they are simply invisible to the group by everyone wrote, because the attribute that identifies a provider is spelled differently by each producer and, in one case, is not an attribute at all. The instrumentation guide already on this site, OpenTelemetry for AI agents, teaches how to emit those spans and predates the rename described below; this post is about what happens after the spans exist. The architecture question that led readers to the site is answered structurally in the multi-agent system design guide, which covers how to decompose the fleet but not what the telemetry contract between its members has to say. ...

October 31, 2026 · 10 min · baeseokjae
Four diagnostic branches from the article: request rejection, a length stop, context shifting, and slow repeated prefill without an overflow. The figure summarizes source analysis, not new measurements.

llama-server Context Overflow: Diagnose Prompt Limit Failures

An agent that has been working against a self-hosted llama.cpp server for twenty or forty turns eventually stops working, and the symptom is almost never specific enough to act on: a half-written answer, an empty completion, a tool call that never arrives, or a request that never gets a reply at all. The tempting response is to raise -c, which is exactly the fix that KV memory may not allow, and which does nothing for the two of the four failure modes below that are not really about running out of room. ...

October 30, 2026 · 15 min · baeseokjae
NeoBrowser Review: An MCP Server That Drives Real Chrome With Your Logged-In Sessions

NeoBrowser Review: An MCP Server That Drives Real Chrome With Your Logged-In Sessions

An mcp server browser automation setup usually fails the same way: the agent launches a fresh, cookie-less Chromium, hits a login wall, and stalls. NeoBrowser is a Rust MCP server that takes the opposite approach — it drives your installed Google Chrome over CDP and can start already authenticated from your real profile. That is the pitch, and the engineering behind it is real. Whether you should install it today is a harder question, and the answer involves a 404, a disputed differentiator, and four security questions the project’s own launch thread left open. ...

October 1, 2026 · 19 min · baeseokjae
MCP Proxy: Add MCP Support to Any REST API Without Code Changes

MCP Proxy: Add MCP Support to Any REST API Without Code Changes

An mcp rest api bridge works by reading your API’s OpenAPI spec at runtime and translating each operation into an MCP tool. You keep the REST API exactly as it is, add a proxy or gateway in front of it, and point your agent at the MCP endpoint. Nothing in the backend is rewritten or redeployed. That is the short answer, and it is genuinely accurate — with one important caveat that the marketing pages bury. “No code changes” describes the API, not the project. You still own a configuration surface, an authentication decision, and a curation judgment call. The teams that get burned are the ones who treat auto-conversion as the finished deliverable instead of step one. ...

October 1, 2026 · 15 min · baeseokjae
OJCP: The Open Job Context Protocol for Agent-Consumable Job Data

OJCP: The Open Job Context Protocol for Agent-Consumable Job Data

OJCP (Open Job Context Protocol) is a draft open standard that lets AI agents find, read and act on job postings through MCP tools instead of scraping career pages. A provider publishes a manifest at /.well-known/ojcp.json, implements the required search_jobs tool plus five recommended ones, and normalizes its apply paths. Current status: a living v0.2 draft with 80 GitHub stars. Two disambiguations before anything else. First, this OJCP is not Ontario Job Creation Partnerships, the Canadian government program that owns the acronym in most search results; in this article OJCP means the agent-facing job data protocol authored by Recruitics CTO Austin Anderson and governed by a steering committee that includes Workday, CrossCountry Healthcare, Hiring.cafe, aiApply, scale.jobs, LoopCV and Tink. Second, OJCP is not a rival to the Model Context Protocol. The specification says it outright: “OJCP is not a competing protocol. It is a vertical application of MCP for the job data domain.” MCP defines how agents call tools; OJCP defines which tools exist for job search, application and identity verification. ...

October 1, 2026 · 24 min · baeseokjae
Opus 5 Incoherence Review 2026: When Frontier Models Lose Coherence on Long Tasks

Opus 5 Incoherence Review 2026: Why Frontier Models Lose the Thread on Long Tasks

What Does “Opus 5 Incoherence” Actually Mean in 2026? The short answer: the “incoherence” reviewers complained about in Opus 5 has been widely misread as raw memory loss. It is mostly not. Most visible Opus 5 “incoherence” on long tasks is behavioral drift — over-verification, over-delegation, and scope-widening on compound instructions — rather than genuine context loss. When early testers said the model “lost the thread,” stopped early, argued with prompts, or shipped partial work, the cause was usually the harness, not a collapsed context window. This matters because the fix is different for each failure, and the wrong diagnosis leads to the wrong remediation — usually waiting for a newer model that never comes. Below we separate three distinct failure flavors, review the launch specs, weigh the benchmarks against field reports, and give you a practical playbook to get coherent long-task behavior out of Opus 5 today. ...

September 24, 2026 · 12 min · baeseokjae