Self-HostedDocker · Self-hosted · Localhost only

TimeWraith

Self-hosted autonomous regression investigator for date and time bugs. Sweeps public GitHub repositories across 13 IANA time zones in isolated Docker sandboxes and verifies fixes through eight deterministic gates.

DockerSelf-HostedKiro CrewMCPDST & Time ZonesJS / TS / Python

Ready to use TimeWraith?

Runs locally in Docker on 127.0.0.1:8787. Inspect four preloaded cases without signing in, or sign in with your own Kiro account for live hunts.

View on GitHub
Advertisement
⚡
13-Zone Clock Sweep

Sweeps ~2,600 clock points per experiment across 2024–2026 DST shifts, Lord Howe 30-minute offsets, leap day, and month ends.

⚡
Agent Proposes, Code Referees

Kiro agents discover suspects, verify repeats, and draft patches—deterministic code checks citations, runs clean repeats, and enforces 8 gates.

⚡
Four-Container Isolation

Backend, Kiro Crew (no repo mount), no-network test sandboxes, and an isolated GitHub container keep secrets and untrusted repos separated.

Quick Start (One Docker Command)

TimeWraith ships as a single multi-architecture image (linux/amd64 and linux/arm64) requiring Docker Desktop 4.29+ or Docker Engine 26+. Nothing else is installed on your machine:

docker run -d --name timewraith --restart unless-stopped -p 127.0.0.1:8787:8787 \
  --label com.docker.compose.project=timewraith \
  --label com.docker.compose.service=app \
  -v timewraith-data:/data \
  -v /var/run/docker.sock:/var/run/docker.sock \
  ghcr.io/tumblerwarren/timewraith-kiroween:latest

Open http://localhost:8787. The container listens on 127.0.0.1 only because the local API has no login. You can immediately browse four finished cases (rrule, cron-parser, node-cron, and date-fns), or sign in to Kiro once from the Crew Setup page to run live investigations.

How an Investigation Works

  1. Repository analysis: clones a pinned commit with hardened Git (hooks, submodules, LFS, and symlinks disabled) and records language, lockfile, and test runner capabilities.
  2. Discovery (Bat Scout): reviews scanner candidates for clock reads, date math, and time zones; code drops any citation that cannot be resolved.
  3. Experiment design (Pumpkin Mechanic): writes a small adapter and selects invariants from a fixed catalog; code validates the adapter at ordinary baseline instants before sweeping.
  4. Controlled execution: sweeps ~2,600 clock points across 13 IANA time zones in no-network Docker containers against fixed code oracles.
  5. Independent verification (Raven Archivist): violations that repeat 3/3 in clean containers are checked against repository tests/docs and probed live; defects require a generated regression test that fails on the original commit.
  6. Fix & eight gates (Doctor Stitch): edits source files through scoped MCP tools (100 calls / 12 min per attempt), then code applies the diff to a fresh clean copy and enforces all eight gates—including mutation testing, full test suite, static checks, and a blind review by Raven.

Practical Limits to Know Before Running

  • Supported stack: end-to-end support for JavaScript/TypeScript repositories using Jest or Vitest at the repository root, plus a partial Python (pytest) path.
  • No browser or server clocks: tests code through the repository’s unit test runner; browser DOM clocks and remote server clocks are outside scope.
  • Fixed schedule sweep: evaluates a fixed set of ~2,600 clock points per experiment without adaptive shrinking.
  • Plain-text intent search: repository docs and tests are searched by plain text, so undocumented or unusually structured behavior can be missed.
  • Kiro credit budget: live investigations consume your signed-in Kiro account’s credits (typically 18–30 agent calls per case).

Guides & Walkthrough

Sponsored Content

Frequently Asked Questions

Do I need a Kiro account just to explore TimeWraith?+

No. The published Docker image ships with four completed cases (rrule, cron-parser, node-cron, and an inconclusive date-fns run) preloaded in SQLite, so you can inspect findings, regression tests, decision records, and eight-gate results without signing in or spending credits.

Does TimeWraith expose my repositories or machine to untrusted code?+

All clock sweeps, probes, and tests run inside throwaway Docker containers with all capabilities dropped, a read-only root filesystem, no Docker socket, and no network access. Network access is enabled only during dependency installation. The Kiro Crew container has no repository mounted and accesses files solely through TimeWraith’s token-gated MCP proxy.

Which programming languages and test runners are supported?+

JavaScript and TypeScript repositories using Jest or Vitest at the repository root are supported end to end. Python has a partial worker path for pytest experiments. Other languages, monorepo sub-package runners, and browser/server clock testing are not supported yet.

Does TimeWraith push code or open pull requests automatically?+

Never automatically. A fix must pass all eight gates on a fresh clean checkout, then you explicitly accept it to create a local branch and downloadable patch. Optional GitHub fork, push, and PR creation use a separate isolated container and require explicit branch-name confirmation.

What happens if a run hits my Kiro monthly usage limit or time budget?+

TimeWraith stops gracefully instead of claiming a clean run. Time-budget wrap-up keeps all reproduced findings and regression tests, and a Kiro quota hit is marked clearly as "Agents stopped" with the reason.