Execution

Any programme, one instruction set

The translator specializes a programme with relevant knowledge and lowers it into Evidome instructions connected by typed branches. The VM follows the applicable path, dispatches each instruction to its host, waits for its result and takes the declared transition. Different participants enter the same programme through their own role.

Illustrative run

The run animation needs JavaScript; the tables below describe every instruction and its typed results.

Each run cycles through its programme’s outcomes. The rows are readable aliases, not the emitted listing; results are scripted and the time axis shows order only. Messages between VMs are explicit, not a shared program counter or shared memory. For these examples the role-local control-flow graphs are directed and acyclic; that is a property of the examples, not a restriction on every programme.

Instruction set

Two instruction families

Every programme lowers to these instructions. Bounds are authored by each programme; assessments, conclusions and stops are generic control (case, branch, conclude, stop), not host effects. The names are presentation aliases, not published opcode names.

Runtime: knowledge and evidence coordination

InstructionPurposeInputsTyped results
PrepareKnowledgePrepare instruction knowledgeResolve or prepare the admitted, versioned context required by a not-yet-executed instruction.Selected context identity, @typeof specialization requirement and the instruction's declared knowledge requirements.Ready typed projection, named not-ready/incompatible result, or a bounded pending continuation handled by the host.
RequestVerificationRequest verificationSeal and dispatch the complete evidence-backed request to the selected verifier role and await its typed finding.Programme/run correlation, source programme identity, sealed bundle reference, verifier identity and role entry.Scoped support, insufficient evidence, rejection, refusal, unavailability, cancellation or failure.
ReceiveEvidenceIngest current observationsAdmit a supplied evidence bundle into the verifier's current run with its provenance intact.Bundle selector, evidence context, source origin, retained observations and resolved media-resource identities.Admitted imported observations or typed refusal, unavailability, cancellation or failure.

Attestation: scrutiny of the object

InstructionPurposeSpecialized byTyped results
ObserveObjectObserve object coverageGather actual media for authored overview and detail objectives.Object family, available attributes, guidance, context and analysis requirements selected for this instruction.Completed or partial observation, or a typed inability/interruption/failure.
AcquireAttributesAcquire identifying evidenceDerive bounded identifying clues from the accepted observation.Available attributes and advisory guidance projected from the selected observation knowledge.Completed clues, needs-more evidence, inability or a typed technical outcome.
SearchCatalogueSearch reference recordsRetrieve a bounded candidate set separately for each participant.Catalogue definitions, client binding, product-versus-listing layering, mapping, filters, query rules, continuation and error policy.Candidates, no available record, ambiguity or a typed technical outcome.
InspectEvidenceVerify catalogue media evidenceInspect relevant items from the retained bundle and compare maker/model readings with the bounded candidate records.Evidence/candidate schemas, selected knowledge context, required attributes and admitted comparison policy.Evidence-linked report, refusal, unavailability, cancellation or failure; the programme still decides its typed conclusion.

Proposed for the checkpoint examples draft

InstructionPurposeSpecialized by / inputsTyped results
ResolveCheckpointHost capabilityResolve an earlier attestation the participant is authorized to reference.Checkpoint reference, owner-authorized access.Resolved baseline, access refused, unavailable or a technical outcome.
AppendCheckpointHost capabilityAppend a new checkpoint to the chain, preserving the earlier history.Earlier checkpoint, the new verified finding.Appended record or a technical outcome.
CompareObservationsAttestationCompare comparable current observations with an earlier checkpoint.Comparability, coverage and correspondence knowledge for the object or place.Compared delta or report, not comparable, or a technical outcome.

Named explicitly so that the catalogue-specific media inspection is never read as performing checkpoint or place comparison.

Instruction reference: what lowering emits

Correspondence material for implementers: the exact emitted shapes behind one instruction of the catalogue example. It is not the main language story and not a runnable browser packet.

The compiler metadata below is a declaration of required knowledge. It is not an executing ISA instruction:

jsoncCompiler metadata — not executable ISA
{
  "field": "catalogues",
  "type": "CatalogueDefinitions",
  "concept": "catalogue-search",
  "adapter": "evidome.catalogue-spine",
  "required": true,
  "dependencies": [
    "Catalogue", "ClientBinding", "Mapping", "Filter",
    "ProfileControl", "HttpRequest", "PaginationBound", "ErrorPolicy"
  ]
}

Once admitted, versioned knowledge fills that requirement, lowering can materialize a concrete request. This public excerpt is shortened and uses placeholders for retained identities; it is not a runnable packet:

jsoncTyped request — shortened, not runnable
{
  "op": "request",
  "capability": "evidome.verify_catalogue_media_evidence/4-experimental",
  "charges": [{ "counter": "verificationReads", "delta": 1 }],
  "typedRequest": {
    "operands": [
      {
        "origin": { "input": "media_bundle", "type": "text" },
        "path": ["bundle", "bundleID"]
      },
      {
        "origin": {
          "fromView": { "instruction": 7, "path": [], "view": "body" }
        },
        "path": ["retrieval", "value"]
      }
    ],
    "template": {
      "inspection": { "maxInspections": 7 },
      "claim": {
        "scope": { "tag": "catalogueRecordAttributeAgreement" },
        "requiredAttributes": ["maker", "model"]
      },
      "knowledge": {
        "selectedSpine": {
          "identity": "<retained spine identity>",
          "revision": "<retained revision>",
          "contentSnapshot": "<retained content digest>"
        },
        "domainCorpora": [{
          "identity": "<retained corpus identity>",
          "revision": "<retained revision>",
          "contentSnapshot": "<retained content digest>"
        }]
      }
    }
  },
  "next": { "flow": "source_2/case" }
}

The generic control layer then handles the result without inventing a domain verdict:

jsoncGeneric control — case and branch
[
  {
    "label": "source_2/case",
    "op": "case",
    "on": { "instruction": 14 },
    "arms": {
      "result": { "flow": "source_2/tag/0" },
      "refusal": { "flow": "stop" },
      "unavailability": { "flow": "stop" },
      "bound-exhausted": { "flow": "stop" }
    }
  },
  {
    "label": "source_2/tag/3",
    "op": "branch",
    "tests": {
      "cmp": {
        "left": { "from": { "field": "tag", "instruction": 14 } },
        "op": "==",
        "right": { "text": "report" }
      }
    },
    "then": { "flow": "source_3" },
    "otherwise": { "flow": "source_2/tag/4" }
  }
]

The downloadable excerpt pack preserves the exact selected emitted field shapes and labels the omitted fields. It is correspondence material, not an additional programme or component pin.