Files
encyclopedia-knowledge-graph/docs/archive/PLAN-DONATE-SUBPAGE-MINIMAL-REDUCTION.md
T

47 lines
5.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Plan: Minimal Element & Text Reduction of `/donate/` (`site/donate/index.html`) — Three-Sentence Lemur Note + Existing Payment Channel Elements Only (`v2.0.24`)
- **Document ID:** `PLAN-DONATE-SUBPAGE-MINIMAL-REDUCTION` (`v2.0.24`)
- **Roadmap Status:** **ACTIVE / READY**
- **Target File:** `/workspace/hyperstitionstudio-core/site/donate/index.html`
- **Core Objective:**
Reduce `/donate/index.html` strictly by **removing intermediate essay/sandbox elements and excess prose**—recreating zero UI components—so the page consists of:
1. The existing `<header>` navigation bar (`lines 340–355`),
2. A single **<= 3-sentence note of love and appreciation from the Lemurs** in the established authorial affect,
3. The existing `#fuel-channels` payment panel (`lines 439–481`: the centerpiece `.tactile-donate-btn.centerpiece`, `#copyFeedbackBanner`, and `#channelCardsGrid` displaying the existing `BTC` and `XMR` `.channel-card` payment elements), and
4. The existing `<footer>` (`lines 491–494`: `"Made with ♥ by Lemurs."`) and copy-to-clipboard `<script>`.
---
## 1. Exact Element Retention vs. Deletion Specification (`site/donate/index.html`)
No new UI components, CSS rules, or payment cards are created; the edit is a pure subtraction of multi-section prose and sandbox chrome:
| DOM Section in `site/donate/index.html` | Current Lines | Action (`KEEP` / `REDUCE` / `DELETE`) | Details |
| :--- | :---: | :---: | :--- |
| **1. `<header>` & `.top-nav`** | `340–355` | **KEEP AS-IS** | Preserves the title, `urn:io:hyperstitionstud:donate:v2.0.24` subtitle (required by `version_sync.py`), and `.top-nav` links (`/`, `/quant/`, `/graph/`, `/learn/`, `/calc/`). |
| **2. Top Intro Note (`<section class="panel">`)** | `358–384` | **REDUCE TO `<= 3` SENTENCES** | Strips the 4-paragraph essay and duplicate `#heroDonateBtn` column, leaving a single clean `<section class="panel">` containing **3 sentences max** of love from the Lemurs (see Section 2 below). |
| **3. Section 1: `<section class="questions-grid">`** | `386–403` | **DELETE (`100%`)** | Removes the 3 long essay cards (*"01 // The Ghost in the Spelling"*, *"02 // The Load-Bearing Chokepoints"*, *"03 // The Discipline of the Room"*). |
| **4. Section 2: `<section class="sandbox-card">`** | `405–427` | **DELETE (`100%`)** | Removes *"04 // Interactive Curiosity Sandbox"* (`#curiosityPills`, `#expInputA`, `#expInputB`, `#expReadout`) and its unused `PHONEMIC_MAP` JS (`lines 515–584`), along with unused `.questions-grid` / `.sandbox-card` CSS rules. |
| **5. Section 3: `<section class="panel">`** | `429–436` | **DELETE (`100%`)** | Removes *"05 // Backing the Signal — Where Patronage Goes"*. |
| **6. Section 4: `<section class="panel" id="fuel-channels">`** | `439–481` | **KEEP EXISTING PAYMENT ELEMENTS AS-IS** | Retains `#primaryDonateActionBtn` (`.tactile-donate-btn.centerpiece`), `#copyFeedbackBanner`, and `#channelCardsGrid` (the existing `BTC` and `XMR` `.channel-card` blocks with their `.addr-box` and `.copy-channel-btn` buttons untouched). Deletes only the redundant 4-button bottom nav row (`lines 483–488`) that duplicates `<header>`. |
| **7. `<footer>` & Copy Handler `<script>`** | `491–645` | **KEEP (TRIM UNUSED SANDBOX JS)** | Retains the `version_sync.py` footer (`hyperstitionstud.io/donate v2.0.24` + `"Made with ♥ by Lemurs."`), `file:` protocol route mapper, and `copyChannelAddress()` handler. |
---
## 2. Exact Three-Sentence Introductory Copy (Love From the Lemurs, Established Authorial Affect)
Inside the single introductory `<section class="panel">`, the text is capped at **three sentences**:
> **Sentence 1:** Every instrument on `hyperstitionstud.io`—the 388-node knowledge graph, the 22-volume encyclopedia, the multi-cipher calculator, and the closing-bell time-series workbench—is built and tended with ♥ by Lemurs as an open, zero-tracker laboratory.
> **Sentence 2:** We leave the cover off the machine so anyone curious enough to trace where spoken English, supply-chain bottlenecks, and market tape cross can inspect the raw readout and test their own hypotheses for free.
> **Sentence 3:** If an equation lock, a field dossier, or an hour spent exploring the workbench sparked a new line of thought, toss a little fuel into the reactor via the payment channels below.
---
## 3. Two-Step Implementation & Verification Plan
1. **Step 1 — Prune `site/donate/index.html`:**
- Remove the intermediate sections (`lines 358–436` & `483–488` and the unused `PHONEMIC_MAP` sandbox script/styles), insert the 3-sentence Lemur note above `#fuel-channels`, and keep the existing `#fuel-channels` payment elements (`#primaryDonateActionBtn`, `#copyFeedbackBanner`, and `#channelCardsGrid` with the existing `BTC` and `XMR` cards) completely intact.
2. **Step 2 — Verify via `tests/test_core_suite.py` & `deploy/test-first-deployment.sh`:**
- Assert that `site/donate/index.html` passes `version_sync --check`, `ReadOnlyIsolationGuard`, offline URN/portability checks, and returns `HTTP 200 OK` in `deploy/test-first-deployment.sh`.