chore(submodules): ai-mcp canonical pools; metamask untrack dist; extend surgical clean

- ai-mcp-pmm-controller: Chain 138 allowlist matches funded PMM pool addresses.
- metamask-integration: ignore and stop tracking tsc dist/.
- surgical-clean-submodule-artifacts.sh: include metamask-integration dist/ step.
- SUBMODULE_HYGIENE: note metamask dist/ pattern.

Made-with: Cursor
This commit is contained in:
defiQUG
2026-04-07 22:15:11 -07:00
parent 518923203e
commit 08940e85aa
4 changed files with 28 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ Stricter than `git status -sb` (fails on any porcelain output). Use after large
### Surgical artifact cleanup (generated files only)
Some submodules historically tracked **build output** (TypeScript `.js` next to `.ts` under `packages/*/src`, or Foundry `artifacts/`). That noise is removed with **gitignore + `git rm --cached`**, not by discarding real source edits.
Some submodules historically tracked **build output** (TypeScript `.js` next to `.ts` under `packages/*/src`, Foundry `artifacts/`, or root `metamask-integration/dist/` from `tsc`). That noise is removed with **gitignore + `git rm --cached`**, not by discarding real source edits.
- Repeatable helper (idempotent): `bash scripts/maintenance/surgical-clean-submodule-artifacts.sh [--dry-run]`
- After it reports changes, **commit inside the submodule**, then bump the **parent** submodule pointer.