-
-
GitVHS Full Hardware Workbench Ghost Secret
-
P1 Green Phosphor CRT And Multi Anomaly Cycling
-
P3 Amber Phosphor And Git Filter Repo Purge CLI
-
PR Audit Markdown Security Advisory Report
-
Real GitHub Repository Cassette Sindresorhus Ky
-
Real GitHub Repository Cassette Expressjs Express
-
Kiro IDE Specs Hooks And MCP Integration
Inspiration
Git is already a time machine, yet figuring out when a bug, a config change, or a leaked key entered a repository still means scrolling through long walls of git log output.
Even worse is the Ghost Secret problem: someone commits an API key in commit #03, catches the mistake right away, and deletes it in commit #04. Today's HEAD looks completely clean, and tools that only scan the current working tree report zero issues. Meanwhile, that key stays readable in Git history.
For the Resurrection category, I wanted to bring back the tactile feel of a 1986 4-head broadcast VHS deck (NV-G1986) paired with a curved-glass Trinitron CRT monitor (PVM-1986G), and use that hardware metaphor as a practical Git forensics workbench:
- 1 VHS cassette = 1 GitHub or local Git repository
- 1 magnetic frame = 1 chronological commit
- 4 synchronized magnetic tracks = Code Diff, File Churn, Infra/Config, and Anomalies & Ghost Secrets
What it does
GitVHS runs entirely in the browser with no backend server and no mandatory API keys. It also includes a local CLI and MCP server for Kiro IDE and Kiro Crew.
- Live GitHub Slot-In Loader: Paste any public GitHub repo (
owner/repoor full URL, likevitejs/viteorhonojs/hono) into the topGITHUB SLOT. GitVHS fetches recent commits and patches from the GitHub REST API and loads them as a 4-track.gitvhs.jsoncassette. You can optionally enter a GitHub token in memory to raise the unauthenticated API rate limit, and export or re-import cassettes locally. - Built-In Reference Cassettes:
LAB-01 · stripe-ghost-secret(clearly labeled as a simulated incident lab tape) reproduces a Stripe key committed on Frame#03and deleted on Frame#04, plus a second anomaly on Frame#06where a hotfix drops test coverage.GH-02 · sindresorhus/kyandGH-03 · expressjs/expressare pre-recorded from real public GitHub commits with direct links back to the original commits on GitHub.
- 1986 Broadcast Hardware Workbench (single-viewport
100dvh):- Left (
TRINITRON PVM-1986G): Tally lamp (CLEAN/ANOMALY/SECRET), curved-glass CRT display with scanlines, real-time HTML5<canvas>VHS RF static snow when scrubbing, phosphor switch (RGB,P1 GRN,P3 AMB),RF TRACKINGslider, touched file list, and unified diff view highlighting suspect lines. - Right (
NV-G1986 4-Head VCR): Smoked acrylic tape window with 6-spoke reels where the brown magnetic tape pack physically transfers from the supply spool to the take-up spool as you move towardHEAD, VFD meters for churn and risk, 6 tactile transport keys including the redSUSPECTkey (which cycles through every critical anomaly on the tape), a rotary aluminumJog/Shuttledial, WebAudio mechanical clicks, and a 4-tab forensic bay (4-Track Autopsy,Git Bisect / Purge CLI,PR Audit Markdown, andKiro IDE & MCP).
- Left (
- Deterministic 4-Track Scanner:
TRK 1 · CODE DIFF: File additions, deletions, touched file tree, and unified diffs.TRK 2 · HOT CHURN: Spots files rewritten repeatedly across commits.TRK 3 · INFRA / CFG: Flags changes inpackage.json,.env*, Dockerfiles, SQL migrations, and CI workflows.TRK 4 · ANOMALIES: Catches leaked credentials (including ghost secrets deleted in later commits), deleted tests, unsafe SQL/eval/CORS patterns, and oversized commits.
- Actionable Git Remediation: Generates ready-to-run
git show,git filter-repo,git bisect, andgit revertcommands along with a copyable Markdown security advisory for pull requests.
How I built it
I organized GitVHS as a TypeScript npm workspace monorepo (packages/core, packages/mcp, apps/web) so the exact same analysis engine powers both the web app and the local Kiro CLI/MCP server:
@git-vhs/core: Pure isomorphic TypeScript engine with no Node-only dependencies in browser paths. It parses commit frames, tracks ghost secrets across chronological commits, calculates churn hotspots, scores per-frame risk, and generates Git remediation commands. Covered by Vitest unit tests.@git-vhs/web: React 18, TypeScript, and Vite frontend with custom CSS hardware styling for the Trinitron bezel, walnut VCR side panels, VFD display, and tape window, plus an HTML5<canvas>RF static generator and a WebAudio synthesizer for deck clicks and rewind sound.@git-vhs/mcp: Node.js stdio Model Context Protocol (MCP) server and CLI (packages/mcp/dist/cli.js) that records any local Git repo directly fromgit logwith zero network calls or API rate limits, inspects.gitvhs.jsontapes, and returns structured results to Kiro agents.
I kept the scanner deterministic on purpose: everything runs locally on commit diffs with clear pattern rules instead of hiding behind opaque LLM calls or requiring paid API keys.
How I used Kiro (Specs, Steering, Hooks, MCP & Kiro Crew Power)
The entire .kiro/ folder is committed at the root of the repository and drives both development and local repository audits:
- Specs (
.kiro/specs/git-vhs-deck/): I wrote EARS requirements (requirements.md), the 4-track architecture and cassette schema (design.md), and the implementation task breakdown (tasks.md) before coding the deck. - Steering (
.kiro/steering/): Uses official YAML frontmatter withinclusion: alwaysonproduct.md,tech.md, andstructure.md(to keep@git-vhs/coreisomorphic and maintain the single-viewport hardware layout) andinclusion: fileMatchongitvhs-tape-spec.mdfor*.gitvhs.jsonfiles. - Agent Hooks (
.kiro/hooks/):core-tests-on-save.jsonruns the Vitest test suite whenever core engine files are edited.gitvhs-tape-autopsy-guard.jsonruns on saved*.gitvhs.jsontapes and executes the local CLI inspector to catch ghost secrets or critical anomalies automatically.
- MCP Server & Kiro Crew Power (
.kiro/settings/mcp.jsonandpowers/git-vhs/POWER.md): Exposes 5 tools (record_local_git_repo,inspect_gitvhs_tape,scrub_commit_range,generate_remediation_plan,list_preset_tapes) so Kiro IDE and Kiro Crew agents can record a local repo, jump to the suspect commit, and produce agit bisectorgit filter-repoplan offline.
Challenges I ran into
- Fitting a full dual-unit 1986 rack into a single viewport (
100dvh): Early layouts pushed the autopsy drawer and jog/shuttle controls off-screen on 1366x768 laptops. Moving the 3 cassette spines into the top 1U rack and tightening the grid geometry kept the CRT, VCR tape window, transport keys, and 4-track bay visible together without outer page scrolling. - Handling GitHub's anonymous rate limit honestly: GitHub's unauthenticated REST API allows 60 requests per hour per IP. Pre-recording two real public repositories (
sindresorhus/kyandexpressjs/express) with real GitHub commit links, clearly markingLAB-01as a simulated lab tape, and adding an optional in-memory token drawer made the demo reliable while still letting anyone load live public repos. - Keeping
@git-vhs/coreisomorphic: Running the exact same code in Vite's browser bundle, Vitest, and the Node.js MCP server meant keeping allchild_process(git log) and filesystem logic strictly inside@git-vhs/mcp.
Accomplishments that I'm proud of
- Making Git history forensics visual and immediate: watching the tape pack shift between the reels while pressing
SUSPECTsnaps the CRT straight to a deleted ghost secret makes the problem clear in a few seconds. - Shipping a zero-backend, zero-mandatory-API-key app that works live on public GitHub repos in the browser and offline on local Git repos through Kiro MCP.
- Building a real Kiro setup (Specs, YAML Steering, Hooks, MCP server, and Kiro Crew Power) that runs the project's own engine.
What I learned
- Designing around a physical hardware layout forces strict discipline on screen space: every LED, meter, and switch has to justify its place.
- Pairing deterministic history analysis with an MCP server works well for coding agents like Kiro Crew, because the agent receives exact commit indices, file paths, and reproducible Git commands rather than guessing.
What's next for GitVHS (NV-G1986)
- Add side-by-side branch comparison ("Dual-Deck Dubbing" mode) to inspect two branches or PR heads across all 4 tracks.
- Add GitHub Actions SARIF export alongside the existing Markdown PR audit report.
- Extend the local MCP recorder to inspect commit signatures and binary blob size spikes directly from
git rev-list.
Built With
- git
- github-rest-api
- html5
- kiro
- model-context-protocol
- node.js
- react
- render
- typescript
- vite
- vitest
- web-audio-api