Christoffer Johansen
CJ.OS / notes / tell-not-ask

$ cat tell-not-ask.md

Tell, not ask.

My first AI feature asked the model nicely and hoped for the best. What works now is telling it: the rules before it writes, the shape of an answer, and what happens when it is wrong.

Published
2026
Reading
5 min
Tags
ai · engineering
Follow
RSS · All notes

The first time I wired a model into the app I’m building, I asked it nicely. The prompt explained what I wanted, suggested JSON as a format, and closed with some version of only respond with valid JSON, which is about as enforceable as it sounds.

Mostly, it complied. Mostly is doing a lot of work in that sentence. The rest of the time it answered in prose, or in JSON-shaped prose, and the parser I wrote quietly dropped whatever it couldn’t read. Nothing crashed, so the feature “worked”. Whether it told the truth was anybody’s guess, and every line of that parser was me asking the same question over again: did it listen this time?

These days the arrangement is different: I tell it things. What the agent reads before it writes, and what checks it after, has its own post; this one is about the posture behind it.

Telling is deciding

An ask is a request the model gets to interpret. A tell is a decision it doesn’t get to make.

Written down that sounds obvious, and yet most AI code I’ve read - mine very much included - is asks all the way down. Prompts that say please, instructions phrased as suggestions, parsers that forgive. Every please in a prompt is a decision handed to a model that is very fast and forgets everything overnight, and handing it decisions is not a plan.

So the working rule: decide once, write it where the model can’t miss it, and put something that doesn’t get tired behind it.

Tell it the rules

You don’t ask a new engineer to guess the conventions; you tell them on day one. Same here: one instruction file that every tool reads, with every rule linked to the decision behind it. None of it is phrased as a question - “we don’t hard delete anything” is not a request for comments.

When I decided no AI vendor SDKs - plain fetch and thin adapters instead - the rule went into that file next to the reason, so the agent doesn’t helpfully install one for me. That’s the difference in miniature. The decision exists either way; telling means it lives somewhere other than my head.

Tell it what an answer looks like

One of the decision records has the rule as its title: a model may sort the data, never write the sentence.

The concrete example is the one from the top of this post. The app needs to know whether a recurring charge is a commitment or a habit, and the ask-era version was the polite prompt and the forgiving parser. The tell-era version hands the model a typed question and gets back a typed choice with a confidence. There is no prose to parse because there is no prose.

A typed answer is something code can branch on. An essay is something I have to read, interpret and maintain a parser for. Apart from the month and year reviews and Elaborate, every sentence in the app comes out of code. Those exceptions were decisions too, written down like the rest.

Tell it when it’s wrong

“Are you sure?” is an ask, and it gets you a confident yes either way.

So the checks don’t ask that. semantic-lint puts yes-or-no questions to a small, fast model about a file, gets back probabilities, and holds each one against floors set with real examples. One test rule errors at 0.75 and warns at 0.45. The model’s part is bounded; what the answer means was never its call. On my machine the checks advise; in CI an error-severity finding blocks the build. When the provider is having a day the job skips, because a gate that fails on noise guards nothing.

There are 20 of them at the moment, and the useful part isn’t any single one. It’s that “wrong” is a number I chose, not a vibe the model reported.

Tell it no

Some telling isn’t instructions at all; it’s physics. Apps import from packages and never from each other, and a dependency checker fails the build the moment somebody tries. Hooks stop an agent running something destructive or reading a secret, and that’s about all I’m saying about those. A migration has to work with the code that’s already running, because the deploy runs it before the new version takes any traffic.

A rule the model can talk its way around isn’t a rule. It’s a preference.

What asking is for

And yet, asking is still most of how I think. Sparring over a design before it exists, drawing conclusions across an old codebase, letting a skill interview me until a plan has no holes left in it - questions are the whole point there.

So the line isn’t ask versus tell, it’s when. Asking is for deciding; telling is for shipping. While I’m deciding, the model is a sparring partner. Once I’ve decided, the decision gets written down and told - to the agent, to the model, to the build - and the asking stops.

Which makes the measure simple. Open your prompts and count the pleases; each one is a decision you’ve delegated and a check you haven’t written. Some of them are thinking, and those can stay. The ones that are hoping have to go - and confusing the two is how you end up maintaining a parser that forgives.