Remove: Leprechaun NFT contracts, pages, docs, skills #241

Closed
opened 2026-05-27 07:06:56 +00:00 by PlasticDigits · 13 comments
PlasticDigits commented 2026-05-27 07:06:56 +00:00 (Migrated from gitlab.com)

Context

Remove Leprechaun NFT surface from Arena v2 full redeploy. Parent epic: #238.

Relevant files

  • contracts/src/LeprechaunNFT.sol
  • docs/product/leprechaun-nfts.md
  • skills/collect-leprechaun-sets/SKILL.md
  • frontend/src/pages/CollectionPage.tsx (if present)
  • contracts/script/DeployProduction.s.sol, DeployDev.s.sol
  • Indexer: leprechaun event tables/migrations (grep leprechaun)

Acceptance criteria

  • Contract, tests, deploy wiring removed
  • Frontend route/nav removed
  • Docs + skills deleted or archived with "removed in Arena v2" stub
  • Guardrails skill (.cursor/skills/yieldomega-guardrails/SKILL.md) leprechaun bullets removed

Verification checklist

  • rg -i leprechaun returns zero hits outside CHANGELOG/archive
  • forge build + indexer build green
## Context Remove Leprechaun NFT surface from Arena v2 full redeploy. Parent epic: #238. ## Relevant files - `contracts/src/LeprechaunNFT.sol` - `docs/product/leprechaun-nfts.md` - `skills/collect-leprechaun-sets/SKILL.md` - `frontend/src/pages/CollectionPage.tsx` (if present) - `contracts/script/DeployProduction.s.sol`, `DeployDev.s.sol` - Indexer: leprechaun event tables/migrations (grep `leprechaun`) ## Acceptance criteria - [ ] Contract, tests, deploy wiring removed - [ ] Frontend route/nav removed - [ ] Docs + skills deleted or archived with "removed in Arena v2" stub - [ ] Guardrails skill (`.cursor/skills/yieldomega-guardrails/SKILL.md`) leprechaun bullets removed ## Verification checklist - [ ] `rg -i leprechaun` returns zero hits outside CHANGELOG/archive - [ ] `forge build` + indexer build green
PlasticDigits commented 2026-05-27 07:06:56 +00:00 (Migrated from gitlab.com)

marked as related to #238

marked as related to #238
PlasticDigits commented 2026-05-27 07:07:59 +00:00 (Migrated from gitlab.com)

mentioned in issue #238

mentioned in issue #238
PlasticDigits commented 2026-05-28 12:42:59 +00:00 (Migrated from gitlab.com)

Test comment from implementation handoff

Test comment from implementation handoff
PlasticDigits commented 2026-05-28 12:43:08 +00:00 (Migrated from gitlab.com)

Implementation complete

What we did

  • Removed LeprechaunNFT contract, tests, and DeployDev / DeployProduction wiring
  • Deleted docs/product/leprechaun-nfts.md and skills/collect-leprechaun-sets/SKILL.md
  • Indexer: dropped leprechaun_nft from address registry config; removed GET /v1/leprechauns/mints and decode/persist paths
  • Frontend: removed CollectionPage, /collection route, home card, and leprechaun cutouts in surfaceContent.ts
  • Guardrails rewritten without Leprechaun references

Acceptance criteria for closing

  • Contract, tests, deploy wiring removed
  • Frontend route/nav removed
  • Docs + skills deleted
  • Guardrails skill leprechaun bullets removed

Verification checklist

  • rg -i leprechaun clean in contracts/src, indexer/src, frontend/src, docs, skills (art/audit/broadcast artifacts may still match)
  • forge build
  • cargo test (indexer)
## Implementation complete ### What we did - Removed `LeprechaunNFT` contract, tests, and `DeployDev` / `DeployProduction` wiring - Deleted `docs/product/leprechaun-nfts.md` and `skills/collect-leprechaun-sets/SKILL.md` - Indexer: dropped `leprechaun_nft` from address registry config; removed `GET /v1/leprechauns/mints` and decode/persist paths - Frontend: removed `CollectionPage`, `/collection` route, home card, and leprechaun cutouts in `surfaceContent.ts` - Guardrails rewritten without Leprechaun references ### Acceptance criteria for closing - [x] Contract, tests, deploy wiring removed - [x] Frontend route/nav removed - [x] Docs + skills deleted - [x] Guardrails skill leprechaun bullets removed ### Verification checklist - [ ] `rg -i leprechaun` clean in `contracts/src`, `indexer/src`, `frontend/src`, `docs`, `skills` (art/audit/broadcast artifacts may still match) - [x] `forge build` - [x] `cargo test` (indexer)
PlasticDigits commented 2026-05-28 12:57:55 +00:00 (Migrated from gitlab.com)

mentioned in commit e35cd0fa84

mentioned in commit e35cd0fa84b70f4759cae4f912240ac7d32c87a9
PlasticDigits commented 2026-05-29 03:24:02 +00:00 (Migrated from gitlab.com)

mentioned in issue #263

mentioned in issue #263
PlasticDigits commented 2026-05-29 08:09:58 +00:00 (Migrated from gitlab.com)

mentioned in issue #266

mentioned in issue #266
PlasticDigits commented 2026-05-30 13:35:06 +00:00 (Migrated from gitlab.com)

mentioned in issue #245

mentioned in issue #245
PlasticDigits commented 2026-05-30 13:38:58 +00:00 (Migrated from gitlab.com)

mentioned in commit ab8996683e

mentioned in commit ab8996683ec72c380242693ebd61c7368eb4d5fd
PlasticDigits commented 2026-05-30 13:39:05 +00:00 (Migrated from gitlab.com)

Verification complete (agent, worktree issue/241-leprechaun-removal-verify)

Merged to main at ab89966.

What was already done (prior handoff)

  • Removed LeprechaunNFT contract/tests/deploy wiring
  • Deleted docs/product/leprechaun-nfts.md and skills/collect-leprechaun-sets/SKILL.md
  • Indexer: dropped NFT registry/decode/API paths
  • Frontend: removed CollectionPage, /collection, home card, NFT ABI usage

What this verification pass fixed

  • rg -i leprechaun cleanup outside CHANGELOG / archive / audits: docs, skills, guardrails, scripts, bot env, mascot art path renames (bunny-girl-*, mascot-bag-bunny-pair, etc.)
  • Moved JSON schema to schemas/archive/; updated schemas/README.md + docs/schemas/README.md
  • Removed stale leprechaunReadAbi from frontend/src/lib/abis.ts
  • Documented INV-RETIRED-241-* in docs/testing/invariants-and-business-logic.md
  • Rebased onto latest main (#245 bot/skill removals) and retargeted scripts/anvil-export-bot-env.sh / sync-bot-env-from-frontend.sh to Arena v2 addresses

Build evidence

  • forge build — green
  • cargo build (indexer) — green
  • npm run typecheck (frontend, via pre-commit) — green

Manual verification checklist

  • rg -i leprechaun --glob '!**/CHANGELOG.md' --glob '!**/archive/**' --glob '!**/audits/**' → no hits in active source/docs/skills
  • forge build in contracts/
  • cargo build in indexer/
  • No /collection route in frontend router; no CollectionPage
  • DeployDev.s.sol / DeployProduction.s.sol have no NFT deploy wiring
  • Indexer has no /v1/leprechauns/* routes
  • Home/arena pages load mascot art at renamed /art/cutouts/* paths

All acceptance criteria from the issue body and prior comments pass — closing.

## Verification complete (agent, worktree `issue/241-leprechaun-removal-verify`) Merged to `main` at **ab89966**. ### What was already done (prior handoff) - Removed `LeprechaunNFT` contract/tests/deploy wiring - Deleted `docs/product/leprechaun-nfts.md` and `skills/collect-leprechaun-sets/SKILL.md` - Indexer: dropped NFT registry/decode/API paths - Frontend: removed `CollectionPage`, `/collection`, home card, NFT ABI usage ### What this verification pass fixed - **`rg -i leprechaun`** cleanup outside `CHANGELOG` / `archive` / `audits`: docs, skills, guardrails, scripts, bot env, mascot art path renames (`bunny-girl-*`, `mascot-bag-bunny-pair`, etc.) - Moved JSON schema to **`schemas/archive/`**; updated `schemas/README.md` + `docs/schemas/README.md` - Removed stale **`leprechaunReadAbi`** from `frontend/src/lib/abis.ts` - Documented **`INV-RETIRED-241-*`** in [`docs/testing/invariants-and-business-logic.md`](docs/testing/invariants-and-business-logic.md#retired-collectible-nft-gitlab-241) - Rebased onto latest `main` (#245 bot/skill removals) and retargeted `scripts/anvil-export-bot-env.sh` / `sync-bot-env-from-frontend.sh` to Arena v2 addresses ### Build evidence - `forge build` — green - `cargo build` (indexer) — green - `npm run typecheck` (frontend, via pre-commit) — green ### Manual verification checklist - [ ] `rg -i leprechaun --glob '!**/CHANGELOG.md' --glob '!**/archive/**' --glob '!**/audits/**'` → no hits in active source/docs/skills - [ ] `forge build` in `contracts/` - [ ] `cargo build` in `indexer/` - [ ] No `/collection` route in frontend router; no `CollectionPage` - [ ] `DeployDev.s.sol` / `DeployProduction.s.sol` have no NFT deploy wiring - [ ] Indexer has no `/v1/leprechauns/*` routes - [ ] Home/arena pages load mascot art at renamed `/art/cutouts/*` paths All acceptance criteria from the issue body and prior comments pass — closing.
PlasticDigits (Migrated from gitlab.com) closed this issue 2026-05-30 13:39:06 +00:00
PlasticDigits commented 2026-06-01 10:48:22 +00:00 (Migrated from gitlab.com)

mentioned in issue #274

mentioned in issue #274
PlasticDigits commented 2026-06-01 11:03:19 +00:00 (Migrated from gitlab.com)

mentioned in issue #275

mentioned in issue #275
PlasticDigits commented 2026-06-07 07:50:09 +00:00 (Migrated from gitlab.com)

mentioned in issue #299

mentioned in issue #299
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
code/yieldomega#241
No description provided.