Notes from building agent systems
Evaluation harnesses, orchestration patterns, memory design and the failures behind them — written up while the details are still fresh.

Redesign the Work Before You Deploy the Agent
Most failed agent deployments are process-design failures, not model failures. If the workflow has no explicit decision points, no agent can be evaluated or constrained within it.

Identity Security Is Not Agent Security: The Delegation Gap
Per-agent credentials solved authentication. They did not solve authorisation: a credential proves which agent is calling, not what the human delegated.

A Bug Bounty Freeze Is a Triage Failure, Not an AI Problem
When submission volume outruns human triage, the fix is to make the reporter do more of the work — structured reproduction evidence, not a closed programme.

The Gatekeeper Is the Bottleneck: What App Store Review Means for Agent Distribution
Agent capability is rarely the deployment constraint any more. Review queues, permission prompts and MDM policies are. Design for the gate like you design for latency.

Self-Improving Agents Memorise Their Tests: Contamination as an Architecture Problem
When an agent generates its own training signal and is scored on a fixed benchmark, contamination becomes a structural flaw, not a hygiene failure. The fix belongs in the evaluation architecture.

Background Agents Need an Inbox, Not a Chat Window
Long-running agents fail on delivery and acknowledgement, not reasoning. The durable interface is a queue with explicit handoff semantics, not a conversation transcript.

Code Review Benchmarks Measure the Reviewer, Not the Review
An open benchmark for AI code review is only useful if it scores the disposition of a finding — accepted, rejected, superseded — not textual similarity to human comments.

Embedded Agents in Regulated Operations: Autonomy Is a Conformance Question
In defence, healthcare and government, agents are gated by audit evidence, not benchmark scores. Conformance must be designed in, not retrofitted.

Agent Report Attribution: Build the Provenance Chain Before the Incident
Most agent stacks log model outputs and tool calls separately, so a downstream action can never be joined back to the run that caused it. The fix is a provenance chain designed before deployment.