Repository guide · 0 diagrams

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.

Mission Control Runbook – National Supply Chain Demo

This runbook guides non-technical operators through launching, verifying, and replaying the Meta-Agentic national supply chain simulation. Follow the steps in order; every action provides immediate terminal feedback.

1. Environment preparation

  1. Install dependencies once:
    npm install
  2. Ensure no other Hardhat instance is running. The scripts start an ephemeral in-memory chain automatically.

2. Execute the grand demo

Run the full demonstration with narration:

npm run demo:national-supply-chain

The script performs the following:

Owner authority drill highlights

During the run the script intentionally:

3. Export and validate a fresh transcript

The CLI can emit a structured JSON export consumed by the UI and runbook validation tools.

npm run demo:national-supply-chain:export

This writes demo/National-Supply-Chain-v0/ui/export/latest.json.

Cross-check the export with both validation engines:

npm run demo:national-supply-chain:cross-verify

The cross-validator enforces the Zod schema, verifies chronological ordering, and confirms that every minted credential maps to an orchestrated scenario.

Immediately validate the invariants that prove unstoppable governance:

npm run demo:national-supply-chain:validate

The validator enforces timeline depth, owner authority drills, treasury graduations, validator quorum composition, and the unstoppable mission score.

4. Review the mission control dashboard

Serve the UI with any static web server:

npx serve demo/National-Supply-Chain-v0/ui

Open the printed URL. You will see:

5. Autoreplay + UI loop (optional)

Launch the integrated control room which automatically refreshes the transcript and hosts the UI:

npm run demo:national-supply-chain:control-room

6. Continuous verification (CI)

The repository runs .github/workflows/demo-national-supply-chain.yml on every relevant pull request. The workflow executes the export command, runs both the cross-verifier and the imperative validator, checks that timeline, ownerActions, scenarios, market.agentPortfolios, and ownerControl.baseline are populated, and uploads the transcript artefact. A failed workflow blocks merges, ensuring the demo always remains executable.

7. Troubleshooting

Symptom Resolution
Hardhat exits with EADDRINUSE Another Hardhat node is running. Terminate it or rerun the script.
Transcript missing after export Check terminal output for reverts. Ensure demo/National-Supply-Chain-v0/ui/export is writable.
UI shows stale data Rerun the export command or press Enter in the control room loop.
Need to reset Delete demo/National-Supply-Chain-v0/ui/export/latest.json and rerun the export command.

All scripts are deterministic; re-running them restores the canonical sovereign state showcased in the walkthrough.

← Back to National Supply Chain