--- title: Activity Log tags: [audit, log, append-only] created: 2026-05-28 --- # Activity Log Append-only log of every `git push` from `backend` and `frontend`. Newest entries on top. Maintained by agents per the rule in `../AGENTS.md`. --- ### 2026-05-28 — backend@1889169, frontend@c44ed64 — Task #7 A verification fix: multi-checkout conversion + orphan-payment guard **Commits:** backend `1889169` (2.6.43 → 2.6.44), frontend `c44ed64` (2.6.43 → 2.6.44) **Touched:** - Backend: `src/services/marketplace/RequestTemplateService.ts` - Frontend: `src/sections/payment/checkout/rn-multi-checkout-view.tsx` **Why:** A verification revealed two gaps: (1) `RnMultiCheckoutView.handleFinish` only navigated to payment list and never called `convertTemplatesToRequests`, so multi-seller carts never created PurchaseRequests; fixed by calling conversion with stashed cart items and navigating to the first created request. (2) Backend orphan-payment cleanup found ALL pending payments for the buyer and hard-deleted all but the first — fatal for multi-seller carts; fixed by restricting orphan query to `provider: 'shkeeper'` only so request.network payments retain their independent lifecycle. **Verification:** Pushed to `integrate-main-into-development` on both repos — Woodpecker builds pending. **Linked docs updated:** [[03 - API Reference/Payment API]] --- ### 2026-05-28 — backend@faf2221, frontend@022ecb6 — Task #7 derived destinations: sweep autostart, recordSweep fix, multi-seller checkout UX **Commits:** backend `faf2221` (2.6.42 → 2.6.43), frontend `022ecb6` (2.6.42 → 2.6.43) **Touched:** - Backend: `src/app.ts`, `src/models/DerivedDestination.ts`, `src/models/Payment.ts`, `src/services/payment/requestNetwork/requestNetworkPayInService.ts`, `src/services/payment/wallets/derivedDestinations.ts`, `.env.example` - Frontend: `src/sections/payment/checkout/rn-in-house-checkout-view.tsx`, `src/sections/request-template/request-template-checkout-payment.tsx`, `src/web3/components/multi-seller-provider-payment.tsx`, `src/sections/payment/checkout/rn-multi-checkout-view.tsx`, `src/app/checkout/request-network/multi/page.tsx` **Why:** PRD items D/E/F + frontend cart-aware checkout (A). Auto-start sweep cron on boot; fix `recordSweep` to `$inc` totalSwept instead of `$setOnInsert`; widen Payment unique index to include `sellerOfferId` for multi-seller carts; add multi-seller checkout wrapper and wire into template + request flows. **Verification:** Pushed to `integrate-main-into-development` on both repos — Woodpecker builds pending. **Linked docs updated:** [[03 - API Reference/Payment API]] (derived-destination endpoints) --- ### 2026-05-28 — backend@e46be98, frontend@af77b3c — add nick-doc sync rule + version bumps **Commits:** backend `e46be98` (2.6.24 → 2.6.25), frontend `af77b3c` (2.6.25 → 2.6.26) **Touched:** `backend/AGENTS.md`, `frontend/AGENTS.md` (new), both `package.json` + `package-lock.json` **Why:** Establish a mandatory rule that every code push must be followed by a nick-doc Activity Log entry (and relevant section updates) so the vault never falls behind the code. Frontend AGENTS.md created from scratch (was missing). **Verification:** Pushed to `integrate-main-into-development` on both repos — Woodpecker builds pending. **Linked docs updated:** This vault's `AGENTS.md` updated with the same rule. **Note:** Backend (2.6.25) and frontend (2.6.26) are intentionally one patch apart — backend was a version behind before this session. Should be re-aligned on the next paired bump. --- ### 2026-05-28 — frontend@9d4aa37 — fix 429 request storm on template SWR hooks **Commits:** `9d4aa37` **Touched:** `src/actions/request-template.ts` **Why:** Production browser showed repeated 429 (Too Many Requests) on `/api/marketplace/request-templates/sellers`. Default SWR config was revalidating on focus/reconnect and retrying on errors, making backend rate-limit recover impossible without a restart. **Verification:** Pushed, awaiting Woodpecker build. Visual confirmation on dev.amn.gg after deploy. **Linked docs updated:** none yet — SWR pattern should be promoted to `07 - Development/Coding Standards.md` in a follow-up. --- ### 2026-05-28 — frontend@6c89444 — improve request template form debug feedback **Commits:** `6c89444` **Touched:** `src/sections/request-template/request-template-new-edit-form.tsx` **Why:** Users could not tell why "ایجاد قالب" failed — validation errors silently blocked submission, API errors collapsed to generic "خطایی رخ داده است!", and the "انتشار" Switch in renderActions was visual-only. **Verification:** Type-check passes via Docker build in prior session; manual browser test pending. **Linked docs updated:** none. --- ### 2026-05-27 — frontend@8c0f14d, ad498f4, f3a3c9d, bb72a66 — unblock 2.6.19 Docker build **Commits:** `bb72a66` `f3a3c9d` `ad498f4` `8c0f14d` **Touched:** `src/sections/request-template/request-template-checkout-payment.tsx`, `src/web3/components/wallet-selector.tsx`, `tsconfig.json`, `src/types/payment.ts` **Why:** Docker build was failing on TypeScript compilation after the wallet-support + test-payment feature merge. Four distinct errors fixed: User type uses `_id` not `id`; wallet-selector imported non-existent `@/components/ui/dialog`; `@/*` path alias missing from tsconfig; IPayment metadata type didn't allow test-payment fields. **Verification:** Local `docker build` succeeded — image `escrow-frontend:2.6.19` created. **Linked docs updated:** none — should add SWR + UI library notes to `07 - Development/Coding Standards.md`. ---