Command OS — Cloudflare Architecture

Status: Phase 1 build in progress. Beta: Agent Memory + Artifacts

Architecture

┌──────────────────────────────────────────────────────────────┐
│ PRINCIPAL                                                    │
│ Human: Siri / Access-gated board / forwarded mission email   │
└───────────────────────┬──────────────────────────────────────┘
                        ▼
┌──────────────────────────────────────────────────────────────┐
│ ORAL — SOLE OPERATOR (api.alfred.report)                     │
│ Cloudflare Worker + Durable Object + D1                      │
│                                                              │
│  Session authority → Mission compiler → Evidence ledger       │
│        ↓                    ↓                    ↓             │
│  Independent gate    Budget enforcement    Agent Memory       │
│        ↓                    ↓                    ↓             │
│  Voice report (TTS via AI Gateway)                           │
└──────────────┬───────────────────────────────┬───────────────┘
               ▼                               ▼
┌──────────────────────────┐      ┌────────────────────────────┐
│ FIELD WORKERS            │      │ TRUST                      │
│ Ephemeral, scoped,       │      │ D1 event/state record      │
│ replaceable              │      │ CF Artifacts (source)      │
└──────────────────────────┘      └────────────────────────────┘

┌──────────────────────────────────────────────────────────────┐
│ BOARD — THIN EDGE (alfred.report)                            │
│ Static pages + Access-gated inspection                       │
│ Service binding to ORAL; no local state                      │
└──────────────────────────────────────────────────────────────┘

Cloudflare Services Used

Workers + Durable Objects

D1

AI Gateway

Agent Memory

Artifacts

Cloudflare Access

Service Bindings

Questions

1. Artifacts CI/CD

We have Artifacts repos set up. What's the correct flow for:

2. AI Gateway Optimization

Routing MiMo TTS through custom provider. Are we:

3. Agent Memory Best Practices

Using CF Agent Memory for mission promotion. Are we:

4. Durable Objects Patterns

Using DOs for mission state. Are we:

5. D1 Optimization

Missions, sessions, events tables. Are we:

6. Service Binding Patterns

Board → ORAL via service binding. Are we:

7. Auth & Access

Cloudflare Access + JWT verification. Are we:

8. Secrets Management

Using wrangler secret put. Is there a better way?

9. Monitoring & Observability

What CF features for:

10. Unused Services

Should we be using any of these?

What We Need

Contact

Organization: OpenRoyleAl / Iceberg Media

CF Account: 0870b0bdbc14bcd31f43fe5e82c3ee8e

Repository: github.com/OpenRoyleAl/command-os (private)