Stacklogs

Stories behind the code.

Stacklogs is a personal archive of software development stories, field notes, experiences, conversations and reflections.

  • 39 posts
  • 8 topics
  • 39 slide decks

Latest posts

EngineeringSlides

Testing AI-Written Code: Avoid Tests That Are Always Green

AI writes the code and the tests for it, so a test easily just confirms the code it just wrote. This article explains why green tests are not enough, gives a 500-thousand boundary example, and seven ways to keep tests valuable: write from the spec, see red first, break the code yourself, mutation testing, property-based testing, boundary tables and a real run.

9 min read
  • #testing
  • #tests
  • #AI
  • #mutation testing
  • #property-based testing
  • #quality
ExperiencesSlides

Seven Mistakes When Writing Requests for an Agent

Often an AI agent builds something other than what you had in mind, or reports done when it is not. This article names seven common mistakes in writing requests, based on Anthropic's practice guide and real bugs from this very blog project, with before and after request templates and a five-question list before letting an agent run alone.

9 min read
  • #AI agent
  • #writing requests
  • #prompt
  • #experience
  • #verification
  • #workflow
Field notesSlides

Thirteen Posts in a Day with AI: A Log and Numbers from the Git History

In one day this blog gained thirteen posts, twelve of them written with an AI agent. This article records the log and the numbers drawn from the git history and the chat history: 22 commits, more than 17 thousand changed lines, 47 human messages, and why the rate of bug reports fell sharply in the second half. With the limits of the numbers themselves.

11 min read
  • #AI agent
  • #field notes
  • #measurements
  • #blog
  • #productivity
  • #verification