Skip to main content

3 posts tagged with "AI-Assisted Development"

View All Tags
Count the decisions in your spec

Count the decisions in your spec

· 9 min read
Mohamed Bamoh
Senior Technical Consultant & Solution Architect

Spec-driven development is a popular answer to a familiar problem: prompt an agent straight into code, and a few days later nobody can explain why the code does what it does. So instead you let the agent write the specification first, usually requirements, a design and a list of tasks, and implement from that. GitHub's Spec Kit, Kiro and BMAD are built around this flow, and most coding agents will follow it without any tool at all.

The idea is sound. The catch is how cheap the specs themselves have become. Any current coding agent can write a product requirements document, an architecture overview and twenty user stories in an afternoon. The result looks professional, with headings and acceptance criteria, sometimes even a glossary. It can still leave every important decision untouched.

Here's the kind of fragment such a run produces:

### FR-12 Discount codes
Customers can apply a discount code at checkout.
Each code can be used once. Invalid or expired codes show an error.

Count the decisions in it. "Used once" could mean once per customer or once in total. Nothing says whether a cancelled order gives the redemption back, whether the code stacks with a sale price, or what happens when two checkout requests redeem the same code at the same moment. The fragment sounds settled and settles very little.

Sandbox All the Things: Running AI Coding Agents Less Insecurely

Sandbox All the Things: Running AI Coding Agents Less Insecurely

· 11 min read
Jeremy Meier
Software Engineer

Companion blog for deciders: Vertrauen ist gut, Sandbox ist besser: Warum KI-Coding-Agenten technische Grenzen brauchen

TL;DR​

Use least privilege + isolation:

  • need a Windows guest: vagrant
  • really only need a simple sandbox with a Linux guest: docker sbx
  • everything else: vagrant

What to expect​

This is not another FOMO article about the shiny new tool that makes you a 100x dev.

It's also not an explainer on how to use %insert-your-favourite-agent-harness-here% effectively or efficiently. There's plenty of that already (some of it even good, or so I am told).

This is about running it less insecurely (yes, there is a difference from "more securely"; please don't get me started, I haven't ranted about that topic to anybody for at least 2.8 days).

You need to discover what your way of working actually requires and then do your own threat modelling. You may come to the conclusion that running locally is completely fine. Or you may come to the conclusion that not even air-gapping is good enough.

Basically: we get to (re)discover the principle of least privilege.

Oh, and another disclaimer: parts of this post might read a bit like a rant. That's because parts of this post are a rant. I get grumpy when (apparently) trillion-dollar companies repeatedly make security-critical mistakes you would expect from a junior in, say, 1995.

Reasonable-looking and wrong