Skip to content
Cyberplanetary

Cyberplanetary standards · CP 0007

CP 0007 v0.2.0 Temporal References for Worlds

Superseded. CP 0007 v0.2.0 has been replaced by v0.3.0. It is kept for reference. superseded by v0.3.0

Released 2026-10-08T03:04:33Z by Cyberplanetary. Status: superseded. Change class: initial development.

Summary of changes: Separate UTC conversion knowledge from non-expiring atomic positions and consistent clock claims

Digest: 3d6b5fdf3eb1874d465ef9cf71b5e99a79341de9bcafcd7ede25482717c950bb

Files

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

FileRoleSHA-256
cp-0007-0.2.0.mdcanonical78deeb68ea7148bcc04d7b35a6bc1e63dd5799b61f8bc4c700e19c36a9a1f652

References

Temporal References for Worlds

CP 0007 v0.2.0 (2026-10-08T03:04:33Z)

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

Summary of changes: Separate UTC conversion knowledge from non-expiring atomic positions and consistent clock claims

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

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

Temporal references give separately supplied results an identified interpretation of time. They do not organize provider execution or establish responsibility. This specification selects one metric mode and explicit UTC conversion knowledge without an operational expiry; worlds remain free to select other temporal agreements.

1 Scope

This specification defines world-temporal-context/1, a temporal reference with bounded integer encoding, and a frozen conversion-knowledge artifact for its first supported real-time application. It specifies positions, durations, intervals, clock estimates and interpretation failures. Requirement words have the meaning in BCP 14 (RFC 2119 and RFC 8174). Schema syntax follows JSON Schema Draft 2020-12. The companion schemas and fixed interpretation vectors form part of this contract.

The selected scale is continuous International Atomic Time (TAI), with SI seconds under BIPM SI Brochure, 9th edition (2019), version 4.01 (June 2026) and the continuous TAI definition in CGPM Resolution 2 (2018), On the definition of time scales, with a one-to-one elapsed real-time rate. A rate is a relationship between temporal references, not a computation or reporting frequency. Providers may evolve and report at different rates. No common tick, execution barrier, permission-to-advance service, missing-interval calculation or model-state synchronization is required.

CP 0005 uses this representation only when its selected agreement and configuration adopt it. An unsupported temporal reference prevents dependent interpretation; it does not by itself revoke an assignment. Credential validity and revocation clocks are separate authentication requirements.

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.

3 Terms and interpretation

The following managed meanings are used, without redefining their owning modules:

  • 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.
  • temporal context (https://cyberplanetary.org/concepts/world-simulation/temporal-context): reference information locating or ordering modeled conditions, occurrences or statements within identified temporal conventions.

ticks below counts milliseconds on the selected reference. It is not a local simulation-step counter. An encoding quantum expresses representational precision, not measurement accuracy. A duration measures elapsed SI milliseconds; a frequency expresses occurrences per SI second and is not a position or uncertainty.

4 Reference identity and finite positions

T-REFERENCE. The identified reference artifact tai-1972-millisecond/2 has origin 1972-01-01T00:00:00 TAI, direction increasing with TAI, unit SI second, quantum exactly 1/1000 second and elapsed rate exactly 1 relative to TAI. Its canonical artifact accompanies this edition. Reference equality requires both its exact id and SHA-256 digest over canonical artifact bytes; matching numbers, units or rates cannot substitute.

T-POSITION. A position is a decimal JSON integer ticks, from 0 through 9007199254740991 inclusive. This denotes the origin plus ticks/1000 SI seconds. This is an integer encoding bound, not a calendar validity period. No calendar date expires the reference or requires adoption of a later standards release. Fractional numbers, exponents, negative zero, negative positions and unsafe integers fail. No floating-point arithmetic is needed. The common ASCII canonical encoding is recursively key-sorted JSON without whitespace or duplicate members, with retained array order and safe decimal integers. Unicode escapes, non-ASCII strings and undeclared members are unsupported.

T-COMPARE. With equal verified reference identities, smaller ticks precede larger ticks, and equal ticks designate the same encoded temporal position. Reference mismatch returns unsupported-reference; no guessed conversion is permitted. Positions stay valid TAI positions when UTC conversion is unsupported. Unknown mapping identity prevents use of that mapping, not same-reference position comparison.

T-DURATION. Subtract ordered ticks using integers to obtain elapsed milliseconds; reject an unsafe subtraction result as invalid-representation rather than rounding. A duration has explicit unit:"si-millisecond" and signed value between -9007199254740991 and 9007199254740991. Frequency, where represented in operating examples, has unit:"hertz" and positive integer numerator and denominator at most 1000000; its rational value is numerator/denominator per SI second. Frequency never grants an execution obligation. These typed records cannot be substituted for positions.

5 UTC correspondence and conversion coverage

T-MAPPING. Use only the accompanying exact tai-utc-iers-c72/2 artifact for this edition's initial UTC conversion mode. It records source and target reference identities, the offset table, source standards, coverage and publication context. Its exact identity/digest must match the selected mapping. Correct bytes establish the declared conversion, not their adoption by a world.

The table follows IERS Bulletin C72 (2026-07-06), issued 2026-07-06, and IERS TAI-UTC offset table, updated through Bulletin C72 updated through that bulletin. TAI minus UTC starts at 10 SI seconds on 1972-01-01 and reaches 37 on 2017-01-01. Bulletin C72 announces no leap second at the end of December 2026. The artifact's knowledgeStart and knowledgeEndExclusive identify [1972-01-01T00:00:00.000Z, 2027-01-01T00:00:00.000Z) as the interval for which this frozen table establishes the selected UTC correspondence. These dates limit exact conversion knowledge only. They are not validity dates for the TAI reference, clock estimates, observations, responsibility or simulations. There is no operational cutoff and no obligation to adopt a later standards release before a date. Retrieval does not expand the frozen knowledge. Further authenticated conversion information can be deliberately adopted under a different artifact identity; ordinary operation MUST NOT depend on that adoption.

T-UTC-SYNTAX. UTC input is exactly YYYY-MM-DDTHH:MM:SS.mmmZ, with a valid proleptic Gregorian date, a four-digit year, zero-padded fields, hours 00-23, minutes 00-59 and exactly three fractional digits. Seconds 00-59 are ordinary labels. Second 60 is allowed only at 23:59 on a positive leap day immediately preceding a listed offset increase of one. Offsets other than Z, missing fractions, excess precision, impossible dates, unlisted leap labels fail as invalid-representation. An otherwise valid ordinary label outside conversion knowledge returns outside-conversion-coverage only for an exact conversion request. Pre-1972 fractional UTC adjustments, negative leap seconds, local calendars and smearing are outside this mode.

T-FORWARD. Let G(label) be nominal Gregorian milliseconds from 1972-01-01T00:00:00, treating every nominal date as 86400 seconds and ordinary seconds as 00-59. For an ordinary covered UTC label, select the table offset o effective at that label and compute ticks=G(label)+1000*o. For a listed leap label on day d, let B=G(next-day(d)T00:00:00.000) and let o be the offset before that midnight. With fractional millisecond m, compute ticks=B+1000*o+m. The following midnight has ticks B+1000*(o+1).

T-INVERSE. For each listed positive transition at nominal midnight B, first test the TAI interval [B+1000*o, B+1000*(o+1)). If ticks lie there, emit the preceding day's 23:59:60.mmmZ with m=ticks-(B+1000*o). Otherwise select the unique ordinary offset segment whose TAI image contains ticks, subtract 1000*o, and format that nominal Gregorian millisecond. Reject ticks outside the image of the declared UTC coverage. The first covered UTC label maps to tick 10000; ticks 0..9999 are valid TAI but lack this UTC conversion. The last covered TAI tick is one millisecond below G(2027-01-01T00:00:00.000)+37000.

Differences in TAI positions measure SI elapsed time across leap seconds. Subtracting nominal Gregorian labels without applying the mapping does not. An exact conversion MUST NOT extrapolate the last offset beyond known correspondence. A default host adapter may compute a provisional estimate by the explicitly declared projection in T-HOST, but MUST NOT present that estimate or an inverse projection as an established exact UTC/TAI conversion. Failure of an optional exact UTC conversion MUST NOT invalidate a valid same-reference position or stop observations or advancement.

6 Temporal roles, estimates and uncertainty

T-CONTEXT. A world-temporal-context/1 representation contains exact reference and mapping artifact references, applicability, produced, and published. Applicability is either an instant (kind:"instant",at) or a nonempty half-open interval (kind:"interval",start,end) with start less than end. All positions use the declared TAI reference. produced identifies the production of the particular result or statement carrying the context; published is either an independently recorded publication estimate or null. Production and publication may coincide but remain different roles. No clock reading establishes that the modeled values apply to the present.

Each applicability record has uncertainty; a clock estimate has at, clockBasis and uncertainty. clockBasis identifies the local clock using an ASCII token, its reading convention (tai or utc-step), declared resolution in milliseconds, a bounded description of its source/basis and a required conversion status: exact, provisional or not-applicable. Host clock readings use existing timekeeping facilities. This is a stated estimate basis, not a certification or appointment of a time authority.

T-UNCERTAINTY. Null means no quantitative uncertainty claim. A non-null record has kind:"symmetric-bound", nonnegative safe integer milliseconds and a nonempty bounded basis description. It asserts that the difference between the encoded estimate and the occurrence's temporal position is at most that many SI milliseconds in either direction under the stated assessment basis. Applicability-instant bounds concern the stated occurrence; interval bounds apply separately to each endpoint, without asserting correlation. Zero is an explicit zero-error assertion and must not be used for unknown error. Encoding resolution and quantization do not establish clock accuracy. Bounds outside the representable position range do not enlarge that range.

T-CLOCK-CLAIM. at always encodes an estimated position in the declared TAI reference, including when its clock reading is UTC. It does not change units or origin according to clockBasis.reading. A tai reading requires conversion:"not-applicable"; its valid position is independent of UTC knowledge. A utc-step reading requires conversion:"exact" or conversion:"provisional". Exact means the UTC-to-TAI correspondence is established by the selected mapping; it does not assert zero clock error. An exact claim outside that mapping's TAI image returns outside-conversion-coverage. A provisional claim is allowed only at or beyond the upper end of that image and denotes the last-known-offset projection described below, with uncertainty:null. The frozen table supplies no justified finite bound on missing future conversion knowledge. A finite provisional bound, contradictory reading/status pair, absent status or other malformed claim returns invalid-representation. Applicability positions have no clock-conversion claim and are validated independently of this image. Neither a null publication estimate nor a TAI clock estimate requires an optional UTC conversion.

T-HOST. An adapter using a POSIX ordinary UTC clock declares reading:"utc-step" and explicitly describes that POSIX convention in clockBasis.basis. Let B be the nominal Gregorian millisecond of each listed positive-leap midnight. A nominal reading in [B-1000,B+1000) returns ambiguous-clock: this conservative guard covers the repeated/omitted preceding second and following first second. Outside these intervals and within conversion knowledge, convert the ordinary UTC label with T-FORWARD and emit conversion:"exact". A leap-aware clock that distinctly supplies a listed :60.mmmZ label can use T-FORWARD directly; its basis must state that capability.

For an ordinary host UTC reading at or after knowledgeEndExclusive, the default adapter MUST continue supplying a clock estimate. Compute at=G(reading)+1000*oLast, where oLast is the last listed offset (37 seconds in this artifact), set conversion:"provisional" and uncertainty:null, and explicitly describe the last-known-offset projection and unknown future conversion error in the basis. This is an estimate of TAI, not an exact assertion that future UTC has this offset. Do not silently preserve a quantitative accuracy assertion when its conversion component is unknown. A reading before knowledgeStart has no such supported projection and returns outside-conversion-coverage. A smeared or unknown clock convention returns unsupported-clock. A separately established TAI reading emits conversion:"not-applicable" and does not use this projection.

Convert finer-resolution samples by flooring their nonnegative elapsed millisecond count before encoding, and describe resolution/quantization in the basis. Quantization never supplies an accuracy bound. Observation production, provider advancement, publication and client reception MUST preserve these statuses and bases. They MUST NOT request an exact UTC conversion as a prerequisite to consuming an otherwise valid estimate. Providers advance under their own local cadence and declared time basis; a provisional estimate does not add a common clock authority or scheduler. Credential clocks remain subject to their separate authentication policy.

T-RECEPTION. The receiving client records reception time using its own clock and labels it locally. It must not insert reception into the signed provider context or attribute it to the provider. A new authenticated response can carry an older result. In CP 0005, State provenance temporal context describes result production/applicability; responseContext describes production of the fresh response. Re-signing or republishing does not change the retained result's applicability or production time. Publication null makes no publication-time claim.

7 Processing, errors and conformance

Validate whole byte/count/depth bounds before decoding, canonical syntax, exact schema, position/interval rules, reference identity, mapping identity and clock-claim semantics separately. Validate produced and each non-null published claim under T-CLOCK-CLAIM; never require UTC conversion for applicability or a tai reading. Reject unsupported reading conventions as unsupported-clock before treating them as a generic schema failure. For well-formed claims, check the reading/status combination before checking exact-conversion coverage, so contradictory claims have the same error in every implementation. Schema validity is not sufficient to establish a listed leap, valid Gregorian date or a clock assertion. Conversion-knowledge limits MUST NOT stop otherwise valid observations or simulation advancement. No failed interpretation changes a CP 0005 assignment or supplies a missing provider's modeled result.

The interpretation outcomes are invalid-representation, unsupported-reference, unsupported-mapping, outside-conversion-coverage, ambiguous-clock, unsupported-clock and a successful typed interpretation. Invalid Gregorian/leap syntax is invalid-representation; a syntactically valid label outside coverage is outside-conversion-coverage. Exceeding byte/value/depth bounds is too-large. Preserve the cause; do not turn an unsupported reference into zero, current time, an unassigned subject or a precision claim.

Conformance to this edition means implementing its selected encodings, role interpretation, comparison and conversion algorithms and the fixed vectors, including independent forward/inverse interpretation. Maximum context bytes are 16384, values 512 and depth 10; reference/mapping artifacts are each at most 16384 bytes, values 512 and depth 10. Every string is bounded by its companion schema. No remote schema or reference fetching follows merely from an identifier or supplied URL. CP 0005 separately governs artifact adoption, authorization and signed exchange bounds.

The vectors cover equal/different references, duration and interval interpretation, positive leap boundaries, coverage endpoints, malformed/unknown representations, unknown uncertainty and delayed results. A conformance claim identifies this exact edition and supported mode, not a scheduler or real-world synchronization guarantee.

8 Concept baseline and exact clause bindings

This edition uses temporal reference system, temporal position, temporal reference mapping, clock time estimate and temporal context from world-dynamics 0.3.0, with their unchanged identifiers, definitions, relations and ownership. Its publication-only binding consumer and exact locked dependency closure accompany the complete reviewed publication set. Native lock validation establishes artifact integrity and selected dependency resolution; it does not certify clock accuracy or implementation conformance.

The publication-binding root is https://cyberplanetary.org/modules/shared-reference-publication-bindings version 0.1.0, manifest SHA-256 9a25b7902912c927178b7b5af524e5f87d54a9e085e9b5ebe168ecfa09876f31. Its exact native lock has SHA-256 b35c6df58c768cb7d14287f4b6f9b145bd7c0a401f76b813854ac4ec5544dcef; its packaged closure has SHA-256 51e23d47ce243591e2c7da61a5e666070f3ddcfb6fa90f11e0522268b7b86a18. Companion files are standards/series/baselines/shared-reference-publication-bindings-0.1.0/module.json, concepts.lock.json and concepts-package.zip. The root owns no concepts; its declared dependency closure includes the unchanged domain modules needed by these bindings.

Bibliography

  • CP 0000 v3.0.1, How these standards are numbered, versioned and retired