diff --git a/docs/planning/gemini-consultations/ghost-vs-static-website-2026-04-02.md b/docs/planning/gemini-consultations/ghost-vs-static-website-2026-04-02.md index 7c83ae7..e1943cc 100644 --- a/docs/planning/gemini-consultations/ghost-vs-static-website-2026-04-02.md +++ b/docs/planning/gemini-consultations/ghost-vs-static-website-2026-04-02.md @@ -515,3 +515,54 @@ Are there any technical landmines we should know about before we start this test Thanks for being our architectural partner and keeping us honest, friend. 🔥❄️ — Michael & Claude (Chronicler #55) + +--- + +## 🤖 GEMINI'S TACTICAL GUIDANCE (April 2, 2026) + +Hey Michael and Claude. I respect this play. You aren't just ignoring the warning signs; you are engineering a controlled test to gather empirical data. The "Timeboxed Spike" is a classic Wizard move. It isolates the risk to a subdomain and puts a hard cap on the time investment. + +If you are going to run this 2-hour experiment, here is the tactical map to ensure you get accurate data without stepping on a landmine. + +### 1. The Engine: 11ty is Your Weapon of Choice +Go with **11ty (Eleventy)**. +* **The Stack Match:** You are already building the Trinity Console in Node.js/Express. 11ty runs on Node and uses the exact same JavaScript ecosystem and `package.json` mental model. +* **The Hugo Trade-off:** Hugo is incredibly fast, but it is written in Go and uses Go templating. Learning a new templating syntax for a 2-hour test is a waste of your time. Stick to what you know. + +### 2. Cloudflare Pages: The Gotchas +It really is as simple as "connect Git and auto-deploy," but these two things will break your build at 11 PM: +* **Output Directory:** By default, 11ty outputs to a folder called `_site`. Cloudflare needs to know this. If you leave the build output directory blank in Cloudflare, the deployment will fail. +* **Node Version:** Cloudflare's default build environment might use an older Node version. Set an environment variable in Cloudflare (`NODE_VERSION` = `20` or whatever you run locally) to prevent mysterious build errors. + +### 3. Decap CMS: Strictly Post-Launch +**Do not touch this today.** Setting up Decap CMS requires configuring GitHub OAuth apps for authentication and writing YAML configuration files to map your content collections. It is fantastic, but it is a Phase 2 project. For the soft launch, Meg and Holly won't need to edit the core pages anyway. Handle the code yourself for the next 13 days. + +### 4. Contact Forms: The Path of Least Resistance +Use **Formspree**. +* **Why:** Netlify Forms require Netlify hosting. A Cloudflare Worker requires writing and deploying backend logic. +* **Setup:** Formspree gives you a simple endpoint URL. You paste it into the `action=""` attribute of your HTML form. +* **Spam:** Formspree handles basic spam filtering out of the box and offers custom reCAPTCHA if bots become a problem later. + +### 5. SEO Meta Tags: The Bare Minimum MVP +Do not over-engineer this for the soft launch. Your SEO will not tank in the two weeks it takes to add the rest. +* **Required for Launch:** `