Rote 0.17: Distributed Software Indexing

Living Document,

This version:
https://elide-dev.github.io/rote/
Issue Tracking:
GitHub
Inline In Spec
Editors:
Sam Gammon (Elide Technologies)
(Elide Technologies)
Reviewers:
Jaroslav Tulach (Elide Technologies)
Ivo Horak (Elide Technologies)
Gautham Venkatasubramanian (Elide Technologies)
Feedback:
Reviewers file issues in the project repository, which is private during review

Abstract

Rote is a format and protocol for publishing code index data once per package release. A registry or a package author indexes a release without knowing who will use it, and publishes the result over HTTP as signed, immutable, page-addressed objects. A project indexes only its own code, binds the published facts to its own dependency closure by table lookups, and fetches the pages its queries touch. This draft covers the data model, the binding rules, trust, storage and delivery, the query contract, search, and the lifecycle of published indexes.

Rote 0.17 is a design proposal. Its model follows a first wave of experiments, of which one run is scored, and its JVM profile is written from the one implementation that works end to end; no profile is frozen and no result is accepted.

1. Purpose and architecture

Rote is a system for indexing code. Each release of a package is indexed once, by its registry or its author, and the result is published over HTTP as signed, immutable objects. A project indexes only its own code. It reads its lockfile to find its dependencies, binds the published facts to them by table lookups, and fetches and checks only the pages a query touches.

A consumer that has to parse, compile, or index a dependency has left the path this specification defines. The launch profile counts that as a failure, however fast the result (LAUNCH-2).

index once closure fetch and verify pages index privately answer Package release Signed public units Your lockfile Link step Project view Your own code IDE, agent, CI
A release is indexed once and published. A project reads its lockfile, binds the published facts to its own dependency closure, adds an index of its own code, and answers queries from tools.

The current design encodes objects in strict canonical Bebop, keeps schemas immutable, and arranges objects in a Merkle tree. Cap’n Proto will be compared with Bebop before the encoding is frozen. An operator publishes a public index; each realm controls its own private data. The § 21.1 Bounded launch profile selects the first ecosystem and operations.

§ 21 Adopted decisions and implementation scope lists what is decided, § 23 Decisions and evidence needed lists each remaining decision as decided, deferred, or open, and § 22 Rejected proposals lists what was dropped. § 25 Evidence from the first experiment wave summarizes the measurements behind this draft.

1.1. Architecture at a glance

This overview is non-normative.

Public index: published by an operator Project: consumer and realm each rooted separately optional normalization scoped answers Facets keyed by lookup: declarations, exports, interface, usage sites Unit: one release artifact, every produced condition Public layers: typed claims over subjects Lockfile Own-code units Private layers Closure: import slots bound to exact instances Link step: bound, unbound, or not produced Trust and selection policies admit SelectionRoot: admitted inputs, scope, closure, policies NormalizedIndexRoot: final facts and coverage Tools: IDE, agent, CI
A closure binds public and private units to exact instances; the link step binds their facts; policies admit units and layers into a selection, and optional normalization yields final facts and coverage.

SelectionRoot identifies what was admitted: the inputs, their scope and projections, the closure, and the selection and effective trust policies. NormalizedIndexRoot identifies the resulting facts and coverage, whatever produced them. A normalized root is optional; the pilot uses SelectionRoot only. Two selections with the same normalized content do not share authority or access rights.

A client can look up and fetch candidate objects while a solver is still running, and can verify and cache an object before the graph is solved. It can use an object’s facts only once the operation’s exact bindings, authority, status, and coverage are checked.

Objects are served and verified whole over HTTP. Compression and packs change the bytes on the wire, not object identities. Private data, identifiers, queries, and metadata derived from them stay private, including when they refer to public objects.

1.2. Changes in 0.17

This summary is non-normative. Draft 0.17 adds a first comparison with existing tools and changes no requirement.

1.3. Changes in 0.16

This summary is non-normative. Draft 0.16 records the owner’s decisions on the questions 0.15 left open.

1.4. Changes in 0.15

This summary is non-normative. Draft 0.15 takes the open decisions that the evidence or an earlier choice already settles, and sorts the rest (§ 23 Decisions and evidence needed). A decided entry can be revisited until the profile that depends on it is frozen.

1.5. Changes in 0.14

This summary is non-normative. Draft 0.14 writes down the JVM model that works end to end, and tightens the general rules that model showed to be loose or wrong. It changes no decision of 0.13.

1.6. Changes in 0.13

This summary is non-normative. Draft 0.13 changed the model, not only the wording. It follows the first experiment wave (§ 25 Evidence from the first experiment wave) and the review of draft 0.12.

Model

Trust and lifecycle

Encoding and structure

Identifiers that changed

Identifiers changed since 0.12
0.12 0.13
InputContextId Removed; ConditionClassId names a condition class and the closure names dependencies
DefinitionId Removed; it was never used
STORE-5, STORE-6 Removed with the aligned-range profile
STORE-29 REALM-8
Context variant Condition class
Citations ROTE-S# Named citations, such as [BEBOP-WIRE]

1.7. Reading this specification

1.8. Product contract and implementation scope

A release is indexed once, and its facts are bound into every closure that uses it, for IDEs, agents, and CI. Rote defines the facts and how they are authenticated, bound, and combined; a consumer can build a local query database or native cache from them.

Product commitments
Requirement Commitment
Language extensibility Common graph plus immutable language profiles; unsupported semantics remain explicit
Indexing once per release A unit is produced from the release alone, by its registry or author; no consumer context enters its identity
Dependency composition Import slots, symbolic edges, and witnesses; a link step binds them to exact dependency instances by table lookups
Consumer cost follows use A consumer indexes only its own code, and reads a bounded number of pages per lookup whatever the size of a dependency
Honest answers A fact is bound, unbound with a cause, or not produced; an answer is complete only when every contributing fact was produced and bound
Rich tool information Declarations, structured types, relations, documentation, source mapping, and coverage
Selective verified access Bounded Merkle routing and independently retrievable canonical objects
Ordinary distribution Static HTTP object delivery, separate discovery, and local resolution
Private use Private manifests, queries, layers, and metadata may depend on public objects
External associations Typed links to purl, SBOM, debug, and other exact identities
Reproducibility Equal declared effective inputs and recipe yield equal canonical results; no claim to decide behavioral equivalence
Evolution Exact schemas with typed linked enrichment and explicit operation compatibility
Proactive and evolving coverage Explicit backfill of trusted artifacts, resumable work, incremental replacement, and capability-specific coverage as types and resolution improve
Public code search Optional derived search documents and relationship postings with exact source bindings, scoped query semantics, and lifecycle-aware maintenance
Optional acceleration Incrementality, memoization, compression dictionaries, filters, deltas, duplex sessions, and native materialization retain the core identity and authorization rules

An answer is complete only for its analysis, conditions, dependency closure, and supported operations. Runtime mutation, reflection, unknown generators, and unfinished source can make a complete answer impossible. The language profile defines when a declaration is the same across versions; that is separate from byte identity.

2. Conventions and terms

The key words MUST, MUST NOT, SHOULD, SHOULD NOT, and MAY are to be interpreted as described in BCP 14 ([RFC2119], [RFC8174]) when, and only when, they appear in capitals.

Terms

Terms
Term Definition
Operator The authority that runs one public index and is its root of trust. A registry can be the operator for its own ecosystem.
Producer A party that runs a recipe over a release and publishes the resulting unit: an operator’s pipeline, a publisher through admission, or a realm for its own code
Consumer A project or tool that reads published units for its own closure
Tier Class of identity permitted to sign given record kinds: operator, publisher, realm
Binding record Signed statement relating identifiers
Anchor record Versioned, signed list of a tier’s signing identities and their permissions
Trust policy Consumer-chosen canonical document stating what it accepts, per namespace
Trust domain The identities one anchor covers: one operator’s pipeline, or one realm
Match rule Rule tying a signing identity to a package coordinate
Realm Administrative boundary within which private data is produced, signed, and read
Label Confidentiality policy: public, or realm-qualified private reader constraints; derived labels restrict readers to the intersection of their inputs
Release One published version of a package, named by a purl; its artifacts are exact bytes
Recipe A pinned extractor: tool, version, and configuration, named by content identity
Unit Published index of one release artifact: its intrinsic facts under every condition class its producer built
Facet Independently rooted class of a unit’s records, keyed by what a consumer looks up
Item A declaration or other addressable element of a unit’s interface, named by a SymbolKey
Condition Predicate over a language profile’s condition vocabulary, stating when a fact holds
Condition class One assignment of the condition vocabulary; it names no dependency version
Producer context The dependency artifacts and toolchain a producer resolved and analyzed a unit against, per condition class; recorded in the unit as witness data
Import slot The name through which a unit refers to a dependency, independent of the version a closure binds
Symbolic edge A reference stored as an import slot and a target name, not as an exact dependency instance
Witness The interface items, and the names required to be absent, that the value of a fact depended on in the producer context
Interface table Per unit and condition class: a digest of the signature-level content of each exported item, with the name lists witnesses read
Binding table Consumer-independent table of the facts of one unit that change when one dependency is replaced by another interface
Linkage fact Statement that a release without code for a platform forwards to another artifact
Interface artifact Form of a release’s interface that a stock analyzer can load in place of the dependency
Closure Binding of a project’s import slots to exact dependency instances, with their condition assignments
Instance One use of a unit in a closure: the unit, a condition assignment, and the instances its slots bind
Closure manifest Canonical descriptor of one closure, with the link tables and unit metadata a consumer needs to query it
Link step The lookups by which a consumer binds a unit’s conditional facts and symbolic edges to its closure
Layer Immutable set of annotation objects contributed over exact subjects
Provenance class Signer-asserted origin of a unit or layer: operator, publisher, realm, agent
Canonical object Byte string valid under the Rote strict Bebop profile, identified by ObjectId
Schema Exact field set of one record type, fixed by one SpecId
Opaque object Object bytes whose body schema the holder does not know; byte identity may be verified without a claim of canonical or semantic validity
Profile Immutable specification fixing rules and constants; the profile table lists the kinds
Profile constant Limit or threshold fixed by a profile
Storage ordering key The key a facet’s records are sorted by; for declarations: visibility class, owner chain, local key
Key range Contiguous run of a facet’s keys between two page boundaries
Leaf page Canonical object holding one facet’s records for one key range; "page" for short
Merkle range node Canonical ordered descriptor of child ranges and their content identities, counts, and coverage
Root bundle The bounded object a consumer fetches first for a unit: its root, facet roots, condition table, top directories, and required bindings
Projection Profile-defined selection of semantic rows, columns, or facets, with explicit scope and coverage
Candidate set Complete set a resolver consults for one lookup
Campaign An operator’s versioned plan to index a stated inventory of releases ahead of demand
Untrusted text Free-form text originating in indexed source or with a layer author
Rote log Operator-run append-only Merkle log of operator binding records

"Profile" alone is ambiguous, so requirements name the kind where it matters.

Profile kinds
Profile Fixes
Verification profile Per ecosystem: how a purl resolves to artifact bytes, where signing assets are found, and which match rules apply
Language profile Per ecosystem: semantic kinds, item keys and their comparator, the condition vocabulary, import slots, witnesses, the binder, and coverage meaning. "Semantic profile" in an object header names this profile
Encoding profile Wire revision, canonical rules, admitted primitives, and the content hash and digest size. "Hash profile" in earlier drafts was this part of it
Partitioning profile Page cuts and caps, routing fan-out and depth, dictionary scope, and count and coverage aggregation
Bootstrap profile Envelope framing, signed-byte rules, control-object schemas, and pre-authentication limits
Projection profile Rows, columns, and facets selected for stated operations
Search projection profile Search subjects, fields, normalization, and per-operation coverage
Launch profile The pilot’s ecosystem, operations, inventory, budgets, and thresholds

Identifiers

Identifiers
Identifier Names
SymbolKey One item: owner chain and local key
ArtifactId Exact artifact bytes
ConditionClassId One condition class of a language profile
ActionKey One recipe applied to declared inputs
ObjectId One canonical object
UnitRoot, LayerRoot A unit; a layer
SpecId Immutable specification and the schema it fixes
CandidateSetId One candidate set
InstanceKey One instance in a closure
ClosureRoot, SnapshotRoot A closure manifest; a closure plus exact source mappings
TrustPolicyId A trust policy’s canonical bytes
EffectivePolicyId The trust-policy clauses that govern one selection’s namespaces
SelectionRoot Canonical selection of admitted inputs and projections, closure, selection policy, EffectivePolicyId
NormalizedIndexRoot Canonical final facts and coverage for the stated scope, projection, closure, and profiles, free of production history
RepresentationId Exact transfer bytes of one object
BindingRecordId Exact signed bytes of one binding record
VerificationProfileId A verification profile’s canonical text
RealmId A realm, bound by its anchor to signing identities
LiveViewId Mutable, provisional editor view

Identifiers are constructed as follows (MODEL-15, TRUST-13, FLOW-3, FLOW-4, FLOW-10, SEL-1, SEL-13, MERKLE-1). H is the content hash of the encoding profile. The identity-inputs figure shows which inputs each derived identity reads.

ObjectId          = H(canonical bytes, header included)
ArtifactId        = H(exact artifact bytes)
RepresentationId  = H(exact transfer bytes)
BindingRecordId   = H(signed statement bytes)
TrustPolicyId     = H(canonical bytes of the trust policy)
VerificationProfileId
                  = H(canonical text of the verification profile)
ConditionClassId  = H(canonical assignment of the condition vocabulary)
InstanceKey       = H(ArtifactId, condition assignment, discriminator,
                      sorted (import slot, InstanceKey of the bound instance))
CandidateSetId    = H(scope, name, canonical member list,
                      member attributes resolution reads)
UnitRoot, LayerRoot, ClosureRoot, SelectionRoot, NormalizedIndexRoot
                  = ObjectId of the canonical root descriptor
RealmId           = the trust-domain name in the realm's anchor,
                    qualified by the authority that issued it; not a digest

3. Conformance

Conformance is claimed per role. A deployment implements only the roles it advertises, and a requirement binds only the roles its class names.

Roles
Role Does
Producer Runs a recipe, seals a unit, and publishes it under an operator, a publisher admission, or a realm
Store or mirror Serves objects and records byte for byte; interprets nothing
Consumer Accepts records, establishes a closure, fetches and validates objects, runs the link step, and answers queries
Operator Admits artifacts, signs records, runs the Rote log, and issues status
Realm Signs and serves private data and composes it with public units
Search service Derives and serves search indexes over admitted facts
Requirement classes
Class Covers Binds
Core Object identity, encoding, the Merkle hierarchy, storage, delivery, bootstrap, and safe consumption Every role that reads or writes Rote objects
Trust and lifecycle Records, acceptance order, status, freshness, and the Rote log Operator, realm, and consumer
Language profile What a profile for one ecosystem defines: conditions, slots, edges, witnesses, tables, and the binder. § 10 JVM language profile is the profile of the pilot ecosystem Producers and consumers of that ecosystem
Operator policy Admission, production, backfill, and renewal for one public index The operator of that index
Capability Optional behavior with its own rules: normalization, search, batch query access, solver integration, native artifacts, and accelerators Only an implementation that advertises the capability
Requirement families, their class, and the pilot subset
Family Class In force for the pilot Not in the pilot
CONF, LAUNCH Core All
MODEL, FLOW Core; language profile for MODEL-32 to MODEL-40 and FLOW-1, FLOW-2, FLOW-10 All Agent-class layers (parts of MODEL-22, MODEL-24)
CLOSURE, LINK Language profile All
JVM Language profile, for the pilot ecosystem All
MERKLE Core MERKLE-1 to MERKLE-8, MERKLE-12, MERKLE-13 Normalizer reuse and projection (MERKLE-9 to MERKLE-11)
ENC, ASSURE, TYPE Core All of ENC and ASSURE; TYPE-1, TYPE-2, TYPE-5, TYPE-8, TYPE-9 for the admitted subset Primitives the launch encoding profile does not admit (TYPE-3, TYPE-4, TYPE-6)
STORE, ROUTE Core All but the optional accelerators STORE-28, STORE-30, STORE-32, STORE-33, STORE-35
PERF Core for PERF-3, PERF-4, PERF-6, PERF-7; capability otherwise PERF-3, PERF-4, PERF-6, PERF-7 PERF-1, PERF-2, PERF-5, PERF-8
BOOT, SAFE, LIMIT Core All
SEL Core for selected views; capability for normalization SEL-1, SEL-2, SEL-8, SEL-11, SEL-15 Normalization and candidate sets (SEL-4, SEL-5, SEL-6, SEL-9, SEL-13, SEL-14)
PIPE, QUERY Core for PIPE-6, PIPE-7, PIPE-9, QUERY-7; capability otherwise (§ 24 Client implementation guide) PIPE-6, PIPE-7, PIPE-9, QUERY-7 The rest, unless the client claims solver integration or batch query access
REUSE, EXEC Core for REUSE-1, REUSE-3, REUSE-6, REUSE-11; capability otherwise REUSE-1, REUSE-3, REUSE-6, REUSE-11 Normalized roots and memos (REUSE-5, REUSE-8, REUSE-9, EXEC-5); partial results (EXEC-1 to EXEC-3), since the pilot refuses instead
TRUST, AUTH Trust and lifecycle All for the operator and realm tiers The publisher path (TRUST-8, TRUST-24 to TRUST-26)
PUBLISHER Trust and lifecycle All; no publisher is onboarded
LIFE, FRESH Trust and lifecycle All for a public deployment; a simulation states what it omits (LAUNCH-6)
PUB Operator policy All
BACKFILL, CHANGE, EXTEND Operator policy All of BACKFILL; CHANGE with unit-level invalidation; EXTEND-1 to EXTEND-3 Search generations and their tests (EXTEND-4 to EXTEND-6)
REALM, PRIV Trust and lifecycle, for the realm role All but the live-edit service REALM-13, REALM-18; PRIV-6 applies at production launch
EVOLVE Core EVOLVE-1 to EVOLVE-3, EVOLVE-6 Batched annotations, replacement schemas, and their suite (EVOLVE-4, EVOLVE-5, EVOLVE-7)
PROOF Core All that apply to implemented capabilities (PROOF-6)
SEARCH Capability All
INTEROP Capability INTEROP-6 Adapters and native artifacts

The pilot subset is a draft. It becomes binding when the launch profile that names it is published (LAUNCH-1).

4. Trust model

A digest identifies bytes. A signed binding record asserts a relation between identifiers, and a consumer accepts it only if its signer, namespace, status, and interpretation satisfy the consumer’s trust policy.

A unit is a shadow of its release: a separate artifact about exact upstream bytes, signed by its producer. Its records name the release’s artifact by digest and refer to the upstream’s own signatures and attestations; they never re-sign, replace, or modify the release.

4.1. Tiers and anchors

Tiers
Tier Identity May sign Status
Operator The operator identified by the anchor for that public index Every record kind, for that public index Active; sole publisher of its public objects and discovery, including admitted publisher data
Publisher The identity a match rule ties to a package Eligibility for index data about that exact package artifact Operator-admitted path only; onboarding not started
Realm Identities in a realm anchor Every record kind except Admission and Refusal, for that realm Private authority; never enters the public index

4.2. Anchor transitions

lower, or different bytes at that version higher by one no yes no yes no yes yes no Candidate anchor Version vs highest accepted anchor Reject Names it as predecessor? Update thresholds of both anchors met? Validated transition persisted? Authority not used; no rollback-protection claim New highest accepted anchor Unexpired? May accept new data May only authenticate a successor
How a consumer checks a candidate anchor; after missed rotations it repeats the check for each intermediate anchor.

These rules follow the TUF root-update specification; a consumer need not implement the rest of TUF.

4.3. Signatures

A consumer needs only the technologies its trust policy requires. The operator’s own signing technology is deferred to the production profile (§ 23.4 DEC-4 — Operator signing and anchor recovery).

Permitted signature technologies
Technology Used for A verifier MUST check
GPG detached signature Package artifacts; publisher index data; realm records; operator records if its held-key profile selects GPG Exact signed bytes; signing-time and revocation policy (AUTH-7); key matched (match rules) or anchored
Sigstore bundle Package artifacts; operator records; publisher index data; realm records Bundle against the accepted Sigstore trust root; authorized certificate issuer and subject; required log/timestamp evidence; certificate validity at the evidenced time (AUTH-7)
in-toto statement, SLSA provenance The layout of a binding record (TRUST-13); build provenance as match evidence Subject digests equal the bytes in hand; expected predicate type; envelope signature under another row
SSH signature Realm records Key listed in the realm anchor; Rote signature namespace

4.4. Binding records

Record kinds
Kind Predicate fields Lifetime
Admission subject kind (artifact or publisher-index), purl, ArtifactId, SHA-256, VerificationProfileId, match rule, digests of upstream signatures and attestations; publisher-index adds the exact admitted UnitRoot or LayerRoot and the publisher Eligibility BindingRecordId Permanent, under status
Refusal purl, reason class, the production request descriptor it answers when the reason is request-level (PUB-29), expiry Expires; not logged
Result ActionKey, typed output root (UnitRoot, LayerRoot or NormalizedIndexRoot); artifact Admission for public artifact extraction; normalization adds SelectionRoot, normalization and profile identities, and committed transformation inputs Permanent, under status
Eligibility purl, ArtifactId and SHA-256 for a package artifact, root, provenance class Permanent, under status
Delivery root, delivery directory digest Permanent
Discovery purl; for each unit root, its recipe, condition classes, and supported operations, and the digest, byte length, and schema of its root bundle; the complete layer set; sequence; expiry Expires
Status one root, state, successor or reason class, purge scope, sequence, expiry Expires
Memo complete normalization inputs and parameters (EXEC-5), output leaf ObjectId Optional exchange; valid only in the signer’s trust domain
Anchor trust domain, signing identities and permissions, anchor-update authorities and signature threshold, version, predecessor anchor, expiry, removal dispositions Versioned; expiring
Signers by record kind
Kind Operator Publisher Realm
Admission
Refusal
Result
Eligibility index data about its own exact package artifact
Delivery
Discovery
Status public publication, including publisher data realm publication
Memo
Anchor its anchor-update authorities its anchor-update authorities

4.5. Verified and fully matched

Match rules
Rule The signer is tied to the coordinate because
Registry-bound The registry asserts that the identity belongs to the coordinate’s publisher; the profile names the registry mechanism
Provenance-bound An attestation binds the exact artifact to the expected source and build parameters, and the profile authenticates its signer, builder, or workflow as authorized for that coordinate and source; matching repository text alone is insufficient (AUTH-6)
Continuity-bound The same key signed an earlier version of the coordinate that was admitted under another rule, per the Rote log. It cannot admit a coordinate’s first version. It stays disabled (§ 23.8 DEC-8 — Initial ecosystem and condition scope, and publisher onboarding)
Registry-attested The registry itself signs, or commits in a checksum database the profile authenticates, the exact artifact bytes it serves for the coordinate. Where a registry does neither, the operator fetches the bytes from the canonical registry over an authenticated channel and records their digest in its signed, logged admission. Either way this shows what the registry serves, not who published it, so it is a separate rule that a policy can see and refuse

Evidence note: every first-wave experiment admitted an artifact because its digest equalled the one its lock pinned from the registry, which is the registry-attested rule without a signed admission. No run retrieved or verified a publisher signature or an upstream attestation, so admission rates under the other rules are unmeasured. Several registries publish no publisher signature tied to a coordinate, so those rates may be low; FLOW-2 requires them per rule before an ecosystem is claimed.

Rationale for accepting the registry-attested rule by default: a unit describes bytes, and a consumer’s lock pins the bytes it installs by the same digest (CLOSURE-1). An index of those exact bytes is correct for that consumer whoever published them. A publisher signature would add assurance about origin that the consumer’s own package manager did not require either.

4.6. Publisher-shipped index data

Publisher data reaches the public index only through operator admission. Enabling it for an ecosystem requires a tested verification profile and companion-bundle distribution.

Sign Eligibility over root Root, graph, Eligibility Verify, match, validate, gate Sign Admission naming root and Eligibility Sign Delivery, Discovery, Status Publish and log Fetch Verify both signatures and policy Publisher Operator Public store and Rote log Consumer
The publisher signs Eligibility over its root, the operator then signs an Admission naming both, and the consumer verifies both signatures.

4.7. Trust policy and verification order

Trust policy by namespace
Trust policy field, per namespace pattern Governs
Accepted operator TRUST-29
Pinned resolver REALM-7
Accepted tiers and identities per record kind TRUST-2
Minimum match rule TRUST-23
Automatically selectable provenance classes MODEL-24
Log and freshness conditions LIFE-8, LIFE-17
Policies accepted as equivalent SEL-6
Authority, status, and context checks Per fetched object, may run early a check fails invalid valid Expected identity and transfer authority authenticated Stop dependent branch Semantic use 8 Normalization, where claimed 1 Anchors 2 Namespace and authorization 3 Discovery 4 Status 5 Binding records 6 Selection and applicability Fetched bytes 7 Object validation, SAFE-1
Object validation can run alongside the authority checks; semantic use needs both.

4.8. Scope of operator trust

5. Public indexing

An explicit indexing request asks the operator to produce an index. A discovery lookup reads what already exists and never starts production.

5.1. Pipeline

Production stages
Stage Action The run ends here when
1. Canonicalize Normalize the purl; rate-limit requests The purl has no concrete version: answer with an unsigned request error. It has no verification profile or is outside a known public registry: refuse as ecosystem unsupported (PUB-20)
2. Look up Serve a current discovery record or an unexpired signed refusal that satisfies the request (PUB-29) The request is satisfied, or it is a discovery lookup (PUB-27)
3. Resolve Fetch the artifact from the canonical registry, and its signing assets through the profile’s permitted retrieval paths (LIMIT-1, LIMIT-2); compute ArtifactId
4. Verify and match Apply TRUST-19; sign an Admission record A condition fails: refuse (PUB-20)
5. Extract Run the pinned recipe in a sandbox with no network access and fixed resource budgets, once per declared condition class and its producer context A budget is exceeded, subject to PUB-19
6. Seal candidate Merge the classes into conditional facts (MODEL-32), build the interface tables and the interface artifact, assign canonical local identifiers, partition (STORE-3), and compute the candidate UnitRoot, not yet publishable
7. Gate Apply PUB-13 The profile requires refusing the unit
8. Sign Sign Result, Eligibility (class operator), and Delivery records over the final gated root
9. Publish Write objects and the root bundle to static storage, issue an active status record for the root and a discovery record that lists it, append the records to the Rote log, and publish a checkpoint

5.2. Deterministic partial execution

5.3. Retrieval and worker boundaries

Untrusted No signing identity, no publication credential Trusted pipeline output over authenticated job channel bounded archive expansion final gated root Authoritative public store Registry artifact and signing assets Public fetcher: approved destinations, bounded retrieval Extraction worker: sandbox, no network, fixed budgets Controller: binds output to admitted artifact, ActionKey, recipe, context Seal and gate: verify output identities Signer Publication service
Untrusted bytes reach only components that hold no signing or publication authority.

5.4. Refusal

5.5. Serving

5.6. Discovery lookups and indexing requests

5.7. Useful coverage and launch profiles

The launch profile fixes the initial ecosystem, mandatory operations, and their success criteria (§ 21.1 Bounded launch profile).

5.8. What a producer publishes

Evidence note: producer cost was not optimized in the first wave. Building binding tables cost about 1.5 CPU seconds each for Rust and about 6 for Kotlin (experiment 11); class and member tables for 22 producer-context jars cost 9.9 CPU seconds and 0.9 MB in total.

6. Backfill and incremental maintenance

Backfill indexes public artifacts before a consumer asks for them, builds search projections from published units, and revisits the corpus when a producer, language profile, or resolver gains a capability.

6.1. Corpus selection and explicit requests

6.2. Resumption, scheduling, and coverage

6.3. Incremental changes to facts and derived indexes

6.4. New types, analyses, and resolution over time

7. Private realms

A realm controls its own signing identities, resolver, and readers. It composes private facts with public units without modifying those units or publishing the private relationships.

7.1. Signing and composition

Public index Private realm sign exact public UnitRoot per slot private import slots Signed discovery and status records Public immutable units In-realm mirror Verified public units Workspace sources Realm indexer Private units Realm anchor identities Private binding records Closure manifest Local composition
A realm composes its own units with exact public units through a closure manifest; references cross the realm boundary inward only.

7.2. Local composition service

7.3. Deployment

Realm deployment options
Option Private data and queries live in The operator observes
Operator-hosted realm A realm-scoped store and resolver run by the operator Private data and all fetches
Private cloud account The same service in the organization’s own cloud account, with an in-realm mirror The mirror’s pulls of public objects
Behind the firewall (future) Self-hosted store, resolver, and mirror The mirror’s pulls, or nothing if fed offline

7.4. Private identifier confidentiality

7.5. Private services, derived labels, and operational egress

8. Data model and identity

A unit holds the facts of one release that do not depend on who consumes it. Its references into other releases are symbolic and carry witnesses, and a consumer binds them to its own closure (§ 9 Closures and binding). Facts are stored in separately rooted facets, interpreted by exact schemas, and extended by linked layers. A Merkle hierarchy commits to the resulting objects, their scope, and their coverage.

8.1. Graph and facets

Facets and their keys
Facet Keyed by Read for
Declarations Item key Declaration lookup
Documentation Item key Hover text
Types Item key Signatures and type terms
Exports Exported item key, and exported name Export checks; name-prefix lookup
Interface Type or module key; member name; simple name; supertype Witness checks and binding a consumer’s own references (MODEL-35)
Reference sites File, then position Binding the unit’s own sites; rules that apply per file
Usage sites Import slot, then symbolic target References to one item across a closure (MODEL-7)
Conditions and producer contexts Condition-set index Evaluating conditions and witnesses
Linkage None; one record Forwarding a release without code (MODEL-39)
Interface artifact None, or package or module Analyzing a consumer’s own code (MODEL-40)
Body and analysis; ABI and debug; evidence Profile-defined Optional operations
Expected identity changes
Event Stable Changes
Docstring edit Declaration and type pages One documentation page and its ancestors up to the unit root
Insertion above a declaration Semantic facets; occurrence pages of untouched declarations Anchor table
New overload Unaffected declarations One CandidateSetId and its readers
A dependency publishes a new version Every unit that depends on it Nothing published; a consumer that adopts the version gets a new closure
A consumer changes a dependency version Every unit ClosureRoot; the InstanceKeys from the changed instance up to the root; bindings whose witnesses no longer hold
Layer withdrawn, or a trust policy clause for its namespace changed Every addressed object SelectionRoot; normalized result if admitted facts differ
Recompression Every ObjectId RepresentationIds, delivery directory, and binding

8.2. Identifiers and headers

Evidence note: the first wave hashed with SHA-256. Before paging, SHA-256 was 40% and decompression 45% of cold query cost, and hardware SHA made cold queries 2.8 times faster (experiment 06). With pages, hashing is about 1% of cold query time with hardware support and 2 to 6% without (experiment 12). The launch encoding profile uses SHA-256 (§ 23.2 DEC-2 — Initial content hash and digest size).

8.3. Intrinsic identity and binding context

A fact has two parts that earlier drafts hashed together. Its intrinsic identity says which release, recipe, and condition it came from. Its binding context says which dependency instances it meets in one consumer’s closure. The first is fixed when the unit is produced; the second is computed by each consumer and never enters a unit’s identity.

looks up instance table selected unit Exact artifact ActionKey Pinned recipe Condition classes Producer context of each class UnitRoot InstanceKey Condition assignment Nominal-instance discriminator Bound child instances ClosureRoot Slot bindings Link tables SnapshotRoot Source-content identities Source-map identities
What each derived identity hashes. No consumer input reaches ActionKey or UnitRoot, and no produced root reaches InstanceKey.

Evidence note: under the 0.12 key, which hashed exact dependency identities, experiment 00 reused 29% of units and avoided 16% of work (scored). In its Rust corpus 2,927 of 4,873 producer comparisons had equal declarations, but only 751 had equal keys. Per identity, facts are mostly the same in every context: 96.4% of JVM items and 99.2% of JVM edges, and 93.2% of Rust items once presence is a condition (experiment 10).

8.4. Conditions

A Rust profile can define such a projection for features. When a release’s feature predicates are monotone, a fact that is equal under the default and the all-features classes is equal for every feature set between them.

Evidence note: Rust items are 24.5% invariant across contexts when stored per context and 93.2% once presence is a condition; TypeScript items are 81.8% and 98.3% (experiment 10). 1.1 million of 1.4 million unbound Rust references sit in condition classes that no producer built (experiment 11), which is why a predicate read from source is preferred to an observed set.

8.5. Symbolic edges and witnesses

Slots, witnesses, and tables in the first-wave profiles (informative)
Profile Import slot Witness Tables
JVM, Java sites Implicit: any other jar on the classpath; a class binds to the first jar in classpath order that defines it Name family: no jar that the consumer has and the producer lacked declares a member of that name in the target’s type hierarchy Classes with supertypes; members by simple name with digests
JVM, Kotlin sites The same Kotlin name: no such jar declares a class or callable with the target’s simple name or its accessor spellings Adds Kotlin classifiers, JVM binary names, and package-level members
Rust name@~compat, so incompatible versions are separate slots Interface slice: digests of the dependency items the unit reaches, with module nodes that cover visible names; the toolchain crates loaded; the macros each file invokes Item digests in slot form; exports; impl items
TypeScript name@*, and an ambient slot for globals Route: the target exists and every export of the same name points to it; a global merge table keyed by compiler version, library files, and environment releases Item digests; exports; entries, import labels, and augmentations

The JVM rows summarize § 10 JVM language profile, which is normative for the pilot; the Rust and TypeScript rows describe first-wave prototypes.

Evidence note (experiment 11): with these rules no bound fact differed from a local analysis in any of the three ecosystems. JVM references bind at 0.983 (Java 0.996, Kotlin 0.946) and every JVM declaration and export binds; TypeScript references bind at 0.995; Rust references bind at 0.651. Tables for the 22 producer-context jars without units, together with two fixes to closure establishment, raised Kotlin reference coverage from 0.770 to 0.946. Before MODEL-37’s rule, 1,185 references and 643 declarations were bound but different. Binding tables raised Rust declaration units from 0.599 to 0.693 and TypeScript from 0.67 to 0.83.

8.6. Interface artifacts

A consumer’s analyzer has to resolve names and types in the consumer’s own code, and for that it needs its dependencies' interfaces. If it reads the dependency artifacts to get them, it is indexing dependencies.

Interface artifacts in the first-wave profiles (informative)
Profile Artifact Keeps Does the analyzer parse interface text?
JVM Stub jar: the release’s class files without method bodies, private and synthetic members, or local classes Signatures, constants, annotations including Kotlin metadata, inner-class and module attributes, multi-release entries, and the *.kotlin_builtins and *.kotlin_module files No; class files are binary interfaces
TypeScript Declaration bundle: the release’s own declaration files and package manifest, with an item table Every declaration file, since pruning to reachable files lost references Yes; the gain is bytes, not CPU
Rust Stub crate per condition class, generated from the public interface Module tree, public signatures, impls, macro_rules! text, and procedural-macro declarations Yes

Evidence note (experiment 11, interface harness): consumers that compiled their own code over stub jars bound 226,884 of 226,907 Java and 11,970 of 11,972 Kotlin dependency references, with none wrong and no dependency file opened. Stub jars were 0.51 MiB per configuration against 3.50 MiB for unstripped ones. On an older corpus, stub jars fetched whole cost 0.38 MiB and one round trip per configuration; the same stubs as package pages cost 0.28 MiB and 10 sequential round trips, because each read depends on what the compiler attributed before. Without JVM binary names in the tables, 1,437 Java references into a Kotlin release bound but had no item. Compiler metadata is not a usable interface artifact for Rust: none of 18 configurations could compile its root crate from producer-published metadata (§ 22.5 Compiler metadata as an interface artifact).

8.7. Layers and provenance classes

Provenance classes
Class Produced by Selected automatically
Operator The public pipeline Yes, under the default policy
Publisher The package’s signing identity Only where the policy accepts the publisher tier for the namespace
Realm A deterministic tool under a realm key Yes, inside that realm
Agent A non-deterministic author under a realm key Never

8.8. Schemas and annotation

8.9. Compatibility and migration

The initial support window and the mandatory base schemas and operations are deferred to the production compatibility profile (§ 23.7 DEC-7 — Compatibility support contract).

8.10. Merkle hierarchy

Delivery container, outside the hierarchy ObjectId, length ObjectId, length zero records carried in carried in UnitRoot Facet root Other facet roots Range node Leaf page Leaf page Inline empty descriptor Transport pack or compression frame
Each parent commits to its children through child descriptors in its own canonical bytes (MERKLE-2).

BLAKE3 supplies the tree hash and Bao shows proof encodings for verified streaming and slices; neither supplies Rote’s ordering, partitioning, or coverage rules.

9. Closures and binding

A consumer indexes its own code and nothing else. It establishes its closure from its lockfile, obtains or assembles a closure manifest, and binds published facts to the closure by lookups. No step reads a dependency artifact.

  1. Establish closurelockfile and own manifests · CLOSURE-1
  2. Obtain manifestcache hit or assembly · CLOSURE-4
  3. Check manifestroots and derived tables · CLOSURE-3
  4. Index own codeover interface artifacts · LINK-6
  5. Bind on demandconditions, witnesses, tables · LINK-2
  6. Answerbound, unbound, not produced · FLOW-11
The consumer path from a lockfile to an answer; a manifest that fails its checks is rejected as a whole.

9.1. Closure establishment

Closure establishment in the first-wave profiles (informative)
Profile The consumer reads Published per release Result
JVM A lockfile, or one Maven resolution recorded as a lock; the target JVM release Jar and sources digests; direct dependencies; multi-release versions; linkage targets Jar instances with their release and multi-release selection; a closure per instance in classpath order
Rust Cargo.toml, Cargo.lock, target, and features The registry index row: dependencies with kind, target, optionality, and features; library name; build-script outputs per condition class Instances with platform and resolved features; extern slots
TypeScript package.json, package-lock.json, and compiler options Entries and import labels per condition class; globals and augmentations; library references Program instances, slots, library files, and the global merge key

Evidence note (experiment 13): establishment cost at most 0.0043 of the baseline’s CPU and opened no dependency file. It was exact in 15 of 18 Rust, 22 of 24 JVM, and 19 of 30 TypeScript configurations; the JVM figures predate the current corpus.

9.2. Closure manifests

Manifest assembly tiers
Tier A consumer gets its manifest by Typical case
1 An exact hit on its lock digest CI, teammates, popular templates
2 Subtree hits plus a few new nodes A lockfile after a version bump
3 Its own assembly from root bundles fetched in one batch A lockfile no cache has seen

Evidence note (experiment 13): 432 of 432 tampered manifests were rejected. How often real lockfiles hit tiers 1 and 2 is unmeasured.

9.3. The link step

Binding states and causes
State Cause Meaning
Bound The fact holds in this closure, with a named target instance and item
Unbound Witness failed A witnessed item differs or a negative entry no longer holds, and no binding table applies
Witness undecidable An artifact the witness must read has no interface table
Dependency absent An artifact of the producer context has no counterpart in the closure, or the reverse, and the fact could depend on it
Unresolved by the producer The producer’s own analysis left the target unresolved, and the closure differs from the producer context
Tainted scope The profile unbinds a wider scope, such as a file, because it cannot localize a difference
Generated or non-portable input The fact depends on generated code or a build output that is not published or not reproducible
Consumer-side change The consumer’s program changes the target’s meaning, for example by a module augmentation
Unit unavailable The unit of an instance the witness reads is withdrawn or not accepted under the consumer’s policy
Not produced No unit or facet No unit exists for the release, or the facet the operation needs was never produced
Condition not produced The instance’s condition assignment is outside the unit’s produced domain

Evidence note: the JVM binder leaves 249,068 of about 14.5 million reference sites unbound: 128,654 by file taint, 60,526 unresolved by the producer under a different classpath, and 57,068 by a producer jar absent from the consumer closure (experiment 11). A binder that reads pages on demand gave the same binding for all 14.26 million bound sites as one that loads whole units, with cold p95 of 0.5 to 20 ms instead of 33 to 6,700 ms and client peak memory of 90 to 161 MiB instead of 312 to 1,022 MiB (experiments 14, 15, and 16).

9.4. Proposed additions

Status: proposed. The first wave suggests each change below but does not yet support it. None is a requirement.

Proposed additions awaiting evidence
Addition Evidence so far Would change
A producer record of how a release was compiled: compiler arguments, plugins, the Kotlin source-set graph, and its compile-only and provided dependencies The Kotlin compiler reports errors in 126 of 180 producer variants because flags have to be reconstructed FLOW-3, PUB-30, JVM-3
Toolchain facts as their own target class: Kotlin built-ins depend on the compiler version, not on the standard library’s Seen in the Kotlin rounds of experiments 00 and 11; not counted MODEL-33
Per-file import sets, to narrow the Kotlin name witness; a taint scope finer than a file The name witness alone left 12% of Kotlin references unbound; file taint holds back 128,654 sites JVM-9, JVM-10
Rust: published build-script outputs and facts for generated code, conditions read from source across profiles, and macro provenance 192 of 267 build-script units equal, 68 missing, 7 differ only in an output path (experiment 13); 81,000 references lost to macro provenance (experiment 11) MODEL-32, PUB-30
TypeScript: peer-slot profiles, exact ambient modules, and a rule for augmentation in the consumer’s program References rose from 0.893 to 0.995 (experiment 11); 37,900 occurrences still missed to augmentation (experiment 14) MODEL-34
Usage-site filters with a size budget; one filter merged per closure, or none for a unit without edges into other releases No false negatives, false positives at most 0.75%; the size budget of 1.5 bytes per key was missed at 2.1 to 3.5, because a fixed header dominates small filters (experiment 14) STORE-30
A page size and dictionary rule that meets the store-size budget Paged stores are 1.41 to 1.66 times the whole objects against a budget of 1.4; a shared dictionary saves 6 to 7% (experiment 12) STORE-3, STORE-8
Linkage facts for Maven relocations and for coordinates that publish only a BOM Only Kotlin Multiplatform roots were exercised: 21 code-free releases have linkage facts, and 10 targets were verified MODEL-39, JVM-7
Platform tables of the JDK per target release, so that a consumer on a release no producer built can bind Every first-wave consumer used a release a producer had built, so none was needed JVM-2
Interface artifacts opened on demand through a verified lazy classpath javac read 3.8% of the class entries of its stub jars; the Kotlin compiler opens 10 to 32% of stub classes over directories and maps whole jars otherwise (experiments 11 and 16) MODEL-40, JVM-14
Fetching a facet’s pages in one batch when a consumer binds most of a unit Demand cost reaches whole-unit cost only when a consumer binds the whole release; sampled sites touch every page of a unit from about 1,000 sites (experiment 16) LINK-5
Rules for merging a complete layer with a partial one, and for a client that loses its state after a withdrawal No failing run; the behavior is undefined today (experiments 03 and 05) SEL-2, LIFE-10

10. JVM language profile

This section is the language profile of the pilot ecosystem (§ 21.1 Bounded launch profile): Java and Kotlin releases published as jars and resolved by a Maven-compatible resolver. It states what § 8 Data model and identity and § 9 Closures and binding leave to a language profile. Its rules are those of the first-wave JVM implementation (experiments 00, 11, 13, 14, 15, and 16), and each binding rule was needed to reach no bound-but-different fact on that corpus. The profile is a draft: its schemas are not written, and its evidence is unscored.

Gradle variant selection is outside this profile. A Maven-compatible resolver selects one artifact for each coordinate. A classifier identifies a distinct artifact.

10.1. Units, conditions, and producer context

10.2. Closure establishment and linkage

10.3. Binding rules

These rules are the binder of LINK-2 for this profile. A changed jar is a jar of an instance’s classpath whose bytes are not in the unit’s producer context.

What the JVM binder reports, by cause of the cause table
Rule Outcome Cause
The name-family or Kotlin name witness finds a new or changed declaration (JVM-9); the bound class does not declare the member (JVM-8) Unbound Witness failed
A changed jar, or a jar that could define a named type, has no interface table (JVM-9, JVM-11) Unbound Witness undecidable
A producer-context jar has no jar of its module in the closure; the target’s class is in no jar of the closure (JVM-10, JVM-8) Unbound Dependency absent
An edge without a resolved target on a different classpath (JVM-8) Unbound Unresolved by the producer
A file-local target in a file with an unbound site (JVM-10) Unbound Tainted scope
The jar has an interface table and no unit; the sources artifact differs (JVM-1) Not produced No unit or facet
The target release is outside the produced domain (JVM-2) Not produced Condition not produced

10.4. Facets and references

JVM facet keys, with the section names of the first-wave store (informative)
Facet Key Read by
Interface Class (c); supertype, giving subtypes (s); member simple name (m); member key (k); simple name of any class or callable (w) Class lookup and hierarchy; the name-family witness; the member check; the Kotlin name witness
Declarations Item key (d); the overloads of one name are one key range Declaration lookup; JVM-11
Exports Exported item key (e); exported name (n) Export checks; prefix lookup
Reference sites File, then position (r); one file is one key range Binding the unit’s own sites; the file-wide rules of JVM-10
Usage sites Target owner, then symbolic target (o) References across a closure

10.5. Interface artifact and own code

Evidence note (unscored; 35 Maven and Elide configurations of the current corpus): with these rules no bound fact differed from a local analysis. References bound at 0.983 (Java 0.996, Kotlin 0.946, units with both 0.953), and all 931,108 declarations and 673,384 exports bound (experiment 11). A binder that reads pages on demand bound all 14,257,982 sites as the whole-unit binder did (experiments 14 and 16). Of 249,068 unbound reference sites, 128,654 fall under the file-local rule of JVM-10, 60,526 have no resolved target on a different classpath, 57,068 follow a producer-context jar missing from the closure, and 2,820 have other causes. Consumers that indexed their own code over stub jars bound 226,884 of 226,907 Java and 11,970 of 11,972 Kotlin dependency references, none wrong, and opened no dependency file.

First-wave failures and the rules they became (informative)
Failure Rule
A producer-context jar was missing from a consumer’s closure, so the consumer’s compiler left code unattributed that the producer’s had attributed: 1,185 references and 575 declarations bound but different JVM-10
An optional jar was present for the consumer and absent for the producer, so documentation joined to other members: 68 declarations bound but different JVM-11
A jar without a POM got the whole classpath as its closure, root included, which caused 46% of Kotlin witness rejections; and a parent POM’s dependencies were not inherited JVM-6
Dependency declarations were identified by group and artifact only, so a test-scoped test-jar hid a compile jar JVM-6
Producer-context jars that are not produced releases had no tables: Kotlin references bound at 0.770, and at 0.946 once 22 such jars had tables and the two closure defects above were fixed MODEL-36, JVM-5
1,437 Java references into a Kotlin release, and 306 class literals, bound but had no item JVM-5
Without *.kotlin_builtins the Kotlin compiler reported every built-in type as inaccessible: 13,365 errors against 272 JVM-14
Maven and Elide resolve a Kotlin Multiplatform root to a jar without classes JVM-7
The replay’s truth counted only units with Java classes, so 681 correct occurrences in Kotlin-only libraries were reported wrong LINK-4

Where the first-wave implementation falls short of this profile, and what is not measured

11. Canonical encoding

Every canonical object is encoded in the Rote strict Bebop profile, a project-owned profile of Bebop that admits exactly one encoding per value. [BEBOP-PAPER] [BEBOP-WIRE] [BEBOP-RELEASE] [BEBOP-TS-RUNTIME] The planned implementation is truffledata, Elide’s in-house implementation of this profile, which runs on the JVM.

11.1. Formats considered and tradeoffs

This non-normative comparison draws on the cited specifications. The one measurement so far is unscored: strict Bebop objects were 0.94 times the size of canonical Cap’n Proto and validated faster, but the two codecs ran on different runtimes, so their timings do not compare (experiment 01). Strict Bebop is adopted, and Arrow or backend-native layouts are optional derived representations. ENC-22 requires a comparison with canonical Cap’n Proto, and query performance, including conversion and validation, is measured under § 11.7 Freeze and § 24.2.3 Conformance and performance evidence.

Formats considered: benefits and costs by use case
Format and status Storage Query Interchange
Strict Bebop 2026
Adopted design [BEBOP-WIRE]
Canonical factsUnique bytes per admitted value.Cost: project-owned validation over a pinned prerelease wire format. Direct column scansFixed-width arrays and offsets.Cost: unaligned; separate kernels and search indexes. Exact Rote objectsExplicit presence and exact schema identities.Cost: peers need the Rote profile; a generic Bebop decoder does not check canonicality.
Canonical Cap’n Proto
Required comparator [CAPNP-ENCODING]
Canonical alternativePublished canonicalization rules.Cost: presence, sets, maps, and floats need Rote mappings. Direct structured accessAligned primitives and relative pointers.Cost: column layouts are schema work; packed delivery needs unpacking. Schema-based messagesCould carry the same facts.Cost: defaults need mapping to absent or present; not a drop-in substitute.
Protocol Buffers
Producer adapter candidate [PROTOBUF-CANONICAL] [PROTOBUF-ENCODING]
Producer recordsTagged fields and packed repeated values.Cost: deterministic is not canonical; needs re-encoding. Decode or projectSequential decoding of packed fields.Cost: no random-access column directory. Existing extractor inputsProducers that already emit protobuf.Cost: adapters fix presence, unknown-field, type, and coverage mappings.
FlatBuffers
Direct-access alternative [FLATBUFFERS]
Structured binary recordsOffsets and vtables for direct access.Cost: one value has several valid layouts. Views and scalar vectorsAligned vectors for bulk reads.Cost: indirection and verification; no search indexes. Schema-based buffersGenerated accessors.Cost: defaults, presence, and canonical construction need reconciling.
Apache Arrow / IPC
Optional compute layout [ARROW-COLUMNAR]
Derived column batchesPersisted analytical buffers.Cost: padding and null payloads defeat unique bytes. Batch computationTyped, aligned buffers and bitmaps for vectorized kernels.Cost: conversion, memory, and exact subject bindings. Bulk analytical exchangeShared column conventions.Cost: Rote types, identity, and coverage need an adapter.
Apache Parquet
Optional analytical export [PARQUET]
Large derived datasetsColumn chunks and row groups.Cost: layout choices need constraints for canonical identity. Column-oriented scansReads only relevant chunks.Cost: unevaluated for small interactive lookups; no code-search indexes. Offline bulk exchangeA declared corpus revision.Cost: schemas, subject bindings, and coverage must accompany it.
JSON / JCS
API and inspection candidate [RFC8785]
Inspectable recordsJCS gives canonical JSON.Cost: NaNs, signed zeros, and wide integers need tagged mappings. Result inspectionReadable named fields.Cost: parsing precedes column kernels. APIs and diagnosticsSuits service boundaries.Cost: binary, numeric, and presence mappings; plain JSON is not JCS.

Backend-native search indexes (§ 15 Search projections and derived indexes) are derived, rebuildable files with exact subject bindings and serving revisions; they need not use a canonical format.

11.2. Profile rules

11.3. Canonical values and admitted wire primitives

11.4. Extended primitive rules

These rules restrict the pinned upstream format and add no wire primitives, tags, message directories, alignment padding, or collection framing. A supported primitive has the same width and layout in scalars, fields, and arrays.

Extended primitives: canonical values within upstream layouts
Type Bytes Value and equality Strict rule
Signed and unsigned integers 1, 2, 4, 8, or 16 Exact integer over the full range of the admitted width. Fixed-width little-endian; signed values use two’s complement. No rounding or overflow wrapping.
UUID 16 All 128-bit patterns; equality of the 16 bytes. Upstream RFC byte order, equivalent to hexadecimal text order. No variant or version restriction.
float16, bfloat16, float32, float64 2, 2, 4, 8 One NaN value per type; every non-NaN bit pattern is distinct. Little-endian bits; the NaN table below fixes the only accepted NaN per type.
Timestamp 16 Tuple of epoch seconds, nanoseconds, and offset milliseconds. Offset participates in equality. Signed 64-bit seconds, signed 32-bit nanos, signed 32-bit offset, in that order and little-endian.
UTC instant refinement 16 Epoch seconds and nanoseconds, with offset fixed at zero. Schema constraint on timestamp; the four offset bytes remain present and zero.
Duration 12 Exact signed span; equality of its unique (seconds, nanoseconds) pair. Signed 64-bit seconds followed by signed 32-bit nanos, little-endian; sign-consistent and normalized.

11.4.1. Integers, UUIDs, and floating point

One positive quiet NaN per type; all other NaN patterns are rejected
Type Bit pattern Wire bytes, in order
float16 (IEEE binary16) 0x7E00 00 7e
bfloat16 (1 sign, 8 exponent, 7 fraction bits) 0x7FC0 c0 7f
float32 (IEEE binary32) 0x7FC00000 00 00 c0 7f
float64 (IEEE binary64) 0x7FF8000000000000 00 00 00 00 00 00 f8 7f

11.4.2. Timestamps and durations

Timestamp · 16 bytes

secondsint64 · full range nanosint32 · [0, 999999999] offset msint32 · [-86400000, 86400000]

Duration · 12 bytes

secondsint64 · full range nanosint32 · sign never opposes seconds
Temporal primitives, little-endian, with byte offsets inside the value; rows are not to a common scale.

Upstream added the offset field [BEBOP-PR3], and the pinned wire specification and C runtime use 16 bytes [BEBOP-WIRE] [BEBOP-C-RUNTIME]; the descriptor documentation and scalar-type table still say 12 [BEBOP-SCALAR-TABLE] [BEBOP-DESCRIPTOR], so generated sizes, strides, and field offsets need checking (ASSURE-6).

11.4.3. Conformance evidence

11.5. Validation

11.6. Column-wise leaf pages

A leaf page encoded without an indexed-message directory is read by bounded structural traversal; a reader can keep the column locations it finds. Batch access (§ 24.2 Batch query execution) begins after verification and validation.

11.7. Freeze

12. Storage and delivery

Storage fixes the canonical boundaries of facts and the authenticated routes to them. Delivery fetches those objects without changing their identities, and transport packing is independent of both. Every size, threshold, and cap named here is a profile constant.

12.1. Partitioning

Each facet is an ordered run of records, cut into pages by encoded size. A lookup routes by key to the page that holds it, so its cost does not grow with the unit.

One facet in key order, cut by encoded bytes

[start, k1)page [k1, k2)page [k2, k3)one large record [k3, end)page

Facet directory

first keyObjectId · length · count · coverage first keyObjectId · length · count · coverage first key… first key…
A facet’s records are cut into pages under a byte cap, and a record above the cap gets a page of its own. The directory names each page by its first key and content identity.

Evidence note: independent facets with byte-bounded pages of 4 to 32 KiB gave the fewest objects and the lowest metadata share, and were the only layout without outlining that encoded every real unit (experiment 02). Pages of at most 32 to 64 KiB were used in experiments 12 and 16. A shared dictionary saved 6 to 7% of bytes, but a frequency shift rewrote the facet. Dictionaries are local to a page, and the page cap is a constant the partitioning profile fixes by measurement (§ 23.3 DEC-3 — Storage layout and projection granularity).

12.2. Range and size invariants

Facet root · [start, end) · 7 records · partial Routing node · [start, k2) · 3 records · complete Leaf · [k2, end) · 4 records · partial Leaf · [start, k1) · 3 records · complete Empty · [k1, k2) · 0 records · complete
Each parent authenticates its children’s intervals, counts, and coverage, and one partial child makes every ancestor partial.

12.3. Bounded hierarchical lookup

Routing and delivery objects
Object Content
Facet root The facet’s key domain and its complete range inventory, with authenticated bounds, record count, and coverage
Facet directory The ordered range descriptors of one facet: first key, page ObjectId or subtree ObjectId, canonical length, record count, and coverage; a bounded tree of routing nodes when large
Delivery directory Per canonical ObjectId: RepresentationId, codec, dictionary identifier, transfer and canonical lengths, pack range; a bounded authenticated tree when large
Root bundle Unit-root object, facet roots, condition table, top facet directories or their authenticated references, capability vector, top delivery metadata, and required bindings with their inclusion proofs, with its own digest
Closure manifest One closure’s instances and link tables, optionally with the root bundles and facet directories of its units (CLOSURE-2)
loop [Descriptor not inline or cached] par [Each required leaf] Look up unit Discovery record, per-root status, inclusion proofs, checkpoint Get root bundle by digest Bundle bytes Get routing node by ObjectId Node bytes Get leaf by ObjectId Leaf representation Accept record, take bundle digest Check digest, verify root and routing Verify ObjectId and intervals Verify and validate each leaf Client Resolver Object store
Each hop takes its expected identifier from the previous authenticated object. A consumer whose closure manifest embeds the bundle and directories fetches pages in one round trip; without a manifest, pages arrive two round trips after the discovery response, which carries its own log evidence (LIFE-20).

12.4. Sparse-read verification

12.5. Compression

12.6. Bootstrap and deltas

12.7. Optional acceleration and performance evidence

The core path is static authenticated delivery and whole-object validation. Accelerators and transport choices never define identity or add authority to their inputs.

Round trips before a first cold answer (targets, not frozen)
Consumer state Sequential round trips
Closure manifest cached, with embedded directories 1: the pages, in parallel. 1 more when a binding table or a dependent interface lookup is needed
Manifest cache hit (tier 1 or 2) 2: the manifest, then the pages
No cached manifest (tier 3) 2: every root bundle in one batch, then the pages. 3 when a directory is not in its bundle

Evidence note: a wall-clock gate of 20 ms cannot be met over a link with a 20 ms round-trip time. Local p95 was 0.2 to 7.3 ms (experiment 12); with a cached manifest at a 20 ms round trip, queries took 20.8 to 30.1 ms (experiment 13); and with directories fetched separately, Java queries took 87 to 141 ms (experiment 15). Page count, not bytes, sets cold cost.

Required performance workloads
Workload Required measurements
Time to ready from a fresh clone Wall time, CPU, and bytes until a fixed query set is answered, split into own code and dependencies; dependency artifacts read on the client (LAUNCH-2)
Cold and warm lookup, hover, prefix, and references End-to-end latency, request and round-trip counts, transfer bytes, verification, binding, and interpretation work
Whole-leaf access and projected views Authentication and validation CPU, allocation and peak memory, projection metadata and dictionary overhead
Closure assembly and normalization Input and output bytes, reused leaves and subtrees, deduplication and conflict work, root construction time
Docstring, declaration, overload, and boundary edits Re-extraction and re-encoding work, invalidated objects, hash recomputation, transfer amplification
Adversarial layouts and maximum-size inputs Bound enforcement, forced-boundary cascades, routing depth and metadata, failure behavior, resource ceilings
Optional accelerators and delivery modes Gains and costs, including maintenance and cold start, against the same core implementation with the capability off
Solver and retrieval pipeline PIPE-12
Batch query execution PERF-8

12.8. Verification bootstrap

The bootstrap authenticates the metadata that ordinary fetches start from. Its schemas and rules ship with the implementation or arrive by an already authenticated update, so a peer cannot select a new executable decoder.

  1. Requestlocal resolver and trust roots · BOOT-2
  2. Bounded parseverification material only · BOOT-1, BOOT-2
  3. Verify envelopesignature, signer, kind, schema · BOOT-3
  4. Accept recordTRUST-30
  5. Authenticate bundlelength, cap, digest · BOOT-4
  6. Validate bundleschema, root, bindings · BOOT-5
  7. Separate directoryby expected digest · BOOT-6
  8. Ordinary fetchesSAFE-1
Bootstrap order: nothing from a later stage is used until every earlier gate passes.

The statement layout is decided (§ 23.1 DEC-1 — Binding envelope and bootstrap wire format); the envelope and the rest of the bootstrap profile are to be fixed before the interoperable wire format freezes. In-toto tooling can read a binding record, but accepting it as a Rote record also needs the predicate checks of TRUST-13.

13. Selection and normalization

Selection records which inputs a consumer admits under its policy for one closure. Normalization turns those inputs into canonical facts, resolving overlap and conflicts by fixed rules. The two have separate identities because input history and final content answer different questions.

The pilot serves selected views under SelectionRoot (SEL-8) and needs no normalizer.

no yes Candidate units Trust policy and status admit? Candidate layers Excluded, reason recorded Bind exact closure Lockfile and condition assignments Selection descriptor, SelectionRoot Selected view, served lazily Normalize: deduplicate, settle conflicts Final facts and coverage, NormalizedIndexRoot Derivation receipts, kept outside
Trust policy admits or excludes whole units and layers before facts merge; retrieval and per-object verification can start earlier (§ 24.1 Pipelined graph resolution and retrieval).

13.1. Client composition and projection

A client can compose a selected suite from several accepted sources without downloading one combined index. SelectionRoot and NormalizedIndexRoot each cover full and projected views.

Two clients that select the same admitted leaves and projection under the same policy get the same SelectionRoot, whether they fetched a pack or single leaves. Different inputs that normalize to the same projected facts and coverage can get the same NormalizedIndexRoot; sorting the hashes of differently partitioned or overlapping source leaves cannot.

13.2. Query and local-edit contract

These rules apply when an implementation offers query or live-edit operations; a static object host need not.

No run has yet used a signal for edges stored under another key. Experiment 15 proposes a count of edges per unit and import slot, or a mark on each site whose key is ambiguous. For the JVM such edges are those without a resolved target, and a lookup of unresolved names equal to the target’s simple name would find them. Which mechanism a language profile requires is to be settled by a run on the JVM in experiments 14 and 15, not by a choice.

13.3. Worked project workflow

This scenario is the conformance fixture of FLOW-9, not a description of an implemented client. A private application imports public A version 1 and B version 2, and B imports A. B’s producer analyzed B against A version 2, and the application’s lockfile also binds B’s slot to A version 2. The operator has admitted and published units for these releases; publisher data enters only through publisher admission and a policy that permits it.

Initial closure Closure after refresh A slot A slot A slot A slot Private application A version 1 B version 2 A version 2 Private application A version 2 B version 2
The closure after steps 1 and 6. At first the application and B bind different versions of A; after the refresh both slots bind the same instance of A version 2.
  1. Establish the closure from the lockfile and obtain its manifest. A speculative lookup that misses starts no production; a confirmed need may request indexing.

  2. Index the application’s own code over the interface artifacts of A version 1 and B version 2. No dependency artifact is read.

  3. Answer a hover, fetching only the declaration, type, and documentation pages it needs, and a references query for an item of A limited to the closure, both under one view. B’s edges into A bind unchanged, because the closure matches B’s producer context.

  4. Edit an application declaration, then delete it, as live revisions; the base copy does not reappear and public objects do not change.

  5. Page through a references query, revoke or withdraw the view between pages so the continuation fails explicitly, then cancel a fresh query after one page.

  6. Move the application to A version 2. Both slots now bind one instance; unaffected pages are reused, and old answers keep their old view.

  7. Move the lockfile to A version 3, which B’s producer never saw. B’s edges whose witnessed items are equal in version 3 stay bound. One edge whose witnessed item changed is reported unbound, and the references answer is not complete. After a binding table for B against version 3 is published, the edge binds from it and the answer is complete.

13.4. Observable invariants of retrieval and execution

How a client schedules fetches and executes queries is its own business (§ 24 Client implementation guide). These four rules are the part of that behavior another party can observe, and they bind every consumer.

14. Reuse and incrementality

Published facts are reused across consumers by binding (§ 9.3 The link step), not by key equality. This section covers the other kind of reuse: a producer or a normalizer reusing its own earlier work. That reuse is keyed on complete declared inputs. A language profile may narrow the key or the invalidation only when it shows that the omitted inputs cannot change the result; conservative recomputation always conforms. The general two-level cache of run-observed input manifests is rejected (§ 22 Rejected proposals).

14.1. Action keys

An ActionKey is a lookup key for one recipe applied to declared inputs:

ActionKey ← { pinned recipe,
              declared inputs by content identity:
                for extraction, the artifact, the condition classes,
                  and the producer context of each class;
                for derived work, UnitRoot, facet root, or LayerRoot,
              output-affecting budgets and truncation rules }

14.2. Memoized normalization

A Memo (a record kind in the record-kinds table) relates a memo descriptor, the canonical descriptor of one normalization step’s inputs and parameters, to that step’s output.

15. Search projections and derived indexes

A search service derives a disposable index from admitted Rote facts, linked exactly back to subjects and evidence, for lexical, source-pattern, vector, and relationship queries. Hosting search is optional and needs no particular storage, database, embedding model, or ranking engine.

Derived search service permitted restricted suppress affected Authorized backfill and updates Admitted public units and layers Withdrawal or purge Lifecycle recheck Hit: exact subject binding, evidence path Suppressed, coverage reduced Projection builder Search payloads Search entries Postings Derivation mappings Serving revision
Canonical objects feed the search service and never point back at it; a withdrawal or purge reaches affected outputs through the reverse derivation mappings.

15.1. Search subjects, payloads, and corpus membership

A search subject is a declaration or meaningful region, such as a function, class, module, documentation section, or example. A storage leaf may hold several subjects, and a large declaration may span several regions, each keeping its enclosing subject and exact source range. A search entry binds one subject to an immutable search payload, which entries may share; a corpus revision lists entries.

A corpus revision is a versioned inventory of entries. A serving revision is one built index over exactly one corpus revision and one projection generation (EXTEND-5). A request binds a corpus revision (SEARCH-13); a hit names its serving revision (SEARCH-15), which determines the corpus revision; and pagination stays within one serving revision.

15.2. Access forms

Search access forms
Form Indexed input Identified configuration A result does not establish
Lexical Original identifier spelling, with optional profile-defined component terms Tokenizer, case handling, stemming, stopwords, field weighting Exhaustive matching or a proven-empty domain
Source pattern Explicitly published source with exact content and coordinate bindings Regular-expression syntax, matching units, flags, resource limits, domain (region, file, or other declared scope) Completeness beyond the declared domain, or after a timeout or truncation
Vector Exact semantic input Embedding model and revision, preprocessing, exact semantic input, dimensions, comparison semantics Exhaustive matching, a proven-empty domain, type compatibility, equivalence, or reference resolution
Relationship One relationship inventory, as forward and reverse postings Relation specification, provenance, resolution context Coverage of private consumers or of every reference in existence

15.3. Queries and hits

15.4. Storage and updates

A search backend need not use canonical Bebop as its physical layout; § 24.2 Batch query execution defines bulk predicates and optional compute buffers.

15.5. Acceptance evidence for a search profile

16. Consuming untrusted data

Every fetched object is authenticated, type-checked, and validated within bounds before its values are exposed; a valid signature replaces none of these checks.

16.1. Ordered checks

  1. ExpectSAFE-2 · identity from parent or binding
  2. FetchSAFE-3 · exact length
  3. AuthenticateSAFE-4 · delivery representation
  4. DecompressSAFE-5 · bounded
  5. VerifySAFE-6 · bytes match ObjectId
  6. TypeSAFE-7 · expected header
  7. ValidateSAFE-8 · canonical, within budgets
  8. ExposeSAFE-9 · immutable view
The checks for one fetched object, in order; a failed gate rejects that object only.

16.2. Budgets and limits

Resource budgets
Class Bounded quantities
Structure Total length, section bounds, offset monotonicity, counts, arithmetic overflow
Keys and references Key length, reference-table bounds, ordering and uniqueness
Work Recursion depth, traversal steps, decoded allocation
Compression Output length, window, dictionary size
Routing Closure size, partition-table size, routing depth

16.3. Untrusted text and execution

16.4. Parser

17. Lifecycle

Canonical bytes never change, but permission to rely on them can. Signed status, authority transitions, and freshness evidence decide whether a root may enter a new selection or stay in an existing view.

first status record successor named withdrawal with reason class withdrawal with reason class reinstatement, no purge required reinstatement, no purge required Active Superseded Withdrawn
The three states an issuer signs, and the transitions between them. Stale and purged are conditions of a consumer’s copy, not states of the root, and are not drawn.

The lifecycle table is authoritative; the figure and the requirements below are read against it.

Lifecycle states, transitions, and consumer conditions
Kind Name Entered when Effect on a consumer
State of a root, signed by its issuer active The first status record is issued at publication, or a reinstatement restores it May select and use the root
superseded From active: a status record names a successor root. From withdrawn: a reinstatement restores it Does not select the root automatically; may select it by an explicit pin; keeps accepted views, marked superseded (LIFE-5)
withdrawn From active or superseded: a status record states a reason class Stops using the root (LIFE-6), and quarantines or purges its copies as the reason class requires (LIFE-7)
Condition of a consumer’s copy, signed by no one Stale The consumer’s freshness evidence for the root expires (LIFE-4) Ends when the consumer accepts current evidence, and the root is then in the state that evidence gives; or when the stale-use deadline passes, and the view becomes unusable (LIFE-8)
Purged The consumer deletes its copies under a withdrawal whose reason class requires purge (LIFE-7) Does not end for that publication; the root cannot be reinstated (LIFE-11)

17.1. Status records

Withdrawal reason classes
Reason class Meaning Copies Reinstatement
erroneous-facts The facts are wrong Stop use Permitted
hazardous-data The bytes are unsafe to parse, or the data is unsafe to act on Quarantine Permitted, naming the validator revision that makes the bytes safe
confidential-content Secret or private content was published Purge Never
license Redistribution is not permitted Purge Never
signing-asset-revoked The signing identity behind an admission was revoked Stop use Permitted after the admission is verified again
removed-upstream The registry removed the release Stop use Permitted
publisher-request The publisher asked for withdrawal Stop use Permitted

17.2. Continued use, compatibility, and derivation

17.3. Revocation

17.4. Rote log

The Rote log makes rollback, freeze, and split view detectable; it confers no authority. A witness signature asserts log continuity, not that index facts are correct.

Append record IDs Signed checkpoint Read checkpoint Check consistency Countersign Read record, proof, checkpoint Check checkpoint fields, time bounds, witness threshold Verify consistency, then advance persisted checkpoint Verify inclusion under checkpoint Check record sequence and expiry Operator Rote log Witness Consumer
Logging, checkpointing, witnessing, and consumer checks. Witness signatures reach a consumer with the checkpoint, in the discovery response (LIFE-20).

17.5. Checkpoints

Offered checkpoint against the retained one
Tree size Root Outcome
Smaller Any Reject
Same Different Reject
Same Same Renewal: may refresh checkpoint validity once its signatures and time bounds pass and its issuance is not earlier than the retained one’s
Larger Any Advance only with a verified append-only consistency proof

Evidence note (experiment 05, local simulation): in a catalog of 434 purls with 800 roots, embedding status in discovery made each renewal round cost one signature and one log entry per root and one more per purl. No candidate policy kept 0.99 of client views fresh during a log or witness outage. A client that polled at the status cadence was stale 45% of the time, because the checkpoint a retained view needs expires sooner (LIFE-8). A client that loses its rollback state accepts a still-valid record that predates a withdrawal, for up to one validity period; this is an accepted risk (§ 20 Accepted risks).

17.6. Aggregate freshness

Status: proposed. Every status and discovery record expires, so every one is signed and logged again each validity period, and renewal work grows with the catalog. LIFE-3 removes the forced re-issue of discovery records; this proposal would remove per-record expiry.

This is the split between snapshot and timestamp roles in The Update Framework [TUF-ROOT-UPDATE]. Open before it can be adopted: the proof size and its delivery in the discovery response, how a withdrawal reaches a client between snapshots, and what LIFE-8’s deadline becomes (§ 23.6 DEC-6 — Freshness and offline behavior).

Merkle inclusion and append-only consistency are separate checks, as in RFC 9162; Rote does not claim wire compatibility with Certificate Transparency.

18. Assurance

The strict Bebop profile and the canonicalization algorithms are checked against executable references, positive and negative vectors, and differential tests; machine-checked proofs can be added per capability. A missing proof does not waive correctness. No proof or implementation exists yet.

18.1. Properties

Under one schema, header, and encoding profile, PROOF-1 and PROOF-2 make canonical values and accepted bytes correspond one to one. Equating a matching digest with equal bytes also assumes the hash is collision resistant.

18.2. Executable specifications and differential testing

19. Interoperability

Adapters, none of them built yet, connect Rote to existing semantic formats, native artifacts, and service protocols.

A JetBrains IDE can be served three ways: reuse of native .ijx artifacts with compatibility metadata (INTEROP-2), a semantic bridge that extracts facts through a pinned IDE and plugin environment (INTEROP-5), or a native materializer that produces native index families from Rote facts, which is uninvestigated [IJX-ZIP] [IJ-STUB-SERIALIZATION].

20. Accepted risks

Accepted risks and mitigations
Risk Why accepted Mitigation
Fetch patterns disclose dependencies and working focus Fetching packages already discloses dependencies; no protocol machinery is added Private cloud account or in-firewall mirror; prefetch root bundles or surface packs
The operator is a single root of trust for the public index Inherent to operator-produced indexing Rote log and witnesses; private indexing. Extraction is reproducible only by a party that can run the recipe, and no record kind yet carries an independent reproduction
A client that loses its rollback state accepts a still-valid record that predates a withdrawal The exposure equals a new client’s: at most one validity period Short status validity; § 17.6 Aggregate freshness
A consumer with no reachable store has no facts for its dependencies Local re-indexing of dependencies is what this design removes Mirrors and offline snapshots (REALM-20); stale use within policy (LIFE-8)
Some facts stay unbound in a closure the producer never saw Guessing would give wrong answers Binding tables; wider producer condition coverage; explicit reporting (FLOW-11)
An operator-hosted realm exposes private data to the operator Convenience option The other deployments of § 7.3 Deployment
Published bytes cannot be recalled Inherent to immutable public distribution Publication gate (PUB-13); status records; purge lists
A verified package can be malicious; an extractor can be wrong Signatures establish origin, not quality Sandbox, untrusted-text rules, supersession
The public index covers only packages a verification profile can admit An unverifiable index is worse than none Realm indexing
Under the registry-attested rule, an admitted artifact is whatever the registry served for the coordinate A consumer’s lock pins the same digest, so the index describes the bytes the consumer installs; publisher identity is not established Stronger match rules where a registry supports them; a policy can set a minimum (TRUST-23); upstream attestations are recorded (TRUST-20)
Edit locality is bounded in expectation only Price of history-independent ordered partitioning Byte bounds and measured edit amplification (STORE-4)
A schema change is a new SpecId, opaque to older clients Price of exact schemas and provable canonicality Extension by linked objects (MODEL-28)

20.1. Public on-demand activity disclosure

With on-demand public indexing and an enumerable log (LIFE-15), anyone reading the log can learn that a package was requested and roughly when; the log does not name the requester, but rare coordinates and outside timing data can allow correlation. Adopted decision D3, that the operator observes public fetch patterns (§ 21 Adopted decisions and implementation scope), covers only the fetch patterns seen by serving infrastructure.

21. Adopted decisions and implementation scope

A profile is frozen for interoperability only when its schemas, algorithms, constants, and wire rules are fixed and its conformance evidence exists. Optional capabilities have correctness rules here but are not prerequisites.

Adopted decisions
Decision Scope and status
D1: publisher-signed index data is the long-term third-party policy Public admission needs publisher authority and operator publication; each ecosystem first needs its profile and conformance evidence.
D2: operator-controlled public indexing, realm-owned private authority, restricted native artifacts Public callers cannot write the authoritative store.
D3: the operator observes public fetch patterns Public on-demand log activity is deferred: the pilot indexes by campaign only (§ 23.9 DEC-9 — Public on-demand activity disclosure).
D4: lifecycle controls and a fuzzed, safe parser Includes stale-use, derivation invalidation, purge, and bounded verification rules.
D5: existing signing ecosystems No new signature primitive; signing and bootstrap profiles are not frozen.
Indexing once per release A unit is produced from the release alone, by a registry or author. A consumer indexes only its own code and binds published facts by the link step; re-indexing a dependency on the client is a failure.
Intrinsic identity and binding context No consumer context in a unit’s identity; conditions, symbolic edges, and witnesses; bound, unbound, or not produced, never guessed.
Closure manifests Established from a lockfile; unsigned and checkable; shared by subtree.
Linkage A linkage fact changes the closure, and forwarded instances are marked; it never forwards a consumer’s own root.
Content hash SHA-256 with 32-byte digests in the launch encoding profile; identifiers keep algorithm tags.
Binding record statement The in-toto statement layout with one defined predicate wrapper; the envelope follows the signing technology.
JVM language profile The profile of the pilot ecosystem, written from the first-wave implementation. A draft: unscored, and its schemas are not written.
Canonical encoding Strict canonical Bebop on the pinned Bebop 2026 indexed format, exact schemas, linked typed extension, explicit operation compatibility and batched annotations.
Assurance Executable references, vectors, and differential checks; staged machine-checked proofs.
Merkle hierarchy and client composition Independently verifiable subtrees, transport-independent identities, separate selected and normalized results.
Storage routing Demand-addressed facets in byte-bounded pages with page-local dictionaries and bounded authenticated range inventories (§ 23.3 DEC-3 — Storage layout and projection granularity).
Trust before normalization Local composition and matching hashes grant no authority; acceptance is per subject and operation, with no whole-graph I/O barrier.
Pipelined graph resolution Required for solver-integrated retrieval; static hosts need no solver or duplex protocol.
Backfill and incremental maintenance Explicit operator campaigns over exact trusted artifact inventories; admission rules unchanged.
Search projections Optional; correctness rules adopted; no backend or model selected.
Batch query execution Scalar semantics; optional SIMD and derived compute buffers; hardware-independent canonical bytes.
Implementation scope
Scope Contents
Baseline Trusted bootstrap; canonical known-schema interpretation; opaque byte relay; authenticated whole-object and Merkle delivery, including whole-page derivation of projected canonical objects; closure establishment from a lockfile, closure manifests, and the link step; explicit scope, conditions, binding, and coverage; conservative reuse; public operator publication; private authorization and lifecycle checks. A deployment implements only the producer, relay, consumer, or realm roles it advertises.
Optional Materialized history-independent normalization, fine-grained incrementality, normalization memo exchange, exported-name filters, compression dictionaries, surface and delta packs, duplex sessions, edge execution, live editor service, campaign scheduling, public search hosting, SIMD, derived compute buffers, specialized native materialization, independently hashed column groups, and sub-object proof formats. Each brings its own safety and semantic rules and needs none of the others.
Future consideration Separate contributor submissions, nominated-builder attestations, and consumer-selected quorum acceptance. No contributor tier, self-nomination, or consensus-based public write authority is enabled.

21.1. Bounded launch profile

The first milestone is a useful end-to-end pilot on the JVM for Java and Kotlin projects using Maven-compatible dependency resolution. Its language profile is § 10 JVM language profile. Its baselines (LAUNCH-2) are IntelliJ IDEA with JetBrains shared indexes, which is the existing practice of publishing indexes for dependencies; Eclipse JDT LS; and Kythe, as an existing precomputed cross-reference index. The first wave measured JDT LS only; draft runs of the other two followed (the tool comparison). Rust and TypeScript follow under the same model once their coverage limits are addressed (§ 25 Evidence from the first experiment wave). The pilot has four operations: declaration lookup with documentation, exported-name prefix lookup, references across the closure, and indexing of the consumer’s own code over interface artifacts. It uses admitted immutable objects, closure manifests, the link step, selected views, whole-object validation, scalar column access, and conservative invalidation. It uses no eager normalization, embeddings, native IDE artifacts, SIMD, or general-purpose query engine.

Draft pilot gates and where the JVM stands (not frozen, unscored)
Gate Draft threshold First wave, JVM
Dependency artifacts read on the client 0 0
Wrong answers; bound-but-different facts 0 0
Declarations and exports bound At least 0.99 of closure units All bound
References bound At least 0.95 0.983
Cold time to ready against the baseline, at broadband At least 4 times faster 4.8 times against JDT LS at the median, 1.9 to 8.1 across configurations: passes. Draft runs against IntelliJ and Kythe are in the tool comparison
Dependency CPU against the baseline At least 10 times lower 182 times lower
Bytes fetched against the baseline’s downloads At most 0.25 0.07
Sequential round trips before a first cold answer 1 with a cached manifest, 2 without (the round-trip table) 1 for all but 14 of 5,985 reference queries, which read a binding table (older corpus)
Closure establishment CPU against the baseline At most 0.1 At most 0.00004 (older corpus; not rebuilt on the current one)
Binding CPU per configuration At most 2 s Whole-unit binder: median 1.25 s, 6.0 s at the largest, which misses. Demand binder: at most 0.01 s of link state, with binding charged to each query
Store size against whole objects At most 1.4 times 1.66 times on the JVM, on the older corpus (TypeScript 1.41, Rust 1.46): misses

21.2. Experiment program

Non-normative. Each experiment has a briefing and an implementation in the project repository, run by a shared Make and mise runner. An experiment records input identities, profile and code revisions, toolchains, host and runtime, workload, limits, raw measurements, correctness checks, and a decision. Synthetic fixtures can test correctness and hostile cases but cannot show useful ecosystem coverage. Experiments do not publish artifacts or change external trust infrastructure. Only experiment 00’s first Rust run is scored; no result is accepted.

Experiments and their first verdicts (unscored unless marked)
Experiment Question First verdict
00 Useful coverage Does exact-context reuse avoid enough real work? Scored: no. 29% unit coverage, 16% avoided work. Narrow or redesign
01 Canonical codecs Does strict Bebop earn its cost against canonical Cap’n Proto? Bebop is 0.94 times the size; timings ran on different runtimes
02 Storage layout Which layout meets lookup and update budgets with the least machinery? Independent facets with byte-bounded pages; alignment does not earn its cost
03 Selection and normalization When does a normalized root repay its cost? Keep lazy views; no normalizer
04 Incremental invalidation Do updates and withdrawals converge with a clean rebuild? Keep unit-level invalidation; the store was too small to separate strategies
05 Trust and freshness Can acceptance and refresh meet operational budgets? No candidate keeps 0.99 freshness through a log or witness outage
06 Query execution When do SIMD or aligned buffers help? Only for warm, large pages; cold cost is decompression and hashing
07 Search projections Which search modalities repay their maintenance? Names and paths are strong; documentation text reaches 0.47 against a 0.50 target
08 Evolution and compatibility How small can the support matrix stay? No wrong answers; no expansion has a named consumer
09 End-to-end pilot Does the bounded product earn a proceed decision? Serving is correct and cheap; coverage carried over from 00
10 Context factoring How much of a release’s facts is the same in every context? Most: 96.4% of JVM items, 93.2% of Rust items once presence is a condition
11 Link binding Can producer facts bind soundly to any consumer resolution? Yes: no bound fact differs in three ecosystems; coverage 0.983 JVM, 0.995 TypeScript, 0.651 Rust
12 Shard layout Do item-addressed, separately verified pages fix the cold path? Yes: 5 to 35 times faster cold, 90 to 98% fewer bytes; store size over budget
13 Closure vector Can a lockfile map to a closure manifest with almost no client setup? Yes: at most 0.0043 of baseline CPU; every tampered manifest rejected
14 Usage sites Can closure-wide references be answered from producer data alone? Yes on the JVM: 8,524 queries, none wrong, 0.997 bound
15 Time to ready How much sooner is a consumer ready than with the language’s own tool? Java 4.8 times faster than JDT LS; Rust and TypeScript runs are stale
16 Demand scaling Does consumer cost follow use, not dependency size? Yes: same bindings, client memory 90 to 161 MiB instead of 312 to 1,022 MiB

21.3. Implementation path

Non-normative. The first wave replaced the 0.12 plan of running experiment 00 and then building toward experiment 09. Next, in order, with the JVM first. Close the seams of the JVM run (§ 25 Evidence from the first experiment wave): count Kotlin-only units in the references scope of experiment 00, rebuild experiments 12 and 13 on the current corpus, and give the binder the closures of lock-only establishment. Run the references-completeness check (FLOW-11). Freeze and score the JVM contracts of experiments 10 to 16 on the current corpus revision; the owner freezes a contract and its thresholds. Then rerun experiment 15 for Rust and TypeScript on the current binder, and freeze their contracts. Then build what the pilot needs: the primitive and schema subset, the reference codec, byte-bounded pages, closure manifests, the JVM binder, selected views, and scalar readers. Settle the applicable open decisions and § 23.14 Evidence required before profile freeze, and freeze the profile. Add normalization, SIMD or materialization, search modalities, native adapters, or stronger formal-assurance claims afterwards, one at a time, each with its experiment, evidence, and maintenance owner.

22. Rejected proposals

An earlier draft proposed the first two optimizations below as one decision, D6, and both are rejected for the baseline. The other three were tried or analyzed in the first experiment wave.

22.1. Observed-input action keys

A two-level cache would record the inputs a run actually read and reuse results across otherwise different contexts. That needs complete read tracking, including absent files and environment reads; a miss causes silent wrong reuse; manifests disclose paths and flags; and lookup gets more machinery, all for optional cache efficiency. Keys over complete declared inputs are already sound, and the public cache’s write policy does not depend on this. Conservative invalidation is conforming, and language-profile projections and candidate-set dependencies are allowed where their correctness is specified. Reconsidering needs measured benefit, a sound tracking contract, and a new design decision.

Witnesses (MODEL-34) are not this proposal. They record dependencies at the level of language interface items, with explicit negative entries, and they decide binding, not cache keys. A witness that fails leaves a fact unbound; it never causes reuse of a wrong result.

22.2. Keyed private identifiers

Private content identifiers would be keyed with a realm secret, so observers of private fingerprints could not test candidate content or compare identifiers across realms. That addresses one metadata exposure, not public-cache write authorization, at the cost of key provisioning, distribution, and epoch rotation, verifier dependencies, rehashing and rebinding, and cross-realm interoperability. Private identifiers are instead labeled metadata under explicit authorization, including in auxiliary services and approved private sharing paths. Ordinary private hashes are still not safe to publish, and a service can read plaintext it stores. Reconsidering needs a concrete authorized use for external fingerprints and a new policy decision.

22.3. Exact-context reuse between consumers

Draft 0.12 keyed a unit on its whole resolved context, dependency versions included, and reused it only under an equal key. Scored, that gave 29% unit coverage and 16% avoided work (experiment 00). Intrinsic identity with a link step replaces it (§ 8.3 Intrinsic identity and binding context).

22.4. Aligned declaration ranges

Draft 0.12 offered a profile that cut one partition over declaration keys and shared it across facets. It did not earn its cost: independent facets with byte-bounded pages gave fewer objects and less metadata, and count-based cuts could not keep pages under the byte cap (experiment 02). Reconsidering needs a measured benefit over STORE-4.

22.5. Compiler metadata as an interface artifact

A producer could publish a compiler’s own metadata, such as Rust rmeta, for consumers to compile against. It needs the same compiler commit and the same inputs across the whole dependency closure: none of 18 configurations could compile its root crate that way (experiment 11). Interface artifacts are generated from the public interface instead (MODEL-40).

23. Decisions and evidence needed

Each entry below is decided, deferred, or open. A decided entry states the choice and the engineering work that remains, and can be revisited until the profile that depends on it is frozen. A deferred entry is not needed by the pilot and is taken when the production profile is written. An open entry waits for the project’s owner, and a recommendation is not a decision. Experimental implementations may parameterize the affected behavior, but a production profile MUST state its concrete choice before claiming interoperability or a security or performance guarantee that depends on it.

State of each decision
Decision State Blocks
§ 23.1 DEC-1 — Binding envelope and bootstrap wire format Decided: the in-toto statement layout. The envelope follows DEC-4 Wire freeze, until the bootstrap profile is written
§ 23.2 DEC-2 — Initial content hash and digest size Decided: SHA-256, 32 bytes, two checks per compressed page Nothing
§ 23.3 DEC-3 — Storage layout and projection granularity Decided: independent facets, byte-bounded pages, page-local dictionaries. Store size is a pilot gate at 1.4 times Partitioning freeze
§ 23.4 DEC-4 — Operator signing and anchor recovery Direction decided: Sigstore for operator records. The rest deferred Production
§ 23.5 DEC-5 — Transparency service and witnesses Deferred Public rollout
§ 23.6 DEC-6 — Freshness and offline behavior Deferred Production
§ 23.7 DEC-7 — Compatibility support contract Decided for the pilot: one revision, no variants. Support windows deferred Production
§ 23.8 DEC-8 — Initial ecosystem and condition scope, and publisher onboarding Decided: the JVM, no publisher path, no continuity-bound matching, and the registry-attested rule accepted by default Nothing
§ 23.9 DEC-9 — Public on-demand activity disclosure Deferred: the pilot indexes by campaign only On-demand public indexing
§ 23.10 DEC-10 — Public redistribution and publication policy Open: awaits legal review The first public deployment
§ 23.11 DEC-11 — Initial search and backfill profile Decided: no search in the pilot; names and paths first Nothing
§ 23.12 DEC-12 — Linkage semantics and tables for unproduced artifacts Decided Nothing
§ 23.13 DEC-13 — Licence and public access to the evidence Licence decided: Apache-2.0 or MIT, with a patent statement. Open: public access External implementers and public review

23.1. DEC-1 — Binding envelope and bootstrap wire format

decided A binding record’s statement uses the in-toto statement layout, with the canonical predicate carried as TRUST-13 defines. An all-Bebop statement is not pursued: every tool that checks a record would need a Rote-specific verifier, and existing attestation tooling could not read one. The envelope that carries the signature follows the signing technology (§ 23.4 DEC-4 — Operator signing and anchor recovery). Remaining work, not a decision: the bootstrap profile’s exact signed bytes, schemas, lengths, and rejection rules, tested against the external verifiers that are actually needed. That work blocks wire freeze.

23.2. DEC-2 — Initial content hash and digest size

decided The launch encoding profile uses SHA-256 with 32-byte digests as the content hash. Verification is per whole page, so no tree hash is needed (MODEL-15). With pages, hashing is about 1% of cold query time with hardware support and 2 to 6% without, and the one BLAKE3 timing was inconclusive (experiment 12). SHA-256 is the digest the first wave’s locks and stores use throughout, browsers provide it natively, and every record already carries it (TRUST-12). BLAKE3 stays a candidate for a later profile that verifies part of an object, and identifiers keep their algorithm tags for that migration (EVOLVE-6). A consumer checks a compressed page twice, its transfer bytes and its canonical bytes (SAFE-4, SAFE-6), and a delivery entry does not stand in for the second check: the saving is small, and the shortcut would make an object’s identity depend on its compression.

23.3. DEC-3 — Storage layout and projection granularity

decided Facets are partitioned independently into byte-bounded pages (STORE-3, STORE-4), with dictionaries local to a page (STORE-8). A shared dictionary is not in the launch profile: it saved 6 to 7% of bytes, and a frequency shift rewrote the facet (experiments 02 and 12). Verification is per whole object and views are lazy; materialized projections, independently hashed column groups, and sub-object proofs each need a measured benefit and a named consumer (LAUNCH-5). Left to the partitioning profile as a measured constant, not a design decision: the page cap, between 32 and 64 KiB.

decided Store size stays a pilot gate, at a draft threshold of 1.4 times the whole objects (the pilot gates). The first wave misses it: 1.66 times on the JVM.

23.4. DEC-4 — Operator signing and anchor recovery

decided The operator signs its records through Sigstore (permitted signature technologies). This is the owner’s direction, not yet a profile.

deferred The pilot does not need the rest: it runs its trust path as a local simulation with stated assumptions (LAUNCH-6). To choose for production: a public or a private Sigstore instance, the identity that operator certificates carry, and the anchor-update thresholds. A public instance logs every signed record a second time, which adds to the disclosure of PRIV-6 (§ 23.9 DEC-9 — Public on-demand activity disclosure). Already required: publication identities separate from anchor-update authorities (AUTH-2), and an authenticated recovery path (AUTH-4). Blocks production: an identity and authority profile and the initial trust distribution.

23.5. DEC-5 — Transparency service and witnesses

deferred The pilot does not need this (LAUNCH-6). To choose before public rollout: running a log or integrating an existing one, and the witness requirements, which cost availability as they get stronger. Recommended: an existing compatible log and witness implementation where it meets the requirements, with a named log identity, independent witnesses, thresholds, and migration policy. The split-view guarantee rests on the witness assumptions; inclusion proofs alone cannot provide it. A narrower simulated policy can measure costs but does not meet the omitted public requirements, which change only by a later profile decision. To choose from experiment 05: a threshold of 2 of 3 or 3 of 3 witnesses, and whether a new client or one that lost its state needs extra evidence before first acceptance.

23.6. DEC-6 — Freshness and offline behavior

deferred The pilot does not need this (LAUNCH-6). Short validity windows speed withdrawal but add signing, traffic, and offline failures. Recommended: set the validity and bounded stale grace of status, discovery, checkpoints, and anchors from measured renewal cost and an explicitly accepted withdrawal window; stale grace never overrides known adverse status. Blocks production: concrete time and clock bounds, none chosen yet. To choose from experiment 05: a withdrawal window of 24 or 6 hours; whether offline clients count toward availability; whether a retained view needs a current checkpoint (LIFE-8) or only first acceptance does, which trades offline time against split-view detection for long-lived clients; and whether to adopt § 17.6 Aggregate freshness. A consumer has no local fallback for dependencies, so this decision also sets what a client does when no store is reachable.

23.7. DEC-7 — Compatibility support contract

decided The pilot supports one schema and profile revision and no compatibility variant. In experiment 08 no proposed expansion had a named consumer, so each is rejected under LAUNCH-5 until one is named.

deferred Support windows and the mandatory client feature set are operator policy for the production profile (FRESH-2): longer support costs storage, testing, and producer work, and shorter support forces client upgrades.

23.8. DEC-8 — Initial ecosystem and condition scope, and publisher onboarding

decided The pilot ecosystem is the JVM, with the conditions of JVM-2 (§ 21.1 Bounded launch profile). No publisher is onboarded, continuity-bound matching stays disabled, and coverage gaps are filled in realms.

decided The registry-attested match rule is adopted, and the default trust policy accepts it (§ 4.5 Verified and fully matched, TRUST-23). The operator’s signed admission is the record of what the registry served, and it refers to the upstream’s own attestations where they exist (TRUST-20). A policy can still require a stronger rule. Remaining work, not a decision: a verification profile for Maven Central, and the admission rate per rule on the pilot corpus (FLOW-2).

23.9. DEC-9 — Public on-demand activity disclosure

deferred The pilot indexes by campaign from an exact inventory (LAUNCH-3), so no public request starts production and the disclosure of PRIV-6 does not arise. To choose before on-demand public indexing: accept the disclosure, keeping on-demand publication simple, or redesign publication timing, at a cost in delay, expense, or less direct demand correlation. Accepting means a service statement that log observers can infer publication and package-interest timing, no requester identity or per-request and cache-hit telemetry, and an evaluation of batching that keeps transparency. Batching coarsens timing but does not hide which packages were indexed, and its delay must fit freshness policy. D3 does not decide this; production needs explicit author acceptance or a reviewed alternative.

23.10. DEC-10 — Public redistribution and publication policy

open Useful documentation, body, and navigation coverage trades against redistribution limits and irreversible disclosure. Recommended: before enabling source-reproducing facets publicly, define ecosystem-specific eligibility for them and the handling of restricted or credential-bearing content. The policy needs review; artifact signatures and secret scanning do not supply it. Interface artifacts reproduce part of a release, such as declaration text and macro definitions, so they fall under this decision (MODEL-40). A pilot served from a local or private store is not blocked; the first public deployment is.

23.11. DEC-11 — Initial search and backfill profile

decided The pilot has no search (the pilot subset), and its backfill is one campaign over the exact inventory of the evaluation corpus (BACKFILL-1). When search is added, it starts as declaration-oriented lexical search over names and paths with source bindings, where the first wave was strong. Documentation-text search reached 0.47 against a target of 0.50, and embeddings have no named consumer (experiment 07, LAUNCH-5). A search profile collapses hits that are the same item in other versions and keeps them expandable (SEARCH-4): about 3.4 of the top 10 hits were such duplicates. To choose when a search deployment is planned: ranking and refresh policy, the source-pattern domain, and resource budgets. These choices govern a search deployment, not package admission, and static object hosts need not serve search.

23.12. DEC-12 — Linkage semantics and tables for unproduced artifacts

decided A linkage fact changes the closure: the consumer adds the forwarded artifact and its dependencies, as a resolver that reads the release’s own module metadata would, and marks those instances as forwarded, since its lock does not pin them (MODEL-39, JVM-7). Feeding indexing only would leave a consumer of a code-free release without facts for it. Linkage never forwards a consumer’s own root artifact: a consumer’s own code is what its build compiles (LINK-6). An artifact that only a consumer’s closure contains is a release like any other. Its interface table comes from an ordinary indexing request or campaign for that release, or from the consumer’s realm when the artifact is private (PUB-29, FLOW-1); until it exists, a witness that needs it is undecidable and the fact stays unbound (LINK-3).

23.13. DEC-13 — Licence and public access to the evidence

decided The repository, this specification included, is to be licensed under Apache-2.0 or MIT, at the user’s choice, with a statement from Elide that it will not assert patents against conforming implementations. Remaining work, not a decision: counsel’s review of that statement, and adding the licence files and the notice on this page. If outside contributors or a foundation join, the specification text moves to the Community Specification License 1.0.

open The repository is private while the rendered specification is public, so a reader cannot open the experiment briefings or the issue tracker. To choose: whether to publish the briefings and evidence beside the specification or open the repository.

23.14. Evidence required before profile freeze

A profile freezes for its declared capabilities once the applicable decisions above are made and its implemented capabilities have their evidence: experiment results, the assurance inventory of PROOF-7, and the items below. An absent optional capability needs none. A missing required comparator is an evidence gap; an unavailable optional strategy is reported as unmeasured (PERF-8).

Further freeze evidence
Item Completion criterion
Wire schemas The complete wire rules of the admitted subset stated in this specification (ENC-22); exact supported types, canonical primitive and temporal rules, bootstrap objects, and routing and compatibility descriptors, with cross-language positive and negative vectors.
Binding For each language profile: frozen and scored contracts for the binding, layout, closure, usage-site, time-to-ready, and demand experiments on one corpus revision, with no bound-but-different fact (LINK-4).
Batch query access Bounded column views, presence and dictionary contracts, backing-storage lifetimes, and operation semantics; scalar and bulk differential checks; the experiment 06 comparisons of § 24.2.3 Conformance and performance evidence. No SIMD instruction set or new wire padding is required.
Solver and fetch integration Demand and readiness semantics of the local adapter, revision reconciliation under backtracking and saturation, per-object authentication for any streaming pack, and measured speculation and concurrency budgets. Budgets and optional bundle layouts are engineering work, not a trust-tier decision.
End-to-end performance Cold and warm lookup, metadata and proof bytes, references, projections, composition, incremental edits, verification and decompression allocation, browser and WASM behavior, optional-feature break-even points, and PIPE-12 solver and fetch overlap and head-of-line barriers.
Aggregate resource budgets Bounds on hostile archives, fetches, graph traversals, signatures, normalization, and concurrent work; tests of clients at lower limits and of deterministic partial execution.
Native and external adapters Each adapter’s exact version and compatibility contracts and conversion losses, shown separately from file acceptance or service-protocol compatibility.

24. Client implementation guide

The requirements in this section bind only a client that claims the capability named: solver-integrated retrieval, or batch query access. They constrain scheduling and reader internals that cannot be observed on the wire, so a core conformance claim does not depend on them. Their observable consequences are requirements of the core (§ 13.4 Observable invariants of retrieval and execution).

24.1. Pipelined graph resolution and retrieval

A solver-integrated client couples a dependency solver with Rote retrieval. The solver picks exact bindings, the fetch scheduler retrieves evidence and data, and consumers interpret the verified facts that apply to them, all three overlapping through local demand and readiness notifications. These rules bind only such clients; static hosts need nothing new, and independent HTTP requests satisfy them.

Demand candidates X and Y, revision 1 Lookup-only discovery and metadata Fetch leaves and dictionaries Object for X Ready: X, revision 1 Retract Y, revision 2 Late object for Y Final selection Facts applicable under the final view Verify X independently Cancel unshared fetches for Y Recheck revision and live demand: Y not delivered Seal closure and selection Solver Scheduler Object store Consumer
One solver session: X becomes ready while solving continues, Y’s late completion is dropped after retraction, and the closure is sealed only at final selection.

24.2. Batch query execution

Column layout, zero-copy access, and SIMD execution are separate properties. No instruction set or query backend is selected.

24.2.1. Column batches and safe access

Pinned Bebop arrays and structs have no alignment padding, so fixed-width values can start at an unaligned address. [BEBOP-WIRE] Arrow’s aligned, padded buffers are an optional compute layout, not a canonical wire format. [ARROW-COLUMNAR] The Bebop indexed-message directory locates fields, not rows or text matches, and SIMD scanning supplies no full-text or regex index; § 15 Search projections and derived indexes governs public search.

24.2.2. Execution and derived compute layouts

24.2.3. Conformance and performance evidence

These comparisons extend the encoding comparison, including canonical Cap’n Proto. No vector width, alignment, batch size, CPU feature, or speedup is fixed.

25. Evidence from the first experiment wave

Non-normative. Seventeen experiments (00 to 16) ran up to 2026-11-17. Only experiment 00’s first Rust run has a frozen contract and a scored result; every other figure is unscored, and most are single runs on a shared machine. In every run the consumer opened no dependency file.

Where each ecosystem stands after the first wave (unscored)
Ecosystem State Newest figures Limit
JVM (Java and Kotlin), resolved with Maven or Elide Works end to end References bound 0.983, declarations and exports fully bound, none bound but different. 8 Java and 4 Kotlin consumers answered every query, none wrong. Java cold time to ready 4.8 times faster than JDT LS at broadband, against a draft gate of 4 File taint and real classpath differences; no scored Kotlin baseline; the consumer’s own compile sets time to ready for large projects
Rust Sound, low coverage References bound 0.651, declaration units 0.693, none bound but different. 0.47 of queries answered against rust-analyzer’s 0.89, on an older binder Feature and configuration classes no producer built; build-script outputs; macro provenance; type-dependent edges
TypeScript and JavaScript Sound, references bind, small gain References bound 0.995, declaration units 0.830, none bound but different. 0.80 of queries answered against tsserver’s 0.92, on an older binder Peer dependencies, augmentation in the consumer’s program, ambient globals; tsserver is already fast; JavaScript consumers unmeasured

Not measured anywhere: producer signing, publication, and discovery; admission with a signed record or under a publisher-signature rule (TRUST-19); scored IntelliJ and Kythe baselines, of which only draft runs exist; repeated timings. No candidate trust policy kept 0.99 of views fresh through a log or witness outage (experiment 05), so offline and witness policy are not yet decided (§ 23.5 DEC-5 — Transparency service and witnesses, § 23.6 DEC-6 — Freshness and offline behavior).

The JVM run is end to end with stand-ins at three seams. The time-to-ready run gives the binder the closures of the corpus planner, not those of lock-only establishment, which is timed beside it (experiment 15). Its declaration and prefix transfers are charged from an earlier page store that predates two closure fixes, so some of those queries carry no transfer charge. Closure manifests bind that earlier store’s objects, not the binder’s units, and have not been rebuilt on the current corpus (experiment 13). The page-layout gates of experiment 12 and the scaling figures of experiment 16 were measured on the older corpus.

After the first wave, two Java consumers were run against three existing tools: IntelliJ IDEA 2026.3 with JetBrains shared indexes on, Eclipse JDT LS, and Kythe 0.0.76 with each dependency’s entries produced ahead of time. The runs are single, unscored, and on a shared machine, and their ratios are not computed over commonly answered queries (LAUNCH-2), so none is a gate figure. Time to ready is cold, at the broadband profile, and bold marks a clear winner.

Rote against existing tools on two Java consumers (unscored, single runs)
Rote IntelliJ, shared indexes on JDT LS Kythe
google-java-format
Time to ready, cold 1.71 s 11.85 s 7.27 s 27.6 s (64.5 s without precomputed entries)
Time to ready, warm 1.56 s 6.66 s 6.55 s not measured
Queries answered, of 25 25 25 (24 warm) 18 17
Client CPU 1.45 s (0.17 s for dependencies) 119.8 s 33.8 s 42.6 s
Bytes fetched 0.61 MiB 5.74 MiB 5.74 MiB 33.2 MiB
jib-core
Time to ready, cold 2.05 s 12.58 s 9.32 s 80.5 s (253.9 s without precomputed entries)
Time to ready, warm 1.83 s 6.93 s 7.54 s not measured
Queries answered, of 25 25 25 18 20
Client CPU 1.59 s (0.21 s for dependencies) 104.2 s 38.2 s 101.6 s
Bytes fetched 1.44 MiB 19.93 MiB 19.93 MiB 121.5 MiB
Both
Wrong answers 0 none reported 0 0 (it never claims an answer is complete)
Exported-name prefix lookup yes yes types only no equivalent
Kotlin yes yes no no
Work before the first query own code only indexes every dependency jar indexes every dependency jar builds serving tables for the whole closure (1.0 and 3.5 GiB)
Dependency versions differ from the producer’s bound by witness, or reported unbound not applicable: it indexes the consumer’s own jars not applicable: it indexes the consumer’s own jars references go missing with no signal

Three things qualify the table. With shared indexes on, IntelliJ used only the index bundled for its own runtime: nothing was downloadable for the project’s JDK and the Maven-library index server refused access, so it indexed every dependency jar itself. The JDT LS score may be low because of a tab-column defect in the baseline harness, which is not yet fixed. Kythe’s entries name each dependency with its version, so a reference into a dependency whose version differs in the consumer’s closure hangs off a name the consumer does not have: 4,061 references from one library to an annotation were returned when everything was indexed together, and none from precomputed entries, with nothing to tell the consumer. This is the case the link step reports as bound or unbound (LINK-3).

26. Source references

Sources describe existing formats and mechanisms, not an implementation or benchmark of Rote. The pinned Bebop 2026 indexed format [BEBOP-WIRE] is the wire-format evidence; legacy Bebop documentation does not substitute for it.

Index

Terms defined by this specification

References

Normative References

[BEBOP-WIRE]
Bebop 2026 indexed wire specification. URL: https://github.com/6over3/bebop-next/blob/f73e40a1b118aff6d29d91a00ed3fdb7b4fe5e8c/docs/WIRE.md
[IN-TOTO-STATEMENT]
in-toto Attestation Framework. URL: https://github.com/in-toto/attestation/blob/50bf01716982189898823e90586075f37cd9bb7d/spec/v1/statement.md
[RFC2119]
S. Bradner. Key words for use in RFCs to Indicate Requirement Levels. March 1997. Best Current Practice. URL: https://datatracker.ietf.org/doc/html/rfc2119
[RFC8174]
B. Leiba. Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words. May 2017. Best Current Practice. URL: https://www.rfc-editor.org/info/rfc8174/

Non-Normative References

[ARROW-COLUMNAR]
Apache Arrow Columnar Format: buffer alignment and padding. URL: https://arrow.apache.org/docs/format/Columnar.html#buffer-alignment-and-padding
[BAO]
Bao specification. URL: https://github.com/oconnor663/bao/blob/3466bb34287f10f746d29d899d92429b81cf4302/docs/spec.md
[BEBOP-C-RUNTIME]
Bebop 2026.0.0-alpha.6 C wire runtime declarations. URL: https://github.com/6over3/bebop-next/blob/f73e40a1b118aff6d29d91a00ed3fdb7b4fe5e8c/bebop/include/bebop_wire.h
[BEBOP-DESCRIPTOR]
Bebop 2026.0.0-alpha.6 descriptor documentation (timestamp size discrepancy). URL: https://github.com/6over3/bebop-next/blob/f73e40a1b118aff6d29d91a00ed3fdb7b4fe5e8c/docs/DESCRIPTOR.md
[BEBOP-PAPER]
Sampson, Saito and Chan, Simplicity Scales. URL: https://arxiv.org/html/2604.09591v1
[BEBOP-PR3]
Bebop next PR 3: preserve timestamp offsets in signed milliseconds. URL: https://github.com/6over3/bebop-next/pull/3
[BEBOP-RELEASE]
Bebop 2026 alpha.6 release. URL: https://github.com/6over3/bebop-next/releases/tag/2026.0.0-alpha.6
[BEBOP-SCALAR-TABLE]
Bebop 2026.0.0-alpha.6 scalar-type table (timestamp size discrepancy). URL: https://github.com/6over3/bebop-next/blob/f73e40a1b118aff6d29d91a00ed3fdb7b4fe5e8c/bebop/src/bebop_tables.h
[BEBOP-TS-RUNTIME]
Bebop TypeScript wire runtime. URL: https://github.com/6over3/bebop-next/blob/f73e40a1b118aff6d29d91a00ed3fdb7b4fe5e8c/plugins/typescript/packages/runtime/src/wire.ts
[BLAKE3]
BLAKE3 project. URL: https://github.com/BLAKE3-team/BLAKE3
[CAPNP-ENCODING]
Cap'n Proto, Encoding Spec. URL: https://capnproto.org/encoding.html#canonicalization
[CLANGD-COMPILE-COMMANDS]
clangd compile commands. URL: https://clangd.llvm.org/design/compile-commands
CycloneDX, BOM-Link. URL: https://cyclonedx.org/capabilities/bomlink/
[DWARF5]
DWARF Version 5. URL: https://dwarfstd.org/dwarf5std.html
[FLATBUFFERS]
FlatBuffers Internals. URL: https://flatbuffers.dev/internals/
[GLEAN-INCREMENTALITY]
Glean, Incrementality. URL: https://glean.software/docs/implementation/incrementality/
[IJ-STUB-SERIALIZATION]
IntelliJ StubSerializationHelper: serializer identifier remapping. URL: https://github.com/JetBrains/intellij-community/blob/749d2c8d52957f56bd8c131d116214ad43aaa87b/platform/indexing-impl/src/com/intellij/psi/stubs/StubSerializationHelper.java
[IJX-ZIP]
JetBrains reproducible-build comparison: ZIP handling of .ijx. URL: https://github.com/JetBrains/intellij-community/blob/749d2c8d52957f56bd8c131d116214ad43aaa87b/tools/reproducibleBuilds.diff/src/FileTreeContentComparison.kt
[PARQUET]
Apache Parquet File Format. URL: https://parquet.apache.org/docs/file-format/
[PROTOBUF-CANONICAL]
Protocol Buffers: Serialization Is Not Canonical. URL: https://protobuf.dev/programming-guides/serialization-not-canonical/
[PROTOBUF-ENCODING]
Protocol Buffers: Encoding. URL: https://protobuf.dev/programming-guides/encoding/
[PURL]
Package URL specification. URL: https://github.com/package-url/purl-spec/tree/87134c51315e2594f7b6173d33b607a93be1e9fe
[REMOTE-EXECUTION]
Bazel Remote Execution API. URL: https://github.com/bazelbuild/remote-apis/blob/e0c0554bfc8a37abf336c3e78070684367738e1d/build/bazel/remote/execution/v2/remote_execution.proto
[REPRODUCIBLE-BUILDS]
Reproducible Builds, Definitions. URL: https://reproducible-builds.org/docs/definition/
[RFC8246]
RFC 8246, HTTP Immutable Responses. URL: https://www.rfc-editor.org/rfc/rfc8246.html
[RFC8441]
RFC 8441, Bootstrapping WebSockets with HTTP/2. URL: https://www.rfc-editor.org/rfc/rfc8441.html
[RFC8785]
A. Rundgren; B. Jordan; S. Erdtman. JSON Canonicalization Scheme (JCS). June 2020. Informational. URL: https://www.rfc-editor.org/info/rfc8785/
[RFC8878]
RFC 8878, Zstandard Compression. URL: https://www.rfc-editor.org/rfc/rfc8878.html
[RFC9110]
RFC 9110, HTTP Semantics. URL: https://www.rfc-editor.org/rfc/rfc9110.html#section-8.8.3.3
[RFC9162]
RFC 9162: Certificate Transparency Version 2.0, Merkle proofs. URL: https://www.rfc-editor.org/rfc/rfc9162.html#section-2.1
[RFC9220]
RFC 9220, Bootstrapping WebSockets with HTTP/3. URL: https://www.rfc-editor.org/rfc/rfc9220.html
[RFC9842]
RFC 9842, Compression Dictionary Transport. URL: https://www.rfc-editor.org/rfc/rfc9842.html
[SCIP]
SCIP schema. URL: https://github.com/scip-code/scip/blob/be1d9f769a02a11be3b3ec5485231e2531a78a1c/scip.proto
[SCIP-DESIGN]
SCIP design rationale. URL: https://github.com/scip-code/scip/blob/be1d9f769a02a11be3b3ec5485231e2531a78a1c/docs/DESIGN.md
[SEMANTICDB]
SemanticDB specification. URL: https://scalameta.org/docs/semanticdb/specification
[SEMANTICDB-SCHEMA]
SemanticDB pinned schema. URL: https://github.com/scalameta/scalameta/blob/dae6167bd1cd5eac39960bd9127910d4b9109a8b/semanticdb/semanticdb/shared/src/main/proto/semanticdb.proto
[SIGSTORE-OVERVIEW]
Sigstore overview: signing flow. URL: https://docs.sigstore.dev/about/overview/
[SKYFRAME]
Bazel, Skyframe. URL: https://bazel.build/reference/skyframe
[SLSA-PROVENANCE]
SLSA, Provenance. URL: https://slsa.dev/spec/v1.2/provenance
[SLSA-VERIFYING]
SLSA v1.2: Verifying artifacts. URL: https://slsa.dev/spec/v1.2/verifying-artifacts
[SPDX-EXTERNAL-ID]
SPDX 3.0.1, ExternalIdentifierType. URL: https://spdx.github.io/spdx-spec/v3.0.1/model/Core/Vocabularies/ExternalIdentifierType/
[TUF-ROOT-UPDATE]
The Update Framework specification 1.0.37, root update. URL: https://theupdateframework.github.io/specification/v1.0.37/#update-root

Issues Index

No run has yet used a signal for edges stored under another key. Experiment 15 proposes a count of edges per unit and import slot, or a mark on each site whose key is ambiguous. For the JVM such edges are those without a resolved target, and a lookup of unresolved names equal to the target’s simple name would find them. Which mechanism a language profile requires is to be settled by a run on the JVM in experiments 14 and 15, not by a choice. ↵

decided The operator signs its records through Sigstore (permitted signature technologies). This is the owner’s direction, not yet a profile.

deferred The pilot does not need the rest: it runs its trust path as a local simulation with stated assumptions (LAUNCH-6). To choose for production: a public or a private Sigstore instance, the identity that operator certificates carry, and the anchor-update thresholds. A public instance logs every signed record a second time, which adds to the disclosure of PRIV-6 (§ 23.9 DEC-9 — Public on-demand activity disclosure). Already required: publication identities separate from anchor-update authorities (AUTH-2), and an authenticated recovery path (AUTH-4). Blocks production: an identity and authority profile and the initial trust distribution.

↵

deferred The pilot does not need this (LAUNCH-6). To choose before public rollout: running a log or integrating an existing one, and the witness requirements, which cost availability as they get stronger. Recommended: an existing compatible log and witness implementation where it meets the requirements, with a named log identity, independent witnesses, thresholds, and migration policy. The split-view guarantee rests on the witness assumptions; inclusion proofs alone cannot provide it. A narrower simulated policy can measure costs but does not meet the omitted public requirements, which change only by a later profile decision. To choose from experiment 05: a threshold of 2 of 3 or 3 of 3 witnesses, and whether a new client or one that lost its state needs extra evidence before first acceptance.

↵

deferred The pilot does not need this (LAUNCH-6). Short validity windows speed withdrawal but add signing, traffic, and offline failures. Recommended: set the validity and bounded stale grace of status, discovery, checkpoints, and anchors from measured renewal cost and an explicitly accepted withdrawal window; stale grace never overrides known adverse status. Blocks production: concrete time and clock bounds, none chosen yet. To choose from experiment 05: a withdrawal window of 24 or 6 hours; whether offline clients count toward availability; whether a retained view needs a current checkpoint (LIFE-8) or only first acceptance does, which trades offline time against split-view detection for long-lived clients; and whether to adopt § 17.6 Aggregate freshness. A consumer has no local fallback for dependencies, so this decision also sets what a client does when no store is reachable.

↵

deferred The pilot indexes by campaign from an exact inventory (LAUNCH-3), so no public request starts production and the disclosure of PRIV-6 does not arise. To choose before on-demand public indexing: accept the disclosure, keeping on-demand publication simple, or redesign publication timing, at a cost in delay, expense, or less direct demand correlation. Accepting means a service statement that log observers can infer publication and package-interest timing, no requester identity or per-request and cache-hit telemetry, and an evaluation of batching that keeps transparency. Batching coarsens timing but does not hide which packages were indexed, and its delay must fit freshness policy. D3 does not decide this; production needs explicit author acceptance or a reviewed alternative.

↵

open Useful documentation, body, and navigation coverage trades against redistribution limits and irreversible disclosure. Recommended: before enabling source-reproducing facets publicly, define ecosystem-specific eligibility for them and the handling of restricted or credential-bearing content. The policy needs review; artifact signatures and secret scanning do not supply it. Interface artifacts reproduce part of a release, such as declaration text and macro definitions, so they fall under this decision (MODEL-40). A pilot served from a local or private store is not blocked; the first public deployment is.

↵

decided The repository, this specification included, is to be licensed under Apache-2.0 or MIT, at the user’s choice, with a statement from Elide that it will not assert patents against conforming implementations. Remaining work, not a decision: counsel’s review of that statement, and adding the licence files and the notice on this page. If outside contributors or a foundation join, the specification text moves to the Community Specification License 1.0.

open The repository is private while the rendered specification is public, so a reader cannot open the experiment briefings or the issue tracker. To choose: whether to publish the briefings and evidence beside the specification or open the repository.

↵