🕯️ Inspiration

Every codebase has a past. Most developers only see its present.

A function behaves unexpectedly. A feature disappears. A bug survives several releases. The code tells us what is happening, but not always why it happened.

The answers are often scattered across commits, pull requests, issues, and individual code changes. Reconstructing that history means following fragments of evidence, connecting decisions, and figuring out what actually happened.

We wanted to turn that process into something different.

SEAN was born from the idea of combining real software investigation with psychological horror. What if exploring a repository's history felt less like browsing Git logs and more like uncovering something that was never meant to be found?

That became the foundation of SEAN:

The horror is the experience. The investigation is the product.


🔍 What it does

SEAN is an AI-powered repository investigation experience that helps developers uncover the history behind a codebase.

Instead of relying only on the current state of the source code, SEAN explores the evidence left throughout a repository:

  • Git history: Search commits and trace how code evolved.
  • Code blame: Identify when lines changed and which commit introduced them.
  • Pull requests: Retrieve the context behind proposed and merged changes.
  • Issues: Explore reported problems and their recorded discussions.

The results are organized into structured investigation reports. SEAN distinguishes verified evidence from inference, makes uncertainty explicit, and acknowledges when the available information is insufficient.

It does not need to invent an explanation to make an investigation feel complete.

But the way users experience that investigation is different from a conventional developer tool.

SEAN wraps the process in a psychological horror environment. Players explore a dark space, discover clues, encounter an Ouija-inspired cinematic sequence, and face a presence that becomes increasingly threatening as the experience progresses.

The horror layer is connected to the investigation experience rather than being a separate decorative screen. The player is not simply reading a report: they are entering an atmosphere built around the act of uncovering hidden information.

For users who want to experience the game without connecting a repository, SEAN also includes a standalone demo mode.


🎬 SEAN in action

These recordings show the two sides of SEAN: uncovering a repository's history and surviving what waits beyond the investigation.

1. Repository Investigation & Ouija Cinematic

The investigation interface leads into the Ouija-inspired cinematic, connecting the discovery of technical evidence with the horror experience.

SEAN — Repository Investigation and Ouija Cinematic

2. Horror Gameplay & Jumpscare

After entering the environment, players explore, encounter the presence, and experience the consequences of getting too close.

SEAN — Horror Gameplay and Jumpscare


🏗️ How we built it

SEAN was built using Kiro, React, Vite, TypeScript, Python, and FastAPI.

Its architecture separates the deployed web experience from the machine that has access to the repository.

The frontend is deployed on Netlify. The FastAPI companion agent runs locally on the developer's Windows machine, where repository access and Git operations take place. This keeps repository operations on the user's machine instead of requiring a hosted backend to access the codebase.

The deployed frontend connects to the local agent through an origin-authorized pairing flow. Once paired, the frontend can request investigation operations while the local agent handles access to repository data.

This separation was an important architectural decision:

The interface can be publicly accessible without moving the user's repository investigation backend into the cloud.

🔌 Connecting to SEAN

We documented the setup process so users can go from downloading the project to connecting the local agent to the deployed frontend.

The process involves:

  1. Cloning the repository and installing the project dependencies.
  2. Starting the local FastAPI companion agent.
  3. Authorizing the deployed frontend origin.
  4. Opening SEAN, navigating to Settings → Sean agent, and selecting Connect to the Sean agent.
  5. Entering the pairing code displayed in the agent terminal to complete the connection.

Starting the local agent (Windows 10/11)

Run this command from the project root in PowerShell:

powershell -ExecutionPolicy Bypass -File scripts\start_agent.ps1 -AllowedOrigin https://sean-local-web-preview.netlify.app

The -AllowedOrigin argument authorizes the exact frontend origin. If using a different deployment or preview URL, replace it with that URL's exact origin.

Platform compatibility

  • Windows 10/11: Supports the deployed frontend, Demo Mode, and full local repository investigation through the companion agent.
  • macOS and Linux: Support accessing the deployed frontend and using Demo Mode. The local companion agent and full repository investigation are currently Windows-only.

The pairing process establishes a connection between the browser and the local agent without requiring repository access to be hosted in the cloud.

We wanted the local-first architecture to be practical to use, not just an implementation detail.

Here's the setup and pairing process:

SEAN — Local Agent Startup and Pairing Tutorial

⚙️ Building with Kiro

Kiro was central to how we planned, implemented, and verified SEAN. Our documented development workflow centered on the Kiro IDE, using its specifications, steering documents, hooks, skills, custom agents, workflows, and context controls to manage a project with several interconnected workstreams.

📐 Spec-driven development

Rather than relying entirely on open-ended prompts, we organized major features into specifications containing requirements, design documents, and implementation tasks. These covered areas such as evidence retrieval, the Ouija experience, immersive gameplay, and engineering intelligence.

This gave the implementation a defined target and made it easier to break complex features into smaller, verifiable tasks. Compared with unstructured vibe coding, the specification-driven approach provided a clearer record of expected behavior, architectural decisions, and remaining work.

🧭 Steering documents

We used persistent steering documents to give Kiro project-wide context. They established the architecture, engineering standards, product behavior, security expectations, and evidence-integrity rules.

One particularly important strategy was to make evidence integrity an explicit engineering constraint: SEAN can use fictional horror elements in its presentation, but its repository findings must distinguish verified evidence from inference and uncertainty.

This helped keep implementation decisions aligned with the product's core purpose.

🤖 Custom agents

We created specialized agents for code review, security auditing, and test engineering. Each had scoped responsibilities and permissions, allowing us to approach different engineering concerns with more focused instructions instead of relying on one general-purpose agent for every task.

These agents supported review and verification throughout development, particularly where changes could affect security, architecture, or expected behavior.

🛡️ Agent hooks

We implemented a custom PreToolUse hook that requests confirmation before agents modify or delete designated approved documentation.

This added a safeguard to documentation workflows and helped prevent unintended changes to files that should remain protected.

🧩 Skills and workflows

Reusable Kiro skills defined repeatable workflows for implementing specifications, verifying features, reviewing security, and validating the game experience.

We also used Kiro IDE Workflows to organize separate implementation workstreams for startup behavior, the cinematic experience, and archive functionality.

This made recurring development processes more structured and easier to follow.

🔗 MCP integration

We implemented a custom, read-only Python MCP server that exposes repository investigation capabilities, including Git history search, blame, pull request retrieval, and issue retrieval.

The server reuses the backend's investigation logic, allowing Kiro to access repository evidence through a structured tool interface.

This extended Kiro's ability to inspect and reason about repository history without requiring a separate implementation of the investigation logic.

⚡ Kiro Powers and deployment

We used the Netlify deployment Power for guidance on the frontend deployment process.

This helped us work through deployment-specific concerns while keeping the local FastAPI agent separate from the hosted frontend.

🧠 Context management

We used KiroIgnore to exclude secrets, dependencies, generated files, and test artifacts from the agent's relevant working context.

This helped keep the information available to Kiro focused on project-owned code and documentation.

🧪 Testing and verification

We used pytest, Vitest, and Playwright to test backend behavior, frontend functionality, and browser flows.

We also maintained workstream reports documenting implementation progress, verification results, and remaining issues, giving us a traceable record of each development phase.

Our specifications included plans for property-based testing with Hypothesis, but that strategy was not implemented or executed in the submitted project. The implemented property-related checks instead used explicit enumerated cases and parametrized tests.

We consider this an area for future improvement rather than claiming generative testing coverage we did not have.


⚠️ Challenges we ran into

🌐 Connecting a deployed frontend to a local backend

One of the most challenging architectural problems was allowing a publicly deployed website to communicate with a backend running on a user's own machine.

We had to account for different origins, local-agent startup, origin authorization, and a pairing mechanism without compromising the decision to keep repository access local.

This required treating the frontend and companion agent as separate parts of one application rather than assuming they would run under the same origin.

🔎 Keeping investigation evidence trustworthy

SEAN combines an AI-assisted investigation concept with a fictional horror narrative. That creates an important boundary:

The horror experience can be fictional, but the engineering findings cannot be.

We needed to ensure that errors, missing information, and incomplete evidence remained visible. A failed retrieval should not become a fabricated conclusion just to keep the experience moving.

👁️ Making horror and gameplay coexist

The cinematic sequences, Ouija interaction, clues, monster behavior, and game-over flow had to work together as one coherent experience.

The horror could not interrupt the underlying game logic or replace the investigation results. We had to preserve the gameplay flow while making the environment feel reactive and threatening.

🚀 Production-specific behavior

Testing also exposed issues that did not appear in the development environment.

This reinforced the importance of validating production builds and real browser flows instead of treating a successful local run as proof that deployment is complete.


🏆 Accomplishments that we're proud of

We are proud that SEAN is more than a visual experiment: it combines a real repository investigation workflow with a distinct interactive experience.

Our main accomplishments include:

  • Building repository investigation capabilities around Git history, blame, pull requests, and issues.
  • Separating the deployed frontend from the local companion agent, keeping repository operations on the user's machine.
  • Implementing an origin-authorized pairing flow between the web application and the local backend.
  • Creating a psychological horror experience with exploration, clues, an Ouija-inspired cinematic, monster encounters, and a game-over sequence.
  • Providing a demo mode that makes the horror experience accessible without requiring a repository connection.
  • Implementing a custom read-only MCP server that exposes repository investigation capabilities.
  • Using Kiro's specifications, steering, hooks, skills, agents, workflows, and context controls as part of a structured development process.
  • Preserving the distinction between verified evidence, inference, and uncertainty.
  • Documenting the local-agent setup and pairing process to make the architecture easier to use.

The achievement we value most is bringing two seemingly unrelated ideas together without sacrificing the purpose of either one.

SEAN is not a horror game with Git-themed decorations. It is a repository investigation tool with a horror experience built around the act of uncovering the truth.


💡 What we learned

We learned that building with AI agents requires more than writing prompts and accepting generated code.

A project becomes easier to manage when its architecture, constraints, and expected behavior are explicit. Kiro's specifications and steering documents helped establish that foundation, while hooks, skills, specialized agents, and workflows helped make development more structured.

We also learned that agent context needs to be managed deliberately. Giving an agent access to more information is not automatically better; relevant context, clear responsibilities, and boundaries matter.

On the engineering side, we learned that local-first architecture introduces real integration challenges when a deployed frontend needs to communicate with a local service. Security, browser behavior, origin restrictions, and startup reliability must be considered together.

Finally, SEAN taught us that an unusual creative direction can coexist with technical discipline.

The atmosphere may be fictional, but the underlying engineering must remain real.


🔮 What's next for SEAN

SEAN has room to grow in both of its dimensions.

On the engineering side, we want to expand repository investigation capabilities, improve evidence traceability, support a smoother local-agent setup, and broaden browser compatibility.

On the experience side, we want to introduce more reactive encounters, richer environmental storytelling, and stronger connections between discoveries in a repository and events inside the game.

Our long-term goal is to make SEAN a memorable way to explore the hidden history of software.

Because every codebase has a story.

And not everything hiding in yours wants to be found.

Built With

  • agent
  • agents
  • custom
  • development
  • documents
  • fastapi
  • git
  • hooks
  • ide
  • kiro
  • kiroignore
  • mcp
  • netlify
  • powers
  • python
  • react
  • skills
  • spec-driven
  • steering
  • typescript
  • vite
  • workflows
Share this project:

Updates

Submission history