Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
d561352
Initial commit
MrAllgoodWilson Dec 5, 2025
59dffbe
chore: add Rocket ⇄ Devin bridge playbook
MrAllgoodWilson Dec 5, 2025
afce011
feat: TiQology hardening + Ghost Mode v0.1
MrAllgoodWilson Dec 5, 2025
08f9ff0
feat: Vercel-ready Ghost API with score/feedback + TiQology-spa integ…
MrAllgoodWilson Dec 6, 2025
5b9da46
feat: Implement AgentOS v1.0 - Multi-agent orchestration layer
MrAllgoodWilson Dec 6, 2025
0a1f0aa
feat: Lock AgentOS v1.0 as canonical API, deprecate /api/ghost
MrAllgoodWilson Dec 6, 2025
1bd95df
feat: Integrate TiQology Core DB with AgentOS v1.0
MrAllgoodWilson Dec 6, 2025
6e7e01d
🚀 TiQology Nexus v1.0 - Revolutionary AI Platform
MrAllgoodWilson Dec 9, 2025
c12563c
Merge TiQology Nexus features to main
MrAllgoodWilson Dec 9, 2025
a464d54
🚀 Prepare TiQology for production: all fixes, optimizations, and depl…
MrAllgoodWilson Dec 12, 2025
cc8799d
feat: add compare_baselines check annotation, exports, and edge-case …
MrAllgoodWilson Dec 14, 2025
d5d5c7e
fix: correct perf-regression workflow syntax
MrAllgoodWilson Dec 15, 2025
1cc5618
fix: remove invalid secrets condition from db_checks workflow
MrAllgoodWilson Dec 15, 2025
72dd763
feat: add push trigger to perf-regression workflow
MrAllgoodWilson Dec 15, 2025
d958b09
fix(ci): update pnpm to v9 and remove duplicate content in post-compa…
MrAllgoodWilson Dec 15, 2025
79240dd
chore: update lockfile to match pinned pg version
MrAllgoodWilson Dec 15, 2025
f9a333e
Initial plan
Copilot Dec 18, 2025
724b87d
Merge pull request #5 from MrAllgoodWilson/copilot/fix-typescript-err…
MrAllgoodWilson Dec 18, 2025
8b159bf
Add deployment infrastructure and improvements
MrAllgoodWilson Dec 19, 2025
a50844f
fix: remove problematic nexus routes for clean deployment
MrAllgoodWilson Dec 19, 2025
dd86c0a
test: unsigned commit
MrAllgoodWilson Dec 23, 2025
2ec1df5
feat: clean deployment fixes
MrAllgoodWilson Dec 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
73 changes: 73 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Docker ignore file for TiQology AI Chatbot

# Dependencies
node_modules
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Next.js
.next
out
dist
build

# Environment files
.env
.env.*
!.env.example

# Testing
coverage
.nyc_output
*.log

# OS files
.DS_Store
Thumbs.db

# IDE
.vscode
.idea
*.swp
*.swo
*~

# Git
.git
.gitignore
.gitattributes

# CI/CD
.github

# Documentation (not needed in container)
*.md
!README.md
docs/

# Development files
.prettierrc
.eslintrc.json
biome.jsonc
tsconfig.json
jest.config.js
playwright.config.ts

# Scripts
scripts/
ci/
ops/

# Deployment files
vercel.json
.vercel
Dockerfile
.dockerignore
docker-compose.yml

# Other
.cursor
*.backup
*.tmp
43 changes: 43 additions & 0 deletions .env.development.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Environment Configuration Template for Development
# Copy this to GitHub Secrets for the 'development' environment

# Vercel Configuration
VERCEL_TOKEN=your-vercel-token-here
VERCEL_ORG_ID=your-org-id-here
VERCEL_PROJECT_ID=your-project-id-here

# Database
DATABASE_URL=postgresql://user:password@host:5432/tiqology_dev
POSTGRES_URL=postgresql://user:password@host:5432/tiqology_dev

# Authentication
NEXTAUTH_URL=https://dev.tiqology.vercel.app
NEXTAUTH_SECRET=dev-secret-min-32-chars-changeme

# AI Services
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
GOOGLE_AI_API_KEY=...

# Storage
BLOB_READ_WRITE_TOKEN=vercel_blob_...

# Optional Services
REDIS_URL=redis://localhost:6379
NEO4J_URI=neo4j://localhost:7687
NEO4J_USER=neo4j
NEO4J_PASSWORD=password

# Feature Flags (Development)
ENABLE_AI_SWARMS=true
ENABLE_QUANTUM_ENGINE=false
ENABLE_HOLOGRAPHIC=false
ENABLE_DEBUG_MODE=true

# Monitoring
VERCEL_ANALYTICS_ID=...
SENTRY_DSN=...

# Rate Limiting (More permissive for dev)
RATE_LIMIT_MAX_REQUESTS=1000
RATE_LIMIT_WINDOW_MS=60000
16 changes: 15 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,16 @@ AUTH_SECRET=****
# The following keys below are automatically created and
# added to your environment when you deploy on Vercel

# Instructions to create a Google AI API key here: https://aistudio.google.com/app/apikey
GOOGLE_GENERATIVE_AI_API_KEY=****

# AI Provider Selection: "google" or "gateway"
# Use "google" for direct Google Gemini API access
# Use "gateway" for Vercel AI Gateway (requires AI_GATEWAY_API_KEY)
AI_PROVIDER=google

# Instructions to create an AI Gateway API key here: https://vercel.com/ai-gateway
# API key required for non-Vercel deployments
# API key required for non-Vercel deployments when using AI_PROVIDER=gateway
# For Vercel deployments, OIDC tokens are used automatically
# https://vercel.com/ai-gateway
AI_GATEWAY_API_KEY=****
Expand All @@ -21,3 +29,9 @@ POSTGRES_URL=****
# Instructions to create a Redis store here:
# https://vercel.com/docs/redis
REDIS_URL=****

# Ghost Mode API security (optional but recommended)
# Generate a random secret for securing the Ghost Mode endpoint
# Used by TiQology-spa to authenticate Ghost Mode API requests
GHOST_MODE_API_KEY=****

117 changes: 117 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
# ============================================
# TIQOLOGY PRODUCTION ENVIRONMENT
# Generated: December 7, 2025
# Domain: tiqology.com
# ============================================

# --------------------------------------------
# CRITICAL: Replace these placeholder values
# --------------------------------------------

# Database (Supabase)
DATABASE_URL=postgresql://postgres:[PASSWORD]@db.[PROJECT-REF].supabase.co:5432/postgres
DIRECT_URL=postgresql://postgres:[PASSWORD]@db.[PROJECT-REF].supabase.co:5432/postgres

# NextAuth.js
NEXTAUTH_SECRET=REPLACE_WITH_OPENSSL_RANDOM_32_CHAR_STRING
NEXTAUTH_URL=https://api.tiqology.com

# Supabase
NEXT_PUBLIC_SUPABASE_URL=https://[PROJECT-REF].supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key_here
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key_here

# AI Providers (for Elite Inference)
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
GOOGLE_AI_API_KEY=...

# --------------------------------------------
# Build Optimizations
# --------------------------------------------
NEXT_BUILD_CACHE=true
NEXT_INCREMENTAL_TS=true
NEXT_DISABLE_SOURCEMAPS=true

# --------------------------------------------
# Runtime Optimizations
# --------------------------------------------
NODE_ENV=production
NODE_OPTIONS=--max-old-space-size=4096
VERCEL_EDGE_RUNTIME=true
VERCEL_STREAMING=true
VERCEL_HTTP2=true

# --------------------------------------------
# Database Optimizations
# --------------------------------------------
POSTGRES_POOL_SIZE=10
POSTGRES_QUERY_TIMEOUT=5000
POSTGRES_PREPARED_STATEMENTS=true
POSTGRES_RETRY_ON_FAILURE=true

# --------------------------------------------
# Caching Strategy
# --------------------------------------------
CACHE_TTL=60
CDN_CACHE_MAX_AGE=3600
LRU_CACHE_MAX_SIZE=5000

# --------------------------------------------
# Rate Limiting
# --------------------------------------------
RATE_LIMIT_ENABLED=true
RATE_LIMIT_FREE_MAX=10
RATE_LIMIT_STARTER_MAX=100
RATE_LIMIT_PRO_MAX=1000
RATE_LIMIT_ENTERPRISE_MAX=10000
RATE_LIMIT_ADMIN_MAX=999999

# --------------------------------------------
# Security
# --------------------------------------------
FORCE_HTTPS=true
SECURITY_HEADERS_ENABLED=true
CORS_ALLOWED_ORIGINS=https://tiqology.com,https://www.tiqology.com,https://api.tiqology.com

# --------------------------------------------
# Monitoring & Observability
# --------------------------------------------
PERFORMANCE_MONITORING=true
ERROR_TRACKING=true
REQUEST_TRACING=true
STRUCTURED_LOGGING=true
LOG_FORMAT=json

# Optional: Sentry
# SENTRY_DSN=https://[email protected]/...

# --------------------------------------------
# AI Inference Optimization
# --------------------------------------------
AI_DEFAULT_TIER=balanced
AI_CACHING_ENABLED=true
AI_CACHE_TTL=3600
AI_BATCH_INFERENCE=true

# --------------------------------------------
# Feature Flags
# --------------------------------------------
FEATURE_ELITE_MIDDLEWARE=true
FEATURE_ELITE_INFERENCE=true
FEATURE_ANALYTICS=true
FEATURE_HEALTH_CHECK=true

# --------------------------------------------
# Domain Configuration
# --------------------------------------------
NEXT_PUBLIC_DOMAIN=tiqology.com
NEXT_PUBLIC_API_URL=https://api.tiqology.com
NEXT_PUBLIC_APP_URL=https://tiqology.com

# --------------------------------------------
# Stripe (Tabled for later)
# --------------------------------------------
# STRIPE_SECRET_KEY=sk_live_...
# STRIPE_WEBHOOK_SECRET=whsec_...
# NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_live_...
130 changes: 130 additions & 0 deletions .env.production.complete
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# ============================================
# TIQOLOGY NEXUS - PRODUCTION ENVIRONMENT
# Revolutionary AI Operating System
# Date: December 8, 2025
# ============================================

# --------------------------------------------
# SUPABASE (Rose Garden Project)
# --------------------------------------------
NEXT_PUBLIC_SUPABASE_URL=https://iomzbddkmykfruslybxq.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImlvbXpiZGRrbXlrZnJ1c2x5YnhxIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjUwNDMwMjEsImV4cCI6MjA4MDYxOTAyMX0.TtWTiO0_8bLtrmUVmHCYE3j98XkvrYGI6MQkWZCKjqY
SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImlvbXpiZGRrbXlrZnJ1c2x5YnhxIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjUwNDMwMjEsImV4cCI6MjA4MDYxOTAyMX0.TtWTiO0_8bLtrmUVmHCYE3j98XkvrYGI6MQkWZCKjqY

# --------------------------------------------
# NEXTAUTH CONFIGURATION
# --------------------------------------------
NEXTAUTH_SECRET=ilDwpd5SuPlJs7LdWMsE5wnn+aU09LY0eF1ganJeHG8=
NEXTAUTH_URL=https://api.tiqology.com

# --------------------------------------------
# DOMAIN CONFIGURATION
# --------------------------------------------
NEXT_PUBLIC_DOMAIN=tiqology.com
NEXT_PUBLIC_API_URL=https://api.tiqology.com
NEXT_PUBLIC_APP_URL=https://www.tiqology.com

# --------------------------------------------
# CORS CONFIGURATION
# --------------------------------------------
CORS_ALLOWED_ORIGINS=https://tiqology.com,https://www.tiqology.com,https://app.tiqology.com

# --------------------------------------------
# AI PROVIDERS
# --------------------------------------------
# NOTE: Commander AL - Add your actual API keys here
OPENAI_API_KEY=your_openai_key_here
ANTHROPIC_API_KEY=your_anthropic_key_here
GOOGLE_AI_API_KEY=your_google_key_here

# --------------------------------------------
# ELITE FEATURES (v1.5)
# --------------------------------------------
NODE_ENV=production
FEATURE_ELITE_MIDDLEWARE=true
FEATURE_ELITE_INFERENCE=true
FEATURE_ANALYTICS=true
FEATURE_HEALTH_CHECK=true
RATE_LIMIT_ENABLED=true
RATE_LIMIT_FREE_MAX=10
RATE_LIMIT_STARTER_MAX=100
RATE_LIMIT_PRO_MAX=1000

# --------------------------------------------
# REVOLUTIONARY FEATURES (Nexus)
# --------------------------------------------
FEATURE_NEURAL_MEMORY=true
FEATURE_AGENT_SWARM=true
FEATURE_VISION=true
FEATURE_REALTIME_COLLAB=true
FEATURE_AUTONOMOUS_TASKS=true
FEATURE_QUANTUM_REASONING=true
FEATURE_HOLOGRAPHIC=true

# --------------------------------------------
# NEURAL MEMORY SYSTEM
# --------------------------------------------
# Vector Database for semantic memory
PINECONE_API_KEY=your_pinecone_key_here
PINECONE_ENVIRONMENT=us-west1-gcp
PINECONE_INDEX=tiqology-memory

# Knowledge Graph
NEO4J_URI=neo4j+s://your_instance.databases.neo4j.io
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=your_neo4j_password

# Memory Settings
MEMORY_CONTEXT_WINDOW=10000
MEMORY_EMBEDDING_MODEL=text-embedding-3-large
MEMORY_RETENTION_DAYS=365

# --------------------------------------------
# MULTIMODAL VISION
# --------------------------------------------
VISION_MODEL=gpt-4-vision-preview
VISION_MAX_TOKENS=4096
DALL_E_MODEL=dall-e-3
STABLE_DIFFUSION_API=your_sd_api_key

# --------------------------------------------
# AGENT SWARM ORCHESTRATION
# --------------------------------------------
AGENT_SWARM_ENABLED=true
AGENT_MAX_CONCURRENT=5
AGENT_ARCHITECT_MODEL=gpt-4-turbo
AGENT_CODER_MODEL=gpt-4-turbo
AGENT_TESTER_MODEL=gpt-4
AGENT_OPTIMIZER_MODEL=claude-3-opus

# --------------------------------------------
# REAL-TIME COLLABORATION
# --------------------------------------------
WEBSOCKET_ENABLED=true
WEBSOCKET_PORT=3001
REDIS_URL=redis://localhost:6379
PRESENCE_TIMEOUT=30000

# --------------------------------------------
# AUTONOMOUS TASK EXECUTION
# --------------------------------------------
BACKGROUND_JOBS_ENABLED=true
INNGEST_EVENT_KEY=your_inngest_key
INNGEST_SIGNING_KEY=your_inngest_signing_key
TASK_APPROVAL_THRESHOLD=high

# --------------------------------------------
# PRODUCTION OPTIMIZATIONS
# --------------------------------------------
NEXT_BUILD_CACHE=true
NEXT_INCREMENTAL_TS=true
VERCEL_EDGE_RUNTIME=true
LOG_LEVEL=info
SENTRY_DSN=your_sentry_dsn_optional

# --------------------------------------------
# APP METADATA
# --------------------------------------------
APP_NAME=TiQology Nexus
APP_VERSION=2.0.0-revolutionary
APP_DESCRIPTION=The Living AI Operating System
Loading