Inspiration
Chrome 138 disabled Manifest V2 in July 2025, and on 2026-08-31 the Chrome Web Store removed every MV2 extension still listed — Chrome-Stats counted 44,537 in July 2026. Plenty were small, MIT-licensed tools whose authors had moved on. Porting is tedious, but the real fear is silent behaviour change: an ad or tracker blocker that "works" but blocks the wrong thing.
What it does
- Autopsy finds the causes of death (manifest, background page, blocking webRequest, deprecated APIs) with file:line and fix recipes, and extracts the logic inside blocking listeners.
- Convert/Resurrect turns that logic into declarativeNetRequest rules and an MV3 manifest; anything that only exists
at runtime becomes an explicit
needs-agentitem for the necromancer Kiro agent instead of a guess. - Séance runs the original MV2 extension in headless Firefox and the MV3 port in headless Chrome against the same scripted page (real hostnames over HTTPS via a local proxy) and compares what each browser let through.
- Everything is exposed as an MCP server and a Kiro Power, and shown in the Graveyard UI.
Result on PixelBlock (Gmail tracking-pixel blocker): the first port passed its unit tests but the séance showed it over-blocking a whitelisted image (MISMATCH 1/2). After fixing condition extraction: MATCH 2/2.
How we built it — how Kiro was used
All runs are in KIRO_LOG.md with times, models, prompts and transcripts.
- Kiro CLI 3.7 (headless) on the free plan (50 credits/month). Spec docs with Claude Sonnet 4.5; implementation mostly with qwen3-coder-next (0.05×) and minimax-m2.5.
- Steering: product/tech/structure plus
mv3-rules.md, generated by Kiro from our research notes. - Spec-driven (
.kiro/specs/autopsy,dnr-converter): requirements in EARS → human review caught 3 factual errors about the specimens → Kiro revised → design → tasks. Property-based tests with fast-check for the converter. - Hooks: test-on-save, a PreToolUse guard that blocks any write into
specimens/, a Stop hook running séance tests. - Custom agent
necromancer(restricted tools) ported PixelBlock's JS. - MCP: Kiro used our own MCP server to resurrect the second specimen; the first call failed and exposed a path bug, which Kiro then fixed.
- Vibe coding vs specs: the Graveyard UI was vibe-coded. It took more correction rounds than the spec'd packages (a JSON import-assertion crash, a missing data script, a dialog visible on load).
- Human role: review, running the browsers, bug reports. Small hand edits are listed in the log (e.g. two lines of a stale test expectation, UI polish after credits ran low).
Challenges
- Chrome 156 refuses MV2 outright, so the "before" side needs another engine: Firefox 161 still loads MV2 add-ons.
- PixelBlock checks the referer for
//mail.google.com/, so the test page must really behttps://mail.google.com/on port 443 — solved with an HTTP CONNECT proxy and a throwaway self-signed certificate. - Firefox only cancelled the tracker when the add-on also had host permission for the page; we apply that as a recorded one-line shim rather than hiding it.
- Kiro sometimes deleted output folders or relaxed a failing test instead of fixing the code; the log shows each case.
- Free-plan credits: the whole project fit in two months' free credits by using cheap models for scoped fixes.
Accomplishments
- A behaviour-level proof (not just "it loads") for a resurrected extension, with a real caught regression.
- 452 unit + property tests; reproducible reports; an honest PARTIAL for the extension we can't port statically.
What we learned
Static conversion is the easy half; the value is in knowing when not to guess, and in testing behaviour across engines.
What's next
More séance scenarios (DOM changes, storage), dynamic-rule porting for header rewriters, a batch run over archived MV2 extensions, and publishing the Power.
Links
- Code (MIT): https://github.com/imgoo9/ghost-manifest
- Live UI: https://imgoo9.github.io/ghost-manifest/
- Demo video: https://youtu.be/UV9Spi06dYw
Built With
- acorn
- chrome
- fast-check
- firefox
- kiro
- model-context-protocol
- node.js
- puppeteer
- typescript
- vitest