Repository guide · 1 diagram

View source on GitHub ↗
Original documentation, preserved from the repository. Historical projections and scenario ambitions are not evidence of live performance. See the current readiness record for deployment requirements.

Owner Command Deck – Planetary Orchestrator Fabric

The owner wields absolute authority over the fabric. This manual demonstrates how non-technical operators execute pause/resume, reroute workloads, and adjust shard policies without modifying code.

Golden Rules

  1. Single source of truth: Only the owner multisig defined in config/fabric.example.json can push changes.
  2. Declarative commands: All interventions are JSON payloads replayed via scripts/v2/ or the orchestrator owner console.
  3. Auditability first: Every command writes to reports/<label>/owner-script.json and events.ndjson.

Control Surface

Architecture diagram · source preserved below
View original Mermaid source
stateDiagram-v2
  [*] --> Live
  Live --> Paused: owner:pause-all
  Paused --> Live: owner:resume
  Live --> Throttled: owner:set-latency-budget
  Throttled --> Live: owner:restore-latency
  Live --> SpilloverEscalated: owner:reroute-shard
  SpilloverEscalated --> Live: owner:normalize-shard

Core Commands

Pause Everything

npm run owner:system-pause -- \
  --network sepolia \
  --pause-contract 0xSystemPauseAddress \
  --reason "Drill: Helios spillover protection"

The demo generates an equivalent payload inside reports/<label>/owner-script.json under "pauseAll" so you can replay it verbatim.

Update Latency Budgets

node scripts/v2/ownerControlSurface.ts \
  --action set-latency-budget \
  --shard mars \
  --latency-ms 350 \
  --multisig 0xFABR1C00000000000000000000000000000000MS

The orchestrator instantly applies the change and persists the update inside summary.json.

Force Spillover to Helios

node scripts/v2/ownerControlSurface.ts \
  --action reroute-shard \
  --source earth \
  --target helios \
  --reason "Earth backlog > 90%"

Register Surge Shards

{
  "type": "shard.register",
  "reason": "Provision edge spillway during surge",
  "shard": {
    "id": "edge-surge",
    "displayName": "Edge Surge Lattice",
    "latencyBudgetMs": 140,
    "spilloverTargets": ["earth", "luna"],
    "maxQueue": 1800,
    "router": {
      "queueAlertThreshold": 1200,
      "spilloverPolicies": [
        { "target": "earth", "threshold": 1350, "maxDrainPerTick": 60 },
        { "target": "luna", "threshold": 1500, "maxDrainPerTick": 40 }
      ]
    }
  }
}

Retire Shards Without Downtime

{
  "type": "shard.deregister",
  "shard": "edge-surge",
  "reason": "Consolidate capacity after surge",
  "redistribution": { "mode": "spillover", "targetShard": "earth" }
}

Command the Checkpoint Engine

Retarget Reporting Archives

Direct reports to fresh destinations mid-run without redeploying tooling:

{
  "type": "reporting.configure",
  "reason": "Route artifacts to governance bucket",
  "update": {
    "directory": "demo/Planetary-Orchestrator-Fabric-v0/reports/governance-archive",
    "defaultLabel": "governance-drill"
  }
}

Reroute Specific Jobs

node scripts/v2/ownerControlSurface.ts \
  --action job-reroute \
  --job-id job-00123 \
  --target helios \
  --reason "Redirect precision workload to Helios GPU array"

Cancel Redundant Jobs

node scripts/v2/ownerControlSurface.ts \
  --action job-cancel \
  --job-id job-00124 \
  --reason "Owner resolved ticket manually"

Resume From Checkpoint

  1. Stop the orchestrator (or simulate a crash with Ctrl+C).
  2. Run demo/Planetary-Orchestrator-Fabric-v0/bin/run-demo.sh --resume --checkpoint demo/Planetary-Orchestrator-Fabric-v0/storage/checkpoint.json.
  3. Confirm the resume log prints "checkpointRestored": true.

Automated Restart Drill

Customizing for Production

Control Demo Implementation Production Hook
Pause / Resume owner:system-pause script Gnosis Safe transaction or multisig contract call
Latency Budgets JSON patch in orchestrator runtime On-chain parameter update via SystemPause.executeGovernanceCall
Spillover Deterministic router rule update Emission of governance event consumed by routers
Thermostat JSON payload in owner-script.json owner:update-thermostat script hitting RewardEngineMB
Node Quotas Config patch + heartbeat filter Kubernetes/HashiCorp Nomad autopilot APIs

Scheduling Commands Ahead of Time

Direct Owner Command Payloads

owner-script.json now emits two complementary blocks:

  1. Legacy payloads (pauseAll, rerouteMarsToHelios, adjustLatency, resumeAll) for existing on-chain command surfaces.

  2. Direct owner commands aligned with the orchestrator’s runtime (system.pause, shard.update, node.register, etc.) so operators can patch configuration mid-flight. Example:

    {
      "directOwnerCommands": {
        "registerHeliosBackup": {
          "type": "node.register",
          "reason": "Spin up backup GPU helion",
        "node": {
          "id": "helios.solaris-backup",
          "region": "helios",
          "capacity": 20,
          "specialties": ["gpu", "astronomy"],
          "heartbeatIntervalSec": 9,
           "maxConcurrency": 12,
           "endpoint": "https://helios-backup.fabric.ops/api",
           "deployment": {
             "orchestration": "kubernetes",
             "runtime": "cuda",
             "image": "registry.agi/helios-gpu-worker:1.4.0",
             "version": "1.4.0",
             "entrypoint": "/opt/agi/run-helion.sh",
             "resources": { "cpuCores": 24, "memoryGb": 96, "gpuClass": "A100", "storageGb": 320 }
           },
           "availabilityZones": ["helios-gateway-a", "helios-gateway-b"],
           "pricing": { "amount": 0.00094, "currency": "USDC", "unit": "job" },
           "tags": ["gpu", "backup"],
           "compliance": ["SOC2-Type-II", "Solaris-Safety"]
         }
       }
     }

}


Use these payloads with `run-demo.sh --owner-commands`, or apply them interactively by piping JSON into your governance tooling.

## Safety Net Checklist

- ✅ `owner-script.json` contains the exact command payloads for replay.
- ✅ `summary.json` echoes the updated policies so auditors can verify intent vs effect.
- ✅ `events.ndjson` logs the change with timestamp, owner signature, and hash.
- ✅ `checkpoint.json` records the new state so restarts never revert policies.

Use this manual to keep the owner in full command across planetary distances without touching a code editor.
← Back to Planetary Orchestrator Fabric