VALMORIA Weekly dispatch

16 August 2026

AI Systems Demand Auditable Artifacts and Honest Limits

This past week, two distinct challenges in building AI-powered systems surfaced a common truth: the integrity of an AI system isn't just about model performance; it's about the honesty of its contracts and the auditability of its components. From defining a chatbot's persona to enforcing API rate limits, the hidden assumptions and undocumented behaviors are where production systems break down, often silently. Building resilient AI means making the implicit explicit, and the unreviewable, reviewable.

Your AI's Persona Belongs in Source Control

When building an assistant, the temptation is to define its persona directly within the prompt string. "You are a helpful assistant who is an expert in X and Y." It works, until it doesn't. The problem isn't the prompt itself, but its location: if the assistant's entire knowledge and character live solely in a prompt string, it becomes an unreviewable artifact. Who reviews changes to that prompt? How do you version it? How do you ensure consistency across different deployments or iterations?

My approach to this has been to treat persona content not as prompt engineering, but as data. The persona content lives in versioned files, just like any other critical configuration or business logic. At build time, a compile step runs, taking these versioned files and baking them into the runtime bundle. This compile step runs before both development and production builds, ensuring that what's shipped is always a direct, auditable reflection of what's in source control.

This makes the persona a reviewable artifact. It can be diffed, approved, and rolled back. It transforms a "vibe-based" definition into a deterministic, auditable component of the system. Without this, you introduce a non-deterministic element that is opaque to traditional software development practices. Imagine trying to debug an unexpected AI response when the core definition of its character is a moving target within a prompt. By compiling it, you get a clear build artifact, a hash, and a guarantee that the persona shipped is the one reviewed. This is a critical distinction: knowing where not to put the model is half of AI engineering. The model executes the persona; it doesn't define its source of truth, and it certainly shouldn't be the single source of truth for its own character.

Best-Effort is a Feature, Not a Bug

Another area where honesty is paramount is in system boundaries, especially rate limiting. It's easy to implement a basic rate limiter and then assume it provides a hard guarantee. But not all rate limiters are created equal, and mislabeling one can have serious downstream implications.

Consider an in-memory rate limiter across warm instances. This type of limiter, by its very nature, is genuinely approximate. Each instance might enforce its own limit, but coordination across instances is best-effort, if it exists at all. I have a Gemini wrapper that enforces IP-based limits of 10 requests per minute. This is a hard limit at the wrapper level. However, a separate console's mission classifier uses an in-memory per-instance limiter. This is documented internally as "best-effort."

The crucial part is not just building the limiter, but explicitly labeling its nature. Documenting an in-memory, per-instance limiter as "best-effort" is what stops someone from treating it as a security control or a strict billing enforcement later on. The moment you treat an approximate system as a hard guarantee, you've created a hidden vulnerability. This can lead to unexpected service degradation, security loopholes, or even legal liabilities if, for example, a contractual rate limit is violated due to an implicit assumption. If a downstream system relies on a truly hard limit, it needs to know that this specific component won't provide it. This prevents false confidence and forces the right architectural decisions higher up the stack. It’s about setting clear contracts for your system's behavior, even for its degraded states. `RADAR OFFLINE` means radar is actually offline, and "best-effort" means it might let through 11 requests in a minute, not 10.

The Pipeline of Truth

These two examples highlight a recurring theme in building robust systems: any manual process, any implicit assumption, is a pipeline waiting to be built or, at minimum, documented with unflinching honesty. Whether it’s compiling a persona from versioned files or explicitly calling out the approximate nature of a rate limiter, the goal is always the same: to make the system's behavior transparent, auditable, and predictable.

The hard part is almost never the model itself. It's making the pipeline honest and idempotent. It's about designing systems where every "knowledge" artifact, every operational constraint, can be traced, reviewed, and understood by anyone who depends on it. This builds trust, reduces technical debt, and ultimately, makes AI systems safer and more reliable.

Go through your system's critical configurations and operational controls. Ask yourself: where does this knowledge truly live? Is it versioned? Is it auditable? And for every limit or assumption, is its true nature explicitly declared?

Del Rey Valmoria Software & Automation Engineer