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.

α-AGI Insight MARK – Operator Runbook

This runbook assumes zero Solidity or DevOps experience. Follow the steps to launch, audit, and govern the foresight marketplace from a single terminal.

1. Pre-flight Checklist

  1. Install Node.js 20.18 (matching .nvmrc).
  2. Clone the AGI Jobs v0 (v2) repository and run npm ci at the root once.
  3. Ensure Docker is not required – the demo uses Hardhat’s in-memory chain by default.

2. Launch Sequence

npm run demo:alpha-agi-insight-mark

The orchestrator:

Watch the console for emoji-tagged telemetry such as:

🤖 [Meta-Sentinel] Initialising α-AGI Insight MARK deployment lattice.
🤖 [Thermodynamic Oracle] Evaluating Finance rupture – confidence 91.0%.

3. Post-run Artefacts

Navigate to demo/alpha-agi-insight-mark/reports/ and review:

4. Owner Control Drills

  1. Delegate Sentinel – Call setSystemPause(<sentinel address>) on all three contracts, then have the sentinel trigger pause(). Only the owner can unpause().
  2. Pause/Resume – From the Hardhat console or Owner Console UI, call pause() on each contract to halt trading, then unpause().
  3. Rotate Oracle – Use setOracle(<new address>) on the exchange. The new oracle can immediately call resolvePrediction.
  4. Retarget Treasury – Call setTreasury(<new address>). Validate the change via insight-recap.json and on-chain logs.
  5. Dynamic Pricing – Reprice an active listing via updateListingPrice(tokenId, price); confirm the markdown reflects the new amount.
  6. Custody Override – Call forceDelist(tokenId, <custodian>) to evacuate a seed into a safe wallet, then re-list when cleared.
  7. Reveal & Revise FusionPlan – Trigger revealFusionPlan(tokenId, uri) to expose the cryptosealed FusionPlan, then updateFusionPlan(tokenId, uri) if revisions are needed.
  8. Retune Forecast Parameters – Use updateInsightDetails(tokenId, sector, thesis, timestamp, confidenceBps, forecastValue) to refresh disruption metadata and economic magnitude under owner command.

5. Verification Loop

  1. Run npm run test:alpha-agi-insight-mark to execute unit tests.
  2. Run npm run demo:alpha-agi-insight-mark:ci to recreate the artefacts in dry-run mode.
  3. Execute npm run verify:alpha-agi-insight-mark – the verifier performs the same manifest, telemetry, and mermaid integrity checks enforced in CI so non-technical operators can certify the dossier bundle locally.
  4. Compare the new insight-manifest.json to the previous run to ensure reproducibility.
  5. Store artefacts in your evidence vault alongside transaction hashes for board reviews.
  6. Audit GitHub branch protections. Run read -s GITHUB_TOKEN && export GITHUB_TOKEN before npm run ci:verify-branch-protection -- --branch main so the token is never echoed into logs, then archive the ✅/❌ transcript. Finish with unset GITHUB_TOKEN.

6. Live Network Launch (Advanced)

  1. Export the required environment variables (RPC URL, private keys).
  2. Optionally set INSIGHT_MARK_SCENARIO_FILE to your curated foresight dataset – the script will refuse to run if the file is missing and will embed the SHA-256 fingerprint in every recap.
  3. Set AGIJOBS_DEMO_DRY_RUN=false so the script prompts for launch confirmation. Confirm the prompt by typing LAUNCH.
  4. (Recommended) Set INSIGHT_MARK_CHAIN_ID and INSIGHT_MARK_EXPECTED_OWNER to enforce that the connected network and signer match your deployment plan.
  5. After deployment, import contract addresses from insight-recap.json into the Owner Console to manage pause/upgrade levers.

Emergency – Have the delegated sentinel issue pause() on all contracts, then coordinate owner-led unpause() once investigations complete. Record the action using the owner change ticket from docs/owner-control-briefing.md.

7. Clean-up

Hardhat resets automatically. If targeting a persistent network, retain the generated artefacts, note the contract addresses, and update your governance records.

← Back to Alpha AGI Insight