Cyberplanetary standards · CP 0013
CP 0013 v0.4.0 Contributed Computation and Result Acceptance
Superseded. CP 0013 v0.4.0 has been replaced by v0.5.0. It is kept for reference. superseded by v0.4.1
Released 2026-10-21T19:13:33Z by Cyberplanetary. Status: superseded. Change class: initial development.
Summary of changes: Select bounded port-readiness contracts with exact companions and unchanged concepts
Digest: aa56b965d4f2ecf80c53f28cc6ab3bb333c15df7f412ce2dd38903a3c4728d50
Files
The canonical file is the authoritative text; it never changes.
| File | Role | SHA-256 |
|---|---|---|
| cp-0013-0.4.0.md | canonical | f6ec0a6d33fc932969e46d8430d477ca9e26efb53c31b42682469edeba83cf72 |
References
- CP 0005 v0.16.0 (normative)
- CP 0009 v0.10.0 (normative)
- BCP14 (normative)
Concept baseline
Written against https://cyberplanetary.org/modules/shared-reference-publication-bindings 0.18.2 (sha256:fe8f98f49add32570a7f471216bbd84b71c8d532a8ce0ef51b6f47597d5b13df).
Contributed Computation and Result Acceptance
CP 0013 v0.4.0 (2026-10-21T19:13:33Z)
- Publisher: Cyberplanetary
- Kind: specification
- Version: initial development (major version 0): any change may break
- Replaces: CP 0013 v0.3.0
- Cite as: CP 0013 v0.4.0 (this version); CP 0013 (always the latest stable version)
Summary of changes: Select bounded port-readiness contracts with exact companions and unchanged concepts
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
- 1 Scope
- 2 Normative references
- 3 Terms
- 4 Generic contributed computation foundation
- 4.1 Dependency capacity and unchanged common budgets
- 5 Selected provisional security-deadline policy
- 6 Exact identity of admitted computation originals
- 7 Normative companions
- 8 Conformance
- 9 Standards-owned concept traceability and unchanged baseline
- Bibliography
Foreword
This edition of CP0013 specifies generic contributed computation foundation. Identified historical editions and their selections remain immutable. The concept package and CP0007 are unchanged.
1 Scope
This edition specifies domain-neutral task attribution, scoped effects and output records, exclusive claims, explicit worker trust, immutable candidate submission, source-owned acceptance, original-target recovery and issuer cancellation/acceptance fencing. It depends normatively only on CP0005 v0.16.0 and CP0009 v0.10.0. Domain-specific trajectory, control, body, contact, field and numerical correctness requirements are excluded. A selected immutable specialization and its closed schema/semantic validator are mandatory for domain acceptance; generic validity alone is insufficient.
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 0009 v0.10.0, World Content Description and Interaction
3 Terms
The qualified source, entity, original-record, permission and responsible acceptance meanings of the exact normative base references apply. An issuer retains tasks and original worker submissions; a worker proposes computation; an accepting source independently authorizes consequences in its own declared scope. These roles remain distinct even when sharing a process or host. This edition adds protocol record formats and selected meanings, not concepts or cognition.
4 Generic contributed computation foundation
Unpublished candidate for CP0013 0.4.0. Edition-qualified dependencies are CP0005 0.16.0 and CP0009 0.10.0; a normative mechanics, trajectory or control dependency is absent. Exact edition lock is the integrator's responsibility.
F-CMP-1 Roles and selection. A task issuer retains attributed tasks, offers, claims and original worker submissions. A worker proposes work and acquires no accepting-source authority. Each accepting source owns its declared entity/aspect consequences. A source may perform several roles only under the corresponding current authenticated permissions; sharing a key, host, coordinates or hierarchy creates no role authority. The selected agreement MUST identify exact immutable specialization schema and semantic-validator commitments. Unknown, unavailable or incompatible specialization is unsupported-specialization or dependency-unavailable and MUST NOT yield an accepted consequence. Generic foundation validity alone never establishes domain correctness or domain applicability. No task authorizes arbitrary code execution, a global tick barrier, organizer physics or waiting for unrelated viewers.
F-CMP-2 Closed scope and commitments. A task binds exact issuer identity, agreement/model/configuration/specialization commitments, qualified accepted inputs, typed qualified dependencies, ordered source/entity/aspect effects, output-record scopes, declared trust basis and finite lifetime/lease bounds. Each effect's accepting source MUST equal its target entity source and be explicitly authorized for its declared aspects. Dependencies convey neither effect permission nor authority over a named entity. Slots preallocate exact source/id/format/entities/aspect/action/prior/maxCount; create has null prior, terminate requires the exact current accepted prior relation under the selected specialization. A candidate may leave an optional slot unused; it MUST NOT inject duplicate, foreign or unscoped records. The specialization defines exact full input/output bytes, source-owned record admission and usage rules, validation, finite domain bounds and unsupported behavior. Generic maxima are 8 affected entities/sources,64 original dependencies,32 output-record slots,16 trust records and 60000ms task/claim/security lifetimes, within unchanged common carrier byte/depth/disclosure budgets. Model/configuration references are immutable AgreementRefs, never mutable URLs. For the directly usable generic selection, effects and outputs are ordered by canonical qualified entity identity, dependencies by role then canonical full QualifiedRecord, and output slots/record outputs by canonical [source,id,format]. Duplicate effect targets, dependency tuples, output identities or record slots are invalid. Generic committed outputs carry exact selected format/schema and a qualified canonical payload; committed record rows also carry the declared ownership/action/prior. A resolved candidate payload is still a proposal until source-owned adoption. All original payload references are exact QualifiedRecords and resolve through bounded authenticated retrieval; missing evidence is unavailable, never substituted with latest state.
F-CMP-3 Explicit trust. An accepting source's original worker-trust record binds worker key, exact model/configuration/specialization, entity/aspect scope, assessment basis and validity. The same source's original trust status binds exact trust reference, active/revoked, monotonic sequence, asOf and validUntil. A cached verified status is sufficient while applicable under security-clock and high-water rules, with maximum status age60000ms; fresh synchronous network observation is not inherently required. Missing/expired status is trust-unavailable; revoked or unselected worker is worker-not-trusted. Trust grants no mutation permission and replaces neither current grants nor live claim/local acceptance conditions. The selected assessment MUST disclose what correctness is trusted and what invariants are checked. Signature authenticity is not correctness proof. F defines no physics, numerical solver, hostile-worker verification or model-specific accuracy claim.
F-CMP-4 Exclusive claim and candidate latch. A claim is exclusive per full task reference; independent tasks may run concurrently within available offered slots. It binds exact offer, worker, execution id, attempt and lease. A replacement claim is allowed only before candidate latch and before task expiry, with a higher attempt and current authorization/trust; an old attempt cannot submit into the replacement. The first valid original worker submission atomically latches one candidate and its original authenticated envelope. Exact retries return that disposition; changed candidate bytes conflict. Reassignment after latch requires a new task. A missing worker permits replacement before latch or honest suspended/unavailable continuation, not current-looking retained results.
F-CMP-5 Submission and scope digest. Submission verifies common authentication, exact task/claim/execution/attempt/worker/model/configuration/specialization, declared dependencies, closed selected result schema, scope and resource bounds before candidate latch. Its submission receipt asserts only ingress checks actually performed and candidate-latched or duplicate; it MUST NOT assert another provider's local CAS or accepted state. The specialization fixes canonical ordered task effects, complete candidate outputs and recordOutputs. effectScopeDigest is SHA256 over canonical {task,effects,outputs,recordOutputs} with the literal selected wire representations for those three arrays. A generic schema and each specialization MUST define their representation and ordering exactly; digesting a summary instead of those selected full values is incompatible. Later effect-set or activation records may commit the candidate result, but candidate bytes MUST NOT depend on their own future result/effect-set digest. Original worker attribution remains retrievable under current disclosure; provider transport wrappers do not turn the worker into an accepting source.
F-CMP-6 Source-owned assessment. A source assesses only its authorized consequences, under current authority/trust and the mandatory specialization validator. It checks exact original task/result/claim/fence identities, complete scope and dependencies, selected domain validity, and atomic current own input/prior revision/CAS conditions. Output acceptance is attributable to that source and binds exact prior acceptance, task, result, output bytes and applicable activation evidence. Pending/refused/unavailable contains no falsely accepted output; signatures on conditional records do not establish live applicability. The specialization defines exact effect types, output/record usage, local atomicity, tolerances and any multi-source prepare/commit/activation/recovery protocol. F contains no such mechanical state machine. A multi-source task MUST NOT be declared jointly accepted without the complete selected activation evidence. One source's signature cannot authorize another source. Unrelated scopes continue while an affected consequence awaits recovery.
F-CMP-7 Replay and honest recovery. Mutations retain durable original-target dispositions for at least720000ms including supported restart, with unchanged common expiry/replay ordering and current authentication before cached disclosure. Exact retry cannot repeat an effect. Fresh authorized status may reveal retained disposition after original request security expiry. Unknown retained history is unknown-outcome, never inferred rejection. Source/incarnation qualification is immutable; a replacement provider cannot inherit uncertainty by rewriting the source. Viewer loss, absent display or missing outer interpretation creates neither assignment revocation nor entity deletion. Cancellation at the original issuer follows F-CMP-8; a status read cannot substitute for an atomic admission fence.
F-CMP-8 Issuer acceptance fence. Before any initial accepted consequence or specialized multi-source prepare, an authorized coordinator obtains task-acceptance-fence at the original task issuer, atomically serialized with task-cancel. Coordinator MUST be exactly the issuer DynamicSource or a listed acceptingSource, authenticated under its current provider key and explicit fence permission; matching a service key alone is insufficient. The issuer writes one immutable task-acceptance-fence/1 binding exact task, latched claim, result, coordinator, scope digest, canonical complete unique participant list, sequence1, authorizedAt and commitUntil. authorizedAt < commitUntil <= min(task.expiresAt,claim.leaseUntil,relevant known trust/security validity,authorizedAt+60000); none is extended. Exact retry returns the original and changed candidate/scope/participants conflict. No replacement claim, renewed sequence or second fence may acquire that task.
If cancellation wins before fence, the task becomes cancelled and no fence or initial effect may follow. If fence wins first, cancellation returns too-late-for-task-cancel with the exact fence, which means admission began, never accepted/completed. Every accepter verifies original signature, exact independent latched claim, sequence1, task/result/scope/participant/coordinator bindings, deadlines and own current mutation/trust. Local stale input, refusal or unavailable dependencies can still prevent effects. New initial commits after the fence deadline are forbidden. A selected specialization may recover and activate existing irreversible commitments after deadlines, but cannot use recovery to create expired initial commitments or silently roll them back. Retain unresolved safety fences until selected original-target recovery resolves them. Fences are scoped task-service coordination, not a world-wide physics service or client barrier.
F-CMP-9 Specialization and error ordering. A specialization MUST publish closed task/result/assessment/accepted-output schemas and validator semantics; exact type/format mapping; canonical ordering/digest projection; domain dependencies and scope checks; role/permission map; lifecycle and bounded optional capabilities; trust versus checked properties; output creation/termination and CAS rules; failure ordering and positive/negative vectors. It may narrow generic maxima but cannot relax source qualification, current authorization, exclusive claim, latch, cancellation cut or replay guarantees. Such selections introduce new immutable artifacts; they do not mutate F schemas or reinterpret identified foundation bytes. After common lexical/envelope/signature/source/current-permission handling, check closed schema/resource limits, task/claim/security/cancellation, worker/trust/model/specialization, original dependencies, complete scope/digest, domain validator, then atomic source-owned CAS or selected multi-source transition. Preserve common failures; domain defaults are unsupported-specialization, dependency-unavailable, stale-dependency, invalid-evidence, scope-exceeded, invalid-output, conflict and unknown-outcome. Unsupported optional capabilities do not invalidate unrelated supported agreements. Foundation conformance alone makes no useful-physics or complete profile claim.
4.1 Dependency capacity and unchanged common budgets
The generic task/result dependency count ceiling is64. This is a count ceiling, not a promise that every64-dependency task fits. The common64-fetch/128-record/4MiB resolution limits, depth16,65536-byte decoded request and all other carrier budgets remain unchanged. A complete task exceeding any limit refuses budget-exceeded; it must not omit required evidence. Specializations may narrow the count but cannot exceed these budgets.
5 Selected provisional security-deadline policy
F-CMP-10 Security clock policy. provisional-host-security-deadlines/v1 uses the provisional host-clock integer milliseconds since1970-01-01T00:00:00Z of CP0005 L-TIME-1/L-STREAM-3 for task creation/expiry, claim lease, issuer authorization, initial cooperative deadlines and credential/trust admission. These values are not CP0007 modeled ticks and establish no quantitative physical clock synchronization claim. Each issuer/acceptor performs the selected comparisons against its own available current provisional estimate. The common carrier retains its120000ms future-skew processing; it does not extend a domain task, claim, trust, fence or initial-commit deadline.
For a new acceptance fence require task.createdAt <= authorizedAt <= localNow < commitUntil <= min(task.expiresAt, claim.leaseUntil, applicable current security/trust deadline, authorizedAt+60000). Initial prepare/commit must also satisfy their stricter selected local deadline predicates. Equality at commitUntil is too late for a first commit. A future issuer timestamp that fails this fence inequality returns its selected expired admission-time failure (not a claim that its future instant is physically in the past); the receiver does not wait for clock catch-up or silently add the carrier skew. A missing or faulted local estimate refuses new admission as clock-unavailable. Detected rollback beyond the retained CP0005 clock high-water policy is stale-evidence, not permission to reopen expired work. No receiver corrects its clock from a task or accepts a peer's unsigned clock-active assertion.
Exact replay/status and complete already-issued cooperative evidence retain their original recorded event times. Later retrieval does not create a first commit and cannot renew a deadline; current disclosure/authentication still apply. A complete prior proof may establish historical effective state after its initial issuance deadlines. Missing participant evidence remains unresolved rather than being manufactured by expiry. Modeled trajectory/history applicability, state/control/relation cuts and local input CAS remain separate conditions. Clock disagreement can make only the affected operation unavailable; it does not create a whole-world barrier or require all clients to synchronize before unrelated work.
6 Exact identity of admitted computation originals
Owning CP0013 foundation rule, specialized by dynamics without a second request or lifecycle. This selection reuses CP0005 v0.16.0 L-ENC-1/2/4 and L-EXEC-1 and CP0009 v0.10.0 L-TGT-3. It changes neither base standard nor existing offer/result payload formats.
F-CMP-11 Original request custody and producer. A successful admitted compute-offer retains the exact worker-signed interactive-request/1 envelope, including its complete original canonical request payload R. An admitted result-submit similarly retains its exact original worker envelope. These are existing request originals, not issuer-signed replacements or a new record format. Their protected typ is exactly interactive-request/1. The designated producer/signature key is R.requesterKey.kid under the CP0005 verified JWK thumbprint, equal to R.body.workerKid. The body format is computation-offer/1 or dynamics-offer/1 for compute-offer, computation-result/1 or dynamics-result/1 for result-submit, under the exact selected agreement. A signature authenticates that producer; admission still requires its exact current operation permission, task/claim applicability, issuer source and all selected checks. No record retrieval or worker signature establishes accepted effects.
F-CMP-12 Deterministic qualified slot. Let H be the32 SHA256 bytes of the complete canonical R payload under CP0005 L-ENC-1. D(R) is sha256: followed by the64 lowercase hexadecimal digits of H. Let B be RFC4648 base32 encoding of H, with its padding removed and ASCII A–Z converted to a–z; B has exactly52 characters in a–z2–7. No truncation, salt, envelope bytes, signature bytes, result-body-only digest or transport formatting participates. The QualifiedRecord is exactly {source:R.target.source,id:prefix+B,digest:D(R)}; prefix is offer- for compute-offer and submit- for result-submit. The resulting ids are58 and59 ASCII characters and satisfy the existing Token bound. The source is the exact original issuer/custodian target DynamicSource, including world/context/subject/field/service/generation/incarnation. It names custody and original admission target, not the worker's authority or producer key. This domain slot rule is checked by deriving source/id from R; R need not acquire artificial source/id fields. Hash collision or an existing source/id with different original bytes refuses conflict rather than overwrite.
The compute-offer response retains its selected existing shape. Both parties derive the offer QualifiedRecord from the original request they already hold, without a new acknowledgment, operation or private identifier. A claim's offer MUST equal that derived reference. The issuer stores it before returning successful compute-offer. A claim uses that offer only at its exact original target, for the authenticated advertised worker and selected model/configuration, finite slots and validity. Reusing the same worker key at another source incarnation does not rebind an old offer.
F-CMP-13 Submission/result linkage. At first valid candidate latch, the original issuer stores the original request and provider-owned result-record atomically before exposing success. The result-record source equals R.target.source and task.source; its workerKid equals R.requesterKey.kid and R.body.workerKid. Its originalSubmission is the derived submit QualifiedRecord. Its originalSubmissionDigest equals D(R), not D(R.body) or the signed envelope digest. Its resultDigest separately equals D(R.body). R.body.task, claim, execution, attempt, model/configuration, dependencies and effect scope match the exact current original task/claim and selected candidate at admission. The claim task, worker and execution/attempt match those values; claim.offer resolves to the exact previously admitted offer request. The task and claim retain their independent original QualifiedRecords and issuer signatures. Signature-valid requests for an unrelated task, foreign claim, replaced attempt, changed source lifetime or wrong selected agreement do not enter this slot.
An exact admitted original retry resolves the same qualified slot and disposition. A later request with identical result body but a different request id or envelope payload does not overwrite the first latched originalSubmission reference; selected duplicate handling returns the existing first candidate/result-record. A changed candidate conflicts. Unknown outcome does not authorize a new request id or target. Historical retrieval checks the original event's admission evidence; it does not pretend a completed old claim/request is newly live or renew any expiry.
F-CMP-14 Retrieval, retention and disclosure. Retrieve either original through the existing separately offered common interactive-exchange/1 record-get at its exact original target, with query digest equal to its QualifiedRecord digest and current view/disclosure permission. The returned record is the exact retained worker envelope. Its outer provider response authenticates delivery only. The consumer independently verifies original typ, canonical digest, deterministic slot id and target/source lifetime, requester JWK/thumbprint/signature, worker/body identity, exact selected agreement/operation, and retained issuer admission/claim/result linkage before using it as evidence. A provider signature over a copied request body cannot replace that worker envelope. A source.service signature alone cannot satisfy the worker producer slot unless it is independently the authenticated admitted worker key. Current disclosure and applicable historical authority evidence remain required; no unsigned accepted flag or lookup cache supplies admission evidence.
Retain admitted offers and original submissions plus their exact linkage/dispositions for at least720000ms after admission and throughout unresolved dependent claims or committed consequences, including the selected supported restart. The existing finite task/store, common65536 decoded-request,1048576 HTTP/response, depth16,64 fetch/128 original/4MiB resolution budgets remain. Refuse new admission on capacity exhaustion rather than evict required unresolved originals. No second archive API, arbitrary worker record-put or grant expansion is created. Missing bytes returns not-found/unavailable, unauthorized disclosure permission-denied; wrong original digest/id/typ/signature is invalid-evidence, wrong task/claim/source binding scope-exceeded or selected stale-claim/stale-source. A replacement provider cannot rewrite the old source or claim historical admission as current authority. A withdrawn current grant can prevent retrieval; absence is honest unavailable, not permission to fabricate the original.
F-CMP-15 Payload versus envelope evidence digest. In this selection D(R) always hashes the complete canonical decoded request payload. E(O), when an evidence field explicitly names an original-envelope digest, hashes the canonical flattened original envelope object O with exactly protected/payload/signature; it does not hash HTTP whitespace, an outer delivery wrapper or only R.body. E is a vocabulary distinction, not a new required wire field. A QualifiedRecord digest and originalSubmissionDigest remain D(R), never E(O). The same textual request id under different worker keys or target source incarnations yields distinct full canonical request bytes and distinct deterministic qualified references. Task/claim/replay scope retains its existing authenticated owner and full original target qualification; text id equality does not merge workers or incarnations.
Retained original envelopes, derived references, first-candidate linkage and dispositions survive supported restart unchanged. A fresh currently authorized disclosure read may return these exact originals after the original request/claim/security deadline, using recorded historical admission evidence. It neither reexecutes the original nor reissues it with new timestamps/source/id/signature. Historical admission must have satisfied original current authority and security bounds; current read permission is independently required and may later be denied. Loss of retained evidence is unavailable/unknown, not permission to manufacture a substitute.
7 Normative companions
The exact edition-specific self-contained schema/artifact inventory is schemas/index.json, SHA256 d217263a816837236b1f47db85bac53676bc2cb3d71f3f83809134dff962b9bf. Every listed byte length and SHA256 is normative. Qualified original retrieval and all selected resource budgets remain applicable. JSON vectors are conformance assessment material; no vector substitutes for current authorization or original-signature verification.
8 Conformance
A claim identifies exact agreement, schema, model/configuration, role, finite bounds and assessment basis. Every applicable selected invariant and mandatory specialization validator must pass; unknown/missing evidence is unavailable, never implicit success. Companion vectors provide finite positive/negative assessments, not a deployment or current-authority certificate. Domain numerical correctness cannot be inferred from an authentic signature or base schema validity. Required profile interoperability and physical demonstration remain separately evidenced.
9 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 e557e6b4e49b6e1531d897256c7835735a369cb7bbd7c3876181c4654908b26a. 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.
Bibliography
This document has no informative references.