Commit Graph

170 Commits

Author SHA1 Message Date
cawcenter
846b07e080 🔍 QC Update: Added P0 items for Auto-SEO and Kanban verification
NEW CRITICAL ISSUES:
- Issue 0: Auto-SEO not generating for pages/posts (only generated_articles)
- Issue 0.1: SEO status indicators missing from dashboards
- Issue 0.2: Kanban exists but needs data verification

KANBAN ANALYSIS:
- KanbanBoard.tsx exists (180 lines, @dnd-kit)
- Connected to Directus via React Query
- Needs: status field in generated_articles, test data
2025-12-14 14:23:54 -05:00
cawcenter
9eb8744a5c 🔍 QC Audit: Identified gaps between documented and implemented features
CRITICAL (P0):
- 13 SQL tables missing from complete_schema.sql (globals, navigation, work_log, forms, analytics tables, location tables)
- TypeScript references 28 collections, SQL only has 15

HIGH PRIORITY (P1):
- Analytics module endpoints will 500 (tables missing)
- Location data APIs empty (tables missing)
- Forms/Navigation features broken

MEDIUM (P2):
- Block component file naming inconsistency (docs vs actual)
- Some UI components documented but not found

Includes prioritized remediation checklist
2025-12-14 14:14:19 -05:00
cawcenter
4c632b6229 📚 Comprehensive Documentation Suite (Mil-Spec/IBM Redbook Style)
INVESTOR DOCUMENTATION:
- INVESTOR_BRIEF.md: Executive summary, capacity metrics, architecture overview
- PLATFORM_CAPABILITIES.md: 5 modules, 27 subcomponents catalog
- TECHNICAL_ARCHITECTURE.md: Mermaid diagrams, data flows, extension points

CTO/SENIOR DEV ONBOARDING:
- CTO_ONBOARDING.md: System overview, security model, operational runbook
- DEVELOPER_GUIDE.md: Clone→Run→Deploy workflow, debugging
- API_REFERENCE.md: 30+ endpoints with request/response specs
- DATABASE_SCHEMA.md: 30+ tables in Harris Matrix order
- COMPONENT_LIBRARY.md: 182 React components catalog

REFERENCE:
- GLOSSARY.md: 70+ platform terms defined
- ADMIN_PAGES_GUIDE.md: 66 admin pages by module

Style: BLUF format, zero marketing fluff, high-density tables
2025-12-14 13:58:28 -05:00
cawcenter
260baa2f4b �� Add deployment workflow documentation for Coolify 2025-12-14 13:31:20 -05:00
cawcenter
9c49d6f26a 🔧 TypeScript Schema Fixes: Complete type safety for Directus SDK
- Fixed DirectusSchema to use array types (Sites[], Posts[], etc.) as required by Directus SDK v11+
- Added missing fields to Pages interface: permalink, blocks, seo_title, seo_description, seo_image
- Added missing fields to Posts interface: excerpt, featured_image, published_at, category, author
- Added missing fields to Navigation interface: target
- Added missing fields to GeneratedArticles: is_published, date_updated
- Added missing fields to LocationsCities: county
- Cleaned up 'as unknown' type casts in fetchers.ts
- All TypeScript compilation errors resolved
2025-12-14 13:30:43 -05:00
cawcenter
25c934489c 🚀 Deployment Fix: Add TypeScript env types and SSR-safe URL detection
- Created vite-env.d.ts with proper ImportMetaEnv interface
- Fixed client.ts to use internal Docker URL (http://directus:8055) for SSR
- Removed @ts-ignore directives
- Frontend now compiles cleanly
2025-12-14 13:28:25 -05:00
cawcenter
a74a4e946d Refactor Directus types: rename to schemas.ts, fix imports, and resolve type errors 2025-12-14 12:48:08 -05:00
cawcenter
99f406e998 schema: implement Golden Schema with Harris Matrix ordering + Directus UI config
- Batch 1 (Foundation): sites, campaign_masters, 5 independent tables
- Batch 2 (Walls): 7 first-level children
- Batch 3 (Roof): link_targets
- Directus UI: Auto-configure dropdowns for all foreign keys
- Fix template bug: campaign_name → name
- Proper dependency ordering prevents constraint failures
2025-12-14 12:21:17 -05:00
cawcenter
29337e8f42 fix: add missing parent tables and correct field names in schema
CRITICAL FIXES:
- Added 'sites' table (SUPER PARENT) - referenced by 10+ tables
- Added 'campaign_masters' table - referenced by 3 tables
- Fixed field names: campaign → campaign_id, site → site_id
- Organized schema into dependency batches (Batch 1→2→3)

This fixes the root cause of foreign key constraint failures.
2025-12-14 12:15:06 -05:00
cawcenter
1340a98663 docs: add comprehensive Harris matrix and schema dependency analysis
- GOD_MODE_HARRIS_MATRIX.md: Complete dependency execution plan with 3 batches
- SCHEMA_FILE_DEPENDENCY_MATRIX.md: Cross-file relationship mapping
- Identified critical issues: missing parent tables, template errors, interface issues
2025-12-14 12:14:06 -05:00
cawcenter
658d18f1c8 fix(directus): resolve critical deployment issues
- Remove duplicate directus-extensions volume mount (conflict)
- Fix FORCE_FRESH_INSTALL boolean check (handle 'True' from Coolify)
- Optimize healthcheck (10 retries, 60s start period)
- Remove unused named volume definition

All syntax validated:
 docker-compose.yaml valid
 start.sh syntax OK
 Extensions structure correct
 SQL schema present
2025-12-14 11:45:09 -05:00
cawcenter
ce3089da41 fix: start.sh PostgreSQL user and proper env var quoting 2025-12-14 11:37:04 -05:00
cawcenter
52393ea2dd fix: add TypeScript types to godMode client library 2025-12-14 11:28:22 -05:00
cawcenter
d26643b5fe feat: god-mode expansion with schema management, site provisioning, and schema-as-code
- Added frontend godMode client library for all admin pages
- Created schema management endpoints (create/edit collections, fields, relations)
- Built automated site provisioning (creates site + homepage + navigation + forms)
- Implemented schema-as-code with start.sh auto-migration script
- Added FORCE_FRESH_INSTALL mode for database wipes
- Integrated work log, error log, and queue management via god-mode
- All admin pages can now use god-mode for seamless operations
2025-12-14 11:26:32 -05:00
cawcenter
f9947e81af feat: add god-mode API and auto-permissions - SECURE TOKEN IN COOLIFY ENV ONLY 2025-12-14 11:13:34 -05:00
cawcenter
6d9209553e feat: simplify domain architecture - consolidate to spark.jumpstartscaling.com 2025-12-14 11:00:17 -05:00
cawcenter
060ff6420b docs: add Coolify terminal deployment guide with automation options 2025-12-14 10:51:12 -05:00
cawcenter
dda640fd85 docs: add fresh deployment guide and automated setup script 2025-12-14 10:49:03 -05:00
cawcenter
273fc0ee37 docs: add domain configuration fix documentation 2025-12-14 10:43:18 -05:00
cawcenter
3ffd081ccd fix: correct domain configuration - frontend connects to spark.jumpstartscaling.com for API 2025-12-14 10:43:05 -05:00
cawcenter
8a85a3d94a docs: add preview links implementation guide 2025-12-14 10:38:03 -05:00
cawcenter
df8dd18a43 feat: add preview button to sites and create site preview page 2025-12-14 10:37:18 -05:00
cawcenter
6a4de68319 docs: add final deployment verification report 2025-12-14 10:34:41 -05:00
cawcenter
7fbe2d7ae9 docs: add complete frontend debugging summary with dev tools usage 2025-12-14 10:31:16 -05:00
cawcenter
21a923de29 fix: add CoreProvider to AdminLayout to fix QueryClient error on all admin pages 2025-12-14 10:30:27 -05:00
cawcenter
005b0fcd9e docs: add frontend database connection troubleshooting guide 2025-12-14 10:24:09 -05:00
cawcenter
ab8511ffcd fix: update frontend PUBLIC_DIRECTUS_URL to launch.jumpstartscaling.com 2025-12-14 10:23:24 -05:00
cawcenter
c7e6dcb18b fix: update Directus PUBLIC_URL to launch.jumpstartscaling.com for frontend compatibility 2025-12-14 10:22:30 -05:00
cawcenter
517a7281e4 docs: add live alpha deployment confirmation and AI agent onboarding guide 2025-12-14 10:18:47 -05:00
cawcenter
7b95b7251d feat: complete database schema with all 39 tables and foreign key relationships 2025-12-14 10:16:01 -05:00
cawcenter
40e6b6465b feat: add final 3 collections (article_templates, avatars, campaigns) - complete frontend-backend alignment 2025-12-14 09:37:05 -05:00
cawcenter
15c547d21d feat: add all missing collections (locations, forms, content_modules, offer_blocks_universal) 2025-12-14 09:36:42 -05:00
cawcenter
6b1000c136 fix: Intelligence Library schema - add slug, tech_stack, identity fields and geo_clusters/geo_locations collections 2025-12-14 09:34:52 -05:00
cawcenter
65ea0971aa feat: update schema to match frontend types - add globals, navigation, and missing fields 2025-12-14 09:32:13 -05:00
cawcenter
4842ddfe29 fix: rename postgres volume to postgres-data-fresh to force new database creation 2025-12-14 09:18:21 -05:00
cawcenter
80008ddcfd fix: use default postgres user (always exists) instead of custom user 2025-12-14 09:14:20 -05:00
cawcenter
716ca8a9a9 fix: remove env_file to prevent credential override, add .env.production template 2025-12-14 09:12:02 -05:00
cawcenter
f2121e19e3 fix: use existing database credentials (bbdf554) to match initialized volume 2025-12-14 09:07:05 -05:00
cawcenter
3acd8b6330 feat: fully self-contained docker-compose with hardcoded credentials (no env vars needed) 2025-12-14 09:01:46 -05:00
cawcenter
64ecc8024f feat: Heavy Duty config with Git URL syntax, maxed limits (500mb payload, 200 DB connections), and Coolify labels 2025-12-14 08:59:44 -05:00
cawcenter
99ec2fb951 fix: use Coolify-native labels (coolify.fqdn) for automatic domain configuration 2025-12-14 08:42:21 -05:00
cawcenter
efab6dafa9 fix: Coolify-friendly docker-compose with deployment guide 2025-12-14 08:25:54 -05:00
cawcenter
cd77908acd fix: clean docker-compose.yaml with official Directus image and proper health checks 2025-12-14 08:20:52 -05:00
cawcenter
d392ecc618 fix: bootstrap script now persists credentials across restarts 2025-12-14 08:18:11 -05:00
cawcenter
8044630fc5 feat: update Directus Dockerfile to use bootstrap script with auto-generated credentials 2025-12-14 08:07:21 -05:00
cawcenter
f52372a29f feat: add bootstrap script for auto-generated credentials on fresh install 2025-12-14 08:06:56 -05:00
cawcenter
fc88ad4240 refactor: use environment variables in docker-compose 2025-12-14 00:29:55 -05:00
cawcenter
75f36d35db feat: hardcode all environment variables for fresh deployment 2025-12-14 00:20:58 -05:00
cawcenter
ed815ddfd5 fix(frontend): remove invalid prop from ReactQueryDevtools 2025-12-13 22:53:36 -05:00
cawcenter
789a423b6f feat: add global debug toolbar with console capture and backend health check 2025-12-13 22:53:14 -05:00