MOONZON V147 — PORTAL ROLE-GUARD HARDENING & LOCAL QA ==================================================== आधार: V146 source package. बदलाव additive है; पुराने portal और provider source files सुरक्षित रखे गए हैं। इस अपडेट में ------------- 1. 42 feature launcher के click handler में missing target की स्थिति अब साफ संदेश देती है; hash navigation को चुपचाप नहीं छोड़ा जाता। 2. Feature target के साथ उसके किसी parent पर .hide, HTML hidden attribute या aria-hidden="true" होने पर भी launcher उसे नहीं खोलता। 3. Cross-portal hidden content को force-unhide नहीं किया जाता। सही role वाले portal में login करना आवश्यक है। 4. Regression test को बढ़ाकर hidden ancestor / hidden attribute / aria-hidden guard की जाँच शामिल की। स्थानीय QA परिणाम ----------------- - 42/42 launcher targets मौजूद। - Button-based launcher मौजूदा button handler invoke करता है। - Hidden / aria-hidden cross-portal targets role-gated हैं। - Form/input target scroll और focus जाँचे गए। - Customer deep-link tests: 6 PASS. - Cart logic tests: 3 PASS. - Login routing regression tests: 5 PASS. - Shared Supabase config audit: PASS (7 active pages). - 21 HTML pages; 513 IDs; duplicate IDs: 0. - Local file references: 194; cross-page fragments: 72. - Inline JavaScript syntax: 12/12 PASS. - Edge Function TypeScript syntax: 17/17 PASS. - Frontend RPC-to-migration mappings: 28/28 PASS. - Edge Function invocation mappings: 12/12 PASS. - Form submit-handler mappings: 15/15 PASS. - Category mappings: 8/8 PASS. - Overall local test failures: 0. जो अभी LIVE प्रमाणित नहीं है ----------------------------- - Supabase project से वास्तविक connection/login और customer/seller/admin account आधारित RLS tests नहीं किए गए। - 31 SQL migrations शामिल हैं, लेकिन कोई migration execute नहीं की गई। - 17 Edge Functions source में हैं, लेकिन deploy नहीं की गईं। - Browser में वास्तविक desktop/Android visual click-through इस environment में नहीं हुआ। - Cashfree और Delhivery integration/testing इस चरण में जानबूझकर स्थगित हैं। - 42 launchers का अर्थ 42 अलग backend services नहीं है; वे मौजूदा portal modules तक पहुँचते हैं। अगला सुरक्षित चरण ----------------- 1. Supabase का backup लें और deployed migration history की तुलना ZIP की migrations से करें। 2. पहले केवल missing migrations को schema review के बाद dependency order में apply करें; SQL error पर रुकें। 3. अलग customer, seller और admin test accounts से RLS/permissions जाँचें। Seller approval/KYC gating, customer order ownership, admin-only actions और staff permissions की live पुष्टि करें। 4. प्रत्येक feature के वास्तविक create/read/update/action workflow को test data पर जाँचें। 5. Cashfree/Delhivery को अलग phase में Sandbox से शुरू करें। Release classification: SOURCE UPDATE + LOCAL STATIC/REGRESSION QA PASS. यह LIVE-PRODUCTION CERTIFICATION नहीं है। Production deploy अभी न करें।