From ee06b957f9a008262e1051e57330b6db2f60aecc Mon Sep 17 00:00:00 2001 From: juanatsap Date: Mon, 17 Nov 2025 14:22:23 +0000 Subject: [PATCH] docs: correct PROJECT-MEMORY.md with accurate architecture info MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Critical corrections based on user feedback: 1. Hyperscript Parser Limit (Section 2) - Changed status to "NEEDS RETESTING" with latest hyperscript version - 3 def statement limit may no longer exist after upgrade - TODO: Test if limit still applies with current version 2. Toggle + Hover Synchronization (Section 3) - Clarified toggle checkboxes WORK perfectly ✅ - Documented HOVER SYNC BUG for PDF/Print buttons ❌ - Action bar hover doesn't sync with menu button hover - Added file references and bug details - Test coverage gap identified 3. Real-Time Rendering + Persistence (Section 4) - Corrected misconception: BOTH DOM and localStorage required - Not mutually exclusive - need instant feedback AND persistence - Added clear examples of correct vs incorrect implementation 4. Architecture - Tech Stack - CORRECTED: Backend is Go (NOT Bun/Hono) - Go 1.21+ with standard library net/http - Bun is ONLY test runner, not the runtime - Added complete frontend stack details 5. File Organization - CORRECTED: Actual Go project structure - main.go entry point (v1.1.0) - internal/ package organization - Complete template hierarchy - Critical files list updated Fixes hallucinated architecture information and provides accurate technical foundation for future developers. --- PROJECT-MEMORY.md | 156 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 108 insertions(+), 48 deletions(-) diff --git a/PROJECT-MEMORY.md b/PROJECT-MEMORY.md index cf69d4f..9e62013 100644 --- a/PROJECT-MEMORY.md +++ b/PROJECT-MEMORY.md @@ -32,16 +32,15 @@ const showLogos = ... --- -### 2. Hyperscript Parser Limit (CRITICAL) +### 2. Hyperscript Parser Limit (NEEDS RETESTING) -**Maximum 3 `def` statements total across ALL files** +**⚠️ TO VERIFY: Maximum 3 `def` statements limit with latest hyperscript version** -Hyperscript 0.9.14 has a hard parser limit: -- ✅ Max 3 `def` statements across entire application -- ✅ Count includes ALL `