TechnicalDiscussion

TNO070: Spec Driven Design (SDD) for NetOps and NetEng

Lasse Haugen, a NetOps engineer from Norway, discusses how Spec-Driven Development (SDD) combined with AI tools like Claude has transformed his approach to network automation and infrastructure projects. He shares practical examples of using SDD to build sustainable, maintainable code while leveraging AI as a collaborative partner rather than a code generator.

Summary

The episode features an interview with Lasse Haugen, a network operations engineer at Norway's public road administration, recorded at AutoCon 5 in Munich. Haugen began his career in network automation by necessity—setting up computer parties at age 14 required rapid configuration deployment. This led to work on The Gathering, Norway's largest computer party with 5,000+ participants, where he developed zero-touch provisioning solutions. He now works in a specialized role focused entirely on automation, freed from day-to-day outage response through team collaboration.

The core topic is Spec-Driven Development (SDD), a methodology that uses AI to create disciplined, guardrailed automation projects. Rather than using AI for direct code generation (vibe coding), SDD involves defining intent, constraints, and success criteria in structured specifications. Haugen describes his journey from initial skepticism about AI tools to trusting them through iterative specification development. His primary example is Taylite, a syslog collector project that underwent four iterations of specification refinement, ultimately reducing production logs by 98% to surface only operationally relevant messages.

Haugen's workflow demonstrates how SDD differs from traditional vibe coding: code is treated as cheap and disposable, with the specification as the valuable artifact. He moved beyond manual spec creation to having AI generate specifications based on his intent, then used Claude's "Grill Me" skill to identify overlooked requirements and edge cases. For a Google Cloud infrastructure project, Claude conducted six rounds of interview questions about his two-datacenter topology, automatically identifying the right SR Linux and Junos images, validated designs, and Terraform configurations.

Key practices include treating specifications as product requirements documents that non-technical stakeholders can review, using AI as a collaborative thought partner rather than a code generator, and building trust through repeated iteration and testing. Haugen demonstrates productivity gains through unconventional methods—walking in forests while discussing project architecture with Claude, dictating notes while driving, and using a "brain dump agent" to automatically organize and categorize conference learnings into structured project documentation.

For his next major project, a GNMI-based in-house monitoring solution, he's generating a 10,000-line specification entirely through dialogue with Claude before any code development begins. He emphasizes that AI excels at identifying database design patterns and operational considerations that non-DBAs might overlook. Haugen also discusses trust-building: starting with small experiments, accepting that specifications will evolve, maintaining conversation history for context, and leveraging AI's memory of previous projects to maintain consistent implementation patterns.

The conversation touches on cost considerations, suggesting that as token costs rise, local models will become more attractive. Haugen contrasts SDD with traditional SaaS tools, noting that in-house solutions developed with AI allow for immediate feature implementation without vendor roadmap delays. His worst outage was taking down internet connectivity at The Gathering due to local ISP configuration issues—a cautionary tale about infrastructure dependencies at scale.

About this episode

NetOps engineer Lasse Haugen sits down with Scott Robohn at AutoCon 5 to explore the power of Spec Driven Design (SDD) for transforming network engineering workflows from chaotic experimentation to structured, reliable automation. Together they define what SDD is, use cases for NetOps and NetEng, how it has changed NetOps, and more. AdSpot Sponsor: NANOG,<a class="excerpt-read-more" href="https://packetpushers.net/podcasts/total-network-operations/tno070-spec-driven-design-sdd-for-netops-and-neteng/" title="ReadTNO070: Spec Driven Design (SDD) for NetOps and NetEng">... Read more &#187;</a>

Key Insights

  • Haugen claims that Spec-Driven Development fundamentally changed his approach by defining intent, constraints, and success criteria upfront, then treating generated code as disposable artifacts while the specification becomes the durable asset
  • He argues that AI-generated code from vibe coding is problematic for maintaining larger codebases and introduces security risks, whereas SDD provides guardrails that prevent the model from introducing unwanted features or sensitive data
  • Haugen reports that through iterative specification refinement across four versions of Taylite, Claude recommended features he hadn't anticipated, demonstrating that the AI can identify missing operational requirements beyond the engineer's initial intent
  • He claims that maintaining conversation history with Claude allows the model to learn his coding patterns and architectural preferences, so new projects automatically adopt the same implementation style without re-specification
  • Haugen states that he stopped relying on specifications once the codebase established clear patterns, then switched to Claude's Grill Me skill which identifies edge cases and corner cases he didn't consider, such as job state recovery during server restarts
  • He argues that non-technical stakeholders (product managers, leadership) can read and review 10,000-line markdown specifications to understand requirements without needing to understand the eventual code implementation
  • Haugen demonstrates that AI tools excel at identifying database architecture patterns and operational considerations for time-series data that non-DBA engineers might overlook, filling domain knowledge gaps
  • He claims that code being 'cheap and fast to regenerate' with AI enables a fundamentally different development mindset where throwing away iterations and starting fresh becomes preferable to optimizing or maintaining problematic outputs

Topics

Spec-Driven Development (SDD) methodologyAI-assisted network automation with Claude and CodexBuilding trust in AI tools through iterationSustainable code generation versus vibe codingNetwork operations and event infrastructure automationZero-touch provisioning and configuration managementIn-house monitoring solution developmentAI as collaborative thought partner

Transcript

Today's episode is brought to you by the North American Network Operators Group, NANOG. NANOG meets three times a year, and the next meeting is NANOG 98 in beautiful Miami, Florida on October 19th through the 21st. Register today at nanog.org. on October 19th to the 21st. Register today at nanog.org. Welcome to Total Network Operations. On the road from AutoCon 5 in Munich, Germany. It's incredible to be here. And we have a really fun guest to talk with today, Lasse Haugen from Norway. We started having a conversation at the happy hour on Monday evening. We started having a conversation at the happy hour on Monday evening. Actually, before that, Lhasa is a listener to Total Network Operations…

Full transcript available for MurmurCast members

Sign Up to Access

More from The Everything Feed - All Packet Pushers Pods

Get AI summaries like this delivered to your inbox daily

Get AI summaries delivered to your inbox

MurmurCast summarizes your YouTube channels, podcasts, and newsletters into one daily email digest.