Files
2026-07-02 16:31:49 +00:00

1.9 KiB

APEX OS — Standard Operating Procedures (SOPs)

1. COMMAND REFERENCE (Telegram)

Command Purpose Example
/status Get full system health and metrics /status
/roster List all active employees /roster
/task [description] Assign a task to CEO Agent for decomposition /task Research competitor pricing for AI tools
/hire [Role] | [Task] Create a new AI employee /hire Content Writer | Write blog posts about AI
/help Show command menu /help
Natural language Any text routes to CEO Agent What's our ad spend this month?

2. TASK LIFECYCLE

CEO (Telegram) → /task "Build X"
    ↓
CEO Agent decomposes into sub-tasks
    ↓
Tasks assigned to employees via apex.tasks
    ↓
Employee completes → status = 'completed'
    ↓
Status Watcher detects change → triggers next step
    ↓
When all sub-tasks done → CEO Agent bundles results
    ↓
CEO receives Telegram notification with [Approve] [Reject] [Revise]
    ↓
On Approve → Engineer deploys or task archived

3. EMPLOYEE MANAGEMENT

Hiring

/hire [Role Name] | [Specialized Task Description]

Monitoring

4. EMERGENCY PROCEDURES

System Health Check

/status

Manual Recovery

ssh root@62.72.3.145 -i <ssh-key>
docker ps -a
/opt/apex/scripts/auto-recovery.sh

5. ESCALATION MATRIX

Severity Response Channel
Low Employee handles autonomously Logged to reflections
Medium CEO Agent coordinates response Telegram notification
High Human CEO notified immediately Telegram with [Approve] required
Critical Auto-recovery + human alert Telegram + Grafana alert