Status: 🟢 PRODUCTION LIVE (as of 2026-02-25 07:17 GMT+2)
Latest Update: Security Incident Response + Never-Forget Protocol deployed
APEX is a production-grade engineering intelligence system that combines:
- 🧠 Semantic Memory — FAISS vector database with 14.4ms query latency
- 📋 Never-Forget Protocol — Proactive context protection + FAISS-integrated recovery
- 🔐 Security Hardening — P0-P2 complete + incident response playbooks
- 🎛️ Service Control — Web dashboard for managing services (start/stop/restart)
- 📡 Multi-Channel Integration — Discord + Telegram via secure .env configuration
- 🏗️ Architecture First — Production-ready design, DevOps automation, observability
cd C:\Users\faceb\.openclaw\workspace
.\apex-startup.ps1 -Mode startOnline:
- Gateway: http://127.0.0.1:18789
- Nerve: http://localhost
- Controller: http://localhost:3001
.\launch-controller.ps1Access: http://localhost:3001
Features:
- Real-time service status
- One-click Start/Stop/Restart
- Auto-refresh (5 seconds)
- Port health probes
.\apex-startup.ps1 -Mode setup-autostartCreates Windows Task Scheduler task for automatic startup on login.
✅ LIVE as primary memory system
✅ 30+ vectors ingested and searchable
✅ 14.4ms average latency (66% below 50ms target)
✅ Thread-safe, persistent storage
✅ 3-way backup coverage
✅ Never-Forget Protocol integration (context protection)
from apex_faiss_integration import APEXMemoryFaiss
from pathlib import Path
# Initialize
memory = APEXMemoryFaiss(workspace_dir=Path.cwd())
# Search
results = memory.recall(query="architecture decision", k=5)
for result in results:
print(f"{result['label']}: {result['distance']:.2f}")
# Log decision
memory.log_decision(
decision="Decision text",
category="decision",
source="user"
)
memory.save()Purpose: Prevent context loss through proactive checkpointing
Context < 50% → Normal operation
Context 50-70% → Vigilant mode
Context 70-85% → Active checkpointing
Context > 85% → Emergency stop + full snapshot
Recovery Workflow:
- Read daily checkpoint (
memory/YYYY-MM-DD.md) - Semantic search FAISS for related decisions
- Load permanent files (SOUL.md, USER.md)
- Reconstruct context + resume
Docs: See NEVER_FORGET_PROTOCOL.md (10.3 KB, full integration guide)
┌──────────────────────────┐
│ ⚙️ APEX Control │
│ Service Management │
├──────────────────────────┤
│ GATEWAY RUNNING ✓ │
│ NERVE RUNNING ✓ │
├──────────────────────────┤
│ [▶ START] [↻ REST] [⏹] │
│ [🔄 REFRESH] │
└──────────────────────────┘
API Endpoints:
GET /api/status - Service status
POST /api/start - Start services
POST /api/stop - Stop services
POST /api/restart - Restart services
| Category | Status | Implementation |
|---|---|---|
| Credentials | ✅ PROTECTED | All tokens in .env (git-ignored) |
| Memory | ✅ VALIDATED | Input sanitization, checksums |
| Execution | ✅ LIMITED | Timeouts, output limits, pattern blocking |
| Sub-agents | ✅ GATED | Spawn confirmation required |
| Git | ✅ SAFE | Pre-commit hook prevents leaks |
| Incident Response | ✅ ACTIVE | Playbook deployed, 11-min remediation |
Location: C:\Users\faceb\.openclaw\.env
Protection: .gitignore + pre-commit hook
Tokens: Rotated 2026-02-25 (Telegram + Discord)
Rotation: Quarterly (next: 2026-05-25)
Incident: Telegram bot token exposed in git history (2026-02-21)
Status: REMEDIATED (2026-02-25 07:11 GMT+2)
Response Time: 11 minutes (detection to remediation)
Remediation:
- Old tokens revoked and rotated
- Git history partially cleaned
- Enhanced .gitignore patterns
- Security notices published to repos
- 24-hour monitoring active
- Incident playbook documented
Docs: See SECURITY_NOTICE.md (public notice) + SECURITY_INCIDENT_2026-02-25.md (OpenClaw repo, detailed analysis)
Latency (avg): 14.4ms (target: 50ms) ✅ 66% better
Latency (P95): 26.7ms (target: 50ms) ✅ 47% better
Query Success: 57%+ (tuning ongoing)
Vector Capacity: 30+/100K (highly scalable)
Memory Usage: ~50 MB (FAISS + runtime)
Startup Time: ~8s (typical)
apex-startup.ps1 - Orchestration (start/stop/setup)
apex-controller.js - Web API server (port 3001)
public/index.html - Dashboard UI (glassmorphism)
faiss_index.py - FAISS wrapper
apex_faiss_integration.py - APEX integration layer
memory/apex_faiss.index - Vector index
memory/apex_faiss.db - Metadata + audit
.env - Secrets (git-ignored, updated 2026-02-25)
.gitignore - Protection rules (enhanced 2026-02-25)
HEARTBEAT.md - Health check tasks
MEMORY.md - Operational memory
NEVER_FORGET_PROTOCOL.md - Context protection system
README.md - System overview
SECURITY_NOTICE.md - Public incident notice
MILESTONES.md - Project journey & roadmap
NEVER_FORGET_PROTOCOL.md - Context protection guide
APEX_CONTROLLER_GUIDE.md - Dashboard detailed guide
Purpose: Message routing & authentication
Tech: OpenClaw
Config: gateway.cmd
Channels: Discord, Telegram
Auth: GATEWAY_AUTH_TOKEN (.env)
Status: ✅ RUNNING (verified 2026-02-25 06:32)
Purpose: Memory CRUD interface
Tech: Node.js + Express
Binding: 0.0.0.0:80 (all interfaces)
Features: Real-time editing, health checks, FAISS integration
Status: ✅ RUNNING (actively monitored)
Purpose: Hacker News aggregation + APEX logging
Schedule: Every 30 minutes
Output: 31+ breaking news stories tracked
Status: ✅ ACTIVE
| Document | Purpose |
|---|---|
| README.md | System overview (this file) |
| MILESTONES.md | Feature roadmap & project journey |
| NEVER_FORGET_PROTOCOL.md | Context protection system guide |
| SECURITY_NOTICE.md | Public incident notice |
| APEX_CONTROLLER_GUIDE.md | Web dashboard detailed guide |
# Start
.\apex-startup.ps1 -Mode start
# Stop
.\apex-startup.ps1 -Mode stop
# Restart
.\apex-startup.ps1 -Mode stop
.\apex-startup.ps1 -Mode startGateway: http://127.0.0.1:18789
Nerve: http://localhost or http://10.221.25.142
Dashboard: http://localhost:3001
- Regenerate in Discord Developer Portal
- Update
C:\Users\faceb\.openclaw\.env - Restart services
.\apex-startup.ps1 -Mode stop
.\apex-startup.ps1 -Mode startFor detailed procedure: See PLAYBOOKS/SECRET_ROTATION.md (in OpenClaw repo)
# Via dashboard
.\launch-controller.ps1 # Opens http://localhost:3001
# Via command line
openclaw status- ✅ Monitor FAISS error rate and latency
- ✅ Verify multi-channel message flow
- ✅ Monitor bot logs for unauthorized access (security incident)
- ✅ Test web dashboard controls
- ✅ Close incident observation period
- ✅ Finalize GitHub cache purge (optional)
- ✅ Deploy pre-commit hooks
- SQLite encryption at rest (
sqlcipher) — P3 - IVF index upgrade (when vectors > 100K)
- Cost attribution per channel
- Service logs viewer in dashboard
- Performance metrics dashboard
- Reddit feed integration
- Twitter/X feed integration
- FAISS vector database live and tested
- Multi-channel integration (Discord + Telegram, tokens rotated)
- Web control dashboard with real-time status
- Security hardening (P0-P2 complete, 0 critical risks)
- Incident response playbook deployed
- Never-Forget Protocol implemented + FAISS integrated
- Service orchestration (PowerShell + Windows Task Scheduler)
- Comprehensive documentation (20+ guides)
- All tests passing, performance targets met
- Post-incident monitoring active (24-hour window)
System Status: 🟢 PRODUCTION LIVE
Last Updated: 2026-02-25 07:17 GMT+2
Monitoring Until: 2026-02-26 07:17 GMT+2 (security incident observation)
For issues:
- Check dashboard: http://localhost:3001
- Review logs: MEMORY.md or memory/.*.audit.log files
- Restart services:
.\apex-startup.ps1 -Mode stop; .\apex-startup.ps1 -Mode start - For security concerns: See SECURITY_NOTICE.md
Repository: https://github.com/Poid-ZA/OpenClaw
Website: https://poid-za.github.io/