5.3 KiB
5.3 KiB
IGNY8 Current Workflow Status
Last Updated: 2025-01-XX
Purpose: Single source of truth for current system state, active work, and recent changes
Current System State
Workflow Path (Current)
PLANNING → WRITER → OPTIMIZE → PUBLISH
Direct Path: Keywords/Clusters → Ideas → Tasks → Content (no wizard intermediary)
Removed Features (2025-11-20)
- Site Builder Wizard - 6-step guided wizard process completely removed
- WorkflowState Model - Backend model and services removed
- Wizard Routes -
/sites/builder,/sites/builder/preview,/sites/blueprintsroutes removed - Wizard UI Components - All wizard step components removed from frontend
Active Features
- ✅ Site Blueprint APIs - All backend APIs for creating/managing blueprints still work
- ✅ Site Builder Models - SiteBlueprint, PageBlueprint, SiteBlueprintCluster, SiteBlueprintTaxonomy models active
- ✅ Direct Workflow - Users can go directly from Planning → Writer → Optimize → Publish
- ✅ All Core Modules - Planner, Writer, Optimizer, Publisher all functional
Recent Changes
Site Builder Wizard Removal (2025-11-20)
What Was Deleted:
Frontend Files
/frontend/src/pages/Sites/Builder/Wizard.tsx/frontend/src/pages/Sites/Builder/Preview.tsx/frontend/src/pages/Sites/Builder/Blueprints.tsx- All wizard step components (
steps/*.tsx) - Wizard components (
components/WizardProgress.tsx,components/HelperDrawer.tsx) /frontend/src/store/builderStore.ts
Backend Files
/backend/igny8_core/business/site_building/services/workflow_state_service.py/backend/igny8_core/business/site_building/services/wizard_context_service.py/backend/igny8_core/business/site_building/services/validators.py
Backend Model
WorkflowStatemodel removed frommodels.py
Database
- Table:
igny8_site_blueprint_workflow_states(dropped)
Leftover Code Cleanup (2025-01-XX)
Additional Cleanup Completed:
Frontend API Functions Removed
fetchWizardContext()- Called non-existent/workflow/context/endpointupdateWorkflowStep()- Called non-existent/workflow/step/endpoint
TypeScript Interfaces Removed
WorkflowStateinterface - No longer needed (model removed)WizardContextinterface - No longer needed (wizard removed)workflow_statefield removed fromSiteBlueprintinterface
Frontend Components Fixed
- Planner Dashboard (
frontend/src/pages/Planner/Dashboard.tsx):- Removed
incompleteBlueprintsstate and filtering logic - Removed incomplete workflows alert banner
- Removed unused
Alertimport
- Removed
Files Modified:
frontend/src/services/api.ts- Removed wizard/workflow functions and interfacesfrontend/src/pages/Planner/Dashboard.tsx- Removed workflow state references
Status: ✅ All leftover wizard/workflow code has been cleaned up
What's Still Active (Site Builder)
Models Still Active
- SiteBlueprint (
igny8_site_blueprints) - PageBlueprint (
igny8_page_blueprints) - SiteBlueprintCluster (
igny8_site_blueprint_clusters) - SiteBlueprintTaxonomy (
igny8_site_blueprint_taxonomies) - BusinessType (
igny8_site_builder_business_types) - AudienceProfile (
igny8_site_builder_audience_profiles) - BrandPersonality (
igny8_site_builder_brand_personalities) - HeroImageryDirection (
igny8_site_builder_hero_imagery)
API Endpoints Still Available
GET/POST /api/v1/site-builder/blueprints/GET/POST /api/v1/site-builder/pages/POST /api/v1/site-builder/blueprints/{id}/generate_structure/POST /api/v1/site-builder/blueprints/{id}/generate_all_pages/POST /api/v1/site-builder/blueprints/{id}/clusters/attachPOST /api/v1/site-builder/blueprints/{id}/taxonomies/GET /api/v1/site-builder/metadata/
Services Still Active
StructureGenerationService- AI structure generationPageGenerationService- Page content generationTaxonomyService- Taxonomy managementSiteBuilderFileService- File management
Migration & Database State
Migration State
- All apps have single
0001_initial.pymigrations - Clean migration state (no migration history)
- Database structure matches current models
- WorkflowState table removed from database
Database Backup
- Backup:
backup_postgres_20251120_232816.sql(646KB) - Contains all data except WorkflowState (intentionally excluded)
Current Workflow Details
Phase 1: Planning
- Keyword import and management
- Auto-clustering (1 credit per 30 keywords)
- Content idea generation (1 credit per idea)
- Queue ideas to Writer
Phase 2: Writer
- Task creation from ideas
- Content generation (3 credits per content)
- Image generation (1 credit per image)
- Content review and editing
Phase 3: Optimize
- Internal linking suggestions
- Content optimization scoring
- Apply improvements
Phase 4: Publish
- WordPress publishing
- Site deployment (for IGNY8-hosted sites)
- Content validation
Notes
- Site blueprints can still be created/managed through API endpoints
- No guided UI wizard available
- Direct path from Planning to Writer is the standard workflow
- All core functionality remains intact
Last Updated: 2025-01-XX
Status: Current and Active