Evidome language · design preview

Programme evidence, not application glue

Evidome is a role-aware language for evidence-backed coordination. One programme declares what participants must observe, retrieve, inspect and conclude.

The source below is one example, catalogue verification. Any Evidome programme is written the same way and lowers to the same instruction set.

eviExample · catalogue-verification.evi (start) Full example
# Evidome language — design preview.
program CatalogueVerification
 
let bounds = { catalogueRequests = 4, candidates = 2, searches = 1 }
let scope = {
    required = [ Maker, Model ],
    excludes = [ Authenticity, Condition, UniqueSku, IndividualObjectIdentity ]
}
 
searchCatalogue clues selectedKnowledge = flow
    issued <- catalogue.search @typeof(clues) clues with
        context = selectedKnowledge,
        requestLimit = bounds.catalogueRequests,
        candidateLimit = bounds.candidates,
        searchLimit = bounds.searches
    classifySearch issued
 
role Capturer (subject, mediaSource, verifier, preparedKnowledge) = flow
    capture <- captureEvidence subject mediaSource
    match capture with
    | CaptureReady observed clues ->
        search <- searchCatalogue clues preparedKnowledge
        match search with
        | SearchCandidates candidates ->
            let bundle = makeEvidenceBundle
                subject observed clues candidates preparedKnowledge.reference
            result <- verification.request verifier bundle with
                verifierEntry = Verifier,
                dispatchLimit = 1
            finishCapture result
        | SearchInsufficient reason -> conclude InsufficientEvidence reason
        | SearchAmbiguous details -> conclude Ambiguous details
        | SearchTechnical terminal -> stop terminal
    | CaptureStopped terminal -> stop terminal

What this example says

Specialization

Knowledge doesn’t just feed the programme. It shapes the instructions the programme runs.

During lowering, each instruction receives the admitted, versioned knowledge its @typeof dependency names, before its first execution. @typeof(value) means use the admitted knowledge associated with this value, not look at its text and guess a type. The programme and the instruction vocabulary stay the same; only the selected knowledge changes.

Illustrative domain knowledge, not a claim about current corpus coverage

1 · Programme unchanged

# four instruction calls from the example
# (condensed excerpt)
observation <- media.observe
    @typeof(subject) mediaSource with
    attemptLimit = 1
acquisition <- media.acquireIdentifyingEvidence
    @typeof(observed) observed with
    attemptLimit = 1
issued <- catalogue.search
    @typeof(clues) clues with
    requestLimit = 4, candidateLimit = 2
report <- media.inspect
    @typeof({ media, candidates }) with
    inspectionLimit = 7

2 · Selected knowledge graph fragment

111112223344Electric guitarTable lampheadstockbasebodyshademaker logomaker markmodel decalrating labelbody shapeshade shapemakermakermodelmodelmakebrandmodelproduct namewhole-token matchwhole-token matchguitar cataloguehome-goods catalogue

3 · Specialized instructions then the VM runs them

1ObserveObject

From the selected knowledge

  • parts: headstock, body
  • look for: maker logo, model decal, body shape
  • guidance: headstock front and back, close up
  • parts: base, shade
  • look for: maker mark, rating label, shade shape
  • guidance: underside of the base, close up

From the programme

one attempt

2AcquireAttributes

From the selected knowledge

  • attributes: maker, model
  • evidence: a reading plus its image region
  • logo text → maker · decal → model · body shape only hints
  • attributes: maker, model
  • evidence: a reading plus its image region
  • maker mark → maker · rating label → model · shade shape only hints

From the programme

one attempt

3SearchCatalogue

From the selected knowledge

  • catalogue: guitar catalogue
  • searchable fields: make, model
  • maker → make · model → model
  • catalogue: home-goods catalogue
  • searchable fields: brand, product name
  • maker → brand · model → product name

From the programme

≤ 4 requests · ≤ 2 candidates

4InspectEvidence

From the selected knowledge

  • maker ↔ record make · model ↔ record model
  • method: whole-token maker/model match
  • maker ↔ record brand · model ↔ record product name
  • method: whole-token maker/model match

From the programme

≤ 7 inspections

Foundation, the same for every domain: the coordination instructions (PrepareKnowledge, RequestVerification, ReceiveEvidence) rest on the runtime spine, the participant and evidence contracts and the execution context. They need no guitar- or lamp-specific projection.

Bounds such as four catalogue requests or seven inspections are authored by the programme; knowledge never rewrites the programme’s limits or its claim. Specialization happens before an instruction’s first execution: unresolved knowledge pauses preparation, and completed instructions keep the context they ran with.

Read on

How it runs, and what it can express

Evidome does not turn retrieval or admission into truth. Programmes name their evidence effects, limits, negative outcomes and claim scope. Provenance records where knowledge came from and how it changed; it does not establish that every statement is factually correct. A verifier can return honest ambiguity or insufficient evidence. Completed work keeps its original context and provenance. Another participant may share the programme and selected knowledge while still making a separate observation, search or inspection.

This is what makes attestation composable: developers can describe domain work once, authenticated packages supply admitted, versioned knowledge, and different VM hosts execute explicit, typed responsibilities.