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

ExploringResearch note 001

Agreements as query surfaces

The signed agreement is the interface. A party names the questions it will answer, and anyone holding the bytes can compute the answer and show it is the same one.

Published November 27, 2026 · Updated November 29, 2026 · 10 min read · No change to the language

Queries and discoveryFingerprints and stateMandates and agents

View as MarkdownRecord (JSON)Summary (JSON)Example manifestSource bundle

In one picture

One question. Two engines. One fingerprint.

Each side runs its own engine on the same bytes. Equal fingerprints mean the same answer, with nobody in between.

  • No account
  • No vendor API
  • No shared database
ExampleSimulated
The signed agreement Master X sha256:e4175fa9…e609745a

Question it namedIs this member covered at this time?

Your enginesha256:0da4824f…7e262e38
=
Their enginesha256:0da4824f…7e262e38

Same traceEligible, tier B

The fingerprints match because the bytes match. Nothing else has to be trusted.

No new language. No Term, no Event kind and no required field is added.
Recomputable. Every answer names its inputs by fingerprint, so a local engine can check it.
Simulated example. Built from a public example bundle with hypothetical parties.

To learn what an agreement says about you today, you ask whoever holds it and trust the reply. This note tests another arrangement: the agreement answers for itself, and anyone can check the answer.

Five words used in this note
Engine
A program that applies the rules of the language to an agreement. The repository has two, written separately.
Fingerprint
A short code computed from the exact bytes of something. Change one character and the fingerprint changes.
State fingerprint
The fingerprint of where an agreement stands after its latest accepted event.
Manifest
An optional file that lists the questions an agreement will answer.
Trace
One answer: the inputs, the state fingerprint and the verdict.

01The idea#

The signed agreement is the interface. A party names the questions the agreement will answer. Anyone with the bytes, or with the fingerprint plus the slice of values disclosed to them, runs an engine and gets a trace: the inputs, the state fingerprint and the verdict. A second engine on the other side recomputes the same trace.

01A party names the questions

In a short, optional file beside the agreement.

02Anyone with the bytes runs an engine

Their own copy, on their own machine.

03The engine returns a trace

Inputs, state fingerprint, verdict.

04The other side recomputes it

Equal fingerprints, same answer.

If the two fingerprints match, the answer is the same, because the bytes are the same.

No account, no vendor API and no shared database sits between the two sides.

02What it adds to the language#

Nothing.No Term, no Event kind and no required field.

This idea needs no new language. The file that names the questions is called a manifest. It is optional. It sits beside the agreement, it is fingerprinted with the rule the language already uses, and it can only name engine calls that already exist.

QuestionExisting engine callWhat the call reads
Is this member covered?simulate_eligibilityThe participation, its term, and the agreement it sits under
What fee is owed?derive_state (the fee derivation)The obligations of the UP:Admin-Fee clause
Would this change be accepted?simulate_amendmentThe agent’s Mandate and axiom A9, bounded delegation

An agreement with no manifest is exactly as valid as one with a manifest, and a manifest cannot change what an agreement means. Delete every manifest and every agreement still computes the same.

03The manifest#

The example was derived from the generative example bundle in the repository. It names three questions about one agreement, Master X. It is simulated, and no party signed it.

  1. Question 1Is this member covered by this agreement at this time?

    Runs simulate_eligibility. You supply the member and the time.

  2. Question 2What administrative fee is owed, and has it been paid?

    Runs derive_state and reads the fee clause. You supply the time.

  3. Question 3Would this fee rate be accepted if the aggregator’s agent proposed it?

    Runs simulate_amendment. You supply the rate and the time.

Reusable 003A query manifest and three tracesThe example manifest and its three traces as separate files, each with its fingerprint, for testing an engine or a fingerprint routine.Get the files
agreement
Which agreement the questions are about, by its ChainId and by the fingerprint of the agreement in force.
named_by
The party naming the questions. In this example nobody signed the manifest. If a party did, it would be the same Ed25519 signature the language uses everywhere else.
call
The existing engine call that answers the question. A manifest cannot define a new one.
fixed, open
The arguments the manifest pins, and the ones the asker supplies, such as the member and the time.
reads
For a call that returns a whole state, the part that answers the question.

Manifest fingerprintsha256:44bb1bb2ebbbd0bd3e05f9c3f7b539c5057b43d194f56a027d458167d3d293ae

Canonical JSON (RFC 8785), then SHA-256, the rule in section 1 of the domain. The hosted engine’s hash_object and a separate script written for this note returned the same value.

04The trace#

An answer is a trace with three parts.

Inputs
Every argument the call was given, including the time. Agreements are named by ChainId, never by their position in someone’s file.
State
The state fingerprint of each agreement the answer read. It pins the exact history the answer rests on.
Verdict
The part of the engine’s answer that settles the question: eligible or not, the fee and its status, accepted or rejected and by which rule. Which fields a verdict keeps for each call is listed in Reusable 003.

The trace has a fingerprint of its own, computed the same way. Here are the three example questions, asked about March 1, 2027.

  1. Question 1 · simulate_eligibilityIs Hypothetical Rural Hospital covered by Master X?

    Eligible An active participant on tier B.

    Tracesha256:0da4824f…7e262e38

  2. Question 2 · derive_stateWhat administrative fee is owed, and has it been paid?

    Paid January 2027: $21.89, which is 2.5% of $875.50 in reported sales. February 2027 is open, with no sales reported yet.

    Tracesha256:c398d0b7…d52326d0

  3. Question 3 · simulate_amendmentWould a fee rate of 3.5% be accepted if the aggregator’s agent proposed it?

    Rejected Rule A9, bounded delegation. The Mandate allows at most 3%. A rate of 3% is accepted.

    Tracesha256:5210769f…58eee6df

Experiment 002Three traces, recomputedThree answers from one agreement, each fingerprinted by separate implementations of the fingerprint rule. The fingerprints matched. The verdicts came from one engine.Open the experiment

The state fingerprint is not new either. Every event already carries one as prev, the fingerprint of the state it builds on, and derive_state returns it as state_hash. If two parties name the same state fingerprint, they hold the same history, whatever else differs in their files.

05Recompute it yourself#

The MCP server is a convenience, not the source. It runs the reference engine for you, which is handy inside an assistant. The answer comes from the bytes. A local engine must be able to recompute every trace. An answer that only one server can produce is a claim, and this idea has no use for it.

The commands for a local server and for the reference interpreter are in Experiment 002.

For this example, the state fingerprint of Master X is:

State fingerprintsha256:c198cefe6c519bf30af389a71fb0bc346f5fd3906865d1662941b47db3e31424

The hosted server returned this value on November 27, 2026. The trace file in the repository, written by the reference interpreter, carries the same value for the same history.

With only a disclosed slice

Some values in an agreement can be sealed. Every fingerprint covers the sealed form, so a party who sees every value and a party who sees none compute the same state fingerprint. A party who holds the fingerprint plus the values disclosed to them gets a full verdict for any question those values answer. For the rest, the engine says sealed instead of guessing. See Seal in the specification.

06Where this could go#

The third question is a small version of something larger. It lets an outside party ask, before offering anything, whether a change would be accepted.

The hope is a future app or layer in which an agreement, and possibly a party’s profile, states to outside parties: this is what I have accepted, and this is what I will keep accepting, on these conditions, if you want to make an offer. An agent reads those acceptance states and acts on them. It makes the offer that will pass, or it skips the round trip.

None of that is built. If it is built, it belongs in an app or a layer above the language, not in the language.

07What we are not sure about#

Five questions are open and one is answered. Each has its own page, with what is known so far and what would settle it.

  1. Question 004Who may name the questions an agreement answers?A manifest lists the questions an agreement will answer. It is not settled whether one party may publish one for an agreement that several parties share.Open
  2. Question 005How much may a named question select?The reads field picks one part of an engine result. If it grows filters and conditions, the manifest turns into a query language.Open
  3. Question 006Should an engine's wording be inside a trace fingerprint?The example verdicts leave out the engine's explanatory sentences so two engines can match. That may hide a real disagreement, and one phrase gets through anyway.Open
  4. Question 007How does a reader know a trace is out of date?A trace is true for the state it names. When a new event lands, the old trace stays correct about the old state, and nothing tells its holder.Open
  5. Question 008What does a manifest reveal by naming a question?Naming a question shows that a clause exists and that someone expects to be asked about it. For an agreement with sealed values, that may be more than a party wants to show.Open
  6. Question 009Should every engine call take a ChainId instead of a position?Yes, as well as a position. Since release 0.1.4, the engine calls that took a chain's position also take its ChainId, and give the same answer either way.Answered

If you have a view on any of these, open an issue.

08For agents and tools#

Everything on this page is available without reading the page.

FileWhat it holds
entry.jsonThis note as a record: kind, status, topics, what it is built on, and its eight parts
summary.jsonThe three questions, the trace shape, and the three example traces with their fingerprints
query-surfaces.mdThis note as Markdown
manifest.jsonThe example manifest, labeled simulated. It belongs to Reusable 003
query-manifest.schema.json, query-trace.schema.jsonJSON Schemas for the two research formats
bundle.jsonThe public example bundle the manifest was derived from

To answer a named question:

  1. Fetch the manifest and check its fingerprint.
  2. Load the bundle and run validate_bundle. It names any rejected events. They are skipped, and they leave the state fingerprint unchanged.
  3. Run the call the question names, with its fixed arguments and your own open ones.
  4. Build the trace: inputs, the state fingerprint of each agreement read, and the verdict, trimmed as Reusable 003 says.
  5. Fingerprint the trace and compare it with the other side’s.
KindNote
TopicsQueries and discoveryFingerprints and stateMandates and agents
Built onsimulate_eligibility derive_state simulate_amendment UP:Admin-Fee A9
LanguageNo change to the language
Recordentry.jsonMarkdown

Research note by Uppercentile, licensed under CC BY 4.0. Example data is CC0 1.0. Published November 27, 2026.

All research
esc
↑ ↓ move↵ openesc close