What
A Manifest V3 Chrome extension that injects a small tombstone badge on GitHub repo pages. When a repo is dead (based on our API), the badge appears near the repo header and links to its full certificate on commitmentissues.dev.
Behaviour
- User visits any GitHub repo page (e.g. `github.com/atom/atom`)
- Extension calls `https://commitmentissues.dev/api/repo?url=https://github.com/atom/atom\`
- If `deathIndex >= 6`, inject a badge near the repo title:
`🪦 Declared Dead — View Certificate →`
- Badge links to `https://commitmentissues.dev/?repo=atom/atom\`
- If API is unavailable or rate-limited → badge is silently skipped (no error state shown)
Technical notes
- MV3 extension (not MV2)
- Content script only, no background service worker needed for MVP
- Badge should be injected once per page load, cleaned up on navigation (GitHub is a SPA)
- Style the badge to feel native-ish to GitHub's UI — dark bg, small font, no jarring contrast
- Use `AbortSignal.timeout(4000)` on the fetch so slow API doesn't block page render
File structure
```
extension/
├── manifest.json
├── content.js
└── icon.png ← reuse src/app/icon.png
```
Acceptance criteria
What
A Manifest V3 Chrome extension that injects a small tombstone badge on GitHub repo pages. When a repo is dead (based on our API), the badge appears near the repo header and links to its full certificate on commitmentissues.dev.
Behaviour
`🪦 Declared Dead — View Certificate →`
Technical notes
File structure
```
extension/
├── manifest.json
├── content.js
└── icon.png ← reuse src/app/icon.png
```
Acceptance criteria