Diffusion arrived at "follow a velocity field from noise to data" the hard way — through Markov chains, variational bounds, and reverse-time SDEs. Flow matching asks the question that framing begs: if generation is just transporting noise to data along a path, why inherit a curved path from a noising process you never actually cared about? Why not simply choose the path — and choose it straight? The answer now trains the frontier: Stable Diffusion 3, Flux, and much of the current video generation stack are flow-matching models.
If generation is transport from noise to data, why inherit a curved path from a noising process? Flow matching chooses the path — straight — and regresses a network onto its constant velocity: image minus noise. Rectified flow straightens further toward one-step sampling, and CFG, DiT, and latents all carry over unchanged.
Usage-based pricing has a humble prerequisite: you must count correctly. Not approximately — correctly, at whatever volume success brings, across retries, duplicates, late arrivals, and clock skew, because every counted unit is money and every miscounted one is a dispute. Metering is stream processing where the aggregation result appears on an invoice, and that destination changes every engineering trade-off.
Metering is stream processing with invoice-grade obligations: deterministic source-minted idempotency keys, dedup at the door, event-time aggregation into exactly one billing period with a grace window, compensating events instead of mutation — and two meters: streaming approximate for the product, batch exact for the invoice.
The best fraud decision is often neither yes nor no but "prove it" — a verification step that fraudsters abandon and legitimate customers clear in seconds. And for the genuinely ambiguous rest, trained human reviewers remain the highest-precision classifier available, at a unit cost that makes their deployment an optimization problem. This post builds the human layer: friction as a decision outcome, review queues as both safety valve and labeling engine, and the operations that keep both honest.
Friction separates by behavior — fraudsters abandon challenges, customers clear them — priced by abandonment and bent by 3DS liability shift. Review queues run as operations: capacity-driven routing, value-tiered SLAs, reviewers measured like models — and a declared capacity split for the queue's second job: labeling.
The day an API gets its first external integration, its shape stops being yours. Every field name, every status code, every undocumented quirk becomes load-bearing for code you can't see, written by teams you can't reach, deployed on schedules you don't control. API evolution is the discipline of changing a thing that thousands of strangers depend on — and it begins with understanding exactly what you promised, because most breakage comes from changes the provider genuinely believed were safe.
The real contract is operational: a change is breaking if any plausible client stops working — extending past docs into everything observable (Hyrum's Law), split across tolerant and strict readers. Rot decomposes into nameable forces: design debt, version sprawl, spec drift, zombie clients, change aversion. Opens the series.
Every test runs against data, and at scale the data becomes its own engineering discipline: fixtures that encode last year's schema, factories that drift from what production actually produces, "anonymized" snapshots that are neither anonymous nor current, and demo environments whose data convinces no one. Test data rots faster than tests do — because nobody owns it — and the fix is the same as everywhere else in this series: make it declared, generated, versioned, and owned.
Test data engineered along a spectrum — exact fixtures for golden cases, real-path factories as the workhorse, statistics-driven synthesis for scale — with the anonymization trap named (quasi-identifiers re-identify, regulation follows the copy, snapshots rot anyway). Package it as versioned, owned, composable seed specs.
The least philosophical form of self-evolving AI is also the one with the hardest results to argue with: hold the model fixed, hold the harness fixed, and evolve the artifact — the program, the schedule, the mathematical construction — through thousands of generate-evaluate-refine rounds. This post dissects that loop: why it's evolutionary computation with the mutation operator replaced by a language model, why the evaluator is the entire ballgame, and what changes when the LLM is both the operator and, increasingly, the optimizer.
Artifact evolution is evolutionary search with an LLM as the mutation operator — population, generator, evaluator, selector — where the LLM contributes semantically valid, evidence-driven edits and the evaluator contributes everything else. Offline loop, mechanical feedback, externally checkable results: the honesty standard for the rest of the map.
The standard answer to agent memory is "embed it and put it in a vector store" — and it's half right. Semantic search over past experience is genuinely the workhorse of episodic recall. But raw similarity is a weak model of what "relevant memory" means: similar is not important, recent, or true. The difference between a memory system and a junk drawer with an embedding index is the scoring, filtering, and hygiene this post covers.
Memory retrieval is not document RAG: the store is self-generated, time-sensitive, and self-contradicting. Score on relevance x recency x importance, enforce write-side hygiene — self-contained memories, dedupe at the door, attached structure — and inject under a budget with provenance labels so memories are weighed, not absorbed.
The first generation of enterprise AI automated tasks: summarize this document, draft that reply, classify this ticket. Useful — but a task is not a process, and the value of most business processes lives in the connective tissue between tasks: the routing, the checking, the waiting, the handoffs. Agentic systems make that connective tissue automatable for the first time, and that changes what an enterprise should aim AI at.
A task is not a process — and the value of most processes lives in the connective tissue between tasks. Agentic systems make that automatable: routing, glue, the routine majority of cases end-to-end. But autonomy is earned on a ladder — suggest, approve, review, bounded autonomy — with escalation designed first and every decision auditable.
Calibrating agent freedom with the AEMM maturity model and Elastic Loop framework
Fixed autonomy levels are wrong in both directions. The AEMM framework: autonomy computed per task from risk, context quality, confidence, and track record — mapped honestly onto the knobs the factory implements today (judge threshold, bounded retries, capabilities, RBAC), with case-study evidence on where the human gates belong.
For the first years of diffusion, "the model" meant a U-Net — a convolutional hourglass borrowed from medical image segmentation. Then the same migration that had already run through NLP and vision ran through generation: replace the handcrafted spatial architecture with a plain transformer over patch tokens, and let scale do the work. The Diffusion Transformer (DiT) is now the backbone of the frontier image and video systems — and the reasons why are a case study in what architectures are actually for.
The denoiser was a U-Net — convolutional hourglass, skip connections, interleaved cross-attention — until the Diffusion Transformer re-answered the same requirements generically: patchify the latent, run a standard transformer, condition via adaptive layer norm. The real win is economic: LLM-style scaling curves, inherited infrastructure, and spacetime patches that set up video.
Every pricing page looks simple: three tiers, a slider, maybe "contact us." The code behind a pricing page that can evolve is anything but — because pricing changes faster than software, old customers keep old deals, and the moment a price lives as a constant in application code, every experiment becomes a deploy and every grandfathered customer becomes an if-statement. The foundational move of billing engineering is modeling the catalog as versioned data.
Flat, per-seat, graduated vs volume tiers (not the same thing), usage, hybrids — one abstraction: price is versioned data mapping quantity-over-a-period to an amount. Immutable price versions make grandfathering default behavior and invoices re-derivable; application code never holds an amount.
Ordinary ML drift is weather — the world changes and models age. Fraud drift is war — the distribution shifts precisely because you deployed, as attackers probe the new boundary and route around it. A fraud system's long-run performance is therefore determined less by any single model than by its adaptation loop: how fast drift is detected, how fast a response ships, and how safely the response is validated against labels that haven't arrived yet. This post builds that loop.
Against an adapting adversary the system is the loop: detection cascaded by speed (input drift, score drift, proxy labels, chargeback truth), responses laddered by cost (expiring tactical rules in minutes, threshold posture, cadence-plus-trigger retrains, shadow challengers), validation staged around label delay.