Source evolution, incorporation and authoritative revisions
Authorities: the lifecycle transitions and the occurrence/effect/observation/Claim loop are carried verbatim in Authorities — this chapter is pedagogical and does not replace it.
The FormaSL source organizes the declarations and semantic information an application uses. Along its history, that information can be added, replaced, relocated or stop being part of a determined source state. Other events, such as the correction of a Claim or the revision of a theory, establish semantic relations between elements that remain historically identifiable. FormaSL treats each passage under its contract, keeping the change’s origin, the basis on which it happened and the authority that introduced it.
The language distinguishes source authorship, authoritative state evolution and semantic succession. Authorship produces or edits .fsl material. Evolution introduces another source state recognized as authoritative. Succession relates semantic elements or positions by correction, replacement, retraction, deprecation or refinement. The same activity can involve the three responsibilities, without one automatically performing the others.
The source and its states
An AuthoritativeSourceState identifies a source state admitted under a determined scope. Its contract includes identity, exact references to the predecessor states, the semantic basis used, the accepted set of changes and the provenance of authorship, evolution and authority. It also keeps the bindings and declarations composing that state, the pertinent times and the historical dependencies needed for reconstruction.
Each introduced state remains immutable. A new revision produces another state and establishes its relation to the earlier bases. The representation can be stored in files, objects, databases or other mechanisms; the authoritative state’s identity belongs to the semantic layer, with explicit correspondences to the physical representations.
Historical identity also distinguishes source states that, under a determined criterion, present equivalent content. The equality of text or of a projection does not erase differences of authorship, admission or trajectory. Likewise, a file’s address and a commit identifier are coordinates of representation and operation, not universal substitutes for the semantic state’s identity.
Authorship and authoritative introduction
Source authorship involves creating and modifying .fsl units, organizing modules, declaring relations or updating their content. The produced source can go through resolution, static verification and elaboration before being used. That path determines whether the declarations are well formed and to which identities and contracts they bind.
Authoritative introduction adds another condition: a source transition is accepted under a specific basis and authority. The transition verifies the affected scope, the starting state, the change set and the admission conditions. When it happens, it produces a new authoritative state and a history of its introduction.
FormaSL keeps separate roles for author of the material, evolution owner, source authority, publisher or recorder and mechanism executor. The same person or service can play several roles; the contract records in which quality it acted and with what ground. The mechanism that wrote a file or completed a publication does not by that fact acquire the competence to introduce Claims, decisions or new authorities.
Changes of bindings and declarations
Evolution uses a SourceChangeSet, formed by operations whose effects on the source’s bindings are defined by the contract. The fundamental repertoire includes addition, removal, replacement and relocation of bindings, incorporation of existing artifacts and attachment of source metadata.
An addition introduces a new binding with its own identity. A removal takes the binding out of the new state’s composition, keeping its historical occurrence. A relocation establishes another binding and an explicit correspondence with the earlier location. A replacement creates the successor reference according to a representation relation and a determined mapping. Transporting a binding without relevant changes preserves its identity.
The equality of names, paths or text fragments does not by itself decide a binding’s identity. The history allows recovering where a declaration appeared, under which revision and how it came to join another state. The removal of a source binding also has a pertinence meaning: the declaration can stop being part of the selected revision without a historical assertion having been retracted or its content established as false.
New declarations have introduction contracts. Certain semantic elements defined by the source itself can be co-introduced with the authoritative state, in a coupled passage. Others require an independent introduction act, as happens with categories whose status follows from issuance, observation, decision or another lifecycle transition. The change set records that difference and does not use the declaration’s textual form to fabricate an occurrence’s status.
Exact bases and admissibility
Every evolution identifies its basis. The admissibility contract determines the required relation between the origin states and the state to be introduced. The profiles include EXACT_BASE_ALLOWED, REQUIRE_EXPECTED_HEAD, REQUIRE_DESCENDANT_OF and MULTI_BASE_RECONCILIATION.
When the policy allows an old exact basis, it can originate an independent branch. When it requires the expected head, a concurrent change of that head makes the candidacy stale and requires the treatment foreseen by the contract. The descent rule requires an appropriate historical correspondence. Multi-base reconciliation requires a declared relation between the states and the changes to be gathered.
The authoritative states form an acyclic history by references to predecessors. Legitimate branches can coexist. The selection of a current state is performed under its own contract, instead of being inferred from the writing order or the preference for a publisher.
When two evolution lines bring incompatible changes, source reconciliation examines bindings, identities and change differences. The semantic reconciliation of conflicting Claims or positions has its own authority and criteria. Gathering two sets of files does not automatically decide which domain assertion should prevail.
Preparation, admission and publication
A transition can first produce a prepared candidate, containing the sealed basis, the change set, the candidate identity of the new state and the verifications that can be performed before introduction. That preparation is useful to examine bindings, dependencies, collisions, admissibility and effects on the program.
Authoritative introduction requires completing the governed procedure. The evolution contract foresees a SourceStateAdmissionBundle gathering the base states, the candidate, the resulting binding set, the declarations that can be co-introduced, the pertinent evaluations and the authority evidence. The coupled introduction produces the new state and the co-introduced statuses required by the contract, or produces none of them.
The publisher executes the mechanisms needed to record and make the state available. The physical conclusion of the distribution can happen after the authoritative commitment, according to the publication boundary; later replication problems are tracked without erasing the already admitted state. The publication information and the semantic history keep their own roles.
Incorporation of existing artifacts
Incorporation (incorporate) lets the source add a reference to an already existing semantic artifact. Before that passage, the artifact has identity and status established by its origin contract. Incorporation is governed by the source’s authority and the exact basis on which the reference will be admitted.
An acquired observation, an issued Claim or a reasoning consequence can be selected to join a source state, when the applicable contract admits that use. The act keeps the artifact’s identity and the attributes determining its interpretation: issuer or producer, original times, context, dependencies and completeness or observation conditions. The new binding adds the incorporation’s provenance and the corresponding source locus.
An incorporation does not by itself change the artifact’s status. The presence of a Claim in the authoritative corpus informs its inclusion in that source; the truth of the content and the legitimacy of its issuance stay subject to the pertinent contracts. A hypothetical result also keeps its dependency on the scenario, even when incorporated as an artifact for documentation or later use.
That passage is especially relevant in the path between runtime and source. An execution can produce results, observations or receipts; the incorporation mechanism determines when and how one of those elements comes to be referenced by an authoritative revision, without equating the operational output to the source’s authority.
Authority, independence and self-consistency
The authority of an evolution must be resolved from the declaration and revision admitted by the verified semantic world. The change cannot produce, by its own inclusion, the authority needed to authorize it. The references to authority, target and changes are confronted with the sealed basis before introducing another state.
The authority role is different from the author role, and both are different from the publisher mechanism’s activity. An operator authorized to edit the text can still need a source admission act to change the recognized revision. A change in the physical representation can also have no effect on the selection of authoritative states until the corresponding transition happens.
The public incorporation contract makes those verifications observable as typed results. A resolution failure, revision divergence, self-validation attempt or absence of the required status for an artifact produces a refusal at the responsible point. The result informs which condition prevented the admission, preserving the already established history.
Succession between semantic elements
Source evolution can accompany a semantic succession, but the latter has its own contract. FormaSL represents historical relations as CORRECTS, SUPERSEDES, RETRACTS, DEPRECATES and REFINES. Each relation identifies the target and, when applicable, the successor; it keeps the agent, the authority basis, the context, the scope and the pertinent times.
A correction declares, under specific authority, that other content was produced to correct the earlier one. A replacement by succession determines the preference or applicability of a successor element in a determined use and interval. A retraction records the attributable abandonment of a position. Deprecation restricts or discourages future uses under the contract. Refinement records an admitted relation of content or commitment specialization, without automatically imposing a subtyping relation between declarations.
The existence of the historical relation and its effectiveness are evaluated separately. An alleged succession relation can be recorded even when its admissibility or authority is still undetermined. The selection of an element as the effective successor considers the relation’s contract, the authority and the pertinent scope.
The general succession history does not need the same topology as the source states’ history. Relations between positions can be plural, conflicting and subject to local evaluations, while source states keep the acyclic dependency of their introductions. A revised theory also does not retroactively reinterpret the consequences computed under its earlier revision.
Identity and continuity in revision
Each succession relation declares how it affects the involved identity dimensions. Depending on the category, a reference can keep the earlier identity, introduce new identity or record an explicit correspondence between two elements. The identity of an issued Claim, for example, stays associated with that act; an assertion corrected by a new issuance has another identity and historical relation to the earlier one.
Source changes also need to keep the correspondence between declarations, bindings and referents. A relocation can change the source locus without changing the semantic referent. The introduction of a new type or theory contract requires the revision relations letting the versions be used correctly, without rewriting historical judgments.
An application that produced a result over an earlier state keeps that basis. The analysis of its reuse before a new revision is done by an impact contract, which can conclude REMAINS_VALID_UNDER_NEW_STATE, RECOMPUTE_REQUIRED, HISTORICAL_ONLY or UNRESOLVED_IMPACT. Adding or removing information can change the meaning of queries and inferences, even when their direct references seem unchanged.
Source times and historical selection
The SourceTransactionTime situates the state’s admission in the authoritative history. The SourceEffectiveTime, when applicable, situates its semantic effectiveness. The instant the revision becomes physically available to a consumer is another coordinate, of operational nature. Those times can coincide, but keep distinct functions.
The selection of a basis can use an exact state (EXACT_STATE), the state recorded at a determined moment (AS_RECORDED_AT), the effectiveness at a determined time (EFFECTIVE_AT) or the temporal resolution of a locator (RESOLVED_LOCATOR_AT). The result can be unique, multiple, absent or unresolved, according to the history and the contract.
After the source basis is selected, another operation can select which semantic elements are effective for a determined category, period or scope. Thus, the source revision chosen for a query and the effective version of a policy within it are related, but different, selections.
A late record of a correction keeps the moment it was introduced and the eventual declared validity. Historical queries can recover both what a source contained at a determined moment and what the current revision establishes about a past interval, without merging those questions.
Language surface and current execution
The .fsl surface declares evolve source with an application signature, a contract indicated by using, a basis indicated by from and a change block. The block identifies the responsible party by by and, when applicable, the additional basis by under. The admitted changes include add binding, remove binding, replace binding ... with, relocate binding ... to, incorporate and attach metadata ... to.
The incorporate family also has its own application declaration, bound to the incorporation contract. Its fields include the exact coordinates of the artifact, the destination source, the basis, the agent and the authority, defined by the specialized contract. Elaboration preserves the transition type and the references needed for its realization.
In the documented executable version, the isolated call of evolve source produces a prepared candidate, under the PreparedOnly guard, without publishing or replacing the source. The productive route of incorporate executes a governed sequence of verifications S0 to S7, with application results (APPLIED) or typed refusals (NOT_APPLIED) according to the condition found. Other operational outcomes, including outcome uncertainty and mechanism failure, belong to the applicable execution boundary contract. The support reference describes the classes and limits actually available, including basis admissibility and multi-parent reconciliation.
The distinction between those surfaces keeps clear the semantics of authorship, preparation and authoritative introduction, regardless of the number of steps a realization executes to complete them.
Example: revisions of a quality control program
Consider a program tracking the integrity of medicine batches. Its source state F1 defines relations of lots, shipments and inspections, an evaluation theory and a retention policy. A team revises the inspection criterion, preparing changes to the declarations and the source’s bindings. The preparation identifies state F1 as basis, forms the change set and presents the candidate to evolution.
When the transition is admitted under the competent authority, a new state F2 joins the source history. The revised declaration has its identity or correspondence according to the contract, while results computed under F1 stay associated with the earlier theory and policy. Later queries can select F1 or F2 by exact reference, record instant or effectiveness.
Later, a temperature observation is acquired and admitted through its own epistemic boundary. The quality team decides to incorporate it into the corpus used in the evaluation of a determined batch. The incorporation produces a new authoritative binding referencing the existing observation, preserving the sensor’s source, the acquisition instant, the admission bridge and the original guarantees. The observation does not turn into a Claim of the team by having entered the source.
Suppose further that the carrier corrects an earlier Claim about the transport conditions. The correction generates another attributable assertion and a succession relation under the pertinent authority. The next source state can reference both and their historical relation. A later evaluation can determine which position was known when an earlier decision was taken and which position was admitted for current use.
That history gathers revisions of declarations, incorporation of observations and succession between Claims. Each event changes the computation basis explicitly, and the results keep the dependencies that allow reconstructing their interpretations.
Related documentation
Semantic continuity presents the preservation obligations governing evolutions and correspondences. Modules, interfaces and reference resolution explains the bindings and identities used by the source. From the semantic program to realization describes how applications are prepared and executed. Claims, communication and epistemic governance deals with assertions that can be revised or incorporated. Observation, evidence and acquisition describes the admission of observations that can later join authoritative states.