--- description: Refresh GISHEN-MASTER-SPEC (and admin-backend-spec) before git push alwaysApply: true --- # Update master spec before push Before any **`git push`** (or when the user asks to push / open a PR that pushes): 1. Update [`docs/GISHEN-MASTER-SPEC.md`](docs/GISHEN-MASTER-SPEC.md): - Append a **Changelog** row (today’s date + why). - Refresh sections touched by this branch (auth, orgs, doctors, orders/guest, Rx dosing, catalogue/UOM/PDP, stock, loyalty). - Re-skim sibling folders under `/Users/kirukib/Desktop/Yaltopia Project/` when present: `Gishen-Mob`, `Gishen-Ecom`, `Gishen-B2B` (and Dispatch Bot if dispatch changed). Note missing folders under **Sources not found**. - Bump **Last reconciled** + Sources stamp checklist dates. 2. If Admin modules, mocks, or endpoints changed, also update [`docs/admin-backend-spec.md`](docs/admin-backend-spec.md) changelog + relevant sections. 3. Do **not** invent APIs — mark **TBD** when siblings lack a contract. 4. Prefer running `bash scripts/sync-master-spec-reminder.sh` and including refreshed docs in the commit set before push. 5. Never skip this for “docs-only is fine later” when `src/` or backend sheets changed. Do not push unless the user explicitly asked to push.