Cyberplanetary standards · CP 0005
CP 0005 v0.17.0 World Simulation Responsibility
Superseded. CP 0005 v0.17.0 has been replaced by v0.18.0. It is kept for reference. superseded by v0.17.1
Released 2026-10-23T19:17:26Z by Cyberplanetary. Status: superseded. Change class: initial development.
Summary of changes: Select one bounded shared 128-attempt original-proof resolution context for new operations; preserve original authority, scopes, deadlines, other resource limits, concepts and prior immutable editions.
Digest: 31ee9ccf196026473a54d24c5386cf44bc967076cd3dcd05dde60f5d3b4f53b7
Files
The canonical file is the authoritative text; it never changes.
| File | Role | SHA-256 |
|---|---|---|
| cp-0005-0.17.0.md | canonical | 54ab096f9155660706777044c30a946aa075875d65585216c1e3e836bb442e35 |
References
- CP 0001 (versions ^0.2.1) (normative)
- CP 0000 v3.0.1 (informative)
- CP 0007 (versions ^0.3.0) (normative)
- CP 0008 v0.5.0 (normative)
- CP 0011 v0.4.0 (normative)
- BCP 14 (RFC 2119 and RFC 8174) (normative)
- RFC 8446 (normative)
- RFC 5280 (normative)
- RFC 9110 (normative)
- JSON Schema Draft 2020-12 (normative)
- RFC 6234 (normative)
- RFC 8032 (normative)
- RFC 7638 (normative)
- RFC 8259 (normative)
- RFC 4648 (normative)
- vlocality-kit ^1.0.3 (informative)
- BIPM SI kelvin measurement reference (normative)
Concept baseline
Written against https://cyberplanetary.org/modules/shared-reference-publication-bindings 0.18.2 (sha256:fe8f98f49add32570a7f471216bbd84b71c8d532a8ce0ef51b6f47597d5b13df).
World Simulation Responsibility
CP 0005 v0.17.0 (2026-10-23T19:17:26Z)
- Publisher: Cyberplanetary
- Kind: specification
- Version: initial development (major version 0): any change may break
- Replaces: CP 0005 v0.16.0
- Cite as: CP 0005 v0.17.0 (this version); CP 0005 (always the latest stable version)
Summary of changes: Select one bounded shared 128-attempt original-proof resolution context for new operations; preserve original authority, scopes, deadlines, other resource limits, concepts and prior immutable editions.
The status of a version (current, superseded, withdrawn) is not part of this text, because it changes after release. See https://cyberplanetary.org/standards/cp-0005/.
Cyberplanetary standard. Distributed with the project under AGPL-3.0-only; see the canonical repository LICENSE. Standard status is recorded in the series catalogue.
Contents
- Foreword
- 1 Scope
- 2 Normative references
- 3 Terms and interpretation
- 4 Identity and explicit scopes
- 5 Trust, decisions and participation
- 6 Responsibility resolution and availability
- 7 Authenticated direct service exchanges
- 8 Temporal context and independent operation
- 9 Assignment changes and decision failure
- 9.1 Change selection
- 9.2 Preconditions and supersession
- 9.3 Cancellation and uncertain replies
- 9.4 Optional structural reference evidence
- 10 Wire realization and bounded processing
- 10.1 Encoding and signatures
- 10.2 Interfaces
- 10.3 Decisions and comparison
- 10.4 Requests, observations and errors
- 10.5 Complete finite bounds
- 11 Conformance and acceptance evidence
- 11.1 Public-reference contextual acceptance claim
- 11.2 Broader responsibility runtime acceptance
- 11.3 Role loading and selected execution
- 11.4 Bounded live exchange claims
- 12 Scoped delegation mode: selection, roles and companions
- 12.1 Roles
- 12.2 Limits of the mode
- 12.3 Normative companions and semantic checks
- 13 Encoding, envelope, key and time conventions
- 14 Records of the scoped delegation mode
- 14.1 WorldEntry
- 14.2 Delegation
- 14.3 Nodes and children pages
- 14.4 Grant
- 14.5 Issuer authorisation
- 14.6 Permission and permission request
- 14.7 Status
- 14.8 Resolution bundle
- 15 Resolution, discovery and provider startup
- 16 Services, routes, errors and budgets
- 16.1 Routes
- 16.2 Error registry
- 17 Conformance of the scoped delegation mode
- 18 Interactive scoped responsibility and agreement selection
- 18.1 Source-qualified capability offers
- 19 Authenticated interactive carriers and outcomes
- 19.1 Immutable record retrieval and acceptance evidence
- 20 Interactive conformance definitions
- 20.1 Normative companion map
- Annex A Synthetic environmental quantity agreement
- A.1 Subject, field and measurement
- A.2 Supports and correspondence
- A.3 Arithmetic, missing inputs and time
- A.4 Local action and retry guarantees
- Annex B Residual risks of the scoped delegation mode
- 21 Selected original-proof resolution budget
- 22 Standards-owned concept traceability and unchanged baseline
- Bibliography
Foreword
Assignment identifies a recognized provider for explicitly named subjects, fields and operations. Providers supply their own simulation. Shared structural and temporal references make interpretation possible without creating shared state, inherited history or a common execution schedule.
This specification defines organizational decisions, authenticated direct exchanges and source-local request guarantees. A selected structural interpretation permits bounded additions to the public assignment inventory; separate ordinary grants and permissions establish responsibility afterward. Temporal-reference adoption is an independent agreement choice. A selected content agreement can describe provider-created entities and bounded interactions without adding those entities to the public assignment inventory. Actor participation is separate from service provision and from granting requester permissions. The accompanying CP 0006 explains application practice without adding a protocol or conformance regime.
A second, separately selected mode, scoped delegation, serves a single large world. A world authority names delegated managers; each manager signs the structure, grants and statuses of its own context, so that a client resolves one subject through a short chain of signed records without consulting a world-wide list. Delegating management, granting responsibility and permitting a requester are separate acts.
1 Scope
This specification defines three separately selected responsibility modes. Mode independent-assignment/3 defines authenticated service and actor participation, explicit responsibility allocations, authorized configuration changes, responsibility resolution, direct source observations and service-local requests; its wire identifier is cyberplanetary.responsibility/0.7.0. Mode scoped-delegation/1 defines a world that has one authority key, delegated management of contexts, signed per-subject grants, requester permissions, signed status statements and bounded local resolution; its wire identifier is cyberplanetary.responsibility/0.8.0. The earlier two modes are separately selected (R-LOC-MODE). The requirements R-BOUNDARY and R-FRESH-PROVISION below belong to independent-assignment/3; the corresponding properties of scoped-delegation/1 are L-RES-6, L-RES-7 and L-PROV-2. The normative keywords follow BCP 14 (RFC 2119 and RFC 8174). The companion schemas designated by schemas/index.json and these processing requirements form one contract. Syntax, signatures, credentials, independently accepted trust and authorization remain separate checks.
R-BOUNDARY. The organizer MUST store participation and responsibility decisions without requiring modeled values, state digests, checkpoints, pending actions, initialization histories, predecessor cooperation, source cessation, destination readiness or proof that an old computer physically stopped. A collector MUST NOT veto, overwrite or suspend authorized source provision. No state custodian, authoritative assembled world state, central simulation scheduler, compulsory modeled effect between simulators or per-value approval role is defined.
R-FRESH-PROVISION. A valid new assignment permits the new provider's own initial state under its accepted scope and applicable interface/model constraints. Previously used and unused scopes use the same grant procedure; prior provision MUST NOT require preservation, recovery, migration, a never-initialized proof or a new world. No global simulation-run or state-history identifier is required. A service-local request context MUST NOT be compared for world-wide equality or inherited by another provider.
This protocol does not promise uninterrupted provision, synchronized progress, persistent dynamic contents, seamless replacement or recovered action outcomes. A world can remain identified and organized while its contents disappear or return differently. Ordinary assignment changes preserve organization, not predecessor simulation.
Mode scoped-delegation/2, wire cyberplanetary.responsibility/0.9.0, is the interactive scoped/recursive successor defined by clauses interactive-selection, interactive-exchange and interactive-conformance. It selects signed agreement offers and common domain exchanges without imposing either earlier content API or complete-roster allocation mode. The boundary and fresh provision rules apply as L-AGR-4, L-CAP-4, L-STREAM-8 and L-EXEC-2 state for this family. Optional selected continuity is separately qualified.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the version cited applies. For undated references, the latest version of the referenced document applies. For references with a version range, any released stable version within the range applies.
- CP 0001 (versions ^0.2.1), Cyberplanetary — World Registration and Discovery
- BCP 14 (RFC 2119 and RFC 8174), Requirement language, https://www.rfc-editor.org/info/bcp14
- RFC 8446, The Transport Layer Security (TLS) Protocol Version 1.3, https://www.rfc-editor.org/rfc/rfc8446
- RFC 5280, Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile, https://www.rfc-editor.org/rfc/rfc5280
- RFC 9110, HTTP Semantics, https://www.rfc-editor.org/rfc/rfc9110
- JSON Schema Draft 2020-12, JSON Schema Core and Validation, https://json-schema.org/draft/2020-12
- CP 0007 (versions ^0.3.0), Temporal References for Worlds
- CP 0008 v0.5.0, World Structural Descriptions
- CP 0011 v0.4.0, Spatial References and Placement
- RFC 6234, US Secure Hash Algorithms (SHA and SHA-based HMAC and HKDF), https://www.rfc-editor.org/rfc/rfc6234
- RFC 8032, Edwards-Curve Digital Signature Algorithm (EdDSA), https://www.rfc-editor.org/rfc/rfc8032
- RFC 7638, JSON Web Key (JWK) Thumbprint, https://www.rfc-editor.org/rfc/rfc7638
- RFC 8259, The JavaScript Object Notation (JSON) Data Interchange Format, https://www.rfc-editor.org/rfc/rfc8259
- RFC 4648, The Base16, Base32, and Base64 Data Encodings, https://www.rfc-editor.org/rfc/rfc4648
- BIPM SI kelvin measurement reference, BIPM SI kelvin measurement reference, https://www.bipm.org/en/si-base-units/kelvin
3 Terms and interpretation
These managed definitions are reproduced from the selected closure. The operative constraints are this edition's explicit requirements; terminology does not itself confer permission.
subject scope (https://cyberplanetary.org/concepts/world-simulation/subject-scope): description determining which world entities or situations a responsibility statement concerns.
state scope (https://cyberplanetary.org/concepts/world-simulation/state-scope): delimitation of the state and operations to which an authority arrangement applies.
operation scope (https://cyberplanetary.org/concepts/world-simulation/operation-scope): delimitation of operations covered by an interaction or authority statement.
simulation service (https://cyberplanetary.org/concepts/world-simulation/simulation-service): service exposing simulation behavior through an identifiable interaction boundary.
allocation authority (https://cyberplanetary.org/concepts/world-simulation/allocation-authority): agent authorized in an identified world and governance context to approve changes to simulation-responsibility configurations.
authority context (https://cyberplanetary.org/concepts/world-simulation/authority-context): information artifact identifying the rules, participants and evidence interpretation used to assess permission and responsibility within a world.
authorization (https://cyberplanetary.org/concepts/world-simulation/authorization): permission established under specified governing rules for an agent or service to perform delimited operations.
responsibility-configuration revision (https://cyberplanetary.org/concepts/world-simulation/responsibility-configuration): identified version of a set of simulation-responsibility allocations and its governing authority context.
responsibility assessment (https://cyberplanetary.org/concepts/world-simulation/responsibility-assessment): information artifact reporting the interpretation of responsibility evidence for a stated query and authority context.
simulation-responsibility resolution (https://cyberplanetary.org/concepts/world-simulation/responsibility-resolution): assessment determining applicable simulation responsibility for an identified world, subject query and state-and-operation scope against stated configuration and authorization evidence.
world entity (https://cyberplanetary.org/concepts/world-simulation/world-entity): individually identified subject modeled as part of the content or organization of a world.
world structural model (https://cyberplanetary.org/concepts/world-simulation/reference-model): maintained representation of selected world structure whose identity and revision are independent of current simulation assignments.
simulation interaction contract (https://cyberplanetary.org/concepts/world-simulation/interaction-contract): specification defining the meaning and externally observable obligations of a bounded exchange of simulation state or interactions.
simulation time (https://cyberplanetary.org/concepts/world-simulation/simulation-time): temporal reference used to order or locate modeled occurrences in a simulation.
quantity value (https://cyberplanetary.org/concepts/world-simulation/quantity-value): expression of a magnitude using a numerical value and an identified measurement reference.
modeled-action request (https://cyberplanetary.org/concepts/world-simulation/action-request): statement requesting an identified operation affecting or interrogating modeled entities under specified conditions.
action outcome report (https://cyberplanetary.org/concepts/world-simulation/action-outcome): statement describing the disposition or result of a particular modeled-action request.
simulator (https://cyberplanetary.org/concepts/world-simulation/simulator): implementation that computes the evolution of modeled state.
host (https://cyberplanetary.org/concepts/world-simulation/host): physical or virtual computing environment on which an implementation executes.
responsibility transition (https://cyberplanetary.org/concepts/world-simulation/responsibility-transition): authorized change between responsibility configurations under identified transition rules.
responsibility withdrawal statement (https://cyberplanetary.org/concepts/world-simulation/responsibility-withdrawal): statement proposing or recording cessation of a specified allocation of simulation responsibility under stated rules and context.
configuration acceptance record (https://cyberplanetary.org/concepts/world-simulation/configuration-acceptance): statement recording acceptance of an identified configuration revision under an identified decision procedure and evidence context.
authorization-generation identifier (https://cyberplanetary.org/concepts/world-simulation/authority-generation): identifier of a distinct issuance or replacement context of authorization for a specified scope.
service-endpoint designation (https://cyberplanetary.org/concepts/world-simulation/endpoint-designation): statement associating an identified service with an access location and interface under stated designation authority and validity context.
simulation-service availability (https://cyberplanetary.org/concepts/world-simulation/availability): ability of a simulation service to provide specified interaction at the observation context.
temporal context (https://cyberplanetary.org/concepts/world-simulation/temporal-context): reference information locating or ordering modeled conditions, occurrences or statements within identified temporal conventions.
simulation state (https://cyberplanetary.org/concepts/world-simulation/simulation-state): representation of the modeled conditions relevant to simulation at an identified temporal or logical context.
simulation-responsibility statement (https://cyberplanetary.org/concepts/world-simulation/responsibility-statement): statement identifying a proposed or recorded allocation of simulation responsibility to a service for a subject scope and state-and-operation scope in an identified world and configuration context.
allocation rule set (https://cyberplanetary.org/concepts/world-simulation/allocation-rule-set): specification defining criteria for accepting, changing and withdrawing simulation responsibility within an identified governance context.
state acceptance record (https://cyberplanetary.org/concepts/world-simulation/state-acceptance): statement recording that identified state representations are treated as authoritative for specified subjects and operations under identified rules and configuration evidence.
temporal reference system (https://cyberplanetary.org/concepts/world-simulation/temporal-reference-system): system of conventions for locating or ordering occurrences in time.
temporal position (https://cyberplanetary.org/concepts/world-simulation/temporal-position): value identifying a location in time relative to a temporal reference system.
temporal reference mapping (https://cyberplanetary.org/concepts/world-simulation/temporal-reference-mapping): information artifact specifying a correspondence between temporal positions in identified temporal reference systems under stated conditions.
clock time estimate (https://cyberplanetary.org/concepts/world-simulation/clock-estimate): statement assigning an estimated temporal position to an identified occurrence on the basis of a specified clock.
structural decomposition (https://cyberplanetary.org/concepts/world-simulation/structural-decomposition): description identifying constituent world entities of a stated whole under declared decomposition criteria.
structural refinement (https://cyberplanetary.org/concepts/world-simulation/structural-refinement): relation between structural descriptions in which one provides additional detail under stated preservation criteria.
model correspondence (https://cyberplanetary.org/concepts/world-simulation/model-correspondence): information artifact specifying a relationship between identified elements of different descriptions of a subject.
value aggregation specification (https://cyberplanetary.org/concepts/world-simulation/value-aggregation-specification): specification defining how values for a selected set or domain are combined into a summary value.
entity reference (https://cyberplanetary.org/concepts/world-simulation/entity-reference): information artifact designating an intended world entity through a name interpreted in an identified naming context.
entity type (https://cyberplanetary.org/concepts/world-simulation/entity-type): category of world entities distinguished by declared criteria under identified content conventions.
description scope (https://cyberplanetary.org/concepts/world-simulation/description-scope): information artifact delimiting the subjects, aspects and interpretation context covered by an account.
description-completeness claim (https://cyberplanetary.org/concepts/world-simulation/description-completeness-claim): statement asserting the extent to which an identified account includes the information selected by a description scope under a stated criterion.
modeled-observation result (https://cyberplanetary.org/concepts/world-simulation/observation-result): information artifact recording information produced by a modeled observation.
observation context (https://cyberplanetary.org/concepts/world-simulation/observation-context): information artifact identifying relevant procedure, participant and condition information for interpreting a modeled observation and its result.
interaction description (https://cyberplanetary.org/concepts/world-simulation/interaction-description): information artifact describing an interaction offered through an identified interface under stated conventions.
responsibility-management delegation (https://cyberplanetary.org/concepts/world-simulation/responsibility-delegation): authorization permitting an agent to manage simulation responsibility within delimited subjects, state and operations.
4 Identity and explicit scopes
R-ID. Compare world as the exact case-sensitive cpw1 token specified by CP 0001 (versions ^0.2.1). A host, endpoint, simulation service and world are distinct identities. Registration signatures and profile claims confer no allocation. Subject tokens match [a-z][a-z0-9-]{0,63}; equality is (world, subject). There is no URI dereferencing, Unicode normalization, geometric inference, prefix selection or implicit room membership. The separately selected structural description enumerates valid subjects without implying persistent dynamic objects.
structure and agreement are exact {id,digest} references; digest is sha256: and 64 lower-case hexadecimal digits over complete original resource bytes. IDs, digests, addresses and capabilities are not authority. structuralFormat selects null (externally interpreted fixed structure) or world-structural-description/2 under CP 0008 v0.5.0. temporalReference independently selects null or exact reference/mapping artifacts under CP 0007 (versions ^0.3.0). Null temporal selection does not prevent structural addition; adopting either specification does not require adopting the other.
World, model identity, agreement, temporal selection, structural format, fields and operations are invariant across successors. The structural reference and complete subject inventory remain invariant except for the authorized structure-add operation. That operation replaces both together with a verified additive successor under CP 0008 v0.5.0. It preserves existing public subject interpretation and all existing assignment and permission records. The accepted subject inventory is complete for its revision, even when its descriptive whole is non-exhaustive. A non-exhaustive description does not authorize guessed subjects.
R-AGREEMENT. Initial adoption selects the exact agreement resource and its supported representation and operation conventions through the authorized deployment channel. The agreement identifies how its fields, operations, representations, required meaning, unsupported inputs and result dispositions are interpreted. This selection need not enumerate future provider-created entity instances or every private provider type. Creation or change of such contents under the selected agreement is not a configuration change. The selected agreement, fields and operations remain invariant across ordinary successors, including actor changes and structural additions. Selecting a new content agreement at fresh adoption does not authorize live replacement of that agreement through any ordinary change.
Authority, archive and resolver processing MUST validate the generic responsibility, identity, reference, declaration and decision requirements for their roles without requiring provider state, provider behavioral classes or construction of the agreement's entity models. Agreement-specific description and operation validation belongs to the producing, interpreting or processing role that uses that meaning. A support declaration does not prove implementation correctness. No agreement identifier, schema identifier, resource reference or interaction offer authorizes arbitrary retrieval or execution of provider code.
R-SCOPE. Grants enumerate subjects, fields and operations. Wildcards, predicates and inferred future properties are unsupported. Each (world,subject,field) has at most one recognized provider in a particular accepted configuration, even when operations differ. Allocation of source authority is distinct from an actor's permission to request a mutation. Authenticate identity and assess actual scope; different record labels do not remove overlap.
For the selected structural format, the configuration's subjects must equal the artifact's assignable list exactly. Descriptive wholes, collections and decomposition IDs are not eligible. An assignment does not confer responsibility for unnamed descendants. A convenience group selection records an explicit set under its stated revision and never expands with later membership. Provider-private samples and richer local models do not add public subjects or authority. An agreement may associate provider-created entities with a requested public subject and field. That association does not make each entity a separately assignable subject, create descendant authority or permit effects outside the accepted public scope. Agreement eligibility is checked for the operation's requested subject; an unrelated supported or unsupported subject does not invalidate that subject's accepted grant. Fixed agreement supports and existing summaries remain unchanged by a structural addition.
R-CONTINUITY. Preserve world/model identity, old public interpretations and authenticated responsibility/reference evidence through supported configuration changes. Preserve each unchanged authority generation; a replaced or newly granted authorization uses a generation never previously used for that subject/field, including after an unassigned interval. Do not infer state, dynamic entity, version, clock, provenance or request-history continuity from an unchanged scope address. A new provider's version may start below its predecessor's.
R-PARTICIPANT. Within one accepted responsibility context, an identifier MUST bind exactly one authenticated participant across simulation-service, resolver, actor and management-role records, including the pinned authority, archive and authority operators. Compare the complete accepted identity (issuer and principal URI), not an endpoint, display name or role-local index. Reject conflicting bindings before accepting bootstrap, enrollment or a successor configuration. Check these bindings jointly against independently accepted trust records and the configuration. An identifier previously bound in the retained context MUST NOT be reassigned to a different participant, including through another role or after removal. Multiple explicitly assigned roles for the same identifier and authenticated identity are permitted; identifier equality alone never assigns any role.
Every request MUST retain the actual authenticated identity and the explicitly assigned role used for its authorization throughout processing. A service named operator has service permissions only unless that same authenticated identity is independently assigned the operator role. Do not authenticate as a service, discard the identity or role, and then infer management authority from its identifier. Within the retained responsibility context, peer IDs and identity bindings cannot be reassigned to another principal. A new endpoint designation changes only the accepted access location, not provider identity. Endpoints are absolute HTTPS URLs without credentials, queries or fragments. Service-local requestContext is an opaque 1–128 character token selected by its service to distinguish its request records; it is not a global execution or state-history context.
5 Trust, decisions and participation
R-TRUST. Independently accept TrustRecord and BootstrapRecord through the authorized local configuration channel. TrustRecord.acceptedBy records the identifier of the principal that accepts that trust record through this locally authorized channel. It is local adoption attribution, not an allocation-authority acceptance or authentication of a received management caller; it is not required to equal TrustRecord.authority.id. The independently authorized local acceptance, rather than the acceptedBy string alone, establishes those trust pins. They pin world, initial anchor configuration and structural artifact, agreement, structural format, temporal selection, selected rules, authority and archive identities/keys, identity issuers and authority operators. Verify and retain the independently accepted initial structural bytes. A later structural reference is accepted only through verified additive decision lineage rooted at that anchor. It must not be compared as an independently editable replacement trust pin. Received configurations or structural bytes cannot appoint authority/archive keys, issuers or operators. Enrollment authenticates identity and declared capabilities; it grants no allocation. A service may have zero allocations and may be offline.
R-ACTOR. An actor record identifies an authenticated participant eligible to receive separately recorded requester permissions. The accepted issuer/enrollment mechanism establishes the identity binding; a self-declared display name or caller-supplied identity string alone cannot establish it. It does not identify a simulator, grant a public scope, imply an operator role or require a separate principal for each application window. actor-add appends actor records without permissions. Current actor records MUST have unique identifiers and unique complete issuer/URI identities within the actor role; adding a second actor identifier for an already enrolled actor identity fails. This per-role uniqueness does not prohibit the same authenticated identity from holding other separately assigned roles under R-PARTICIPANT. If an actor identifier is already used in another explicitly assigned role, its issuer/URI MUST be identical to that retained binding. Sharing a participant binding does not infer the actor role from any other role. A previously retired actor may be added again with that same binding; no earlier permission is restored by doing so.
actor-retire removes only current actor records whose explicit permission sets are empty. Remove remaining permissions through a separate permissions decision first. Retirement removes eligibility for fresh actor observations and new action admissions. It neither revokes credentials at the issuer nor changes another explicitly assigned role, allocations, admitted work or retained attribution. Credential suspension and revocation remain governed by R-TRANSPORT and R-FRESH. Retained historical owner retrieval follows R-OWNER-HISTORY; no other actor authorization survives retirement. The accepted evidence retains the removed record's identity binding and prior request attribution; it does not appoint a replacement owner.
R-GRANT. Configuration records services/actors/resolvers, complete scoped inventories, exclusive grants with generations, distinct actor permissions, revision and predecessor. Reject unknown issuers/scopes, ambiguous identities, overlapping allocations and changed invariants. Grant, additional grant and fresh regrant use the same authorization-only path. A prior provider has no veto. Authorization MAY be granted while both old and new providers are unavailable; accepted allocation and actual provision are different facts.
R-PROPOSE. Authenticate the actual management caller, retain its complete identity and explicit assigned role, compare its bound identifier with Proposal.proposer and authorize the entire requested change. Check authorization BEFORE accepting, reserving, persisting or archiving the proposal as prepared or returning Preparation. An unauthorized proposal returns unauthorized and creates no preparation, reservation or accepted proposal record; rejection at final acceptance is not a substitute. Only a pinned authority operator may propose service enrollment/removal, actor addition/retirement, grant, termination, replacement, endpoint, permission or structure-add changes. A provider may propose withdrawal of its own exact allocations; it cannot grant itself or add structure. Persist exact original proposal/predecessor/candidate and validated delivered structural bytes before returning signed Preparation. Preparation binds complete affected scopes, original proposal digest, candidate digest, predecessor generations and structuralAddition identity. It confers no provider authority. Empty scopes on structure-add do not exempt any configuration field from delta validation.
R-DELTA. Validate the complete configuration delta, not only changed provider tuples. A single declared change cannot carry another category. Determine affected scopes from the actual delta; supplied scopes cannot omit a changed tuple. For ordinary changes, structure, subjects and independent reference selections stay exact. For structure-add, the sole delta is configuration revision/predecessor, exact structural reference and subject additions validated under CP 0008 v0.5.0. Agreement, temporal selection, format, world/model/authority, fields, operations, grants, generations, peers and requester permissions remain byte-identical. Adding a part grants nobody responsibility or requester permission. Reject reused IDs, changed old meanings, altered supports or hidden trust/permission/grant changes even when all old subject IDs remain.
For scoped grant changes, records outside affected scopes stay byte-identical. If a grouped grant must be split, untouched scopes retain provider, identity/key, operations and generation. Grant changes cannot enroll a service or edit permissions; endpoint changes cannot edit grants or keys; permissions cannot edit allocation authority and can name only actors currently enrolled in the resulting configuration. Actor addition cannot carry permissions; actor retirement cannot remove permissions, add a replacement actor or alter any other role record. Nonempty actor changes have empty affected allocation scopes, null source/destination, null structuralAddition and empty artifacts. Empty scopes never waive complete delta or participant-history validation. Only configuration revision/predecessor and the declared actor-record addition or removal may differ. Addition preserves the existing actor-record prefix; retirement preserves the bytes and relative order of all surviving actor records.
For an actor change, the complete original record and identity binding for each affected identifier, its actor-role presence or absence and its absence of permissions are relevant acceptance preconditions. An intervening permission grant or same-actor lifecycle change conflicts and requires a new proposal, including a retirement followed by re-addition that restores identical record bytes; unrelated compatible changes are preserved by ordinary revalidation. Identifier reuse that changes a retained participant binding and reused authorization generations fail their history checks. Re-enrollment of the same identifier and authenticated participant under R-ACTOR does not restore old permissions.
R-ACCEPT. Only an authenticated participant with the independently pinned operator identity and explicitly assigned operator role finalizes a prepared change. The authority identity carried in Preparation.acceptedBy and Decision.acceptedBy is distinct from this authenticated caller identity, as defined in clause 10.3. Check both identity and role, not only an identifier. Serialize against the actual accepted head. After unrelated assignment revisions, revalidate the original relevant scope/permission/identity preconditions and apply only the exact original delta to that head, preserving all intervening accepted records. A structure-add candidate's structural predecessor must still equal the current accepted structural reference; any intervening structural revision requires a new structural proposal, without automatic merging. It may rebase over unrelated assignment decisions, preserving their actual current grants/permissions/peers rather than overwriting them from the original candidate. Conflicting relevant authorization likewise requires a new proposal.
Sign Decision binding original proposal/preparation, exact addition, actual predecessor and full resulting configuration. Retain original delivered reference bytes and evidence in the responsibility archive. The matching AcceptanceReceipt and signed Decision make the new configuration effective. Verify identity, digest, canonical schema and the complete permitted structural relationship before that mutation. No provider acknowledgement, availability, simulation values, source contact, destination readiness or unanimous installation is an acceptance prerequisite. The new part may remain unassigned and unavailable.
R-INSTALL. A provider or resolver validates and retains sufficient accepted configuration/reference lineage before claiming current authority or interpreting newly added subjects. Load the exact structural bytes delivered with the original proposal, validate the additive relationship against the retained predecessor, and retain them with the accepted decision; do not reject the descendant solely because it differs from the initial reference. Trust-anchor keys and issuers remain unchanged. Cache/restart restores verified artifacts and accepted high-water evidence, without requiring simulation backup. Missing needed artifacts or decisions is unresolved and cannot establish unassigned status for an unknown part. Provider and resolver installation verifies the configuration predecessor/successor lineage rooted at the independently accepted anchor, together with each accepted decision and receipt cross-reference. AcceptanceReceipt.previousReceipt identifies the preceding all-event archive receipt; it need not equal the preceding provider-installed AcceptanceReceipt, and the first received acceptance receipt need not have archiveSequence zero or previousReceipt null. An acceptance-only EvidenceEntry does not establish contiguous all-event archive history. Complete contiguous archive restoration remains the R-ARCHIVE responsibility before new authority decisions. No activation or postdecision acknowledgement is required; delivery can lag and provision be absent. Delivery failure cannot restore superseded authority. No per-tick permission, heartbeat, allocation lease or state validation is defined.
R-DECISION-IDEMPOTENT. Transition identity is (world,transitionId) within the accepted authority context. Repeating exact Proposal returns its recorded preparation; retrieve any terminal disposition through TransitionQuery. Changed bytes at the same ID conflict. Exact accept/status retries recover the same archived decision/receipt without allocating a second successor. Retain uncertain decisions and original bytes rather than guessing from timeouts. Accepted and cancelled terminal dispositions cannot coexist.
R-ARCHIVE. The independently retained responsibility archive records only proposals, preparations, decisions and cancellations. It verifies role/signature, exact references, serialization and bounded schemas before acknowledging. Restore authority history from its authenticated challenge-bound archive head and contiguous receipt/configuration chain through the known high-water before new decisions; suspected rollback or missing responsibility evidence makes new decisions unavailable. This retains organizational history, not a simulation store. Archive/organizer outage MUST NOT itself command established providers to stop. Each provider's actual computation and availability remain its operator's responsibility.
6 Responsibility resolution and availability
R-LOOKUP. Use the independently accepted resolver/bootstrap identity or sufficient retained accepted evidence. /v5/responsibility/resolve identifies world, accepted configuration, subject, field and operation. Results are applicable (one recognized allocation), unassigned (complete accepted context names no provider), unresolved (missing/unsupported evidence) and conflicting (authentic incompatible evidence). Verify accepted source identity/key, endpoint designation, relevant lineage, generation and permissions. A resolver assertion or reachable endpoint cannot appoint itself.
R-COMPATIBILITY. Verify accepted responsibility and structural lineage, with exact world/model, agreement, temporal selection, structural format, protocol and rules. Across a structural addition compare the relevant subject projection defined in CP 0008 v0.5.0 and prove every intervening structural change permitted; exact whole-artifact digest equality is not required for an unchanged old part. Compare exact relevant provider identity/key, generation, operations, permissions and supported representation for the operation being authorized. Fresh actor observations and new admissions require current actor participation and current applicable permissions. Retained same-owner dispositions instead use the historical checks in R-OWNER-HISTORY; the removal of mutation permission or actor participation is not silently treated as current authority. Endpoint designation is exact within its accepted revision; a separately authorized endpoint update can change routing while preserving the same provider/key/generation and local retry identity. An unrelated addition must not reset local records or make a retry a new action. Missing required bytes or lineage is unresolved; incompatible authentic successors are conflicting; known superseded authority is obsolete. Equal labels or a source assertion cannot establish compatibility.
Within this wire edition, a request using a prior accepted structural revision remains usable for an existing subject when these checks establish unchanged interpretation and relevant authority/permissions. The source must possess and validate that request configuration; it must not guess forward compatibility from an older partial view. An exact retained configuration describes a stated evidence context, not a globally latest head. Older structural evidence and older protocol software are different: unmodified earlier wire implementations do not understand this edition's messages.
R-EVIDENCE. EvidenceResponse carries original Proposal, including its bounded structural artifact delivery when present, signed Preparation, signed Decision and AcceptanceReceipt. Verify role keys, exact digests, artifact identity/bytes/schema, candidate/old-meaning preservation, exact original delta, actual rebased successor and receipt lineage. Distinguish accepted configuration lineage from the archive all-event receipt chain: authenticate the signed archiveSequence/previousReceipt assertion and exact receipt/decision/configuration references, without claiming contiguous all-event verification when intervening archive events are absent. Do not reject otherwise sufficient provider installation solely because acceptance receipts are nonadjacent in that archive. Missing configuration predecessors or relevant authority/reference evidence remains unresolved. Retain enough reference and responsibility records to verify every lineage claimed, detect rollback and reject reused generations. These are reference/decision records, not simulation payloads or backups. Page bounds include nested bytes/envelopes; pages must make progress when entries remain and a single entry must be retrievable. Missing evidence remains unresolved.
R-ENDPOINT. Endpoint update changes the designation/location of one existing service or resolver under an authorized accepted configuration. Preserve identity/key and every grant generation. No provider acknowledgement or state call is required. A source's supported local retries remain tied to it through a compatible route update, under its stated guarantees. An old reachable endpoint is not a new provider; unauthorized redirects or self-designation fail.
R-AVAILABILITY. Report actual interaction availability separately from allocation and modeled time. Failed contact cannot end a grant or automatically appoint a replacement. Collector/cache views label source, generation, accepted evidence, temporal/freshness context and retrieval failure. A structural fallback or historical display MUST be distinguishable from a live provider response. Missing contributions MUST NOT be filled with invented current state. The protocol imposes no viewer design and no simultaneous snapshot. Availability of an unassigned scope says nothing about whether it was previously simulated.
R-DIRECT. Independently accepted evidence sufficient for the relevant operation permits direct provider interaction without a successful organizer/resolver refresh on that operation path. Synchronization is separate; slow or failed contact seeking possibly newer information is not evidence that accepted authority is invalid. Missing necessary evidence remains unresolved; known supersession, conflict, invalid credentials/revocation, signatures and relevant-lineage failures retain their checks. Cached evidence is not a claim of instantaneous global knowledge.
7 Authenticated direct service exchanges
R-TRANSPORT. Client/service and management exchanges use mutually authenticated TLS 1.3 under RFC 8446. Validate the certificate chain, expected server hostname and applicable key usages. This selected issuer profile uses leaf certificates directly issued by the accepted issuing CA under RFC 5280; arbitrary intermediate chains, delegated CRL issuers and delta CRLs are unsupported. The issuer certificate must allow certificate and CRL signing. Each leaf has exactly one URI subject alternative name, a canonical lower-case urn:uuid: value, which MUST exactly match its accepted configuration identity or the independently accepted standalone-resolver identity in its BootstrapRecord, together with the expected accepted issuer. For retained-owner retrieval only, R-OWNER-HISTORY permits matching the owner identity in the verified original accepted actor/admission evidence instead of a current actor record; all present credential checks still apply. Other subject names cannot substitute for that URI. Service server certificates also carry the endpoint DNS/IP subject alternative name and serverAuth; management-client and actor credentials require clientAuth. Relevant certificate validity and usages apply on each call. Multiple URI identities, absent identity, wrong issuer, expired certificates or inappropriate usages cannot authenticate. No JSON actor field authenticates its caller.
The issuer's enrollment policy MUST authorize issuance and renewal only for the requesting principal's enrolled URI, with unique certificate serials and protected key custody. Suspension is a durable decision for (accepted issuer, enrolled URI) made by the authority selected in that issuer's local enrollment policy; it is not a global identity authority or allocation decision. Once that policy accepts suspension, the integration MUST block fresh issuance and every renewal path for that URI and revoke every still-valid certificate serial issued for it, including older leaves and different keys. The ledger MUST retain those serial revocations in complete CRLs until expiry and prevent re-enrollment from bypassing suspension. The selected local policy identifies who can suspend or explicitly restore enrollment and how these decisions survive restart; this edition defines no remote suspension API. Caller rejection follows the bounded CRL propagation window in R-FRESH rather than an instant global effect. Already admitted work and local writer allocations remain governed by Clause 5. The chosen local policy declares maximum leaf validity (60 seconds through 30 days); the illustrative value is seven days. Automated renewal before expiry is supported through the deployment's accepted issuer/enrollment mechanism, including a new key and serial. The responsibility protocol does not invent an enrollment API or permit any participant to issue a certificate for another. Selecting and verifying that mechanism is a deployment prerequisite. No per-principal human pin update, new allocation is required when issuer/URI/endpoint stay the same. Issuer-anchor or principal-URI replacement is a separately accepted trust change outside ordinary endpoint/allocation revision; received configuration alone cannot perform it.
Client actors connect to configured services for separately permitted observations, actions and request status. Evidence, allocation and identity roles retain their accepted interfaces. One accepted issuer can authenticate many participants; each fresh actor observation or new action admission still requires current actor participation, its configured permission and the explicitly assigned role. Retained-owner retrieval is the narrowly delimited case in R-OWNER-HISTORY. Preserve the authenticated issuer/principal identity and role through dispatch and authorization; an identifier matching a record in another role does not authenticate as that participant.
R-FRESH. Before each incoming request and before accepting a remote signed response/control evidence, require a current, signature-verified full CRL from the credential's accepted issuing CA. The CRL number is mandatory and must be a nonnegative safe integer. Reject numbers below the durably stored high-water number, different bytes at the same number, regressing thisUpdate, invalid signatures, missing nextUpdate, unsupported CRL features or a mismatched issuer. The issuer's CRL validity interval MUST be at most 600 seconds. Revocation processing and local cache installation are serialized with admissions. A newly accepted revocation blocks the next incoming call, including on an established connection. Already durably admitted work retains its accepted disposition and continues according to that service's stated interface guarantees.
The accepted issuer and participant must each maintain trusted UTC within 30 seconds of real time. Let n be the participant's UTC seconds, e=30 the bound for each clock, and u/v the CRL thisUpdate/nextUpdate. Admission requires u <= n, n+e < min(v,u+600)-e, certificate validity, and an independently trusted clock. On installing a CRL, set a local monotonic expiry from min(v,u+600)-2e-n, the remaining conservative UTC interval; check both UTC and that monotonic deadline for every call. Re-downloading old bytes does not refresh u or the deadline. Retain issuer number/digest/time high-water marks across restart; expired cached bytes cannot become current through a restart or a wall-clock rollback. A backward UTC step greater than 30 seconds or loss of the bounded clock assurance makes affected new calls unavailable until trusted time and current evidence are re-established.
Refresh full CRLs asynchronously at least every 120 seconds, with a five-second retrieval timeout, retaining still-valid accepted bytes on retrieval failure. Fetch only the locally designated HTTPS endpoint, without redirects or caller-controlled certificate URLs, using the local ordinary HTTPS trust policy; alternatively accept bytes delivered by the authorized local channel. The CRL signature and accepted issuer establish its evidential authority independently of that retrieval transport. CRL retrieval does not require a runtime service identity or a currently valid cached CRL, so it does not create a recursive bootstrap dependency. Bound each CRL to 1, 048, 576 bytes. Retrieval never blocks unrelated local evolution. No revocation API for runtime callers is defined.
Under this policy a revocation not yet received can remain undetected for at most 600 real seconds, assuming both stated trusted clock bounds and an issuer that never issues future or post-revocation evidence omitting an unexpired revoked serial. There is no claim of instant revocation across a partition. If fresh evidence is unavailable after its deadline, affected remote calls return authentication-unavailable (HTTP 503), with no new admission or accepted fresh observation. That authentication failure does not command internal computation, cached responsibility resolution, other issuer calls or previously admitted work to stop. Their actual progress remains subject to the provider's operator, resources and stated interface guarantees. Authentication can resume with fresh valid evidence under the same identity/configuration, without changing allocation. This is bounded offline authentication, not indefinite acceptance of a revoked credential.
New TLS connections require certificate authentication; PSK-only authentication, session resumption and 0-RTT application data are unsupported in this edition. Existing connections revalidate certificate and revocation facts on every application call. A TLS-terminating gateway with propagated identities is a separate unsupported arrangement.
R-RUNTIME. Enforce bounded parsing, actual caller identity, accepted scoped responsibility and separate requester permissions. Ordinary state evolution, observations and action admission MUST NOT require an external state-acceptance endpoint, writer session, custody receipt/head, organizer permission or collector acceptance. Useful local serialization/integrity checks confer no separate authority.
R-OBSERVE. Observation binds protocol/world, exact validated request configuration/scope/service/generation/challenge and echoed representation/resultVersion selectors, sourceConfiguration, source-local requestContext, State representation/version/provenance and responseContext. Freshness challenge is unpredictable, at least 128 bits and never reused. Verify source signature/credentials, relevant responsibility/structural lineage, permissions, declared representations and challenge. Echo validated request.configuration even when the source possesses unrelated newer evidence; sourceConfiguration separately identifies the accepted configuration supporting its response. Obtain/retain the evidence needed to compare these contexts, without guessing a missing successor. Unknown/conflicting/known-obsolete relevant contexts fail. A non-null request representation selects a form declared by the unchanged agreement; unsupported selection fails. Null uses the provider's declared default. No per-observation organizer call is required; a fresh signature proves neither current applicability nor model correctness nor a simultaneous snapshot.
Observation.status current-at-service means the supplied snapshot is the source's latest completed local result when the response is formed; it does not claim applicability to the reception time or present time. stale means a retained local result superseded by a newer completed result. Both require non-null State and preserve its original applicability/production context. unavailable and unassigned require null State; unassigned requires complete validated accepted evidence of no grant for that scope and is never inferred from missing reference or responsibility evidence. The response's sourceConfiguration still identifies the supporting accepted evidence. A client cannot infer current allocation merely from a service's status label.
R-CONTENT-BINDING. When the selected agreement supplies a bounded content account, carry it in the existing State.representation of the signed Observation. The account's provider, world, public subject/field and any reference context it repeats MUST agree with the validated outer source and scope. The selected agreement defines the inner account, its inspection procedure and context, entity-reference lifetime, declared completeness, extension interpretation and interaction meanings. Such an account is not an extra authority approval and does not enlarge the public grant.
Use the existing representation and resultVersion selectors for the declared account form and retained local result. This edition adds no arbitrary query, body, viewpoint, geometry, object-class endpoint or provider-state selector. Bind an offered action's local entity target and domain inputs through the selected Intent parameter representation; all CP 0005 owner, target, scope, signature, deadline, admission, retry and status checks still apply. The serving processor additionally validates the agreement-defined target and domain conditions before any effect. An advertised offer establishes neither requester permission nor admission. The outer signature authenticates an attributed result; inner validity or a completeness assertion does not prove model correctness or applicability.
R-ACTION. Authenticate actual owner and reject mismatched target service, generation or local request context before execution. Intent service/generation must agree with AdmissionContext. Keep operation identity distinct from compatible route/configuration changes; identity includes the original provider, generation and service-local context. Admission differs from completion. Validate new mutations against accepted scoped authority/permissions and interface conditions.
R-OWNER-HISTORY. A currently valid, authenticated credential for the original accepted issuer and principal URI may retrieve that owner's retained original-service disposition after mutation-permission loss, actor retirement or provider-grant supersession. Verify the original actor binding, original admission authority and permissions, exact original target/context and owner from retained accepted evidence and the service's retained request record. The original actor role is historical evidence; it is not a current actor, management or mutation role. Preserve the actual present authenticated identity and the historical basis used to authorize the response.
The historical admission check uses the permissions required by the originally selected operation in its original accepted configuration. It does not require continued observe or mutation permission in a later configuration. For the selected CP0009 cabinet/lamp agreements, original admission required both original observe permission and the corresponding original set-open/set-on permission; their later removal does not erase permitted same-owner retained retrieval.
This permission is limited to status retrieval and an exact duplicate Intent returning its already retained disposition. It MUST NOT admit an unknown Intent, replay an effect, reevaluate an old request as new, expose another owner's record, supply a fresh observation or restore current mutation authority. A duplicate response is not an instruction to execute or restart admitted work; already admitted work remains governed by its original disposition and the service's promised guarantees. Changed content at a retained qualified identity is an idempotency conflict, including for a retired actor. A StatusRequest lacking available original records or sufficient admission evidence leaves the outcome unresolved. An ActionRequest from a retired actor without an exact retained record is unauthorized and MUST NOT be admitted; that rejection does not establish the disposition or non-admission of an earlier unavailable request. Neither case authorizes a replacement to execute it.
Current certificate validity, accepted issuer, key usage, CRL freshness and revocation checks remain mandatory. Expired or revoked credentials cannot gain access through historical evidence. Inability to establish current authentication returns the applicable authentication failure before any record disclosure. Actor retirement creates no credential-renewal right, new record-retention period, archive of provider contents or service-availability guarantee. Existing promised retention and restart limits continue unchanged.
R-IDEMPOTENT. A service retains its promised identity/content/disposition records locally. Exact same addressed Intent returns retained disposition and cannot execute twice; changed content at that qualified identity conflicts. Authenticate original owner, check target and local record, then apply new permission/precondition/deadline checks only for a new admission. Compatible unrelated configuration/endpoint revisions preserve that service's promised retry identity. Status requires current same-owner authentication and the retained evidence required by R-OWNER-HISTORY, independently of current mutation permission or actor enrollment. The selected service/interface declares retention and restart limits; do not silently reduce acknowledged guarantees to conceal exhaustion. For a missing local record, new admission is permitted only when complete retained local request information establishes that this exact qualified request identity was not previously admitted. Expired, lost or unavailable records do not establish that fact. If retained local information cannot distinguish an unseen request from unavailable prior work, return unresolved rather than admit or replay it. A service may close a local request context to new admissions or use a fresh local context under its selected interface to bound retained request information, while honoring still-retained acknowledged records. This is a local processing condition, not a new public artifact or wire field. It creates no world-wide context, coordination barrier, time-driven rotation requirement or perpetual outcome-storage obligation.
R-DISPOSITION. StatusRequest includes its validated request configuration as well as original service/generation/requestContext, owner, scope and requestId. StatusResponse echoes that configuration, separately states sourceConfiguration, and matches the exact original target/context, owner, Intent bytes/digest, admission/outcome and response context. The original service authenticates the original owner under R-OWNER-HISTORY and serves available retained records under its promised guarantees even after grant supersession, mutation-permission loss or actor retirement; validate original admission evidence and label historical status. historical:true alone confers no authority or current-state claim. Missing request/source/admission evidence is unresolved; it is not a new admission. Another provider MUST NOT import obligations, answer predecessor dispositions or execute an old-target request. Missing predecessor results remain unknown/unavailable. A deliberately new operation addressed to the new provider is separate.
R-ERROR. Malformed, unauthorized, conflicting or expired requests have no mutation. Reserve finite local resources before acknowledged admission and retain records promised by the interface. Capacity never licenses duplicate execution, fabricated disposition or world reset. An operator may stop immediately without resolving actions, saving final state, withdrawing or migrating; availability loss and any inaccessible acknowledged outcome must be reported honestly, not imposed as a replacement prerequisite.
8 Temporal context and independent operation
R-TIME. The selected agreement defines representations, version meaning and execution conditions; a non-null temporalReference selects exact reference/mapping interpretation under CP 0007 (versions ^0.3.0) through existing temporalContext fields. Null requires temporalContext to remain the general {format,data} Representation under the fixed agreement; it does not invoke CP 0007 validation or UTC conversion. For example, the existing integer agreement uses {format:"fixture-local-steps/1",data:{tick}}, where tick is a nonnegative safe integer counting that service's local steps; equal ticks at different services imply no shared position, duration or rate. Selected agreement rules validate their own format and meaning. A non-null selection requires world-temporal-context/1 and CP 0007's typed data. Configuration selection, not the generic Temporal schema alias, determines which validation path applies. CP 0005 imposes no universal real-world time, cadence, tick, clock equality or catch-up promise. Structural addition does not depend on adopting the temporal specification and cannot replace a selected temporal reference. Unsupported temporal interpretation fails explicitly without automatic reassignment. Applicability, result production, response production, publication and locally recorded reception remain distinct. A newly authenticated response can describe an older result. Unknown uncertainty is not zero. Preserve CP 0007 clock conversion status and declared basis through result, response and reception handling. Ordinary production, advancement, action admission and completion, observation, publication and client interpretation use the valid clock-estimate categories in CP 0007 (versions ^0.3.0), including provisional estimates with unknown uncertainty. Same-reference comparisons use encoded positions. Exact UTC conversion is a separately requested operation. New providers may use different local versions, values, objects and provenance under the selected references; predecessor history is not inherited. Credential UTC checks remain authentication assumptions, not a scheduler.
R-PERSIST. Simulation state is not inherently durable. Operators may store or copy their own state and may improve reliability; none of those arrangements is required for assignment acceptance. A service MUST keep the information needed for the service-local retry/status guarantees it actually promises. That does not oblige a replacement to import or reconstruct records. No external custody, final-state retention or complete initialization history is required to stop, withdraw, terminate or replace a provider.
R-RESTART. A resumed provider checks applicable accepted responsibility evidence before claiming current authority. Missing authority evidence is distinct from missing predecessor state. Known superseded generations remain rejected; old credentials, configuration snapshots and local values alone cannot revive them. A service is responsible for its concurrent instances obeying its accepted authorization. Restart of an authorized new provider MUST NOT depend on contacting its predecessor or retrieving predecessor state. Its own promised request guarantees remain its own responsibility.
R-ISOLATE. An organizational decision concerning a scope MUST NOT impose a world-wide barrier, unrelated provider stop command, common cadence or unrelated acknowledgement dependency. This limits protocol authority and dependencies; it does not guarantee that unrelated contributions keep computing. Operator, resource, model and network conditions can pause any service. Services may depend on other contributions under their selected models without the organizer imposing those modeled dependencies.
R-LOSS. A provider may stop without graceful withdrawal, lose all simulation state or cease to exist. The allocation can remain recorded while availability fails. The authorized allocation procedure may independently terminate or replace it without proving cessation or recovering data. Missing old outcomes remain unknown/unavailable; they cannot be fabricated as success, failure or non-admission. Absence of state or a collector is never a reason to reject an otherwise valid assignment.
R-ASSUMPTIONS. At most one provider is recognized per exclusive scope in an accepted configuration. This does not physically prevent an old machine calculating or serving stale disconnected clients. Verifiers enforce the evidence they possess; no instant convergence across partitions is promised. Authentication and authorization constrain claims, not model correctness. No honest discontinuity is automatically nonconformity merely because uninterrupted presentation would be convenient.
9 Assignment changes and decision failure
9.1 Change selection
Every supported change, including actor participation, uses Proposal, signed Preparation and authorization-only AcceptRequest. source and destination identify the old/new allocation selections; they are not transfer endpoints and imply no contact. Exactly the declared delta is permitted.
| Change | Authorized proposer and exact delta | Required provider interaction |
|---|---|---|
| structure-add | Operator; verified immediate additive structural revision plus exactly its new eligible subjects; no grants or permissions; source/destination null and scopes empty | None; providers and inspector may be offline |
| service-add | Operator; append authenticated service record(s) with no grants; preserve existing records | None |
| actor-add | Operator; append current actor record(s) under retained participant-binding rules; zero permissions; source/destination null, scopes empty; preserve every other record | None; no provider or client process need be online |
| grant | Operator; previously unassigned scopes become allocated to the named enrolled destination, using fresh generations; source is null; all unrelated records preserved | None; prior use is irrelevant |
| withdraw | Actual source service for its own scopes; remove those allocations; destination null | The withdrawal proposal itself; stopping has no ceremony |
| terminate | Operator; remove named source allocations; destination null | None, even when source is unreachable |
| replace | Operator; replace named source by a different enrolled destination for exact scopes with fresh generations; preserve applicable operation sets | None from either provider |
| service-endpoint / resolver-endpoint | Operator; change exactly one enrolled peer's endpoint/designation, with identity/key and allocation unchanged; source/destination null | None |
| permissions | Operator; edit only explicit permission tuples for currently enrolled actors with complete affected scope projection; source/destination null; removing all permissions does not retire an actor | None |
| service-remove | Operator; remove only zero-allocation service records; preserve historical identity; source/destination null | None |
| actor-retire | Operator; remove only current actor record(s) with zero explicit permissions; preserve historical bindings, other roles and every other record; source/destination null, scopes empty | None; no provider acknowledgement, request drain or credential revocation prerequisite |
Granting an additional scope to an already participating service is an ordinary grant; a formerly served, currently unassigned scope is also grant. replace is the same authorization-only assignment to a scope that currently has a recognized provider. Neither method reads old state. Withdrawal/termination may leave the part unprovided. Provider shutdown can occur before, after or without a recorded withdrawal; simply stopping does not alter authority records.
9.2 Preconditions and supersession
Validate exact original predecessor/configuration, identities, selected reference interpretations, scopes, rules, complete delta and never-reused generations. Relevant scoped conflicts fail; unrelated assignment revisions may be composed under Clause 5. For structure-add, the original structural predecessor must still be current; another accepted structural revision requires a new proposal. Validate the candidate's exact model/revision/previous, old subject projections, new records/links and explicit eligibility before accepting. Append only the recorded new subjects; never carry grants or permissions with the addition. The prior provider is never a required participant. Deliver accepted reference/responsibility evidence without waiting for acknowledgements.
9.3 Cancellation and uncertain replies
Before an accepted decision, an operator may request cancellation using TransitionQuery at /v5/transitions/cancel. The authority serializes against acceptance, archives a signed Cancellation and releases only that proposal's configuration reservation. No provider resume, state reconciliation or provisional simulation rollback exists. Repeating cancellation retrieves the same terminal result. Timeout is not cancellation. After acceptance, cancellation cannot roll back the decision; another authorized configuration change is required.
Retrieve uncertain outcomes through /v5/transitions/status using the same transitionId. A prepared state grants no provider authority. An accepted state includes the original signed Decision and AcceptanceReceipt; cancelled state is terminal. Lost replies MUST NOT lead to a new transition identity that creates a duplicate or conflicting allocation. History restoration concerns accepted decisions and never entails old simulation recovery.
9.4 Optional structural reference evidence
For selected world-structural-description/2, structure-add adopts CP0008v0.5.0 complete validity and additive comparison, including strict order and optional public anchor preservation. The proposal still carries one bounded exact structural artifact; its optional CP0011 reference evidence is embedded and digest-verified under the existing artifact limit. No new outer routing, actor, authority or state protocol is introduced. Unsupported constructs or absent required evidence remain unsupported/unresolved before acceptance. Reference evidence cannot replace credential/trust anchors.
Complete accepted-lineage validation precedes new grants. Existing scope remains applicable through a proved additive successor when its relevant subject/order/reference interpretation is unchanged; neither a different complete structural digest nor an unrelated new catalogue entry alone invalidates a direct result or action. Public anchors and authored relationships confer no spatial volume/effect permission. Each newly eligible part needs the existing separate explicit grant and requester permission. Dynamic provider poses require no organizer approval or decision archive state stream. Fixed agreement/field/operation/temporal supports remain preserved; this earlier named transition adds no live reanchoring or state transfer. Separately selected interactive-family mechanisms define any optional cooperation or entity-state continuity.
10 Wire realization and bounded processing
For mode independent-assignment/3 (clauses 4 to 11; mode scoped-delegation/1 is realized by clauses 13 to 18): wire cyberplanetary.responsibility/0.7.0; rules independent-assignment/3; decision procedure single-authority-assignment/3; API /v5. The companion schemas use JSON Schema Draft 2020-12. The exact companion schemas/index.json designates assignment-responsibility.schema.json, the role wrappers and message-bounds.json. R-WIRE. Implement these exact messages and comparisons. Reject unsupported protocol, rule-set or decision-procedure identifiers with unsupported-protocol; reject undeclared or missing fields. The selected endpoint path does not negotiate another edition. One-time adoption selects this protocol, independently trusted anchor and fixed agreement through the authorized deployment channel. Ordinary accepted additions subsequently use its decision procedure and retained lineage. Unmodified older protocol software is not promised compatibility merely because an older structural revision is compatible within this edition.
10.1 Encoding and signatures
Use ASCII JSON with recursively ASCII-sorted object keys, retained array order, no whitespace and decimal safe integers. Reject duplicate members, non-ASCII strings/keys, noninteger/negative-zero number tokens and unsafe integers. Encode any other agreement data under its expressly selected representation. D(x) is sha256: plus SHA-256 of canonical JSON bytes; structure/agreement digest covers original resource bytes. Preserve finite schema lengths, collections and parser bounds. Unknown members and missing required members fail. Validate all local $ref references; schema IDs are not instructions for arbitrary remote retrieval.
Flattened Ed25519 JWS covers exact ASCII protected.payload. Evidence identity E(x) hashes exact ASCII protected.payload.signature; it differs from D(decoded payload). Header is exactly {alg:"Ed25519",typ,kid,jwk}; JWK exactly {kty:"OKP",crv:"Ed25519",x}. kid is the CP 0001 public-key thumbprint URI. Verify independently accepted role key, expected type, signature and complete decoded payload shape; the envelope's own key cannot appoint its role.
| Signer | Exact typ | Remaining signed payloads |
|---|---|---|
| Allocation authority | application/vnd.cyberplanetary.responsibility-authority+json | Preparation, Decision, Cancellation |
| Simulation service | application/vnd.cyberplanetary.simulation-service+json | Observation, StatusResponse |
| Responsibility archive | application/vnd.cyberplanetary.responsibility-archive+json | ArchiveReceipt, AcceptanceReceipt, ArchiveHead |
No simulation checkpoint, request-segment, import, import-status, readiness, continuation initialization, source cessation, activation, change acknowledgement or transfer-resume message is present. TLS role authentication is separate from evidence signing. A resolver's authenticated LookupResponse assesses accepted evidence without signing modeled state as its own.
10.2 Interfaces
Append literal paths to accepted HTTPS endpoint bases. HTTP semantics follow RFC 9110. POST application/json; replies application/json, Cache-Control:no-store; redirects unsupported. Revalidate actual mutually authenticated caller and role on every call. Request IDs in JSON do not authenticate callers. Whole responses, including nested envelopes, heads and receipts, must fit finite bounds.
| Role/path | Request schema | Success |
|---|---|---|
| Authority /v5/configurations/propose | Proposal | signed Preparation, 202 |
| Authority /v5/transitions/accept | AcceptRequest | AcceptResponse, 200 |
| Authority /v5/transitions/status | TransitionQuery | TransitionStatus, 200 |
| Authority /v5/transitions/cancel | TransitionQuery | signed Cancellation, 200 |
| Authority/resolver /v5/configurations/evidence | EvidenceRequest | EvidenceResponse, 200 |
| Provider/resolver /v5/configurations/sync | EvidenceResponse | EvidenceResponse, 200; validated accepted evidence only |
| Resolver /v5/responsibility/resolve | LookupRequest | LookupResponse, 200 |
| Archive /v5/decisions/archive | ArchiveRequest | signed ArchiveReceipt or AcceptanceReceipt, 200 |
| Archive /v5/decisions/evidence | ArchiveQuery | ArchiveResponse, 200 |
| Provider /v5/state/observe | ObservationRequest | signed Observation, 200 |
| Provider /v5/actions/submit | ActionRequest | signed StatusResponse, 202 admitted pending or 200 terminal |
| Provider /v5/requests/status | StatusRequest | signed StatusResponse, 200 |
Sync is an authenticated local-management/evidence delivery interface for the addressed provider/resolver. Its actual caller must be that same service/resolver, a pinned authority operator, or the pinned allocation authority; ordinary enrolled actors do not have this management permission. It verifies the complete evidence chain with accepted authority/archive keys and does not create authority merely because a caller supplied it. No state values or action records occur in sync. Existing enrolled callers may retrieve control evidence/status under applicable role policy; only the pinned authority may write its archive. Original-service status and exact duplicate disposition retrieval require the currently authenticated original owner and verified historical evidence under R-OWNER-HISTORY, not current mutation permission. Retirement does not grant general control-evidence retrieval, management access or another role.
10.3 Decisions and comparison
Preparation.acceptedBy, Decision.acceptedBy and Cancellation.acceptedBy MUST each equal the exact id of the allocation authority in the independently pinned, accepted authority context for their world. Verify that equality in addition to the allocation-authority signature under clause 10.1; a genuine authority signature over a different acceptedBy value is insufficient. These fields identify the authority that issues the preparation, accepts the decision or cancels the transition, not the management caller who submits or finalizes the change. Preparation, Decision and Cancellation for one transition MUST identify the same pinned allocation authority; cancellation remains a mutually exclusive terminal disposition, not a decision acceptance. The exact companion schemas/acceptedby-identity-vectors.json supplies fixed interpretation examples for these identity relations; it does not replace verification of complete messages, signatures, authorization, deltas or lineage. An operator identifier, another world's authority identifier, or an unpinned authority identifier MUST NOT substitute.
The authenticated management caller remains separately identified and authorized. Proposal.proposer MUST match that caller's bound identifier under R-PROPOSE, and final acceptance still requires both the independently pinned operator identity and its explicit operator role under R-ACCEPT. Equality of acceptedBy with the authority does not authenticate the caller, confer the operator role, or authorize a proposal or acceptance. An operator and an allocation authority may have distinct identifiers and keys; a valid authorized operator call MUST NOT be rejected solely because its operator identifier differs from acceptedBy.
AcceptRequest contains only protocol, world and transitionId. EvidenceEntry contains exactly proposal, preparation, decision and acceptanceProof. Proposal includes structuralAddition (null for ordinary changes) and artifacts (empty for ordinary changes). DecisionArchiveEntry omits only acceptanceProof. Preparation binds D(original proposal), original predecessor/candidate, change, scopes and relevant predecessor generations. Decision binds D(original proposal), E(preparation), the actual predecessor and resulting complete configuration/D(configuration)/revision. Preparation and Decision carry the same exact structuralAddition as the original Proposal. Its previous and candidate are structural artifact references, distinct from the top-level responsibility configuration predecessor/candidate. Preparation.predecessor/candidate bind the original configuration/D(original candidate); Decision.predecessor binds the actual accepted predecessor after revalidation and Decision.configurationId binds D(result). For structure-add, source/destination are null, scopes and predecessorGenerations are empty, and the added subject list exactly matches the verified new-subject suffix in order. Empty scopes cannot skip whole-delta checks. Receipt binds E(decision), D(proposal), actual predecessor, configuration/revision and archive receipt sequence/link. The configuration predecessor binds the accepted configuration chain. archiveSequence/previousReceipt instead binds the all-event archive link, which can include intervening proposal, preparation or cancellation events; it does not require adjacency among acceptance-only EvidenceEntries. Provider installation and full authority/archive recovery make the distinct lineage claims specified by R-INSTALL, R-EVIDENCE and R-ARCHIVE. Verify all cross-references and the precise authorized original delta; a valid signature alone is insufficient. Rebase cannot weaken original relevant preconditions. The original candidate structural predecessor must equal the actual predecessor configuration's structural reference, including after an unrelated assignment rebase. Decision.configuration preserves all records at that actual head except the authorized delta; it is not a wholesale installation of an older proposed configuration.
Required structural delivery is exactly one {reference,bytes} in Proposal.artifacts, matching structuralAddition.candidate. bytes is bounded unpadded base64url of the complete original canonical artifact, not a URL or retrieval instruction. First check encoded/decoded bounds and decode/re-encode equality; then verify exact digest, revision id, schema, model, previous, semantic validity and additive comparison against retained predecessor bytes. Reject extra deliveries, missing bytes, malformed encoding or any mismatch. Preparation and Decision bind those bytes through D(original Proposal); archived receipt binds that decision. Authority, archive, provider and resolver recovery retain the original bytes and validation evidence. Bootstrap supplies the independently accepted initial bytes through the authorized local channel. No network fetch is authorized by a caller-supplied identifier or URL; no artifact changes authority keys, issuers or trust pins.
Actor addition/removal is identified by the exact actor-record difference between original predecessor and candidate; no new principal namespace, actor target envelope or authority role is introduced. The nonempty affected actor set is derived from that complete delta, even though allocation scopes and predecessorGenerations are empty. The selected change kind is identical in Proposal, Preparation and Decision. Revalidation preserves all current unrelated records and checks the actor preconditions in R-DELTA. History retains original issuer/URI attribution and existing cross-role bindings.
Empty enrollment/grant has no history-continuation prerequisite. Unassigned scope grant source is null, even after prior use. Replacement selects currently allocated source and enrolled destination; source permission or readiness never appears. Historical generations/identities constrain authority reuse, never fresh-state admission. Permission-only or endpoint changes preserve allocation generations and unrelated scoped compatibility without staging source acknowledgement.
10.4 Requests, observations and errors
Intent identity is (world,service,generation,requestContext,subject,field,owner issuer,owner URI,requestId). Canonical complete Intent digest detects changed operation content. AdmissionContext's service/generation must equal Intent target. A new configuration digest or compatible endpoint is routing/authorization evidence, not a new operation. Observation echoes validated request.configuration, representation and resultVersion, plus separate sourceConfiguration and challenge. Non-null representation must equal State.representation.format when state is present; non-null resultVersion must equal State.version. Return a non-null selected result only when that exact account/state remains available and authorized under its agreement; otherwise unavailable, never a silent current substitute. The selector itself does not impose historical retention; each agreement declares its own promises. Observe returns signed requestContext so a client can address new service-local requests. Another provider or new grant does not inherit it. StatusRequest includes its validated configuration and original target/context. StatusResponse echoes that configuration and declares sourceConfiguration. Verify both accepted configurations and original record admission evidence: an available historical original-service disposition remains retrievable after grant supersession, permission loss or actor retirement under R-OWNER-HISTORY, but cannot claim current provider authority or current actor permission. Absent request/source/admission evidence is unresolved. Verify every target, owner, scope and record/reference match before accepting StatusResponse.
After current authentication, original-owner and target checks, a known local record with exact same Intent returns its retained disposition before new permission/precondition/deadline checks, subject to R-OWNER-HISTORY. For new admission validate current relevant authority, current actor participation, owner permission, execution conditions and deadline. A retired actor cannot use an unknown record, a different requestId or changed Intent to obtain admission. If a StatusRequest record is unavailable, report unresolved outcome rather than replaying it or promising retention beyond the selected interface guarantee. For an ActionRequest without an exact retained record, current actor participation is required; otherwise return unauthorized without asserting any earlier outcome. A request targeted at another provider or generation is rejected; it is never silently retargeted. Unknown local context cannot prove predecessor non-admission; use unknown-request-context/unresolved as appropriate. For StatusRequest, a matching original context with no available original request record returns unresolved for the unknown outcome. For ActionRequest, absence is eligible for new admission only under the local non-admission check in R-IDEMPOTENT and current actor/permission checks; missing historical records are not new requests. A retired actor without an exact retained record instead receives unauthorized as specified above, without a claim about earlier outcome. A selected interface may return not-found only for a declared complete local retrieval coverage; that result does not by itself establish a predecessor operation's disposition or authorize replay/readmission.
A RequestRecord's originalBytes is canonical unpadded base64url of the complete canonical ActionRequest first admitted for that qualified Intent identity. Its decoded protocol, world, intent and admissionContext MUST equal originalProtocol, the original world, the retained intent and the retained admissionContext, respectively. intentDigest commits the complete canonical Intent, not the ActionRequest or response envelope. A requester holding the original transmitted ActionRequest MUST compare these decoded bytes exactly before confirming its returned record; checking only the Intent does not establish the retained original admission input. Original authentication evidence identifies the actual original owner and credential assessment, not a current caller assertion.
An exact retained Intent MAY be retrieved under a different independently validated compatible routing/request configuration, as permitted by R-COMPATIBILITY and R-OWNER-HISTORY. That retrieval MUST NOT alter the retained original ActionRequest, original admission configuration, admission/completion Origins, authentication attribution or terminal content. Changed fields in a newly transmitted AdmissionContext remain subject to their own addressed service/generation and selected deadline validation; they do not replace the admitted originals. The requester MUST preserve its original Intent and original transmitted ActionRequest separately from subsequent request/status envelopes. A new StatusResponse echoes its actual validated StatusRequest configuration and uses its actual sourceConfiguration and production/signature context; it does not pretend those fresh enclosing fields were the original admission.
For lifecycle-related action checks, after bounded message validation and current credential authentication, use this order: verify the claimed owner against the actual authenticated issuer/URI; verify the addressed service; verify that Intent and AdmissionContext agree on the original service/generation; verify that the addressed local requestContext is recognized; then look up the original qualified request identity. Owner mismatch is unauthorized; a different addressed service is wrong-service; contradictory target generation is wrong-context; an unrecognized local request context is unknown-request-context. A found record with different complete Intent bytes is idempotency-conflict; an exact found record uses R-OWNER-HISTORY and cannot execute again. Only a request without a matching retained record proceeds to current actor and new-admission checks, including current target authority and the local non-admission check in R-IDEMPOTENT. A retired actor fails that step as unauthorized. These error results do not assert the outcome of unavailable earlier work. Historical exact matches do not fail merely because current grant authority or actor permission has since ended. Other malformed-message, evidence, deadline and domain checks retain their existing requirements.
HTTP errors: unauthenticated 401; unauthorized 403; not-found 404; expired 410; too-large 413; unsupported-media 415; unsupported-agreement, unsupported-protocol, unsupported-structure, incompatible-structure, unsupported-reference, unsupported-mapping, outside-conversion-coverage, ambiguous-clock, unsupported-clock, incompatible-input and missing-input 422; capacity 429; unavailable, unresolved, unresolved-structure, storage-unavailable and authentication-unavailable 503; wrong-context, wrong-service, unknown-request-context, version-conflict, idempotency-conflict, transition-conflict, head-conflict, obsolete-authority and conflicting 409; other malformed/unknown-member/unknown-scope/invalid-value/invalid-representation/invalid-structure 400. Retryable is limited to capacity/unavailable/storage-unavailable/authentication-unavailable. No error mutates accepted configuration or admits an operation. Missing prior state and unproven cessation are not error gates.
10.5 Complete finite bounds
Default HTTP requests are at most 16384 bytes; Proposal 4194304; ArchiveRequest 16777216; evidence sync and all HTTP responses 33554432. Configuration is at most 2097152 decoded canonical bytes, 131072 values and depth 20. A structural artifact is at most 1048576 bytes, 65536 values and depth 12. Temporal artifacts/contexts retain their separately smaller bounds. Decoded signed payloads are at most 4194304 bytes, 262144 values and depth 24; AcceptanceReceipt is additionally at most 4096 bytes. The protected header is at most 4096 decoded bytes and signature exactly 64 bytes. The ordinary agreement-data string limit of 16384 characters does not apply to the separately bounded archive-control base64url fields.
A signed envelope permits at most 5462 protected, 5592406 payload and 86 signature base64url characters; complete canonical JSON is at most 5597998 bytes and network JSON at most 5600000 bytes. Check complete encoded size before decoding or signature verification, then independently check decoded size, value count and depth. Each JSON scalar, array and object counts as one value; keys do not. Depth counts the root as 1. Independently decoded embedded signed payloads and artifact bytes each satisfy their own limits; outer strings do not count their decoded values twice.
Complete network/control parsing and archive/evidence pages permit at most 524288 values and depth 24. A page has at most 16 entries and must reduce entry count to fit the whole byte/count/depth bounds, including configuration context, archive head and every nested envelope, receipt, original Proposal and delivery string. Before issuing Preparation, preflight the actual complete prospective Decision, archive write, receipt and one-entry retrieval forms. Before archive acceptance, repeat preflight with the actual exact signed envelopes and complete response heads. Reserve space for bounded receipt/head metadata. If any required form fails, return too-large before preparation or acceptance, rather than install an unretrievable successor. At least one entry must be returned when entries remain; continuation follows accepted receipt/configuration lineage. Parser timeout is 5000 ms with at most 32 inflight network requests; timeout cannot establish a decision's disposition.
The byte maxima permit a one-entry container of a maximum Proposal plus two maximum canonical envelopes: 4194304 + 2*5597998 = 15390300 bytes, leaving 1386916 bytes within ArchiveRequest for its fixed metadata. A maximum AcceptanceReceipt envelope adds at most 11054 canonical bytes. This algebra is an outer bound, not permission to evade actual count/depth preflight or schema maxima. Complete single-entry and decoded forms are independently checked; adding another entry is never justified by checking entries in isolation. All size failures preserve too-large/413 through transport and verification.
For content-inspection/2, the selected companion CP 0009 edition defines current-target preconditions and compact completion values rather than account-version preconditions or action-generated accounts. The unchanged generic outer carriers support those explicitly distinct representations. One open content-action context is scoped to world and simulation service; qualified request identity retains original generation, public scope and owner. Other agreements retain their own result-retention and execution conditions.
11 Conformance and acceptance evidence
R-CONFORMANCE. This clause concerns mode independent-assignment/3; conformance of mode scoped-delegation/1 is defined by Clause 18. Conforming implementations implement the exact bounded contract, authentication/trust/role checks, accepted reference/responsibility history, complete delta validation, relevant compatibility and service-local request targeting. Claim the exact edition/wire/rules and selected structural/temporal modes. The selected reference specifications govern their interpretation; CP 0005 governs acceptance and assignment. A signature or schema-valid message alone is not conformance. CP 0006 adds no separate regime. No collector, custody service or predecessor state is a prerequisite.
11.1 Public-reference contextual acceptance claim
cp0005.public-reference-acceptance/1 is a separately reported contextual integration class for the existing authority, archive and accepted-evidence consumer. Exercise the standardized proposal/decision/status/evidence paths with disposable identities and durable state. Validate complete selected CP0008 public reference metadata against the expected world before acceptance and when consuming or reopening accepted evidence. Independently presented correctly signed invalid metadata must be rejected at the consumer/archive boundary even if an authority would have rejected its original proposal. A signature does not excuse a foreign world, conflicting catalogue identity or other invalid complete public context.
Rejected inputs do not advance accepted responsibility decisions or contact provider state destinations. Matching-world, coordinate-free and valid bounded-addition controls still succeed and are interpretable. Assess those effects through public decision/status/evidence behavior; supplementary internal inspection is labeled and prescribes no storage engine, record count or layout. This class assesses neither entire authority lifecycle/crash certification nor live credential freshness or provider-state correctness. It creates no organizer authority over simulated poses/values.
11.2 Broader responsibility runtime acceptance
Use independently written providers and actual authenticated protocol exchanges to demonstrate:
- Enroll an authenticated service with zero grants without simulator-state/storage calls.
- Give an already contributing Carol an unused additional scope; accept her own initial state.
- Stop Bob without withdrawal; accurately record unavailable contribution without fabricated preservation.
- Make Bob unreachable and remove all his fixture state; authorize Carol for that previously served scope without source calls, checkpoints, cessation evidence or request history.
- Accept deliberately different Carol values/objects/versions under valid scope and model agreements.
- Return Bob with obsolete allocation evidence; an updated verifier rejects his current claim without claiming instant global convergence.
- End allocation with no retained state, allowing an unprovided scope.
- Lose Bob's action response then appoint Carol; reject the original provider-targeted mutation and automatic replay, leaving original outcome unknown/unavailable.
- Stop/corrupt collector cache with no custody services; assignment/provision remain independent of it.
- Lose a configuration reply; exact decision retry/status retrieves the same accepted decision and no duplicate allocation.
- Reject unauthorized/malformed/mixed configuration changes without altering accepted responsibility.
- Preserve another provider's assignment through the changes with no world reset, acknowledgement or stop command; its actual uptime is not guaranteed.
- Independently interpret fixed temporal positions, durations, leap/coverage boundaries and delayed results, using unequal local cadences; unknown/invalid references fail without reassignment.
- Demonstrate explicit public part selections independently of host identity/private sample count, and matching coarse/detailed inputs under the selected fixed agreement, including missing/mismatched support cases.
- Accept an eleventh eligible part with all providers and inspector offline; preserve existing grants, generations, permissions, agreement, time selection and summary supports. Verify no simulation-state destinations were contacted. Grant the new part separately and then observe actual independent provision.
- Preserve old-subject observations and original local retries through verified additive lineage; missing reference/responsibility evidence returns unresolved without guessed subjects, unassigned status or descendant authority.
- Reject reused IDs, changed old meanings, agreements/time/supports, hidden grants/permissions, invalid relationships and exhaustive-parent growth; leave the accepted head unchanged.
- Lose acceptance replies and restart authority/archive; retrieve one exact terminal decision. Preserve unrelated assignment changes on revalidation and reject intervening structural revisions as conflicts requiring a new proposal.
- Add an authenticated actor with zero permissions without creating a service record, allocation or provider-state call. Reject a fresh observation/action until the relevant permission is separately accepted. Exercise actual caller identity and explicit roles, including an actor sharing a participant binding with a separately assigned service role.
- Remove the actor's permissions and retire it through separate decisions. Reject retirement with any remaining permission and reject a mixed retirement/permission delta. Preserve other roles, grants, generations, admitted requests and historical owner attribution.
- With valid current original-owner credentials and retained admission evidence, retrieve the original disposition after retirement and repeat its exact Intent without a second admission or effect. Reject changed Intent at that identity, a new request and fresh observation; reject revoked/expired credentials before disclosure; preserve unresolved status when original evidence or records are unavailable. After retention expiry and re-enrollment, lack of sufficient retained local request information must not turn an unavailable original Intent into a new admission.
- Re-enroll the same retained identifier/identity with zero permissions; do not restore prior permissions. Reject that identifier bound to another principal, including through another role. Revalidate a concurrent permission grant as a retirement conflict; preserve unrelated actor and assignment changes.
- For a conformance claim that selects a bounded content agreement, expose bounded provider-created contents through the existing Observation representation and process its one selected interaction through ActionRequest/StatusResponse. Verify outer/inner source and scope matching, required-versus-optional meaning and provider-side domain checks. Demonstrate that the generic organizer/resolver does not instantiate the domain model, read provider state or register each content entity.
Demonstrate each implementation as an independent new provider, never as a transfer test. The decisive replacement must pass with predecessor unavailable and no checkpoint/import endpoints or hidden copy. Capture actual destination paths and absence of source contacts. Keep immutable public encoding/signature/schema fixtures separate from actual runtime traces and actual-host deployment evidence.
Regressions include actor addition/retirement and conditional retained-owner access, overlapping scopes, grant-ID-only hidden changes, unauthorized combined deltas, conflicting/rebased proposals, non-reused generations after withdrawal, tampered/wrong-role signatures, stale authority, compatibility across unrelated assignments/additions/endpoints, wrong target/context mutation, original-provider historic status, local exact retries, complete encoded/decoded/page bounds, certificate/CRL validity and credential high-water. Acceptance tests compare reference interpretation and authorization, not equality of independently generated values. No always-successful substitute may stand in for a required dependency.
11.3 Role loading and selected execution
R-ROLE-LOADING. Select the process role before constructing behavioral execution. Authority, archive and resolver validate generic identities, references, declared interfaces and responsibility decisions without importing or constructing a provider behavioral model. They can validate selected agreement schemas/declarations without executing the described model. Unknown agreement declarations do not select a fallback integer or another behavior. Provider execution and interpreting-client code are loaded only for their claimed roles; no arbitrary provider-code fetching is selected.
Content execution under CP 0009 uses its selected event-driven policy through standalone and installed controller entrypoints. Empty local evolution produces no modeled change or phantom tick; other models retain explicitly selected schedules. Claims identify the adopted agreement and advertised entrypoint policy.
This edition's versioned assignment schema is https://cyberplanetary.org/standards/cp-0005/0.15.0/schemas/assignment-responsibility.schema.json. It explicitly supports selected world-structural-description/2 in unchanged outer carriers. Current adoption selects the exact new agreement/structure/schema baseline; no fallback or legacy-format interpretation is provided. Published predecessor editions and registration history remain preserved. Initial selection is distinct from ordinary R-DELTA; this edition defines no data migration or state transfer. Subsequent /2 additive changes follow CP0008 comparison and require a separate explicit grant. Exact request identity, original-owner status and compact retries apply to requests admitted under the selected current release.
11.4 Bounded live exchange claims
cp0005.live-provider-exchange/1 selects the existing authenticated provider observation, action and original-service status interfaces. cp0005.live-requester-response/1 selects construction and preservation of the exact Intent and verification of the complete signed Observation and StatusResponse/RequestRecord chain. Both claims select actual mutually authenticated TLS 1.3, accepted disposable issuer/revocation and authority evidence, finite bounded messages and the exact adopted inner agreement. A claim identifies the participant that performs each obligation, source or installed distribution, agreed realization and supported restart store. An in-process interface or trusted decoded-body reader does not qualify either live class.
The provider claim MUST exercise authenticated source, scope, owner and challenge/selector matching; current per-call credential checks; new-admission authority; original-target addressing; exact Intent identity/content; admission and completion Origins; local durable commitment; domain results; uncertain delivery; exact original retry/status; supported process restart; historical original-owner retrieval and replacement isolation. The requester claim MUST construct its requests itself and preserve original canonical Intent bytes and qualified identity across uncertainty and restart. It MUST verify accepted request/source/admission evidence, authentic source and historical owner context where selected, envelope signatures, echoes, exact record Intent and target, temporal roles and inner result correspondence before confirmation. A signature alone MUST NOT establish these conditions.
An unusable or absent reply leaves disposition uncertain unless separately authenticated original-service evidence establishes it. An opposite later observation does not invalidate an earlier confirmed result, and a matching later value does not confirm an uncertain request. A failed refresh MUST NOT erase a verified retained outcome. A requester MUST NOT change an uncertain Intent's request identifier, owner, deadline, request context, target or canonical content to make a retry appear new; replacement routing MUST NOT silently retarget it.
All mandatory cases for the declared selection MUST execute. Failure to establish the scenario's valid preparation, required fixture authentication, or infrastructure is inconclusive execution rather than detection of the intended defect. When an invalid/expired/revoked credential or missing necessary authentication evidence is the actual prescribed input, the required candidate rejection is assessed as a contractual outcome, not an infrastructure failure. An actual candidate violation fails. Valid non-applicability is confined to an expressly unselected optional role or dependency and MUST NOT suppress a mandatory live step. Supplementary evidence identifies its candidate bytes and precise implementation-specific observation; it does not substitute for required network behavior.
The identified companion live scenario, requirement, class and report artifacts provide executable conformance evidence for these bounded claims. They do not certify the entire authority lifecycle or create additional routing, identity, enrollment, archival or state-approval protocols. Fault and controlled-clock interfaces belong to test apparatus; they are not production endpoints or new modeled temporal references. The apparatus MUST NOT authenticate, authorize, mutate, sign or recover work on behalf of the candidate.
The bounded live selection here is one assigned public content part offering both content-cabinet/2 and content-lamp/1 under the exact adopted place agreement. CP0005 generic live obligations are assessed for those operations, not inferred for all possible domain agreements. For nonvisual spatial production and consumption, the applicable local, local-to-accepted-public, multiple-prefix, directly-public and redundant-public-evidence arrangements and dependent negative checks remain mandatory without requiring meshes or geometric bindings. CP0011 selected exact interpretation obligations apply; this does not require the geometric class.
The selected bounded live test contract is cp-milestone-b-core/1, version 1.0.5. Companion schemas/live-core.json is the exact CORE-MANIFEST with SHA-256 c9a086963a2f73bacda0029d30edab32447b1ddf024da02a8ebe4941d192e57e and commits 3791 immutable public input members. The 6 class definitions, 26 requirement clusters, executable scenario indexes, controller/challenger schemas, signed acceptedBy intake sequences and assessment-report schema are exact mirrored JSON companions named in this edition's schemas/index.json. The standalone core preserves original input bytes and independently selected dependencies; it excludes these owning editions, its own manifest, outer release seal and private candidate evidence. The completed outer release separately seals the published standards closure. No circular document/core commitment or aggregate candidate verdict follows from this selection.
This edition's companion index preserves the committed predecessor primitive resources except the five explicitly new version-qualified annotated schema companions; their syntactic constraints and the wire carriers remain unchanged. Its edition label identifies the owning publication, not a new wire format or an alteration of immutable primitive identifiers. Each declared companion remains within the selected 128-member and one-MiB-per-JSON bounds.
For CP 0005, schemas/compatible-wire-index.json preserves the exact CP 0005 v0.11.0 native primitive index with SHA-256 0f6f9cae3ae6603e07e78fd97ccda7a08ddc7220e8105376d24237852f195e77. The prior primitive index remains an immutable provenance companion. Of its 60 artifacts, 55 retain their exact bytes; this edition selects new version-qualified aggregate, Preparation, Decision, Cancellation and TrustRecord schema resources carrying the acceptedBy annotation, with unchanged syntactic constraints. Wire identifiers cyberplanetary.responsibility/0.7.0 and independent-assignment/3 are unchanged. The owning schema index additionally identifies the fixed acceptedBy identity-relation vectors and live-test companions. JSON Schema validation alone cannot establish the accepted-context identity equality defined in clause 10.3.
12 Scoped delegation mode: selection, roles and companions
This clause and clauses 14 to 18 define the responsibility mode scoped-delegation/1, realized as cyberplanetary.responsibility/0.8.0. In this mode a world has one continuing identity, a world authority whose key is named by the world token, and managers that each administer one context. Managers sign records for their own context only; no participant maintains a complete roster of providers, principals, subjects or grants. A requirement label beginning L- identifies one individually testable requirement of this mode.
R-LOC-MODE. This clause defines the two earlier separately selected responsibility modes. The interactive scoped successor is selected only through L-AGR-1 to L-AGR-4. Mode independent-assignment/3 with wire cyberplanetary.responsibility/0.7.0 is defined by clauses 4 to 11 and is unchanged in meaning. Mode scoped-delegation/1 with wire cyberplanetary.responsibility/0.8.0 is defined by clauses 13 to 18. A world selects exactly one responsibility mode. In scoped-delegation/1 the selection is the member selections.responsibility of the verified WorldEntry (Clause 15); in independent-assignment/3 it is made by the trust pins of clause 5. An implementation claims each mode separately, and a claim for one mode implies nothing for the other. The two modes share no message: scoped-delegation/1 messages carry a format identifier ending /1 that begins locality- and are exchanged only under the route prefix /locality/v1, while independent-assignment/3 messages use the /v5 interfaces of clause 10. A service MUST NOT accept a message of one mode as a message of the other. The identifier cyberplanetary.responsibility/0.8.0 is carried by no record member; a conformance claim names it (Clause 18).
R-LOC-CAPABILITY. The members selections.spatial and selections.terrain of the WorldEntry state which optional capabilities the world offers; selections.structure and selections.content name the structure and content selections defined for this mode. Capabilities are selected per agreement and per scope, not per implementation: a provider supports exactly the capabilities that the Grants it holds cover. A provider whose Grants carry terrain = null need not implement any terrain behaviour to take part in the same world as a provider whose Grants carry a terrain box, and a world whose WorldEntry has selections.spatial = null has no coordinate or terrain requirement for any participant. The fields and operations of one subject's Grant may differ from those of another subject's Grant. A requester that asks for a capability a provider does not hold receives an unsupported disposition or error from that provider (Clause 17); that outcome is not a fault of the world and does not affect any other scope.
12.1 Roles
| Role | Holds | Provides |
|---|---|---|
| World authority | the key whose thumbprint is the 43-character component of the world token | the WorldEntry, the root context, base terrain manifests |
| Manager | the key for one context | the context service: nodes, children pages, delegations, grants, statuses, resolution bundles; the issuer of permissions when authorised |
| Provider | its own key | content, operations and optional fine terrain for the subjects it holds a Grant for |
| Requester | its own key (the principal) | signed queries |
| Base delivery | no key | static, authority-signed immutable tiles and manifests |
The requester principals, world administration, issuers and services are distinct identities; the possession of one role never implies another (L-PERM-3, L-KEY-3). Authority tooling, managers, issuers, base delivery and the assessor are supplied as maintained reference implementations and are not claimed as independently implemented.
12.2 Limits of the mode
The mode defines no moving reference frames, subscriptions or change streams, universal fidelity negotiation, distributed physics, arbitration among overlapping management claims, instantaneous revocation, load balancing, live split or merge of contexts, avatars, transfer of simulation state, massive hosting, WGS 84 or any other real-Earth datum, rotation of the world authority key, or rotation of a manager key. A manager key change is a new Delegation generation with re-signed records. The residual risks of the mode are listed in Annex B.
12.3 Normative companions and semantic checks
R-LOC-COMPANIONS. The following JSON Schema (JSON Schema Draft 2020-12) files designated by schemas/index.json are normative companions of this mode. Each is a closed object schema (additionalProperties is false) and admits no floating-point number. common.schema.json defines the shared tokens, KeyRef, Envelope, Validity, Position, TileBox and ReferenceDecl.
| Format identifier | Companion file |
|---|---|
| shared definitions (L-ENC-5) | common.schema.json |
locality-world-entry/1 |
world-entry.schema.json |
locality-delegation/1 |
delegation.schema.json |
locality-grant/1 |
locality-grant.schema.json |
locality-issuer/1 |
issuer.schema.json |
locality-permission/1 |
locality-permission.schema.json |
locality-permission-request/1 |
permission-request.schema.json |
locality-status/1 |
status.schema.json |
locality-resolution/1 |
resolution.schema.json |
body returned by POST /permission on success |
permission-response.schema.json |
body of POST /status |
status-request.schema.json |
plain error object {"error":Token} |
locality-error.schema.json |
body of GET /health |
health.schema.json |
This mapping from format identifier to file name is the one the kit uses.
The payload schemas of the Node, children page, Query, Answer, results and manifest are companions of the works that define those records.
R-LOC-SEMANTIC. A schema is necessary and not sufficient. An implementation MUST perform the semantic checks below in addition to schema validation, at step 6 of L-ENC-7, and reports a failure with the stated error token (Clause 17). Checks that compare a record with other evidence belong to the context walk (L-RES-2).
| Record | Semantic check | Requirement | Error |
|---|---|---|---|
| any | every validity window has notBefore not greater than notAfter |
L-TIME-1 | bad-schema |
| any | every integer is within the safe range, including inside objects a schema leaves open; an integer outside it is rejected lexically at step 3 of L-ENC-7 | L-ENC-1 | bad-envelope |
| any | a parsed value that violates a numeric bound of the schema | L-ENC-7 | bad-schema |
| envelope | the payload is a JSON object | L-ENC-4 | bad-envelope |
| envelope | typ equals the format expected by the slot |
L-ENC-6 | bad-schema |
| any | an Origin has a port from 1 to 65535, IPv4 octets from 0 to 255, and, when the host is not an IPv4 dotted quad, a non-numeric last label |
L-ENC-5 | bad-schema |
any record with jwk |
kid equals the thumbprint of jwk |
L-KEY-1 | bad-schema |
any record with jwk |
jwk.x is valid, canonical and not of small order |
L-KEY-2 | bad-envelope |
| WorldEntry | authority.kid equals the 43-character world component and the thumbprint of authority.jwk |
L-ENTRY-1 | wrong-world |
| WorldEntry | selections.spatial is null iff spatial is null; selections.terrain is null iff terrain is null; non-null terrain requires non-null spatial |
L-ENTRY-3 | bad-schema |
| WorldEntry | notAfter - notBefore is at most 86400000 |
L-ENTRY-4 | bad-schema |
| WorldEntry | each basePath segment is non-empty and does not begin with . |
L-ENTRY-5 | bad-schema |
| Delegation | manager.context is delegator.context, a dot and one token of at most 16 characters |
L-DEL-1 | bad-schema |
| Delegation | generation is 1 iff previous is null; maxDepthBelow is 0 when rights.delegate is false |
L-DEL-5, L-DEL-7 | bad-schema |
| Grant | status active iff provider is non-null; unassigned only at generation 0 and withdrawn at generation 1 or more; id equals the subject token; generation 0 only as the literal of L-GRANT-6 |
L-GRANT-1, L-GRANT-6 | bad-schema |
| Grant | operations does not list view |
L-GRANT-7 | bad-schema |
| Grant | a non-null terrain is a valid tile box with level not greater than maxLevel not greater than 24 |
L-GRANT-5 | bad-region |
| Issuer | context equals scope.context |
L-ISS-1 | bad-schema |
| Permission | notAfter - notBefore is at most freshness.maxAgeMs |
L-PERM-1 | bad-schema |
| Permission, permission request | every listed subject has the same context | L-PERM-1 | bad-schema |
| Status | asOf is not greater than validUntil, which is at most asOf + freshness.maxAgeMs; digests are unique |
L-STATUS-1 | bad-schema |
13 Encoding, envelope, key and time conventions
The conventions of this clause apply to every record, route and verification of mode scoped-delegation/1. The works that define the Node, children page, Query, Answer and manifest records use these conventions by reference to the labels below. Hash and signature primitives are those of RFC 6234, RFC 8032 and RFC 7638; text encodings follow RFC 8259 and RFC 4648.
L-ENC-1 Canonical JSON. Every signed payload, every digest input and every compared JSON value is ASCII text in which object keys are sorted by ASCII code point at every level, there is no whitespace outside strings, no key occurs twice in an object, arrays keep their stated order, and empty containers are {} and []. Strings consist of printable ASCII characters 0x20 to 0x7E; the only escapes are \" and \\, and a producer MUST fail rather than emit any other character or escape. Numbers are base-10 integers with no +, no leading zero, no fraction, no exponent and no -0, and every integer n satisfies |n| <= 9007199254740991 everywhere, including inside objects the schemas leave open; a received integer outside that range is bad-envelope, rejected lexically at step 3 of L-ENC-7. Booleans and null are literal. No floating-point value appears in any signed payload; every quantity is an integer in a stated unit.
L-ENC-2 Digest. A digest is the text sha256: followed by 64 lowercase hexadecimal digits, computed over the canonical bytes of the payload object and not over the envelope.
L-ENC-3 Base64url. Base64url is the encoding of RFC 4648 section 5 without padding. A decoder MUST reject text that does not re-encode to exactly the same text.
L-ENC-4 Envelope. A signed record travels as the object {"protected":P,"payload":Y,"signature":S} with exactly these members. The HTTP body is any JSON text with those members; its formatting is ignored. P is the base64url of the canonical object {"alg":"Ed25519","kid":K,"typ":T}, Y is the base64url of the canonical payload, and S is the base64url of the 64-byte Ed25519 signature over the ASCII text P + "." + Y. T equals the format member of the payload. protected has at most 256 characters.
L-ENC-5 Common tokens. Each token matches its rule over the full text.
| Name | Rule |
|---|---|
World |
cpw1. followed by 43 base64url characters, a dot and 22 base64url characters, as specified by CP 0001 (versions ^0.2.1); the 43-character component equals the authority key identifier; the 22-character component is the base64url of 16 octets and any such value is accepted |
Token |
[a-z][a-z0-9-]{0,63} |
RequestId |
[a-z0-9][a-z0-9-]{0,63} |
ContextId |
root, or root followed by one to seven components each .[a-z][a-z0-9-]{0,15}; at most 128 characters; the prefix relation between contexts is by dot-separated component, never by character |
SubjectRef |
the object {"context":ContextId,"subject":Token}; its text form is <context>/<subject> |
Origin |
http:// or https://, a host of DNS labels or an IPv4 dotted quad, and an optional :port from 1 to 65535; no userinfo and no path; semantic checks beyond the pattern: IPv4 octets from 0 to 255, and a host that is not an IPv4 dotted quad has a non-numeric last label |
Kid |
43 base64url characters |
Cursor |
base64url text of 0 to 128 characters |
L-ENC-6 Slot typing. The expected format of an envelope is fixed by its slot and never by the payload. Any other typ or format is bad-schema. The slots are:
| Slot | Expected format |
|---|---|
GET /entry response |
locality-world-entry/1 |
GET /delegations/{c} response; resolution delegations members |
locality-delegation/1 |
GET /nodes response; resolution ancestors and node members |
locality-node/1 |
GET /children response |
locality-children/1 |
resolution grant member |
locality-grant/1 |
resolution issuers members; issuerAuth of a permission response or Query |
locality-issuer/1 |
POST /status response; resolution statuses members |
locality-status/1 |
POST /permission request |
locality-permission-request/1 |
permission of a permission response; permission.token of a Query |
locality-permission/1 |
L-ENC-7 Processing order. An implementation processes received data in this order and reports the first failure: (1) size ceilings (L-BUD-2); an envelope whose payload exceeds the ceiling of its format is bad-envelope, and a body of more than 1048576 bytes is 413 payload-too-large; an oversized Query is therefore bad-envelope; (2) a scan for non-ASCII characters and unsupported escapes, before any JSON parsing; (3) a strict JSON parse that rejects duplicate keys, -0, fractions, exponents and integers outside the safe range; (4) for envelopes, base64url exactness, header exactness, payload decoding (a payload that is not a JSON object is bad-envelope) and a comparison of the payload with its canonical re-encoding; (5) validation against the JSON Schema of the slot's format, whose patterns are full-match; (6) the semantic checks of this mode, because a schema is not sufficient (R-LOC-SEMANTIC); (7) the signature. Plain JSON bodies, such as the body of POST /status, use steps 1 to 3 and 5 to 6. Within a context walk (L-RES-2), steps 1 to 6 are applied to every element before the walk begins and step 7 is applied when the walk has established the designated key.
L-KEY-1 Key identifier. A kid is the base64url of the SHA-256 digest of the canonical JWK, which is exactly {"crv":"Ed25519","kty":"OKP","x":X} (RFC 7638). A record that carries a jwk MUST carry a kid equal to its thumbprint; a kid that differs is bad-schema.
L-KEY-2 Strict Ed25519. Verification is the cofactorless verification of RFC 8032 section 5.1.7 with these strict checks: reject S >= L; reject encodings of R or A that are not canonical (y >= p); reject an A of small order. A jwk.x that violates a check is bad-envelope. A verifier MAY additionally reject a small-order R; it is not required to.
L-KEY-3 Designated signer. The kid of an envelope header MUST equal the kid of the key designated by verified evidence, else the error is unknown-signer. The designated key is:
| Record | Designated key |
|---|---|
| WorldEntry | authority.kid, self-certifying, trusted only after L-ENTRY-1 |
| Delegation | delegator.kid: the authority for context root, otherwise the manager preceding in the walk |
| Node, Grant, children page, Issuer, Status | the manager key of the context determined by L-RES-2 |
| Permission | issuer.kid of the issuer authorisation |
| Query | requesterKey.kid |
| permission request | principal.kid, self-certifying |
| Answer | as determined by the content selection |
| manifest | as determined by the terrain representation |
A key SHOULD NOT sign two formats. A manager key MUST NOT equal the provider kid of a Grant that manager signs.
L-TIME-1 Time. An instant is an integer count of milliseconds since 1970-01-01T00:00:00Z read from the producer's host clock; it is a provisional clock estimate in the sense of CP 0007 (versions ^0.3.0). The value skew is 120000 ms and applies only on the future side: a window [notBefore, notAfter] is satisfied if and only if notBefore - skew <= now <= notAfter. A window with notBefore greater than notAfter is bad-schema. The bound on the age of evidence is maxAgeMs (L-STATUS-1) plus clock error. A verifier SHOULD keep floor, the greatest asOf it has seen, and treat now < floor - skew as a clock fault reported as stale-evidence.
14 Records of the scoped delegation mode
Every record is a closed object; the members listed are required. X|null may be null. The canonical size of every record is at most the ceiling of L-BUD-2. KeyRef is {kid, jwk}; Validity is {notBefore, notAfter}; Digest is the text of L-ENC-2.
14.1 WorldEntry
locality-world-entry/1 is signed by the world authority.
format, world, entryId:Token (opaque label), sequence:int>=0, authority:KeyRef,
rootContext:"root", rootSubject:{context:"root", subject:Token},
contextService:[Origin] (1..4),
selections:{responsibility:"scoped-delegation/1", structure:"world-structure-tree/1", content:"locality-content/1",
spatial:"planet-fixed/1"|null, terrain:"planet-elevation-tile/1"|null},
spatial:null|{reference:{id:"planet-fixed", realization:"sphere/1", radiusMm:int 1000..10000000000, units:"millimetre"}},
terrain:null|{baseOrigin:Origin, basePath:string, levelsComplete:int 0..6, toleranceUm:int 0..1000000000},
freshness:{maxAgeMs:int 60000..3600000}, validity:Validity
The spatial.reference member declares the reference planet-fixed/1 of CP 0011 v0.4.0. The members of terrain are interpreted by the terrain representation named in selections.terrain; this edition requires only their form, L-ENTRY-3 and L-ENTRY-5.
L-ENTRY-1 Trust anchor. authority.kid MUST equal the 43-character component of world and the thumbprint of authority.jwk. A client MUST verify these equalities before it trusts the entry. The equality is the only trust anchor of the world.
L-ENTRY-2 Size and content. A WorldEntry has at most 16384 canonical bytes and contains no roster, structure inventory, Grant, permission or history.
L-ENTRY-3 Consistency and sequence. selections.spatial MUST be null if and only if spatial is null; selections.terrain MUST be null if and only if terrain is null; a non-null terrain requires a non-null spatial. A verifier MUST keep the highest accepted sequence per world token, persistently. A candidate entry with a lower sequence is superseded; an entry with an equal sequence and a different digest is conflicting-evidence.
L-ENTRY-4 Validity. notAfter - notBefore MUST be at most 86400000 ms. A client MUST refuse an expired entry and SHOULD fetch the entry again at least once per validity period. A client that has never seen the world cannot detect the replacement of the current entry by an older entry that is still within its validity (see Annex B).
L-ENTRY-5 Base path. The segments of terrain.basePath MUST be non-empty and MUST NOT begin with ..
14.2 Delegation
locality-delegation/1 is signed by the delegator.
format, world, id:Token, generation:int>=1,
delegator:{context, kid}, manager:{context, kid, jwk},
root:SubjectRef, rootPath:[SubjectRef] (0..7),
rights:{manage:true, delegate:bool, createSubjects:bool, enrollIssuers:bool},
maxDepthBelow:int 0..7, endpoints:[Origin] (1..4), validity:Validity, previous:Digest|null
L-DEL-1 Naming and uniqueness. manager.context MUST equal delegator.context, a dot and one token matching [a-z][a-z0-9-]{0,15}. At most one Delegation is active for a manager.context in the world. A verifier that is shown two valid current Delegations, with any ids or keys, for one manager.context, or two for one root, MUST report conflicting-evidence. A context identifier MUST NOT be reused for a different key while the world lasts.
L-DEL-2 Authority. The delegator is the world authority, for context root, or the manager of its context whose own Delegation has rights.delegate = true.
L-DEL-3 Anchor. root names a Node signed by the delegator (L-NODE-3 of CP 0008 v0.5.0) whose subject.context is delegator.context, and rootPath equals the path of that Node. A Delegation is valid only together with that Node (L-RES-2).
L-DEL-5 Replacement. A replacement has the same manager.context and id, a generation exactly one greater than the replaced Delegation, and previous equal to the digest of the replaced payload. generation is 1 if and only if previous is null.
L-DEL-6 Management is not execution. The right manage permits managing nodes, Grants and, where allowed, issuers inside the delegated domain. It confers neither the right to act as a provider nor any requester permission.
L-DEL-7 Attenuation. For consecutive Delegations P (outer) and C (inner) in a walk: C.rights.x implies P.rights.x for delegate, createSubjects and enrollIssuers; P.rights.delegate is true; C.maxDepthBelow is at most P.maxDepthBelow - 1; and C.validity lies within P.validity. The first Delegation, which the world authority signs, has no outer bound. A Delegation with rights.delegate = false has maxDepthBelow = 0.
14.3 Nodes and children pages
The Node (locality-node/1) and the children page (locality-children/1) are defined, with the requirement labels L-NODE-1 to L-NODE-7 and L-CHILD-0 to L-CHILD-5, by CP 0008 v0.5.0 for the structure selection world-structure-tree/1. This mode relies on these properties of a Node, and a Node that lacks one is not accepted into a walk: its subject and revision; its previous; its parent and its path, which lists all ancestors outermost first; its assignable flag; and its delegation pointer {context, delegationId, generation}, which marks the root of a delegated subtree. A Node whose delegation is non-null lives in the delegator's context, is signed by the delegator and is not assignable. The designated signer of every Node, children page and Grant is determined by L-RES-2. Ancestry, names, bounds and meshes create no authority; only a Grant makes a provider responsible.
14.4 Grant
locality-grant/1 is signed by the responsible manager.
format, world, id:Token (constant for the subject; the subject token), subject:SubjectRef, generation:int>=0,
status:"active"|"withdrawn"|"unassigned",
provider:null|{kid, jwk, endpoints:[Origin] (1..4)},
fields:[Token] (<=16, unique), operations:[Token] (<=16, unique), readPolicy:"public"|"token",
terrain:null|{face,level,ix0,iy0,ix1,iy1,maxLevel:int}, validity:Validity, previous:Digest|null
L-GRANT-1 One Grant series per subject. For a subject there is exactly one series of Grants. generation increases by exactly 1 with each replacement and is never reused, including after an unassigned interval. previous is the digest of the preceding Grant of generation 1 or more (a withdrawn Grant belongs to the chain) and is null for generation 1; the generation-0 literal of L-GRANT-6 is outside the chain. A Grant with status = active MUST have a non-null provider; a Grant with status = withdrawn or unassigned MUST have a null provider. The status unassigned occurs only at generation 0; a Grant of generation 1 or more that ends a provider uses withdrawn.
L-GRANT-7 Implicit view. A Grant whose operations lists view is bad-schema: view is implicit for every aspect listed in fields.
L-GRANT-2 Authority. A Grant is signed by the manager of the subject's context, and the subject's Node is assignable.
L-GRANT-3 Delegation is not execution. A Grant, never a Delegation, makes a provider responsible, and only for the listed fields and operations of that one subject; it covers no descendant, sibling or later subject. The aspect tokens that fields can list are state, description and operations; an operation token such as set-on names an operation. A verifier treats a token it does not recognise as covering nothing and does not reject the Grant for it.
L-GRANT-4 Unique provider. Two valid current active Grants for one subject are conflicting-evidence.
L-GRANT-5 Terrain coverage. A non-null terrain declares the tile box, and the finest level maxLevel, of the fine tiles that the provider may contribute under the terrain representation. A box is a valid TileBox in the sense of CP 0011 v0.4.0, otherwise the error is bad-region. Finer samples never create authority.
L-GRANT-6 Initial statement. If a subject has never had a Grant, the manager MAY serve the signed literal Grant whose members are id equal to the subject token, generation 0, status unassigned, provider null, fields [], operations [], readPolicy public, terrain null, validity any window, and previous null. The manager MUST NOT sign this literal if any Grant of generation 1 or more has ever existed for the subject. When it issues a Grant of generation 1 or more it MUST mark every outstanding generation-0 digest superseded. An unassigned assessment (L-RES-3) requires a fresh verified Grant whose status is unassigned or withdrawn.
14.5 Issuer authorisation
locality-issuer/1 is signed by a manager.
format, world, id:Token, generation:int>=1, context:ContextId, issuer:KeyRef, scope:SubjectRef,
validity:Validity, previous:Digest|null
L-ISS-1 Issuer authorisation. context MUST equal scope.context and the context of the signer. scope is a verified Node of that context. The signer's Delegation has rights.enrollIssuers = true; for context root the signer is the world authority. A subject S is covered by the authorisation if and only if S.context equals context and either S equals scope or scope occurs in the verified path of S. The identity of an authorisation is the triple world, context and id; an id is chosen by the signing manager and needs to be unique only within its context, with no coordination between managers of different contexts (no planet-wide issuer registry exists or is needed). Every high-water, predecessor, replacement, status and equivocation check uses that qualified identity (L-RES-2 step 6). A replacement has the same context and id, a generation exactly one greater and previous equal to the digest of the replaced payload.
14.6 Permission and permission request
locality-permission/1 is signed by an authorised issuer; locality-permission-request/1 is signed by the principal.
permission: format, world, id:RequestId, principal:KeyRef, issuer:Kid,
scope:{subjects:[SubjectRef] (1..8, one context), operations:[Token] (1..16)}, validity:Validity
permission-request: format, world, id:RequestId, principal:KeyRef, issuer:Kid,
scope:{subjects, operations}, createdAt:int
L-PERM-1 Validity and coverage. validity.notAfter - validity.notBefore MUST be at most freshness.maxAgeMs. Revocation of a principal before expiry is by non-renewal. A permission names no provider, so replacing the provider does not invalidate it. A provider checks a supplied permission in this order. First: the signature, the validity window, the binding of the principal to the requester, membership of the requested operation in the scope, and the signature of the issuer authorisation; any failure is permission-denied. Then: a queried subject outside the permission scope is scope-exceeded. Last: coverage of the queried subject by the issuer authorisation and its status, failing as permission-denied, or as stale-evidence when the issuer status cannot be obtained. "First" means before coverage. A supplied permission that fails verification is permission-denied for every kind of query, even where the query would not have needed it. A provider checks coverage for the queried subject only and never fetches the Nodes of other listed subjects. A permission is valid for that subject only if the issuer authorisation is verified, has status current, has a validity window that contains the permission's window, and covers that subject. All listed subjects MUST belong to one context. The issuer authorisation MUST cover every listed subject; that is the issuer's duty. An issuer MUST NOT list in a permission a subject its authorisation does not cover.
L-PERM-2 No enrolment. No enrolment of a principal in any planet-wide or regional list is required to read permitted content or to present a permission.
L-PERM-3 Distinct identities. Requester principals, world administration, issuers and services are distinct identities.
L-PERM-4 Operations. The operation view authorises the state and operations aspects of a Grant whose readPolicy is token. The operation set-on does not imply view.
R-LOC-PERMREQ Permission request. issuer of a permission request is its audience. An issuer MUST reject a request whose createdAt is outside [now - 300000, now + skew] with the error expired. A request is self-certifying: the signature is verified under principal.jwk, whose thumbprint MUST equal principal.kid. The issuer answers with the object {"permission":Envelope,"issuerAuth":Envelope} or the plain error {"error":Token}. Its refusal tokens are permission-denied (refusal by policy), scope-exceeded (a requested subject lies outside its issuer authorisation), expired (the createdAt window) and the envelope and schema tokens of L-ENC-7.
14.7 Status
locality-status/1 is signed by the issuing manager.
format, world, context:ContextId, asOf:int, validUntil:int,
records:[{digest:Digest, status:"current"|"superseded"|"revoked"}] (1..32, unique digests)
L-STATUS-1 Bound. asOf is at most validUntil, and validUntil is at most asOf + freshness.maxAgeMs of the verifier's accepted WorldEntry. A status is fresh if and only if asOf - skew <= now <= validUntil.
L-STATUS-2 Issuing context. The issuing context of a Delegation is delegator.context. The issuing context of a Node, Grant or Issuer is the context of its signer; for a Node with a non-null delegation it is the delegator's context. A WorldEntry is not covered by statuses.
L-STATUS-3 Acceptance. A status is acceptable for a record R only if its world matches, its context equals the issuing context of R, its signature verifies under the manager key of that context established by the walk (the world authority for root), and the digest of R, as computed by the verifier, is listed.
L-STATUS-4 Precedence. If any fresh acceptable status lists R as superseded or revoked, R is unusable, irrespective of other statuses. A verifier MUST persist a terminal revoked or superseded per digest and MUST NOT accept current for that digest afterwards. An issuer MUST NOT list such a digest as current again. An absent or stale status is stale-evidence and is never success.
L-STATUS-5 Retrieval. POST /locality/v1/status with the body {"digests":[Digest]} (1 to 32 unique digests) to the service of the issuing context returns one status envelope that covers exactly those requested digests that the service issued and knows. Digests it did not issue are omitted; if none remains the answer is the plain error not-found. A verifier MAY group the digests of one issuing context into one request. A freshly fetched bundle carries its own fresh acceptable statuses, and a missing or stale one is stale-evidence. POST /status is used to refresh cached evidence, to obtain a newer Grant status before a set-on operation, and to obtain the status of the issuer authorisation, which is checked on every permissioned Query.
14.8 Resolution bundle
locality-resolution/1 is an unsigned container.
format, world, subject:SubjectRef,
ancestors:[Envelope] (Nodes, one for each element of the subject's path, outermost first, 0..8),
delegations:[Envelope] (one for each delegated ancestor, outermost first, 0..7), node:Envelope,
grant:Envelope|null, issuers:[Envelope] (0..2), statuses:[Envelope] (0..10)
R-LOC-BUNDLE Carrier. A bundle is a carrier and confers no authority: every element is verified under L-RES-2, and an extra or a missing element is an error or missing evidence. The text of a bundle is at most 262144 bytes. A route never confers authority.
15 Resolution, discovery and provider startup
L-RES-1 Start. From the verified WorldEntry (L-ENTRY-1) a client holds the authority key, rootContext, rootSubject and freshness.maxAgeMs. All trust in later evidence derives from that key through Delegations.
L-RES-2 Context walk. To verify a subject S from a bundle B at the time now, a verifier performs the steps below in this order and reports the first failing check by the token given in L-RES-4. It holds the accepted WorldEntry and a persistent high-water store.
- Envelopes. Apply steps 1 to 6 of L-ENC-7 to every element of B in slot order:
ancestors,delegations,node,grant,issuers,statuses. Theworldof B and of every element MUST equal the world token the verifier started from. - Walk. Let P be the
pathof the verifiedB.node, which is S. Setcur = "root",curKeyto the authority key,prevto none anddi = 0. For k from 0 to the length of P minus 1, let X beB.ancestors[k]: X.subjectequals P[k];X.pathequals P[0..k-1];X.parentequals P[k-1], or for k = 0 is null withX.subjectequal torootSubjectof the WorldEntry.X.subject.contextequalscur; the headerkidequalscurKey.kid; the signature verifies undercurKey.- If
curis notroot, the Delegation ofcurhasrights.createSubjects = true. - If
X.delegationis non-null, let D beB.delegations[di]and incrementdi. D MUST satisfy:D.delegatorequals{context: cur, kid: curKey.kid}; the signature of D verifies undercurKey;D.rootequalsX.subject;D.rootPathequalsX.path;D.manager.contextequalsX.delegation.context;X.delegation.delegationIdequalsD.idandX.delegation.generationequalsD.generation; the naming rule of L-DEL-1; ifcuris notroot, the Delegation ofcurhasrights.delegate = true(L-DEL-2); the attenuation of L-DEL-7 againstprev; and the number of Delegations that follow D in the walk is at mostD.maxDepthBelow(elsenot-authorized). Then setprev = D,cur = D.manager.contextandcurKey = D.manager. - If
X.delegationis null, the context of every later element MUST remaincur; a later element with another context isout-of-domain. - Subject.
B.nodeis S:S.subject.contextequalscur; the headerkidequalscurKey.kid; the signature verifies undercurKey;S.pathequals P;S.parentequals the last element of P, or is null if P is empty;S.delegationis null; and ifcuris notrootits Delegation hasrights.createSubjects = true. All Delegations of B MUST have been consumed (diequals the number ofB.delegations). - Grant (if the assessment concerns responsibility). With G =
B.grant:G.subjectequals S;G.idequals the subject token of S; the headerkidequalscurKey.kid; the signature verifies undercurKey;S.assignableis true; the shape rules of L-GRANT-1 and L-GRANT-6 hold. - Validity. The window of every Delegation, Grant and issuer authorisation satisfies L-TIME-1, else
expiredornot-yet-valid. - Status. For every record R among each Delegation, each ancestor Node, S, G and each issuer authorisation, an acceptable fresh status (L-STATUS-3, L-STATUS-4) exists and lists R as
current. A listing ofrevokedorsupersededgives those errors; a missing or stale status givesstale-evidence. - High-water and equivocation. Keyed by the full world token: a Delegation by
manager.context(generation); a Node by subject (revision); a Grant by subject (generation); an issuer authorisation by its qualified identity, the pair (context,id) of its own payload (generation), so that the sameidin two different contexts names two unrelated authorisations that never share a mark; a WorldEntry by world (sequence). A candidate below the stored mark issuperseded. The same key and generation with a different digest, or two valid payloads of the same signer with the same qualified identity (for an issuer authorisation:contextandid) and generation, isconflicting-evidence. The marks are updated atomically and only after all steps succeed.
L-RES-2a Tokens for walk failures. (i) Any mismatch between a bundle element and the claim it must match (X.subject, X.path, X.parent, D.root, D.rootPath, D.manager.context, the pointer fields of X.delegation including id and generation, bundle.subject, the naming rule of L-DEL-1, and generation = 1 if and only if previous is null) is bad-schema. (ii) Missing evidence (fewer ancestors or Delegations than required, or a missing Grant for an assignable subject) is evidence-unavailable, and a missing status is stale-evidence; surplus ancestors and unconsumed Delegations are bad-schema. Missing evidence is judged by count (evidence-unavailable) before any position-wise mismatch (bad-schema). (iii) Failures of rights, attenuation (L-DEL-7), validity containment, createSubjects, delegate, enrollIssuers or maxDepthBelow, a non-assignable subject, and a manager key equal to the provider kid of a Grant it signs are not-authorized; a subject whose context is not the current context of the walk is out-of-domain. (iv) A status for an on-chain context with a foreign header kid is unknown-signer and with a bad signature is bad-signature; a status for a context not on the chain is ignored; a status of the wrong context for a record does not count for it (stale-evidence). (v) Two valid current Delegations for one manager.context or one root, and a replacement of generation +1 whose previous is not the accepted digest, are conflicting-evidence; the same rule, and the rule that an equal generation with a different digest is conflicting-evidence, apply to Nodes, Grants and issuer authorisations (the last under the qualified identity of step 6 of L-RES-2) as well as Delegations; this is visible across calls through persisted state or through GET /delegations/C. (vi) Issuer authorisations in a bundle need a status only when the bundle is used to verify a permission; a bundle for a provider MAY omit them, because the provider checks the issuerAuth it receives with each Query through POST /status.
L-RES-2b State. Terminal revoked and superseded marks shown by a fresh acceptable status are persisted even if the verification later fails, because they only restrict. High-water marks and the clock floor are updated only on success. A client persists the entry sequence, the accepted marks, the terminal marks and the clock floor across invocations, and keeps retained verified tiles until they are replaced.
L-RES-3 Assessment. The assessment of a verification is one of four values. applicable: a verified fresh active Grant covers the requested aspect or operation. unassigned: the conditions of L-GRANT-6 hold. unresolved: evidence is missing, unfetchable or stale. conflicting: the verifier has conflicting-evidence. Missing evidence is never unassigned.
L-RES-4 Errors in order. A verification reports the error of the first failing check of L-RES-2 in traversal order, using this vocabulary: bad-envelope, bad-schema, wrong-world, bad-signature, unknown-signer, cycle, depth-exceeded, out-of-domain, not-authorized, expired, not-yet-valid, revoked, superseded, conflicting-evidence, stale-evidence and evidence-unavailable. The tokens of the checks are:
| Check | Token |
|---|---|
| size, escapes, parse, canonical form, header, key encoding | bad-envelope |
| schema, semantic shape, any mismatch of an element with its claim (L-RES-2a), naming, surplus ancestors, unconsumed Delegations | bad-schema |
world differs from the starting token |
wrong-world |
| signature does not verify | bad-signature |
header kid differs from the designated key, delegator differs from {cur, curKey.kid} |
unknown-signer |
| a reference repeats in a path or occurs in its own path | cycle |
a Node path of more than 8 elements, a Delegation rootPath of more than 7 elements, or more than 7 Delegations |
depth-exceeded |
| a subject whose context is not the current context of the walk | out-of-domain |
missing right (createSubjects, delegate, enrollIssuers), failed attenuation, validity containment or depth consistency, subject not assignable or a delegated root, a manager key equal to the provider kid, no covering Grant |
not-authorized |
| a window has ended, or has not yet begun | expired, not-yet-valid |
status revoked, status superseded, or a candidate below a high-water mark |
revoked, superseded |
two valid payloads for one key and generation, two current Delegations or active Grants |
conflicting-evidence |
| absent or stale status, clock fault | stale-evidence |
| required evidence unfetchable or missing (L-RES-2a) | evidence-unavailable |
The companion schemas admit up to 16 entries in path and in rootPath, so that the semantic check reports these length limits as depth-exceeded. The errors stale-evidence and evidence-unavailable give the assessment unresolved; conflicting-evidence gives conflicting; every other error rejects the chain. A failed verification MUST NOT advance accepted state.
L-RES-5 Locality of work. Resolving S costs work proportional to the delegation depth (at most 7), the path (at most 8) and one page, never to the number of providers, principals, subjects or Grants in the world. A service MUST NOT hide a scan of the whole world behind a small response. The measure is the instrumented access count of L-INSTR-1.
L-RES-6 Local administration. A manager adds nodes, enrols providers, signs and withdraws Grants and authorises issuers by signing records and updating its own statuses. No planet-wide configuration, acknowledgement by another manager or global digest change is involved. Serialization inside one context is legitimate; global serialization is not selected. A change in an unrelated context MUST NOT invalidate evidence that was sufficient before it.
L-RES-7 Replacement. A Grant of the next generation that names another provider key replaces a provider. The replacement supplies its own contents; no contact with the predecessor, transfer of state, proof of cessation or continuity agreement is a condition. Content that comes from a different pair of provider kid and Grant generation is a different source and MUST be labelled as such. For a state-changing operation the provider MUST hold a status for the digest of its Grant with asOf >= now - min(maxAgeMs, 60000). Replacement of a predecessor that does not cooperate is therefore bounded by that window and is not instantaneous (see Annex B).
L-RES-8 Unavailability. An unreachable service, or the error evidence-unavailable, yields unresolved. Previously accepted fresh evidence remains usable until its status expires, and unrelated regions remain usable.
L-DISC-1 Service discovery. The service for context C is: for root, the origins of WorldEntry.contextService; otherwise the endpoints of the current Delegation whose manager.context is C, fetched with GET /delegations/C from the service of the delegator. The service that signs a Node is the service for node.subject.context; the service that signs a children page is determined by L-CHILD-0 of CP 0008 v0.5.0. A provider obtains its resolution bundle with GET /resolve/{c}/{s} from the service for the subject's context, starting from an untrusted origin hint supplied by its operator and from the WorldEntry, and walking by this rule. A client that holds only a WorldEntry finds the service of a context by fetching Delegations from the root service downwards. Any endpoints value is a hint and carries no authority.
L-PROV-1 Authority to answer. Before answering for a subject S a provider MUST hold a verified bundle (L-RES-2) whose Grant is active, has provider.kid equal to the provider's own kid and covers the requested aspect or operation. The provider MUST refresh the statuses before their validUntil and, when it cannot, refuses with not-authorized or stale-evidence. A provider uses its cached accepted WorldEntry while it is valid, and fetches it again when it is outside its validity window and once for each refresh of evidence, under the sequence and digest high-water rules of L-ENTRY-3. An expired entry that cannot be fetched again gives stale-evidence.
L-PROV-2 Restart. A restart restores verified artifacts, accepted high-water marks and the replay table of the content selection (L-QUERY-5 of locality-content/1). It does not restore a decision history or a backup of the simulation.
L-PROV-3 Manager outage. An established provider with fresh evidence keeps serving through an outage of its manager.
16 Services, routes, errors and budgets
R-LOC-HTTP. Services of mode scoped-delegation/1 use HTTP/1.1 (RFC 9110). Bodies are UTF-8 JSON with Content-Type: application/json; tile files use image/png. All routes are under the prefix /locality/v1. An unknown route is 404 not-found; a wrong method is 405 with an Allow header; a body of more than 1048576 bytes is 413 payload-too-large. A response for authority base tiles and manifests and for Node revisions fetched by revision carries Cache-Control: public, max-age=31536000, immutable; provider contribution tiles and manifests carry Cache-Control: no-cache; every other response carries Cache-Control: no-store. A response to GET carries Access-Control-Allow-Origin: *. A client MUST NOT follow redirects. In the path of a route, {c} and {s} are plain path segments without percent-escapes. A service answers only for the subjects it serves: the nodes of the contexts it manages, children pages and resolutions as L-CHILD-0 determines (including the delegated root of its own Delegation), and the statuses it issues. It answers 404 unknown-context otherwise.
R-LOC-ERRORS Error channels. An error is an unsigned plain object {"error":Token} with the HTTP status of the registry below, unless a verified Query exists. When a provider has verified a Query (L-ENC-7 steps 1 to 7, the world and the provider kid) it answers HTTP 200 with a signed Answer that carries the error in its error member. A request that cannot be bound to a Query digest receives the plain object. The same token has the same meaning in either channel.
Before the signature of a Query verifies, every error is plain, namely bad-envelope, bad-schema, wrong-world, unknown-signer, bad-signature or payload-too-large. After it verifies, every error is a signed Answer with HTTP 200, reported in this order: wrong-provider, expired, the Query-level semantic errors (bad-region, region-too-large, malformed-cursor), the authorisation errors (not-authorized, permission-denied, scope-exceeded), the replay errors, and then unsupported or not-found. An oversized Query payload is bad-envelope; only a request body above 1048576 bytes is 413 payload-too-large. The optional subject parameter of the provider manifest route is interpreted by the terrain representation.
16.1 Routes
| Role | Route | Result | Defined by |
|---|---|---|---|
| Root | GET /entry |
WorldEntry envelope; the bootstrap origin is learned out of band and is trusted only by L-ENTRY-1 | this mode |
| Context | GET /nodes/{c}/{s}[?revision=n] |
Node envelope from the service for context c; a malformed revision is 400 bad-schema, an absent one 404 not-found |
structure selection |
| Context | GET /children/{c}/{s}?cursor=&limit= |
children page for the parent c/s, served as L-CHILD-0 determines |
structure selection |
| Context | GET /delegations/{c} |
the current Delegation whose manager.context is c, served by the service of the delegator |
this mode |
| Context | GET /resolve/{c}/{s} |
locality-resolution/1 bundle for the assignable subject c/s, from the service for c |
this mode |
| Context | POST /status |
status envelope (L-STATUS-5) | this mode |
| Issuer | POST /permission |
permission-request envelope in; {"permission","issuerAuth"} or {"error"} out |
this mode |
| Provider | POST /query |
Answer envelope | content selection |
| Provider | GET /manifest/{face}/{level}/{cx}_{cy}.json[?subject=<context>/<subject>], GET /tiles/{face}/{level}/{ix}_{iy}.png, under <endpoint>/locality/v1 |
contribution manifest envelope, tile bytes; an absent resource is 404 not-found |
terrain representation |
| Base | GET <baseOrigin><basePath>manifest/{face}/{level}/{cx}_{cy}.json, GET <baseOrigin><basePath>tiles/{face}/{level}/{ix}_{iy}.png |
base manifest envelope, tile bytes; an absent resource is 404 not-found |
terrain representation |
| All | GET /health |
{"ok":true} |
this mode |
16.2 Error registry
The registry is closed: no other token is an error of this mode.
Plain channel, with the HTTP status:
| Token | Status |
|---|---|
bad-envelope, bad-schema, wrong-world, bad-limit, bad-region, region-too-large, malformed-cursor, expired |
400 |
bad-signature, unknown-signer |
401 |
not-found, unknown-context |
404 |
method-not-allowed |
405 |
cursor-expired |
410 |
payload-too-large |
413 |
budget-exceeded |
429 |
terrain-overlap (refusal by a manager of an overlapping terrain box) |
409 |
unsupported |
501 |
evidence-unavailable, stale-evidence |
503 |
The tokens invalid-tile and invalid-manifest are reader-side rejection tokens of the terrain representation and are never sent.
Answer channel (HTTP 200 with a signed Answer): not-authorized, permission-denied, scope-exceeded, wrong-provider, expired, replay-conflict, unsupported, unavailable, out-of-coverage, not-found, stale-evidence, evidence-unavailable, budget-exceeded, bad-region, region-too-large and malformed-cursor, together with the chain errors of L-RES-4.
L-BUD-1 Budgets per attempt. An attempt begins at a WorldEntry fetch or at the first request for a subject. It counts every HTTP request, including retries, except manifest and tile fetches. The limits of an attempt are 64 requests, 4194304 wire bytes, 16 children pages and 7 delegation levels. For a command-line client one attempt is one invocation. A client that reaches a budget reports unresolved or partial (browsing: complete:false; resolving: assessment unresolved) and never an invented result. The budget bounds an attempt and not the population of the world.
L-BUD-2 Size and policy. The ceilings on canonical payloads are: WorldEntry 16384 bytes; Delegation, Node, Grant, Issuer, Permission, Status and permission request 8192 bytes each; manifest 65536; children page 65536; Query 65536; Answer 1048576. A provider that resolves a chain for a Query obeys L-BUD-1 for each Query, keeps global and per-requester concurrency caps of at most 8 and 4 outstanding chain resolutions, and answers budget-exceeded beyond them. A verifier fetches only from origins permitted by its local policy. A loopback, link-local or private-range origin is fetched only if the local policy lists it; the demonstration configuration does.
L-INSTR-1 Instrumentation. A role under assessment exposes cumulative counters of records read, bytes read and signature verifications through a command-line or file interface defined by the kit (vlocality-kit ^1.0.3). The counters are never part of the semantics of a candidate.
17 Conformance of the scoped delegation mode
R-LOC-CONFORMANCE. Conformance to mode scoped-delegation/1 is evaluated by the public locality conformance kit, release range ^1.0.3 of the protocol repository (vlocality-kit ^1.0.3); a claim names the exact release used. A conformance statement identifies the edition (CP 0005 0.15.0), the mode scoped-delegation/1, the wire identifier cyberplanetary.responsibility/0.8.0, the roles claimed and the capability selections of the world or scope concerned (R-LOC-CAPABILITY). The requirements of the claimed roles listed below, together with those of the works that define the records a role handles, form the claim. A role claim states only what its role requires; it does not extend to roles that were not claimed. The kit binds each requirement label to a test. This edition makes no claim that any implementation conforms.
R-LOC-CLASSES. The roles of the kit are authority, manager, base-delivery, provider, client and assessor. This edition defines the following obligations for them.
| Role | Requirements of this edition |
|---|---|
authority |
L-ENC and L-KEY conventions; sign the WorldEntry (L-ENTRY-1 to L-ENTRY-5); sign the Delegations of context root (L-DEL-1 to L-DEL-7); statuses for context root (L-STATUS-1 to L-STATUS-5); the routes GET /entry, GET /delegations/{c}, POST /status, GET /resolve/{c}/{s} and GET /health for the contexts it serves |
manager |
the conventions of clause 14; L-DEL-1 to L-DEL-7 for the Delegations it signs; L-GRANT-1 to L-GRANT-6; L-ISS-1; L-PERM-1 to L-PERM-4 and R-LOC-PERMREQ when it acts as issuer; L-STATUS-1 to L-STATUS-5; L-RES-5 to L-RES-7; L-DISC-1; the routes of R-LOC-ROUTES that it serves; L-BUD-2; L-INSTR-1 |
provider |
the conventions of clause 14; L-PROV-1 to L-PROV-3; L-RES-2 as verifier of its own Grant; L-RES-7; L-PERM-1 to L-PERM-4 as verifier; L-STATUS-3 and L-STATUS-4; L-BUD-1 and L-BUD-2 for each Query; the error registry; the routes it serves; L-INSTR-1 |
client |
all verification rules: L-ENTRY-1 to L-ENTRY-5, L-RES-1 to L-RES-8, L-DISC-1, L-STATUS-3 to L-STATUS-5, L-BUD-1, L-BUD-2 and the conventions of clause 14 |
base-delivery, assessor |
the conventions of clause 14 and, for base-delivery, the terrain routes; these roles are supplied as maintained reference implementations (R-LOC-ROLES) |
A requirement owned by another work, for example a Node, children page, Query or Answer rule, forms part of a claim when the role handles that record; it is cited by its label and is not restated here.
R-LOC-CLAIMS. A provider claim and a client claim that name different capability selections are independent: a provider that holds only Grants with terrain = null is assessed without terrain requirements, and a world without spatial is assessed without coordinate requirements. The kit's instrumentation interface (L-INSTR-1) and its fault and clock controls belong to the test apparatus; the apparatus MUST NOT sign, authorise or answer on behalf of a candidate.
18 Interactive scoped responsibility and agreement selection
L-AGR-1 Selected family. The responsibility mode scoped-delegation/2, wire identifier cyberplanetary.responsibility/0.9.0, selects recursive public descriptions and authenticated agreement exchanges. Its entry format is interactive-world-entry/1; its structure selection is dynamic-description-links/1 of CP 0008 v0.5.0. It is a distinct selection from scoped-delegation/1 and independent-assignment/3. A conforming implementation of this family MUST NOT be required to implement either earlier content API or the complete-roster allocation branch. Earlier named selections retain their own requirements and closed formats. An interactive request is never a locality Query or a flat-branch ActionRequest.
The family uses the signed Delegation, Node, Grant, Issuer, Permission and Status evidence primitives and the finite context walk of clauses 14 to 17, with the explicit entry substitution below. It uses their /locality/v1 evidence services, not their content Query/Answer selection. These records retain their original identifiers, schema shapes and designation of signers. The family owns no universal simulation ontology, body shape, cognition implementation, shared tick, assembled authoritative world state or migration of an executing process. An assigned provider remains accountable for accepted consequences even when another host executes a computation.
L-AGR-2 Entry. The world authority signs interactive-world-entry/1 with exactly the members required by interactive-world-entry.schema.json: format, world, entryId, sequence, authority, rootContext, rootSubject, contextService, freshness, selections and validity. selections contains responsibility, structure and agreements. The authority/world thumbprint equalities, persistent sequence high-water mark, equal-sequence conflict rule, maximum 24-hour validity and no-roster rule of L-ENTRY-1 to L-ENTRY-4 apply to this entry. A verifier MUST perform those checks before treating its discovery origins or selected agreements as authoritative. In the context walk, this verified entry occupies exactly the WorldEntry trust-anchor slot; every other primitive and its issuing authority are unchanged. Terrain and spatial capabilities, when selected, are declared by their agreement artifacts; an absent optional agreement creates no requirement to implement it.
L-AGR-3 Immutable agreement. An AgreementRef is {id,version,digest} with the exact definitions of interactive-common.schema.json. Slash notation such as interactive-exchange/1 denotes id:interactive-exchange, version:v1. The digest is the SHA-256 of the canonical immutable selection object, not its envelope, its pretty-printed file or itself. An exchange artifact MUST name exact operations, their payload schemas, permission mappings, a closed error-token registry and finite bounds, and commit each schema/resource by digest. An information-only artifact has operations:{} and permissions:{} and commits its named record schemas and interpretation rules instead. A separately declared discovery map may identify a bounded GET route and its designated signer; such discovery is not an exchange operation. An information-only spatial query/result is a local interpretation input/output, not a transform-server request. Before using a contract, a peer MUST resolve the locally supported artifact and verify the entry's exact identity and digest. An unknown required agreement is unsupported; an optional unknown agreement blocks only that capability. A peer-supplied arbitrary schema is not authority to reinterpret an operation. The concrete common agreement artifact is interactive-exchange-selection.json; schema commitments name exact file bytes. The artifact itself has no self-digest.
L-AGR-4 Stability. Ordinary Grant issuance, source restart, interest change and entity travel MUST NOT change the selected agreement meanings. Adoption of a changed artifact requires a new entry sequence and an explicit new agreement selection; existing requests retain their original artifact digest and original source. A provider replacement permits its own fresh contents and does not inherit predecessor state, replay records, active controls or interests. A selected entity-state continuity agreement can separately impose narrower obligations; unsupported or unavailable continuity does not prevent fresh assignment.
18.1 Source-qualified capability offers
L-CAP-1 Offer. GET <origin>/interactive/v1/offers/{context}/{subject} returns an envelope whose slot format is interactive-offer/1. The origin MUST be one of the current verified Grant's provider endpoints. The payload is {format,source,providerKey,grantDigest,sequence,validity,agreements}. An agreement offer contains {agreement,roles,operations,endpoint,limits}. Role arrays are unique, 1 to 16 entries, and operation arrays are unique, 0 to 16 entries; offers contain 1 to 16 agreements and at most 65536 canonical bytes. endpoint MUST be a verified Grant endpoint origin, with no redirect, path, userinfo or inferred endpoint. An information-only offer has an empty operation array; retrieval requires a separately offered common interactive-exchange/1 record-get operation. This route discovers support for one qualified subject only and never enumerates a world's providers. A missing offer is not-found; an unassigned subject has no provider offer.
L-CAP-2 Authority binding. source is the DynamicSource of CP 0011 v0.4.0: {world,context,subject,field,service,generation,incarnation}. field is content; service MUST equal the verified Grant's provider kid and generation its positive integer generation. World/context/subject and grantDigest MUST match the fresh current active Grant and Node walk. providerKey MUST equal that provider's public key and thumbprint; the envelope is signed by that key. A verifier MUST reject every mismatch as wrong-provider, unknown-signer or stale-source, without treating geometry, offer possession or successful execution as an assignment. The incarnation is 22 to 64 base64url characters generated from at least 128 unpredictable bits for this provider-state lifetime. It is retained only when the exact durable state and replay ledger are restored; otherwise restart creates a new incarnation. It is not a world identity or a person identity.
L-CAP-3 Offer sequence and scope. Clients MUST persist the greatest accepted offer sequence per full source, reject a lower sequence as superseded, and reject equal sequence with unequal canonical bytes as conflicting-evidence. Offer validity MUST lie within the Grant validity and be no longer than the entry's freshness.maxAgeMs. Its agreements MUST be present in the accepted entry and locally supported with the same digest. Offered mutating operation names MUST be a subset of the Grant operations. Read operations mapped by an agreement to view require the relevant Grant field and its public/token policy. An offer establishes support and bounds, never requester permission, personal identity or conformance. Missing audio or computation capacity at one scope does not invalidate another scope.
L-CAP-4 Roles and permissions. A world authority selects agreements; a manager assigns responsibility; an issuer signs permissions; a provider accepts scoped consequences; a requester supplies attributable inputs; an executor computes proposed results. One host may perform several roles, but a role's successful execution MUST NOT grant another role's authority. Existing Permission and Issuer records authorize the exact operation token selected by an artifact, or view where that artifact explicitly maps a read operation to it. A supplied permission is checked even for public reads: principal/key binding, signature, validity, operation membership, issuer signature, subject scope, issuer coverage and status follow L-PERM-1 in that order. Unknown operation tokens confer nothing. Public access is allowed only with permission:null, Grant readPolicy:public, an advertised read operation mapped to view, and the required Grant field. A mutation never becomes public through an offer or a view permission.
19 Authenticated interactive carriers and outcomes
L-STREAM-1 Transport. Production exchanges MUST use HTTP/1.1 or a later compatible HTTP version over HTTPS with TLS 1.3 or later and validated server identity. Loopback-only declared test fixtures may use HTTP. Bodies use Content-Type: application/json; responses use Cache-Control: no-store. Clients MUST NOT follow redirects. No cookie, bearer string, caller-supplied endpoint or successful TLS connection substitutes for signed scoped authorization. The common route is POST <verifiedOfferEndpoint>/interactive/v1/exchange. Unknown routes return HTTP 404, wrong methods HTTP 405 with Allow; malformed unauthenticated input returns the plain error object of clause 17. A body above 1048576 bytes returns HTTP 413 payload-too-large. A pre-admission HTTP 429 creates no accepted outcome.
L-STREAM-2 Request and slot. The signed interactive-request/1 payload has exactly {format,world,id,createdAt,expiresAt,requesterKey,target,agreement,operation,permission,body}. target is {source,providerKid,grantDigest}; source is the complete DynamicSource. providerKid MUST equal source.service and the current verified Grant provider. world MUST equal target.source.world. requesterKey and the signature are verified by L-KEY-1 to L-KEY-3. The exact agreement and operation determine the request body schema; the common carrier's object body is not sufficient validation. A receiver MUST validate that selected schema and its semantic constraints before dispatch. The expected outer format is fixed by this request slot. Unknown agreements, operations or required body meanings are unsupported, never silently ignored.
L-STREAM-3 Processing and clocks. A receiver MUST process in this order: byte/depth/scalar ceilings; L-ENC-1 to L-ENC-7 lexical, canonical, slot and schema checks including the selected domain; world/audience/key/signature verification; expiration; current Grant, source incarnation and permission; replay; then operation semantics. createdAt, expiresAt and response producedAt use provisional host-clock milliseconds and the future skew 120000 ms of L-TIME-1. A request requires createdAt <= expiresAt <= createdAt+300000, createdAt >= now-300000, createdAt <= now+120000, and now <= expiresAt. These clocks MUST NOT be treated as CP 0007 modeled applicability. A ModeledTime is the exact {reference,tick} of CP 0011 v0.4.0, interpreted using the committed temporal artifact of CP 0007 (versions ^0.3.0); incompatible references return unsupported-time or the selected domain error, never an implicit conversion.
L-STREAM-4 Response. After a request signature and audience verify, the service MUST answer with HTTP 200 and a signed interactive-response/1: {format,world,id,request,source,providerKid,grantDigest,producedAt,agreement,operation,status,body,error}. request is the digest of the original canonical request payload. status is ok, pending, rejected or unavailable. Exactly one of selected domain body and error is non-null; ok and pending use a body, the other statuses an error. A pending domain body MUST identify its qualified receipt and exact status-query operation; without such a domain contract pending is invalid. A client MUST verify the signature under the addressed provider and require exact equality of world, id, full source, providerKid, grantDigest, agreement and operation with its sent request and verified evidence. producedAt lies between request.createdAt-skew and now+skew. A valid response establishes attributable reporting, not physical correctness or shared acceptance of a proposed result.
L-STREAM-5 Errors. Before requester signature/audience verification, errors are unsigned HTTP errors: bad-envelope and bad-schema (400), wrong-world (400), unknown-signer and bad-signature (401), and payload-too-large (413). After verification, errors MUST be carried in the signed response, in the processing order of L-STREAM-3: wrong-provider, expired, stale-evidence or evidence-unavailable, stale-source, permission-denied, scope-exceeded, replay errors, then domain errors. Common domain tokens are unsupported, unavailable, budget-exceeded, not-found, invalid-dependency, dependency-unavailable and unsupported-time; an owning agreement defines a closed additional registry in its selected immutable artifact. The common schema permits a Token only to carry these owner-defined names; a receiver MUST reject every unregistered error as bad-schema. unavailable status is used for temporary inability or unavailable evidence; other refusals use rejected. A transport failure or unverified response is an unknown outcome at the client and MUST NOT become false, empty, deleted, accepted or unassigned state.
L-STREAM-6 Finite work. A canonical request MUST be at most 65536 bytes; response at most 1048576; nesting at most 16 containers; arrays of entities at most 32, records at most 128, agreements at most 16, and roles/operations per agreement at most 16. All scalars obey L-ENC-1. An offer may advertise stricter bounds, never higher bounds. A finite resolution attempt uses at most 64 fetches and 4194304 wire bytes, with at most 8 outstanding resolutions at a server and 4 per requester. Exceeding a limit produces budget-exceeded or payload-too-large at its processing stage, never a complete invented result. Repeated finite polling attempts do not imply a world-wide census or unbounded retained history.
L-STREAM-7 Durable discrete replay. For every discrete mutation and every domain operation explicitly designated durable, the replay key is (world,requesterKid,id,target.source,agreement). The provider MUST durably record the exact request digest and exact terminal signed response before reporting the terminal outcome, retaining both for at least 720000 ms and across supported restart. Authorization is rechecked before returning a cached outcome. Equal key and equal bytes return the original envelope byte for byte; equal key with changed bytes is replay-conflict. createdAt/expiresAt are checked before replay lookup, so an expired request returns expired even if its outcome is retained. On an operation-specific status query the retained outcome may be retrieved under current authorization without replaying its mutation. A provider unable to prove the original outcome MUST report unknown-outcome, not execute the old identity again. After replay-ledger loss it MUST change incarnation; all old-target requests become stale-source. A new request using an expired identity MUST NOT reexecute; a fresh deliberate action uses a fresh id.
L-STREAM-8 Target preservation. A requester uncertain about a mutation MUST retry only the original bytes at the original provider, generation, incarnation and agreement. It MUST NOT reconstruct the mutation with the same identity for a replacement source or silently create a successor request. Rebinding a controller, new provider assignment or travel changes neither an admitted request's original target nor its recorded status. Replaceable input samples may instead use an explicitly selected sequence/expiry contract; that contract cannot claim durable exactly-once transaction behavior for every sample.
19.1 Immutable record retrieval and acceptance evidence
L-EXEC-1 Record retrieval. The common interactive-exchange/1 agreement selects record-get, request body {format:"interactive-record-query/1",digest} and response body {format:"interactive-record-result/1",record:Envelope}. It maps permission to view; public retrieval requires the explicit public read rule of L-CAP-4. The provider MUST return the exact retained original envelope whose canonical payload digest equals the requested digest, or not-found, permission-denied or unavailable. Retrieval is a read and does not create a new acceptance record. The current response signature authenticates delivery, not the historical inner producer. A consumer MUST separately verify the inner format, signature, original source, Grant/acceptance evidence and selected dependency contract before using it. Historical accepted evidence is not automatically current state. A QualifiedRecord is {source,id,digest}; a digest or a local id alone is not source continuity.
L-EXEC-2 Execution and consequence. An execution contribution, correct arithmetic, uncontested result, signature, resource capacity or locally rendered portrayal MUST NOT establish permission or accepted shared consequences. The applicable owning agreement identifies the accepting source and its assessment/acceptance record. Accepted consequences remain inside that source's explicit scope. Different worker, accepting provider, controller and observer roles may share a host; their attribution and authority are still checked separately. Availability, retained historical values and active execution are distinct claims.
L-EXEC-3 Attributable spatial records. When record-get retrieves a dynamic-reference-sample/1 selected by CP 0011 v0.4.0, a qualified record reference has source equal to the sample supplier, id equal to its relationship, and digest equal to the full canonical sample payload digest. Before treating it as current authorized relationship evidence, the consumer MUST resolve the supplier's current active scoped Grant independently of the delivered envelope, verify supplier world/context/subject, service equal to the Grant provider key identifier, generation equal to its positive integer generation, exact Grant digest, and incarnation equal to the verified current source offer. The sample envelope's designated signer MUST be supplier.service under that verified public key. A delivery signer or matching coordinate value cannot substitute for the original supplier signature. The consumer MUST compare the returned supplier, relationship, epoch, sequence and canonical payload digest against its exact selected link commitment. A mismatch is invalid-dependency, a noncurrent supplier is stale-source, unavailable authority evidence is evidence-unavailable, and absent record bytes are not-found or unavailable. Unknown original authority is unresolved, never self-authorized by the key inside the sample. Historical retrieval preserves original bytes but supplies no claim of current authorization. The local spatial reader then applies its own mathematical, applicability and continuity checks; retrieving a signed sample does not make a remote query/result service or establish accepted contact, support or physical effects.
20 Interactive conformance definitions
L-AGR-5 Claim. A conformance claim for this family MUST name CP 0005 0.16.0, scoped-delegation/2, wire cyberplanetary.responsibility/0.9.0, exact selected AgreementRefs and artifact digests, implemented roles, optional capabilities, finite resource bounds, exact implementation source/artifact identities, and the assessment method/evidence used. Claims for earlier content modes or locality kit cases do not establish this family's conformance. This edition defines obligations and fixtures; it does not assert that independent runtime implementations passed them.
The roles are authority/entry producer, manager/evidence provider, permission issuer, capability provider, requester, and accepted-record consumer. Only claimed roles and selected capabilities apply. A CPU-only accepting provider needs no renderer; semantic-only participation needs no geometry. Test apparatus may inspect outcomes but cannot authorize, sign or accept a candidate's consequences.
L-AGR-6 Assessment scenarios. Assessment MUST include ordinary current authorization, wrong-source and stale-generation rejection, an unsupported optional capability alongside a working independent capability, valid signatures without permission, request digest mismatch, exact duplicate and changed-payload replay, retained original-target status after supported restart, and unknown outcomes after loss or replacement. A worker's successful result must be unable to acquire assignment by execution alone. Each selected domain adds its own observable scenarios and negative cases. vectors/interactive-cases.json supplies finite schema and semantic fixture expectations; it is not an implementation-neutral deployed conformance kit or a test of every possible peer.
20.1 Normative companion map
The normative companion schemas are interactive-common.schema.json (shared definitions), interactive-world-entry.schema.json, interactive-offer.schema.json, interactive-request.schema.json, interactive-response.schema.json, interactive-record-query.schema.json and interactive-record-result.schema.json. interactive-role-claim.schema.json defines a bounded edition identifier in the qualified claim record. Claim validation MUST compare that identifier to the actual owning selected agreement edition; syntax alone cannot authorize a claim for another work. The immutable selection object is interactive-exchange-selection.json. Its schemaCommitments commit exact companion bytes. A schema-valid value still requires the signature, authority, lifetime, digest, scope, permission, replay and selected-domain checks in the preceding clauses. The common body's bounded object shape does not authorize arbitrary domain values.
Annex A (normative) — Synthetic environmental quantity agreement
This annex defines the optional demonstration agreement synthetic-environment/1. It requires the selected CP 0007 temporal mode and CP 0008 structural interpretation. Selecting it is part of initial adoption, not an ordinary structural addition. Each requested or computed operation under this agreement requires its subject to be structurally eligible under CP 0008 and of kind synthetic-environmental-part, including a later accepted part. Validate the complete structural artifact and accepted lineage; apply this agreement's kind requirement to the operation's subject, not to the entire assignable inventory. A structurally valid subject of another declared kind, including an unassigned sibling, does not by itself invalidate a supported existing scope or require this provider to model that subject. An operation on a subject of an unsupported kind cannot be processed under this agreement. The agreement is not a ten-name lookup. Its artifact identity/digest, formats, supports and operations remain fixed through structure-add.
A.1 Subject, field and measurement
The one field is environment; operations are observe, adjust and status. The synthetic modeled quantity is a thermodynamic-temperature-like environmental scalar interpreted in SI kelvin, measurement reference https://www.bipm.org/en/si-base-units/kelvin under BIPM SI kelvin measurement reference. Values are integers in milli-kelvin (1/1000 K), 0..1000000 inclusive. This is synthetic data; no relation to a live external target, measurement accuracy or certification is asserted. Providers compute their own values and may start with different state.
A.2 Supports and correspondence
For each eligible subject the agreement defines four private subarea supports, north/east/south/west, with exact normalized synthetic area weights 1/10, 2/10, 3/10, 4/10. Each support value is an area mean over that declared support, not an arbitrary point reading. This is a specified synthetic partition for this calculation, without geometry or a physical-disjointness proof. Supports are private descriptive inputs, not public assignable parts or descendant authority.
Coarse form synthetic-environment-coarse/1 returns {subject,measurement,unit,support,value,applicability} with fixed measurement reference, unit millikelvin, support whole-subject and nullable value. Detailed form synthetic-environment-detailed/1 returns {subject,measurement,unit,supports,summary}. supports contains exactly four records in north/east/south/west order, each {id,weightNumerator,value,applicability} with weight numerators 1, 2, 3, 4 and implicit fixed denominator 10. Each representation's applicability field is {reference,mapping,applicability}: exact CP 0007 artifact references and its instant/interval Applicability record. It equals those three records in the subject result's State.provenance.temporalContext.data; result production/publication remain in that provenance, outside this support tuple. All four supports use exactly matching tuples. Coarse and detailed representation selector values are their format ids. Null selector uses the provider's configured declared default.
Both forms expose the same subject-result snapshot when ObservationRequest.resultVersion selects a retained local version: detail uses that snapshot's four inputs; coarse uses its computed aggregate. Null selects the current local snapshot. Providers retain at least the last 8 completed result snapshots separately for each actively provided (world,subject,field,service,generation); calculations for another scope must not evict this scope's retained versions. This snapshot promise applies while that generation is provided; separately acknowledged request-record/outcome retention survives its supersession. A requested missing version returns unavailable, without substituting current values. Snapshot retention is local and creates no replacement inheritance. No equality is required across independently generated states or independently authorized providers. Comparing different snapshots as if they were matching inputs is invalid.
A.3 Arithmetic, missing inputs and time
With all four inputs present and identical temporal support/reference/mapping, calculate integer N=vNorth+2*vEast+3*vSouth+4*vWest, then round N/10 to the nearest integer, ties to even. Let q=floor(N/10), r=N-10 q; return q for r<5, q+1 for r>5, and q when r=5 and q even, otherwise q+1. N is at most 10000000, safely exact in both implementations. No floating-point weighted arithmetic or intermediate rounding is needed. A mismatched support/time/measurement is incompatible-input; reject the aggregate. If any value is null, summary/coarse value is null, the declared interpretation outcome is missing-input; no renormalization, carry-forward, invented zero or partial area-average claim is allowed.
Output applicability is the matching input support; production states when this result was calculated. A later response preserves its result context and adds its own response context. Each provider selects local computation/reporting cadence; rates used by demonstrations are not agreement requirements. Richer private computation is not necessarily more accuracy or more public authority.
A.4 Local action and retry guarantees
adjust explicitly targets one original service/generation/requestContext and subject, with parameters {format:"synthetic-adjust/1",data:{delta}}, integer delta -1000..1000 applied once to all four present private support values. Reject any missing value or resulting out-of-range value before mutation. Preconditions are {format:"synthetic-version/1",data:{expectedVersion}}; null permits any version, otherwise the exact retained current version is required at admission. Versions are service-local opaque bounded tokens and change whenever a completed calculation or adjustment changes the snapshot; they never compare across providers.
Deadline is {format:"synthetic-tai-deadline/1",data:{notAfter,reference}}, with the exact selected reference. Admission requires a current local CP 0007 estimate with a valid in-range encoded position, the exact selected known reference/mapping, and supported stated clockBasis. Validate the estimate using CP 0007 T-CLOCK-CLAIM and T-HOST, with the same admissible exact, provisional and direct TAI categories used for result production. A supported provisional estimate retains its declared basis and null uncertainty; an optional exact UTC conversion is not an admission prerequisite. Missing or unsupported estimates return unavailable for new admission. Compare the encoded estimate's at <= notAfter inclusively; a later estimate returns expired. This is an admission condition on the declared estimate, not an assertion of a true-time error bound. Null uncertainty remains no quantitative claim, and any asserted uncertainty is retained for interpretation rather than silently set to zero. Credential-clock checks remain separate; no catch-up is required.
The admitted execution condition is {format:"synthetic-local-execution/1",data:{kind:"next-local-calculation"}}. Apply once on the next local calculation and return {format:"synthetic-action-result/1",data:{state}} with the resulting State; admission/completion temporal contexts retain their own production/applicability roles. A deadline checks admission, not an execution schedule or organizer barrier.
The service persists admitted Intent bytes, digest and disposition before acknowledgement and retains them at least 86400 real seconds after admission, across its own restart. The bounded capacity is 1024 retained requests per service context; capacity failure occurs before admission and never evicts an unexpired acknowledged record. Own promised retries and same-owner status use the original context even after compatible structural additions or grant supersession. Another provider does not inherit these records or obligations. These are selected local guarantees, not general simulation durability.
The inspector may calculate and label a display aggregate from matching inputs. It cannot approve state, grant subjects, delay a decision or become necessary for providers to operate. Existing summaries over explicit public part lists remain fixed; the eleventh part never silently enters an old ten-part average.
Annex B (informative) — Residual risks of the scoped delegation mode
This annex is informative. It states, in plain terms, what the mode scoped-delegation/1 does not solve, so that deployments can decide whether the remaining exposure is acceptable. The rules to which it refers are in clauses 13 to 17.
Rollback of the WorldEntry. A client that has never seen a world cannot tell whether the entry it is shown is the newest one. It is protected only by the validity period of the entry, which is at most one day (L-ENTRY-4). A client that already holds a higher sequence number is not exposed to this.
Revocation takes time. A revoked record can still be accepted for up to maxAgeMs plus the clock error of the verifier, as an old status stays fresh until it ends. A state-changing operation is exposed for up to 60 seconds, the age allowed for a Grant status (L-RES-7). Replacing a provider that does not cooperate therefore takes effect within that window and not at once. A principal is revoked by not renewing its permission (L-PERM-1).
Equivocation by a manager. A manager can sign two different valid records of the same identifier and generation and show one to each of two clients. Only a verifier that sees both can detect it (L-RES-2 step 6). A hostile manager can also use up the generations of its own subjects.
Public queries prove only a key. A query without a permission shows that the sender holds a key; it proves nothing about the person or organisation behind it.
Clock error. A client with a wrong clock weakens every freshness check it makes.
Terrain correspondence is a bound at samples. The test that relates a contribution to the base terrain compares shared sample positions and extreme values. A contribution can still differ inside the allowed band between those samples.
21 Selected original-proof resolution budget
L-PROOF-1 Explicit successor activation. CP0005 interactive-exchange/v2 owns the exact bounded-original-proof-resolution/v1 information-only meaning. Its operations and permissions maps are empty. Only an operation selecting this exact base, exact owned policy and a profile explicitly requiring that policy may use the 128 aggregate fetch ceiling. The request/response wire formats and https-http-json-envelope/1 transport identifier remain unchanged; selection version v2 is not a new envelope format. Existing interactive-exchange/v1 and already identified domain selections retain their 64 ceiling. Absence, unsupported policy or conflicting selected limits cannot silently enable the larger ceiling. A stricter advertised or domain limit wins. Replace L-STREAM-6's 64-fetch ceiling only for this explicitly selected successor combination; all its other limits remain effective.
L-PROOF-2 One accounting context. One finite parent resolution attempt has at most 128 fetch attempts, 128 distinct originals, 4194304 received wire bytes, 4194304 decoded distinct-original bytes and 16 dependency levels. Authentication/authority, reference interpretation, domain proof, relay, retry and cache-related missing-original reads share that same parent context. Charge a fetch immediately before dispatch, including an eventual failed, unavailable, unauthorized, timed-out or invalid response; no refund. Count all received response wire bytes, including duplicate or rejected responses. Count each distinct original's decoded bytes once under the existing selected carrier definition; this clause does not redefine envelope decoding or canonical payload identity. Domain original identity is the complete exact source/id/digest QualifiedRecord, in a domain namespace. A native CP0005 authority original that has no domain QualifiedRecord is counted in the disjoint native-signed-original namespace by its original verified protected kid and SHA256 of its complete canonical original signed-envelope bytes. The kid is derived from the original verified carrier, never from caller-supplied metadata. Exact cached reuse of that native original counts once; changed signed-envelope bytes count separately even when semantically similar. Do not manufacture a domain QualifiedRecord or provider custody for native authority evidence. These accounting keys do not replace original signature, source, issuance, current disclosure or authority validation. An already verified original reused from a cache incurs no new fetch, but remains part of the parent's distinct-original, decoded-byte and depth accounting. Cache use never waives current authority or the selected original-admission evidence checks. No retry, nested helper, authority subquery or branch obtains a fresh allowance. A new finite attempt is not permission to discard unresolved safety state or conceal prior effects.
L-PROOF-3 Nested limits and failure. Every applicable local bound is enforced as well as the parent bound. In particular reference-authority retains 16 fetch attempts, evidence depth 4 and 65536 aggregate decoded original envelope bytes per reference interpretation. These consume the parent's allowance; they do not enlarge it. Outstanding resolution limits remain eight per server and four per requester. Request 65536-byte, response 1048576-byte, depth and all entity/record/agreement/role/operation limits remain unchanged. Task dependency count 64 is not a fetch allowance. Refuse budget-exceeded before dispatching the first over-limit fetch or exposing an over-limit interpretation; bytes received before discovering overflow remain charged. Never omit required evidence or invent success.
22 Standards-owned concept traceability and unchanged baseline
This successor uses unchanged publication baseline https://cyberplanetary.org/modules/shared-reference-publication-bindings version 0.18.2. Its module SHA256 is 7348f3f9962afec05853dbe0e456a2b2923cdf0fdfb4ed2f0451473c850fefa8, lock SHA256 is fe8f98f49add32570a7f471216bbd84b71c8d532a8ce0ef51b6f47597d5b13df, and package SHA256 is 935a9d5f1dcdc61e6c7a211f4e7a3332d917fc0d67b1176c58aab2865b2f5cdb. The nine domain modules and 185 concept identities/definitions remain unchanged. No new publication binding is inserted into that frozen module.
The separately committed standards-owned application-traceability sidecar has SHA256 53e1ab4a1525c92f4047b95bc79f9c0af47a993026cf947224615eb069f2ecbb. It maps this exact native edition's capability clauses to existing concept IDs. It is not a concept module, new definition, concept clarification, or runtime conformance evidence. The canonical edition and structured export carry the same explicit sidecar reference.
The current edition companion inventory commitments below govern this successor; inventory-hash statements retained from earlier chapters describe their historical selections. Individual identified artifacts retain their exact bytes.
The current schemas/index.json is committed by SHA256 9e4960d7f4053070bf15cf0ed98d258cad58891418bcb5bc91ff9a8a74e0ea00.
The current interpretation-resources.json is committed by SHA256 40295c90919eb42b16532725b76c2a5c8ed72a26e47f0be3c94c66d6f324b0cb.
Bibliography
- CP 0000 v3.0.1, How these standards are numbered, versioned and retired
- vlocality-kit ^1.0.3, Public locality conformance kit, releases 1.0.3 and later of the 1.x line, https://forge.cyberplanetary.org/Johnb/cyberplanetary-protocol/releases