Morning report

Last night Fettle serviced 4 agents.

4
agents repaired & verified
$116
projected /mo token reduction
1
change awaiting your sign-off

Every fix below was produced by Codex and confirmed by the benchmark gate. Trace-replay results are marked; other after-values are benchmark-goal projections.

Fixed
Ops Scheduler Agent
LangGraph · Fix bug
scheduler.py:19,26
Benchmark goal projection

A missing backoff cap means that when a job fails, the agent retries in a tight loop — up to 11 times in one turn — inflating latency and token spend. Planning has degraded: average steps-per-task climbed from 3 to 7 with no better outcomes.

Tool success
67%no change
Tokens / call
654no change
Est. $/mo
67no change
Latency (ms)
41781800
Patched
Internal SQL Copilot
Custom (Node) · Security patch
copilot.js:14,27
Benchmark goal projection

Two problems: (1) untrusted row content from the DB is concatenated straight back into the prompt, so a poisoned row can hijack the agent (prompt injection). (2) The DB connection string — including the password — is logged to trace output on every error, leaking secrets into logs.

Tool success
75%no change
Tokens / call
1211no change
Est. $/mo
120no change
Security issues
20
Fixed
Acme Support Bot
LangChain · Fix bug
agent.py:23,31
Fixture trace replay

The `lookup_invoice` tool started failing on ~30% of calls after the billing API renamed `invoice_id` to `invoiceId`. The tool schema was never updated, so the agent sends the wrong field and gets 422s.

Tool success
71%100%
Tokens / call
837no change
Est. $/mo
84no change
Latency (ms)
665no change
Coached
Market Research Assistant
OpenAI Agents SDK · Coach workflow
agent.ts:8,42
Benchmark goal projection

The system prompt has been appended to for months and is now ~3,200 tokens of stale examples and contradictory rules. Every call pays for it, and token cost has roughly doubled with no quality gain. The workflow also re-fetches the same sources every run instead of caching.

Tool success
100%no change
Tokens / call
32281400
Est. $/mo
386270
Latency (ms)
2294no change