Archive
1422 posts · Page 1 of 119. ← Blog
The series mapped three loci and a feedback axis as if systems politely stayed in one square of the grid. They don't — the direction of the field is composition: artifact loops whose lessons distill into the harness, harness accumulation that consolidates into weights, each locus covering the others' weaknesses. This closing post adds the final axis — where the loop closes — then assembles the full map, reads off the governance that composition demands, and ends on the only success metric that resists gaming: what the system actually delivers.
The third axis — loop closure, from within-task to online-continuous, with gating rising to match — completes the map. The frontier is composed stacks: artifact loops feeding harness distillation feeding rare, gated weight consolidation under monotone feedback strength. Governance reads off the three axes; success is measured in delivered artifacts. Closes the series.
End-to-end, nothing mocked: one feature through the whole factory
End-to-end case study with nothing mocked: an authentication token package taken from YAML spec through a live factory run on a local model — including the toolchain bugs found on the way, a 0.91 judge score on code that didn't compile, and the multi-round fix loop that followed. Every pillar of the series, exercised for real. Closes the series.
The billing system's last responsibility is proving itself: that every invoice matches money that actually moved, that revenue is recognized when it's earned rather than when it's charged, and that the metrics the business runs on — MRR, churn, net revenue retention — derive from billing data by defined rules rather than by whichever spreadsheet ran last. Revenue integrity is where billing engineering meets accounting, and the systems that skip it get audited into building it retroactively.
Revenue integrity closes the series: reconciliation across billing, processor, and settlement with a short owned exception queue; revenue recognition (charging is not earning — emit service periods and linkage so deferral is computable); and MRR with movements as versioned derivations from the state machine itself.
Every mechanism in this series — versions, gates, specs, deprecations — is the cost of changing decisions already shipped. The cheapest breaking change remains the one you never need, and whether you need many or few is substantially determined at design time, by choices that cost nothing when made and compound forever after. This closing post is that discipline: the additive-evolution patterns, the robustness-principle corrections, and the design review that asks about every surface, "how will this change?"
The cheapest breaking change is the one never needed: objects and envelopes over bare scalars, open sets declared with catch-all semantics, expansion parameters over endpoint forks, names reviewed against their futures — plus the corrected robustness principle and an honest beta ladder. Closes the series.
Walk back through the first six posts and a pattern repeats with suspicious regularity: the artifact loop is only as good as its evaluator, consensus training launders whatever bias the vote shares, self-play drifts without an anchor, test-time adaptation mis-fires when its proxy objective lies. Different loci, same lesson. This post makes the lesson the subject: feedback is the taxonomy's second axis, failure modes sort by feedback type rather than by locus — and the engineering discipline of self-evolving systems is mostly the engineering of feedback.
Feedback is the taxonomy's second axis: five types on a strength ladder — formal, mechanical, environmental, judged, self-consistent — each with a signature failure, all governed by Goodhart at type-specific pressure thresholds. The universal architecture is the cascade: cheap filters, strong gates, inter-stage agreement as the drift alarm, humans as calibrators.
Observability, continuous improvement, and scaling beyond the individual
The observability stack for an agentic factory: metrics pipeline, log correlation, tracing, and dashboards — then the continuous improvement loop, A/B testing of factory configurations, and improvement categories. Production operations turn the factory from an experiment into infrastructure.
Billing's defining property — post 1 called it time-dominance — makes it nearly untestable by ordinary means: the interesting behavior happens at renewals, trial expiries, grace-window closures, and anniversary boundaries, none of which occur during a test run unless the test controls time itself. The teams that trust their billing systems all converged on the same answer: make the clock an injectable dependency, simulate months in milliseconds, and pin correctness with golden invoices.
Billing becomes testable when time becomes an injected dependency: simulated clocks drive month-long lifecycles in milliseconds, golden invoices pin the money to the cent with diffs as review artifacts, re-derivation audits check production continuously, and property tests cover the proration arithmetic.
Shipping a version is a product launch; retiring one is a diplomatic mission. The clients still on it are, by definition, the ones who didn't upgrade when asked — working code owned by teams with no budget for your roadmap — and behind every deprecation that went badly is an integrator who found out from an outage. Deprecation done well is a designed process: telemetry that knows who's affected, communication that reaches them, migration paths that respect their economics, and sunsets that mean what they say.
Deprecation as designed lifecycle: deprecated-but-fully-functional with machine-readable marking, declared minimum support windows, warning cadences escalating through pre-announced brownouts, account-level telemetry driving targeted comms and burndown curves — and an explicit slip policy protecting sunset credibility.
Post 5 asked where the training signal comes from; this post asks when the weights change — and the two most radical answers bracket the question. Test-time training updates weights during inference, per input, then throws the update away; continual learning updates weights forever and keeps them. One treats adaptation as disposable, the other as permanent — and between them sits the oldest unsolved problem in neural networks: learning the new without trampling the old.
Test-time training adapts weights per input and discards the update — the deepest locus at the narrowest closure; continual learning keeps updates and collides with catastrophic interference, managed by replay, regularization, and isolation. Underneath both: the stability–plasticity dilemma and the two-timescale resolution that meets the memory series.
A memory system that delights in a demo becomes a liability register in production: it accumulates personal data by design, remembers things users expected to expire, must never leak across tenants, and silently decays in quality unless something measures it. This closing post covers the four disciplines that separate a production memory system from a demo with persistence — privacy, deletion, isolation, and evaluation — and ends where post 1 began: with judgment about what's worth remembering at all.
Production memory is a personal-data system: minimization as selection, answerable 'what do you remember about me', sensitivity tiers, deletion that cascades along provenance edges, hard tenant isolation (memory writes are an injection surface), and layered evals ending in the ablation that proves memory earns its cost. Remembering well is valuable; forgetting well is trustworthy. Closes the series.
Everything before this post can be done perfectly and the program can still fail, because an AI capability nobody uses creates exactly nothing. The last stage of the lifecycle is the least technical and the most decisive: getting real people to change how they work — willingly, skillfully, and durably. This closes the series where post 1 began: optimize for adoption, not for the model.
Everything can be built perfectly and still fail, because an unused capability creates nothing. Name the replace-me fear honestly, spread adoption along trust networks — champions, local proof, the pragmatic middle, skeptics given a real role — change the work (metrics, incentives, managers) not just the tools, and measure in layers with the downtime-complaint canary. Closes the series.
"Is our AI system ready for production?" is a question most teams answer with a feeling. An audit replaces the feeling with evidence: a structured pass over the six dimensions that decide whether an AI system survives real users, real data, real cost, and a real security review. Here's exactly what mine covers and what you walk away with — useful even if you run it yourself.
'Is our AI ready for production?' answered with evidence instead of a feeling: the six dimensions an audit covers — success criteria, evaluation, grounding, cost and latency at volume, security, reliability and ownership — with the red flags for each, and what you walk away with. Useful even if you run it yourself.