Governance & validation

Astral Citadel

Explore the Citadel scenario and the components supporting its control model.

A CLOSER LOOK

What can a mission plan tell an operator before execution?

For mission reviewers: generate a deterministic readiness packet from a structured project plan, with explicit separation between planning heuristics and executed work.

Trace readiness calculations

The Python runner derives a JSON and Markdown packet from the plan. Follow its formulas before interpreting resilience or coordination metrics.

demo/astral-citadel/run_demo.py ↗

Connect to operations

The original runbook preserves the broader operator workflow. Use the local ASI demo for contract evidence; a plan-derived score is a different kind of artifact.

demo/astral-citadel/RUNBOOK.md ↗

REAL REPOSITORY MATERIAL

Inspect. Understand. Reproduce.

Reading the exact source at revision 5b4cebb3.
This browser inspection does not execute the demo.

demo/astral-citadel/project-plan.json

Select a walkthrough step to explore its source.

Full source text
{
  "initiative": "Astral Citadel Global Stewardship Grid",
  "objective": "Coordinate planetary-scale supply resilience, humanitarian aid, and climate-positive infrastructure using only AGI Jobs v0 (v2) automation.",
  "budget": {
    "currency": "AGIALPHA",
    "total": "920000"
  },
  "governance": {
    "owner": "0xASTRAL-GOVERNOR",
    "pauseAuthority": "SystemPause",
    "treasury": "0xTREASURY-CITADEL",
    "thermostat": {
      "initialTemperature": "0.19",
      "emergencyTemperature": "0.36",
      "updateScript": "scripts/v2/updateThermodynamics.ts"
    }
  },
  "participants": {
    "agents": [
      {
        "handle": "supply.mesh.agent.agi.eth",
        "role": "Distributed Supply Kernel",
        "capabilities": ["Zero-knowledge logistics commitments", "Cross-region freight coordination", "Inventory telemetry"]
      },
      {
        "handle": "infrastructure.delta.agent.agi.eth",
        "role": "Climate Infrastructure Collective",
        "capabilities": ["Modular microgrid rollout", "Carbon drawdown fabrication", "Resilience audits"]
      },
      {
        "handle": "aid.response.agent.agi.eth",
        "role": "Humanitarian Response Mesh",
        "capabilities": ["Rapid shelter deployment", "Medical supply routing", "Validator liaison"]
      },
      {
        "handle": "treasury.operator.agent.agi.eth",
        "role": "Treasury Stewardship Cell",
        "capabilities": ["AGIALPHA liquidity balancing", "Thermostat PID tuning", "FeePool treasury orchestration"]
      }
    ],
    "validators": [
      {
        "handle": "civic.audit.validator.agi.eth",
        "stake": "160000",
        "mandate": "Civic legitimacy and dispute arbitration"
      },
      {
        "handle": "energy.oversight.validator.agi.eth",
        "stake": "145000",
        "mandate": "Thermodynamic compliance and Hamiltonian monitoring"
      },
      {
        "handle": "ops.resilience.validator.agi.eth",
        "stake": "98000",
        "mandate": "Operational resilience, sentinel routing"
      }
    ]
  },
  "jobs": [
    {
      "id": "SUPPLY-NEXUS",
      "title": "Global supply lattice reconciliation",
      "reward": "180000",
      "deadlineDays": 21,
      "dependencies": [],
      "energyBudget": "52000",
      "thermodynamicProfile": {
        "expectedEntropy": "0.14",
        "adjustmentOnDelay": "raise-temperature"
      }
    },
    {
      "id": "AID-VANGUARD",
      "title": "Humanitarian surge & relief corridor",
      "reward": "165000",
      "deadlineDays": 18,
      "dependencies": ["SUPPLY-NEXUS"],
      "energyBudget": "47000",
      "thermodynamicProfile": {
        "expectedEntropy": "0.11",
        "adjustmentOnDelay": "increase-agent-share"
      }
    },
    {
      "id": "INFRA-QUANTUM",
      "title": "Climate-positive microgrid deployment",
      "reward": "210000",
      "deadlineDays": 45,
      "dependencies": ["SUPPLY-NEXUS"],
      "energyBudget": "86000",
      "thermodynamicProfile": {
        "expectedEntropy": "0.19",
        "adjustmentOnDelay": "double-validator-bonus"
      }
    },
    {
      "id": "TREASURY-HARMONY",
      "title": "Treasury & stake harmonisation across jurisdictions",
      "reward": "145000",
      "deadlineDays": 15,
      "dependencies": ["SUPPLY-NEXUS"],
      "energyBudget": "38000",
      "thermodynamicProfile": {
        "expectedEntropy": "0.09",
        "adjustmentOnDelay": "trigger-pause-check"
      }
    },
    {
      "id": "VALIDATION-SYNTH",
      "title": "Synchronized validator quorum stress-test",
      "reward": "110000",
      "deadlineDays": 12,
      "dependencies": ["AID-VANGUARD", "INFRA-QUANTUM", "TREASURY-HARMONY"],
      "energyBudget": "29000",
      "thermodynamicProfile": {
        "expectedEntropy": "0.07",
        "adjustmentOnDelay": "raise-temperature"
      }
    },
    {
      "id": "MISSION-DIGEST",
      "title": "Unified mission reporting and sentinel calibration",
      "reward": "110000",
      "deadlineDays": 10,
      "dependencies": ["VALIDATION-SYNTH"],
      "energyBudget": "26000",
      "thermodynamicProfile": {
        "expectedEntropy": "0.06",
        "adjustmentOnDelay": "increase-agent-share"
      }
    }
  ],
  "reporting": {
    "artifacts": {
      "dryRun": "reports/astral-citadel/dry-run.json",
      "thermodynamics": "reports/astral-citadel/thermodynamics.json",
      "missionControl": "reports/astral-citadel/mission-control.md",
      "summary": "reports/astral-citadel/astral-citadel-report.md"
    },
    "dashboards": [
      "reports/astral-citadel/mission-control.md",
      "reports/astral-citadel/thermodynamics.json"
    ]
  }
}

SHA-256 ca3db5af85fcc243a71e026254f34986d888583fdc50c2cf5a3b5b2163ad4440

FROM READING TO A REPRODUCIBLE RUN

Try the selected path.

Python, no demo package install

Run from the repository root with Python 3.12. This selected entry point uses the Python standard library. Keep output in a separate directory so that you can compare runs.

Complete environment setup ↗
SELECTED EXECUTION PATH
python demo/astral-citadel/run_demo.py --output-dir /tmp/astral-demo

What you should observe

The runner writes astral-citadel-report.json and astral-citadel-report.md under /tmp/astral-demo.

The source inspector above reads bundled repository material. Local commands run separately on your computer. Recorded examples may contain historical timestamps, placeholders and simulated metrics.

MAKE IT YOUR OWN

One useful experiment.

Compare a dependency in the plan with its report representation. Ask which missing operational evidence would prevent this plan from being commissioned.

THE SYSTEM, MADE VISIBLE

Architecture & relationships

Architecture diagram · source preserved below
View original Mermaid source
flowchart LR
    Operators((Mission Owners)) --> demo_astral_citadel[[Demo → Astral Citadel]]
    demo_astral_citadel --> Core[[AGI Jobs v0 (v2) Core Intelligence]]
    Core --> Observability[[Unified CI / CD & Observability]]
    Core --> Governance[[Owner Control Plane]]

WHEN SOMETHING DOESN’T MATCH

Troubleshooting

Import or dependency error

Confirm the active virtual environment and the selected demo’s requirements. Run python -m pip check; do not install unrelated demo requirements over a working environment.

Unexpected result or missing file

Check the selected entry point, configuration and output argument. Keep the seed and implementation fixed before comparing outcomes.

TRACE THE CHECKS

Verification & next steps

1 tracked test source files are available in this directory. Inspect the tests and their environment before choosing a suite; file counts do not establish test results.

Browse the test sources

For live commissioning, consult the production readiness record.

EVERY VARIANT, PRESERVED

Complete document library

REPRODUCE & INSPECT

Registered commands

Run commands from the repository root after following this demo's guide. Network and owner actions require their documented setup.

No root-level launch command is associated with this source path. Follow the guide or source directory for its own entry point.

Full command catalog and troubleshooting ↗

ORIGINAL DIRECTORYdemo/astral-citadelView on GitHub ↗