diff --git a/SERVER_UPDATE.md b/SERVER_UPDATE.md
deleted file mode 100644
index 35cbd03..0000000
--- a/SERVER_UPDATE.md
+++ /dev/null
@@ -1,361 +0,0 @@
-# Server Update Plan - Phase 3a: HTML-First API Architecture
-
-## ๐ฏ Current Status & Vision
-
-### **What We Discovered**
-Our frontend has evolved to a sophisticated **HTML-first approach** with:
-- StyleAware editor with automatic style detection from nested elements
-- HTML preservation with perfect attribute fidelity
-- Rich content editing capabilities with formatting toolbar
-- Template-based style preservation using CLASSES.md methodology
-
-However, our **server API is still text-focused**, creating a fundamental mismatch between frontend capabilities and backend storage.
-
-### **Core Requirements Identified**
-1. **HTML-First Storage**: Replace `value` with `html_content` field for direct HTML storage
-2. **Template Preservation**: Store `original_template` for consistent style detection
-3. **Enhancer-First Workflow**: Enhancer stores content on first pass, ignores processed elements
-4. **No Markdown Processing**: Remove all markdown logic from injector - HTML only
-5. **StyleAware Editor Compatibility**: API must match library expectations
-6. **Dev Convenience**: Option to clean DB for fresh development iterations
-
-## ๐๏ธ Implementation Strategy
-
-### **1. HTML-First Database Schema (Direct Replacement)**
-
-**Updated Schema:**
-```sql
--- SQLite schema
-CREATE TABLE content (
- id TEXT NOT NULL,
- site_id TEXT NOT NULL,
- html_content TEXT NOT NULL, -- Rich HTML content (innerHTML)
- original_template TEXT, -- Original element markup for style detection (outerHTML)
- type TEXT NOT NULL,
- created_at INTEGER DEFAULT (strftime('%s', 'now')) NOT NULL,
- updated_at INTEGER DEFAULT (strftime('%s', 'now')) NOT NULL,
- last_edited_by TEXT DEFAULT 'system' NOT NULL,
- PRIMARY KEY (id, site_id)
-);
-
--- PostgreSQL schema
-CREATE TABLE content (
- id TEXT NOT NULL,
- site_id TEXT NOT NULL,
- html_content TEXT NOT NULL, -- Rich HTML content (innerHTML)
- original_template TEXT, -- Original element markup for style detection (outerHTML)
- type TEXT NOT NULL,
- created_at BIGINT DEFAULT EXTRACT(EPOCH FROM NOW()) NOT NULL,
- updated_at BIGINT DEFAULT EXTRACT(EPOCH FROM NOW()) NOT NULL,
- last_edited_by TEXT DEFAULT 'system' NOT NULL,
- PRIMARY KEY (id, site_id)
-);
-```
-
-**Key Changes:**
-- โ **Removed `value` field** - HTML serves both editing and injection needs
-- โ **Added `html_content`** - Direct HTML storage for content editing and injection
-- โ **Added `original_template`** - Preserves developer templates for StyleAware editor style detection
-- โ **Simplified approach** - No complex template locking, focus on core functionality
-
-### **2. Enhancer-First Workflow (First-Pass Processing)**
-
-#### **Unprocessed Element Detection:**
-- Elements without `data-content-id` attribute are unprocessed
-- Enhancer processes these elements and assigns IDs
-- Subsequent enhancer runs skip elements that already have `data-content-id`
-
-#### **Content Storage on First Pass:**
-```go
-func processElement(node *html.Node, siteID string) {
- // Check if already processed
- existingID := getAttribute(node, "data-content-id")
- if existingID != "" {
- return // Skip - already processed
- }
-
- // Extract content and template
- contentID := generateContentID(node, filePath)
- htmlContent := extractInnerHTML(node) // For editing/injection
- originalTemplate := extractOuterHTML(node) // For style detection
- contentType := determineContentType(node)
-
- // Store in database
- createContent(siteID, contentID, htmlContent, originalTemplate, contentType)
-
- // Mark as processed
- setAttribute(node, "data-content-id", contentID)
- setAttribute(node, "data-content-type", contentType)
-}
-```
-
-#### **Development Convenience:**
-- First-pass processing automatically handles new elements without affecting existing content
-- Developers can iterate on unprocessed parts while preserving existing content
-
-### **3. Injector Redesign (HTML-Only)**
-
-#### **Remove Markdown Processing:**
-- Delete `MarkdownProcessor` and all markdown-related logic
-- Direct HTML injection using existing `injectHTMLContent()` method
-- Simplified injection flow focused on HTML fidelity
-
-#### **Updated Injection Process:**
-```go
-func (i *Injector) InjectContent(element *Element, contentID string) error {
- // Fetch content from database
- contentItem, err := i.client.GetContent(i.siteID, contentID)
- if err != nil || contentItem == nil {
- // No content found - add attributes but keep original content
- i.AddContentAttributes(element.Node, contentID, element.Type)
- return nil
- }
-
- // Direct HTML injection - no markdown processing
- i.injectHTMLContent(element.Node, contentItem.HTMLContent)
- i.AddContentAttributes(element.Node, contentID, element.Type)
-
- return nil
-}
-```
-
-#### **Content Type Handling:**
-- All content types use HTML storage and injection
-- Remove type-specific processing (text, markdown, link)
-- StyleAware editor handles rich editing based on element context
-
-### **4. StyleAware Editor Integration**
-
-#### **API Response Format (Matches Editor Expectations):**
-```json
-{
- "id": "hero-title-abc123",
- "site_id": "mysite",
- "html_content": "
Welcome to Our Company
",
- "original_template": "
Welcome to Our Company
",
- "type": "text",
- "created_at": "2024-01-15T10:30:00Z",
- "updated_at": "2024-01-15T10:30:00Z",
- "last_edited_by": "user@example.com"
-}
-```
-
-#### **Editor Integration:**
-- **Style Detection**: Uses `original_template` for consistent formatting options
-- **Content Editing**: Uses `html_content` for rich text editing
-- **Perfect Alignment**: Response format matches StyleAware editor analysis requirements
-- **Multi-Property Support**: Complex elements (links) work seamlessly with preserved templates
-
-#### **Updated API Models:**
-```go
-type ContentItem struct {
- ID string `json:"id"`
- SiteID string `json:"site_id"`
- HTMLContent string `json:"html_content"` // For editor content
- OriginalTemplate string `json:"original_template"` // For style detection
- Type string `json:"type"`
- CreatedAt time.Time `json:"created_at"`
- UpdatedAt time.Time `json:"updated_at"`
- LastEditedBy string `json:"last_edited_by"`
-}
-```
-
-## ๐ Development Workflows
-
-### **Enhanced Development Workflow:**
-```bash
-# Start development iteration
-insertr enhance ./mysite --site-id mysite
-
-# Files are processed, content stored, elements marked as processed
-# Subsequent enhancement runs skip already processed elements
-# Developer can iterate on unprocessed parts without affecting existing content
-
-# Start development server
-insertr serve --dev-mode
-
-# Editor changes -> only html_content updated, templates preserved
-# Style detection uses stored original_template for consistency
-```
-
-### **Production Workflow:**
-```bash
-# Production enhancement (no DB cleanup)
-insertr enhance ./mysite --site-id mysite
-
-# Production server
-insertr serve
-
-# All editing preserves original developer templates
-# StyleAware editor gets consistent style detection from stored templates
-# Content updates only affect html_content field
-```
-
-## ๐ฏ Key Benefits
-
-### **For Developers:**
-โ **Efficient Processing**: Only process unprocessed elements, skip already handled ones
-โ **Development Convenience**: Optional DB cleanup for fresh iterations
-โ **HTML-first approach**: Direct alignment with StyleAware editor capabilities
-โ **Zero Configuration**: Automatic detection and processing of viable elements
-
-### **For Content Editors:**
-โ **Style Preservation**: Developer styles always available via original_template
-โ **Rich Editing**: Full HTML capabilities with formatting toolbar
-โ **Perfect Fidelity**: No lossy conversions, complete attribute preservation
-โ **Design Safety**: Cannot accidentally break developer styling constraints
-
-### **For System Architecture:**
-โ **Simplified Flow**: No markdown conversion complexity
-โ **Direct Injection**: HTML content injects directly into static files
-โ **Clean Separation**: Enhancement stores content, API serves editing
-โ **Performance**: Skip already-processed elements for faster builds
-
-## ๐ Implementation Tasks
-
-### **Week 1: Database Foundation**
-1. **Schema Updates**
- - [ ] Update SQLite schema: replace `value` with `html_content`, add `original_template`
- - [ ] Update PostgreSQL schema: replace `value` with `html_content`, add `original_template`
- - [ ] Update `content.sql` queries to use new fields
- - [ ] Regenerate SQLC models
-
-2. **API Models**
- - [ ] Update `ContentItem` struct to use `html_content` and `original_template`
- - [ ] Update request/response structs for new field names
- - [ ] Update API handlers to work with new field structure
-
-### **Week 2: Enhancer Logic**
-3. **First-Pass Processing**
- - [x] Update enhancer to detect processed elements via `data-content-id`
- - [x] Update enhancer to store `html_content` and `original_template` on first pass
- - [x] Implement deterministic ID generation for consistent content injection
-
-### **Week 3: Injector Redesign**
-4. **HTML-Only Injection**
- - [ ] Remove `MarkdownProcessor` and all markdown-related code from injector
- - [ ] Update injector to use `html_content` directly via `injectHTMLContent()`
- - [ ] Remove type-specific content processing (text, markdown, link)
-
-### **Week 4: Integration Testing**
-5. **StyleAware Editor Compatibility**
- - [ ] Test API responses work correctly with StyleAware editor
- - [ ] Verify `original_template` enables proper style detection
- - [ ] Test rich HTML editing and injection end-to-end
-
-## ๐ Implementation Strategy
-
-### **Priority Order:**
-1. **Database Changes First**: Schema, queries, models - foundation for everything else
-2. **Enhancer Updates**: First-pass processing logic and content storage
-3. **Injector Simplification**: Remove markdown, use HTML directly
-4. **Integration Testing**: Verify StyleAware editor compatibility
-
-### **Key Implementation Notes:**
-- **No Migration Required**: Fresh schema replacement, no backward compatibility needed
-- **Enhancer-Driven**: Content storage happens during enhancement, not via API
-- **HTML-Only**: Eliminate all markdown processing complexity
-- **StyleAware Alignment**: API response format matches editor expectations exactly
-
-This represents a fundamental shift to **HTML-first content management** with enhanced developer workflow efficiency while maintaining the zero-configuration philosophy that makes Insertr unique.
-
----
-
-## โ IMPLEMENTATION COMPLETE
-
-**Status**: โ **COMPLETED** - HTML-First Architecture Fully Functional
-**Completion Date**: September 20, 2025
-**Total Implementation Time**: Completed in 1 session
-
-### **โ What Was Successfully Implemented**
-
-#### **Database Foundation (Week 1) - โ COMPLETE**
-- โ Updated SQLite schema: replaced `value` โ `html_content`, added `original_template`
-- โ Updated PostgreSQL schema: replaced `value` โ `html_content`, added `original_template`
-- โ Updated `content.sql` queries to use new fields
-- โ Regenerated SQLC models for both SQLite and PostgreSQL
-
-#### **API Models - โ COMPLETE**
-- โ Updated `ContentItem` struct to use `html_content` and `original_template`
-- โ Updated request/response structs for new field structure
-- โ Updated API handlers to work with new field structure
-- โ **Added missing PUT handler** for content updates
-
-#### **Enhancer Logic (Week 2) - โ COMPLETE**
-- โ Updated enhancer to detect processed elements via `data-content-id`
-- โ Implemented first-pass content storage with `html_content` and `original_template`
-- โ **Implemented Enhanced Deterministic ID Generation**: 6-component signature system
-- โ **Fixed ID Consistency**: Same elements get identical IDs across enhancement runs
-- โ Successfully tested: 11 elements (simple), 39 elements (devigo) processed without errors
-
-#### **Injector Redesign (Week 3) - โ COMPLETE**
-- โ **Removed `MarkdownProcessor`** and all markdown processing code
-- โ Updated injector to use `html_content` directly via `injectHTMLContent()`
-- โ **Fixed critical HTML extraction/injection bugs**:
- - `extractHTMLContent()`: Now renders all child nodes correctly
- - `injectContentIntoNode()`: Now properly parses HTML instead of escaping
-- โ **Refactored architecture**: Engine now uses injector instead of duplicating logic
-
-#### **Integration & Bug Fixes (Week 4) - โ COMPLETE**
-- โ **Fixed API-Frontend Integration**: Updated `api-client.js` to use `html_content` field
-- โ **Added missing `updateContent()` method** to frontend API client
-- โ **Created `UpdateContent` HTTP handler** for PUT requests
-- โ **Fixed content type validation**: Updated `detectContentType()` to only return database-valid types (`text`/`link`)
-- โ **Added PUT route to server configuration**
-- โ **Verified complete end-to-end workflow**: Enhancement โ API โ Editor โ Persistence
-
-### **๐ Current System Capabilities**
-
-The HTML-First Architecture now provides:
-
-1. **โ Complete CRUD API**: GET, POST, PUT operations with version control
-2. **โ Rich HTML Storage**: Direct HTML content storage with perfect attribute preservation
-3. **โ Template Preservation**: Original developer templates stored for style detection
-4. **โ First-Pass Processing**: Only unprocessed elements are enhanced, skip existing ones
-5. **โ StyleAware Editor Compatibility**: API responses match editor expectations exactly
-6. **โ Content Type validation**: Only valid database types (`text`/`link`) accepted
-7. **โ Server Recovery**: Complete HTTP server with all routes functional
-8. **โ Enhanced Deterministic ID Generation**: Consistent IDs enable reliable content injection
-9. **โ Enhance Button Workflow**: Complete API edit โ enhance trigger โ static file injection
-
-### **๐ฏ Verified End-to-End Workflow**
-
-```bash
-# โ Content Creation (POST)
-curl -X POST /api/content โ Creates content with proper ID generation
-
-# โ Content Updates (PUT)
-curl -X PUT /api/content/{id} โ Updates content and timestamps correctly
-
-# โ Content Retrieval (GET)
-curl -X GET /api/content/{id} โ Returns current content with proper field names
-```
-
-### **๐ Implementation Results**
-
-**Files Modified**: 37 files
-**Lines Changed**: +1,197, -745 (net +452 lines)
-**Key Deletions**: `internal/engine/markdown.go` (76 lines) - Complete markdown removal
-**Key Additions**:
-- `UpdateContent` HTTP handler (85+ lines)
-- Enhanced Deterministic ID Generation system (63+ lines)
-- Complete HTML-first database schema
-- Frontend payload parsing and update/create logic
-
-**Breaking Changes**: Yes (fresh schema, but complete backward compatibility through migration path)
-
----
-
-## ๐ฏ **PHASE 3A FINAL STATUS**
-
-**Status**: โ **COMPLETE & PRODUCTION READY**
-**Final Achievement**: Complete HTML-first content management system with enhance button functionality
-
-### **๐ Key Milestones Achieved**
-- **HTML-First Architecture**: Complete transition from text-based to HTML-native storage
-- **Deterministic ID System**: Reliable content injection with consistent element identification
-- **Enhance Button Workflow**: End-to-end content editing and static file injection
-- **StyleAware Editor Integration**: Perfect compatibility with frontend rich editing capabilities
-- **Production Readiness**: All critical workflows verified and operational
-
-**Phase 3a represents a successful transformation to modern HTML-first content management.**
\ No newline at end of file
diff --git a/debug-style-detection.html b/debug-style-detection.html
deleted file mode 100644
index 5dd1b04..0000000
--- a/debug-style-detection.html
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
- Debug Style Detection
-
-
-
-