Innovation Blockchain

Documentation · Coston2 testnet prototype · invented data

Documentation Runner

Runner

An automatic container tests the prototype on a timer. Each cycle it runs the test suites, plays one invented inspection from start to finish, posts its record on Coston2, and publishes what happened.

See its output on Test activity.

One cycle of the runner Timer a cycle every 2 hours Test suites seven suites, run as they are Next scenario a whole inspection with the kit Runner’s vault draw allowed or refused Runner’s registry record posted by the runner’s test wallet Evidence check inspect verify, before anything is posted activity.json results, hashes, test counts Test activity page reads the feed in your browser verified read write publish
One cycle of the runner. The automatic container. Every cycle it tests the code, plays one invented inspection, and publishes what happened.
The same flow in words
  1. A timer starts a cycle every two hours, while the computer the container lives on is awake.
  2. The runner runs the repository’s seven test suites as they are.
  3. It plays the next of ten scenarios: a whole invented inspection made with the inspector kit.
  4. It checks that the report follows from its evidence. If not, nothing is posted.
  5. It posts the record to its own registry with its own test wallet. This does not pass through Flare Confidential Compute.
  6. It reads what its vault does with a draw, and compares that with what the scenario said should happen.
  7. It writes the feed and uploads it to its own Cloudflare Pages project.
  8. The test activity page reads that feed in your browser.

What one cycle does#

  1. Test suites. Seven suites kept in the repository beside the code, run as they are: about 330 tests.
  2. One scenario. A whole inspection made with the inspector kit, then what the registry and the vault do with its record. Ten scenarios take turns.
  3. A look at the owner's demo. It reads, and only reads, the demo registry and vault.
  4. The feed. It writes one file with the results and uploads it.

The scenarios#

ScenarioWhat should happen
Clean inspection, draw allowedPASS on chain; the draw goes through
A unit was swapped, draw refusedFAIL; refused with ProofFailed
Swap explained as a warranty replacementPASS_WITH_EXCEPTIONS; refused with ProofHasExceptions
A capture made before the inspectionFAIL although every serial matches
A host was not readFAIL with 8 of 16 matched
A pass that goes stale by the clockAllowed while fresh; refused with ProofStale afterwards
The same record sent twiceRefused with RecordAlreadyPosted
An older record after a newer oneRefused with OlderThanStoredRecord
A pass corrected to a fail the same dayThe FAIL replaces the PASS and the vault shuts
Evidence changed after the reportThe evidence check fails and nothing is sent

Each scenario states what should happen before it runs. The feed records what did happen and whether the two agree. A scenario that does not go as expected is shown as such.

Two modes#

ModeChainSigns with
Coston2Flare's Coston2 testnetThe runner's own test wallet
SimulatedA chain inside the container, new every cycleThat chain's own test account

On Coston2 the runner uses its own copy of the registry and the vault, for the invented facility fac-runner-0001. It has no rights over the owner's demo contracts.

Limit. The runner posts its records directly. They do not pass through Flare Confidential Compute and are not signed by a machine. The path through the extension is the Coston2 demo.

The runner's wallet#

This project's rule is that no key is stored and the owner sends every transaction himself. The runner is the one exception, chosen by the owner on 23 November 2026, and it is bounded:

Control#

./runner.sh start     build the image and start the container
./runner.sh status    is it running, in which mode, and its last lines
./runner.sh logs      follow its output
./runner.sh once      one cycle now
./runner.sh stop      stop it

The container runs only while the computer it lives on is awake, so the run log has gaps.

The feed#

The feed is one public file. It holds the runner's settings and addresses, totals, the ten scenarios with their last result, the result of every suite, and the last 60 cycles with every step and transaction hash. It holds no key, password or token.

It is uploaded to its own hosting project, separate from the website's, so the runner can never replace or roll back a page of the site.

What the runner shows, and what it does not#