SShortSingh.
Back to feed

Golden File Tests Are Failing AI Agents as Models Silently Drift

0
·17 views

Software testing teams relying on frozen 'golden file' snapshots are increasingly finding them inadequate for validating AI agents, as underlying models change without notice and outputs shift unpredictably. Unlike traditional software, AI agents produce tool traces, side effects, and variable prose rather than a single stable reply, making static string comparisons unreliable. A three-layer testing approach is proposed: contract checks for JSON schema and required tools, effects checks measuring real-world outcomes, and a live critic model that reviews agent traces for plausible but flawed reasoning. The critic layer is identified as the most commonly skipped, often deferred until a customer demo or incident, which allows undertested agents to reach production. The recommended workflow involves capturing redacted traces, running deterministic contract gates first, and only then invoking a cheaper pinned critic model on a clean remote host.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

DEV Seeks Full-Time Community Manager to Steward Its Developer Community

DEV has reshaped an earlier Community Program Manager opening into a full-time Community Manager role focused on community stewardship rather than program management. The position centers on daily presence on the platform, including publishing, engaging with members, and maintaining a welcoming, high-quality environment. Responsibilities include moderation, managing community support channels, overseeing brand presences such as the MLH organization, and curating content through roundups and newsletters. Candidates are expected to be established DEV members with experience running Discord communities, and the package includes a competitive salary, stock options, health and retirement benefits, unlimited PTO, and travel opportunities.

0
ProgrammingDEV Community ·

osFoundry's Memory and Knowledge Base keep AI-learned facts and return them as context

osFoundry bundles Notes, Knowledge Base, Memory, Lessons, Chat History and Indexed Folders to stop coding agents from forgetting project details between sessions. In the desktop app, each store has its own screen, and a toggle on each controls whether the AI may read it. The Memory screen shows what each agent knows, such as database versions and test commands, and separately lists lessons written only after a reviewer rejected work or a step failed. Users can export or import memories and lessons to a file, since they stay on the device and do not move automatically between machines. A user can also index a repository locally with on-device embeddings, which lets the agent search code by meaning and return exact file paths and line ranges.

0
ProgrammingHacker News ·

Part 2 of PwnEscape Details a Firecracker VM Escape

A security write-up titled "Firecracker VM Escape: PwnEscape Part 2" was published on pwn.ai and shared on Hacker News. The source material indicates it is a follow-up in a series about escaping Firecracker, the lightweight virtual machine monitor used for isolated workloads. The available text is limited to the link and metadata, with four points and no comments at the time of capture. Specific technical details of the vulnerability or exploit are not included in the information provided. Readers would need to consult the original article for the full findings.

0
ProgrammingHacker News ·

A Personal Essay Recounts a Telegram Sent From Rebecca West

A piece published on The Lamp magazine's blog recalls a telegram the author received from the writer Rebecca West. The author describes it as the only telegram they ever received, giving it particular significance. The essay appears to center on West's correspondence and its personal impact. The item was shared on Hacker News, where it gathered six points and no comments at the time of capture. The available text provides limited detail beyond the premise, so the full essay should be consulted for specifics.