org.cairnsproto.draft.policy

The rules that turn evidence into confidence and credit. A policy that extends another overrides only the fields it sets.

Repository @cairnsproto.org did:plc:np7ezqujtsry4bkogisaabul namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritydraft.cairnsproto.org
Indexed

Record

record · key tid

Properties

Epochs after a timekeeper first sees a version before additions to its executable surface take effect.

  • minimum: 0
  • default: 24

blind

boolean

Payloads are timelock-encrypted to the round that closes the epoch.

  • default: false

A per-setup weight curve from gold passes: each stone's model weight is multiplied by the weightPpm of the step with the most goldPasses its setup has reached. A setup below every step keeps full weight. Absent, gold scores only inform.

  • maxLength: 32
itemsref
Reference
  • maxLength: 256
itemsref
Reference

Check that maps tallies to [low, high] per candidate. Absent means the built-in Beta-share interval.

createdAt

requiredstring · datetime
Reference

deny

array

Weight 0 in this reading, including agents through sponsor links.

  • maxLength: 10000
itemsstring · did

dormancy

integer

Epochs maintainer-only work may wait unanswered before the project is dormant.

  • minimum: 1
  • default: 720

draw

ref
Reference
  • maxLength: 64
itemsstring · did

judges

array
  • maxLength: 64
itemsref
Reference

Labelers the policy trusts, and which of each one's labels it honors with their standard effects.

  • maxLength: 64
itemsref
Reference

mergeOrgs

boolean

Members of one organization count as one sponsor: draws are keyed on the org, an org with a stone at a site can't be drawn for it, and agreeing reads from its members count once. Orgs that share a member count as one.

  • default: false
Reference
  • maxLength: 1024
itemsref
Reference

A candidate that fails a required check has a low bound of 0.

  • maxLength: 64
itemsref

Automatic retraces per site. A new distinct value schedules more.

  • minimum: 0
  • default: 3

Epochs a maintainer may go without a snapshot while the values past the export bar differ from the latest snapshot's. Absent, snapshots are never due.

  • minimum: 1
Reference
  • maxLength: 16
itemsstring · did

#builtinCanonicalizer

object

Built-in steps applied in order to every string value in the payload. Object keys, $type, $link and $bytes are never changed.

Properties

steps

requiredarray
  • minLength: 1
  • maxLength: 8
itemsstring
  • maxLength: 64
  • knownValues: identity | text | integerStrings | lowercase

#calibrationStep

object

Properties

goldPasses

requiredinteger
  • minimum: 0

weightPpm

requiredinteger
  • minimum: 0
  • maximum: 1000000

#canonicalizer

object

How payloads of one schema become candidate values. Stones whose canonical values are equal are the same candidate. Schemas without an entry use identity.

Properties

#checkCanonicalizer

object

A WASM check that maps a payload to its canonical value.

Properties

check

requiredref

#courseSelector

object

Properties

course

requiredstring

A course id from the project.

  • maxLength: 128

#credit

object

Properties

  • minimum: 0
  • maximum: 1000000
  • default: 50000

dedup

boolean

Open-scope dedup: a new site earns placement credit only if no earlier site matches it.

  • default: false
Reference
  • minimum: 0
  • maximum: 1000000
  • default: 500000
  • minimum: 0
  • maximum: 1000000
  • default: 500000

#draw

object

Properties

Agreeing drawn retraces needed before the low bound can rise without an anchor.

  • minimum: 1
  • default: 1

drand quicknet rounds per epoch. 1200 rounds of 3 seconds is one hour.

  • minimum: 1
  • default: 1200

Starting draw threshold T; doubles each epoch without a drawn retrace.

  • minimum: 0
  • maximum: 1000000
  • default: 31250
  • minimum: 0
  • maximum: 1000000
  • default: 500000

How long a drawn sponsor has to deliver.

  • minimum: 1
  • default: 24

#flowBack

object

Properties

Flow-back is capped at this multiple of a stone's own credit.

  • minimum: 0
  • default: 5

sharePpm

integer
  • minimum: 0
  • maximum: 1000000
  • default: 250000

#judge

object

Properties

minJudges

integer
  • minimum: 1
  • default: 1

#labeler

object

Properties

did

requiredstring · did

labels

requiredarray

Label values honored from this labeler, such as bad-actor, exclude, recheck, unsafe or tag:<name>.

  • minLength: 1
  • maxLength: 64
itemsstring
  • maxLength: 128

#modelWeight

object

Properties

family

requiredstring
  • maxLength: 256
  • maxLength: 16
itemsstring
  • maxLength: 64
  • maxLength: 64
itemsstring
  • maxLength: 128

weightPpm

requiredinteger
  • minimum: 0
  • maximum: 1000000

#models

object

Properties

accept

array
  • maxLength: 256
itemsref
Reference

Weight for stones from unlisted models.

  • minimum: 0
  • maximum: 1000000
  • default: 0

Extra weight on each agreeing read beyond the first from one setup (model, modelVersion and config hash) at a site.

  • minimum: 0
  • maximum: 1000000
  • default: 1000000

#nullSampling

object

Sampling for nulls without segments: initialPpm at first, then sampleNumerator/n after n passes, never below floorPpm.

Properties

floorPpm

integer
  • minimum: 0
  • maximum: 1000000
  • default: 100000

initialPpm

integer
  • minimum: 0
  • maximum: 1000000
  • default: 1000000

Passing samples that clear a pool for final credit.

  • minimum: 1
  • default: 60
  • minimum: 1
  • default: 3

#priority

object

Properties

need

requiredinteger

Relative need. Weights routing and placement credit.

  • minimum: 0

#siteSelector

object

Properties

site

requiredref

Site key.

#thresholds

object

Bars on the low bound of the leading candidate's interval.

Properties

exportPpm

integer
  • minimum: 0
  • maximum: 1000000
  • default: 950000
  • minimum: 0
  • maximum: 1000000
  • default: 900000

Model families a candidate's agreeing reads must come from before it clears the open-children or export bar. A read that declares no model is a family of its own sponsor.

  • minimum: 1
  • default: 1
  • minimum: 0
  • maximum: 1000000
  • default: 800000
  • minimum: 0
  • maximum: 1000000
  • default: 990000