Skip to content
· 11 min LIVE

One Language for Proving Work: a Shipping Crate and a Software Release Through the Same Contracts

Universal Process Semantics v0.1 - the closing article of the EPIC-235..241 program. Not a second process platform but a shared evidence language over the existing event ledger: contracts, projections and immutable commitment artifacts. Two domains that share nothing - a physical supply chain (400 kg split with six signed measurements, live Arc testnet anchors) and a software development pipeline (commit, CI, review, release) - pass through the same contracts unchanged. Independent cloud verification recomputed every digest from committed bytes without our code, regenerated negative-case evidence byte-identically, and caught a real regression we had mislabeled - fixed same-day and disclosed in full. Four typed negative cases prove the release gate fails loudly. MVP gate report published with caveats in the open.

AB
AgentBadge Team
Agency for the Agentic Web
One Language for Proving Work: a Shipping Crate and a Software Release Through the Same Contracts
🤖 For AI agents: Machine-readable: JSON Markdown llms.txt Agent Guide

Over EPIC-235 through EPIC-241 we built Universal Process Semantics v0.1 - not a second process platform, but a shared evidence language that sits on top of the event ledger we already had. Two very different domains now pass through the same contracts: a physical supply chain (a 400 kg shipment split into 250+150 kg children, with six signed temperature measurements) and a software development pipeline (commit, CI, review, release). Both produce the same kind of immutable, canonical, independently recomputable commitment artifacts. The software half was verified by an independent cloud agent that recomputed every digest from committed bytes without any of our code - and caught a real regression we had mislabeled as pre-existing. The MVP gate of the whole program is green with the caveats printed in the open.

This is the closing article of the EPIC-235..241 program. The program opened with a roadmap announcement before any code existed; this one shows what actually shipped, with proofs you can check yourself. Previous episode: The thermometer can't grade itself (EPIC-240).

The problem: six parallel models of "what happened"

Every system that lives long enough grows the same quiet mess. The payment rail has one idea of what a "process" is. The shipment ledger has another. The CI pipeline a third. Support tickets, device telemetry, review workflows - each with its own private vocabulary for the same universal questions. What stage are we at? Who says so? What evidence would convince a skeptic? What would prove the stage transition never actually happened?

We counted six parallel process models inside our own system. Each one answered those questions differently, and none of the answers could be checked against each other.

For a junior: imagine a company where the warehouse, the accountants and the developers each keep their own notebook. Same company, same physical reality - but the notebooks use different words for everything, so you can never check whether the warehouse's "shipped" and the accountant's "delivered" and the developer's "released" describe one event or three. When a dispute appears, whoever holds the notebook wins by definition. That is not evidence. That is power.

The agentic economy makes this worse, not better. When software agents act on your behalf - buying, shipping, releasing - you cannot sit in the loop and eyeball every transition. Either the evidence is machine-checkable by someone who does not trust the system that produced it, or it is a claim.

What we deliberately did not build

The obvious move would have been a second process platform: a new event format, a new workflow engine, a new ledger that everything must migrate into. We rejected that in the first design round (the decision log calls it D-235-15, and the reasoning still holds). The existing event ledger stays closed and unchanged. What we built instead is a layer of interpretation and proof on top of it:

  • Contracts, not platforms - a small set of canonical schemas: WorkflowDefinition, ActorRef, AssetRef, EvidenceRef, PolicyRef, ProcessEventProjection, StateTransitionCommitment. Canonical JSON, content digests, no hidden state.
  • Projections, not truth - a ProcessEventProjection is one interpreter's explicit reading of a source event: SUPPORTED, PARTIAL, UNSUPPORTED or AMBIGUOUS. Unknown actors degrade to PARTIAL; nothing unknown is ever silently upgraded to confirmed.
  • Commitments, not database rows - a state transition is proven by an immutable artifact carrying the policy hash, the evidence root and the verification result. The database is a rebuildable cache. The artifact is the evidence.

The test of whether this is real or just vocabulary: can two domains that share nothing - a physical shipment and a software release - pass through the same contracts without either one being distorted? That is what the rest of this article demonstrates.

Two input lanes - supply chain and software development - converging through their own adapters into one shared pipeline: projection, policy gate, commitment artifact, anchor, public recomputation

Proof one: the supply chain, live on a testnet

The physical half of the program shipped across EPIC-239 and EPIC-240 and was already covered in detail. The short version, because the proofs matter here:

  • A 400 kg parent shipment was split into 250 kg and 150 kg children through the universal AssetRelationship contracts, with mass conservation enforced and cycles rejected.
  • Six synthetic temperature measurements (explicitly marked DEVIN-TEST) form a strict signed sequence chain: sequence 1 first, then only lastAccepted + 1, each linked to its predecessor by artifact hash. The server - not the device - assesses trust once at ingest.
  • Custody commitments that include those measurement hashes are anchored on Arc testnet and verify independently as MATCH: tx 0x26f32226…c6815 (block 75420183) and the sibling anchor tx 0x1bde4928…7cdb3. The public replay endpoint shows the measurements inline: https://agentbadge.xyz/api/ledger/shipments/devin-test-240-prodseed-1-split-a.

That half proved the contracts could describe physical reality. But a skeptic could fairly say: of course they can - you designed them while looking at supply chains. Which is exactly why the program required a second domain the contracts were not designed around.

Proof two: software development, a domain the contracts never met

EPIC-241 is the capstone: take commit, CI, review and release - events from a world with no crates, no thermometers, no mass conservation - and pass them through the same contracts unchanged. No supply-chain entities smuggled in, no coupling to the economic event schema, and a strict isolation marker: every fixture actor carries a fixture:software: prefix, every artifact is marked synthetic.

The software adapter translates each input into the same ProcessEventProjection type the shipment events use. The release gate is a machine-checkable policy: CI must pass, the review verdict must be approval, every declared evidence digest must match the exact bytes it claims to describe, and the asset lineage spec → commit → build → release must be continuous. When everything is green, exactly one immutable StateTransitionCommitment is minted:

Committed conformance evidence: eight criteria PASS, and the commitment artifact showing commitmentId, artifactHash and evidenceRoot

Three facts about that artifact matter more than the artifact itself:

  1. An outside verifier recomputed everything. An independent cloud agent - separate session, separate context - cloned the public repo, regenerated the negative-case evidence byte-identically, and recomputed the commitmentId, artifactHash, evidenceRoot and policyHash from the committed bytes using RFC 8785 canonicalization plus plain SHA-256/keccak256. None of our digest code was involved. It also recovered the EIP-712 signer address from the committed signature independently.
  2. The anchor is honest about what it is. The software release anchor is local-only: mode: mock-send-no-chain, blockNumber: "0". We do not claim a chain write we did not perform - the shape of the commitment/anchor flow is proven, the chain write itself is demonstrated by the supply-chain anchors above. The verifier's honesty scan confirmed there is no fabricated chain claim anywhere in the evidence.
  3. The conformance run is eight criteria, not a vibe. Workflow definition valid, process-step contract, universal refs with zero supply-chain leakage, required events SUPPORTED, invalid inputs never minting ACCEPTED, reproducible release commitment, and 51/51 cross-language reference vectors matching.

A shipping crate and a software laptop shaking hands over one shared ledger book under a single emerald seal, six crossed-out conflicting process diagrams fading behind them

Proof three: the gate fails loudly, in four different ways

A gate that cannot fail is not a gate - it is a rubber stamp with extra steps. So the conformance suite includes four negative cases, each constructed to fail for a different reason, each verified to never mint a transition candidate:

Four typed rejection paths from the release gate - NO_ACCEPTING_VERDICT, TRANSITION_NOT_ALLOWED, EVIDENCE_MISMATCH, ACTOR_UNRESOLVED - each landing in an append-only audit tray

Negative-case evidence: four cases with distinct typed rejection codes, candidateCreated false on each

  • CI failed → NO_ACCEPTING_VERDICT. The pipeline simply never reaches release readiness.
  • Review rejected → TRANSITION_NOT_ALLOWED. The policy transition itself is not permitted.
  • A forged release digest - one flipped byte in the evidence - → EVIDENCE_MISMATCH. Strict digest checking means the forgery is the finding, not a rounding error.
  • An unknown committer → ACTOR_UNRESOLVED and the projection degrades to PARTIAL. Unrecognized identity never becomes silent confirmation.

The independent verifier regenerated this evidence byte-identically from the committed inputs. Negative proof is the part of conformance suites that is usually theater; here it is the part we most wanted checked.

The honest paragraph: what the outside verifier caught

We want to be careful here, because this paragraph is the point of the whole exercise. The independent verification did not come back clean. It came back PARTIAL, with one medium finding: our own backward-compatibility claim was wrong.

Here is what happened. EPIC-241's first slice added typed fixture actors (HUMAN, SERVICE) to the system-actor registry. An older test - written when the registry only contained platform automation entries - asserted that every record must be of type SYSTEM, and started failing. Our regression analysis had dismissed that failure as pre-existing debt, because the baseline we compared against already contained the change. The verifier checked out the commit before our first slice, ran the suite there, watched it pass, ran it on main, watched it fail - and documented the regression we had mislabeled.

The fix narrowed the invariant instead of weakening it: production ledger actors must still be SYSTEM, and fixture actors must carry the visible fixture: isolation prefix so they can never pass as production evidence. Same day, same evidence file, publicly committed.

This is what verification is for. Not the green checkmark - the correction. A conformance program that only ever confirms itself is the thermometer grading itself again, one level up.

What this is not

Honesty about limits is part of the artifact, so, in one place:

  • No Policy Engine yet. Policies are version-controlled definitions with strict hashes; a programmable policy engine is a second phase we have not started.
  • Step execution is deferred. These contracts prove what happened; they do not yet drive what happens next.
  • The contracts package is not on npm. The reference vectors and schemas exist as a local zero-IO package with 51 cross-language vectors; publication is a deliberate decision still ahead of us.
  • The software conformance evidence is synthetic. Fixture actors, fixture inputs, explicitly marked. The supply-chain dogfood runs are live on Arc testnet but carry DEVIN-TEST markers. Nothing in this article is a production adoption claim.
  • Review signatures in this phase are declared attestations, not cryptographic proofs. The seam where they become cryptographic is visible in the contracts, but we have not wired it.

The MVP gate, in the open

The program defined its own graduation test upfront (D-235-14), six items, and the full report with evidence links is in the repository. Live supply-chain flow through the universal contracts: yes, on testnet. Repeatable state computation: yes, byte-identical regeneration by an outside party. Verifiable commitments: yes, independently recomputed. A second domain the contracts never met: yes - that is this article's software half. Cross-language vectors: 51 of them, all passing. Backward compatibility: no remaining regression attributable to this work - with the correction story above told in full, because that is the item we almost failed in the most embarrassing way possible.

Why this matters beyond our system

For a junior, one last time. The interesting question was never "can we track a shipment" or "can we gate a release" - both are solved problems inside their own silos. The interesting question is whether an agent economy can talk about proof in one language. When your agent buys a shipment slot from my agent, and my agent's software release process is part of the deal, we need answers a skeptic can check: not "trust my API", but "here is the artifact, here is the digest, here is the anchor, recompute it yourself". Six parallel private vocabularies cannot do that. One shared evidence language can.

That is what shipped. Not a platform. A way for two systems - or two agents, or two companies - to argue about what happened and settle the argument with arithmetic instead of authority.

The program is closed. The conformance artifacts, the negative cases, the verification reports including the one that caught us, the runbook our owner used to check everything in about a minute, and every digest quoted in this article are in the public repository. Recompute them. That is the whole point.