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

A Spec-First Plugin Is a Test Harness in Disguise
Spec-first tooling matters less for code generation speed than for forcing acceptance criteria to exist before the agent runs — turning the spec into an executable eval.
The Swarm's Failure Unit Is the Handoff, Not the Agent
In multi-agent systems the defect lives at the seams. Evaluate and trace the message contract, not just each agent's output.
Read Scope Is Not a Consent Model: Replacing Full Disk Access for Agents
Full Disk Access is a binary, durable grant that asks users to predict an agent's future behaviour. Task-scoped read contracts, enforced at the syscall boundary, answer the actual question.
The Cleanup Rate Is a Specification Signal: Reading 3-in-4 Coding Tasks Backwards
When coding agents need human correction on most real tasks, the useful reading is under-specification, not model weakness. The fix belongs in the harness.
A Model Swap Is a Regression Suite Decision, Not a Drop-In Replacement
Swapping the model behind a deployed agent changes the harness contract. Migration should be gated by a trajectory-level regression corpus, not a headline benchmark score.
Machine Teamwork Changes the Failure Unit: Why Swarm Evals Must Score the Handoff
When agents delegate, the unit of evaluation becomes the handoff. Final-answer scoring hides delegation errors, so swarm evals must score the edge, not just the node.
The Gateway Is a Policy Evaluation Point, Not a Proxy: Scoping Agent Egress
A gateway that forwards traffic with a shared API key is a proxy with a security label. It earns its place only by evaluating intent and capability per request.
The Cleanup Tax Is a Harness Metric: Reading Coding-Agent Trials as Trajectory Data
A coding agent's pass rate says little; the shape of the human repair it triggers describes the harness. Classify the cleanup, then fix the interface.
The Shared State Is the Attack Surface: Why Agent Swarms Need a Channel Contract
Multi-agent systems fail at the boundary between agents, not inside any single model. The collaboration channel must be specified, authenticated and logged.