Commit Graph

13 Commits

Author SHA1 Message Date
cawcenter
c8c0ced446 🔱 BACKDOOR: Direct PostgreSQL access when Directus is down
New endpoint: /api/god/[action]
- GET /api/god/health     - Full system health (DB, pool, tables)
- GET /api/god/db-status  - Database connection test
- GET /api/god/tables     - List all tables with row counts
- GET /api/god/logs       - Recent work_log entries
- POST /api/god/sql       - Execute raw SQL

Features:
- Bypasses Directus entirely, connects directly to PostgreSQL
- Works even when Directus is crashed/frozen
- Validates X-God-Token header
- Added pg package for direct DB access
2025-12-14 15:09:53 -05:00
cawcenter
d400aac5c2 feat: Complete Intelligence Library full CRUD + Fix Jumpstart error
Intelligence Library:
- Add full CRUD for Avatar Variants, Geo Intelligence, Spintax, Cartesian
- Create reusable DataTable, CRUDModal, DeleteConfirm components
- Add TanStack Table for advanced sorting/filtering/pagination
- Add React Hook Form + Zod for validated forms
- Add export, search, sort, filter capabilities

Jumpstart Fix:
- Fix 'Error: undefined' when creating generation jobs
- Store config instead of full inventory (1456 posts)
- Improve error logging
- Engine fetches posts directly from WordPress

All pages tested and ready for deployment.
2025-12-13 18:08:31 -05:00
cawcenter
b2d548c5fb feat: Complete frontend master upgrade with PWA, SEO, Bundle Analysis, and State Management
- Install nanostores for lightweight state management
- Add enhanced Directus client with auth and realtime
- Configure PWA with offline support and service worker
- Enable auto-sitemap generation for SEO
- Add Partytown for web worker analytics
- Implement image optimization with astro-imagetools
- Add bundle visualizer for performance analysis
- Enable Brotli compression for all assets
- Add Vite Inspect for debugging
- Create sidebar state management store
- Install TipTap rich text editor
- Add React Hook Form + Zod validation
- Add TanStack Query for data fetching

All plugins tested and build verified successfully.
2025-12-13 17:35:09 -05:00
cawcenter
0c0cdde72c feat: complete Phase 8 with Visual Automation and Analytics (fix build errors) 2025-12-13 15:38:32 -05:00
cawcenter
630620f4cf feat: complete Phase 5 (Assembler), Phase 6 (Testing), and Phase 8 (Visual Editor) 2025-12-13 15:17:17 -05:00
cawcenter
549250e9c8 feat: Updated task list, added Phase 8 (Block Editor foundation)
Progress Update:
-  Phase 1-3: Complete (Foundation, Navigation, Factory Floor)
-  Collection Pages: All 10 pages built and deployed
-  API Token: Fixed and configured
-  Directus: Configured with Visual Editor
- 🆕 Phase 8: Block Editor foundation (Craft.js + schema)

New Files:
- BLOCK_EDITOR_IMPLEMENTATION_PLAN.md - Full implementation guide
- DIRECTUS_CONFIGURATION.md - Complete Directus setup docs
- scripts/create_page_blocks_schema.js - Schema creation script
- page_blocks collection created in Directus

Progress: 61% complete (100/165 tasks)
Next: Phase 4 - Intelligence Station
2025-12-13 13:56:01 -05:00
cawcenter
d4b7e61cdb Phase 3: Factory Floor Complete
 Kanban Board with drag-and-drop (dnd-kit)
 Kanban Cards with status colors and metadata
 Bulk Grid with TanStack Table
  - Sorting, filtering, selection
  - Bulk operations (approve, publish, delete)
  - Virtual scrolling ready
 Article Workbench - 3-panel editor
  - Left: Metadata panel (status, location, SEO)
  - Center: Content editor (visual/code toggle)
  - Right: Tools (SEO, spintax, images, logs)
  - Auto-save functionality
 Titanium Pro design throughout
 Framer Motion animations

Factory Floor production workflow complete.
2025-12-13 12:31:05 -05:00
cawcenter
7101350dcc Add Titanium Pro Design System
 Hard-edge separation - no blending
 Staircase surface system (void/titanium/graphite/jet)
 Black/Gold luxury color palette
 High contrast text (white/silver only)
 Monospace for all data (JetBrains Mono)
 Gold accents for value/active states
 Utility classes for consistent styling
 Theme switching infrastructure
 Alternative themes ready (Ocean, Forest, Crimson)

Design rules:
- Every container gets 1px border
- No dim text allowed
- Gold for data and money
- OLED black for structure
- Matte finishes, metallic accents
2025-12-13 12:23:04 -05:00
cawcenter
ac372db74e Phase 2: Command Deck Navigation
 Command palette (Cmd+K) with global search
 Dashboard page with stat cards
 Quick actions panel
 System health monitoring
 Toast notifications setup (Sonner)

Navigation foundation complete for Phase 3 factory floor.
2025-12-13 12:13:31 -05:00
cawcenter
fd9f428dcd Phase 1: Foundation & Stability Infrastructure
 BullMQ job queue system installed and configured
 Zod validation schemas for all collections
 Spintax validator with integrity checks
 Work log helper for centralized logging
 Transaction wrapper for safe database operations
 Batch operation utilities with rate limiting
 Circuit breaker for WordPress/Directus resilience
 Dry-run mode for preview generation
 Version management system
 Environment configuration

This establishes the bulletproof infrastructure for Spark Alpha.
2025-12-13 12:12:17 -05:00
cawcenter
3a784732d9 Fix Traefik: HTTPS Entrypoints & Coolify Network (Critical for Live) 2025-12-12 19:58:49 -05:00
cawcenter
ebff81f001 feat: Factory Command Center dashboard with War Map, Module Flow Builder, Directus hook, and admin APIs 2025-12-12 12:01:17 -05:00
cawcenter
abd964a745 Initial commit: Spark Platform with Cartesian SEO Engine 2025-12-11 23:21:35 -05:00