Skip to content

Contracts for core changes

Reusing results

Core compares the inputs to a Build, Golden or Checkpoint before reusing it. File metadata can avoid reading an unchanged file. The content fingerprint is what enters the Input Record. A Golden belongs to one record key and stays immutable once published. A dependent record includes its parent's key. The Golden also identifies the actual Build outputs it ran. These rules let two campaigns share a reference result while detecting a changed boot image. The source and tests refer to these decisions as ADR-0001, 0002, 0003, 0006 and 0007. Artifact tests

The installed simulator identifies the implementation used for an experiment. The measurement version changes when the meaning of a Golden changes. These are ADR-0004 and 0005. The result directory records the inputs and tool versions in provenance.json. Result file reference

Running a campaign on a server

The user chooses where a campaign runs. A Server Entry supplies its transport and credential method. The client sends the campaign's input snapshot through Server API v1 so the worker can execute the same inputs that were submitted. A transport change belongs in the connection settings and can be tested independently of campaign parsing. These are ADR-0008 through 0011. Remote execution tests

Core coordinates server installation using the server package's manifest. Releases install side by side. The active release changes after the old worker fleet drains. The access policy controls how accounts reach the service. These are ADR-0013 through 0015. Provisioning tests

Reading configuration

Core classifies declared settings and rejects unknown keys wherever campaign settings are loaded (ADR-0016). A setting such as a register width needs the same meaning when it is supplied by an included file or by the campaign itself. Configuration tests