DEV Community

Cover image for When the Internet Dies: How I Built DEADNET Using Kiro's Spec-Driven Development
Delight Obinna
Delight Obinna

Posted on

When the Internet Dies: How I Built DEADNET Using Kiro's Spec-Driven Development

What happens when the internet dies?

Modern communication depends heavily on internet infrastructure. But what happens when that infrastructure becomes unavailable?

Can people still exchange messages, coordinate activities and communicate emergencies?

That question inspired me to build DEADNET, my submission for the Kiroween 2026 hackathon under the Frankenstein category.

As a 400-level Software Engineering student at the Federal University of Technology Owerri, Nigeria, I wanted to challenge myself with something beyond a conventional web application.

I wanted to explore software resilience.

«When the world goes offline, humanity stays connected.»

Introducing DEADNET

DEADNET is an offline-first emergency communication and network resilience simulation platform.

It combines several technologies into a unified system:

  • Internet-independent local network communication.
  • Real-time communication channels and direct messaging.
  • Emergency SOS broadcasts and acknowledgements.
  • Persistent offline message queuing.
  • Automatic synchronization after reconnection.
  • Live network topology visualization.
  • Interactive network resilience simulation.

The Frankenstein theme encouraged me to combine technologies that are commonly used independently and bring them together to solve a different kind of problem.

However, having an ambitious idea was only the beginning.

The real challenge was turning it into a functional and testable engineering system.

That is where Kiro came in.

Moving beyond ordinary AI-assisted coding

One of the most interesting aspects of using Kiro was its spec-driven development approach.

Instead of immediately asking an AI assistant to generate an entire application, I started by establishing what DEADNET should do, how its components should interact and what conditions the system needed to satisfy.

This created a more structured development workflow.

My process involved:

  1. Defining requirements.
  2. Designing the architecture.
  3. Establishing correctness properties.
  4. Breaking development into implementation phases.
  5. Implementing individual tasks.
  6. Running automated verification.
  7. Reviewing completed checkpoints.

This helped me approach the hackathon as a software engineering project rather than simply a code-generation exercise.

*Using Kiro Specs
*

The foundation of DEADNET's development was its specification directory:

.kiro/
├── specs/
│ └── deadnet/
│ ├── requirements.md
│ ├── design.md
│ └── tasks.md
├── steering/
└── hooks/

Each specification document served a different purpose.

Requirements

The requirements established what the application needed to accomplish, including communication, authentication, emergency coordination, offline persistence and simulated network resilience.

Design

The design document translated those requirements into technical architecture, application components, data flows and correctness properties.

Tasks

The tasks document organized development into manageable implementation phases with verification checkpoints.

Instead of treating DEADNET as one enormous development task, I could work through smaller engineering problems with defined objectives.

This was particularly valuable because I was working alone.

Using Kiro Steering

As a project grows, maintaining consistent architectural decisions becomes increasingly important.

Kiro's steering capabilities helped establish project-wide development conventions and architectural constraints.

These documents provided persistent guidance for implementation, helping maintain consistency across the shared core, backend and frontend.

For a project involving real-time communication, authentication, persistence and network simulation, architectural consistency was essential.

*Using Kiro Hooks
*

I also configured a development testing hook to support automated verification.

This reinforced an important principle throughout development: implementing a feature is not the same as verifying that it works correctly.

Testing needed to be part of the development workflow, rather than something added just before submission.

*Property-based testing
*

Another valuable aspect of the development process was defining correctness properties.

Traditional example-based tests check specific inputs and expected outputs.

Property-based testing checks whether defined properties remain valid across many generated inputs.

Using Vitest and fast-check, DEADNET incorporates property-based testing alongside conventional automated tests.

This approach was particularly useful for shared algorithms and network simulation behaviour.

For example, a routing algorithm should not return a path through an unavailable relay node. A valid route should consist of connected, available nodes.

Thinking in terms of correctness properties encouraged me to consider failure conditions and edge cases before treating a feature as complete.

The technical architecture

DEADNET uses a TypeScript-based monorepo architecture.

Frontend

  • React
  • TypeScript
  • Vite
  • Tailwind CSS
  • React Flow
  • IndexedDB

Backend

  • Node.js
  • Express
  • Socket.IO
  • SQLite
  • Zod

Development and verification

  • Kiro
  • OpenAI Codex
  • Vitest
  • fast-check
  • Git and GitHub

Deployment

  • Render

The frontend handles the command-centre interface, local message persistence and network visualization.

The backend manages authenticated device communication, message delivery, emergency coordination and server-side persistence.

The shared core contains logic used across the application, including graph-based simulation algorithms.

Building communication without internet access

One of DEADNET's most important objectives was demonstrating actual local communication.

I did not want to build an application that merely displayed an offline indicator while depending entirely on internet infrastructure.

Instead, DEADNET supports communication between devices connected to the same local network through a locally hosted server.

During physical testing, I connected my laptop and smartphone through a local wireless network with internet access disabled.

I was able to exchange messages between the two devices successfully.

Seeing the delivery confirmation while internet connectivity was unavailable was one of the most rewarding moments of the project.

The underlying distinction is important: losing internet access does not necessarily mean losing local network connectivity.

DEADNET explores how that remaining connectivity can be used.

Building the Survival Simulator

The Survival Simulator explores a different problem: how a network might respond when relay nodes become unavailable.

Using breadth-first search, the simulator calculates shortest available routes through a virtual network.

Users can disable relay nodes, observe alternative routing, create network partitions and restore connectivity.

When no valid route exists, the simulated message is marked undeliverable.

This creates an interactive environment for understanding network resilience and failure recovery.

The simulator is deliberately separated from real device communication.

DEADNET currently uses server-mediated local communication; it does not implement a physical multi-hop mesh network.

Challenges beyond writing code

The project presented several engineering challenges:

  • Handling interrupted connections.
  • Preserving queued messages.
  • Synchronizing application state after reconnection.
  • Preventing duplicate message processing.
  • Authenticating connected devices.
  • Distinguishing delivery confirmation from human acknowledgement.
  • Maintaining security across local and hosted deployments.

One particularly interesting challenge appeared during production deployment.

The hosted application encountered HTTPS enforcement problems related to reverse-proxy configuration.

Rather than disabling security enforcement, I investigated the runtime proxy behaviour, made targeted configuration changes and introduced regression tests.

This reinforced another important lesson: a successful development build does not automatically guarantee a successful production deployment.

Working with limited AI development credits

Not everything went according to plan.

During frontend development, I exhausted my available Kiro credits.

By that point, Kiro had already contributed substantially to the project's specifications, architecture, shared algorithms, backend implementation and automated testing.

I continued development using OpenAI Codex while preserving the original Kiro specifications, steering documents, hooks and development evidence.

The structured foundation established with Kiro made it easier to continue implementation without abandoning the original architecture.

*For me, this demonstrated the value of maintaining explicit specifications that remain useful throughout a project's development lifecycle.
*

From an idea to 250 passing tests

The completed DEADNET project achieved 250 passing automated tests.

These include unit, integration, property-based and security regression tests.

The application was also successfully deployed as a public HTTPS demonstration with authenticated WebSocket communication.

As a solo student developer, I consider these engineering achievements just as important as the application's visual appearance.

A compelling interface attracts attention, but a well-tested implementation establishes a stronger technical foundation.

What I learned from Kiro

My biggest takeaway from using Kiro is that AI-assisted development becomes more valuable when it is guided by explicit engineering decisions.

The experience reinforced five principles:

  • Requirements should guide implementation.
  • Architecture should be established before complexity grows.
  • Correctness should be defined, not assumed.
  • Testing should accompany development.
  • Documentation should preserve the reasoning behind technical decisions.

Kiro helped me apply these principles within a time-constrained hackathon environment.

Rather than simply generating code, I was able to develop a structured system with documented requirements, implementation checkpoints and automated verification.

*What's next for DEADNET?
*

DEADNET remains an experimental prototype.

Future research and development could explore:

  • Physical multi-hop mesh networking.
  • WebRTC peer-to-peer communication.
  • Progressive Web App support.
  • End-to-end encryption.
  • Local AI-assisted emergency message classification.
  • Cross-platform mobile applications.
  • More advanced network recovery mechanisms.

There is still considerable work required before a system like DEADNET could be considered suitable for real emergency environments.

Nevertheless, the project demonstrates how familiar technologies can be combined to explore more resilient communication.

Explore DEADNET

Live demonstration:
https://deadnet-6tzb.onrender.com

Open-source repository:
https://github.com/dlyte001/deadnet

Official demonstration video:
https://youtu.be/u4W4o1zpFPA

The repository includes the original ".kiro" specifications and development evidence.

DEADNET is released under the MIT License.

The public hosted demonstration requires internet access and uses temporary storage. Local LAN mode supports communication without internet access when the local server remains reachable.

DEADNET is an experimental prototype, not a certified emergency communication system.

Final thoughts

Kiroween challenged me to combine technologies, experiment with unfamiliar concepts and build something outside my usual development projects.

Kiro helped transform that challenge into a structured engineering journey.

DEADNET is the result of that journey.

When the world goes offline, humanity stays connected.

Built for Kiroween 2026. Inspired by resilience.

KiroweenHackathon26

Top comments (0)