diff --git a/CLEANUP_SUMMARY_20260113.md b/CLEANUP_SUMMARY_20260113.md deleted file mode 100644 index 1c2e76dd..00000000 --- a/CLEANUP_SUMMARY_20260113.md +++ /dev/null @@ -1,115 +0,0 @@ -# Cleanup Summary - January 13, 2026 - -## ✅ Test Files Removed - -### Test Directories Deleted: -- `igny8_core/modules/optimizer/tests/` - All optimizer test files -- `igny8_core/modules/linker/tests/` - All linker test files -- `igny8_core/ai/functions/tests/` - AI function tests -- `igny8_core/ai/tests/` - AI module tests -- `igny8_core/api/tests/` - API integration tests -- `igny8_core/business/publishing/tests/` - Publishing tests (including deprecated SiteBlueprint tests) -- `igny8_core/business/billing/tests/` - Billing tests -- `igny8_core/business/integration/tests/` - Integration tests -- `igny8_core/business/content/tests/` - Content pipeline tests -- `igny8_core/business/optimization/tests/` - Optimization tests -- `igny8_core/business/linking/tests/` - Linking tests - -### Test Config Files Removed: -- `igny8_core/test_settings.py` - Test-specific Django settings - -**Total:** ~38 test files removed across 11 directories - ---- - -## ✅ SiteBlueprint/SiteBuilder Cleanup Status - -### Database: -- ✅ Table `igny8_site_blueprints` - **DROPPED** (migration 0030) -- ✅ All indexes removed -- ✅ Sequence dropped -- ✅ No foreign key constraints remain in active models - -### Code References: -- ✅ No active model definitions (SiteBlueprint, PageBlueprint, SiteBlueprintTaxonomy) -- ✅ No directory `/business/site_building/` exists -- ✅ No admin registrations -- ✅ No URL endpoints -- ✅ No API serializers with active references -- ✅ No celery tasks referencing blueprints - -### Remaining References (Comments Only): -- Historical migration files (0001_initial.py, etc.) - **LEFT INTACT** (should never be modified) -- Code comments marking removal - **LEFT INTACT** (documentation of changes) -- Docstrings explaining legacy functionality - **LEFT INTACT** (helpful context) - -### Services Updated: -- `content_sync_service.py` - SiteBlueprint taxonomy sync replaced with stub -- `sync_health_service.py` - Taxonomy mismatch detection replaced with stub -- `publisher_service.py` - Already had SiteBlueprint publishing removed -- `deployment_service.py` - Already marked as deprecated - ---- - -## ✅ One-Time Fix Files Analysis - -### Migration Fix Files Found (NOT REMOVED - Required for Database History): -- `0002_fix_cluster_unique_constraint.py` - Cluster model constraint fix -- `0012_fix_subscription_constraints.py` - Subscription model constraints -- `0020_fix_historical_account.py` - Historical tracking fix -- `0003_phase1b_fix_taxonomy_relation.py` - Taxonomy relation fix -- `0007_fix_cluster_unique_constraint.py` - Another cluster fix -- `0022_fix_historical_calculation_mode_null.py` - Billing calculation fix -- `0009_fix_variables_optional.py` - System variables fix -- `0006_fix_image_settings.py` - Image settings fix -- `0004_fix_global_settings_remove_override.py` - Global settings fix - -**Note:** Migration files are never deleted - they form the database schema history. - ---- - -## 🔍 Verification Results - -### Django System Check: -``` -System check identified no issues (0 silenced). -``` - -### Database Check: -``` -Did not find any relation named "igny8_site_blueprints" -``` - -### Backend Status: -- ✅ Backend container restarted successfully -- ✅ No import errors -- ✅ No model reference errors -- ✅ All apps load correctly - ---- - -## 📊 Summary Statistics - -- **Test files removed:** ~38 files -- **Test directories removed:** 11 directories -- **Database tables dropped:** 1 table (igny8_site_blueprints) -- **Active code references removed:** ~120 lines -- **Services cleaned:** 3 services -- **Django check result:** ✅ 0 issues - ---- - -## 🎯 What Remains (Intentionally) - -1. **Historical Migrations:** All migration files preserved (required for database integrity) -2. **Code Comments:** Documentation of removed features (helpful for understanding) -3. **Migration Fix Files:** Database schema fixes (part of migration history) -4. **Docstrings:** Legacy documentation in deprecated functions - ---- - -## ✅ Cleanup Complete - -All test files removed, SiteBlueprint/SiteBuilder functionality fully cleaned from active codebase. -Database table dropped successfully. System verified and running without issues. - diff --git a/content_generation.md b/content_generation.md deleted file mode 100644 index de8a6f12..00000000 --- a/content_generation.md +++ /dev/null @@ -1,232 +0,0 @@ -# Editorial Content Generator - -Generate complete, SEO-optimized HTML content from the provided outline. - ---- - -## INPUT - -**CONTENT IDEA:** -[IGNY8_IDEA] - -Format provided: -- Title: The article title to use -- Description: Overview of what content should cover -- Content Type: post|page|product|taxonomy -- Content Structure: article|guide|comparison|review|listicle|landing_page|etc -- Primary Focus Keywords: 1-2 main target keywords (if available) -- Covered Keywords: 2-3 supporting keywords (if available) -- Estimated Word Count: Target word count from idea planning (if available) - -**KEYWORD CLUSTER:** -[IGNY8_CLUSTER] - -**KEYWORDS:** -[IGNY8_KEYWORDS] - ---- - -## OUTPUT FORMAT - - -{ - "title": "string", - "meta_title": "string (max 60 chars)", - "meta_description": "string (max 160 chars)", - "content": "string (HTML)", - "word_count": integer, - "primary_keyword": "string", - "secondary_keywords": ["string"], - "tags": ["string"], - "categories": ["Parent > Child"] -} - - ---- - -## CRITICAL REQUIREMENTS - -### 1. WORD COUNT AND SECTIONS - -**Target word count:** -- If "Estimated Word Count" is provided in [IGNY8_IDEA], target that count (±100 words acceptable) -- Otherwise, default to 1000-1200 words - -**Section count:** -- Base: 6 H2 sections (standard) -- For longer targets (1400+ words): Use 7-8 H2 sections -- For shorter targets (800-1000 words): Use 5-6 H2 sections -- Each H2 section: 150-180 words average - -**Section breakdown:** -- Introduction: 100-150 words -- Each H2 section: 150-180 words -- Calculate total: (number of H2s × 170) + 125 ≈ target word count - -### 2. SECTION FORMAT VARIETY - -**Format distribution (scales with section count):** - -**For 5-6 H2 sections:** -- 3 sections: Paragraphs ONLY -- 2 sections: Paragraphs + Lists -- 1 section: Paragraphs + Tables - -**For 7-8 H2 sections:** -- 4-5 sections: Paragraphs ONLY -- 2 sections: Paragraphs + Lists -- 1-2 sections: Paragraphs + Tables - -* Use block quote element randomly in sections where table is not used -* Provide the most insightful information within block quotes - -**Rules:** -- Randomize which sections get which format -- Never use same pattern for consecutive sections -- Maximum 2-3 sections can have lists -- Maximum 1-2 sections can have tables -- Lists: 4-5 items, 15-20 words each -- Tables: 4-5 columns, 5-6 rows with real data - -### 3. CONTENT DEPTH (NOT surface explanations) - -**Every paragraph must:** -- Be 50-60 words -- Explain HOW/WHY, not just WHAT -- Include specific numbers, examples, mechanisms -- Provide actionable insights - -**Lists must contain:** -- 4-5 items maximum -- Each item: 15-20 words -- Specific details with real examples -- Technical specifics (measurements, ranges, capabilities) - -**Tables must contain:** -- 4-5 columns -- 5-6 rows -- Real comparative data (prices, specs, measurements) -- No vague terms (avoid "good", "quality", "effective") - ---- - -## HTML STRUCTURE - -### Introduction Format: - -

[Hook: 40-50 words]

-

[Paragraph 1: 50-70 words with primary keyword]

-

[Paragraph 2: 50-60 words]

-

[Paragraph 3: 50-60 words]

- - -### H2 Section Format: - -

[Heading]

-

[Opening: 50-70 words explaining core concept]

- - - - -

[Subheading]

-

[60-70 words of detailed explanation]

-

[Subheading]

-

[60-70 words of detailed explanation]

- - -

[Subheading]

-

[50-70 words introducing the list]

- - - -

[Subheading]

-

[50-70 words introducing the table]

- - - - - - - - -
Col1Col2Col3Col4
DataDataDataData
- -

[Closing: 50-70 words synthesizing the section]

- - -**Valid HTML tags only:** `

`, `

`, `

`, ``, ``, `