apex-power
APEX-POWER: Universal Meta-Skill for Omnipotent Execution. Use at session start and for ANY task. Transforms any agent into an APEX-level expert with zero weakpoints. Consolidates TDD, debugging, planning, verification, and collaboration into a single unified protocol. Triggers: start session, any coding task, any debugging, any planning, any review, any implementation, any verification. Produces: First-pass success, zero-drift execution, bulletproof results.
SKILL.md
| Name | apex-power |
| Description | APEX-POWER: Universal Meta-Skill for Omnipotent Execution. Use at session start and for ANY task. Transforms any agent into an APEX-level expert with zero weakpoints. Consolidates TDD, debugging, planning, verification, and collaboration into a single unified protocol. Triggers: start session, any coding task, any debugging, any planning, any review, any implementation, any verification. Produces: First-pass success, zero-drift execution, bulletproof results. |
Universal Synchronized Orchestrator
█████╗ ██████╗ ███████╗██╗ ██╗ ██████╗ ███╗ ███╗███╗ ██╗██╗██╗ ██╗██╗ ██╗██████╗
██╔══██╗██╔══██╗██╔════╝╚██╗██╔╝ ██╔═══██╗████╗ ████║████╗ ██║██║██║ ██║██║ ██║██╔══██╗
███████║██████╔╝█████╗ ╚███╔╝ ██║ ██║██╔████╔██║██╔██╗ ██║██║███████║██║ ██║██████╔╝
██╔══██║██╔═══╝ ██╔══╝ ██╔██╗ ██║ ██║██║╚██╔╝██║██║╚██╗██║██║██╔══██║██║ ██║██╔══██╗
██║ ██║██║ ███████╗██╔╝ ██╗ ╚██████╔╝██║ ╚═╝ ██║██║ ╚████║██║██║ ██║╚██████╔╝██████╔╝
╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝
INTELLIGENCE DESIGNED. Directable • Accountable • Dependable
Version: 1.3.8 | Release Date: 2026-03-02
🚦 Start Here (Canonical Map)
Before touching code, read the canonical architecture map:
Overview
APEX OmniHub is the first Universal Sync Orchestrator for governed execution across ALL modern stacks, AI apps, legacy enterprise systems, and Web3 infrastructure. Think "Anti-OS, it is the USO": one place to connect fragmented systems, translate universally, enforce policy, and produce an audit trail you can defend.
The platform relies on a "Holy Trinity" architecture:
- OmniHub: The Universal Sync Orchestrator (Logic & Policy).
- OmniLink: The Secure Gateway (Connectivity).
- OmniPort: The Multimodal Normalizer (Input/Output).
OmniHub's job is simple: translate intent into deterministic execution, without lock-in, without chaos, and without silent failure.
Platform Statistics (Repository Snapshot 2026-02-27)
| Metric | Value |
|---|---|
Source Files (src/) | 297 total files |
TypeScript/TSX (src/) | 267 files |
React Components (src/) | 134 .tsx component files |
Page Routes (src/pages/) | 27 page files |
Edge Functions (supabase/functions/) | 22 function directories |
Database Migrations (supabase/migrations/) | 50 SQL migration files |
CI/CD Workflows (.github/workflows/) | 12 workflow files |
Test Specs (tests/ + e2e/) | 93 test specs (*.test.ts, *.spec.ts) |
Custom Hooks (src/) | 14 hook files matching use*.ts* |
| Orchestrator (Python) | 84 files (Temporal workers, activities, security) |
What OmniHub Is (and Is Not)
✅ Is: A secure orchestration layer + universal translation engine that standardizes execution, policy enforcement, and auditability across your entire stack.
❌ Is not: "Just a connector library" or "another iPaaS." OmniHub is designed to be operationally credible (SRE-ready), compliance-friendly, and portable.
Core Pillars
1) Tri-Force Protocol (Governed Autonomy)
A three-tier agent architecture designed to keep unsafe reasoning from reaching production:
| Layer | Role | Implementation |
|---|---|---|
| Guardian | Policy & safety evaluation | orchestrator/security/ |
| Planner | Deterministic planning | orchestrator/workflows/ |
| Executor | Tool execution with audit trails | orchestrator/activities/ |
2) Orchestrator (Durable Workflows)
Temporal.io-backed orchestration for workflows that survive restarts:
- Event sourcing + deterministic replay
- Saga-style compensation patterns
- Idempotent task execution
- Human approval gates (MAN Mode -
supabase/migrations/20260108120000_man_mode.sql)
3) Fortress Protocol (Security & Compliance)
Security is not "a feature." OmniHub enforces:
- Armageddon Test Suite: Continuous chaos engineering and red-teaming engine.
- Zero-trust device registry (
20251218000001_create_device_registry_table.sql) - Audit logging (
20251218000000_create_audit_logs_table.sql) - Emergency controls (
20260103000000_create_emergency_controls.sql) - OMEGA security hardening (
20260125000001_enable_omega_security.sql)
4) OmniLink & OmniPort (Connectivity & Normalization)
The "Trinity" connectivity layer:
- OmniLink: The Secure Gateway for universal connectivity (
20260111000000_omnilink_universal_port.sql). - OmniPort: The Multimodal Normalizer for standardized I/O and DLQ (
20260124000000_omniport_dlq.sql). - OmniTrace: Full replay & tracing capability (
20260125000000_omnitrace_replay.sql).
5) Edge Compute Layer (Media & CORS)
Client-side infrastructure for deterministic media delivery:
- Edge CORS Proxy: Vercel Edge Function (
api/cors.ts) with WinterCG-safe header handling and Range passthrough. - LRU Media Cache: 250 MB ceiling with localStorage ledger eviction (
lib/media/EdgeCacheController.ts). - Cloudflare Worker: Stateless CORS proxy at
edge/cors-proxy/edge-cors-proxy.jsfor production CDN. - Fail-Safe Design: Every cache miss gracefully degrades to proxy URL — zero silent failures.
6) Web3-Native Identity (Optional)
- SIWE (Sign-In with Ethereum) -
supabase/functions/web3-verify/ - NFT verification -
supabase/functions/verify-nft/ - Multi-chain support (
20260101000000_create_web3_verification.sql) - Chain transaction logging (
20260109120000_create_chain_tx_log.sql)
Edge Functions (22 Directories in Repository)
| Function | Purpose |
|---|---|
apex-assistant | AI conversation handler |
apex-voice | Real-time voice processing |
omnilink-agent | Agent orchestration |
omnilink-port | Universal connector |
trigger-workflow | Temporal dispatch |
verify-nft | NFT ownership check |
web3-verify | SIWE authentication |
send-push-notification | Mobile push delivery |
lovable-healthcheck | Integration health |
execute-automation | Workflow execution |
Repository Layout
/src - OmniDash UI (277 files)
/src/pages/OmniDash/OmniDashLayout.tsx - Shell / layout
/src/components/omnidash/ - Panels/widgets: (Today, Pipeline, KPIs, Ops, etc.)
/src/omnidash/uiRegistry.ts - UI registry wiring
/supabase/migrations - Database schema (50+ versioned SQL migrations)
/supabase/functions - Edge functions (22 serverless endpoints)
/orchestrator - Temporal workers and orchestration services (83 files)
/tests - Automated test suite (115 files)
/.github/workflows - CI/CD workflows (12 pipelines)
Quick Start (Local)
Prerequisites
- Node.js 18+ (20+ recommended)
- Python 3.10+
- Docker & Docker Compose
1) Install dependencies
bun install
2) Run OmniDash (main UI)
bun run dev
3) Run the Orchestrator (Temporal)
cd orchestrator
pip install -r requirements.txt
python -m main
4) Docker (production compose)
docker compose -f docker-compose.prod.yml up -d
CI / Quality Gates
Run these before any PR:
bun run lint # ESLint
bun run typecheck # TypeScript strict mode
bun test # Vitest suite
bun run build # Production build
CI/CD Pipelines (Selected Workflows)
| Workflow | Trigger | Purpose |
|---|---|---|
ci-runtime-gates | PR/Push | Build, test, lint, typecheck |
cd-staging | Push to develop | Staging deployment |
deploy-web3-functions | Push to main | Edge function deployment |
secret-scanning | PR | Security scanning |
chaos-simulation-ci | Scheduled | Resilience testing |
sonarqube-analysis | PR | Code quality audit |
guardrail-alert | CI failure | Guardrail violation alerting |
Documentation
Full documentation is available in the docs/ directory.
| Document | Description |
|---|---|
| Executive Architecture Summary | System design |
| Launch Readiness | Deployment checklist |
| OPS Runbooks | Operations procedures |
| Supabase Setup | Database config guide |
| orchestrator/README | Temporal setup |
| orchestrator/MAN_MODE | Human-in-the-loop |
| orchestrator/ARCHITECTURE | Backend design |
Contributing (APEX Standard)
- Fork the repo
- Create a branch:
git checkout -b feature/your-feature - Write tests for your changes
- Run full gates:
bun test && bun run lint && bun run typecheck && bun run build - Submit a PR
Non-Negotiables
- No vendor lock-in - portable adapters, clean interfaces
- Single-port integration - no scattered API calls
- Idempotent operations - safe to re-run, easy rollback
- No secrets in code - env/config only
- Observable behavior - health checks, structured logs
📄 Documentation
Proprietary - © 2026 APEX Business Systems Ltd.
█████╗ ██████╗ ███████╗██╗ ██╗
██╔══██╗██╔══██╗██╔════╝╚██╗██╔╝
███████║██████╔╝█████╗ ╚███╔╝
██╔══██║██╔═══╝ ██╔══╝ ██╔██╗
██║ ██║██║ ███████╗██╔╝ ██╗
╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝
Intelligence Designed. Engineering the Impossible.