ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsMaterial3 min readDisconfirmAI Editorial

OVHcloud engineer Wilfried Roset: how letting AI interview you before coding caught a design flaw

Wilfried Roset describes building Pookie, a secret-redaction proxy, in two weeks by having AI agents question him for six hours before writing code. The interview method produced 54 decision records and surfaced a critical edge case: models can invent placeholders that look identical to lost real ones. That single question reshaped Pookie's storage design to include a second, secret-free provenance record.

2026-11-24 14:00 GMT+8

Wilfried Roset, an OVHcloud engineer, spent six hours being questioned by an AI agent before writing a single line of code for Pookie, a proxy that hides secrets from model providers. The agent used Matt Pocock's open-source Grill-me skill, which interviews the developer relentlessly until every branch of the decision tree is resolved. By the end, 54 written decision records existed, each capturing what was chosen and why.

The method produced a concrete result that changed the design. The team had assumed every placeholder in a model's response was one Pookie itself had created. The agent asked the question nobody had thought to ask: what if the model invents a placeholder? It did. The model had seen folder names full of placeholders, learned their shape, and tried to open sibling folders under names it made up. Nothing leaked because no secret stood behind those invented names, but to the operator an invented placeholder looked identical to a lost real one, and the two cases require opposite responses. A lost one means investigating storage; an invented one means nothing is wrong.

That question reshaped Pookie's storage. Each time Pookie stores a secret, it now also writes a second, smaller record holding no secret at all. That record only states that Pookie created this placeholder, and when. It lives four times longer than the secret itself, which means twelve days with the default seventy-two-hour lifetime. So when an unknown placeholder comes back, Pookie can distinguish a real one that expired from one the model made up, and nobody chases a storage incident that never happened.

Sign in / Sign up
ReadingResearchRadarInvestment framework

The broader workflow follows three habits. First, let the agent interview you until the plan has no gaps, and write every decision down. Second, have agents study prior art and build throwaway prototypes before committing to a design. For Pookie, multiple agents compared existing secret scanners and AI proxies, producing scout notes on what to borrow and what to avoid. That research led to a deliberate break from convention: secret scanners usually tune for precision, while Pookie tunes for recall, because a missed secret costs more than a hidden harmless value. Throwaway prototypes answered single questions then were deleted; the biggest one settled the language choice as Go over Rust, since most request time is spent waiting for the model provider's answer.

Third, give the agent a pass-or-fail signal before giving it a task. Write a failing test, let the agent implement until it passes, have separate AI agents review the code and its security, then run Pookie on a real repository to see what it catches and misses. Repeat until everything is green. Tests make up seventy percent of the codebase, and Roset calls that ratio the trust model: you do not review every line an agent writes, you review what it must prove.

Roset notes that most findings from the review and real-repository audits were tuning rather than bugs, and the delicate balance is between false positives and false negatives, since every rule that catches more secrets also hides more harmless values. He also acknowledges a limitation: he regularly had to step in to tell the agent which feature to build next, and if the agent ends up waiting at 7:30 p.m. on a Friday, you lose the whole weekend. Next time, he says, he would invest more in loop engineering, the setup that lets the agent move from one feature to the next on its own.

Sources

  • blog.ovhcloud.comOVHcloud Blog↗
Continue researching →