WhoBuilt

BDD, ADR, PRD, WTF: Capturing Decisions for Humans and AI Alike

Jun 3, 2026· 13 min· 31K views·Watch on YouTube

Speaker

Michal Cichra of Safe Intelligence talks about recording product, architecture, and behavior decisions so teams and AI agents can follow them; he says the ideas draw on his experience at Microsoft and Red Hat.

Record why decisions exist

People forget context and teams change, while AI agents may lose context through compaction. Architecture decision records explain why a rule exists and how to enforce it. Cichra gives examples such as separating code layers to prevent N+1 queries and linting module imports to enforce that structure.

Connect product requirements to behavior

A product requirements document can briefly capture a feature’s purpose, the problem it solves, and the user journey. Cichra argues that behavior-driven development can make specifications executable and readable. He describes using Cucumber scenarios linked to product requirements and user journeys to check how the application behaves.

Use design systems for consistent interfaces

Cichra says agents need documented design language, reusable components, and patterns to build consistent interfaces. Teams can define rules such as allowing only one visible primary button on a page, provide component previews, and review interfaces against their principles.

Enforce decisions through a feedback loop

Cichra’s loop combines Git hooks, skills, CI, linters, and other checks, with the same tasks run locally and in CI. Checks cover formatting, types, duplication, architecture, and documentation, leaving code review to focus on higher-level issues. When a commit is rejected, the agent can follow a link to the relevant decision, fix the issue, and try again.

Keep the loop focused and recoverable

The loop stays the same across feature, UI, and backend work, while skills change its focus. Cichra describes a test skill that selects tests based on coverage and changed files, and a UI loop that iterates quickly in a browser. He reports that sessions with 20 to 50 context compactions have worked because agents can look up the important decisions again.

Takeaways

  • Write architecture records that explain both the reason for a rule and how it is enforced.
  • Keep product requirements concise: capture the purpose, problem, goal, and user journey.
  • Link readable, executable behavior scenarios to critical user journeys and requirements.
  • Automate routine checks in Git hooks and CI so code review can focus on product and architecture.
  • Use focused agent skills and linked documentation to make long sessions recoverable after context compaction.

Mentioned in this talk

Search inside this talk

What was claimed 13

Show all 13 facts

Related talks