Skip to content
Cyberplanetary

Cyberplanetary standards · CP 0013

CP 0013 v0.1.0 Contributed Computation and Result Acceptance

Superseded. CP 0013 v0.1.0 has been replaced by v0.5.0. It is kept for reference. superseded by v0.2.0

Released 2026-10-20T08:09:11Z by Cyberplanetary. Status: superseded. Change class: initial development.

Summary of changes: Initial contributed computation and explicit result acceptance specification.

Digest: 0d07fbd2ff7a3609f3f7da8308c403ebc599f88fe9fdc610ef2993a1a72e482e

Files

The canonical file is the authoritative text; it never changes.

FileRoleSHA-256
cp-0013-0.1.0.mdcanonical3f45f24e58fce8979fe4a33142442f9c3e7b32e00a714661d4b3675522a7c7bf

References

Concept baseline

Written against https://cyberplanetary.org/modules/shared-reference-publication-bindings 0.16.0 (sha256:862ca08de2e40321ae8172705057edf18821f3fc0dc599e5d54bf8397fe67561).

Contributed Computation and Result Acceptance

CP 0013 v0.1.0 (2026-10-20T08:09:11Z)

  • Publisher: Cyberplanetary
  • Kind: specification
  • Version: initial development (major version 0): any change may break
  • Cite as: CP 0013 v0.1.0 (this version); CP 0013 (always the latest stable version)

Summary of changes: Initial contributed computation and explicit result acceptance specification.

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-0013/.

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

Cyberplanetary publishes this specification for independently implemented computation contributors and accountable result acceptors. It defines a bounded exchange; it does not describe a deployed service or claim implementation conformance. The words MUST, MUST NOT, SHOULD, SHOULD NOT and MAY are interpreted as described in BCP14 when, and only when, they appear in capitals.

1 Scope

This specification defines contributed-computation/1: capability offers, identified tasks and executions, dependency-qualified proposed results, explicit result assessment and accepted consequences. It selects a finite integer state-transition model so independent implementations can exchange useful work without a universal executable-code interface. Geometry is unnecessary.

A task issuer, executor, result producer, assessor and accepting provider are interaction roles. Several roles can share a host; performing a computation does not assign responsibility. The accepting provider remains accountable for its selected effects. Local rendering and prediction need no shared-state acceptance unless their outputs are proposed as shared consequences. Cognition, mind portability, unrestricted code distribution, compulsory recomputation for every future model and an economic savings guarantee are outside this agreement.

The authenticated carrier, permission, assignment and original-target retry rules are supplied by CP 0005 v0.16.0. Qualified sources and model-time references reuse CP 0011 v0.4.0 and CP 0007 (versions ^0.3.0). Observations of accepted outcomes use CP 0009 v0.10.0. This agreement is independently selectable within the scoped/recursive successor family; a registered world need not offer computation.

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.

  • BCP14, BCP14, https://www.rfc-editor.org/info/bcp14
  • CP 0005 v0.16.0, World Simulation Responsibility
  • CP 0007 (versions ^0.3.0), Temporal References for Worlds
  • CP 0011 v0.4.0, Spatial References and Placement
  • CP 0009 v0.10.0, World Content Description and Interaction

3 Terms and record identity

A task specifies bounded work, exact inputs, model configuration and permitted consequences. An execution is one occurrence of that work. A result is a proposal produced by an execution. An assessment records its evaluation for stated use. An accepted state is the accepting source's explicit state-acceptance record, not the executor's output alone.

DynamicSource, QualifiedEntity, ModeledTime and AgreementRef have the exact meanings of CP 0011 v0.4.0. A QualifiedRecord is {source,id,digest}; its digest commits the original canonical payload. A record's name alone never establishes continuing identity. Evidence contains that reference and its original signed envelope. A receiver checks the nested canonical payload digest, designated signer, source, applicable responsibility and model context; a valid signature alone proves attributable production.

An AcceptedInput identifies entity, revision, modeled applicability, finite integer vector and acceptance evidence. Security-clock createdAt, expiresAt, completedAt, producedAt, leaseUntil and asOf are distinct from the ModeledTime carried by applicable. No conversion between those quantities is implicit.

The selected real-time reference is tai-1972-millisecond/2, canonical artifact digest sha256:f05f47f92416374f657bf861431ecce7b097c0f2a7f7c16f6a178eebd759943d, with origin 1972-01-01T00:00:00 TAI and one-millisecond quantum. A different reference requires an explicit selected mapping; this agreement does not invent one.

4 Contributed computation

4.1 Selection, records and operations

L-CMP-1 Selection and carrier. A conforming peer MUST select the exact contributed-computation agreement artifact, version v1, and its digest from this edition's companion index. It MUST use the signed interactive-request/1 and interactive-response/1 carrier of CP 0005 v0.16.0, via the advertised HTTPS /interactive/v1/exchange endpoint, with the operation/body slots below. It MUST validate the selected closed payload schema as well as the carrier. Unsupported model or operation is unsupported; an unknown member, fractional/unsafe integer, invalid token or shape is bad-schema. Every mutating operation requires its exact granted operation and target source; capability discovery is not permission.

Operation Request body Successful response body Role accepting the request
compute-offer compute-offer/1 signed by the named executor provider-signed accepted compute-offer/1 task service
task-create computation-task/1 same accepted task record issuing/accepting provider
task-claim computation-execution-claim/1 same accepted claim with bounded lease issuing provider
result-submit computation-result/1 computation-assessment/1, possibly pending accepting provider
result-assess computation-status-query/1 computation-assessment/1 accepting provider
compute-status computation-status-query/1 computation-status/1 issuing provider
task-cancel computation-cancel/1 computation-status/1 issuing provider
compute-continuation computation-status-query/1 computation-continuation/1 responsible provider

An executor submits its offer as the authenticated requester; the issuer verifies executor equals that requester's key and retains the exact offer commitment through its stated validity. Task references are communicated through explicitly authorized content/observation or record-get access, never guessed from local names. Common record-get retrieves exact original evidence envelopes; a different deliverer's signature never makes historical evidence current. The creator receives the provider's signed task as the authoritative issued task; caller-supplied bytes do not become accepted merely by a successful parse.

L-CMP-2 Capability and finite work. A task service MUST state supported exact model identifiers, current slots (0–8), maximum dimensions (1–16), lease at most 60000 security-clock milliseconds and offer validity. A zero slot count is unavailable capacity, not permission refusal. Offer validity MUST include the claim decision time; a claim MUST bind the canonical digest of that exact accepted executor offer. Offers do not promise capacity after their validity or make the worker a provider. A task MUST fit the common 65536-byte request limit, at most 32 dependencies, one entity/effect, vector dimensions 1–16 and the limits below. Oversized valid work is budget-exceeded; unsupported execution capacity is unavailable. No external model or executable is fetched merely because a task names it.

4.2 Issuance, dependencies and execution

L-CMP-3 Task identity and scope. An issuer MUST verify that the task's issuer, target entity.source, input entity and sole permittedEffects entity are exactly the authenticated carrier target, under current assignment and permission. The task id is unique in that source incarnation. The input evidence entity and revision MUST equal the task's input entity and revision; its accepted values and applicability MUST match byte-for-byte. Same name in another incarnation is stale-source. A scope mismatch is scope-exceeded. Task lifetime is positive and at most 300000 security-clock milliseconds. Task expiry is not a promise that accepted state ceases to exist.

L-CMP-4 Dependencies. The issuer and assessor MUST verify every dependency's original envelope/digest, world, source lifetime and declared role. Input and upstream-output dependencies MUST be accepted state/results, not proposed or merely signed bytes; each task MUST include the exact input acceptance digest as an input dependency. Dependency references MUST be unique. Model/configuration dependencies denote immutable exact bytes, not mutable URLs. For each accepted input or upstream dependency, record-get supplies the original signed accepted-state or accepted-assessment record; a mutable claimed status field alone is insufficient. A result repeats exactly the sorted dependency digest set and canonical model/configuration digest. Missing evidence is unavailable; proposed input is unaccepted-dependency; changed input acceptance, revision, selected model or configuration is stale-dependency. No requester-supplied accepted flag substitutes for verified acceptance evidence.

L-CMP-5 Claim and execution. A claim MUST bind the exact issued task digest, requester key, claim identity and a current capability offer digest. executor MUST equal the authenticated requester key. The issuer grants at most one live claim for this selected model; claim lease is positive, no later than task expiry, and no more than 60000 ms from the decision. Another claim before expiry is conflict. An executor MUST identify each execution separately and carry the task, claim, input, model and dependency commitments into its result. A claim supplies permission to propose an output only, never a provider assignment. Expired claims cannot commit effects; a fresh claim requires deliberate authorization and does not retarget an uncertain prior result.

4.3 Selected numerical model

L-CMP-6 Bounded integer state transition. bounded-integer-step/v1 interprets one accepted vector x and configuration vector delta of equal dimension n, 1 <= n <= 16. Every x component, configured lower, upper and output component is within [-1000000000,1000000000]; delta is within [-1000000,1000000]; lower <= upper. The required output is y[i] = x[i] + delta[i] using exact integer addition, and each y component MUST lie inclusively between lower and upper. No saturation, wrap, float conversion, random input or unstated unit conversion is permitted. Units/meaning are declared by the adopting entity's selected content agreement; this mathematical model does not invent physical units. Invalid dimensions/configuration is bad-schema; a sum outside the configured domain is arithmetic-bound. The integer function is a selected acceptance basis, not a universal physical solver.

L-CMP-7 Result production. A completed result MUST bind the exact task reference, live claim, authenticated executor, distinct execution id, canonical input digest, exact dependency set, canonical model digest and task applicability. status completed requires null error and the output values. Failed status requires its concrete error and MUST NOT carry an acceptance claim. Completion is before task and claim expiry. Submission under wrong executor/claim is permission-denied, changed dependency context is stale-dependency, late completion is expired. A correct output received under an invalid task context is not an accepted result.

4.4 Assessment and accepted consequences

L-CMP-8 Explicit assessment. The accepting provider MUST produce a separately attributable computation-assessment/1 for every admitted result whose disposition it reports. It MUST check, in order: source and permission; task/cancellation/claim validity; dependency acceptances and current expected revision; permitted scope; model domain; exact numerical output. The selected basis exact-integer-recompute/v1 recomputes the bounded function; incorrect output is wrong-result. Other future acceptance methods need separately identified contracts. Neither absence of competing results, a signature, successful calculation nor a task claim is sufficient. Pending assessment has no accepted state. Rejection records an explicit reason and has null accepted state.

L-CMP-9 State acceptance and compare-and-set. Accepted disposition MUST contain the exact target entity, task applicability, recomputed values, input acceptance digest and revision input.revision + 1. The accepting source MUST atomically compare its current accepted entity revision and acceptance digest with the task input before recording the successor and assessment. If either changed, the output is rejected stale-dependency, even when uncontested and numerically correct. An accepted assessment and successor record are durably linked, with no intermediate externally reported acceptance lacking its state. The provider MUST emit computation-state-acceptance/1 for the successor, signed by its assigned provider key, with source, exact entity/revision/applicability/values and priorAcceptance digest matching the assessment. Initial source-owned accepted input can have null priorAcceptance; a computed successor cannot. The provider publishes accepted consequences through CP 0009 v0.10.0; the output's original computation attribution remains distinct from the accepting signature. One committed task/result pair causes at most one revision advance.

L-CMP-10 Original-target retry and status. Issuance, claims, submissions, cancellation and assessment mutations MUST obey common durable request replay, at least 720000 ms, including supported restart. Identical retries return the exact original terminal signed envelope; different bytes under the same replay key are replay-conflict. Task/result references and status queries retain their original source incarnation. A replacement provider MUST NOT accept an uncertain old-source submission by rewriting its target. Missing retained history is unknown-outcome, not evidence of rejection or permission to execute again. Status may truthfully report unknown; clients MUST NOT label unknown as completed or cancelled.

L-CMP-11 Cancellation and obsolete work. An issuer MUST record cancellation as a terminal task disposition if acceptance has not already committed. It MUST reject any later candidate for that task as cancelled, release its live claim and retain cancellation with replay history. If acceptance already committed, cancellation returns the accepted status and does not undo that effect. Executor departure or timeout yields unavailable/expired execution, not a fabricated zero output. Already accepted dependencies remain distinguishable from obsolete proposals.

L-CMP-12 Continuation. observer-independent means admitted task processing and its executor lease do not depend on an open observation interest. A provider claiming running MUST identify an available executor with live lease and required accepted inputs/working state. No live executor or missing dependencies requires suspended or unavailable, with retained last accepted state explicitly historical. on-demand permits declared suspension when demand ends. Retaining a vector or last observation does not establish current execution. Loss of all viewers MUST NOT itself terminate an observer-independent claim; loss of all executors MUST NOT be hidden by current-looking retained state. No central scheduler or uninterrupted resource guarantee is implied.

4.5 Validation, failures and limits

L-CMP-13 Validation and information limits. Producers and consumers MUST validate all closed schemas and the semantic checks above; a schema pass alone does not establish signatures, assignment, acceptance, time or numerical correctness. Common carrier failures retain common precedence; domain checking follows L-CMP-8. A requester lacking disclosure permission receives no private dependency content. Artifact fetches consume the common 64-fetch/4MiB finite attempt budget. Nesting is at most 16, and evidence arrays at most 32; a peer MUST stop with a truthful failure instead of recursively following unbounded worker dependencies. General execution of supplied arbitrary code, inherited permissions and cost-saving claims are not selected.

L-CMP-14 Conformance and companions. A conformance statement MUST name this edition, exact selection artifact digest, implemented roles, selected model and actual source/package bytes. It MUST distinguish schema/vector evaluation, runtime execution and independent interoperability evidence. Rendering pixels alone cannot satisfy executor/result/acceptor roles. The normative schema index enumerates closed record schemas and selection artifact; vectors/computation-cases.json contains structural and semantic cases with expected outcomes. The apparatus in that file does not confer permissions or represent a deployed service.

5 Conformance roles and scenarios

An issuer satisfies L-CMP-1–5, L-CMP-10–13; an executor/result producer satisfies L-CMP-1–2, L-CMP-5–7, L-CMP-10–14; an assessor/acceptor satisfies L-CMP-1–4, L-CMP-6–14; an observer verifies attributable accepted state under L-CMP-9 and CP 0009 v0.10.0. A claim lists each role actually implemented; a single host can fulfill more than one role.

Scenario Observable evidence
CP0013-S01-valid-step Independent worker returns [13,-2] from accepted [10,-4] and delta [3,2]; acceptor independently checks context and advances exactly one revision
CP0013-S02-stale-uncontested Correct uncontested output rejected after accepted input revision changes; no state advance
CP0013-S03-invalid-scope Correct arithmetic under another entity or source rejected without effect
CP0013-S04-proposed-upstream A signed proposed upstream result fails dependency acceptance
CP0013-S05-wrong-output Signed wrong arithmetic fails explicit assessment
CP0013-S06-retry-restart Exact result submission retry after supported restart yields same terminal envelope and one effect
CP0013-S07-executor-loss All viewers close while live worker continues; worker lease then expires and status becomes suspended/unavailable
CP0013-S08-cancel-race Cancellation before commit prevents effect; cancellation after commit reports existing acceptance

For each claimed role an assessment records positive and relevant negative outcomes, attributable records, actual packages, workload and limits. These are conformance definitions. This edition makes no claim that independent implementations or a new conformance kit executed these scenarios.

6 Reviewed concept baseline and exact clause bindings

This edition selects the 185 source-owned concept closure with world modules 0.6.1 and unchanged registration 0.1.3. The publication baseline and exact canonical lock/package commitments are supplied in this edition's release metadata. Clause bindings identify the particular meanings used; the full package is not a compulsory runtime ontology. Fixity, ontology checks and export reimport are not proof of operational interoperability.

The normative companion schemas/index.json identifies the closed schemas, selected computation agreement and finite vectors. Domain meaning and acceptance require the semantic provisions as well as schema validity.

This edition CP 0013 v0.1.0 selects approved source-owned world module successors 0.6.1 and unchanged registration module 0.1.3 as clause-qualified meanings. The exact supplied185-concept closure is package SHA-256 810c44661015d4acae85b227cb119b7b479ec5e16d7473b9f1eac4bdd9398dad, with original package lock SHA-256 36b28b8e37b913cf5233bf8012b3943f772e4a8852d09ef0fccb952664b731ee. Adoption of a meaning does not require an implementation to support every optional package feature.

Publication-only root https://cyberplanetary.org/modules/shared-reference-publication-bindings version 0.16.0 owns no concepts and preserves historical publication records. Native manifest SHA-256 5689c7934bdf40923354b3cb8dae2565d48434ef42a4db7c62e8c0f2ebc723e0, locked closure SHA-256 862ca08de2e40321ae8172705057edf18821f3fc0dc599e5d54bf8397fe67561, and normal CSM package SHA-256 aa78c5ce2f3375025cdaf11939733aeceedc1735db6b6a88ccf5b0c357d22798 accompany standards/series/baselines/shared-reference-publication-bindings-0.16.0/. The exact concept-bindings.json lists actual edition clause anchors. Native lock/export/package checks establish fixity and resolution, not conceptual truth or runtime interoperability. Only each clause's selected meanings are adopted, not every package concept as a runtime requirement.

The companion schemas/index.json is committed by SHA-256 60b793c07cb9c4ca5e7a2e76cdb191a2c11577a59c1f227f8b011be700afcae2. It lists this edition's normative companion schemas and conformance companions.

Annex A (informative) — Examples (informative)

A CPU-only responsible service offers a two-component semantic counter model. A desktop worker receives a task for an accepted revision with values [10,-4], delta [3,2] and bounds [-100,100]. It returns [13,-2]. The responsible source checks its still-current input acceptance and recomputes the finite function before signing revision n+1. A second worker producing the same output after that advance has stale input; its uncontested calculation does not cause another advance.

A viewer independently renders the accepted values. Its pixels and interpolation are local presentation and need no result acceptance. The same device may separately execute a task, but doing so does not make it responsible for all world state. With an observer-independent task, all viewers can disconnect while an executor remains. If its lease ends, retained values are last accepted state, not evidence that the modeled process kept evolving.

Bibliography

This document has no informative references.