Draft rubric

Rubric test-0

Each dimension is a ladder of rungs. A dimension's level is its highest rung whose criteria are all met; the headline is the highest level whose requirements are met.

SHA-256
0xc7bbf04ec2fa7ed3b000ede9361bf54af606335ee037d397cefb8565eb96725f
Discoverable
R1 ≥ 2
Transactable
R3 ≥ 2
Agreeable
R4 ≥ 2, R5 ≥ 2
Provable
R6 ≥ 3

R1

Discoverable

Can an agent find and read what is sold?

R1.2

Rung 2

Does the home page answer an agent with content?

The home page is the target origin's `/`, at the end of its redirects.

Pass
The home page answers 200 and is not a refusal.
Evidence
the home page's response chain
Probe
home (anon, signed)
Remedy
Serve the home page to agents that say what they are.

R1.3

Rung 3

Can an agent read the catalogue?

A catalogue item has a title and a price.

Pass
A platform catalogue endpoint or the UCP catalogue search returns at least one item with a title and a price.
Evidence
the catalogue responses; the search call
Probe
catalogue, ucp.handshake (anon, ucp)
Remedy
Serve a catalogue through UCP, or leave the platform's catalogue endpoint open.

R3

Admits agents

Does the site let an honest agent in?

R3.2

Rung 2

Does the site admit an honest anonymous agent?

A refusal is a response the refusal classifier puts in a refusing class.

Pass
The home page's final response is not a refusal.
Evidence
the home page's response chain
Probe
home (anon, signed)
Remedy
Admit declared agents, rate-limited, rather than refusing them.

R4

Terms

Can an agent know what it is agreeing to?

R4.2

Rung 2

Can an agent read the terms?

A terms candidate is a document the terms step fetched.

Pass
A candidate answers 200, is not a refusal, has at least `termsMinWords` words and names the terms in its opening.
Evidence
the candidates' responses; robots.txt when it disallows them
Probe
terms (anon)
Standards
LCP §2.3
Remedy
Serve the terms in the page as delivered.

R4.3

Rung 3Judgement

Does the terms document say which version it is?

A version is a version number, an edition or a revision identifier.

Pass
The gate meets it when the text matches the version pattern; otherwise the model is asked whether the document states a version in another form.
Evidence
the candidate's response; the stored judgement
Probe
terms (anon)
Standards
LCP §12.3
Remedy
Give each version of the terms an identifier.

R5

Legal context

Does the seller publish an LCP legal context?

R5.2

Rung 2

Does the site publish a legal context?

The legal context is `/.well-known/legal-context.json`, read by `@integraledger/lcp/discovery`'s `parse`.

Pass
The document answers 200, is not a refusal, and `parse` accepts it.
Evidence
the response
Probe
wellknown (anon)
Standards
LCP §2
Remedy
Publish the document.

R5.3

Rung 3

Do the named terms match the pinned hash?

`atrHash` is the digest of the document at `terms`.

Pass
The terms document the legal context names answers 200 and its body hash equals `atrHash`.
Evidence
the legal context; the terms response
Probe
wellknown, terms (anon)
Standards
LCP §2.5
Remedy
Publish `atrHash` and serve the terms byte for byte.

R6

Provable agreement

Is each transaction bound to a record a stranger can check?

R6.3

Rung 3

Is the agreement offered provably?

A challenge carries H and a link L as a pairing places them.

Pass
A captured challenge carries H and L, and every fetch of L returns bytes whose hash is H.
Evidence
the challenge; the ATR responses
Probe
home, payment, atr (anon)
Standards
LCP §5.3
Remedy
Advertise the ATR's hash and serve the ATR at its link.

R6.4

Rung 4

Is the agreement proven on a public ledger?

A settled payment's settlement read returns H.

Pass
Needs a consented nominal transaction; without one it is not tested.
Evidence
the settlement read
Probe
settle (anon, lens)
Standards
LCP §8.3
Remedy
Settle on a rail where the hash rides on chain.

R7

Seller identity

Can a buyer's agent verify who the seller is?

R7.2

Rung 2

Does the site publish an organisational identity?

An Organization in JSON-LD with a legal identifier.

Pass
Not defined in test-0.
Evidence
the home page
Probe
home (anon)
Remedy
Publish an Organization.