ResearchResearch is not part of the Universal Paper language. It may grow, change, or be withdrawn. Agreements do not depend on it.

ExploringResearch reusable 003From Note 001

A query manifest and three traces

Four small files and two schemas. Use them to check that your code computes the same fingerprints, and that your engine reaches the same verdicts.

Published November 27, 2026 · 4 files · CC0 1.0 · Simulated

Queries and discoveryFingerprints and stateEngines and conformance

View as MarkdownRecord (JSON)manifest.jsonSource bundle

The example manifest and its three traces as separate files, each with its fingerprint, for testing an engine or a fingerprint routine.

01The files#

  • manifest.json

    The example manifest: three named questions about one agreement, Master X.

    Fingerprintsha256:44bb1bb2ebbbd0bd3e05f9c3f7b539c5057b43d194f56a027d458167d3d293ae

    2,163 bytesOpen
  • trace-eligibility.json

    One answer to: Is this member covered by this agreement at this time?

    Fingerprintsha256:0da4824fb755d7c1acb3a7b85c21a11a063db5666adac06ac333fd057e262e38

    1,208 bytesOpen
  • trace-fee.json

    One answer to: What administrative fee is owed under this agreement at this time, and has it been paid?

    Fingerprintsha256:c398d0b7052d0c4ee706011a41363091198a66a3c2906ba1130ceb97d52326d0

    1,853 bytesOpen
  • trace-amendment.json

    One answer to: Would this fee rate be accepted if the aggregator's agent proposed it under its Mandate?

    Fingerprintsha256:5210769fdb99b09fe422cc202350117c5f77b369d1258a211029769558eee6df

    1,001 bytesOpen

Each fingerprint is a content hash: canonical JSON (RFC 8785), then SHA-256, the rule in section 1 of the domain. It is computed from the JSON value, so it does not change with spacing or line endings.

Show manifest.json
manifest.jsonSimulatedOpen the file
{
  "format": "up-research/query-manifest/0",
  "spec": "UP/0.1-draft",
  "status": "research",
  "simulated": true,
  "note": "Simulated research example. Not part of the Universal Paper language. Parties and values are hypothetical, and no party signed this.",
  "agreement": {
    "chain": "sha256:306149286ea760f5a855d1ea2ad9da8ed7a349a272d0d9ed0128c179c09fc3af",
    "fingerprint": "sha256:e4175fa94d9835f2c6c5f97e7a837c9b4d638940f5239e020f04d38ae609745a",
    "label": "Master X (agent-run cooperative, hypothetical)"
  },
  "source": {
    "bundle": "examples/generative/bundle.json",
    "url": "https://github.com/Uppercentile/universal-paper/blob/main/examples/generative/bundle.json",
    "license": "CC0-1.0"
  },
  "named_by": {
    "role": "aggregator",
    "key": "ed25519:f2c6a4097ba421030bb8a63272e05e2f802e59f400beb4190c54fa261a20a5b5",
    "name": "Hypothetical Agent-Run Purchasing Cooperative"
  },
  "questions": [
    {
      "id": "eligibility",
      "asks": "Is this member covered by this agreement at this time?",
      "call": "simulate_eligibility",
      "fixed": {
        "parent": "sha256:306149286ea760f5a855d1ea2ad9da8ed7a349a272d0d9ed0128c179c09fc3af"
      },
      "open": [
        "member",
        "at"
      ]
    },
    {
      "id": "fee",
      "asks": "What administrative fee is owed under this agreement at this time, and has it been paid?",
      "call": "derive_state",
      "fixed": {},
      "open": [
        "at"
      ],
      "reads": {
        "chain": "sha256:306149286ea760f5a855d1ea2ad9da8ed7a349a272d0d9ed0128c179c09fc3af",
        "obligations": {
          "clause": "fee"
        }
      }
    },
    {
      "id": "amendment",
      "asks": "Would this fee rate be accepted if the aggregator's agent proposed it under its Mandate?",
      "call": "simulate_amendment",
      "fixed": {
        "chain": "sha256:306149286ea760f5a855d1ea2ad9da8ed7a349a272d0d9ed0128c179c09fc3af",
        "clause": "fee",
        "param": "rate",
        "mandate": "sha256:39b55f724b9ee68bc51ce7c01ef72c640dc7ed0dd7cc2ccccf13095ef4277918"
      },
      "open": [
        "value",
        "at"
      ]
    }
  ]
}

02How to use them#

  1. Use 1Check your fingerprint code

    Canonicalize each file (RFC 8785), hash it with SHA-256, and compare with the fingerprint listed beside it.

  2. Use 2Check your engine

    Load the source bundle, run the call a trace names with the inputs it lists, trim the answer as the next item says, and compare your verdict and state fingerprints with the trace.

  3. Use 3Trim the answer

    A verdict keeps only part of the engine's answer. simulate_eligibility: keep eligible, and for each participation keep chain and parent as ChainIds, status and tier. derive_state: keep the obligations of the chain the manifest names (found by its ChainId in validate_bundle) whose clause is the one the question reads, each without its chain key. simulate_amendment: keep accepted and change, and keep failed_checks as failed, with only rule and label for each. The trace's state lists the ChainId and state fingerprint of the manifest's agreement, then of each participation the verdict names.

  4. Use 4Check a format

    Validate the manifest and the traces against the two schemas.

03The formats#

FormatWhat it describesJSON Schema
up-research/query-manifest/0The questions an agreement will answer, and the existing engine call behind each onequery-manifest.schema.json
up-research/query-trace/0One answer: the inputs, the state fingerprint of each agreement read, and the verdictquery-trace.schema.json

Both formats belong to Research. The language’s own schemas, at /schema/, do not include them.

04Source and license#

The manifest was derived from the generative example bundle in the repository. The verdicts and state fingerprints in the traces are the values the hosted reference engine returned on November 27, 2026, asked about 2027-03-01T00:00:00Z. Experiment 002 says how they were checked and what was not checked.

KindReusable
TopicsQueries and discoveryFingerprints and stateEngines and conformance
Built onsimulate_eligibility derive_state simulate_amendment hash_object
LanguageNo change to the language
Recordentry.jsonMarkdown

Research files by Uppercentile, released under CC0 1.0. Published November 27, 2026.

All research
esc
↑ ↓ move↵ openesc close