Your AI Starts From Scratch Every Time

AI works safely and consistently only when the scaffolding is in place: code repository structure, progressive disclosure, instruction files, and getting the fundamentals right before anything else. It’s the only approach that holds up over time. [2:04]

Key Takeaways

  • Software has always built guardrails as it learned it needed them: unit tests, integration tests, firewalls, private networks for databases. AI needs its own set, and we’re still learning what they are.
  • Don’t expect AI to be perfect in every interaction. We don’t expect that of humans; entire company functions exist because people make mistakes. Plan for AI to make them too, with architecture that favors secure design.
  • Put your code in a single repository, organized into folders with real semantic meaning. That lets the AI learn only the part of the codebase it needs for the task instead of all of it every time.
  • Unlike an employee you train once, AI starts from scratch on every execution. Instruction files and skills keep your standards consistent without burning the token budget rediscovering them.
  • There are many ways to run an AI process, but the fundamentals don’t change. Get the scaffolding right first, then tailor it to how your team wants to work.

Cris (00:00)
In software for decades, we’ve built tools. We’ve had steps in our process, like unit tests and integration tests. We have architecture. We don’t put databases on the internet, for example. We put them in a private network. Put them behind a firewall. Why we didn’t use to do that? We didn’t use to have firewalls. We learned that we needed that. And so we built those capabilities over time. AI has its own set of capabilities that we need to learn and adapt to so that we can get the benefit out of it.

We also don’t let AI do whatever it wants. It needs guardrails of its own in the form of architecture that lends itself to secure design, rather than having AI be responsible for every single interaction being perfect in its judgment and execution. We don’t expect that of humans. We literally have entire functions in companies designed solely for the fact that humans screw things up.

AI will screw things up too, and we will need to plan accordingly.

It typically means putting all of your code in a single repository instead of spreading it out across multiple repositories, organizing it into a folder structure that has some semantic meaning to it so that the AI can start what’s called progressive disclosure, which is that it can learn every time you start a coding session, it can learn about your code base. By breaking up your code base AI doesn’t have to learn the entire code base every time. It can just learn the part

it needs for the task at hand. You couple that with the right instruction files and, all of that can be handled by skills that you set up so that your repeatable activities are done consistently every time.

And the AI doesn’t have to use its token budget to try and figure out what all of your individual standards and processes are. Because unlike an employee who you train, the AI starts from scratch on every single execution.

There’s lots of different ways that you can go about your AI process, but the fundamentals are consistent. And so the fundamentals are where we’re focused right now on helping companies get that scaffolding in place. And then from there, they can tailor it to exactly how they want to work.

Scroll to Top