Domdhi logoDOMDHI.OS
BACK_TO_COURSE

Steering the Build

Check the Work Like You'll Be Blamed for It

"Done" Is a Claim

AI says done when the code looks right to it. Ask for proof. Ideally from a fresh session that didn't write it and isn't defending it:

Review this Worker as if you did not write it. For each item give me the
file and line, or say "not found":
- any let or object at the top of a file that a request changes
- any promise that is not awaited, returned or passed to ctx.waitUntil
- any SQL built by gluing strings together
- any secret in code, config, a URL or a log line
- any route that writes data without checking who is calling
- any handler that does harm if the same event arrives twice
- any query that filters on a column with no index
Then prove each DONE MEANS line by running it, and paste the output.

That list isn't random. Every line is a way Workers fail quietly: leaked data, dropped work, duplicate charges, stolen keys.

Try to Break It Yourself

Ten minutes, no code:

  • Send it garbage. Send it nothing. Send it 10,000 characters.
  • Send the same thing twice, fast.
  • Log out and try the URL directly.
  • Change the ID in the address to somebody else's.
  • Open the real page and look. Not the test output. The page.

Three Different Facts

"The code is right." "The database has the data." "The page shows it." There's a cache, a deploy and a schedule sitting between those. Your user only sees the third one, so that's the one you check.

TIP

If you want this to happen every time instead of when you remember, Domdhi.Agents is a toolkit built to enforce this: specs, tests first, review by a separate agent, and gates that won't pass on a promise.

QUIZ

The AI says the feature is done and all tests pass. What's the next move?

Sign in to track lesson progress and earn a certificate.SIGN IN TO SAVE PROGRESS