<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Spinov · AI Agent FinOps &amp; Reliability</title><description>Running AI agents in production without burning money or trust. Real, runnable tools for cost control, reliability, and tooling — including on-chain agents. Author: Alexey Spinov.</description><link>https://finops.spinov.online/</link><item><title>A $47K Agent Loop: Add a Hard Spend-Cap in 40 Lines</title><link>https://finops.spinov.online/blog/a-47k-agent-loop-spend-cap/</link><guid isPermaLink="true">https://finops.spinov.online/blog/a-47k-agent-loop-spend-cap/</guid><description>A crypto agent with no spend limit can loop until the wallet is empty. A 40-line pre-execution brake refuses the next action before it runs.</description><pubDate>Mon, 08 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Two SQL Calls, the Same Rows. Only One Has a String to Inject Into.</title><link>https://finops.spinov.online/blog/agent-authored-sql-reaches-db/</link><guid isPermaLink="true">https://finops.spinov.online/blog/agent-authored-sql-reaches-db/</guid><description>AI agent SQL injection hides in one seam: how the SQL string is built. agent_sql_seam.py is a static ast detector that flags f-strings reaching a DB sink.</description><pubDate>Mon, 06 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Your Agent&apos;s Memory Has a Tax and a Backdoor. Audit Both in 40 Lines</title><link>https://finops.spinov.online/blog/agent-memory-tax-and-backdoor/</link><guid isPermaLink="true">https://finops.spinov.online/blog/agent-memory-tax-and-backdoor/</guid><description>Agent memory audit in 40 lines: score each entry on cost (token tax, stale weight) and trust (provenance, tool-steering). One run: 68.5% dead tokens.</description><pubDate>Wed, 17 Jun 2026 00:00:00 GMT</pubDate></item><item><title>You Approved `project_settings.json`. The OS Was About to Write `~/.ssh/authorized_keys`.</title><link>https://finops.spinov.online/blog/approval-path-resolve-gate/</link><guid isPermaLink="true">https://finops.spinov.online/blog/approval-path-resolve-gate/</guid><description>AI coding agent approval path resolution: the dialog shows the path the model typed, not the file the OS opens. A tiny offline gate resolves it first.</description><pubDate>Mon, 13 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Your Trace Proves What the Agent Did. It Can&apos;t Prove It Was Allowed.</title><link>https://finops.spinov.online/blog/authz-gate-trace-vs-allowed/</link><guid isPermaLink="true">https://finops.spinov.online/blog/authz-gate-trace-vs-allowed/</guid><description>A span proves an agent action ran, not that it was allowed. authz_gate.py reconciles a declarative policy against the span log and counts the blind spots.</description><pubDate>Wed, 01 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Blast Radius of an AI Agent&apos;s API Key: Score It in 40 Lines</title><link>https://finops.spinov.online/blog/blast-radius-ai-agent-api-key/</link><guid isPermaLink="true">https://finops.spinov.online/blog/blast-radius-ai-agent-api-key/</guid><description>A secret scanner tells you a key leaked. It can&apos;t tell you how much breaks if it&apos;s misused. Score your agent key&apos;s blast radius offline, in 40 lines.</description><pubDate>Mon, 15 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Prompt Cache Break: Hit-Rate Fell 100% to 40% in 40 Lines</title><link>https://finops.spinov.online/blog/cache-break-detector/</link><guid isPermaLink="true">https://finops.spinov.online/blog/cache-break-detector/</guid><description>Prompt cache-break dropped an estimated cache-hit-rate 100% to 40% on one injected timestamp. A 40-line keyless detector finds the segment, fails CI.</description><pubDate>Sun, 21 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Checkpoint-Skip Gate: Task Success 100%, Checkpoint Never Ran</title><link>https://finops.spinov.online/blog/checkpoint-skip-gate/</link><guid isPermaLink="true">https://finops.spinov.online/blog/checkpoint-skip-gate/</guid><description>Checkpoint-skip gate: task_success=true while the mandatory confirmation never ran. An offline trajectory replay that blocks the skipped checkpoint.</description><pubDate>Sun, 12 Jul 2026 00:00:00 GMT</pubDate></item><item><title>One compaction, four actions, one block: compaction safety is a property of the pair</title><link>https://finops.spinov.online/blog/compaction-omission-gate/</link><guid isPermaLink="true">https://finops.spinov.online/blog/compaction-omission-gate/</guid><description>Is context compaction safe? Only against a specific action. Freeze the compaction, vary the action, and the verdict flips. An offline gate catches it.</description><pubDate>Sat, 18 Jul 2026 00:00:00 GMT</pubDate></item><item><title>The Context Tax: Why Step 12 Costs 42x Step 1 (Measure It in 40 Lines)</title><link>https://finops.spinov.online/blog/context-tax-measure-transcript-rebill/</link><guid isPermaLink="true">https://finops.spinov.online/blog/context-tax-measure-transcript-rebill/</guid><description>The context tax: every agent step re-bills the whole transcript. A 40-line keyless meter measured a 42.8x re-bill multiplier on one debugging session.</description><pubDate>Thu, 18 Jun 2026 00:00:00 GMT</pubDate></item><item><title>AI Agent Cost Drift: 0.35%/day Is Invisible to Your Dashboard</title><link>https://finops.spinov.online/blog/cost-drift-anchor-gate/</link><guid isPermaLink="true">https://finops.spinov.online/blog/cost-drift-anchor-gate/</guid><description>AI agent cost drift: baselines detect speed, the invoice is charged on level. A 0.35%/day floor creep raised 0 alarms in 60 days; anchor caught it day 9.</description><pubDate>Wed, 15 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Cost Per Verified Success: Your Exit-0 Denominator Lies</title><link>https://finops.spinov.online/blog/cost-per-verified-success/</link><guid isPermaLink="true">https://finops.spinov.online/blog/cost-per-verified-success/</guid><description>Cost per verified success divides spend by witnessed wins, not exit-0. A keyless offline gate computes the gap and fails closed on masking.</description><pubDate>Sat, 25 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Delivered but Unbilled: Your AI Stream Logged Zero Tokens</title><link>https://finops.spinov.online/blog/delivered-but-unbilled-stream-gate/</link><guid isPermaLink="true">https://finops.spinov.online/blog/delivered-but-unbilled-stream-gate/</guid><description>Delivered but unbilled: your AI stream renders the full answer but logs 0 output tokens. Offline, keyless gate reconciles delivered text vs logged usage.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Dependency Gap in AI Code: Declared 1, Imported 4</title><link>https://finops.spinov.online/blog/dependency-gap-auditor/</link><guid isPermaLink="true">https://finops.spinov.online/blog/dependency-gap-auditor/</guid><description>Dependency gap in AI-generated code: requirements.txt declared 1 package, the source imported 4. repro_probe.py finds it statically before merge.</description><pubDate>Wed, 24 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Passing the Eval Isn&apos;t Solving the Task: 3 Leaks, 60 Lines</title><link>https://finops.spinov.online/blog/eval-contamination-probe/</link><guid isPermaLink="true">https://finops.spinov.online/blog/eval-contamination-probe/</guid><description>A 60-line static probe found 3 contamination points in an agent eval harness, exit 1, without running the agent. Passing the eval is not solving the task.</description><pubDate>Fri, 26 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Your Gate Trusts a Signal the Model Wrote. One Write-Hop Proves It.</title><link>https://finops.spinov.online/blog/gate-taint-lint/</link><guid isPermaLink="true">https://finops.spinov.online/blog/gate-taint-lint/</guid><description>Write-chain taint lint for AI agent gates: gate_taint_lint.py fails any authorization signal a model helped write. One write-hop flips exit 0 to exit 1.</description><pubDate>Fri, 03 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Audit AI-Generated Tests: Half of Green CI Proves Nothing</title><link>https://finops.spinov.online/blog/green-checkmark-auditor/</link><guid isPermaLink="true">https://finops.spinov.online/blog/green-checkmark-auditor/</guid><description>Audit AI-generated tests before merge: when an agent writes both code and tests, green CI proves nothing. mirror_audit.py scores the share with no signal.</description><pubDate>Tue, 23 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Grok Lost $175K to a Tweet: Add a Pre-Send Tx Canary</title><link>https://finops.spinov.online/blog/grok-tx-canary/</link><guid isPermaLink="true">https://finops.spinov.online/blog/grok-tx-canary/</guid><description>An AI agent will sign a transaction built on a hallucinated address without blinking. A 90-line pre-send canary blocks the bad tx before you sign.</description><pubDate>Mon, 08 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Your Guardrail Test Still Passes With the Guardrail Deleted</title><link>https://finops.spinov.online/blog/guardrail-ablation-probe/</link><guid isPermaLink="true">https://finops.spinov.online/blog/guardrail-ablation-probe/</guid><description>Test whether an AI agent guardrail is still working: rerun the corpus with the gate deleted. Each bad input lands LOAD_BEARING, SHADOWED or MISSED.</description><pubDate>Wed, 09 Sep 2026 00:00:00 GMT</pubDate></item><item><title>You Can&apos;t Patch Prompt Injection. Gate the Lethal Trifecta Before the Agent Runs.</title><link>https://finops.spinov.online/blog/lethal-trifecta-gate/</link><guid isPermaLink="true">https://finops.spinov.online/blog/lethal-trifecta-gate/</guid><description>The lethal trifecta isn&apos;t patchable in the model. trifecta_gate.py gates it by reachability before the agent runs: same 3 capabilities, one is lethal.</description><pubDate>Tue, 30 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Your Self-Hosted LLM Has No Auth by Default. One Config Line Decides Who Runs It.</title><link>https://finops.spinov.online/blog/llm-backend-exposure-gate/</link><guid isPermaLink="true">https://finops.spinov.online/blog/llm-backend-exposure-gate/</guid><description>Exposed self-hosted LLM backend? exposure_gate.py lints .env, compose, and LiteLLM config offline before the first request. One field flips exit 0 to 1.</description><pubDate>Sun, 05 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Unbounded LLM Call Sites: A Budget Is Not a Ceiling</title><link>https://finops.spinov.online/blog/llm-call-site-loop-bound-gate/</link><guid isPermaLink="true">https://finops.spinov.online/blog/llm-call-site-loop-bound-gate/</guid><description>Unbounded LLM call sites: a per-call budget is not a ceiling. An offline stdlib ast gate prints BOUNDED, UNBOUNDED or CANNOT ANALYZE for each call site.</description><pubDate>Tue, 08 Sep 2026 00:00:00 GMT</pubDate></item><item><title>Your LLM Judge Costs More Than the Agent. Gate It in 40 Lines.</title><link>https://finops.spinov.online/blog/llm-judge-cost-deterministic-pre-gate/</link><guid isPermaLink="true">https://finops.spinov.online/blog/llm-judge-cost-deterministic-pre-gate/</guid><description>LLM judge cost can quietly exceed 25% of production. A 40-line offline pre-gate triages every span so only the uncertain tail reaches the expensive judge.</description><pubDate>Sat, 20 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Your LLM Router Logged the Wallet Key. It Already Left.</title><link>https://finops.spinov.online/blog/llm-router-credential-leak-redact-at-boundary/</link><guid isPermaLink="true">https://finops.spinov.online/blog/llm-router-credential-leak-redact-at-boundary/</guid><description>An LLM router logs your request after it already left. boundary_leak_probe.py sorts egress by destination trust: 5 leaking fields, 2 wallet keys.</description><pubDate>Sat, 27 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Agent Loop Cost: 11x Your Per-Call Quote, in 40 Lines</title><link>https://finops.spinov.online/blog/loop-cost-forecaster/</link><guid isPermaLink="true">https://finops.spinov.online/blog/loop-cost-forecaster/</guid><description>Agent loop cost grows quadratically with tool-calls. A 40-line offline keyless forecaster prices the whole loop from one JSONL trace and gates the build.</description><pubDate>Mon, 22 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Lost Update: When Two AI Agents Edit One File, One Silently Wins</title><link>https://finops.spinov.online/blog/lost-update-gate-concurrent-agents/</link><guid isPermaLink="true">https://finops.spinov.online/blog/lost-update-gate-concurrent-agents/</guid><description>Two AI agents edit one resource. Both ACK, one vanishes. I ran 5 agents on one file: 4 contributions gone. A pre-write compare-and-set gate, measured.</description><pubDate>Wed, 29 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Mandate Freshness Gate: Valid Signature, Revoked Authority</title><link>https://finops.spinov.online/blog/mandate-freshness-gate/</link><guid isPermaLink="true">https://finops.spinov.online/blog/mandate-freshness-gate/</guid><description>Mandate freshness gate: a valid signature but revoked authority. An offline, keyless Python gate that blocks the stale mandate at execution time.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Your MCP Pin Blocks Every Update. Most Never Broke You.</title><link>https://finops.spinov.online/blog/mcp-contract-compat-gate/</link><guid isPermaLink="true">https://finops.spinov.online/blog/mcp-contract-compat-gate/</guid><description>MCP tool schema breaking change vs backward-compatible: a pre-execution gate replays recorded calls against the new inputSchema, fail-closed on breaking.</description><pubDate>Fri, 24 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Measure Your MCP Server&apos;s Token Tax in 60 Seconds</title><link>https://finops.spinov.online/blog/mcp-server-token-tax/</link><guid isPermaLink="true">https://finops.spinov.online/blog/mcp-server-token-tax/</guid><description>MCP server token tax: pull tools/list, tokenize each definition with tiktoken, get the real per-tool cost. Tool Search hides it, not removes it. 60s audit.</description><pubDate>Sat, 13 Jun 2026 00:00:00 GMT</pubDate></item><item><title>MCP Tool Drift: Pin the Manifest, Block Rug-Pulls in 40 Lines</title><link>https://finops.spinov.online/blog/mcp-tool-pin-verify/</link><guid isPermaLink="true">https://finops.spinov.online/blog/mcp-tool-pin-verify/</guid><description>MCP tool drift: an approved tool&apos;s description or params can change before the next call. Pin the manifest hash, block the rug-pull in 40 lines, offline.</description><pubDate>Tue, 16 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Your Authz Checks the Caller. The Model Picked the Tenant.</title><link>https://finops.spinov.online/blog/model-authored-scope-confused-deputy/</link><guid isPermaLink="true">https://finops.spinov.online/blog/model-authored-scope-confused-deputy/</guid><description>Confused deputy in AI agents: authz checks the caller, not the model-authored tenant_id selecting the data. A provenance gate refuses it before any read.</description><pubDate>Sun, 26 Jul 2026 00:00:00 GMT</pubDate></item><item><title>You&apos;re Billed for One Model. The Token Math Points to Another.</title><link>https://finops.spinov.online/blog/model-receipt-probe/</link><guid isPermaLink="true">https://finops.spinov.online/blog/model-receipt-probe/</guid><description>LLM model substitution detection, offline: reconcile 4 receipt fields in your call log with a declared price policy. One billing field flips exit 0 to 1.</description><pubDate>Sat, 04 Jul 2026 00:00:00 GMT</pubDate></item><item><title>A Pre-Execution Gate for AI Agents: 3 Barriers</title><link>https://finops.spinov.online/blog/pre-execution-gate-for-ai-agents/</link><guid isPermaLink="true">https://finops.spinov.online/blog/pre-execution-gate-for-ai-agents/</guid><description>A pre-execution gate for AI agents refuses an over-budget or bad-tx action before it runs. One decorator, three barriers, real run log. Read-only, keyless.</description><pubDate>Fri, 12 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Rate vs Volume Attribution: $40.80 Disputed, or $0.00</title><link>https://finops.spinov.online/blog/rate-vs-volume-attribution-bucket-width/</link><guid isPermaLink="true">https://finops.spinov.online/blog/rate-vs-volume-attribution-bucket-width/</guid><description>Rate vs volume attribution: a 30-day export shows $40.80 of a $54.50 delta disputed at two snapshots, $0.00 at daily width. Offline gate, real exit codes.</description><pubDate>Mon, 07 Sep 2026 00:00:00 GMT</pubDate></item><item><title>Your AI agent re-adds code you reverted last month</title><link>https://finops.spinov.online/blog/revert-guard/</link><guid isPermaLink="true">https://finops.spinov.online/blog/revert-guard/</guid><description>AI agent re-adds reverted code? revert_guard.py is an offline, keyless pre-commit gate that reads your git revert history and blocks it before commit.</description><pubDate>Thu, 09 Jul 2026 00:00:00 GMT</pubDate></item><item><title>A 58% Win-Rate Over Zero Closed Trades: Recompute Agent Scorecard</title><link>https://finops.spinov.online/blog/scorecard-reconcile-from-evidence/</link><guid isPermaLink="true">https://finops.spinov.online/blog/scorecard-reconcile-from-evidence/</guid><description>An agent scorecard is the actor grading itself. scorecard_reconcile.py recomputes each metric from the journal: a 58% win-rate over zero closed trades.</description><pubDate>Mon, 29 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Your AI Code Has 6 Secret Hits. Only 3 Ship in the npm Package.</title><link>https://finops.spinov.online/blog/secret-packaging-gap/</link><guid isPermaLink="true">https://finops.spinov.online/blog/secret-packaging-gap/</guid><description>Secret scanners read your git tree. npm pack reads the files allowlist. leak_probe.py measures the gap: 6 hits, 3 ship. Offline, keyless, read-only.</description><pubDate>Thu, 25 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Gate Agent Evals by Severity, Not a Flat Pass-Rate</title><link>https://finops.spinov.online/blog/severity-gate-not-pass-rate/</link><guid isPermaLink="true">https://finops.spinov.online/blog/severity-gate-not-pass-rate/</guid><description>A flat pass-rate can&apos;t gate deploys. severity_gate.py reads eval results and flips SHIP to BLOCK when one severity_class field changes, pass-rate unmoved.</description><pubDate>Wed, 08 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Sliding-Window Spend Guard: the $47K Loop Per-Call Caps Miss</title><link>https://finops.spinov.online/blog/sliding-window-spend-guard/</link><guid isPermaLink="true">https://finops.spinov.online/blog/sliding-window-spend-guard/</guid><description>Per-call spend caps wave through cheap calls that sum to a $47K loop. A sliding-window guard sums spend per window and blocks the next call before it runs.</description><pubDate>Sun, 14 Jun 2026 00:00:00 GMT</pubDate></item><item><title>A Spend Cap That Stops Counting Is Already Fail-Open</title><link>https://finops.spinov.online/blog/spend-cap-stops-counting/</link><guid isPermaLink="true">https://finops.spinov.online/blog/spend-cap-stops-counting/</guid><description>A spend cap that stops counting is already fail-open. When the cost oracle goes quiet, the question is whether the ledger keeps moving. Five strategies.</description><pubDate>Sun, 19 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Codex encrypted its sub-agent prompts. Gate the spawn plan.</title><link>https://finops.spinov.online/blog/subagent-dispatch-gate/</link><guid isPermaLink="true">https://finops.spinov.online/blog/subagent-dispatch-gate/</guid><description>Pre-dispatch authorization for AI sub-agents: Codex encrypted its prompts, post-hoc recovery dropped 4 to 0. Gate the plaintext spawn plan first.</description><pubDate>Thu, 16 Jul 2026 00:00:00 GMT</pubDate></item><item><title>An SBOM Proves What You Installed. It Can&apos;t Prove You Should Have.</title><link>https://finops.spinov.online/blog/supply-chain-gate-pre-install/</link><guid isPermaLink="true">https://finops.spinov.online/blog/supply-chain-gate-pre-install/</guid><description>A pre-install supply-chain gate returns ALLOW or DENY per package your AI agent proposes, before npm install, keyed on provenance. An SBOM cannot.</description><pubDate>Thu, 02 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Your Failed Agent Run Burns Most of Its Tokens AFTER It Fails — Measure It in 40 Lines</title><link>https://finops.spinov.online/blog/waste-probe-tokens-after-failure/</link><guid isPermaLink="true">https://finops.spinov.online/blog/waste-probe-tokens-after-failure/</guid><description>Wasted tokens after agent failure are the tail, not the failure: a 40-line offline keyless meter for the token fraction burned after the first signal.</description><pubDate>Fri, 19 Jun 2026 00:00:00 GMT</pubDate></item><item><title>The best config in your bake-off didn&apos;t win. Selection did.</title><link>https://finops.spinov.online/blog/winners-curse-best-of-k-eval/</link><guid isPermaLink="true">https://finops.spinov.online/blog/winners-curse-best-of-k-eval/</guid><description>Best-of-K eval selection bias: the top config&apos;s observed pass rate is biased up. It shows up even when all K configs are equal, and it grows with K.</description><pubDate>Thu, 23 Jul 2026 00:00:00 GMT</pubDate></item><item><title>x402 Signs the Money, Not the URL. I Checked 18 Fields.</title><link>https://finops.spinov.online/blog/x402-intent-binding-gate/</link><guid isPermaLink="true">https://finops.spinov.online/blog/x402-intent-binding-gate/</guid><description>An x402 payer signature does not cover the URL. I mutated 18 leaf fields of the spec&apos;s example payload: 8 changes leave the signature valid.</description><pubDate>Mon, 27 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Your A/B eval is paired. Your stat test probably isn&apos;t.</title><link>https://finops.spinov.online/blog/your-ab-eval-is-paired-mcnemar-not-wald/</link><guid isPermaLink="true">https://finops.spinov.online/blog/your-ab-eval-is-paired-mcnemar-not-wald/</guid><description>Two prompts on one eval set are paired data. The two-proportion SE my harness printed said &apos;collect more&apos;; McNemar said it was already decided.</description><pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Your Agent Returns 200 and Lies. Verify Before You Trust</title><link>https://finops.spinov.online/blog/your-agent-returns-200-and-lies/</link><guid isPermaLink="true">https://finops.spinov.online/blog/your-agent-returns-200-and-lies/</guid><description>An AI agent will report success it never achieved — clean 200, wrong effect. SuccessGate runs three checks before you accept &apos;Done&apos;.</description><pubDate>Mon, 08 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Zero failures isn&apos;t zero risk: the rule of three for evals</title><link>https://finops.spinov.online/blog/zero-failures-is-not-zero-risk-rule-of-three/</link><guid isPermaLink="true">https://finops.spinov.online/blog/zero-failures-is-not-zero-risk-rule-of-three/</guid><description>Rule of three for evals: zero failures in N runs is a count, not a rate. With 0 failures in 100 runs, the 95% upper bound on the true rate is 2.95%.</description><pubDate>Wed, 22 Jul 2026 00:00:00 GMT</pubDate></item></channel></rss>