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

Anomaly Detection Needs a Written Normal Before It Can See the Abnormal
Security teams cannot detect unusual agent behaviour while still defining normal. Publish the baseline as a versioned artifact and treat deviations as reviewable events.
Mandate Registries Are the Merchant Side of Agent Commerce
Agent checkout fails because merchants lack a registry mapping a delegated mandate to a bounded, revocable authorisation. That registry is a merchant-side build.

The Red-Team Range Is a Test Fixture, Not a Fire Drill
Red-teaming an agent fleet only pays off when the attack corpus is versioned and replayed as a regression fixture against every harness change, not run once as a launch ritual.

A Red-Team Run Is a Regression Fixture, Not an Event
Red-team findings decay the moment a prompt, tool manifest or model changes. Only replayable fixtures in the eval harness turn an attack into a durable control.
Consequential Tool Calls Need a Rehearsal Mode, Not a Dry-Run Flag
A dry-run flag asks the agent to report on itself. A cloned side-effect surface asks the system to prove itself. Consequential tool calls need the latter.

The Mandate Registry Is the Merchant's Missing Component
Agent-initiated commerce stalls because merchants cannot resolve a machine client to a bounded, verifiable mandate. A registry entry fixes that before any basket exists.
The Handoff Is Where the Swarm's Authority Leaks
Per-agent least privilege is not enough: the privilege boundary sits at the message between agents. Scope capability grants to the handoff contract, not the participant.
A Red-Team Report Is a Capability Ledger, Not a Vulnerability List
Ranked exploit lists cannot be re-tested when the model or harness changes. Recording red-team findings as enumerated capabilities with owners makes them replayable and controllable.
A Model Swap Is a Harness Event: Regression Testing the Whole Pipeline
Replacing the executor model changes tool-call formatting, stop conditions and refusal routing at once. Treat a swap as a harness migration with its own regression suite.