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.
In a short, optional file beside the agreement.
Their own copy, on their own machine.
Inputs, state fingerprint, verdict.
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.
| Question | Existing engine call | What the call reads |
|---|---|---|
| Is this member covered? | simulate_eligibility | The 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_amendment | The 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.
- Question 1Is this member covered by this agreement at this time?
Runs
simulate_eligibility. You supply the member and the time. - Question 2What administrative fee is owed, and has it been paid?
Runs
derive_stateand reads the fee clause. You supply the time. - Question 3Would this fee rate be accepted if the aggregator’s agent proposed it?
Runs
simulate_amendment. You supply the rate and the time.
- 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.
- Question 1 ·
simulate_eligibilityIs Hypothetical Rural Hospital covered by Master X?Eligible An active participant on tier B.
Trace
sha256:0da4824f…7e262e38 - 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.
Trace
sha256:c398d0b7…d52326d0 - 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.
Trace
sha256:5210769f…58eee6df
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.
- 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
- Question 005How much may a named question select?The
readsfield picks one part of an engine result. If it grows filters and conditions, the manifest turns into a query language.Open - 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
- 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
- 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
- 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.
| File | What it holds |
|---|---|
| entry.json | This note as a record: kind, status, topics, what it is built on, and its eight parts |
| summary.json | The three questions, the trace shape, and the three example traces with their fingerprints |
| query-surfaces.md | This note as Markdown |
| manifest.json | The example manifest, labeled simulated. It belongs to Reusable 003 |
| query-manifest.schema.json, query-trace.schema.json | JSON Schemas for the two research formats |
| bundle.json | The public example bundle the manifest was derived from |
To answer a named question:
- Fetch the manifest and check its fingerprint.
- Load the bundle and run
validate_bundle. It names any rejected events. They are skipped, and they leave the state fingerprint unchanged. - Run the call the question names, with its fixed arguments and your own open ones.
- Build the trace: inputs, the state fingerprint of each agreement read, and the verdict, trimmed as Reusable 003 says.
- Fingerprint the trace and compare it with the other side’s.
simulate_eligibility derive_state simulate_amendment UP:Admin-Fee A9Research note by Uppercentile, licensed under CC BY 4.0. Example data is CC0 1.0. Published November 27, 2026.