CLAUDE LABJP
SAFE — A broad stability and safety update landed in Claude Code: tighter permission checks, safer Bash and PowerShell handling, and better background session cleanupEND — The new EndConversation tool lets sessions end explicitly, and progress heartbeats now show that long-running tasks are still alivePERM — Fixed single-segment dir/** allow rules auto-approving writes to nested directories. If you rely on broad allow rules, it's worth re-reading your permission settingsLIMIT — The 50% higher weekly limits promotion for Pro, Max, and Team ended on July 19, so plan automated workloads around standard limits againFASTEND — Fast mode for Claude Opus 4.7 is removed on July 24 — four days left. speed: 'fast' will return an error, so migrate to fast mode on Opus 4.8PRICE — Claude Sonnet 5 launch pricing ($2 in / $10 out per million tokens) runs through August 31, then returns to $3 / $15SAFE — A broad stability and safety update landed in Claude Code: tighter permission checks, safer Bash and PowerShell handling, and better background session cleanupEND — The new EndConversation tool lets sessions end explicitly, and progress heartbeats now show that long-running tasks are still alivePERM — Fixed single-segment dir/** allow rules auto-approving writes to nested directories. If you rely on broad allow rules, it's worth re-reading your permission settingsLIMIT — The 50% higher weekly limits promotion for Pro, Max, and Team ended on July 19, so plan automated workloads around standard limits againFASTEND — Fast mode for Claude Opus 4.7 is removed on July 24 — four days left. speed: 'fast' will return an error, so migrate to fast mode on Opus 4.8PRICE — Claude Sonnet 5 launch pricing ($2 in / $10 out per million tokens) runs through August 31, then returns to $3 / $15
TAG

Observability

26 articles
Back to all tags
Related:
production12claude-api7cost-optimization4Claude Code4Claude API3prompt-caching2api2MCP2automation2Refactoring2Production2semantic-cache2
API & SDK/2026-06-18Advanced

When Your Claude API Response Cache Returns Stale Answers and Near-Miss Wrong Ones — Field Notes on Freshness and False-Hit Suppression

A Claude API response cache improves latency and cost immediately, but the problems that hurt in production are not average hit rate — they are stale hits and semantic false hits. Here is the key design, freshness management, false-hit suppression, and observability that keep a cache honest.

Claude Code/2026-06-16Advanced

Keeping Large Claude Code Refactors Revertible One Commit at a Time — Field Notes on Checkpoints and Rollback Detection

Hand a big refactor to Claude Code and the speed hides a real cost: review-proof, oversized diffs. Here are the field notes I actually run — declaring checkpoints in a manifest, enforcing commit granularity with a pre-push hook, and tying rollback calls to observability.

API & SDK/2026-06-16Advanced

PII Masking for Claude API Lives or Dies on the Ledger — Restore, Encrypt, Measure

The hard part of masking PII before Claude API isn't detection — it's operating the token ledger you restore from. Encrypted storage, multi-instance sharing, and a daily leak-rate loop, with working code.

API & SDK/2026-06-15Advanced

On the day the billing change took effect, I added per-stage cost metering to my headless runs

The June 15 billing change moved headless runs and agent delegation onto monthly credits. Here is a thin metering layer that records token usage per stage tag from response.usage and emits a daily cost report, with working code.

API & SDK/2026-05-31Advanced

Make Agent Failures Reproducible: Deterministic Replay and Event Sourcing

An autonomous agent that fails at 2 a.m. can't be reproduced by simply running it again. Record every nondeterminism boundary as an append-only event log and replay the failed run deterministically — with working code and operational lessons.

API & SDK/2026-05-29Advanced

Rewiring Claude API Observability with OpenTelemetry GenAI Conventions — A Design Memo for Model Migrations and Cost Audits

An implementation memo for rewiring production observability around Claude API to match the OpenTelemetry GenAI semantic conventions — span attributes, metrics, cost tracking, and model-migration replay — written from running this in indie services for six months.

API & SDK/2026-05-01Advanced

Claude API Telemetry on ClickHouse: A Production Guide to Cost, Latency, and Error Analytics

Stream per-request Claude API telemetry into ClickHouse, build sub-second dashboards with materialized views, and detect cost spikes, retry loops, and silent failures with practical SQL recipes.

API & SDK/2026-04-30Advanced

Building a Production Claude API Pipeline on Cloudflare Queues: Fault Tolerance, Backpressure, and Cost Control

A practical, code-first walkthrough for routing Claude API calls through Cloudflare Queues — covering producer/consumer code, retry-vs-DLQ branching, priority lanes, and token budgeting for production workloads.

Claude Code/2026-04-29Advanced

Observability for Claude Code with OpenTelemetry — A Production-Grade Tracing Guide for Agentic Workflows

Trace Claude Code agent runs end to end with OpenTelemetry. Hook integration, per-tool spans, MCP propagation, cost attribution, and sampling patterns that survive thousands of runs per day.

API & SDK/2026-04-29Advanced

Production Semantic Cache for Claude API — Similarity Thresholds, Pollution Defense, and What to Track

A production playbook for adding a semantic cache in front of Claude API — threshold tuning, multi-tenant isolation, pollution prevention, fallbacks, and the metrics that actually prove it works.

API & SDK/2026-04-27Intermediate

Production Infrastructure for Claude API — 8 Things You Need Between 'It Works' and 'It Holds Up'

There is a much bigger gap than you'd think between a working Claude API call on your laptop and a service that survives real users. Here are the eight pieces of infrastructure I now consider non-negotiable, learned the hard way.

Claude Code/2026-04-24Advanced

Debugging Claude Code Hooks in Production — Where to Start When Logs Are Missing

Your Claude Code hooks work locally but go silent in production. Here is the three-layer observability pattern I use on real projects, plus a 60-second minimal reproduction recipe for isolating failures.