← Your Files (uploads & deliverables) · source: dunchau-v34-handoff/README-TECHNICAL-HANDOFF.md
DunChau.com — Technical Handoff for V3.4 (prepared 2026-11-27)
Prepared by Simon (Dun's Muse). Information only — the live site was NOT modified, redeployed, or rolled back in preparing this package.
1. Current architecture
- One single, self-contained HTML file. No framework, no build step, no CMS, no database, no server code.
- Source:
dun-chau-website-mockup.html(4,681,524 bytes; 1,787 lines) - All CSS in one inline
<style>block; all JavaScript in one inline<script>block (vanilla JS, in-page view switching — it behaves like a small SPA inside one file: Home / About / Services / Pricing / Free Audit / How It Helps / service detail views / articles). - All 7 images are embedded as base64 data URIs inside the file (4 WebP, 3 JPEG). There are NO external image files on the site itself. The only external references are Google Fonts (Sora, Manrope, IBM Plex Mono).
- Title in source: "Dun Chau — Website Mockup · dunchau.com".
- Hosting: Cloudflare Pages, project name
dunchau, production branchmain, Direct Upload (no Git connection). Custom domains dunchau.com and thedunchau.com (301 redirect to dunchau.com, path + query preserved). Both domains registered at Cloudflare Registrar under the Chau and Company Cloudflare account; auto-renew on; expire Nov 21, 2027. - Live state (verified 2026-11-27, read-only):
https://dunchau.com/returns HTTP 200, 738,566 bytes — a SPLASH page only (headshot + "DUN CHAU", no services/links/nav,noindex). This was Dun's deliberate decision on 2026-11-24 while the full site is not yet to his satisfaction. The splash file as served is included in this ZIP aslive-root-splash-index.html.- The FULL site is live at the unlisted path
https://dunchau.com/full-a6bba43514/— HTTP 200, byte count identical to the source file in this ZIP (4,681,524 bytes). It is not linked anywhere. - Forms: the Free Audit / Efficiency forms submit from the page's JavaScript via the FormSubmit AJAX endpoint to Simon's Muse Mail inbox (simon89@muse.ai). FormSubmit was activated 2026-11-23. (Known issue on file: one test submission — the Payas form — never landed; the form pipeline is real but must be re-verified end-to-end after any rebuild.)
- Booking widget: front-end only. There is NO calendar/backend integration behind it yet.
- Source history: dated
.bak-YYYY-MM-DD-*copies of the single file are kept beside the source (9 backups, Nov 23–24). They are the version history — there is no Git repo.
2. Muse's current publishing process
- There is no CMS and no blog engine. "Articles" on the site are hard-coded in the single HTML file. Publishing or editing any content — a post, a photo, a price — means editing the HTML file directly, then redeploying it.
- Photos: replaced by swapping the base64 data URI inside the HTML and
redeploying. Standalone copies of the brand photos live in
profile-assets/(headshots, banners) — included in this ZIP. - Workflow rule (Dun's): website edits are collected in a batch file and
NOTHING deploys until Dun releases the batch. Current batch file is included:
website-edit-batch-2026-11-24.md(it also records the staged V3 changes: service #3 renamed AI Risk Shield → Business Growth, banner subline reorder, and a planned ungated playbook page). - Working today: direct HTML edit → Cloudflare Pages deploy (verified many times); FormSubmit form alerts to Simon's inbox; social-media publishing on Dun's platforms (done on the platforms themselves, not through the website).
- Planned only, NOT built: a real blog/CMS, online booking with a calendar backend, CRM/lead-scoring integration (GoHighLevel is the candidate; the decision is Dun's and is still open), dun@dunchau.com mailbox (host not yet approved).
3. Cloudflare deployment
- Tool:
deploy_pages.py(included) — Python, no dependencies beyond a bundled blake3. It implements the Cloudflare Pages Direct Upload flow: get upload token → check-missing assets → upload → upsert hashes → create deployment with a manifest{"/index.html": <hash>}, branchmain.cf.py(included) is a general Cloudflare API helper used for zone/domain reads and changes. - CRITICAL CAVEAT:
deploy_pages.pydeploys ONLY/index.html. Running it as-is today would (a) replace the splash at the root with the full site and (b) DROP the secret full-site path from the deployment. The interim two-file deploy script used on 2026-11-24 lived in /tmp and no longer exists; its pattern is documented in the batch file (two-entry manifest:/index.html= splash,/full-a6bba43514/index.html= full site). Any V3.4 deploy process must handle every published path explicitly. - Rollback: two layers — (1) redeploy any dated
.bakcopy of the file (this is the method actually used/available at all times); (2) Cloudflare Pages retains prior deployments, which can be rolled back to in the dashboard. There is no automated CI/CD. - Permissions (no secrets in this package): one Cloudflare API token, held in Muse's secure connector storage (never in files or chat), scoped to the Chau and Company account with Pages Edit and zone DNS Settings Edit. Known limit: the token does NOT have Zone DNS Edit — DNS record calls return error 10000; DNS records are changed in the dashboard by hand when needed. The website login for the dashboard is the chauandcompany@gmail.com account.
4. Working alongside a ChatGPT-built V3.4
Muse can keep publishing IF V3.4 keeps a clean separation between CODE and CONTENT. With the current single-file design that separation does not exist — every content edit touches the same file a developer would be rewriting, so overwrites are guaranteed eventually. Recommended structure for V3.4:
- Content as data, not code: blog posts/articles as individual files
(e.g. Markdown or JSON under
/content/), photos as real files under/assets/with stable names. Muse then publishes by adding/replacing content files only — never editing templates or layout code. - One source of truth: a single repository/folder both sides treat as canonical; changes go in as discrete, dated commits/batches, never by editing the deployed output. Deploy only from the canonical source.
- Ownership lanes: ChatGPT = templates, design, structure, strategy copy. Muse = content files, photo swaps, social/blog publishing, form/lead plumbing. A change that crosses lanes gets flagged to Dun first.
- Deploy discipline: one deployer at a time; before any deploy, the deployer confirms they hold the latest source (byte size / hash check against the live site is the current low-tech method — the full-site path today matches the source byte-for-byte).
5. What must be preserved in V3.4 for Muse to keep working
- Cloudflare Pages project
dunchau+ both custom domains and the thedunchau.com → dunchau.com redirect. - A file-based (or API-based) way to add/replace content and photos WITHOUT editing layout code — see §4.
- The FormSubmit alert flow (or an equivalent that lands form submissions in Simon's inbox) for the Free Audit / Efficiency forms — and an end-to-end test submission after the rebuild, before calling it done.
- Dun's splash-mode decision: root stays splash-only until Dun says otherwise; if V3.4 replaces the root, that is Dun's explicit call, and the secret full-site path must be migrated or deliberately retired, not silently dropped by a single-file deploy.
- The staged, Dun-approved content changes recorded in
website-edit-batch-2026-11-24.md(Business Growth rename, subline order, playbook page) — they are approved direction, not yet live. - Brand assets in
profile-assets/— Dun's real headshots; generated likenesses are not acceptable substitutes (Dun's standing instruction).
ZIP contents
dun-chau-website-mockup.html— current complete full-site sourcelive-root-splash-index.html— the splash file exactly as served at the root (2026-11-27)profile-assets/— headshots and banner assetsdeploy_pages.py,cf.py— deployment + API helpers (no credentials inside)website-edit-batch-2026-11-24.md— staged/approved changes + deploy caveatsREADME-TECHNICAL-HANDOFF.md— this file