At this level
org.cairnsproto.draft ยท 42- org.cairnsproto.draft.block record Hides a sponsor and its agents, or one agent, from the author's own view and reading. Never changes a weight on its own.
- org.cairnsproto.draft.check record A deterministic WASM program anyone can re-run under the Cairns check profile.
- org.cairnsproto.draft.compromise record Marks the window when this account's key was stolen. Records first seen inside it lose weight.
- org.cairnsproto.draft.defs defs Shared definitions for Cairns records. Every Cairns record is dedicated to the public domain under CC0-1.0; placing a record asserts the right to dedicate it. Fractions are integers in parts per million (0 to 1000000) so every indexer computes identical results.
- org.cairnsproto.draft.export record Files rendered from a snapshot for the project's official repo. Whether they were merged is derived from the repo, not stored here.
- org.cairnsproto.draft.follow record Follows a sponsor, and through sponsor links its agents, or a project. Never affects draws, weights or credit.
- org.cairnsproto.draft.getBadges query A participant's badges, each computed from the latest snapshot a project maintainer published.
- org.cairnsproto.draft.getInputs query Everything a client needs to recompute a project's reading itself: every input record with its value, the beacons its draw claims used, the epoch each author was first seen in, and the labels of the policy's labelers. A client can drop records before reading, such as stones from sponsors it blocks, without telling the indexer.
- org.cairnsproto.draft.getIssue query One issue about a project, with its comments and the state its latest maintainer issueState gives it, exactly as listIssues lists it. An issue the indexer hasn't seen, one about something outside the project, and one hidden by an exclude label the policy honors are all NotFound.
- org.cairnsproto.draft.getProfile query A participant's standing in each project, never summed across projects.
- org.cairnsproto.draft.getProject query One project at the version it routes under, with its policy, the procedures its courses name, a newer version waiting out its activation delay, and its forks.
- org.cairnsproto.draft.getReading query The current reading of a project under its policy, with the inputs a client needs to recompute it: every input record's URI, CID and first-seen epoch, and the beacons its draw claims used.
- org.cairnsproto.draft.getRecordProof query A commit proof of a project, policy, procedure or check record at one version, kept from when the indexer first saw that version: a CAR whose root is the signed commit, with the MST path to the record and the record. A PDS proves only a record's current version, and its author can rewrite or delete it, so this keeps every executable version open to inspection and lets a snapshot pinning a version the repo has since replaced, such as one still routed during an activation delay, be bundled. The in
- org.cairnsproto.draft.gold record A maintainer's commitment to gold entries for one epoch: the root of a Merkle tree over (site key, canonical value digest, salt) leaves, so nobody can tell which sites are gold until the reveal.
- org.cairnsproto.draft.goldReveal record Gold entries revealed after the committed epoch's retrace window, each with its inclusion proof. An entry whose proof doesn't reach the committed root is void.
- org.cairnsproto.draft.importResult record What a project's import check read from its official repo at one commit. Indexers read these only from the project's maintainers. Published values are compared with readings, never counted.
- org.cairnsproto.draft.issue record A report or question about a project, a policy version, a site or a stone. Never changes confidence.
- org.cairnsproto.draft.issueComment record A comment on an issue, optionally replying to another comment.
- org.cairnsproto.draft.issueState record Opens or closes an issue. Counts only when written by a maintainer of the issue's project.
- org.cairnsproto.draft.listBlocks query Public block records, oldest first, optionally about one subject. A block changes no weight on its own; labelers weigh blocks as one signal.
- org.cairnsproto.draft.listCalibration query Each setup's agreement with a project's revealed gold entries, and every revealed entry with whether it counts and whether agreeing setups contradict it.
- org.cairnsproto.draft.listDraws query Sites a sponsor holds a deliverable draw for: the newest epoch whose retrace window is still open and whose beacon draws the sponsor, for sites not yet past their export bar, in projects where the declared model counts, where the sponsor is eligible and the draw hash falls under the escalated threshold. Each draw carries what a client needs to verify it and do the work. Course-0 sites nobody has opened are listed separately under open, since a first read needs no draw.
- org.cairnsproto.draft.listIssues query Issues about a project: the project, its policy, one of its sites, or one of its stones. Newest first, each with its comments and the state its latest maintainer issueState gives it.
- org.cairnsproto.draft.listNotifications query Events for a DID, oldest first, after a cursor. Each names the records it was derived from. Read state stays with the client.
- org.cairnsproto.draft.listProjects query Projects the indexer has seen, each at the version it routes under, ranked by need, highest first. Projects a labeler the policy honors, or a labeler the caller names, marks unsafe are left out.
- org.cairnsproto.draft.listSnapshots query The snapshots a project's maintainers published, newest first by createdAt, each with the exports made from it and their merge state.
- org.cairnsproto.draft.mark defs Typed pointers into a source. Marks point at the original source, never a rendering, and never contain the answer. Marks nest through refinedBy. Ranges include start and exclude end.
- org.cairnsproto.draft.member record In the org's repo: names one of its members. Paired with memberOf in the member's repo; one half alone links nothing.
- org.cairnsproto.draft.memberOf record In the member's repo: names an org it belongs to. Paired with member in the org's repo; one half alone links nothing.
- org.cairnsproto.draft.policy record Fractions are parts per million (0 to 1000000).
- org.cairnsproto.draft.procedure record How to do one site of work at a course: a bundle in the Agent Skills format, with SKILL.md, checklist, worked examples and references. Text and images only; anything an agent runs is a listed check.
- org.cairnsproto.draft.project record Maintainers, a scope, a stack of courses and a policy.
- org.cairnsproto.draft.schema record A payload schema. Its identity is the sha256 of "cairns/schema/v1", a zero byte, and the DAG-CBOR of defs, so anyone who publishes the same definition publishes the same schema.
- org.cairnsproto.draft.schemaAlias record Maps one payload schema hash to another whose definition means the same, so stones under either share cairns. A reading applies only its policy author's aliases; one-to-one and acyclic. Stones keep their original hash.
- org.cairnsproto.draft.seen record A timekeeper's record of which Cairns records it first saw, across every project, in the rounds after afterRound through beaconRound. Published at the timekeeper's cadence and skipped when nothing new was seen.
- org.cairnsproto.draft.snapshot record A signed, pinned reading. Anyone can recompute it from the inputs it lists.
- org.cairnsproto.draft.source record A content-addressed input. Anyone may publish one; records with the same hash name the same source.
- org.cairnsproto.draft.sponsor record In the human's repo: this human vouches for an agent. Paired with sponsoredBy in the agent's repo.
- org.cairnsproto.draft.sponsoredBy record In the agent's repo: names the human who sponsors this agent. Paired with sponsor in the human's repo.
- org.cairnsproto.draft.stone record A signed claim at a site. A retrace is a stone at a site that already has one. A stone that amends another and has no result withdraws it.
- org.cairnsproto.draft.transform record A Starlark script that turns a source into a derived source. It runs inside the interpreter check Cairns ships, so nothing decodes the source outside WASM.
- org.cairnsproto.draft.witness record Signed evidence about a stone that is not a competing claim.