chore(submodules): miracles deploy-package hygiene; PMM micro-trade scenario

- miracles_in_motion: untrack api/deploy-package tsc emit (zip layout from api/dist).
- cross-chain-pmm-lps: add gas-budgeted micro-trade scenario JSON + doc.
- surgical-clean-submodule-artifacts.sh: miracles_in_motion step; SUBMODULE_HYGIENE note.

Made-with: Cursor
This commit is contained in:
defiQUG
2026-04-07 22:46:39 -07:00
parent 08940e85aa
commit b117585cfd
4 changed files with 23 additions and 3 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`, Foundry `artifacts/`, or root `metamask-integration/dist/` from `tsc`). 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/`, root `metamask-integration/dist/` from `tsc`, or `miracles_in_motion/api/deploy-package/` copies of `api/dist`). 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.