Menu

How I Built a Frankenstein Incident Detector with Kiro's Spec-Driven Workflow
📰

How I Built a Frankenstein Incident Detector with Kiro's Spec-Driven Workflow

DEV Community: aws·SUJIT SAI Y·2 days ago
#cNleE9Yf
#devtoaws#devto#dev#kiroween2026#kiro
Reading 0:00
15s threshold

SUJIT SAI Y

Posted on Dec 4

Edited on Dec 4

AI-assisted

When a service fails, the clues are split across tools: a CPU spike in process metrics, an outbound burst in network logs, missed heartbeats. Each tool alerts on its own. For Kiroween 2026, I built StitchGuard to stitch them into one incident.

Specs first, code second

I started with Kiro specs, not prompts. Requirements, then design, then tasks, with a review at every gate. When I wanted the incident to escalate live, I changed the requirements and design first, and Kiro implemented from them. The specs never drifted from the code.

Steering kept it honest

Seven steering docs set the rules: deterministic results, simulation-only actions, and "correlated, not proven" language. Tests even ban the word "cause".

Property tests found a real bug

I wrote 17 Hypothesis properties. One says results must be identical whatever order events arrive in. It failed, and exposed an arrival-order bug that example tests had missed.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.