Job settlement

AURORA

A complete job, from mission definition to validator votes and local settlement.

A CLOSER LOOK

What makes a completed job eligible for payment?

For operators and builders learning the contract lifecycle: connect a job specification to work submission, validator decisions and local settlement.

Define acceptance

Inspect validation.k and validation.n, the challenge window, stake and escrow. Amounts are token base units; the IPFS example URIs are placeholders, not uploaded evidence.

demo/aurora/config/aurora.spec@v2.json ↗

Follow the contract calls

Trace registration, staking, posting, application, submission and validation. This driver executes real contract transactions on the selected local development chain.

demo/aurora/aurora.demo.ts ↗

Read the receipt

The report generator reads run artifacts. Check job IDs, validator votes, settlement transactions and report scope; a generated summary alone does not demonstrate a successful settlement.

demo/aurora/bin/aurora-report.ts ↗

REAL REPOSITORY MATERIAL

Inspect. Understand. Reproduce.

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

demo/aurora/config/aurora.spec@v2.json

Select a walkthrough step to explore its source.

Full source text
{
  "name": "AURORA-Flagship-Job",
  "version": "v2",
  "domains": ["math", "logic", "commonsense"],
  "languages": ["en", "es", "fr"],
  "acceptanceCriteriaURI": "ipfs://example-criteria-hash",
  "validation": { "k": 2, "n": 3 },
  "challengeWindowSec": 86400,
  "escrow": { "token": "USDC", "amountPerItem": "5000000" },
  "stake": { "worker": "20000000", "validator": "50000000" },
  "resultSchema": "ipfs://example-schema-hash",
  "notes": "Demo spec; replace URIs with real content-addressed assets."
}

SHA-256 54b3fba38fb2d0c62858b08f3f7c0bc1051aaf997b49ac8ced8c7840749cb3b5

FROM READING TO A REPRODUCIBLE RUN

Try the selected path.

Disposable local chain

From the repository root, use nvm install, nvm use and npm ci with the pinned Node/npm versions. The local driver uses mock assets; its owned development node stops at the end. If port 8545 is occupied, use DEMO_PORT=18545.

Complete environment setup ↗
SELECTED EXECUTION PATH
npm run demo:aurora:local

What you should observe

One local job completes; inspect reports/localhost/aurora/ and its transaction evidence. Mock tokens and synthetic work are used.

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.

Change an acceptance condition in a copied specification and compare the resulting validation requirements. Do not treat a placeholder URI as evidence.

THE SYSTEM, MADE VISIBLE

Architecture & relationships

Architecture diagram · source preserved below
View original Mermaid source
graph TD
  G[Governance (Safe/Timelock)]
  JR[JobRegistry]
  SM[StakeManager]
  VM[ValidationModule]
  DM[DisputeModule]
  SP[SystemPause]
  RE[ReputationEngine]
  TH[Thermostat]
  EO[EnergyOracle]
  MB[RewardEngineMB]
  FP[FeePool]

  G --> JR & SM & DM & SP & TH
  EO --> MB --> FP
  JR --> VM --> DM --> JR
  JR --> RE
  JR --> SM
All standalone flowcharts (2)

WHEN SOMETHING DOESN’T MATCH

Troubleshooting

Port already in use

Choose DEMO_PORT=18545 before the command. Do not connect a demo to an unrelated or valuable chain.

No final settlement evidence

Read the first failed transaction or validation step. Compare the effective mission, committee thresholds and report scope; a partial report is not a completed run.

TRACE THE CHECKS

Verification & next steps

This directory has no standalone test source files. Follow the shared implementation and its behavioral tests before making correctness claims.

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.

npm run demo:asi-takeoff:report
npm run demo:aurora:local
npm run demo:aurora:report

Full command catalog and troubleshooting ↗

ORIGINAL DIRECTORYdemo/auroraView on GitHub ↗