RUNBOOK — 🎖️ Solving α-AGI Governance 👁️✨
This runbook lets a non-technical owner execute the entire AGI Governance Demonstration from a laptop. Every action is copy‑pasteable; no bespoke coding is required. The workflow assumes access to an Ethereum mainnet RPC (or fork) and a hardware wallet, Safe, or custodial signer with owner privileges.
0. Prerequisites
- Clone the AGI Jobs v0 (v2) repository and install dependencies:
git clone https://github.com/MontrealAI/AGIJobsv0.git cd AGIJobsv0 npm ci - Toolchain locks:
Confirms Node 22.23.3, Hardhat, Foundry, and auxiliary utilities match the pinned versions.npm run ci:verify-toolchain - Owner signer ready: ensure you control the owner key or multisig referenced in
config/mission@v1.json.
1. Generate the governance dossier
npm run demo:agi-governanceOutputs reports/governance-demo-report.md with:
- Thermodynamic energy margins (Gibbs free energy, Hamiltonian convergence envelope, Landauer limit calibration).
- Statistical-physics partition validation (partition function, scaled free energy, entropy, Gibbs delta tolerance, heat capacity).
- Jarzynski equality reconciliation (log ⟨e−βW⟩ vs e−βΔF confirming the Landauer-aligned free-energy gap).
- Incentive free-energy ledger (mint/burn/slash parity, treasury mirroring, owner-tunable slashing curves).
- Five-method equilibrium confirmation (discrete replicator, RK4 continuous flow, Perron eigenvector, closed-form, Monte-Carlo) with maximum deviation score.
- Analytic vs numeric Jacobian matrices (Gershgorin, spectral radius, max delta) and antifragility curvature plus welfare growth curve for adversarial shocks.
- Alpha-field sovereign assurance scoreboard validating Stackelberg bounds, Gibbs tolerances, antifragility minimums, sigma welfare gains, owner coverage, owner supremacy index, thermo ↔ quantum alignment, quantum confidence, superintelligence index, and energy margin with assurance breakdowns.
- Quantum governance lattice (coherence confidence vs floor, quantum free-energy delta, Noether charge alignment, state entropy, superposition weights).
- Risk audit portfolio with weighted mitigation coverage, dual residual calculations, and board threshold comparison.
- Owner command surface (pause/unpause, parameter upgrades, treasury manoeuvres, sentinel verifications) plus capability coverage matrix and npm-script audit table.
- Blockchain deployment ledger (contracts, pausable selectors, Safe module stack).
- CI enforcement proof (required contexts, concurrency, access-control coverage).
Review the report. It references exact commands to execute each owner action on Ethereum or via AGI Jobs automation scripts.
2. Recompute the dossier (independent verification)
npm run demo:agi-governance:validateThis command recomputes every analytic in the mission manifest—thermodynamics, statistical physics, replicator equilibria, antifragility curvature, risk aggregation, incentive ledgers, and owner control coverage—and compares them against the generated summary JSON. It emits reports/governance-demo-validation.json and .md, each listing the tolerance achieved per check plus confirmation that agent ↔ treasury parity, divergence tolerances, and Jacobian stability survived the replay.
Archive these files with the original dossier for an independently verified evidence chain.
3. Validate CI enforcement (green V2 shield)
npm run demo:agi-governance:ciThis audits .github/workflows/ci.yml to ensure:
- Jobs
lint,tests,foundry,coverage, andsummaryexist with the expected display names. - Push and pull request triggers are enabled for the workflow.
- Manual
workflow_dispatchtrigger is available for emergency reruns. - Concurrency guards are active (
ci-${workflow}-${ref}). cancel-in-progressis set totrueso new pushes replace stale runs.- Coverage thresholds are enforced (≥ 90%).
COVERAGE_MINenvironment variable is ≥ 90%.
Attach the generated reports/ci-verification.json to your governance logs.
4. Aggregate owner diagnostics (one-click audit pack)
npm run demo:agi-governance:owner-diagnosticsThis orchestrates owner:audit-hamiltonian, reward-engine:report, owner:upgrade-status, and owner:compliance-report with --json, tolerating environments where Hardhat artifacts or on-chain addresses are absent. The resulting reports/owner-diagnostics.json and owner-diagnostics.md summarise success, warnings (e.g., skipped due to missing deployments), and actionable notes. Share the Markdown with executives and store the JSON for automated evidence pipelines.
5. Launch the grandiose governance console
open demo/agi-governance/reports/governance-demo-dashboard.html # macOS
# or
xdg-open demo/agi-governance/reports/governance-demo-dashboard.html # LinuxThe dashboard renders the same mission data with:
- Flowing mermaid diagrams (energy → incentives → alpha field → owner loop, residual-risk pie, owner sequence, antifragility mindmap).
- Dedicated quantum lattice card with coherence confidence, Landauer delta, and Noether charge tolerance visualised alongside the superposition weight table.
- A live SVG antifragility curve driven by the recomputed welfare samples.
- Responsive tables for strategies, risk vectors, pausable selectors, and CI shields.
This gives non-technical owners a cinematic control room that mirrors the Markdown dossier without requiring terminal access.
Full automation run (optional)
To execute every governance drill—dossier generation, validation, CI verification, and owner diagnostics—in one command, run:
npm run demo:agi-governance:fullThis produces reports/governance-demo-full-run.json and .md, capturing step durations, antifragility curvature, residual risk, CI shield verdicts, and owner readiness. Use the Markdown artifact when you need a single, board-ready proof that the entire α-AGI governance system executed without manual intervention.
6. Execute on-chain owner controls (optional live drill)
Each command below can be run via the CLI, Safe transaction builder, or Etherscan write interface. Replace placeholder addresses with your deployment addresses.
Pause the platform instantly (emergency brake):
npm run owner:system-pause -- --network mainnet --pause trueValidate pause state using
npm run owner:verify-control.Tune governance Hamiltonian parameters:
npm run owner:command-center -- --network mainnet --target HamiltonianMonitor --set-lambda 0.94 --set-inertia 1.08Adjust reward engine (Gibbs free energy alignment):
npm run reward-engine:update -- --network mainnet --burn-bps 600 --treasury-bps 200Update tax policy acknowledgement (public disclosure):
npm run owner:update-all -- --network mainnet --module TaxPolicy --acknowledgement "Participants accept AGI Jobs v2 tax terms."Queue an upgrade bundle for deterministic rollout:
npm run owner:upgrade -- --network mainnet --proposal governance_bundle.json npm run owner:upgrade-status -- --network mainnetResume the platform:
npm run owner:system-pause -- --network mainnet --pause false npm run owner:verify-control -- --network mainnet
Document transaction hashes in reports/governance-demo-report.md under the “Owner Execution Log” section.
Tip: Confirm the “Command Audit” table flips to all ✅ entries before executing upgrades. If a capability shows ⚠️, run npm run owner:surface to inspect available automation scripts or regenerate the AGI Jobs CLI package.
7. Formal verification hooks
- Coverage remapping audit:
npm run coverage node scripts/ci/remap-coverage-paths.js npm run check:access-control - Foundry stochastic fuzzing:
forge test -vvvv --ffi --fuzz-runs 256 - Red-team sentinel validation:
npm run monitoring:sentinels npm run monitoring:validate
Archive the resulting artefacts inside reports/ alongside the governance dossier.
8. Evidence of execution
After each run:
- Commit the generated artefacts to a dedicated evidence branch or upload them to immutable storage (e.g., IPFS, Arweave).
- Cross-reference the timestamp with Safe/Etherscan transaction receipts.
- Update the
Owner Execution Logsection in the dossier and tick the capability coverage table once each action has a confirmed transaction hash.- Transaction hash
- Module touched
- Parameter delta
- Operator signature
The compiled dossier proves the owner maintains total control while the platform autonomously drives toward the thermodynamic and game-theoretic optimum.
Mission complete. AGI Jobs v0 (v2) now demonstrably empowers you—without bespoke engineering—to operate the civilisation-scale α-AGI governance engine.