Current Legacy (optic.tgpu.my)
Served by production-worker.js with inline HTML on /choose-demo, /client-demo, /experience, /admin-demo, /request, and /shop pointing to Supabase demo project.
First-Pilot Commercial & Operations Kit
Built for owner sign-off without fabricated prices, unverified DNS claims, or hidden lock-in. Customer service fees always stay with the optical shop; TGPU Digital bills only for agreed software setup and support.
01 · Domain & Infrastructure Cutover Plan
Reviewing existing wrangler.jsonc and legacy production-worker.js reveals a two-part cutover so the new product site ships without disrupting existing mail or legacy worker routes.
Served by production-worker.js with inline HTML on /choose-demo, /client-demo, /experience, /admin-demo, /request, and /shop pointing to Supabase demo project.
Worker tgpu-optic uses assets.directory: ".". For static Cloudflare Workers Assets, clean routes (/shop, /bio, /walkthrough, /staff, /pilot-kit) or Node/Worker adapter must exclude internal folders (data/, server.js, production-worker.js) via .assetsignore.
Product site on https://optic.tgpu.tech/ with canonical tags, index,follow on / only, and noindex,nofollow on /shop, /bio, /walkthrough, /staff, and /pilot-kit.
| Phase | Action & DNS / Worker Rule | Safety Guardrail | Rollback Target |
|---|---|---|---|
| 1. Pre-flight Audit | Inspect tgpu.tech DNS zone for existing optic or wildcard *.tgpu.tech CNAME/A records and audit .assetsignore exclusions. | Leave root apex tgpu.tech, MX, SPF, and DKIM email records untouched. | Abort DNS edit before propagation; zero impact on mail or apex site. |
| 2. Exact-Host Binding | Bind Cloudflare Worker custom domain strictly to exact host optic.tgpu.tech (or exact-host CNAME optic). | Keep optic.tgpu.my running legacy production-worker.js unchanged until founder signs off cutover. | Remove custom domain binding from Cloudflare Workers and restore prior DNS target. |
| 3. Live Verification | Verify HTTPS TLS 1.2/1.3 cert, HTTP -> HTTPS redirect, canonical = https://optic.tgpu.tech/, X-Robots-Tag / meta robots per route, and mobile layout at 360px–1440px. | Confirm /data/shop-profiles.json, /server.js, and /production-worker.js return 404 publicly. | Re-point optic.tgpu.tech or revert deployment via Cloudflare Worker version rollback. |
| 4. Legacy optic.tgpu.my Decision | After 7 days stable on optic.tgpu.tech, optionally add a 301 redirect on optic.tgpu.my/ or archive legacy worker. | Never break active demo links during live owner walkthroughs without notice. | Restore production-worker.js commit snapshot on optic.tgpu.my. |
02 · Client Shop Onboarding Sheet
Fill out or print this sheet during onboarding. Every client shop runs on its own data/shop-profiles.json entry and its own verified registrar domain.
03 · Commercial Quote Template (Placeholders Only)
Replace bracketed placeholders before issuing to a prospective optical shop. No unapproved commercial figures or fake discounts appear here.
Commercial Proposal · Draft Template
| Line Item | Scope & Ownership Boundary | Fee / Timing Placeholder |
|---|---|---|
| Pilot Implementation (One Outlet) | Branded client storefront ([Target Client Domain]), social/QR bio link, Regular-Customer New Designs showcase, closed-day validated booking builder, editable WhatsApp handoff, EN/BM/AR language toggle. | [Agreed Pilot Setup Total · MYR] |
| Upfront Setup Deposit | Collected upon signed onboarding agreement; 100% credited toward the Agreed Pilot Setup Total (not an extra non-credited fee). | [Deposit Amount · Creditable] |
| Launch Acceptance Balance | Due only after client reviews live preview on [Target Client Domain] and confirms mobile/WhatsApp flow works. | [Remaining Balance · On Launch] |
| Client Domain Registration / Renewal | Billed directly by registrar in client's legal name; TGPU never marks up or holds client domain ownership hostage. | [Paid Directly to Registrar] |
| Optional Monthly Support & Updates | Managed hosting, uptime checks, seasonal holiday updates, and new-design catalogue refreshes. | [Optional Monthly Retainer · After Pilot] |
| Customer Service & Retail Payments | 100% handled directly between the optical shop and its customers (in-store or shop's own channels). Zero TGPU transaction cut. | RM 0 / 0% platform fee |
04 · Honest Engineering & Operational Readiness
What is live right now, what is proven in this local application preview, and what remains gated on external infrastructure or user approval.
| Surface / Capability | Status | Evidence & Operational Boundary |
|---|---|---|
| Legacy Demo Host (optic.tgpu.my) | Live Legacy Baseline | Served via production-worker.js (/choose-demo, /client-demo, /admin-demo). Kept untouched until founder approves cutover. |
| Product Site (/) | Ready in Preview | optic.tgpu.tech canonical metadata, 5 owner answers, deliverables, validated preview intake API + mailto:mamduh@tgpu.my handoff, EN/BM/AR RTL switcher, brand QA logo checks. |
| Client Storefront & New Designs (/shop) | Ready in Preview | Profile-driven via data/shop-profiles.json, regular-customer new designs + direct owner WhatsApp booking, closed-day & holiday validation, editable WhatsApp review, missing/unconfigured graceful fallback. |
| Social & QR Bio Link (/bio) | Ready in Preview | 4 high-contrast thumb actions with verified WhatsApp launch, branch hours modal, and synthetic preview modal when unconfigured. |
| 90-Second Owner Walkthrough (/walkthrough) | Ready in Preview | 5-step interactive phone walkthrough, copyable bio URL, separate handoff vs. confirmation counters, QA test shortcuts, persistent printable launch checklist. |
| Phase-2 Staff Demo (/staff) | Ready in Preview | Server-enforced x-staff-shop-id returning 403 on cross-shop read/write, idempotent submission, distinct preferred vs. confirmed slots, audit trail, synthetic seed data. |
| optic.tgpu.tech Live DNS & TLS | Blocked / Pending Approval | Requires live Cloudflare zone DNS update, exact-host Worker binding, and post-cutover curl TLS/header checks outside this workspace. |
| Persistent DB & Automated WhatsApp API | Phase 2 Roadmap | Local preview uses deterministic in-memory storage and manual customer-initiated wa.me links; production Phase 2 requires database RLS migrations and WhatsApp Cloud API credentials. |
Scan to book an eye exam, browse new frames & WhatsApp our shop